/* ── 451 Lab: Metin ve Sahne Mühendisliği Kadrosu ── */
.editor-roster-band {
    --er-ink: rgba(255, 255, 255, 0.92);
    --er-ink-muted: rgba(255, 255, 255, 0.58);
    --er-ink-soft: rgba(255, 255, 255, 0.42);
    --er-surface: rgba(255, 255, 255, 0.035);
    --er-surface-hover: rgba(255, 255, 255, 0.05);
    --er-rule: rgba(255, 255, 255, 0.1);
    --er-accent: #b83824;
    --er-accent-hover: #d44a35;
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    background: #0c0c0e;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
}

.editor-roster-band .section-action {
    margin-top: 2.5rem;
    text-align: center;
}

.editor-roster-band .ghost-button.dark {
    background: transparent;
    color: var(--er-accent);
    border: 1px solid rgba(184, 56, 36, 0.35);
    border-radius: 4px;
    font-size: 0.82rem;
    letter-spacing: 0.06em;
    padding: 0.65rem 1.25rem;
    text-transform: none;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.editor-roster-band .ghost-button.dark:hover {
    color: var(--er-accent-hover);
    border-color: rgba(184, 56, 36, 0.55);
    background: rgba(184, 56, 36, 0.06);
}

.editor-roster-band .editor-pagination {
    margin: 1.75rem 0 0.5rem;
}

.editor-roster-band .editor-pagination-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.editor-roster-band .editor-page-link,
.editor-roster-band .editor-page-current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    padding: 0.35rem 0.55rem;
    font-size: 0.82rem;
    color: var(--er-ink-muted);
    border: 1px solid var(--er-rule);
    border-radius: 4px;
    text-decoration: none;
}

.editor-roster-band .editor-page-current {
    color: var(--er-accent);
    border-color: rgba(184, 56, 36, 0.35);
    background: rgba(184, 56, 36, 0.08);
}

.editor-roster-band .editor-page-link:hover {
    color: var(--er-ink);
    border-color: rgba(255, 255, 255, 0.18);
}

.editor-roster-band .lab-subsection {
    margin-top: clamp(2rem, 3.5vw, 2.75rem);
}

.editor-roster-band .lab-subsection:first-of-type {
    margin-top: clamp(1.5rem, 2.5vw, 2rem);
}

.editor-roster-band .lab-subsection-header {
    margin: 0 0 1.25rem;
    max-width: 42rem;
    text-align: left;
}

.editor-roster-band .lab-subsection-title {
    font-family: TNYAdobeCaslonPro, 'Times New Roman', Times, serif;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 400;
    font-style: italic;
    color: var(--er-ink) !important;
    -webkit-text-fill-color: var(--er-ink) !important;
    background: none !important;
    margin: 0 0 0.35rem;
    line-height: 1.2;
}

.editor-roster-band .lab-subsection-lead {
    margin: 0;
    color: var(--er-ink-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    max-width: 38rem;
}

/* Grid */
.editor-roster-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0;
}

@media (min-width: 720px) {
    .editor-roster-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.1rem 1.25rem;
    }
}

@media (min-width: 1180px) {
    .editor-roster-grid {
        gap: 1.15rem 1.5rem;
    }
}

/* Card */
.editor-roster-card {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1fr);
    gap: 1rem 1.15rem;
    align-items: start;
    padding: 1.1rem 1.15rem;
    background: var(--er-surface);
    border: 1px solid var(--er-rule);
    border-radius: 6px;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.editor-roster-card:hover {
    background: var(--er-surface-hover);
    border-color: rgba(255, 255, 255, 0.14);
}

.editor-roster-card--empty {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
}

.editor-roster-card__media {
    width: 7.5rem;
    flex-shrink: 0;
}

.editor-roster-card__photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    filter: grayscale(100%) contrast(1.04) brightness(0.92);
    background: rgba(255, 255, 255, 0.04);
}

.editor-roster-card__body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.editor-roster-card__name {
    margin: 0;
    font-family: TNYAdobeCaslonPro, 'Times New Roman', Times, serif;
    font-size: 1.12rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--er-ink) !important;
    -webkit-text-fill-color: var(--er-ink) !important;
    background: none !important;
}

.editor-roster-card__role {
    margin: 0;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--er-ink-soft);
}

.editor-roster-card__blurb {
    margin: 0.15rem 0 0;
    font-size: 0.84rem;
    line-height: 1.62;
    color: var(--er-ink-muted);
}

.editor-roster-card__specialties {
    margin: 0.35rem 0 0;
    font-size: 0.78rem;
    line-height: 1.55;
    color: var(--er-ink-soft);
}

.editor-roster-card__specialties-label {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.editor-roster-card__link {
    align-self: flex-start;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--er-accent);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.editor-roster-card__link:hover {
    color: var(--er-accent-hover);
    border-bottom-color: rgba(212, 74, 53, 0.45);
}

@media (max-width: 479px) {
    .editor-roster-card {
        grid-template-columns: 6.25rem minmax(0, 1fr);
        gap: 0.85rem;
        padding: 0.95rem;
    }

    .editor-roster-card__media {
        width: 6.25rem;
    }

    .editor-roster-card__name {
        font-size: 1.05rem;
    }

    .editor-roster-card__blurb {
        font-size: 0.82rem;
    }
}

/* Light theme */
html[data-theme="light"] .editor-roster-band {
    --er-ink: #1a1814;
    --er-ink-muted: rgba(26, 24, 20, 0.72);
    --er-ink-soft: rgba(26, 24, 20, 0.52);
    --er-surface: rgba(255, 255, 255, 0.82);
    --er-surface-hover: rgba(255, 255, 255, 0.95);
    --er-rule: rgba(26, 24, 20, 0.1);
    --er-accent: #9f2e1c;
    --er-accent-hover: #7a2416;
    background: #ece7dc;
    border-top-color: rgba(26, 24, 20, 0.08);
}

html[data-theme="light"] .editor-roster-card__photo {
    border-color: rgba(26, 24, 20, 0.1);
    filter: grayscale(100%) contrast(1.02) brightness(0.98);
}

html[data-theme="light"] .editor-roster-band .ghost-button.dark {
    color: var(--er-accent);
    border-color: rgba(159, 46, 28, 0.28);
}

html[data-theme="light"] .editor-roster-band .ghost-button.dark:hover {
    background: rgba(159, 46, 28, 0.06);
    border-color: rgba(159, 46, 28, 0.45);
}

html[data-theme="light"] .editor-roster-card__specialties-label {
    color: rgba(26, 24, 20, 0.55);
}
