/*
Theme Name: NIDC
Theme URI: https://example.com
Author: NIDC
Description: Custom WordPress theme for Niagara International Dance Collective.
Version: 1.0
Text Domain: nidc
*/

/* ==========================================================
   NIDC GLOBAL STYLES
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    interpolate-size: allow-keywords;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #ffffff;
    color: #080808;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

p {
    margin: 0 0 18px;
}

p:last-child {
    margin-bottom: 0;
}


/* ==========================================================
   GLOBAL TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: "Oswald", Impact, sans-serif;
    font-weight: 700;
    line-height: 0.98;
    text-transform: uppercase;
}

h1 {
    font-size: clamp(36px, 6vw, 52px);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(36px, 6vw, 50px);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 26px;
}

strong {
    font-weight: 700;
}


/* ==========================================================
   GLOBAL CONTAINERS / SPACING
========================================================== */

.container {
    width: min(1180px, calc(100% - 64px));
    margin-inline: auto;
}

.eyebrow {
    margin-bottom: 18px;
    color: #29a9df;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1.2;
    text-transform: uppercase;
}

.section-intro {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-intro h2 {
    margin-bottom: 22px;
}

.section-intro > p:last-child {
    max-width: 740px;
}

.section-intro-left {
    text-align: left;
}


/* ==========================================================
   GLOBAL BUTTON
========================================================== */

.button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border: 0;
    background: linear-gradient(90deg, #56d5e2 0%, #1b74bc 100%);
    color: #ffffff;
    cursor: pointer;
    font-size: 11.68px;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        filter 180ms ease;
}

.button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.button-small {
    min-height: 34px;
    padding: 10px 20px;
    font-size: 10.08px;
}

/* Secondary action - sits next to a gradient .button on dark imagery. */
.button-outline {
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: transparent;
}

.button-outline:hover {
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    filter: none;
}


/* ==========================================================
   GLOBAL IMAGE / OVERLAY HELPERS
========================================================== */

.section-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dark-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.56);
}


/* ==========================================================
   HEADER
========================================================== */

.site-header {
    position: sticky;
    z-index: 100;
    height: 72px;
    background: #020202;
    color: #ffffff;
}

.header-inner {
    display: flex;
    height: 100%;
    align-items: center;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    margin-right: auto;
}
.brand img {
    width: auto;
    height: 70px;
}

.brand-mark {
    color: #56d5e2;
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1;
}

.brand-name {
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1.15;
    text-transform: uppercase;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* The Register button lives in the nav so it rides along into the mobile
   panel - :not(.button) keeps the link styling off it. */
.main-navigation a:not(.button) {
    color: #ffffff;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: color 150ms ease;
}

.main-navigation a:not(.button):hover,
.main-navigation a.active {
    color: #ffc04f;
}

.mobile-menu-button {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-button span {
    display: block;
    height: 1px;
    margin: 6px 0;
    background: #ffffff;
    transition: transform 260ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity 160ms ease;
}

/* Hamburger morphs into an X while the menu is open */
.mobile-menu-button.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-button.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}


/* ------------ HOME HERO ----------- */

.home-hero {
    position: relative;
    display: grid;
    min-height: 700px;
    overflow: hidden;
    align-items: center;
    color: #ffffff;
}

.home-hero .section-background {
    object-position: center 20%;
}

.home-hero .dark-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.17) 0%,
            rgba(0, 0, 0, 0.26) 42%,
            rgba(0, 0, 0, 0.85) 100%
        );
}

.home-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1230px;
    padding-top: 170px;
    padding-bottom: 65px;
    text-align: center;
}

.home-hero-content .eyebrow {
    color: #7fdcf2;
    font-size: 16px;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.7);
}

.home-hero h1 {
    max-width: 1180px;
    margin-inline: auto;
}

.home-hero h1 span {
    color: #ffc04f;
}

.hero-description {
    max-width: 770px;
    margin: 20px auto 24px;
    font-size: 12px;
    letter-spacing: 0.08em;
    line-height: 1.55;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
}


/* --------------- TOUR DATES --------------- */

.section-gold {
    background: #ffffff;
}

.tour-dates {
    padding: 70px 0 78px;
}

.tour-dates .eyebrow {
    color: #1589c7;
}

.event-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.event-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    background: #f8f8f8;
}

.event-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #111111;
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    display: flex;
    min-height: 300px;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 24px 20px;
}

.event-content h3 {
    margin-bottom: 12px;
    color: #258dc0;
}

.event-content p {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.35;
}

.event-content .event-type {
    min-height: 36px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.event-date {
    color: #137eb9;
    font-size: 11px !important;
    font-weight: 600;
    text-transform: uppercase;
}

.event-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.event-content .button {
    margin-top: 0;
}

.event-hotel-requirement {
    width: 100%;
    margin: 12px 0 0 !important;
    padding-top: 10px;
    border-top: 1px solid #d9d9d9;
    color: #777777;
    font-size: 10px !important;
    line-height: 1.4 !important;
}

/* --------------- STATS ---------------- */

.stats-section {
    padding: 50px 0;
    background: #f8f8f8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.stat {
    min-height: 115px;
    padding: 0 42px;
    border-left: 1px solid #dbdbdb;
}

.stat:first-child {
    padding-left: 22px;
    border-left: 0;
}

.stat strong {
    display: block;
    margin-bottom: 16px;
    color: #1478bd;
    font-family: "Oswald", Impact, sans-serif;
    font-size: 51.2px;
    line-height: 1;
}

.stat p {
    font-size: 12px;
}


/* --------------- HOST HOTEL ---------------- */

.host-hotel {
    position: relative;
    display: grid;
    min-height: 360px;
    overflow: hidden;
    place-items: center;
    color: #ffffff;
}

.host-hotel .dark-overlay {
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.72));
}

.host-hotel-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.host-hotel-content .eyebrow {
    margin-bottom: 15px;
    color: #54d1e2;
}

.host-hotel-content h2 {
    margin-bottom: 15px;
}

/* Not :last-child - the button now follows the description. */
.host-hotel-content > p:not(.eyebrow) {
    max-width: 760px;
    margin-inline: auto;
    font-size: 11px;
    letter-spacing: 0.11em;
    line-height: 1.5;
    text-transform: uppercase;
}

