/* Site.Master hero: span the viewport while the main content keeps its gutters. */
.main-slider.site-hero {
    width: calc(100% + 30px);
    max-width: none;
    margin: 0 -15px 40px;
    padding: 0;
    background: var(--green-dark);
    border-bottom: 4px solid var(--gold);
    --hero-height: clamp(340px, 42vw, 620px);
}
.site-hero .flexslider { position: relative; margin: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--green-dark); overflow: hidden; }
.site-hero .slides { margin: 0; padding: 0; list-style: none; }
.site-hero .slides > li { display: none; position: relative; height: var(--hero-height); overflow: hidden; }
.site-hero .slides > li:first-child { display: block; }
.site-hero .slides > li::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.1) 70%, transparent); pointer-events: none; z-index: 1; }
.site-hero .flexslider .slides img { display: block; width: 100%; height: var(--hero-height); object-fit: cover; object-position: center; border-radius: 0; }
.site-hero .slider-caption {
    position: absolute;
    left: max(28px, calc((100% - 1344px) / 2));
    right: 28px;
    bottom: clamp(32px, 5vw, 72px);
    transform: none;
    max-width: 900px;
    padding: 0;
    margin: 0;
    background: none;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    text-align: left;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
    z-index: 2;
}
.site-hero .slider-caption h1, .site-hero .slider-caption h2, .site-hero .slider-caption p { margin: 0; color: inherit; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: clamp(32px, 4.5vw, 64px); line-height: 1.12; overflow-wrap: break-word; }
.site-hero .slider-caption a { color: inherit; }
.site-hero .flex-control-nav { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.site-hero .flex-control-nav li { margin: 0; }
.site-hero .flex-control-paging a { display: block; width: 28px; height: 28px; position: relative; overflow: hidden; text-indent: -9999px; cursor: pointer; }
.site-hero .flex-control-paging a::after { content: ''; display: block; position: absolute; top: 9px; left: 4px; width: 20px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.5); }
.site-hero .flex-control-paging a.flex-active::after { background: #fff; }
.site-hero .flex-control-paging a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; border-radius: 4px; }
/* A page with an intentionally empty slide placeholder should have no hero gap. */
.site-hero:not(:has(.slides > li)) { display: none; }
@media (max-width: 767px) {
    .main-slider.site-hero { --hero-height: clamp(280px, 70vw, 400px); margin-bottom: 28px; }
    .site-hero .slider-caption { left: 20px; right: 20px; bottom: 36px; }
    .site-hero .slider-caption h1, .site-hero .slider-caption h2, .site-hero .slider-caption p { font-size: clamp(30px, 6vw, 42px); }
}

/* Shared hero text, used by every Site.Master page. */
.site-hero .updates-hero .slider-caption { max-width: 1000px; }
.site-hero .updates-hero-eyebrow { display: block; margin-bottom: 14px; font-family: 'Inter', system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.site-hero .updates-hero .updates-hero-description { max-width: 640px; margin: 18px 0 0; font-family: 'Inter', system-ui, sans-serif; font-size: clamp(16px, 1.5vw, 20px); font-weight: 400; line-height: 1.6; }
@media (max-width: 767px) {
    .site-hero .updates-hero-eyebrow { font-size: 10px; margin-bottom: 10px; }
    .site-hero .updates-hero .updates-hero-description { margin-top: 12px; font-size: 15px; line-height: 1.5; }
    .site-hero .updates-hero .slider-caption { bottom: 28px; }
}
