/* Keep all configurable surfaces clean while preserving optional color/image backgrounds. */
body.pa12-theme [class*="pa12-section-background"] {
    --pa12-surface-pattern: none !important;
    --pa12-surface-pattern-size: auto !important;
}

body.pa12-theme .pa12-section-background {
    background-image:
        linear-gradient(var(--pa12-surface-image-overlay), var(--pa12-surface-image-overlay)),
        var(--pa12-surface-image) !important;
    background-position: center, center !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: cover, cover !important;
}

body.pa12-theme .pa12-countdown-band {
    background-image:
        linear-gradient(var(--pa12-surface-image-overlay), var(--pa12-surface-image-overlay)),
        var(--pa12-surface-image) !important;
    background-position: center, center !important;
    background-repeat: no-repeat, no-repeat !important;
    background-size: cover, cover !important;
}

body.pa12-theme .pa12-fee-page {
    background-image: none !important;
    background-size: auto !important;
}

body.pa12-theme .pa12-competition-schedule {
    grid-column: 1 / -1;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(11, 111, 220, .13);
}

body.pa12-theme .pa12-competition-timeline-band {
    padding: clamp(52px, 7vw, 84px) 0;
}

body.pa12-theme .pa12-competition-timeline-band .pa12-competition-schedule {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

body.pa12-theme .pa12-competition-timeline-band .pa12-competition-schedule__head h2 {
    margin: 0;
    color: #092747;
    font-size: clamp(28px, 3.6vw, 48px);
    line-height: 1;
    text-align: left;
}

body.pa12-theme .pa12-competition-schedule__head {
    display: block;
    margin-bottom: 14px;
    text-align: left;
}

body.pa12-theme .pa12-competition-schedule__head .pa12-kicker {
    margin: 0;
    color: var(--pa12-accent);
}

body.pa12-theme .pa12-competition-schedule__head h3 {
    margin: 0;
    color: #092747;
    font-size: 18px;
    line-height: 1.15;
}

/* Keep every content title visually consistent across the IAPA theme. */
body.pa12-theme h1,
body.pa12-theme h2,
body.pa12-theme h3,
body.pa12-theme h4,
body.pa12-theme h5,
body.pa12-theme h6 {
    text-transform: uppercase;
}

body.pa12-theme .pa12-competition-schedule__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body.pa12-theme .pa12-competition-schedule__list > li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
    min-height: 118px;
    padding: 14px;
    border: 1px solid rgba(11, 111, 220, .12);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 20px rgba(7, 32, 68, .045);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

body.pa12-theme .pa12-competition-schedule__list > li.is-current {
    border-color: rgba(11, 111, 220, .46);
    box-shadow: 0 12px 26px rgba(11, 111, 220, .13);
    transform: translateY(-2px);
}

body.pa12-theme .pa12-competition-schedule__list > li.is-complete {
    opacity: .62;
}

body.pa12-theme .pa12-competition-schedule__number {
    color: var(--pa12-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

body.pa12-theme .pa12-competition-schedule__list strong,
body.pa12-theme .pa12-competition-schedule__list time,
body.pa12-theme .pa12-competition-schedule__list small {
    display: block;
}

body.pa12-theme .pa12-competition-schedule__list strong {
    color: #092747;
    font-size: 13px;
    line-height: 1.2;
}

body.pa12-theme .pa12-competition-schedule__list time {
    margin-top: 7px;
    color: var(--pa12-accent);
    font-size: 11px;
    font-weight: 800;
}

body.pa12-theme .pa12-competition-schedule__list small {
    margin-top: 7px;
    color: #65788f;
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 980px) {
    body.pa12-theme .pa12-competition-schedule__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    body.pa12-theme .pa12-competition-schedule__head {
        display: block;
    }

    body.pa12-theme .pa12-competition-schedule__head h3 {
        margin-top: 6px;
    }

    body.pa12-theme .pa12-competition-schedule__list {
        grid-template-columns: 1fr;
    }

    body.pa12-theme .pa12-competition-schedule__list > li {
        min-height: 0;
    }
}

body.pa12-theme .pa12-single-interview .pa12-prose,
body.pa12-theme .pa12-single-interview .pa12-interview-article__text {
    background: #fff !important;
    background-image: none !important;
}

body.pa12-theme .pa12-interview-lead-media {
    padding-top: 36px;
}

body.pa12-theme .pa12-interview-lead-media img {
    width: min(100%, 560px);
    aspect-ratio: 4 / 5;
    max-height: 700px;
    margin: 0 auto;
    object-fit: cover;
    background: #eef4fb;
}

body.pa12-theme .pa12-interview-article__text {
    max-width: 820px;
    margin-inline: auto;
    color: #4d5f75;
    font-size: 16px;
    line-height: 1.85;
}

body.pa12-theme .pa12-interview-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    width: min(100%, 920px);
    margin: 0 auto 38px;
}

body.pa12-theme .pa12-interview-figure {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    background: #eef4fb;
}

body.pa12-theme .pa12-interview-figure img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    background: #eef4fb;
}

body.pa12-theme .pa12-interview-figure figcaption {
    margin-top: 9px;
    color: #0b6fdc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@media (max-width: 640px) {
    body.pa12-theme .pa12-interview-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-bottom: 30px;
    }
}
