/* ── Alumni Spotlight Cards ─────────────────────────────────────────────── */

.d17-spotlight-cards {
    display: grid;
    gap: 20px;
    margin: 16px 0;
}

.d17-spotlight-cards--1col { grid-template-columns: 1fr; }
.d17-spotlight-cards--2col { grid-template-columns: repeat(2, 1fr); }
.d17-spotlight-cards--3col { grid-template-columns: repeat(3, 1fr); }
.d17-spotlight-cards--4col { grid-template-columns: repeat(4, 1fr); }

.d17-spotlight-cards--homepage.d17-spotlight-cards--count-1,
.d17-spotlight-cards--team.d17-spotlight-cards--count-1 {
    grid-template-columns: minmax(0, 460px);
    justify-content: center;
}

.d17-spotlight-cards--homepage.d17-spotlight-cards--count-2,
.d17-spotlight-cards--team.d17-spotlight-cards--count-2 {
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;
}

.d17-spotlight-cards--homepage.d17-spotlight-cards--count-4,
.d17-spotlight-cards--team.d17-spotlight-cards--count-4 {
    grid-template-columns: repeat(2, minmax(0, 460px));
    justify-content: center;
}

.d17-spotlight-cards--homepage.d17-spotlight-cards--count-5,
.d17-spotlight-cards--team.d17-spotlight-cards--count-5 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.d17-spotlight-cards--homepage.d17-spotlight-cards--count-5 > .d17-spotlight-card,
.d17-spotlight-cards--team.d17-spotlight-cards--count-5 > .d17-spotlight-card {
    grid-column: span 2;
}

.d17-spotlight-cards--homepage.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(4),
.d17-spotlight-cards--team.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.d17-spotlight-cards--homepage.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(5),
.d17-spotlight-cards--team.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.d17-spotlight-home-section {
    max-width: 1180px;
    margin: 28px auto;
    padding: 28px;
    border: 1px solid #dbe3ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 8px 26px rgba(15, 23, 42, .05);
}

.d17-spotlight-home-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.d17-spotlight-home-section__eyebrow {
    margin: 0 0 4px;
    color: #64748b;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.d17-spotlight-home-section h2 {
    margin: 0;
    color: #1e3354;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.2;
}

.d17-spotlight-home-section__archive {
    color: #1f5da8;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.d17-spotlight-home-section__archive:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .d17-spotlight-cards--3col,
    .d17-spotlight-cards--4col { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
    .d17-spotlight-cards--2col,
    .d17-spotlight-cards--3col,
    .d17-spotlight-cards--4col { grid-template-columns: 1fr; }
}

.d17-spotlight-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s;
}

.d17-spotlight-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }

.d17-spotlight-card__photo-link { display: block; }

.d17-spotlight-card__photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.d17-spotlight-card__photo-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f1f5f9;
}

.d17-spotlight-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

/* Status badge */
.d17-spotlight-card__status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    background: #e2e8f0;
    color: #334155;
    align-self: flex-start;
}

