/* ───────────── Index Page – New Sections ───────────── */

/* ── Media section – date meta under image ── */
.single-news-card .news-content .date-meta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #e32845;
    font-weight: 600;
    margin-bottom: 8px;
}

/* ── Athlete Cards ── */
.idx-athlete-card {
    display: block;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 22px rgba(20,30,60,.07);
    text-decoration: none;
    color: inherit;
    margin-bottom: 24px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.idx-athlete-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(20,30,60,.13);
    color: inherit;
    text-decoration: none;
}

.idx-athlete-photo {
    position: relative;
    height: 240px;
    overflow: hidden;
    background: #eef0f4;
}

.idx-athlete-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .5s ease;
}

.idx-athlete-card:hover .idx-athlete-photo img {
    transform: scale(1.06);
}

.idx-athlete-photo::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(14,19,32,.6), transparent);
    pointer-events: none;
}

.idx-athlete-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    background: #e32845;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(227,40,69,.4);
}

.idx-athlete-body {
    padding: 18px 18px 20px;
}

.idx-athlete-name {
    font-size: 1rem;
    font-weight: 700;
    color: #222831;
    margin: 0 0 6px;
    line-height: 1.3;
}

.idx-athlete-dept {
    font-size: 13px;
    color: #e32845;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 4px;
}

.idx-athlete-pos {
    font-size: 12px;
    color: #6c7280;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ════ DARK MODE ════ */
.theme-dark .idx-athlete-card {
    background: #1a2035;
    box-shadow: 0 6px 22px rgba(0,0,0,.25);
}

.theme-dark .idx-athlete-card:hover {
    box-shadow: 0 18px 36px rgba(0,0,0,.4);
    color: #e0e4ef;
}

.theme-dark .idx-athlete-photo { background: #232b3e; }

.theme-dark .idx-athlete-name  { color: #e0e4ef; }
.theme-dark .idx-athlete-pos   { color: #8891a8; }

.theme-dark .single-news-card .news-content .date-meta { color: #e32845; }

/* ── Responsive ── */
@media (max-width: 767px) {
    .idx-athlete-photo { height: 200px; }
}
