/* =========================================================
   Award Wall - Template scoped (page-award-wall.php)
   Premium, clean, consistent with site glass aesthetic
========================================================= */

body.page-template-page-award-wall-php .award-page {
    padding: 0 0 84px;
}


/* HERO */
body.page-template-page-award-wall-php .hero {
    width: 100%;
    min-height: calc(var(--heroMinH) + var(--headerH));
    margin-top: calc(var(--headerH) * -1);
    background-size: cover;
    background-position: center 50% !important;
    /* keep your final */
    background-color: #1a0a0f;
    border-radius: 0;
    position: relative;
}

body.page-template-page-award-wall-php .hero .hero-inner {
    width: 100%;
    padding-top: calc(var(--heroPadY, 60px) + var(--headerH));
}

body.page-template-page-award-wall-php .hero .hero-content {
    max-width: 720px;
}

/* Allow WP-managed kicker text to grow without breaking hero layout */
body.page-template-page-award-wall-php .hero .pill {
    max-width: min(100%, 760px);
}

body.page-template-page-award-wall-php .hero .pill span:last-child {
    white-space: normal;
    line-height: 1.3;
}

/* =========================================================
   Full-bleed ceremonial intro band (subtle, not a big wash)
========================================================= */

body.page-template-page-award-wall-php .award-bleed--intro {
    padding: 0 0 30px;
    margin: 0 0 34px;
    position: relative;
    overflow: hidden;
}

/* Thin gold divider line only (no big background wash) */
body.page-template-page-award-wall-php .award-bleed--intro::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: min(980px, calc(100% - 40px));
    transform: translateX(-50%);
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(246, 199, 76, 0), rgba(246, 199, 76, .55), rgba(246, 199, 76, 0));
    opacity: .9;
}

/* =========================================================
   Intro head
========================================================= */

body.page-template-page-award-wall-php .page-intro-head {
    max-width: var(--max);
    margin: 0 auto 16px;
}

/* Reliable breathing room below hero + subtle lift under intro block */
body.page-template-page-award-wall-php .page-intro {
    position: relative;
    margin-top: 40px;
    padding-top: 40px;
    margin-bottom: 34px;
}

body.page-template-page-award-wall-php .page-intro::before {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: -8px;
    height: 18px;
    pointer-events: none;
    background: radial-gradient(55% 110% at 50% 0%, rgba(15, 23, 42, .10), rgba(15, 23, 42, 0) 72%);
}

/* Keep only the stacked intro panel visible; remove the back panel wrapper */
body.page-template-page-award-wall-php .page-intro.glass {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: visible !important; /* Allow card shadow to spill out */
}

body.page-template-page-award-wall-php .page-intro.glass::after {
    content: none;
}

body.page-template-page-award-wall-php .page-intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .20em;
    text-transform: uppercase;

    position: relative;
    isolation: isolate;

    background:
        radial-gradient(120% 180% at 20% 10%, rgba(255, 255, 255, .10), rgba(255, 255, 255, 0) 55%),
        linear-gradient(180deg, #6a0015 0%, #4a000f 55%, #36000b 100%);
    color: #f7d36a;

    border: 1px solid rgba(246, 199, 76, .42);
    box-shadow:
        0 10px 26px rgba(0, 0, 0, .18),
        inset 0 1px 0 rgba(255, 255, 255, .14),
        inset 0 -1px 0 rgba(0, 0, 0, .18);

    transition: transform .16s ease, box-shadow .16s ease;
}

body.page-template-page-award-wall-php .page-intro-kicker::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 42%);
    opacity: .55;
    pointer-events: none;
    z-index: -1;
}

body.page-template-page-award-wall-php .page-intro-kicker:hover {
    transform: translateY(-1px);
    box-shadow:
        0 14px 34px rgba(0, 0, 0, .22),
        inset 0 1px 0 rgba(255, 255, 255, .16),
        inset 0 -1px 0 rgba(0, 0, 0, .20);
}

body.page-template-page-award-wall-php .page-intro-title {
    margin: 12px 0 8px;
    font-size: clamp(26px, 3.2vw, 34px);
    line-height: 1.15;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #3f000c;
}

body.page-template-page-award-wall-php .page-intro-sub {
    margin: 0;
    font-size: 17px;
    line-height: 1.65;
    opacity: .86;
    max-width: 860px;
}

/* =========================================================
   Intro panel (premium glass)
========================================================= */

