/**
 * Developed by: George Rexy Vincent Z. Bacani
 * College: College of Information Technology
 * Role: System Developer / Front-End Developer
 * Development Year: 2026–2027
 * Institution: Don Mariano Marcos Memorial State University
 * Version: v1.0
 * Email: rexygeorge11@gmail.com
 * Copyright: © 2026–2027. All rights reserved.
 */

* {
    box-sizing: border-box;
}

:root {
    --green: #176845;
    --green-dark: #0f5137;
    --ink: #142019;
    --muted: #6d7972;
    --line: #dfe6e2;
    --red: #c83232;
    --blue: #2f67d8;
    --orange: #e58222;
    --gold: #efb72a;
    --bg: #f7f9f8;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter,Arial,sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}

a {
    text-decoration: none;
    color: inherit;
}

button,input {
    font: inherit;
}

.container {
    width: min(1180px,calc(100% - 32px));
    margin: auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid #e5ebe7;
}

.nav-wrap {
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
}

.brand strong {
    display: block;
    font-family: Manrope;
    font-size: 13px;
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: .15em;
    color: #7e8983;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.main-nav>a,.nav-drop-btn {
    border: 0;
    background: none;
    padding: 8px 0;
    color: #4d5952;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.main-nav>a:hover,.nav-drop-btn:hover {
    color: var(--green);
}

.nav-dropdown {
    position: relative;
}

.nav-drop-btn span {
    font-size: 10px;
}

.nav-drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 170px;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 16px 34px rgba(20,32,26,.11);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: .18s;
}

.nav-dropdown:hover .nav-drop-menu,.nav-dropdown.open .nav-drop-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-drop-menu a {
    display: block;
    padding: 9px 10px;
    border-radius: 7px;
    font-size: 10px;
}

.nav-drop-menu a:hover {
    background: #f4f7f5;
}

.submit-cta {
    padding: 10px 14px;
    border-radius: 9px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.nav-toggle {
    display: none;
    border: 0;
    background: none;
}

.nav-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: var(--ink);
    margin: 5px 0;
}

/* Hero */

.hero {
    position: relative;
    height: 430px;
    overflow: hidden;
    background: var(--green-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s ease,visibility .55s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide:after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px);
    background-size: 54px 54px;
    pointer-events: none;
}

.hero-green {
    background: linear-gradient(115deg,#0f5137,#177a4d 58%,#24935d);
}

.hero-blue {
    background: linear-gradient(115deg,#153b56,#0e5b42 55%,#147c4d);
}

.hero-grid {
    position: relative;
    z-index: 2;
    height: 100%;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 72px;
    align-items: center;
    color: #fff;
}

.hero-copy {
    max-width: 680px;
}

.eyebrow {
    display: inline-block;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .14em;
    color: #d8f0e3;
    margin-bottom: 14px;
}

.eyebrow.gold {
    color: #ffe7a0;
}

.hero-copy h1 {
    font-family: Manrope;
    font-size: clamp(44px,4.6vw,64px);
    line-height: 1.02;
    letter-spacing: -.045em;
    margin: 0 0 17px;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 23px;
    font-size: 14px;
    color: rgba(255,255,255,.84);
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 800;
}

.btn-light {
    background: #fff;
    color: #17382a;
}

.btn-outline {
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
}

.hero-panel {
    background: #fff;
    color: var(--ink);
    border-radius: 21px;
    padding: 23px;
    box-shadow: 0 22px 50px rgba(0,0,0,.14);
}

.panel-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 21px;
}

.panel-head span,.panel-head b {
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .1em;
    color: var(--green);
}

.panel-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: var(--green);
    color: #fff;
    display: grid;
    place-items: center;
    font-family: Manrope;
    font-weight: 800;
    font-size: 20px;
    margin-bottom: 17px;
}

.hero-panel h3 {
    font-family: Manrope;
    font-size: 23px;
    margin: 0 0 7px;
}

.hero-panel>p {
    font-size: 10px;
    color: var(--muted);
    margin: 0;
}

.status-line {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
    margin-top: 22px;
}

.status-line span {
    height: 5px;
    border-radius: 20px;
    background: #dfe6e2;
}

.status-line .done {
    background: #64bf90;
}

.status-line .active {
    background: var(--gold);
}

.status-labels {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 6px;
    text-align: center;
    margin-top: 6px;
}

.status-labels small {
    font-size: 7px;
    color: #7d8982;
}

.record-panel {
    display: grid;
    gap: 9px;
}

.record-panel .panel-head {
    margin-bottom: 2px;
}

.record {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 11px;
    align-items: center;
    padding: 9px 0;
    border-top: 1px solid #edf1ee;
}

.record span {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff4d2;
    color: #8c6600;
    display: grid;
    place-items: center;
    font-size: 9px;
    font-weight: 900;
}

.record strong {
    font-size: 10px;
}

.metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.metrics div {
    background: #f7f9f8;
    border: 1px solid #edf1ee;
    border-radius: 13px;
    padding: 17px;
}

.metrics div:first-child {
    grid-column: 1/-1;
}

.metrics strong {
    display: block;
    font-family: Manrope;
    font-size: 25px;
    color: var(--green);
}

.metrics small {
    font-size: 8px;
    color: var(--muted);
}

.hero-arrow {
    position: absolute;
    z-index: 5;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.13);
    color: #fff;
    font-size: 27px;
    cursor: pointer;
}

.hero-arrow.prev {
    left: 16px;
}

.hero-arrow.next {
    right: 16px;
}

.hero-dots {
    position: absolute;
    z-index: 5;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}

.hero-dots button {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.45);
    cursor: pointer;
}

.hero-dots button.active {
    width: 24px;
    border-radius: 20px;
    background: #fff;
}

/* Shortcuts */

.shortcuts {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.shortcuts-grid>a {
    min-height: 78px;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 11px;
    align-items: center;
    padding: 15px 20px;
    border-right: 1px solid var(--line);
}

.shortcuts-grid>a:last-child {
    border-right: 0;
}

.shortcuts-grid>a:hover {
    background: #f9fbfa;
}

.shortcut-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 900;
}

.shortcut-icon.green {
    background: var(--green);
}

.shortcut-icon.blue {
    background: var(--blue);
}

.shortcut-icon.gold {
    background: var(--gold);
    color: #493500;
}

.shortcuts strong {
    display: block;
    font-size: 10px;
}

.shortcuts small {
    display: block;
    font-size: 8px;
    color: #7b8780;
    margin-top: 2px;
}

.shortcuts b {
    font-size: 11px;
    color: var(--green);
}

/* Latest updates */

.latest {
    padding: 58px 0 70px;
    background: #fff;
}

.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.latest-header h2 {
    font-family: Manrope;
    font-size: 38px;
    line-height: 1;
    letter-spacing: -.04em;
    margin: 0;
}

.latest-tools {
    display: grid;
    gap: 9px;
    justify-items: end;
}

.search-box {
    width: 320px;
    height: 42px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 11px;
    border: 1px solid #dce4df;
    border-radius: 10px;
    background: #fbfcfb;
}

.search-box {
    cursor: text;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.search-box:focus-within {
    border-color: #14704c;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(20,112,76,.12);
}

.search-box span {
    position: relative;
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    font-size: 0;
    color: #174f37;
}

.search-box span::before {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    left: 1px;
    top: 1px;
    border: 1.6px solid currentColor;
    border-radius: 50%;
}

.search-box span::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 1.6px;
    left: 8px;
    top: 9px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: left center;
}

.search-box input,
.search-box input:focus,
.search-box input:focus-visible {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    font-size: 10px;
    font-weight: 600;
    color: #39463f;
}

.filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.filters button {
    height: 29px;
    min-width: 40px;
    padding: 0 9px;
    border: 1px solid #dce4df;
    border-radius: 7px;
    background: #fff;
    color: #5e6a63;
    font-size: 8px;
    font-weight: 800;
    cursor: pointer;
}

.filters button.active {
    background: #15392a;
    border-color: #15392a;
    color: #fff;
}

.news-feed {
    max-width: 1080px;
    margin: 0 auto;
}

.news-item[hidden] {
    display: none !important;
}

/* Featured */

.news-item.featured {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    margin: 22px 0 18px;
    background: #fff;
}

.featured-art {
    min-height: 300px;
    position: relative;
    padding: 22px;
    background: radial-gradient(circle at 78% 25%,rgba(239,183,42,.18),transparent 24%),linear-gradient(135deg,#0d4b34,#1e7850);
}

.featured-art:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.07) 1px,transparent 1px);
    background-size: 34px 34px;
}

.featured-label {
    position: relative;
    z-index: 2;
    display: inline-flex;
    padding: 7px 9px;
    border-radius: 7px;
    background: #fff;
    color: #176845;
    font-size: 8px;
    font-weight: 900;
    letter-spacing: .08em;
}

.featured-mark {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 24px;
    width: 116px;
    height: 116px;
    border-radius: 26px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.22);
    display: grid;
    place-items: center;
    color: #fff;
    font-family: Manrope;
    font-size: 30px;
    font-weight: 800;
}

.featured-copy {
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #7d8982;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.news-meta span:before {
    content: "•";
    margin-right: 8px;
    color: #adb7b1;
}

.featured-copy h3 {
    font-family: Manrope;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -.025em;
    margin: 11px 0 10px;
}

