.state-hero, .page-hero, .hero-slideshow {
    position: relative !important;
    isolation: isolate;
    min-height: min(72vh, 680px);
    overflow: hidden !important;
    color: #f6e7b2;
    background: #04150e;
    width: 100%;
    max-width: 100vw;
}
.state-hero__slides,
.state-hero__slide,
.map-slides,
.map-slide {
    position: absolute !important;
    inset: 0 !important;
}
.state-hero__slide,
.map-slide {
    opacity: 0;
    transition: opacity 1s ease;
    z-index: 0;
}
.state-hero__slide.is-active,
.map-slide.is-active {
    opacity: 1;
    z-index: 1;
}
.state-hero__slide img,
.map-slide img,
.page-hero img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: center !important;
}
.state-hero__overlay,
.hero-overlay {
    position: relative;
    z-index: 2;
    min-height: min(72vh, 680px);
    display: flex;
    align-items: flex-end;
    padding: 4rem 0 3rem;
    width: 100%;
    box-sizing: border-box;
    background:
        linear-gradient(90deg, rgba(2,16,10,0.78) 0%, rgba(2,16,10,0.42) 52%, rgba(2,16,10,0.22) 100%),
        linear-gradient(180deg, rgba(1,50,32,0.1) 0%, rgba(2,12,8,0.88) 100%);
}
.state-hero__copy,
.hero-copy {
    max-width: 40rem;
    position: relative;
    z-index: 3;
}
.state-hero__copy h1,
.hero-copy h1 {
    color: #f6e7b2;
    max-width: 16ch;
    overflow-wrap: anywhere;
}
.state-hero__nav {
    position: absolute;
    z-index: 4;
    right: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    gap: 0.45rem;
    align-items: center;
}
.state-hero__nav button {
    width: 2.4rem;
    height: 2.4rem;
    border: 0;
    border-radius: 999px;
    background: rgba(246,231,178,0.18);
    color: #f6e7b2;
    cursor: pointer;
}
.state-hero__dots { display: flex; gap: 0.35rem; margin-right: 0.35rem; }
.state-hero__dots button {
    width: 0.55rem;
    height: 0.55rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(246,231,178,0.35);
    cursor: pointer;
}
.state-hero__dots button.is-active { background: #D4AF37; width: 1.15rem; }
.page-hero--article,
.page-hero--article .state-hero__overlay { min-height: min(58vh, 520px); }

.journal-theme-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.journal-theme-card {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    border-radius: 18px;
    color: #f6e7b2;
    text-decoration: none;
    isolation: isolate;
}
.journal-theme-card img {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.55s ease;
}
.journal-theme-card:hover img { transform: scale(1.05); }
.journal-theme-card__copy {
    position: relative;
    z-index: 1;
    height: 100%;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    background: linear-gradient(180deg, rgba(2,12,8,0.05) 20%, rgba(2,12,8,0.82) 100%);
}
.journal-theme-card h3 { color: #f6e7b2; margin-top: 0.35rem; }
.journal-theme-card p { color: rgba(246,231,178,0.9); margin-top: 0.35rem; max-width: 36ch; }

.journal-article-card__media {
    display: block;
    margin: -0.15rem -0.15rem 0.85rem;
    border-radius: 14px;
    overflow: hidden;
}
.journal-article-card__media img {
    display: block;
    width: 100%;
    height: clamp(170px, 22vw, 230px);
    object-fit: cover;
}

.journal-platform-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.journal-platform-card {
    display: grid;
    grid-template-columns: 0.95fr 1.15fr;
    gap: 0.9rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 0.7rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.55);
    border: 1px solid rgba(28, 52, 38, 0.08);
    overflow: hidden;
}
.journal-platform-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 14px;
}

.home-media-card { overflow: hidden; }
.home-media-card__img {
    display: block;
    width: calc(100% + 2.4rem);
    max-width: none;
    margin: -1.2rem -1.2rem 1rem;
    height: 180px;
    object-fit: cover;
}
.home-zone-card { overflow: hidden; padding: 0; }
.home-zone-card > img {
    display: block;
    width: 100%;
    height: 140px;
    object-fit: cover;
}
.home-zone-card__body { padding: 1rem 1.1rem 1.15rem; }
.home-journal-list { display: grid; gap: 0.75rem; }
.home-journal-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
}
.home-journal-row img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 12px;
}

@media (max-width: 860px) {
    .journal-theme-grid,
    .journal-platform-grid { grid-template-columns: 1fr; }
    .journal-platform-card { grid-template-columns: 1fr; }
    .journal-platform-card img { height: 180px; }
    .state-hero, .page-hero, .hero-slideshow,
    .state-hero__overlay, .hero-overlay { min-height: min(62vh, 560px); }
}

/* media strips / cards — keep large photos inside layout */
.media-strip img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: clamp(160px, 22vw, 260px) !important;
    object-fit: cover !important;
}
.soft-card img,
.product-card img,
.highlight-card img {
    max-width: 100%;
    height: auto;
}
img {
    max-width: 100%;
}
.state-hero img,
.page-hero img,
.map-slide img,
.journal-theme-card img,
.hero-slideshow img {
    max-width: none; /* allow cover fill inside absolute frames */
}
