/* ===== MARMEL MEDIA — komenda.css ===== */

/* rekreatorzy/komenda - formacja grid */
.formacja-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}
.formacja-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.formacja-slider {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.formacja-slides {
    display: flex;
    height: 100%;
    transition: transform 0.3s ease;
}
.formacja-slides > a {
    flex: 0 0 100%;
    height: 100%;
    display: block;
}
.formacja-slides > a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.formacja-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    cursor: pointer;
    width: 2rem;
    height: 2rem;
    font-size: 1.5rem;
    line-height: 1;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.formacja-btn--prev { left: 0; border-radius: 0 2px 2px 0; display: none; }
.formacja-btn--next { right: 0; border-radius: 2px 0 0 2px; display: none; }
.formacja-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.formacja-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.45); border: 1px solid rgba(0,0,0,0.25); transition: background 0.2s; }
.formacja-dot.active { background: var(--kolor-rekreatorzy); }
.formacja-slides--left > a img { object-position: top left; }
.formacja-card-body { padding: 1.25rem 1.5rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.formacja-card-body h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.formacja-card-body p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.7; margin-top: 0.5rem; }
.formacja-card-body ul { list-style: none; padding: 0; margin-top: 0.5rem; color: var(--text-muted); font-size: 0.88rem; line-height: 1.9; }
.formacja-card-body .btn { justify-content: center; }
@media (max-width: 1200px) { .formacja-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .formacja-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px)  { .formacja-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .formacja-grid { grid-template-columns: 1fr; } }
.formacja-grid--2 { grid-template-columns: repeat(2, 1fr) !important; }
@media (max-width: 600px)  { .formacja-grid--2 { grid-template-columns: 1fr !important; } }

.brand-page-logo {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
}
.brand-page-logo img { max-height: 80px; max-width: 100%; }
.brand-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 2.5rem 0;
}
.brand-features--2col { grid-template-columns: repeat(2, 1fr); }
.feature-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.feature-item h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.feature-item p  { color: var(--text-muted); font-size: 0.875rem; }
.feature-icon {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    display: block;
}

/* ---- Bloki i podpisy ---- */
.komenda-caption { text-align: center; font-size: 1rem; font-weight: 600; margin-bottom: 2rem; }
.komenda-img-block { margin-top: 2rem; margin-bottom: 1rem; }
.komenda-contact-pre { text-align: center; margin: 2rem auto 0; max-width: 700px; }
.komenda-contact-block { margin-top: 2rem; }