.d17-spotlight-card__status--playing_college   { background: #dbeafe; color: #1e40af; }
.d17-spotlight-card__status--professional       { background: #dcfce7; color: #166534; }
.d17-spotlight-card__status--graduated_college  { background: #ede9fe; color: #5b21b6; }
.d17-spotlight-card__status--alumni             { background: #fef3c7; color: #92400e; }

.d17-spotlight-card__name {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 4px 0 2px;
    line-height: 1.3;
}

.d17-spotlight-card__name a       { color: inherit; text-decoration: none; }
.d17-spotlight-card__name a:hover { text-decoration: underline; }

.d17-spotlight-card__meta {
    font-size: .8rem;
    color: #64748b;
    margin: 0;
}

.d17-spotlight-card__sep { margin: 0 3px; }

.d17-spotlight-card__achievement {
    font-size: .9rem;
    color: #334155;
    line-height: 1.5;
    margin: 4px 0 0;
    flex: 1;
}

.d17-spotlight-card__read-more {
    display: inline-block;
    font-size: .85rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    margin-top: auto;
    padding-top: 10px;
}

.d17-spotlight-card__read-more:hover { text-decoration: underline; }

/* ── Archive page ────────────────────────────────────────────────────────── */

.d17-spotlight-archive-page__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.d17-spotlight-archive-page__title {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 28px;
}

.d17-spotlight-filter {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.d17-spotlight-filter select {
    padding: 7px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: .9rem;
    background: #fff;
    cursor: pointer;
}

.d17-spotlight-empty      { color: #64748b; font-style: italic; }
.d17-spotlight-archive-link { margin-top: 14px; font-size: .9rem; }

@media (max-width: 700px) {
    .d17-spotlight-home-section {
        margin: 22px 14px;
        padding: 20px;
    }

    .d17-spotlight-home-section__header {
        align-items: start;
        flex-direction: column;
    }

    .d17-spotlight-cards--homepage.d17-spotlight-cards--count-2,
    .d17-spotlight-cards--team.d17-spotlight-cards--count-2,
    .d17-spotlight-cards--homepage.d17-spotlight-cards--count-4,
    .d17-spotlight-cards--team.d17-spotlight-cards--count-4,
    .d17-spotlight-cards--homepage.d17-spotlight-cards--count-5,
    .d17-spotlight-cards--team.d17-spotlight-cards--count-5 {
        grid-template-columns: 1fr;
    }

    .d17-spotlight-cards--homepage.d17-spotlight-cards--count-5 > .d17-spotlight-card,
    .d17-spotlight-cards--team.d17-spotlight-cards--count-5 > .d17-spotlight-card,
    .d17-spotlight-cards--homepage.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(4),
    .d17-spotlight-cards--team.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(4),
    .d17-spotlight-cards--homepage.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(5),
    .d17-spotlight-cards--team.d17-spotlight-cards--count-5 > .d17-spotlight-card:nth-child(5) {
        grid-column: auto;
    }
}

/* ── Single spotlight page ───────────────────────────────────────────────── */

.d17-spotlight-single__inner {
    max-width: 820px;
    margin: 0 auto;
    padding: 40px 20px;
}

.d17-spotlight-single__breadcrumb {
    margin-bottom: 28px;
}

.d17-spotlight-single__breadcrumb a {
    color: #2563eb;
    text-decoration: none;
    font-size: .9rem;
}

.d17-spotlight-single__breadcrumb a:hover { text-decoration: underline; }

.d17-spotlight-single__article {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 44px;
    align-items: start;
}

@media (max-width: 640px) {
    .d17-spotlight-single__article { grid-template-columns: 1fr; }
}

.d17-spotlight-single__photo {
    width: 100%;
    border-radius: 8px;
    display: block;
    object-fit: cover;
    object-position: top center;
}

.d17-spotlight-single__status {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    background: #e2e8f0;
    color: #334155;
    margin-bottom: 12px;
}

/* Inherit card status colour modifiers */
.d17-spotlight-single__status.d17-spotlight-card__status--playing_college   { background: #dbeafe; color: #1e40af; }
.d17-spotlight-single__status.d17-spotlight-card__status--professional       { background: #dcfce7; color: #166534; }
.d17-spotlight-single__status.d17-spotlight-card__status--graduated_college  { background: #ede9fe; color: #5b21b6; }
.d17-spotlight-single__status.d17-spotlight-card__status--alumni             { background: #fef3c7; color: #92400e; }

.d17-spotlight-single__name {
    font-size: 2rem;
    font-weight: 800;
    margin: 8px 0 6px;
    line-height: 1.2;
}

.d17-spotlight-single__meta {
    font-size: .9rem;
    color: #64748b;
    margin: 0 0 20px;
}

.d17-spotlight-single__meta a       { color: inherit; }
.d17-spotlight-single__meta a:hover { text-decoration: underline; }

.d17-spotlight-single__achievement {
    font-size: 1.05rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.65;
    margin: 0 0 18px;
}

.d17-spotlight-single__quote {
    border-left: 3px solid #cbd5e1;
    margin: 0 0 18px;
    padding: 8px 0 8px 18px;
    font-style: italic;
    color: #475569;
    font-size: 1.05rem;
}

.d17-spotlight-single__bio {
    margin-top: 20px;
    color: #334155;
    line-height: 1.75;
    font-size: .95rem;
}