body.page-template-page-award-wall-php .intro-panel {
    max-width: var(--max);
    box-shadow:
        0 10px 20px -12px rgba(15, 23, 42, .22),
        0 2px 10px rgba(15, 23, 42, .05),
        0 3px 6px rgba(15, 23, 42, .18); /* New 3px bottom shadow layer */
}

/* Keep panel lift subtle and clean */
body.page-template-page-award-wall-php .intro-panel::after {
    content: none;
}

body.page-template-page-award-wall-php .award-lead {
    font-size: 16.5px;
}

body.page-template-page-award-wall-php .award-congrats {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(90, 0, 17, .10);
    font-weight: 750;
    opacity: .95;
}

/* Auto-style WYSIWYG content when no explicit classes are present */
body.page-template-page-award-wall-php .intro-panel-prose > p:first-of-type {
    font-size: 16.5px;
    color: rgba(35, 24, 31, .93);
}

body.page-template-page-award-wall-php .intro-panel-prose > p:last-of-type {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(90, 0, 17, .10);
    font-weight: 750;
    opacity: .95;
}


/* =========================================================
   Past Recipients header + decade pills
========================================================= */

body.page-template-page-award-wall-php .award-wall {
    padding-top: 14px;
}

body.page-template-page-award-wall-php .award-section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 14px 0 16px;
    padding-top: 14px;
    position: relative;
}

body.page-template-page-award-wall-php .award-section-head::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(90, 0, 17, 0), rgba(90, 0, 17, .18), rgba(90, 0, 17, 0));
}

body.page-template-page-award-wall-php .award-section-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, .92);
}

body.page-template-page-award-wall-php .award-section-sub {
    margin: 0;
    opacity: .78;
}

body.page-template-page-award-wall-php .award-decade-jump {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

body.page-template-page-award-wall-php .award-decade-pill {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 850;
    letter-spacing: .04em;

    text-transform: lowercase;

    text-decoration: none;
    color: rgba(63, 0, 12, .92);
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(90, 0, 17, .14);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .05);

    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.page-template-page-award-wall-php .award-decade-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(246, 199, 76, .55);
    box-shadow: 0 6px 16px rgba(0, 0, 0, .07);
}

@media (max-width: 720px) {
    body.page-template-page-award-wall-php .award-section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    body.page-template-page-award-wall-php .award-decade-jump {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        width: 100%;
    }

    body.page-template-page-award-wall-php .award-decade-pill {
        white-space: nowrap;
    }
}

/* =========================================================
   Search + count
========================================================= */

body.page-template-page-award-wall-php .award-toolbar {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 14px;
    margin: 14px 0 12px;
}

/* Search row should not sit on a secondary panel */
body.page-template-page-award-wall-php .award-toolbar.glass {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
}

body.page-template-page-award-wall-php .award-toolbar.glass::after {
    content: none;
}

body.page-template-page-award-wall-php .award-search {
    width: 100%;
}

body.page-template-page-award-wall-php .award-search .control-input {
    min-height: 56px;
}

body.page-template-page-award-wall-php .award-search .control-input:focus {
    transform: translateY(-1px);
}

body.page-template-page-award-wall-php .award-countline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(90, 0, 17, .16);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);

    font-size: 12px;
    letter-spacing: .11em;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(63, 0, 12, .72);
    white-space: nowrap;
}

body.page-template-page-award-wall-php .award-countline .awardCountNum {
    font-weight: 900;
    font-size: 18px;
    line-height: 1;
    letter-spacing: .03em;
    color: #5a0011;
}

@media (max-width: 720px) {
    body.page-template-page-award-wall-php .award-toolbar {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Decades + grid
========================================================= */

body.page-template-page-award-wall-php .award-ceremony {
    margin-top: 10px;
}

body.page-template-page-award-wall-php .award-decade {
    margin: 26px 0 30px;
}

body.page-template-page-award-wall-php .award-decade-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin: 0 0 12px;
}

body.page-template-page-award-wall-php .award-decade-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

body.page-template-page-award-wall-php .award-decade-title {
    margin: 0;
    font-size: 13px;
    font-weight: 850;

    text-transform: lowercase;

    letter-spacing: .08em;
    color: rgba(90, 0, 17, .92);
}

body.page-template-page-award-wall-php .award-decade-rule {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    opacity: .85;
}

body.page-template-page-award-wall-php .award-decade-rule span {
    width: 90px;
    height: 2px;
    border-radius: 2px;
    background: rgba(246, 199, 76, .45);
}

body.page-template-page-award-wall-php .award-decade-rule i {
    font-style: normal;
    color: rgba(246, 199, 76, .85);
    transform: translateY(-1px);
}

body.page-template-page-award-wall-php .award-decade-top {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;

    color: rgba(15, 23, 42, .55);
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, .08);
    background: rgba(255, 255, 255, .55);
    transition: border-color .16s ease, transform .16s ease;
}