.host-hotel-content .button {
    margin-top: 10px;
}


/* ------------ VIDEO -------------*/

.video-section {
    position: relative;
    display: grid;
    min-height: 600px;
    overflow: hidden;
    place-items: center;
    background: #111111;
}

.video-media {
    background: #111111;
}

.video-play-button {
    position: relative;
    z-index: 2;
    display: grid;
    width: 112px;
    height: 112px;
    place-items: center;
    border: 7px solid rgba(255, 255, 255, 0.55);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition:
        opacity 260ms ease,
        transform 260ms ease,
        background 200ms ease,
        border-color 200ms ease;
}

.video-play-button:hover {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.16);
}

.video-play-button span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    border-left: 34px solid rgba(255, 255, 255, 0.68);
    transition: border-left-color 200ms ease;
}

.video-play-button:hover span {
    border-left-color: #ffffff;
}

/* Once playback starts the native controls take over */
.video-section.is-playing .video-play-button {
    opacity: 0;
    transform: scale(0.9);
    visibility: hidden;
}


/*----------- Footer ----------- */

.site-footer {
    background: #1b1b1b;
    color: #ffffff;
}

.footer-accent {
    height: 5px;
    background: linear-gradient(90deg, #56d5e2 0%, #1b74bc 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.65fr 1fr;
    gap: 90px;
    padding-top: 55px;
    padding-bottom: 55px;
}

.footer-brand {
    max-width: 360px;
}

/* Same wide lockup as the header - height it and let the width follow,
   capped so it never outgrows the footer brand column. */
.footer-logo {
    display: inline-block;
    margin-bottom: 34px;
}

.footer-logo img {
    width: auto;
    height: 78px;
    max-width: 100%;
}

.footer-brand > p {
    max-width: 280px;
    color: #d1d1d1;
    font-size: 11px;
    letter-spacing: 0.09em;
    line-height: 1.55;
    text-transform: uppercase;
}

.social-links {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-column h3 {
    margin-bottom: 18px;
    color: #55d2e1;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.18em;
}

.footer-column a {
    margin-bottom: 13px;
    font-size: 12px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.footer-column p {
    font-size: 12px;
    letter-spacing: 0.09em;
    line-height: 1.5;
    text-transform: uppercase;
}

.newsletter-heading {
    margin-top: 25px;
}

.copyright {
    border-top: 1px solid #050505;
    background: #000000;
}

.copyright p {
    margin: 0;
    padding: 17px 0;
    font-size: 10px;
    text-align: center;
    text-transform: uppercase;
}


/* ==========================================================
   NEWSLETTER SIGNUP (BREVO)
========================================================== */

/* Stands in for Brevo's sib-styles.css - the [nidc_newsletter] markup is the
   theme's own, so the field and button language here is the same as the one
   the contact form uses. Two variants: --panel for light page sections,
   --footer for the dark footer column. */

.nidc-newsletter {
    width: 100%;
}

.nidc-newsletter-heading {
    margin-bottom: 16px;
}

.nidc-newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
}

.nidc-newsletter-input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #d4d8de;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    background: #ffffff;
    color: #080808;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nidc-newsletter-input::placeholder {
    color: #9aa0a8;
    opacity: 1;
}

.nidc-newsletter-input:focus {
    border-color: #1b74bc;
    box-shadow: 0 0 0 3px rgba(27, 116, 188, 0.15);
}

/* Turnstile's default widget is 300x65. Reserving the height keeps the
   surrounding layout from jumping once Cloudflare injects the iframe. */
.nidc-newsletter-captcha {
    min-height: 65px;
}

.nidc-newsletter-button {
    gap: 10px;
}

.nidc-newsletter-form[data-state="submitting"] .nidc-newsletter-button {
    opacity: 0.65;
    pointer-events: none;
}

.nidc-newsletter-spinner {
    display: none;
    width: 13px;
    height: 13px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: nidc-newsletter-spin 700ms linear infinite;
}

.nidc-newsletter-form[data-state="submitting"] .nidc-newsletter-spinner {
    display: block;
}

@keyframes nidc-newsletter-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Two classes deep on purpose: in the footer these paragraphs also match
   `.footer-column p`, which would otherwise win and uppercase them. */
.nidc-newsletter .nidc-newsletter-note,
.nidc-newsletter .nidc-newsletter-message {
    margin: 0;
    font-size: 11px;
    letter-spacing: 0.06em;
    line-height: 1.5;
    text-transform: none;
}

.nidc-newsletter .nidc-newsletter-note {
    color: #6b7280;
}

/* Empty until the form has something to say. */
.nidc-newsletter-message:empty {
    display: none;
}

.nidc-newsletter .nidc-newsletter-message[data-type="error"] {
    color: #b42318;
}

.nidc-newsletter .nidc-newsletter-message[data-type="success"] {
    color: #0f7b4f;
}

/* Brevo's honeypot has to stay submittable, so it is moved out of sight
   instead of being hidden with display: none. */
.nidc-newsletter-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* Catches the response if the form ever submits without newsletter.js. Some
   browsers refuse to post into a display: none frame, so it is moved off
   screen instead. */
.nidc-newsletter-sink {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    border: 0;
    opacity: 0;
}


/* ---------- FOOTER VARIANT ---------- */

.nidc-newsletter--footer {
    /* Turnstile will not render below 300px wide. */
    max-width: 300px;
}

.nidc-newsletter--footer .nidc-newsletter-form {
    gap: 12px;
}

.nidc-newsletter--footer .nidc-newsletter-input {
    min-height: 38px;
    padding: 0 12px;
    border: 0;
    color: #111111;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nidc-newsletter--footer .nidc-newsletter-input:focus {
    box-shadow: 0 0 0 2px #55d2e1;
}

.nidc-newsletter--footer .nidc-newsletter-button {
    min-height: 38px;
    padding: 11px 24px;
    font-size: 10.5px;
}

.nidc-newsletter--footer .nidc-newsletter-note {
    color: rgba(255, 255, 255, 0.6);
}

.nidc-newsletter--footer .nidc-newsletter-message[data-type="error"] {
    color: #ff9c94;
}

.nidc-newsletter--footer .nidc-newsletter-message[data-type="success"] {
    color: #55d2e1;
}


/* Below roughly 340px the 300px widget is wider than the column, and
   Turnstile has no narrower layout - so scale it down rather than let it
   push a horizontal scrollbar onto the page. */
@media (max-width: 360px) {

    .nidc-newsletter-captcha {
        min-height: 58px;
        transform: scale(0.88);
        transform-origin: left top;
    }

}


/* ==========================================================
   SCREEN READER
========================================================== */

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 950px) {

    .container {
        width: min(100% - 42px, 1180px);
    }

    .main-navigation {
        gap: 18px;
    }

    .event-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-inline: auto;
    }

    .event-card {
        display: grid;
        grid-template-columns: 0.9fr 1.1fr;
    }

    .event-image {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .event-content {
        min-height: 360px;
    }

    .stat:nth-child(3) {
        border-left: 0;
    }

    .footer-grid {
        gap: 45px;
    }
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 720px) {

    /* Line breaks that only make sense at desktop widths - let the text
       wrap on its own once the column gets narrow. */
    .hide-mobile {
        display: none;
    }

    body {
        font-size: 13px;
    }

    .container {
        width: min(100% - 32px, 1180px);
    }

    .site-header {
        height: 66px;
    }

    .brand-name {
        display: none;
    }

    .brand img {
        height: 60px;
    }

    .mobile-menu-button {
        display: block;
        order: 2;
    }

    .main-navigation {
        position: absolute;
        top: 66px;
        right: 0;
        left: 0;
        flex-direction: column;
        align-items: flex-end;
        gap: 0;
        margin: 0;
        padding: 0 24px;
        border-top: 1px solid #202020;
        background: #020202;

        /* Collapsed state - animatable, unlike display: none */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 320ms cubic-bezier(0.4, 0, 0.2, 1),
                    padding 320ms cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 200ms ease,
                    visibility 0s linear 320ms;
    }

    .main-navigation.open {
        /* Just above the real panel height (~350px with the link gap) so the slide doesn't stall */
        max-height: 420px;
        padding: 18px 24px 24px;
        opacity: 1;
        visibility: visible;
        transition: max-height 320ms cubic-bezier(0.4, 0, 0.2, 1),
                    padding 320ms cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 200ms ease 60ms,
                    visibility 0s;
    }

    .main-navigation a:not(.button) {
        padding: 12px 0;
        font-size: 13px;
        transform: translateY(-6px);
        transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
                    color 150ms ease;
    }

    /* Register sits under the links, flush left with them */
    .main-navigation .button {
        align-self: flex-end;
        font-size: 11px;
        margin: 14px 0 4px;
        transform: translateY(-6px);
        transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1),
                    filter 180ms ease;
    }

    .main-navigation.open a {
        transform: translateY(0);
    }

    .home-hero {
        min-height: 500px;
    }

    .home-hero-content {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero-description {
        font-size: 10.24px;
    }

    /* Side by side the two hero buttons get too cramped to read. */
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .button {
        width: 100%;
        max-width: 320px;
    }

    .tour-dates {
        padding: 56px 0;
    }
    

    .event-grid {
        gap: 20px;
    }

    .event-card {
        display: block;
    }

    .event-image {
        /* Clear the min-height from the two-column tablet card. */
        min-height: 0;
        aspect-ratio: 4 / 3;
    }

    .event-content {
        min-height: 0;
    }

    .event-content p {
        font-size: 13px;
    }

    .event-content .event-type {
        /* Column-alignment shim - dead space once the cards stack. */
        min-height: 0;
        font-size: 11.52px;
    }

    .event-date {
        font-size: 12px !important;
    }

    .event-content .button {
        min-height: 44px;
        margin-top: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .stat {
        min-height: 0;
        padding: 0 18px;
    }

    /* Left column - flush with the container edge, no divider. */
    .stat:first-child,
    .stat:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .stat strong {
        margin-bottom: 8px;
        font-size: 40px;
    }

    .stat p {
        font-size: 13px;
    }

    /* Copy is written to break across narrow columns - let it flow full width. */
    .stat p br {
        display: none;
    }

    .host-hotel {
        min-height: 320px;
    }

    .video-section {
        min-height: 300px;
    }

    .video-play-button {
        width: 88px;
        height: 88px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }
}


/* ==========================================================
   CONVENTION PAGE
========================================================== */

.page-intro {
    padding: 72px 0 64px;
    background: #f8f8f8;
    text-align: center;
}

.page-intro-content {
    max-width: 900px;
}

.page-intro .eyebrow {
    margin-bottom: 18px;
}

.page-intro h1 {
    margin-bottom: 24px;
}

.page-intro-description {
    max-width: 650px;
    margin-inline: auto;
    font-size: 11.52px;
    letter-spacing: 0.04em;
    line-height: 1.45;
    text-transform: uppercase;
}


/* ------- PAGE INTRO OVER A HERO IMAGE ---------- */

/* Interior pages that have a hero image sit the intro copy on top of the
   photo instead of stacking a separate full-width image below it. */
.page-intro--image {
    position: relative;
    display: grid;
    min-height: 510px;
    overflow: hidden;
    align-items: center;
    padding: 90px 0;
    background: #111111;
    color: #ffffff;
}

.page-intro--image .dark-overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.52) 0%,
            rgba(0, 0, 0, 0.44) 45%,
            rgba(0, 0, 0, 0.78) 100%
        );
}