.featured-copy p {
    font-size: 11px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 14px;
}

.featured-copy > a,.news-copy > a {
    font-size: 9px;
    font-weight: 800;
    color: var(--green);
}

/* Rows */

.news-item.row {
    display: grid;
    grid-template-columns: 190px minmax(0,1fr);
    gap: 24px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.news-thumb {
    height: 126px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    padding: 13px;
    display: flex;
    align-items: flex-end;
}

.news-thumb:after {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    border-radius: 50%;
    right: -23px;
    top: -23px;
    background: rgba(255,255,255,.12);
}

.news-thumb span {
    position: relative;
    z-index: 1;
    display: inline-flex;
    padding: 6px 8px;
    border-radius: 6px;
    background: rgba(255,255,255,.94);
    font-size: 9px;
    font-weight: 900;
    color: #173629;
}

.news-thumb.esumbong {
    background: linear-gradient(135deg,#176a47,#2b9767);
}

.news-thumb.mluc {
    background: linear-gradient(135deg,#a31f27,#d54348);
}

.news-thumb.nluc {
    background: linear-gradient(135deg,#11663e,#38a267);
}

.news-thumb.sluc {
    background: linear-gradient(135deg,#194a92,#3c77d7);
}

.news-thumb.ous {
    background: linear-gradient(135deg,#a85614,#e78a2e);
}

.news-copy h3 {
    font-family: Manrope;
    font-size: 20px;
    line-height: 1.24;
    letter-spacing: -.02em;
    margin: 7px 0 6px;
}

.news-copy p {
    font-size: 10px;
    color: var(--muted);
    margin: 0 0 9px;
}

.news-copy h3:hover {
    color: #12663f;
}

.news-title-link {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-decoration: none;
    transition: color .18s ease;
}

.news-title-link:hover {
    color: #12663f;
}

.news-title-link:focus-visible {
    outline: 2px solid rgba(18, 102, 63, .35);
    outline-offset: 3px;
    border-radius: 3px;
}

/* Empty + Pagination */

.empty-state {
    max-width: 1080px;
    margin: 24px auto 0;
    padding: 28px;
    border: 1px dashed #ced9d2;
    border-radius: 12px;
    text-align: center;
    background: #f8faf9;
}

.empty-state strong {
    display: block;
    font-size: 12px;
}

.empty-state span {
    display: block;
    margin-top: 4px;
    font-size: 9px;
    color: #7d8982;
}

.pagination {
    max-width: 1080px;
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.pagination[hidden] {
    display: none !important;
}

.page-numbers {
    display: flex;
    gap: 6px;
}

.pagination button {
    height: 35px;
    border: 1px solid #dbe4de;
    border-radius: 8px;
    background: #fff;
    color: #425048;
    font-size: 9px;
    font-weight: 800;
    cursor: pointer;
}

.pagination .page-number {
    width: 35px;
    padding: 0;
}

.pagination .page-number.active {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.page-nav {
    padding: 0 11px;
}

.pagination button:hover {
    background: #f4f8f5;
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 21px 0;
    background: #fff;
}

.site-footer .container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #7d8982;
    font-size: 8px;
}

/* Responsive */

@media (max-width:900px) {
    .main-nav,.submit-cta {
        display: none;
    }
    .nav-toggle {
        display: block;
    }
    .main-nav.open {
        display: flex;
        position: absolute;
        top: 68px;
        left: 16px;
        right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: 0 16px 34px rgba(20,32,26,.11);
    }
    .main-nav.open .nav-dropdown {
        width: 100%;
    }
    .main-nav.open .nav-drop-btn {
        width: 100%;
        text-align: left;
    }
    .main-nav.open .nav-drop-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 4px 0 4px 12px;
    }
    .main-nav.open .nav-dropdown.open .nav-drop-menu {
        display: block;
    }
    .hero {
        height: 500px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        padding: 45px 0 55px;
    }
    .hero-panel {
        display: none;
    }
    .hero-copy {
        text-align: center;
        margin: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .shortcuts-grid {
        grid-template-columns: 1fr;
    }
    .shortcuts-grid>a {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }
    .shortcuts-grid>a:last-child {
        border-bottom: 0;
    }
    .latest-header {
        align-items: flex-start;
        flex-direction: column;
    }
    .latest-tools {
        justify-items: start;
        width: 100%;
    }
    .search-box {
        width: 100%;
    }
    .filters {
        justify-content: flex-start;
    }
}

@media (max-width:680px) {
    .container {
        width: min(100% - 22px,1180px);
    }
    .hero {
        height: 485px;
    }
    .hero-copy h1 {
        font-size: 40px;
    }
    .hero-copy p {
        font-size: 13px;
    }
    .latest {
        padding: 44px 0 54px;
    }
    .latest-header h2 {
        font-size: 32px;
    }
    .news-item.featured {
        grid-template-columns: 1fr;
    }
    .featured-art {
        min-height: 220px;
    }
    .featured-mark {
        width: 92px;
        height: 92px;
        font-size: 24px;
    }
    .featured-copy {
        padding: 22px;
    }
    .featured-copy h3 {
        font-size: 22px;
    }
    .news-item.row {
        grid-template-columns: 1fr;
        gap: 13px;
    }
    .news-thumb {
        height: 165px;
    }
    .news-copy h3 {
        font-size: 18px;
    }
    .site-footer .container {
        flex-direction: column;
    }
}

/* =========================================================
NAVBAR REFINEMENT
========================================================= */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e5ebe7;
}

.nav-wrap {
    min-height: 72px;
    display: grid;
    grid-template-columns: minmax(260px,1fr) auto minmax(150px,1fr);
    align-items: center;
    gap: 26px;
}

.brand {
    margin: 0;
    justify-self: start;
}

.main-nav {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav > a,
.nav-drop-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 24px 0;
    color: #4d5952;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.main-nav > a:hover,
.nav-drop-btn:hover,
.nav-dropdown.active-dropdown > .nav-drop-btn {
    color: var(--green);
}

.chevron {
    display: inline-block;
    font-size: 9px;
    line-height: 1;
    transform: translateY(-1px);
    color: #6d7972;
}

.nav-dropdown {
    display: flex;
    align-items: center;
}

.nav-drop-menu {
    top: calc(100% + 2px);
}

.submit-cta {
    justify-self: end;
    min-width: 122px;
    padding: 11px 16px;
    border-radius: 10px;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
}

@media (max-width:980px) {
    .nav-wrap {
        grid-template-columns: 1fr auto;
    }
    .brand {
        justify-self: start;
    }
    .nav-toggle {
        display: block;
        justify-self: end;
    }
    .main-nav,
    .submit-cta {
        display: none;
    }
    .main-nav.open {
        display: flex;
        position: absolute;
        top: 72px;
        left: 16px;
        right: 16px;
        padding: 12px;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: 0 16px 34px rgba(20,32,26,.11);
    }
    .main-nav.open > a,
    .main-nav.open .nav-drop-btn {
        width: 100%;
        justify-content: space-between;
        padding: 11px 10px;
        border-radius: 8px;
    }
    .main-nav.open > a:hover,
    .main-nav.open .nav-drop-btn:hover {
        background: #f5f8f6;
    }
    .main-nav.open .nav-dropdown {
        display: block;
        width: 100%;
    }
    .main-nav.open .nav-drop-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 0;
        padding: 2px 0 4px 12px;
    }
    .main-nav.open .nav-dropdown.open .nav-drop-menu {
        display: block;
    }
}

/* =========================================================
FINAL NAVBAR — SIMPLE, BALANCED, PROFESSIONAL
========================================================= */

.site-header {
    background: rgba(255,255,255,.98) !important;
    border-bottom: 1px solid #e6ece8 !important;
    box-shadow: none !important;
}

.nav-wrap {
    min-height: 64px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    gap: 22px !important;
}

.brand {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    margin-right: auto !important;
    flex: 0 0 auto !important;
}

.brand img {
    width: 38px !important;
    height: 38px !important;
}

.brand strong {
    font-size: 12px !important;
    line-height: 1.05 !important;
}

.brand small {
    margin-top: 3px !important;
    font-size: 7px !important;
    letter-spacing: .16em !important;
}

.main-nav {
    display: flex !important;
    align-items: center !important;
    gap: 26px !important;
    margin-left: auto !important;
    justify-self: auto !important;
}

.main-nav > a,
.nav-drop-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 22px 0 !important;
    color: #4d5952 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    cursor: pointer !important;
}

.main-nav > a::after,
.nav-dropdown > .nav-drop-btn::after {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 15px !important;
    height: 2px !important;
    border-radius: 2px !important;
    background: var(--green) !important;
    transform: scaleX(0) !important;
    transform-origin: center !important;
    transition: transform .18s ease !important;
}

.main-nav > a:hover::after,
.nav-dropdown:hover > .nav-drop-btn::after,
.nav-dropdown.active-dropdown > .nav-drop-btn::after {
    transform: scaleX(1) !important;
}

.main-nav > a:hover,
.nav-drop-btn:hover,
.nav-dropdown.active-dropdown > .nav-drop-btn {
    color: var(--green) !important;
}

.chevron {
    font-size: 8px !important;
    color: #7c8781 !important;
    transform: translateY(-1px) !important;
}

.nav-dropdown {
    position: relative !important;
    display: block !important;
}

.nav-drop-menu {
    top: calc(100% - 5px) !important;
    left: 50% !important;
    transform: translate(-50%,8px) !important;
    min-width: 170px !important;
    padding: 7px !important;
    border: 1px solid #e2e8e4 !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 14px 32px rgba(22,43,31,.10) !important;
}

.nav-dropdown:hover .nav-drop-menu,
.nav-dropdown.open .nav-drop-menu {
    transform: translate(-50%,0) !important;
}

.nav-drop-menu a {
    padding: 9px 10px !important;
    border-radius: 7px !important;
    font-size: 10px !important;
    color: #3f4c45 !important;
}

.nav-drop-menu a:hover,
.nav-drop-menu .active-link {
    background: #f1f7f3 !important;
    color: var(--green) !important;
}

.submit-cta {
    flex: 0 0 auto !important;
    min-width: auto !important;
    padding: 10px 14px !important;
    border-radius: 9px !important;
    font-size: 9.5px !important;
    font-weight: 800 !important;
    background: var(--green) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.submit-cta:hover {
    background: #125a3c !important;
    transform: translateY(-1px) !important;
}

@media (max-width:980px) {
    .nav-wrap {
        height: 64px !important;
        min-height: 64px !important;
        display: flex !important;
    }
    .main-nav,
    .submit-cta {
        display: none !important;
    }
    .nav-toggle {
        display: block !important;
        margin-left: auto !important;
    }
    .main-nav.open {
        display: flex !important;
        position: absolute !important;
        top: 64px !important;
        left: 16px !important;
        right: 16px !important;
        margin: 0 !important;
        padding: 10px !important;
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 2px !important;
        background: #fff !important;
        border: 1px solid #e2e8e4 !important;
        border-radius: 12px !important;
        box-shadow: 0 16px 34px rgba(20,32,26,.12) !important;
    }
    .main-nav.open > a,
    .main-nav.open .nav-drop-btn {
        width: 100% !important;
        justify-content: space-between !important;
        padding: 11px 10px !important;
    }
    .main-nav.open > a::after,
    .main-nav.open .nav-drop-btn::after {
        display: none !important;
    }
    .main-nav.open .nav-dropdown {
        width: 100% !important;
    }
    .main-nav.open .nav-drop-menu {
        position: static !important;
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        border: 0 !important;
        padding: 2px 0 4px 12px !important;
    }
    .main-nav.open .nav-dropdown.open .nav-drop-menu {
        display: block !important;
    }
}

/* =========================================================
SPACIOUS DESKTOP SCALE — Aug 2026
Makes the public homepage use wide screens properly instead
of looking miniature/overly compact on 1440p–1920p displays.
========================================================= */

@media (min-width:981px) {
    .container {
        width: min(1420px,calc(100% - 80px)) !important;
    }
    .nav-wrap {
        min-height: 78px !important;
        height: 78px !important;
        gap: 34px !important;
    }
    .brand {
        gap: 12px !important;
    }
    .brand img {
        width: 48px !important;
        height: 48px !important;
    }
    .brand strong {
        font-size: 15px !important;
        line-height: 1.1 !important;
    }
    .brand small {
        font-size: 8.5px !important;
        margin-top: 4px !important;
    }
    .main-nav {
        gap: 34px !important;
    }
    .main-nav > a,.nav-drop-btn {
        font-size: 12px !important;
        padding: 29px 0 !important;
    }
    .submit-cta {
        padding: 12px 18px !important;
        font-size: 11px !important;
        border-radius: 10px !important;
    }
    .nav-drop-menu {
        min-width: 190px !important;
    }
    .nav-drop-menu a {
        font-size: 11px !important;
        padding: 10px 11px !important;
    }
    .hero {
        height: 540px !important;
    }
    .hero-grid {
        grid-template-columns: minmax(0,1.08fr) minmax(440px,.92fr) !important;
        gap: 86px !important;
    }
    .hero-copy {
        max-width: 760px !important;
    }
    .eyebrow {
        font-size: 11px !important;
        margin-bottom: 18px !important;
    }
    .hero-copy h1 {
        font-size: clamp(58px,4.15vw,76px) !important;
        line-height: 1.01 !important;
        margin-bottom: 22px !important;
    }
    .hero-copy p {
        max-width: 700px !important;
        font-size: 16px !important;
        line-height: 1.58 !important;
        margin-bottom: 29px !important;
    }
    .hero-actions {
        gap: 13px !important;
    }
    .btn {
        padding: 14px 19px !important;
        border-radius: 10px !important;
        font-size: 11.5px !important;
    }
    .hero-panel {
        padding: 30px !important;
        border-radius: 25px !important;
    }
    .panel-head {
        margin-bottom: 24px !important;
    }
    .panel-head span,.panel-head b {
        font-size: 9px !important;
    }
    .panel-icon {
        width: 62px !important;
        height: 62px !important;
        border-radius: 15px !important;
        font-size: 24px !important;
        margin-bottom: 20px !important;
    }
    .hero-panel h3 {
        font-size: 29px !important;
        margin-bottom: 9px !important;
    }
    .hero-panel>p {
        font-size: 12px !important;
        line-height: 1.55 !important;
    }
    .status-line {
        margin-top: 27px !important;
        gap: 8px !important;
    }
    .status-line span {
        height: 6px !important;
    }
    .status-labels {
        margin-top: 8px !important;
        gap: 8px !important;
    }
    .status-labels small {
        font-size: 8px !important;
    }
    .record {
        grid-template-columns: 48px 1fr !important;
        gap: 13px !important;
        padding: 11px 0 !important;
    }
    .record span {
        width: 48px !important;
        height: 48px !important;
        font-size: 10px !important;
    }
    .record strong {
        font-size: 12px !important;
    }
    .metrics {
        gap: 14px !important;
    }
    .metrics div {
        padding: 21px !important;
    }
    .metrics strong {
        font-size: 31px !important;
    }
    .metrics small {
        font-size: 10px !important;
    }
    .hero-arrow {
        width: 46px !important;
        height: 46px !important;
        font-size: 30px !important;
    }
    .hero-arrow.prev {
        left: 24px !important;
    }
    .hero-arrow.next {
        right: 24px !important;
    }
    .hero-dots {
        bottom: 20px !important;
        gap: 8px !important;
    }
    .hero-dots button {
        width: 9px !important;
        height: 9px !important;
    }
    .hero-dots button.active {
        width: 28px !important;
    }
    .shortcuts-grid>a {
        min-height: 96px !important;
        grid-template-columns: 50px 1fr auto !important;
        gap: 14px !important;
        padding: 18px 24px !important;
    }
    .shortcut-icon {
        width: 50px !important;
        height: 50px !important;
        border-radius: 13px !important;
        font-size: 17px !important;
    }
    .shortcuts strong {
        font-size: 12px !important;
    }
    .shortcuts small {
        font-size: 9.5px !important;
        margin-top: 3px !important;
    }
    .shortcuts b {
        font-size: 14px !important;
    }
    .latest {
        padding: 72px 0 84px !important;
    }
    .latest-header {
        gap: 40px !important;
        padding-bottom: 22px !important;
    }
    .latest-header h2 {
        font-size: 46px !important;
    }
    .latest-tools {
        gap: 11px !important;
    }
    .search-box {
        width: 350px !important;
        height: 46px !important;
        padding: 0 14px !important;
        border-radius: 11px !important;
    }
    .search-box input {
        font-size: 11px !important;
    }
    .filters {
        gap: 7px !important;
    }
    .filters button {
        height: 34px !important;
        min-width: 47px !important;
        padding: 0 11px !important;
        font-size: 9px !important;
        border-radius: 8px !important;
    }
    .news-feed,.empty-state,.pagination {
        max-width: 1260px !important;
    }
    .news-item.featured {
        grid-template-columns: 1fr 1fr !important;
        border-radius: 22px !important;
        margin: 28px 0 22px !important;
    }
    .featured-art {
        min-height: 360px !important;
        padding: 27px !important;
    }
    .featured-label {
        padding: 8px 11px !important;
        font-size: 9px !important;
    }
    .featured-mark {
        left: 28px !important;
        bottom: 28px !important;
        width: 135px !important;
        height: 135px !important;
        border-radius: 28px !important;
        font-size: 34px !important;
    }
    .featured-copy {
        padding: 38px !important;
    }
    .news-meta {
        font-size: 9px !important;
        gap: 10px !important;
    }
    .featured-copy h3 {
        font-size: 34px !important;
        margin: 14px 0 12px !important;
    }
    .featured-copy p {
        font-size: 13px !important;
        line-height: 1.65 !important;
        margin-bottom: 18px !important;
    }
    .featured-copy > a,.news-copy > a {
        font-size: 10.5px !important;
    }
    .news-item.row {
        grid-template-columns: 225px minmax(0,1fr) !important;
        gap: 30px !important;
        padding: 24px 0 !important;
    }
    .news-thumb {
        height: 145px !important;
        border-radius: 16px !important;
        padding: 15px !important;
    }
    .news-thumb span {
        font-size: 10px !important;
        padding: 7px 9px !important;
    }
    .news-copy h3 {
        font-size: 23px !important;
        margin: 8px 0 7px !important;
    }
    .news-copy p {
        font-size: 11.5px !important;
        margin-bottom: 11px !important;
    }
    .pagination {
        margin-top: 30px !important;
    }
    .pagination button {
        height: 39px !important;
        font-size: 10px !important;
    }
    .pagination .page-number {
        width: 39px !important;
    }
    .site-footer {
        padding: 25px 0 !important;
    }
    .site-footer .container {
        font-size: 9.5px !important;
    }
}

@media (min-width:1600px) {
    .container {
        width: min(1480px,calc(100% - 110px)) !important;
    }
    .hero-grid {
        gap: 100px !important;
    }
}

/* =========================================================
FINAL HEADER SCALE + FULL UNIVERSITY BRANDING — Aug 2026
Improves readability on desktop while preserving tablet/mobile.
========================================================= */

@media (min-width:981px) {
    .site-header {
        min-height: 88px !important;
    }
    .nav-wrap {
        min-height: 88px !important;
        height: 88px !important;
        gap: 38px !important;
    }
    .brand {
        gap: 14px !important;
        min-width: 430px !important;
    }
    .brand img {
        width: 52px !important;
        height: 52px !important;
    }
    .brand strong {
        font-size: 17px !important;
        line-height: 1.15 !important;
        letter-spacing: -.01em !important;
    }
    .brand small {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
        letter-spacing: .025em !important;
        text-transform: none !important;
        color: #68746e !important;
        margin-top: 5px !important;
        white-space: nowrap !important;
    }
    .main-nav {
        gap: 32px !important;
    }
    .main-nav > a,
    .nav-drop-btn {
        font-size: 14px !important;
        font-weight: 750 !important;
        padding: 34px 0 !important;
    }
    .main-nav > a::after,
    .nav-dropdown > .nav-drop-btn::after {
        bottom: 22px !important;
    }
    .chevron {
        font-size: 10px !important;
    }
    .submit-cta {
        padding: 13px 18px !important;
        border-radius: 11px !important;
        font-size: 12.5px !important;
    }
    .nav-drop-menu {
        min-width: 210px !important;
        padding: 9px !important;
    }
    .nav-drop-menu a {
        font-size: 12.5px !important;
        padding: 11px 12px !important;
    }
}

@media (max-width:1200px) and (min-width:981px) {
    .brand {
        min-width: 360px !important;
    }
    .brand strong {
        font-size: 15.5px !important;
    }
    .brand small {
        font-size: 9px !important;
    }
    .main-nav {
        gap: 22px !important;
    }
    .main-nav > a,.nav-drop-btn {
        font-size: 12.5px !important;
    }
    .submit-cta {
        font-size: 11.5px !important;
        padding: 12px 15px !important;
    }
}

@media (max-width:980px) {
    .brand small {
        letter-spacing: .01em !important;
        text-transform: none !important;
        max-width: 240px;
    }
}

/* =========================================================
UNIFIED USC NAVBAR — consistent across all public pages
========================================================= */

@media (min-width:981px) {
    .site-header {
        min-height: 92px !important;
    }
    .site-header .container.nav-wrap,
    .nav-wrap {
        height: 92px !important;
        min-height: 92px !important;
        display: flex !important;
        align-items: center !important;
        gap: 38px !important;
    }
    .site-header .brand,
    .brand {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        margin-right: auto !important;
        min-width: 430px !important;
    }
    .site-header .brand img,
    .brand img {
        width: 54px !important;
        height: 54px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        flex: 0 0 54px !important;
    }
    .site-header .brand span,
    .brand span {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        line-height: 1.15 !important;
    }
    .site-header .brand strong,
    .brand strong {
        font-family: Manrope,Inter,Arial,sans-serif !important;
        font-size: 18px !important;
        line-height: 1.15 !important;
        letter-spacing: -.015em !important;
        white-space: nowrap !important;
    }
    .site-header .brand small,
    .brand small {
        font-size: 10.5px !important;
        line-height: 1.25 !important;
        letter-spacing: .01em !important;
        text-transform: none !important;
        color: #68746e !important;
        margin-top: 5px !important;
        white-space: nowrap !important;
    }
    .site-header .main-nav,
    .main-nav {
        display: flex !important;
        align-items: center !important;
        gap: 30px !important;
    }
    .site-header .main-nav > a,
    .site-header .nav-drop-btn,
    .main-nav > a,
    .nav-drop-btn {
        font-size: 14px !important;
        font-weight: 750 !important;
        line-height: 1 !important;
        padding: 38px 0 !important;
        color: #46534c !important;
    }
    .site-header .header-cta,
    .site-header .submit-cta,
    .header-cta,.submit-cta {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-height: 44px !important;
        padding: 0 19px !important;
        border-radius: 11px !important;
        background: #16623f !important;
        color: #fff !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        white-space: nowrap !important;
    }
    .site-header .nav-drop-menu,
    .nav-drop-menu {
        min-width: 210px !important;
    }
    .site-header .nav-drop-menu a,
    .nav-drop-menu a {
        font-size: 12.5px !important;
        padding: 11px 12px !important;
    }
}

@media (max-width:1200px) and (min-width:981px) {
    .site-header .brand,.brand {
        min-width: 360px !important;
    }
    .site-header .brand strong,.brand strong {
        font-size: 16px !important;
    }
    .site-header .brand small,.brand small {
        font-size: 9.25px !important;
    }
    .site-header .main-nav,.main-nav {
        gap: 22px !important;
    }
    .site-header .main-nav > a,.site-header .nav-drop-btn,.main-nav > a,.nav-drop-btn {
        font-size: 12.5px !important;
    }
}

/* Homepage publication media sync */

.featured-art.has-cover {
    padding: 0;
    background: #0d4b34;
    overflow: hidden;
}

.featured-art.has-cover:before {
    display: none;
}

.featured-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,rgba(4,37,24,.08),rgba(4,37,24,.34));
}

.featured-art .featured-label {
    position: absolute;
    z-index: 3;
    top: 22px;
    left: 22px;
}

.home-photo-count {
    position: absolute;
    z-index: 3;
    right: 20px;
    bottom: 20px;
    background: rgba(7,44,30,.86);
    color: #fff;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 10px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.news-thumb {
    position: relative;
    overflow: hidden;
}

.news-thumb.has-cover {
    background: #eef3ef;
}

.news-thumb.has-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.news-item.row:hover .news-thumb.has-cover img {
    transform: scale(1.035);
}

.home-photo-count.small {
    right: 9px;
    bottom: 9px;
    padding: 5px 8px;
    font-size: 9px;
}

@media (max-width:760px) {
    .featured-art .featured-label {
        top: 16px;
        left: 16px;
    }
    .home-photo-count {
        right: 14px;
        bottom: 14px;
    }
    .news-thumb.has-cover {
        height: 180px;
    }
}

/* Compact editorial Latest Updates — image-led list layout */

@media (min-width:761px) {
    .news-feed {
        max-width: 1120px;
    }
    .news-item.featured {
        grid-template-columns: 360px minmax(0,1fr) !important;
        min-height: 250px !important;
        margin: 22px 0 8px !important;
        border-radius: 16px !important;
        align-items: stretch;
    }
    .featured-art,.featured-art.has-cover {
        min-height: 250px !important;
        height: 250px !important;
        padding: 0 !important;
        background: #f3f6f4 !important;
    }
    .featured-cover {
        object-fit: contain !important;
        object-position: center !important;
        background: #f3f6f4;
    }
    .featured-overlay {
        display: none !important;
    }
    .featured-art .featured-label {
        top: 14px !important;
        left: 14px !important;
        font-size: 8px !important;
        padding: 7px 9px !important;
    }
    .home-photo-count {
        right: 12px !important;
        bottom: 12px !important;
    }
    .featured-copy {
        padding: 26px 32px !important;
        justify-content: center !important;
    }
    .featured-copy h3 {
        font-size: 26px !important;
        line-height: 1.15 !important;
        margin: 9px 0 8px !important;
    }
    .featured-copy p {
        font-size: 11px !important;
        line-height: 1.55 !important;
        margin-bottom: 12px !important;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .news-item.row {
        grid-template-columns: 210px minmax(0,1fr) !important;
        gap: 24px !important;
        padding: 18px 0 !important;
        min-height: 150px;
    }
    .news-thumb,.news-thumb.has-cover {
        width: 210px !important;
        height: 132px !important;
        min-height: 132px !important;
        padding: 0 !important;
        border-radius: 12px !important;
        background: #f3f6f4 !important;
        align-self: center;
    }
    .news-thumb.has-cover img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #f3f6f4;
    }
    .news-thumb:not(.has-cover) {
        padding: 13px !important;
    }
    .news-copy h3 {
        font-size: 19px !important;
        margin: 6px 0 5px !important;
    }
    .news-copy p {
        font-size: 10.5px !important;
        line-height: 1.55 !important;
        margin-bottom: 8px !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width:760px) {
    .featured-art.has-cover {
        height: 220px !important;
        min-height: 220px !important;
        background: #f3f6f4 !important;
    }
    .featured-cover {
        object-fit: contain !important;
        background: #f3f6f4;
    }
    .featured-overlay {
        display: none !important;
    }
    .news-thumb.has-cover img {
        object-fit: contain !important;
        background: #f3f6f4;
    }
}

/* Refined homepage news cards — no divider lines, fitted media, subtle lift */

.news-feed {
    display: grid;
    gap: 18px;
}

.news-item.row {
    border-bottom: 0 !important;
    background: #fff;
    border: 1px solid #e4ebe7;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(18,63,43,.055);
    transition: transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}

.news-item.row:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(18,63,43,.085);
    border-color: #d9e4de;
}

.news-item.featured {
    border-color: #e2eae5 !important;
    box-shadow: 0 12px 34px rgba(18,63,43,.07);
}

.news-item.featured:hover {
    box-shadow: 0 16px 38px rgba(18,63,43,.095);
}

@media (min-width:761px) {
    .news-item.row {
        padding: 14px !important;
        grid-template-columns: 210px minmax(0,1fr) !important;
        gap: 22px !important;
        min-height: 160px !important;
    }
    .news-thumb,.news-thumb.has-cover {
        width: 210px !important;
        height: 132px !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        background: #eef3f0 !important;
        box-shadow: 0 5px 16px rgba(17,58,40,.08);
    }
    .news-thumb.has-cover img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        background: transparent !important;
    }
    .news-copy {
        padding: 4px 12px 4px 0;
        align-self: center;
    }
    .news-item.featured {
        grid-template-columns: 390px minmax(0,1fr) !important;
        min-height: 270px !important;
    }
    .featured-art,.featured-art.has-cover {
        height: 270px !important;
        min-height: 270px !important;
        background: #eef3f0 !important;
        overflow: hidden !important;
    }
    .featured-cover {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        background: transparent !important;
        transform: scale(1.01);
    }
    .featured-copy {
        padding: 30px 34px !important;
    }
}

@media (max-width:760px) {
    .news-feed {
        gap: 14px;
    }
    .news-item.row {
        border-bottom: 0 !important;
        padding: 12px !important;
        border-radius: 14px;
    }
    .news-thumb.has-cover {
        border-radius: 11px !important;
        overflow: hidden;
        background: #eef3f0 !important;
    }
    .news-thumb.has-cover img {
        object-fit: cover !important;
        object-position: center !important;
        background: transparent !important;
    }
    .featured-art.has-cover {
        background: #eef3f0 !important;
    }
    .featured-cover {
        object-fit: cover !important;
        object-position: center !important;
        background: transparent !important;
    }
}

/* Final media fit refinement — compact thumbnails, show the full uploaded image */

@media (min-width:761px) {
    .news-item.featured {
        grid-template-columns: 300px minmax(0,1fr) !important;
        min-height: 220px !important;
    }
    .featured-art,.featured-art.has-cover {
        width: 300px !important;
        height: 220px !important;
        min-height: 220px !important;
        background: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 10px !important;
    }
    .featured-cover {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
        transform: none !important;
        border-radius: 10px;
    }
    .featured-copy {
        padding: 24px 28px !important;
    }
    .featured-copy h3 {
        font-size: 24px !important;
    }
    .news-item.row {
        grid-template-columns: 170px minmax(0,1fr) !important;
        min-height: 132px !important;
        gap: 20px !important;
        padding: 12px !important;
    }
    .news-thumb,.news-thumb.has-cover {
        width: 170px !important;
        height: 108px !important;
        min-height: 108px !important;
        background: #fff !important;
        box-shadow: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 6px !important;
    }
    .news-thumb.has-cover img {
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
        transform: none !important;
    }
    .news-item.row:hover .news-thumb.has-cover img {
        transform: none !important;
    }
    .news-copy h3 {
        font-size: 18px !important;
    }
}

@media (max-width:760px) {
    .featured-art,.featured-art.has-cover {
        height: 190px !important;
        min-height: 190px !important;
        background: #fff !important;
        padding: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .featured-cover {
        position: relative !important;
        inset: auto !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
        transform: none !important;
    }
    .news-thumb,.news-thumb.has-cover {
        height: 150px !important;
        background: #fff !important;
        padding: 6px !important;
    }
    .news-thumb.has-cover img {
        object-fit: contain !important;
        object-position: center !important;
        background: #fff !important;
        transform: none !important;
    }
}

/* 2026-08-15 — balanced full-poster sizing: larger media, never crop */

@media (min-width:761px) {
    .news-item.featured {
        grid-template-columns: 420px minmax(0,1fr) !important;
        min-height: 310px !important;
    }
    .featured-art,.featured-art.has-cover {
        width: 420px !important;
        height: 310px !important;
        min-height: 310px !important;
        padding: 12px !important;
        background: #fff !important;
    }
    .featured-cover {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        border-radius: 10px !important;
    }
    .featured-copy {
        padding: 32px 38px !important;
    }
    .featured-copy h3 {
        font-size: 28px !important;
        line-height: 1.16 !important;
    }
    .news-item.row {
        grid-template-columns: 220px minmax(0,1fr) !important;
        min-height: 166px !important;
        gap: 24px !important;
        padding: 14px !important;
    }
    .news-thumb,.news-thumb.has-cover {
        width: 220px !important;
        height: 140px !important;
        min-height: 140px !important;
        padding: 7px !important;
        background: #fff !important;
    }
    .news-thumb.has-cover img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }
    .news-copy h3 {
        font-size: 19px !important;
        line-height: 1.25 !important;
    }
}

@media (max-width:760px) {
    .featured-art,.featured-art.has-cover {
        height: 260px !important;
        min-height: 260px !important;
        padding: 10px !important;
    }
    .featured-cover {
        object-fit: contain !important;
    }
    .news-thumb,.news-thumb.has-cover {
        height: 185px !important;
        padding: 7px !important;
    }
    .news-thumb.has-cover img {
        object-fit: contain !important;
    }
}

/* 2026-08-15 — flush news media: remove container whitespace without cropping uploads */

@media (min-width:761px) {
    .featured-art,.featured-art.has-cover {
        padding: 0 !important;
        background: transparent !important;
    }
    .featured-cover {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: transparent !important;
        border-radius: 0 !important;
    }
    .news-thumb,.news-thumb.has-cover {
        padding: 0 !important;
        background: transparent !important;
    }
    .news-thumb.has-cover img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        background: transparent !important;
    }
}

@media (max-width:760px) {
    .featured-art,.featured-art.has-cover,
    .news-thumb,.news-thumb.has-cover {
        padding: 0 !important;
        background: transparent !important;
    }
    .featured-cover,.news-thumb.has-cover img {
        object-fit: contain !important;
        object-position: center !important;
        background: transparent !important;
    }
}

/* 2026-08-15 — separate admin-selected Featured Update from automatic Latest Update */

.home-featured-update {
    padding: 64px 0 18px;
    background: #fff;
}

.section-kicker {
    display: block;
    margin-bottom: 7px;
    color: #176a47;
    font-size: 10px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.section-title-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

.section-title-row h2 {
    font-family: Manrope;
    margin: 0;
    font-size: 34px;
    letter-spacing: -.035em;
}

.section-title-row p,.latest-subtitle {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}

.latest-header>div:first-child {
    min-width: 0;
}

.news-lead-card {
    display: grid;
    grid-template-columns: minmax(330px, .78fr) minmax(0, 1.22fr);
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #dce6e0;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(13,75,52,.08);
}

.news-lead-card.featured-special {
    border-color: #cedfd5;
}

.lead-media {
    position: relative;
    min-height: 300px;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: #f2f6f3;
}

.lead-media.has-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #fff;
}

.lead-media:not(.has-cover) {
    background: linear-gradient(135deg,#0e5338,#20845a);
}

.lead-media.nluc:not(.has-cover) {
    background: linear-gradient(135deg,#11663e,#38a267);
}

.lead-media.mluc:not(.has-cover) {
    background: linear-gradient(135deg,#8f1f25,#cb3e45);
}

.lead-media.sluc:not(.has-cover) {
    background: linear-gradient(135deg,#173f83,#3973d1);
}

.lead-media.ous:not(.has-cover) {
    background: linear-gradient(135deg,#8e4d16,#dc842d);
}

.lead-placeholder {
    font-family: Manrope;
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.04em;
}

.lead-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    padding: 8px 11px;
    border-radius: 7px;
    background: #fff;
    color: #176a47;
    box-shadow: 0 5px 18px rgba(15,70,48,.08);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
}

.latest-badge {
    background: #0d563a;
    color: #fff;
}

.lead-copy {
    padding: 34px 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.lead-copy h3 {
    font-family: Manrope;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -.03em;
    margin: 11px 0 10px;
}

.lead-copy p {
    font-size: 12px;
    line-height: 1.65;
    color: var(--muted);
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.lead-copy > a {
    font-size: 10px;
    font-weight: 800;
    color: var(--green);
}

.latest-lead-slot {
    margin: 20px 0 18px;
}

.latest-list {
    display: grid;
    gap: 14px;
}

/* Keep the secondary/latest rows compact and card-like. */

.latest-list .news-item.row {
    margin: 0 !important;
    border: 1px solid #e0e8e3 !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(17,67,47,.045) !important;
    overflow: hidden !important;
    padding: 12px !important;
    grid-template-columns: 190px minmax(0,1fr) !important;
    gap: 22px !important;
}

.latest-list .news-thumb,.latest-list .news-thumb.has-cover {
    width: 190px !important;
    height: 128px !important;
    border-radius: 13px !important;
    padding: 0 !important;
}

.latest-list .news-thumb.has-cover img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    background: #fff !important;
}

.latest-list .news-copy {
    padding-right: 10px;
}

@media (max-width:820px) {
    .home-featured-update {
        padding: 44px 0 10px;
    }
    .section-title-row h2 {
        font-size: 28px;
    }
    .news-lead-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }
    .lead-media {
        min-height: 260px;
        height: 260px;
    }
    .lead-copy {
        padding: 26px;
    }
    .lead-copy h3 {
        font-size: 24px;
    }
    .latest-list .news-item.row {
        grid-template-columns: 145px minmax(0,1fr) !important;
        gap: 16px !important;
    }
    .latest-list .news-thumb,.latest-list .news-thumb.has-cover {
        width: 145px !important;
        height: 108px !important;
    }
}

@media (max-width:560px) {
    .section-title-row {
        align-items: flex-start;
        flex-direction: column;
    }
    .lead-media {
        height: 220px;
        min-height: 220px;
    }
    .lead-copy {
        padding: 22px;
    }
    .lead-copy h3 {
        font-size: 21px;
    }
    .latest-list .news-item.row {
        grid-template-columns: 1fr !important;
    }
    .latest-list .news-thumb,.latest-list .news-thumb.has-cover {
        width: 100% !important;
        height: 180px !important;
    }
}

/* 2026-08-15 — compact editorial Latest Updates: intrinsic image ratio, no artificial media whitespace */

@media (min-width:821px) {
    .news-lead-card {
        grid-template-columns: 270px minmax(0,1fr) !important;
        min-height: 0 !important;
        align-items: center !important;
    }
    .lead-media,.lead-media.has-cover {
        min-height: 0 !important;
        height: auto !important;
        align-self: stretch !important;
        background: transparent !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    .lead-media.has-cover img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        max-height: 320px !important;
        object-fit: contain !important;
        background: transparent !important;
        display: block !important;
    }
    .lead-media:not(.has-cover) {
        min-height: 190px !important;
    }
    .lead-copy {
        padding: 24px 30px !important;
    }
    .lead-copy h3 {
        font-size: 25px !important;
        margin: 8px 0 8px !important;
    }
    .lead-copy p {
        -webkit-line-clamp: 4 !important;
        margin-bottom: 12px !important;
    }
    .lead-badge {
        top: 12px !important;
        left: 12px !important;
    }
    .latest-list .news-item.row {
        grid-template-columns: 175px minmax(0,1fr) !important;
        gap: 20px !important;
        padding: 12px !important;
        align-items: center !important;
    }
    .latest-list .news-thumb,.latest-list .news-thumb.has-cover {
        width: 175px !important;
        height: auto !important;
        min-height: 0 !important;
        align-self: center !important;
        background: transparent !important;
        overflow: hidden !important;
    }
    .latest-list .news-thumb.has-cover img {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        max-height: 150px !important;
        object-fit: contain !important;
        background: transparent !important;
        display: block !important;
    }
    .latest-list .news-thumb:not(.has-cover) {
        height: 112px !important;
        min-height: 112px !important;
    }
}

@media (max-width:820px) and (min-width:561px) {
    .news-lead-card {
        grid-template-columns: 210px minmax(0,1fr) !important;
        align-items: center !important;
    }
    .lead-media,.lead-media.has-cover {
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
    }
    .lead-media.has-cover img {
        width: 100% !important;
        height: auto !important;
        max-height: 260px !important;
        object-fit: contain !important;
        background: transparent !important;
    }
    .lead-media:not(.has-cover) {
        min-height: 160px !important;
    }
    .latest-list .news-thumb,.latest-list .news-thumb.has-cover {
        height: auto !important;
        background: transparent !important;
    }
    .latest-list .news-thumb.has-cover img {
        height: auto !important;
        max-height: 125px !important;
        object-fit: contain !important;
        background: transparent !important;
    }
}

/* Refined hero navigation — keep controls available without visual side bubbles */

.hero-arrow {
    width: 44px !important;
    height: 56px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: transparent !important;
    box-shadow: none !important;
    color: rgba(255,255,255,.92) !important;
    font-size: 34px !important;
    font-weight: 300 !important;
    opacity: 0 !important;
    transition: opacity .2s ease, background .2s ease, transform .2s ease !important;
}

.hero-arrow.prev {
    left: 18px !important;
}

.hero-arrow.next {
    right: 18px !important;
}

.hero-slider:hover .hero-arrow,
.hero-arrow:focus-visible {
    opacity: .72 !important;
}

.hero-arrow:hover {
    opacity: 1 !important;
    background: rgba(0,0,0,.10) !important;
}

.hero-arrow:focus-visible {
    outline: 2px solid rgba(255,255,255,.9) !important;
    outline-offset: 2px !important;
}

@media (hover:none), (max-width:760px) {
    .hero-arrow {
        opacity: .42 !important;
        width: 36px !important;
        height: 48px !important;
        font-size: 29px !important;
    }
    .hero-arrow.prev {
        left: 5px !important;
    }
    .hero-arrow.next {
        right: 5px !important;
    }
}

/* Edge-chevron hero navigation — clickable, minimal, no floating bubble */

.hero-arrow {
    width: 58px !important;
    height: 96px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: transparent !important;
    font-size: 0 !important;
    opacity: .28 !important;
    cursor: pointer !important;
    display: grid !important;
    place-items: center !important;
    transition: opacity .2s ease, background .2s ease !important;
}

.hero-arrow.prev {
    left: 0 !important;
}

.hero-arrow.next {
    right: 0 !important;
}

.hero-arrow::before {
    content: "";
    width: 16px;
    height: 16px;
    border-top: 2px solid rgba(255,255,255,.98);
    border-right: 2px solid rgba(255,255,255,.98);
    filter: drop-shadow(0 1px 2px rgba(0,0,0,.28));
}

.hero-arrow.prev::before {
    transform: rotate(-135deg);
    margin-left: 9px;
}

.hero-arrow.next::before {
    transform: rotate(45deg);
    margin-right: 9px;
}

.hero-slider:hover .hero-arrow {
    opacity: .62 !important;
}

.hero-arrow:hover {
    opacity: 1 !important;
    background: linear-gradient(90deg,rgba(0,0,0,.20),rgba(0,0,0,0)) !important;
}

.hero-arrow.next:hover {
    background: linear-gradient(270deg,rgba(0,0,0,.20),rgba(0,0,0,0)) !important;
}

.hero-arrow:focus-visible {
    opacity: 1 !important;
    outline: 2px solid rgba(255,255,255,.9) !important;
    outline-offset: -8px !important;
}

@media (hover:none), (max-width:760px) {
    .hero-arrow {
        width: 48px !important;
        height: 88px !important;
        opacity: .58 !important;
    }
    .hero-arrow::before {
        width: 14px;
        height: 14px;
    }
}

/* Clean hero chevrons: no hover/focus highlight behind the arrows */

.hero-arrow,
.hero-arrow:hover,
.hero-arrow:active,
.hero-arrow:focus,
.hero-arrow:focus-visible {
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    opacity: 1 !important;
}

/* Final hero arrow balance: visible on both sides, inset from edges, no highlight */

.hero-arrow {
    opacity: .52 !important;
    width: 52px !important;
    height: 88px !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

.hero-arrow.prev {
    left: 18px !important;
}

.hero-arrow.next {
    right: 18px !important;
}

.hero-arrow::before {
    width: 15px !important;
    height: 15px !important;
    border-top: 2px solid rgba(255,255,255,.96) !important;
    border-right: 2px solid rgba(255,255,255,.96) !important;
}

.hero-arrow.prev::before {
    margin-left: 0 !important;
}

.hero-arrow.next::before {
    margin-right: 0 !important;
}

.hero-slider:hover .hero-arrow {
    opacity: .68 !important;
}

.hero-arrow:hover,
.hero-arrow:focus-visible {
    opacity: 1 !important;
    background: transparent !important;
    box-shadow: none !important;
    outline: none !important;
}

@media (hover:none), (max-width:760px) {
    .hero-arrow {
        opacity: .62 !important;
        width: 44px !important;
        height: 76px !important;
    }
    .hero-arrow.prev {
        left: 10px !important;
    }
    .hero-arrow.next {
        right: 10px !important;
    }
    .hero-arrow::before {
        width: 13px !important;
        height: 13px !important;
    }
}

/* Definitive hero-arrow state reset: remove all left/right hover highlights */

.hero-arrow.prev:hover,
.hero-arrow.next:hover,
.hero-arrow.prev:focus,
.hero-arrow.next:focus,
.hero-arrow.prev:focus-visible,
.hero-arrow.next:focus-visible,
.hero-arrow.prev:active,
.hero-arrow.next:active {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    outline: none !important;
    filter: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.hero-arrow {
    appearance: none !important;
    -webkit-appearance: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

/* Hero media options */

.hero-has-image {
    background-image: linear-gradient(rgba(8,45,31,.25),rgba(8,45,31,.25)),var(--hero-bg-image) !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.hero-has-image:after {
    background-color: rgba(3,37,25,.12);
}

.hero-media-panel {
    padding: 0 !important;
    overflow: hidden;
    min-height: 245px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.96);
}

.hero-media-panel img {
    width: 100%;
    height: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.hero-image-only {
    background: #0b3f2e !important;
    isolation: isolate;
}

.hero-image-only:after {
    display: none !important;
    background: none !important;
}

.hero-image-only__media {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.hero-image-only__missing {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    font-weight: 700;
    background: linear-gradient(115deg,#0f5137,#177a4d 58%,#24935d);
}

.hero-image-only__accessibility {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width:760px) {
    .hero-media-panel {
        min-height: 210px;
    }
    .hero-media-panel img {
        max-height: 240px;
    }
}

/* =========================================================
Homepage hero photo refinement
Full photo remains visible; white letterboxing is removed.
========================================================= */

.hero-panel.hero-media-panel {
    position: relative !important;
    padding: 0 !important;
    min-height: 0 !important;
    width: 100% !important;
    max-width: 600px !important;
    justify-self: end !important;
    overflow: hidden !important;
    border-radius: 24px !important;
    background: #0d5b3d !important;
    box-shadow: 0 22px 50px rgba(0,0,0,.12) !important;
    isolation: isolate !important;
}

/* Same photo softly fills the unused aspect-ratio space.
The foreground photo itself is never cropped. */

.hero-panel.hero-media-panel::before {
    content: "" !important;
    position: absolute !important;
    inset: -24px !important;
    z-index: 0 !important;
    background-image: var(--hero-media-image) !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    filter: blur(18px) brightness(.72) saturate(.9) !important;
    transform: scale(1.09) !important;
    opacity: .62 !important;
}

.hero-panel.hero-media-panel::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(90deg,rgba(8,69,46,.22),rgba(8,69,46,.04),rgba(8,69,46,.22)) !important;
    pointer-events: none !important;
}

.hero-panel.hero-media-panel img {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: 360px !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    background: transparent !important;
}

/* Give the visual a little more room without squeezing the hero copy. */

@media (min-width:981px) {
    .hero-grid {
        grid-template-columns: minmax(0,1.03fr) minmax(500px,.97fr) !important;
        gap: 58px !important;
    }
}

@media (min-width:1250px) {
    .hero-panel.hero-media-panel {
        max-width: 620px !important;
    }
    .hero-panel.hero-media-panel img {
        height: 370px !important;
    }
}

@media (max-width:980px) {
    .hero-panel.hero-media-panel img {
        height: 300px !important;
    }
}

/* =========================================================
HERO UPLOADED IMAGE — FULL BLEED COVER
Edge-to-edge image, no white gutters, no blurred filler.
========================================================= */

.hero-panel.hero-media-panel {
    position: relative !important;
    width: 100% !important;
    max-width: 650px !important;
    height: 380px !important;
    min-height: 380px !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-self: end !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 24px !important;
    background: transparent !important;
    box-shadow: 0 20px 46px rgba(0,0,0,.14) !important;
}

/* Remove the previous filler/backdrop treatment completely. */

.hero-panel.hero-media-panel::before,
.hero-panel.hero-media-panel::after {
    content: none !important;
    display: none !important;
    background: none !important;
    filter: none !important;
    opacity: 0 !important;
}

/* The uploaded picture fills the entire visual frame.
object-fit: cover removes all letterboxing/white space. */

.hero-panel.hero-media-panel img {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Give image-based slides a strong, balanced visual column. */

@media (min-width:981px) {
    .hero-grid {
        grid-template-columns: minmax(0,1.02fr) minmax(520px,.98fr) !important;
        gap: 56px !important;
    }
}

@media (min-width:1400px) {
    .hero-panel.hero-media-panel {
        max-width: 680px !important;
        height: 400px !important;
        min-height: 400px !important;
    }
}

@media (max-width:1200px) and (min-width:981px) {
    .hero-panel.hero-media-panel {
        max-width: 560px !important;
        height: 340px !important;
        min-height: 340px !important;
    }
}

/* Image-only hero reliability patch: the saved banner is a real media element,
so it renders consistently regardless of theme/background CSS. */

@media (max-width:760px) {
    .hero-image-only__media {
        object-position: center center;
    }
}

/* =========================================================
HERO FEATURE BACKDROP — text + right-side card over photo
Standard slides can use the same uploaded hero background
as a full-width backdrop, matching the editorial hero style.
========================================================= */

.hero-has-image {
    background-image: linear-gradient(90deg,rgba(7,45,31,.84) 0%,rgba(7,45,31,.75) 38%,rgba(7,45,31,.50) 66%,rgba(7,45,31,.30) 100%),
    var(--hero-bg-image) !important;
    background-size: cover !important;
    background-position: var(--hero-bg-x,50%) var(--hero-bg-y,50%) !important;
    background-repeat: no-repeat !important;
}

.hero-has-image:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg,rgba(4,33,23,.06),rgba(4,33,23,.16));
}

.hero-has-image:after {
    z-index: 1 !important;
    background-color: transparent !important;
    opacity: .72;
}

.hero-has-image .hero-grid {
    z-index: 2 !important;
}

.hero-has-image .hero-copy {
    max-width: 700px !important;
    text-shadow: 0 2px 18px rgba(0,0,0,.12);
}

.hero-has-image .eyebrow {
    color: #dff5e9 !important;
}

.hero-has-image .hero-copy p {
    color: rgba(255,255,255,.90) !important;
}

.hero-has-image .btn-light {
    box-shadow: 0 8px 24px rgba(0,0,0,.12) !important;
}

.hero-has-image .btn-outline {
    background: rgba(8,48,34,.18) !important;
    border-color: rgba(255,255,255,.55) !important;
    backdrop-filter: blur(7px);
}

/* When the right-side item is an uploaded visual, present it as a
premium poster/card rather than a cropped full-bleed rectangle. */

.hero-has-image .hero-panel.hero-media-panel {
    position: relative !important;
    width: 100% !important;
    max-width: 660px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    align-self: center !important;
    justify-self: end !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.hero-has-image .hero-panel.hero-media-panel img {
    position: relative !important;
    inset: auto !important;
    z-index: 2 !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 395px !important;
    object-fit: contain !important;
    object-position: center !important;
    border: 0 !important;
    border-radius: 18px !important;
    background: transparent !important;
    box-shadow: 0 24px 58px rgba(0,0,0,.22) !important;
}

@media (min-width:981px) {
    .hero-has-image .hero-grid {
        grid-template-columns: minmax(0,1.05fr) minmax(500px,.95fr) !important;
        gap: 62px !important;
    }
}

@media (max-width:1200px) and (min-width:981px) {
    .hero-has-image .hero-panel.hero-media-panel {
        max-width: 560px !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
    }
    .hero-has-image .hero-panel.hero-media-panel img {
        max-height: 340px !important;
    }
}

@media (max-width:980px) {
    .hero-has-image .hero-copy {
        text-align: center !important;
        margin-inline: auto !important;
    }
    .hero-has-image .hero-actions {
        justify-content: center !important;
    }
}

/* HERO NO RIGHT-SIDE CONTENT — V8
Standard slides can intentionally omit the right-side card/visual. */

@media (min-width:981px) {
    .hero-slide.hero-no-panel .hero-grid {
        grid-template-columns: minmax(0,780px) !important;
        justify-content: start !important;
        gap: 0 !important;
    }
    .hero-slide.hero-no-panel .hero-copy {
        max-width: 780px !important;
    }
}

.hero-slide.hero-no-panel .hero-panel {
    display: none !important;
}

/* =========================================================
HERO THEME PALETTE — V11
One base-color palette. "None" uses a neutral treatment so
photos keep their natural color while text remains readable.
========================================================= */

.hero-none {
    --hero-overlay-rgb: 24,28,30;
    background: linear-gradient(115deg,#202628,#30383b 58%,#465054) !important;
}

.hero-green {
    --hero-overlay-rgb: 7,45,31;
    background: linear-gradient(115deg,#0f5137,#177a4d 58%,#24935d) !important;
}

.hero-blue {
    --hero-overlay-rgb: 16,57,78;
    background: linear-gradient(115deg,#153b56,#0e5b42 55%,#147c4d) !important;
}

.hero-forest {
    --hero-overlay-rgb: 11,61,46;
    background: linear-gradient(115deg,#0b3d2e,#145c43 56%,#1e7d58) !important;
}

.hero-emerald {
    --hero-overlay-rgb: 6,78,59;
    background: linear-gradient(115deg,#064e3b,#059669 58%,#34b981) !important;
}

.hero-teal {
    --hero-overlay-rgb: 15,76,76;
    background: linear-gradient(115deg,#0f4c4c,#0f766e 58%,#14a89e) !important;
}

.hero-navy {
    --hero-overlay-rgb: 16,42,67;
    background: linear-gradient(115deg,#102a43,#174a7e 58%,#1d5f93) !important;
}

.hero-sky {
    --hero-overlay-rgb: 12,74,110;
    background: linear-gradient(115deg,#0c4a6e,#0369a1 58%,#0b8fd2) !important;
}

.hero-purple {
    --hero-overlay-rgb: 59,37,107;
    background: linear-gradient(115deg,#3b256b,#6d3d9b 58%,#8b5cf6) !important;
}

.hero-maroon {
    --hero-overlay-rgb: 90,25,49;
    background: linear-gradient(115deg,#5a1931,#7a2446 58%,#a33a61) !important;
}

.hero-red {
    --hero-overlay-rgb: 127,29,29;
    background: linear-gradient(115deg,#7f1d1d,#b91c1c 58%,#dc3a3a) !important;
}

.hero-orange {
    --hero-overlay-rgb: 124,45,18;
    background: linear-gradient(115deg,#7c2d12,#c2410c 58%,#e76617) !important;
}

.hero-gold {
    --hero-overlay-rgb: 92,71,0;
    background: linear-gradient(115deg,#5c4700,#8a6b00 58%,#b88900) !important;
}

.hero-slate {
    --hero-overlay-rgb: 31,41,55;
    background: linear-gradient(115deg,#1f2937,#334155 58%,#475569) !important;
}

.hero-has-image {
    background-image: linear-gradient(90deg,
    rgba(var(--hero-overlay-rgb,7,45,31),.88) 0%,
    rgba(var(--hero-overlay-rgb,7,45,31),.78) 38%,
    rgba(var(--hero-overlay-rgb,7,45,31),.52) 66%,
    rgba(var(--hero-overlay-rgb,7,45,31),.30) 100%),
    var(--hero-bg-image) !important;
}

.hero-has-image:before {
    background: linear-gradient(180deg,rgba(var(--hero-overlay-rgb,7,45,31),.05),rgba(0,0,0,.17)) !important;
}

.hero-has-image .btn-outline {
    background: rgba(var(--hero-overlay-rgb,7,45,31),.24) !important;
}

/* =========================================================
HERO BACKDROP CROP SYNC — V10
The public hero uses the same real-image rendering model as the
admin drag editor. This prevents a saved focal point from showing
a different crop on the live website because of CSS background
positioning or older object-position overrides.
========================================================= */

.hero-slide.hero-has-image {
    position: absolute !important;
    isolation: isolate !important;
    overflow: hidden !important;
    background: rgb(var(--hero-overlay-rgb,7,45,31)) !important;
}

.hero-slide.hero-has-image>.hero-backdrop-media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0 !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: var(--hero-bg-x,50%) var(--hero-bg-y,50%) !important;
    user-select: none !important;
    pointer-events: none !important;
}

.hero-slide.hero-has-image:before {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: block !important;
    pointer-events: none !important;
    opacity: 1 !important;
    background: linear-gradient(90deg,
    rgba(var(--hero-overlay-rgb,7,45,31),.88) 0%,
    rgba(var(--hero-overlay-rgb,7,45,31),.78) 38%,
    rgba(var(--hero-overlay-rgb,7,45,31),.52) 66%,
    rgba(var(--hero-overlay-rgb,7,45,31),.30) 100%) !important;
}

.hero-slide.hero-has-image:after {
    z-index: 1 !important;
    opacity: .72 !important;
    background-image: linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px) !important;
    background-size: 54px 54px !important;
}

.hero-slide.hero-has-image .hero-grid {
    position: relative !important;
    z-index: 2 !important;
}

/* Image Only uses the same saved focal-point variables. This rule is
deliberately last and !important because older refinement blocks set
object-position:center!important. */

.hero-slide.hero-image-only .hero-image-only__media {
    object-position: var(--hero-bg-x,50%) var(--hero-bg-y,50%) !important;
}

@media (max-width:760px) {
    .hero-slide.hero-has-image>.hero-backdrop-media,
    .hero-slide.hero-image-only .hero-image-only__media {
        object-position: var(--hero-bg-x,50%) var(--hero-bg-y,50%) !important;
    }
}

/* =========================================================
HERO RIGHT-SIDE CONTENT — V11
Admin choices are intentionally simplified to Card / None / Image.
Legacy service-card values are rendered as the same generic card.
========================================================= */

.hero-generic-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
}

.hero-generic-card .panel-head {
    margin-bottom: 18px;
}

.hero-generic-card h3 {
    margin-top: 0;
}

.hero-generic-card>p {
    font-size: 11px;
    line-height: 1.55;
}

/* =========================================================
HERO THEME NONE + CLEAN CANVAS — V12
"None" removes all hue/color tinting from photo-backed heroes.
A neutral black readability scrim remains so white copy stays legible.
Decorative grid lines are removed from every public hero slide.
========================================================= */

.hero-slide:after,
.hero-slide.hero-has-image:after {
    content: none !important;
    display: none !important;
    background: none !important;
    background-image: none !important;
    opacity: 0 !important;
}

.hero-none {
    --hero-overlay-rgb: 0,0,0 !important;
    --green: #4b5563;
    --green-dark: #374151;
    background: #202326 !important;
}

.hero-slide.hero-none.hero-has-image {
    background: #111 !important;
}

.hero-slide.hero-none.hero-has-image:before {
    background: linear-gradient(90deg,
    rgba(0,0,0,.60) 0%,
    rgba(0,0,0,.46) 38%,
    rgba(0,0,0,.20) 68%,
    rgba(0,0,0,.05) 100%) !important;
}

.hero-none .eyebrow {
    color: #fff !important;
}

.hero-none .btn-light {
    color: #20252a !important;
}

.hero-none.hero-has-image .btn-outline {
    background: rgba(0,0,0,.16) !important;
}

.hero-promotion-source {
    display: inline-flex;
    align-items: center;
    width: max-content;
    margin-bottom: 8px;
    padding: 5px 8px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 999px;
    background: rgba(0,0,0,.16);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
    backdrop-filter: blur(4px);
}


/* 2026-09-03 — USC Home video-only publication thumbnails.
Match News & Updates media behavior without changing the Home card layout. */
.news-thumb.has-video,
.lead-media.has-video {
    padding: 0 !important;
    background: #0b1511 !important;
    overflow: hidden !important;
}

.news-thumb.has-video::after {
    display: none !important;
}

.home-video-preview {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #0b1511;
    color: #fff;
    text-decoration: none;
}

.home-video-preview video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    background: #0b1511;
}

.home-video-play {
    position: absolute !important;
    z-index: 3 !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    padding: 0 0 0 2px !important;
    border-radius: 50% !important;
    background: rgba(7, 41, 28, .82) !important;
    color: #fff !important;
    font-size: 15px !important;
    line-height: 1 !important;
    box-shadow: 0 7px 22px rgba(0,0,0,.22) !important;
    backdrop-filter: blur(5px);
}

.home-video-chip {
    position: absolute !important;
    z-index: 3 !important;
    left: 10px !important;
    bottom: 10px !important;
    padding: 5px 8px !important;
    border-radius: 999px !important;
    background: rgba(7, 69, 45, .9) !important;
    color: #fff !important;
    font-size: 8px !important;
    font-weight: 900 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

.lead-media.has-video .home-video-play {
    width: 52px !important;
    height: 52px !important;
    font-size: 18px !important;
}

.lead-media.has-video .home-video-chip {
    left: 14px !important;
    bottom: 14px !important;
}

@media (min-width: 821px) {
    .latest-list .news-thumb.has-video {
        height: 112px !important;
        min-height: 112px !important;
    }
}

@media (max-width: 820px) and (min-width: 561px) {
    .latest-list .news-thumb.has-video {
        height: 108px !important;
        min-height: 108px !important;
    }
}

@media (max-width: 560px) {
    .latest-list .news-thumb.has-video {
        height: 180px !important;
        min-height: 180px !important;
    }
}

/* ===== 2026-09-03 Latest Update lead-card media correction =====
Keep the automatic lead story compact even when its only media is a portrait
video. The lead media uses a stable editorial stage instead of inheriting the
video's natural height and stretching the entire homepage card. */
.latest-dynamic-lead {
    min-height: 0 !important;
    align-items: center !important;
}

.latest-dynamic-lead .lead-media,
.latest-dynamic-lead .lead-media.has-cover,
.latest-dynamic-lead .lead-media.has-video {
    position: relative !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    align-self: center !important;
    overflow: hidden !important;
    background: #eef4f0 !important;
}

.latest-dynamic-lead .lead-media.has-cover img,
.latest-dynamic-lead .home-video-preview,
.latest-dynamic-lead .home-video-preview video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
}

.latest-dynamic-lead .lead-media.has-cover img {
    object-fit: contain !important;
    background: #f7faf8 !important;
}

.latest-dynamic-lead .home-video-preview video {
    object-fit: cover !important;
    background: #0b1511 !important;
}

.latest-dynamic-lead .home-video-preview.is-video-portrait video,
.latest-dynamic-lead .home-video-preview.is-video-square video {
    object-fit: contain !important;
}

@media (min-width: 821px) {
    .latest-dynamic-lead {
        grid-template-columns: clamp(310px, 31%, 390px) minmax(0, 1fr) !important;
    }
    .latest-dynamic-lead .lead-copy {
        padding: 28px 34px !important;
    }
    .latest-dynamic-lead .lead-copy h3 {
        font-size: clamp(22px, 2vw, 28px) !important;
        margin-top: 8px !important;
    }
}

@media (max-width: 820px) and (min-width: 561px) {
    .latest-dynamic-lead {
        grid-template-columns: minmax(220px, 38%) minmax(0, 1fr) !important;
    }
    .latest-dynamic-lead .lead-copy {
        padding: 22px 24px !important;
    }
}

@media (max-width: 560px) {
    .latest-dynamic-lead {
        grid-template-columns: 1fr !important;
    }
    .latest-dynamic-lead .lead-copy {
        padding: 20px !important;
    }
}

/* =========================================================
2026-09-03 — Hide hero side card on tablet/mobile
Keep the primary hero message/actions visible, but remove the large
right-side informational card below desktop width so the hero stays
compact on tablets and phones.
========================================================= */
@media (max-width: 980px) {
    .hero-slide:not(.hero-image-only) .hero-panel.hero-generic-card {
        display: none !important;
    }

    .hero-slide:not(.hero-image-only) .hero-grid {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 0 !important;
    }

    .hero-slide:not(.hero-image-only) .hero-copy {
        width: 100% !important;
        max-width: 760px !important;
        margin-inline: auto !important;
    }
}