body.page-template-page-award-wall-php .award-decade-top:hover {
    transform: translateY(-1px);
    border-color: rgba(246, 199, 76, .45);
}

body.page-template-page-award-wall-php .award-grid--plaques {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px 18px;
}

@media (max-width: 980px) {
    body.page-template-page-award-wall-php .award-grid--plaques {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    body.page-template-page-award-wall-php .award-grid--plaques {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Plaques
========================================================= */

body.page-template-page-award-wall-php .award-plaque2 {
    position: relative;
    padding: 16px 16px 14px;
    border-radius: 18px;
    overflow: hidden;

    background:
        radial-gradient(700px 220px at 18% 0%, rgba(246, 199, 76, .08), rgba(246, 199, 76, 0) 60%),
        linear-gradient(180deg, rgba(90, 0, 17, .06), rgba(255, 255, 255, .06)),
        rgba(255, 255, 255, .92);

    border: 1px solid rgba(15, 23, 42, .08);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .14);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

body.page-template-page-award-wall-php .award-plaque2:hover {
    transform: translateY(-2px);
    border-color: rgba(246, 199, 76, .28);
    box-shadow: 0 20px 46px rgba(0, 0, 0, .18);
}

body.page-template-page-award-wall-php .award-plaque2-year {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: .18em;

    text-transform: lowercase;

    text-shadow: 0 1px 0 rgba(0, 0, 0, .10);
    color: #5a0011;
    line-height: 1;
}

body.page-template-page-award-wall-php .award-plaque2-rule {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0 12px;
    opacity: .92;
}

body.page-template-page-award-wall-php .award-plaque2-rule span {
    width: 54px;
    height: 1px;
    background: rgba(246, 199, 76, .55);
    opacity: .85;
}

body.page-template-page-award-wall-php .award-plaque2-rule i {
    font-style: normal;
    color: rgba(246, 199, 76, .80);
    transform: translateY(-1px);
}

body.page-template-page-award-wall-php .award-plaque2-name {
    font-size: 16px;
    font-weight: 750;
    letter-spacing: .01em;
    opacity: .94;
}

/* Featured */
body.page-template-page-award-wall-php .award-plaque2.is-featured {
    grid-column: 1 / -1;
    padding: 22px 22px 18px;
    border-radius: 24px;

    background:
        radial-gradient(900px 280px at 22% 0%, rgba(246, 199, 76, .14), rgba(246, 199, 76, 0) 60%),
        linear-gradient(180deg, rgba(90, 0, 17, .08), rgba(255, 255, 255, .08)),
        rgba(255, 255, 255, .94);

    border-color: rgba(246, 199, 76, .22);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .14);
}

@media (max-width: 620px) {
    body.page-template-page-award-wall-php .award-plaque2.is-featured {
        grid-column: auto;
    }
}

body.page-template-page-award-wall-php .award-feature-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;

    color: #2a0f14;
    background: linear-gradient(180deg, #f6c74c, #e8b93a);
    border: 1px solid rgba(255, 255, 255, .35);
    box-shadow:
        0 4px 14px rgba(0, 0, 0, .20),
        inset 0 1px 0 rgba(255, 255, 255, .45);
}

body.page-template-page-award-wall-php .award-feature-pill::before {
    content: "?";
    font-size: 10px;
    opacity: .8;
}

body.page-template-page-award-wall-php .award-empty {
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .10);
}

body.page-template-page-award-wall-php .hero.hero--award {
    position: relative;
    min-height: 360px;
    display: grid;
    align-items: end;
    padding: 110px 0 44px;
    background-size: cover;
    background-position: center 18%;
    overflow: hidden;
}

body.page-template-page-award-wall-php .hero.hero--award .hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 700px at 55% 35%, rgba(0, 0, 0, .12), rgba(0, 0, 0, .62) 78%),
        linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .55));
}

body.page-template-page-award-wall-php .hero.hero--award .hero-inner {
    position: relative;
    z-index: 1;
}

body.page-template-page-award-wall-php .hero.hero--award .hero-title {
    margin: 10px 0 8px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: clamp(28px, 3.4vw, 40px);
}

body.page-template-page-award-wall-php .hero.hero--award .hero-subtitle {
    margin: 0;
    color: rgba(255, 255, 255, .86);
    max-width: 900px;
    line-height: 1.6;
    font-size: 16.5px;
}