.page-intro--image .page-intro-content {
    position: relative;
    z-index: 2;
}

.page-intro--image .eyebrow {
    color: #7fdcf2;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.7);
}

.page-intro--image h1,
.page-intro--image .page-intro-description {
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

/* Framing carried over from the old standalone feature images. */
.page-intro--about .section-background {
    object-position: center 42%;
}

.page-intro--convention .section-background {
    object-position: center 20%;
}

.page-intro--rules .section-background {
    object-position: center 30%;
}


/* ------------ FULL-WIDTH FEATURE IMAGE --------------- */

.feature-image-section {
    height: 510px;
    overflow: hidden;
    background: #111111;
}

.feature-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



/* ------------- TWO-COLUMN CONTENT -----------------*/

.content-section {
    padding: 80px 0 85px;
    background: #ffffff;
}

.split-content {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 90px;
    align-items: start;
}

.split-content-heading h2 {
    line-height: 0.95;
}

.split-content-copy {
    max-width: 660px;
    padding-top: 6px;
}

.split-content-copy p {
    margin-bottom: 18px;
    font-size: 13.44px;
    line-height: 1.38;
}


/* ------------ Three Levels ------------*/

.pale-gray-section {
    background: #f8f8f8;
}

.levels-section {
    padding: 56px 0 62px;
}

.centered-section-heading {
    max-width: 850px;
    margin: 0 auto 38px;
    text-align: center;
}

.centered-section-heading h2 {
    margin-bottom: 15px;
}

.small-uppercase-copy {
    font-size: 10px;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-transform: uppercase;
}

.level-grid {
    display: grid;
    max-width: 690px;
    margin-inline: auto;
    grid-template-columns: repeat(3, 1fr);
}

.level-item {
    padding: 24px 28px;
    border-left: 1px solid #c8d4d9;
    text-align: center;
}

.level-item:first-child {
    border-left: 0;
}

.level-item h3 {
    margin-bottom: 4px;
    color: #2a99ca;
}

.level-item p {
    margin: 0;
}


/* ---------- Information Cards -----------*/

.info-section {
    padding: 70px 0 82px;
    background: #ffffff;
}

.info-heading {
    margin-bottom: 46px;
}

.info-card-grid {
    display: grid;
    max-width: 970px;
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.info-card {
    min-height: 170px;
    padding: 28px 30px;
    background: #f2f2f2;
}

.info-card h3 {
    margin-bottom: 16px;
    font-size: 18px;
}

.info-card p {
    font-size: 12px;
    line-height: 1.4;
}


/* ==========================================================
   TOUR PAGE
========================================================== */

.page-intro--tour .section-background {
    object-position: center 35%;
}

.tour-listing {
    padding: 70px 0 82px;
    background: #ffffff;
}

.tour-listing .centered-section-heading {
    margin-bottom: 46px;
}

.tour-listing-empty {
    padding: 40px 0;
    font-size: 11px;
    letter-spacing: 0.14em;
    line-height: 1.45;
    text-align: center;
    text-transform: uppercase;
}


/* ==========================================================
   Convention Page Tablet
========================================================== */

@media (max-width: 950px) {

    .page-intro--image {
        min-height: 430px;
        padding: 74px 0;
    }

    .feature-image-section {
        height: 430px;
    }

    .split-content {
        gap: 55px;
    }

    /* Heading is broken for the desktop column - let it wrap naturally. */
    .split-content-heading h2 br {
        display: none;
    }

}


/* ==========================================================
   Convention Page Mobile
========================================================== */

@media (max-width: 720px) {

    .page-intro {
        padding: 58px 0 48px;
    }

    .page-intro--image {
        min-height: 360px;
        padding: 58px 0;
    }

    .feature-image-section {
        height: 340px;
    }

    .content-section {
        padding: 62px 0;
    }

    .split-content {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .split-content-copy {
        max-width: none;
        padding-top: 0;
    }

    .levels-section {
        padding: 52px 0;
    }

    .level-grid {
        grid-template-columns: 1fr;
    }

    .level-item,
    .level-item:first-child {
        padding: 20px 0;
        border-top: 1px solid #c8d4d9;
        border-left: 0;
    }

    .level-item:first-child {
        border-top: 0;
    }

    .info-section {
        padding: 58px 0;
    }

    .info-card-grid {
        grid-template-columns: 1fr;
    }

    .info-card {
        min-height: 0;
    }

}


/* ==========================================================
   AWARDS PAGE
========================================================== */


/* ---------- LEVELS OF EXCELLENCE ---------- */

.award-scale-section {
    padding: 58px 0 62px;
}

.award-scale-heading {
    margin-bottom: 42px;
}

.award-scale-grid {
    display: grid;
    max-width: 930px;
    margin-inline: auto;
    grid-template-columns: repeat(5, 1fr);
}

.award-scale-item {
    padding: 20px 22px;
    border-left: 1px solid #c8d4d9;
    text-align: center;
}

.award-scale-item:first-child {
    border-left: 0;
}

.award-scale-item h3 {
    margin-bottom: 5px;
    color: #2a99ca;
}

.award-scale-item p {
    margin: 0;
}


/* ---------- HIGH SCORE AWARDS ---------- */

.high-score-section {
    padding: 66px 0 76px;
    background: #ffffff;
}

.high-score-heading {
    margin-bottom: 46px;
}

.prize-card-grid {
    display: grid;
    max-width: 1040px;
    margin-inline: auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.prize-card {
    min-height: 150px;
    padding: 22px 24px;
    background: #f2f2f2;
}

.prize-label {
    margin-bottom: 4px;
    font-family: "Oswald", Impact, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
}

.prize-card h3 {
    margin-bottom: 8px;
    color: #2a99ca;
    font-size: 32px;
}

.prize-card > p:last-child {
    margin-bottom: 0;
    font-size: 11px;
    line-height: 1.35;
}


/* ---------- JUDGES IMAGE ---------- */

.judges-image-section {
    height: 475px;
}


/* ---------- JUDGES CHOICE ---------- */

.judges-choice-section {
    padding: 72px 0 74px;
    background: #ffffff;
}

.judges-choice-heading {
    max-width: 930px;
    margin-bottom: 0;
}

.judges-choice-heading .small-uppercase-copy {
    max-width: 690px;
    margin-inline: auto;
}


/* ==========================================================
   AWARDS TABLET
========================================================== */

@media (max-width: 950px) {

    .award-scale-grid {
        max-width: 760px;
    }

    .award-scale-item {
        padding-inline: 14px;
    }

    .award-scale-item h3 {
        font-size: 24px;
    }

}


/* ==========================================================
   AWARDS MOBILE
========================================================== */

@media (max-width: 720px) {

    .award-scale-section {
        padding: 52px 0;
    }

    .award-scale-grid {
        grid-template-columns: 1fr;
    }

    .award-scale-item,
    .award-scale-item:first-child {
        padding: 18px 0;
        border-top: 1px solid #c8d4d9;
        border-left: 0;
    }

    .award-scale-item:first-child {
        border-top: 0;
    }

    .prize-card-grid {
        grid-template-columns: 1fr;
    }

    .prize-card {
        min-height: 0;
    }

    .judges-image-section {
        height: 340px;
    }

    .judges-choice-section {
        padding: 58px 0;
    }

}


/* ==========================================================
   RULES PAGE
========================================================== */

/* ---------- Shared Rules Section ---------- */

.rules-section {
    padding: 66px 0 72px;
    background: #ffffff;
}


/* ---------- Classifications ---------- */

.rules-hero-image {
    height: 510px;
}

.classification-section .centered-section-heading {
    margin-bottom: 38px;
}

.classification-grid {
    display: grid;
    max-width: 940px;
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.rule-card {
    min-height: 185px;
    padding: 24px 28px;
    background: #f2f2f2;
}

.rule-card h3 {
    margin-bottom: 12px;
    font-size: 16px;
}

.rule-card p,
.rule-card li {
    font-size: 12px;
    line-height: 1.4;
}

.rule-card ul {
    margin: 0;
    padding-left: 16px;
}

.rule-card li + li {
    margin-top: 4px;
}

/*--------- Age Divisions -----------*/

.age-section {
    padding: 55px 0 60px;
}

.age-grid {
    display: grid;
    max-width: 950px;
    margin-inline: auto;
    grid-template-columns: repeat(5, 1fr);
}

.age-item {
    padding: 18px 16px;
    border-left: 1px solid #cad7dc;
    text-align: center;
}

.age-item:first-child {
    border-left: 0;
}

.age-item h3 {
    margin-bottom: 4px;
    color: #2a99ca;
}

.age-item p {
    margin: 0;
}

/*--------- Entry Table --------*/
.entry-category-section {
    padding-bottom: 80px;
}

.rules-table-wrap {
    max-width: 890px;
    margin-inline: auto;
    overflow-x: auto;
}

.rules-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 12px;
}

.rules-table th {
    padding: 7px 10px;
    background: #2a99ca;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: left;
    text-transform: uppercase;
    border-right: 1px solid #d7d7d7;
}

.rules-table td {
    padding: 7px 10px;
    border-right: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
}

.rules-table td:first-child {
    border-left: 1px solid #d7d7d7;
    font-weight: 700;
    text-transform: uppercase;
}

/*------- Performance Banner -------*/
.performance-banner {
    position: relative;
    display: grid;
    min-height: 400px;
    overflow: hidden;
    place-items: center;
    background: #111111;
    color: #ffffff;
}

.performance-banner .dark-overlay {
    background: rgba(0, 0, 0, 0.43);
}

.performance-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.performance-banner-content .eyebrow {
    margin-bottom: 14px;
    color: #4dcbe0;
}

.performance-banner-content h2 {
    margin-bottom: 14px;
}


/*------- Performance Cards --------*/
.performance-card-section {
    padding: 42px 0 64px;
    background: #ffffff;
}

/* Ten divisions across five columns = two even rows. The wider max-width
   keeps the narrower cards from cramping their copy. */
.performance-grid {
    display: grid;
    max-width: 1180px;
    margin-inline: auto;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.performance-card {
    display: flex;
    min-height: 175px;
    flex-direction: column;
    padding: 20px 20px 17px;
    background: #f2f2f2;
}

.performance-card h3 {
    margin-bottom: 12px;
    font-size: 18px;
}

.performance-card p {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.45;
}

.performance-card strong {
    margin-top: auto;
    color: #2a99ca;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ------- Event Policies -------*/
.policy-section {
    padding: 58px 0 66px;
}

.policy-heading {
    margin-bottom: 28px;
}

.policy-accordion {
    max-width: 620px;
    margin-inline: auto;
}

.policy-item {
    border-top: 1px solid #c5d4d9;
}

.policy-item:last-child {
    border-bottom: 1px solid #c5d4d9;
}

.policy-item summary {
    position: relative;
    padding: 13px 34px;
    color: #2a99ca;
    cursor: pointer;
    font-family: "Oswald", Impact, sans-serif;
    font-size: 25px;
    font-weight: 600;
    list-style: none;
    text-align: center;
    text-transform: uppercase;
}

.policy-item summary::-webkit-details-marker {
    display: none;
}

/* Slide the panel open and closed. ::details-content plus interpolate-size
   lets the height animate to auto; older browsers just snap open as before. */
.policy-item {
    interpolate-size: allow-keywords;
}

.policy-item::details-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        height 320ms ease,
        opacity 220ms ease,
        content-visibility 320ms allow-discrete;
}

.policy-item[open]::details-content {
    height: auto;
    opacity: 1;
}

.policy-item summary::after {
    position: absolute;
    top: 50%;
    right: 8px;
    content: "+";
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    transform: translateY(-50%);
}

.policy-item[open] summary::after {
    content: "−";
}

.policy-content {
    max-width: 500px;
    margin-inline: auto;
    padding: 0 20px 16px;
    text-align: center;
}

.policy-content p {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
}

/* ==========================================================
   RULES TABLET
========================================================== */

/* Five columns get too tight below roughly 1080px. Dropping straight to two
   keeps the rows even - three or four columns would leave an orphan row. */
@media (max-width: 1080px) {
    .performance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================
   RULES MOBILE
========================================================== */

@media (max-width: 720px) {

    .rules-hero-image {
        height: 340px;
    }

    .rules-section {
        padding: 54px 0;
    }

    .rule-card {
        min-height: 0;
    }

    .age-grid {
        grid-template-columns: 1fr;
    }

    .age-item,
    .age-item:first-child {
        padding: 18px 0;
        border-top: 1px solid #cad7dc;
        border-left: 0;
    }

    .age-item:first-child {
        border-top: 0;
    }

    .rules-table {
        min-width: 620px;
    }

    .performance-banner {
        min-height: 250px;
    }

    .performance-card {
        min-height: 0;
    }

    .policy-accordion {
        max-width: 100%;
    }
}

@media (max-width: 480px) {

    .stats-grid {
        grid-template-columns: 1fr;
        /* Stacked stats space themselves with padding - drop the row gap. */
        gap: 0;
    }

    .stat,
    .stat:first-child,
    .stat:nth-child(3) {
        padding: 24px 0;
        border-top: 1px solid #dbdbdb;
        border-left: 0;
        text-align: center;
    }

    .stat:first-child {
        padding-top: 0;
        border-top: 0;
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

    .age-section {
        padding: 30px 10px 20px;
    }

    .classification-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .main-navigation,
    .main-navigation.open,
    .main-navigation a,
    .main-navigation .button,
    .mobile-menu-button span,
    .policy-item::details-content,
    .faq-item::details-content {
        transition-duration: 1ms;
        transition-delay: 0s;
    }

    /* The spinner still has to read as "working", so slow it rather than
       stopping it outright. */
    .nidc-newsletter-spinner {
        animation-duration: 2s;
    }
}


/* ==========================================================
   CONTACT PAGE
========================================================== */


/* ---------- CONTACT HERO IMAGE ---------- */

.contact-hero-image {
    height: 510px;
}


/* ---------- FORM + CONTACT INFORMATION ---------- */

.contact-section {
    padding: 76px 0 96px;
    background: #ffffff;
}

.contact-layout {
    display: grid;
    max-width: 1100px;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 64px;
    align-items: start;
}

.contact-panel-title {
    margin-bottom: 26px;
    font-size: clamp(32px, 4vw, 42px);
    letter-spacing: -0.01em;
}

.contact-info-table {
    border: 1px solid #e3e6ea;
}

.contact-info-box {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 20px;
    padding: 20px 24px;
}

.contact-info-box + .contact-info-box {
    border-top: 1px solid #e3e6ea;
}

.contact-info-box--full {
    grid-template-columns: minmax(0, 1fr);
}

.contact-info-label {
    margin: 0;
    color: #080808;
    font-family: "Oswald", Impact, sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-info-value {
    color: #4a4f57;
    font-size: 14px;
    line-height: 1.6;
}

.contact-info-value p {
    margin: 0 0 8px;
}

.contact-info-value p:last-child {
    margin-bottom: 0;
}

.contact-info-value a {
    color: #1b74bc;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-info-value a:hover {
    color: #080808;
    transition: 300ms ease-in-out;
}


/* ------ GRAVITY FORMS - NIDC CONTACT FORM -------*/

.nidc-contact-form .gform_wrapper {
    /* Gravity Forms' theme framework drives field spacing from these
       variables, so they have to be overridden alongside the gap itself. */
    --gf-form-gap-y: 14px;
    --gf-form-gap-x: 16px;
    --gform-theme-field-row-gap: 14px;
    margin: 0;
}

.nidc-contact-form .gform_heading {
    display: none;
}

.nidc-contact-form .gform_wrapper .gform_fields {
    grid-row-gap: 14px;
    row-gap: 14px;
    column-gap: 16px;
}

.nidc-contact-form .gform_wrapper .gfield {
    margin: 0;
    padding: 0;
}

/* Gravity Forms ships its own `.gform_wrapper.gravity-theme .gfield_label`
   rules, so every override below has to match or beat that specificity. */
.nidc-contact-form .gform_wrapper .gfield .gfield_label,
.nidc-contact-form .gform_wrapper .gfield .gform-field-label,
.nidc-contact-form .gform_wrapper .gfield .ginput_complex label,
.nidc-contact-form .gform_wrapper .gfield .gfield_label_before_complex
.nidc-contact-form .gform_wrapper .gfield_required {
    display: block;
    margin: 0 0 6px;
    padding: 0;
    color: #080808;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.3;
    text-transform: uppercase;
}

.nidc-contact-form .gform_wrapper .gfield_required {
    color: #1b74bc;
}

.nidc-contact-form .gform_wrapper .ginput_complex {
    gap: 16px;
}

.nidc-contact-form .gform_wrapper input[type="text"],
.nidc-contact-form .gform_wrapper input[type="email"],
.nidc-contact-form .gform_wrapper input[type="tel"],
.nidc-contact-form .gform_wrapper textarea,
.nidc-contact-form .gform_wrapper select {
    width: 100%;
    border: 1px solid #d4d8de;
    border-radius: 0;
    outline: 0;
    box-shadow: none;
    background: #ffffff;
    color: #080808;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    text-transform: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nidc-contact-form .gform_wrapper input[type="text"],
.nidc-contact-form .gform_wrapper input[type="email"],
.nidc-contact-form .gform_wrapper input[type="tel"],
.nidc-contact-form .gform_wrapper select {
    min-height: 46px;
    padding: 0 14px;
}

/* Own the select's background in every state. Without the :hover/:focus
   selectors a plugin stylesheet can paint its own background over the
   field, and re-declaring the chevron keeps the dropdown arrow visible
   now that `appearance: none` drops the native one. */
.nidc-contact-form .gform_wrapper select,
.nidc-contact-form .gform_wrapper select:hover,
.nidc-contact-form .gform_wrapper select:focus,
.nidc-contact-form .gform_wrapper select:active {
    padding-right: 38px;
    appearance: none;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23080808' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
}

.nidc-contact-form .gform_wrapper textarea {
    min-height: 150px;
    padding: 12px 14px;
    resize: vertical;
}

.nidc-contact-form .gform_wrapper input[type="text"]:focus,
.nidc-contact-form .gform_wrapper input[type="email"]:focus,
.nidc-contact-form .gform_wrapper input[type="tel"]:focus,
.nidc-contact-form .gform_wrapper textarea:focus,
.nidc-contact-form .gform_wrapper select:focus {
    border-color: #1b74bc;
    box-shadow: 0 0 0 3px rgba(27, 116, 188, 0.15);
}

.nidc-contact-form .gform_wrapper input::placeholder,
.nidc-contact-form .gform_wrapper textarea::placeholder {
    color: #9aa0a8;
    opacity: 1;
}

.nidc-contact-form .gform_wrapper .gform_footer {
    margin: 18px 0 0;
    padding: 0;
}

/* Gravity Forms styles its submit through
   `.gform_wrapper.gravity-theme .gform_footer input[type=submit]`, so the
   `.gform_footer` step is needed here to outrank it - otherwise GF's own
   border and radius survive and draw an edge down the side of the button. */
.nidc-contact-form .gform_wrapper .gform_footer input[type="submit"],
.nidc-contact-form .gform_wrapper .gform_footer .gform_button,
.nidc-contact-form .gform_wrapper .gform_footer button[type="submit"] {
    min-height: 50px;
    margin: 0;
    padding: 16px 32px;
    border: 0;
    border-radius: 0;
    outline: 0;
    background: linear-gradient(
        90deg,
        #56d5e2 0%,
        #1b74bc 100%
    );
    box-shadow: none;
    color: #ffffff;
    cursor: pointer;
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
    transition: filter 0.2s ease;
}

.nidc-contact-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.nidc-contact-form .gform_wrapper .gform_footer .gform_button:hover,
.nidc-contact-form .gform_wrapper .gform_footer button[type="submit"]:hover {
    filter: brightness(1.08);
}

.nidc-contact-form .gform_wrapper .gfield_validation_message,
.nidc-contact-form .gform_wrapper .validation_message {
    margin-top: 6px;
    color: #b42318;
    font-size: 11px;
}

.nidc-contact-form .gform_wrapper .gform_validation_errors {
    margin-bottom: 16px;
    padding: 14px;
    border: 1px solid #b42318;
    border-radius: 0;
    background: #ffffff;
    color: #b42318;
    font-size: 11px;
}


/* ---------- FAQ ---------- */

.contact-faq-section {
    padding: 72px 0 82px;
    background: #eefbff;
}

.contact-faq-heading {
    margin-bottom: 42px;
}

.faq-accordion {
    max-width: 760px;
    margin-inline: auto;
}

.faq-item {
    border-top: 1px solid #c4d3d9;
}

.faq-item:last-child {
    border-bottom: 1px solid #c4d3d9;
}

.faq-item summary {
    position: relative;
    padding: 16px 44px;
    color: #2a99ca;
    cursor: pointer;
    font-family: "Oswald", Impact, sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    list-style: none;
    text-align: center;
    text-transform: uppercase;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

/* Slide the panel open and closed. ::details-content plus interpolate-size
   lets the height animate to auto; older browsers just snap open as before. */
.faq-item {
    interpolate-size: allow-keywords;
}

.faq-item::details-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        height 320ms ease,
        opacity 220ms ease,
        content-visibility 320ms allow-discrete;
}

.faq-item[open]::details-content {
    height: auto;
    opacity: 1;
}

.faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 10px;
    content: "+";
    font-family: "Montserrat", Arial, Helvetica, sans-serif;
    font-size: 16px;
    transform: translateY(-50%);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-content {
    max-width: 610px;
    margin-inline: auto;
    padding: 0 28px 18px;
    text-align: center;
}

.faq-content p {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
}


/* ==========================================================
   CONTACT TABLET
========================================================== */

@media (max-width: 950px) {

    .contact-layout {
        gap: 40px;
    }

}


/* ==========================================================
   CONTACT MOBILE
========================================================== */

@media (max-width: 720px) {

    .contact-hero-image {
        height: 340px;
    }

    .contact-section {
        padding: 56px 0 64px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-info-box {
        grid-template-columns: minmax(0, 1fr);
        gap: 6px;
        padding: 18px 20px;
    }

    .nidc-contact-form .ginput_complex {
        gap: 20px;
    }

    .contact-faq-section {
        padding: 58px 0 64px;
    }

    .faq-item summary {
        padding: 14px 36px 14px 10px;
        font-size: 18px;
    }

    .faq-content {
        padding-inline: 12px;
    }

}

/* ==========================================================
   ABOUT PAGE
========================================================== */

/* ---------------- WELCOME SECTION ---------------- */

.about-welcome-section .split-content {
    grid-template-columns: 0.78fr 1.22fr;
}


/* ---------------- DIRECTORS ---------------- */

.about-directors-section {
    padding: 72px 0 88px;
}

.about-directors-heading {
    margin-bottom: 42px;
}

.directors-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 72px;
}

/* Each bio is a photo/copy pair that alternates sides down the page. */
.director-card {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 48px;
    min-width: 0;
    align-items: center;
}

.director-card:nth-child(even) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
}

.director-card:nth-child(even) .director-photo {
    grid-row: 1;
    grid-column: 2;
}

.director-card:nth-child(even) .director-content {
    grid-row: 1;
    grid-column: 1;
}

/* A director with no photo set gets the full width rather than half a row. */
.director-card .director-content:only-child {
    grid-column: 1 / -1;
}

.director-photo {
    aspect-ratio: 0.78 / 1;
    overflow: hidden;
    background: #dfe8ec;
}

.director-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.director-content h3 {
    margin-bottom: 5px;
    font-size: 25px;
}

.director-role {
    margin-bottom: 12px;
    color: #2a99ca;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.director-professional-title {
    margin-bottom: 17px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.director-biography p {
    margin-bottom: 16px;
    font-size: 12px;
    line-height: 1.55;
}


/* ==========================================================
   ABOUT TABLET
========================================================== */

@media (max-width: 950px) {

    .about-welcome-section .split-content {
        grid-template-columns: 0.82fr 1.18fr;
    }

    .director-card {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
        gap: 34px;
    }

    .director-card:nth-child(even) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    }

}


/* ==========================================================
   ABOUT MOBILE
========================================================== */

@media (max-width: 720px) {

    .about-welcome-section .split-content,
    .directors-grid {
        grid-template-columns: 1fr;
    }

    .about-directors-section {
        padding: 58px 0 64px;
    }

    .directors-grid {
        gap: 52px;
    }

    /* Too narrow to sit side by side - photo goes back above the copy. */
    .director-card,
    .director-card:nth-child(even) {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .director-card:nth-child(even) .director-photo,
    .director-card:nth-child(even) .director-content {
        grid-row: auto;
        grid-column: 1;
    }

    .director-content h3 {
        font-size: 24px;
    }

    .director-biography p {
        font-size: 13px;
    }

}

/* ==========================================================
   TOUR PAGE
========================================================== */

.tour-archive-section {
    padding: 76px 0 88px;
    background: #ffffff;
}

.event-grid--tour {
    align-items: stretch;
}

.event-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #123149 0%, #080f16 100%);
}

.event-location {
    margin-bottom: 3px !important;
    font-weight: 600;
}

.event-address {
    color: #404040;
}

.tour-empty-message {
    margin: 0;
    padding: 48px 24px;
    background: #f2f2f2;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 720px) {
    .tour-archive-section {
        padding: 56px 0 64px;
    }
}

/* ==========================================================
   ACCOMMODATIONS PAGE
========================================================== */

.page-intro--accommodations .section-background {
    object-position: center 56%;
}

.accommodations-hotels-section {
    padding: 82px 0 96px;
    background: #ffffff;
}

.accommodations-section-intro {
    max-width: 760px;
    margin: 0 auto 54px;
    text-align: center;
}

.accommodations-section-intro h2 {
    margin-bottom: 18px;
}

.accommodations-section-intro > p:last-child {
    max-width: 660px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.75;
}

.accommodations-grid {
    display: grid;
    gap: 64px;
}

.accommodation-hotel {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    min-height: 570px;
    overflow: hidden;
    background: #f4f4f4;
}

.accommodation-hotel:nth-child(even) {
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
}

.accommodation-hotel:nth-child(even) .accommodation-hotel-image {
    grid-column: 2;
    grid-row: 1;
}

.accommodation-hotel:nth-child(even) .accommodation-hotel-content {
    grid-column: 1;
    grid-row: 1;
}

.accommodation-hotel-image {
    min-height: 570px;
    background: #dfe8ec;
}

.accommodation-hotel-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.accommodation-hotel-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 58px 54px;
}

.accommodation-hotel-content .eyebrow {
    margin-bottom: 10px;
}

.accommodation-hotel-content h3 {
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
    font-size: clamp(32px, 3.2vw, 48px);
    line-height: 1.05;
    text-transform: uppercase;
}

.accommodation-hotel-description {
    margin-bottom: 22px;
}

.accommodation-hotel-description p {
    margin-bottom: 12px;
    font-size: 13px;
    line-height: 1.65;
}

.accommodation-hotel-description p:last-child {
    margin-bottom: 0;
}

.accommodation-location {
    margin-bottom: 22px;
    padding-left: 16px;
    border-left: 3px solid #2a99ca;
}

.accommodation-location p {
    margin: 0;
    font-size: 12px;
    line-height: 1.55;
}

.accommodation-address {
    font-weight: 700;
}

.accommodation-rate-box {
    width: 100%;
    margin-bottom: 22px;
    padding: 18px 20px;
    background: #ffffff;
    border-top: 3px solid #ffc04f;
}

.accommodation-rate-box p {
    margin: 0;
    font-size: 11px;
    line-height: 1.55;
}

.accommodation-rate-box .accommodation-rate {
    margin-bottom: 4px;
    color: #111111;
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.1;
    text-transform: uppercase;
}

.accommodation-rate-box .accommodation-deadline {
    margin-top: 7px;
    font-weight: 700;
}

.accommodation-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    width: 100%;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}

.accommodation-highlights li {
    position: relative;
    padding-left: 17px;
    font-size: 11px;
    line-height: 1.45;
}

.accommodation-highlights li::before {
    position: absolute;
    top: 0;
    left: 0;
    color: #2a99ca;
    content: '•';
    font-size: 20px;
    line-height: 0.8;
}

.accommodation-disclaimer {
    width: 100%;
    margin: 0 0 22px;
    padding: 12px 16px;
    border-left: 3px solid #ffc04f;
    background: #fff8e8;
    color: #5a4a20;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.accommodation-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 22px;
}

.accommodation-booking-phone {
    margin-left: 6px;
    white-space: nowrap;
}

.accommodation-text-link {
    color: #111111;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
}

.accommodation-text-link:hover {
    color: #2a99ca;
}

.accommodations-cta {
    padding: 78px 0 82px;
    color: #ffffff;
    background: #f4f4f4;
    text-align: center;
}

.accommodations-cta-content {
    max-width: 760px;
}

.accommodations-cta .eyebrow {
    color: #2a99ca;
}

.accommodations-cta h2 {
    margin-bottom: 16px;
    color: #111111;
}

.accommodations-cta-content > p:not(.eyebrow) {
    max-width: 620px;
    margin: 0 auto 28px;
    color: #111111;
    font-size: 13px;
    line-height: 1.7;
}

@media (max-width: 950px) {
    .accommodation-hotel,
    .accommodation-hotel:nth-child(even) {
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    }

    .accommodation-hotel-content {
        padding: 44px 36px;
    }

    .accommodation-highlights {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .accommodations-hotels-section {
        padding: 58px 0 66px;
    }

    .accommodations-section-intro {
        margin-bottom: 36px;
        text-align: left;
    }

    .accommodations-grid {
        gap: 34px;
    }

    .accommodation-hotel,
    .accommodation-hotel:nth-child(even) {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .accommodation-hotel:nth-child(even) .accommodation-hotel-image,
    .accommodation-hotel:nth-child(even) .accommodation-hotel-content {
        grid-column: 1;
        grid-row: auto;
    }

    .accommodation-hotel-image {
        min-height: 0;
        aspect-ratio: 1.35 / 1;
    }

    .accommodation-hotel-content {
        padding: 34px 26px 38px;
    }

    .accommodation-hotel-content h3 {
        font-size: 34px;
    }

    .accommodation-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .accommodations-cta {
        padding: 58px 0 62px;
    }
}



/* ==========================================================
   WORDPRESS NAV & FOOTER
========================================================== */

.primary-menu,
.footer-menu {
    margin: 0;
    padding: 0;
    list-style: none;
}

.primary-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.primary-menu li,
.footer-menu li {
    margin: 0;
    padding: 0;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #ffc04f;
}

@media (max-width: 720px) {
    .primary-menu {
        flex-direction: column;
        align-items: flex-end;
        gap: 12px;
    }
}


.footer-column .footer-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-column .footer-menu li {
    margin: 0;
    padding: 0;
    line-height: 1;
}

.footer-column .footer-menu a {
    display: block;
    margin: 0;
    line-height: 1.3;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 30px;
}

.footer-logo-image {
    display: block;
    width: 320px;
    max-width: 100%;
    height: auto;
}

@media (max-width: 720px) {
    .footer-logo-image {
        width: 240px;
    }
}


