﻿.results-page {
    background: #0b0b0c;
    color: #f4f1ea;
    font-family: var(--font-sans, "Inter Tight", sans-serif);
}

.results-page .main-header {
    background: rgba(8, 12, 24, 0.85);
    
    border-bottom: 1px solid var(--hairline);
}

.results-hero {
    padding: 4.5rem 0 3.5rem;
    background: radial-gradient(circle at top, rgba(198,161,91,0.15), transparent 60%),
        var(--ink-2);
}

.results-hero .hero-content {
    max-width: 900px;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #c6a15b;
    margin-bottom: 1rem;
}

.results-hero h1 {
    font-family: var(--font-display, "Fraunces", serif);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin: 0 0 1rem 0;
}

.results-hero p {
    font-size: 1.1rem;
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 2rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.2rem;
    border-radius: 3px;
    border: 1px solid var(--hairline);
    background: var(--ink-2);
    box-shadow: 0 10px 30px var(--ink);
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(248, 250, 252, 0.6);
    margin-bottom: 0.35rem;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #f4f1ea;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-timeline {
    padding: 3rem 0 2rem;
    background: var(--ink);
}

.timeline-header {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1.5rem;
}

.timeline-header h2 {
    margin: 0.1rem 0 0;
    font-family: var(--font-display, "Fraunces", serif);
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.timeline-subtitle {
    color: rgba(248, 250, 252, 0.7);
    max-width: 680px;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.timeline-card {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    border-radius: 3px;
    border: 1px solid var(--hairline);
    padding: 1.25rem 1.4rem;
    background: var(--ink-2);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

.timeline-time {
    font-size: 0.85rem;
    font-weight: 600;
    color: #c6a15b;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-title {
    font-size: 1.1rem;
    margin: 0;
    color: #fff;
    font-weight: 600;
}

.timeline-detail {
    margin: 0;
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.95rem;
}

.results-detail,
.overall-leaderboard,
.category-results,
.transparency-note {
    padding: 3rem 0;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.section-header h2 {
    font-family: var(--font-display, "Fraunces", serif);
    margin: 0 0 0.5rem 0;
}

.section-header p {
    margin: 0;
    color: rgba(248, 250, 252, 0.7);
}

.results-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.results-controls label {
    font-weight: 600;
    color: rgba(248, 250, 252, 0.85);
}

.results-controls select {
    min-width: 220px;
    padding: 0.6rem 0.9rem;
    border-radius: 3px;
    border: 1px solid var(--hairline);
    background: var(--ink-2);
    color: #f4f1ea;
}

.results-summary {
    font-weight: 600;
    color: #c6a15b;
}

.results-status {
    color: rgba(248, 250, 252, 0.6);
    margin-bottom: 1rem;
}

.results-status.info {
    color: rgba(248, 250, 252, 0.75);
}

.results-status.empty {
    color: #c6a15b;
}

.results-status.error {
    color: #b0413e;
}

.results-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 2rem;
}

.results-table-wrap {
    background: var(--ink-2);
    border-radius: 3px;
    border: 1px solid var(--hairline);
    padding: 1rem;
    overflow-x: auto;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.results-table thead th {
    text-align: left;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(248, 250, 252, 0.6);
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--hairline);
}

.results-table tbody td {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--hairline);
    vertical-align: middle;
}

.results-table tbody tr:last-child td {
    border-bottom: none;
}

.results-rank-pill {
    width: 40px;
    height: 40px;
    border-radius: 3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0b0b0c;
    background: #c6a15b;
}

.results-nominee {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.results-name {
    font-weight: 700;
    color: #f4f1ea;
}

.results-meta {
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
}

.results-votes {
    font-weight: 600;
    color: #f4f1ea;
}

.share-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: var(--hairline);
    overflow: hidden;
    margin-bottom: 0.35rem;
}

.share-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #c6a15b;
    transition: width 0.8s ease;
}

.share-text {
    font-size: 0.85rem;
    color: rgba(248, 250, 252, 0.7);
    font-weight: 600;
}

.results-chart-card {
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
}

.overall-leaderboard {
    background: var(--ink);
}

.overall-list {
    display: grid;
    gap: 0.75rem;
}

.overall-row {
    display: grid;
    grid-template-columns: 50px 1fr 140px;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.2rem;
    border-radius: 3px;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
}

.overall-rank {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0b0b0c;
    background: #c6a15b;
}

.overall-name {
    font-weight: 600;
}

.overall-meta {
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.85rem;
}

.overall-votes {
    text-align: right;
    font-weight: 700;
}

.leading-categories {
    padding: 3rem 0;
    background: rgba(6, 10, 24, 0.9);
}

.leading-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.leading-card {
    padding: 1.25rem;
    border-radius: 3px;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leading-rank {
    font-weight: 700;
    color: #c6a15b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.leading-name {
    font-size: 1.1rem;
    font-weight: 700;
}

.leading-votes {
    color: rgba(248, 250, 252, 0.7);
    font-size: 0.9rem;
}

.category-results {
    background: rgba(10, 14, 28, 0.85);
}

.category-cards {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.category-card {
    padding: 1.5rem;
    border-radius: 3px;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
}

.category-card h3 {
    margin: 0 0 0.5rem 0;
    font-family: var(--font-display, "Fraunces", serif);
}

.category-total {
    color: rgba(248, 250, 252, 0.6);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.leader-row {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
}

.leader-row:last-child {
    margin-bottom: 0;
}

.leader-row .leader-name {
    font-weight: 600;
}

.leader-row .leader-votes {
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.85rem;
}

.leader-bar {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: var(--hairline);
    overflow: hidden;
}

.leader-bar span {
    display: block;
    height: 100%;
    width: 0;
    background: #c6a15b;
    transition: width 0.8s ease;
}

.transparency-note {
    background: var(--ink);
}

.insights-section {
    padding: 3.5rem 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    align-items: start;
}

.insights-chart-card,
.insights-video-card {
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    border-radius: 3px;
    padding: 2rem;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4);
}

.insights-chart-card .section-header,
.insights-video-card .section-header {
    margin-bottom: 1rem;
}

.insights-chart {
    position: relative;
}

.insights-chart canvas {
    width: 100% !important;
    height: auto !important;
}

.insights-video-card h3 {
    font-size: 1.9rem;
    margin-top: 0.5rem;
    color: #fff;
}

.insights-video-card p {
    color: rgba(248, 250, 252, 0.7);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.insights-video-wrapper {
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.insights-video-wrapper video {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.insights-video-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .insights-chart-card,
    .insights-video-card {
        padding: 1.5rem;
    }
}

.momentum-section {
    padding: 3rem 0;
    background: rgba(10, 12, 25, 0.9);
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.momentum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
}

.momentum-card {
    padding: 1.5rem;
    border-radius: 3px;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.35);
}

.momentum-label {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.6);
    margin-bottom: 0.35rem;
}

.momentum-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #c6a15b;
    margin-bottom: 0.5rem;
}

.momentum-description {
    color: rgba(248, 250, 252, 0.7);
    margin: 0;
}

.transparency-card {
    padding: 2rem;
    border-radius: 3px;
    background: var(--ink-2);
    border: 1px solid var(--hairline);
    text-align: center;
}

.transparency-card h3 {
    margin-top: 0;
}

@media (max-width: 960px) {
    .results-grid {
        grid-template-columns: 1fr;
    }

    .overall-row {
        grid-template-columns: 50px 1fr;
    }

    .overall-votes {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .overall-row {
        grid-template-columns: 1fr;
    }
}


/* Kilifi Champions Awards official photography */
.kilifi-hero-figure{margin:2.25rem 0 0;border-radius:2px;overflow:hidden;background:rgba(11,11,12,.6)}
.kilifi-hero-figure img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center 25%}
.kilifi-hero-figure figcaption{padding:.85rem 1rem;font-size:.85rem;letter-spacing:.02em;color:rgba(248,250,252,.7)}
.kilifi-hero-figure figcaption a{color:inherit;text-decoration:underline}
.kilifi-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:.75rem;margin-top:.75rem}
.kilifi-strip-item{margin:0;overflow:hidden;border-radius:2px}
.kilifi-strip-item img{display:block;width:100%;height:100%;aspect-ratio:1/1;object-fit:cover;filter:saturate(.95)}
@media (max-width:640px){.kilifi-strip{grid-template-columns:repeat(2,1fr)}}
