:root {
    --green: #147a5b;
    --gold: #f2b84b;
    --ink: #13231f;
    --muted: #66736f;
    --soft: #f4faf7;
    --line: #dbe8e2
}

* {
    box-sizing: border-box
}

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

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

input,
textarea,
select,
button {
    font: inherit;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 10px 12px
}

textarea {
    min-height: 110px
}

button,
.button {
    background: var(--green);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer
}

.auth-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--soft), #fff5df)
}

.login-card {
    width: min(420px, 92vw);
    background: #fff;
    padding: 32px;
    border-radius: 28px;
    box-shadow: 0 20px 60px #147a5b22
}

.login-card form,
.form-grid {
    display: grid;
    gap: 16px
}

.alert {
    padding: 12px;
    background: #fff0f0;
    color: #9c2424;
    border-radius: 14px
}

.admin-shell {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh
}

.sidebar {
    background: var(--ink);
    color: #fff;
    padding: 28px
}

.sidebar strong {
    display: block;
    margin-bottom: 28px;
    font-size: 22px
}

.sidebar nav {
    display: grid;
    gap: 8px
}

.sidebar a {
    padding: 12px 14px;
    border-radius: 14px;
    color: #e8f7f1
}

.sidebar a:hover {
    background: #ffffff14
}

.admin-main {
    padding: 34px;
    background: #f8fbfa
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.stats div,
table,
.media-grid article,
.public-section article,
.page-list a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 20px
}

.stats strong {
    font-size: 36px;
    display: block;
    color: var(--green)
}

.stats span {
    color: var(--muted)
}

.page-title {
    display: flex;
    justify-content: space-between;
    align-items: center
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 16px
}

th,
td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line)
}

tr:last-child td {
    border-bottom: 0
}

.actions {
    display: flex;
    gap: 10px;
    align-items: center
}

.form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px
}

.form-grid label {
    display: grid;
    gap: 8px
}

.wide {
    grid-column: 1/-1
}

.upload-form,
.inline-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px
}

.media-grid img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border-radius: 16px
}

.media-grid strong,
.media-grid small {
    display: block;
    margin-top: 8px;
    word-break: break-word
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 6vw;
    background: #ffffffdd;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.brand {
    font-weight: 800;
    color: var(--green)
}

.site-header nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap
}

.hero {
    min-height: 520px;
    display: grid;
    align-items: center;
    padding: 70px 6vw;
    background: radial-gradient(circle at 82% 18%, #f2b84b55, transparent 28%), linear-gradient(135deg, #eaf8f2, #fff)
}

.hero div {
    max-width: 720px
}

.hero h1 {
    font-size: clamp(42px, 7vw, 82px);
    line-height: .95;
    margin: 10px 0
}

.hero p {
    font-size: 20px;
    color: var(--muted);
    max-width: 620px
}

.eyebrow {
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 800;
    font-size: 12px
}

.public-section {
    padding: 58px 6vw
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.cards span {
    color: var(--gold);
    font-weight: 900
}

.page-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px
}

.page-list span {
    display: block;
    color: var(--muted);
    margin-top: 8px
}

.page-content {
    max-width: 900px;
    margin: auto
}

.page-content h1 {
    font-size: 44px
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 28px 6vw;
    background: var(--ink);
    color: #fff
}

@media(max-width:760px) {
    .admin-shell {
        grid-template-columns: 1fr
    }

    .sidebar {
        position: relative
    }

    .form-grid,
    .cards {
        grid-template-columns: 1fr
    }

    .site-header {
        align-items: flex-start;
        gap: 12px;
        flex-direction: column
    }

    .hero {
        min-height: 420px
    }
}

.alert.success {
    background: #eefaf4;
    color: #147a5b;
    margin: 14px 0
}

.forbidden {
    padding: 24px;
    background: #fff;
    border-radius: 18px
}

/* Portal public redesign */
.public-body {
    background: #f7fbf8
}

.topbar {
    display: flex;
    justify-content: flex-end;
    gap: 22px;
    padding: 9px 6vw;
    background: #0d3b2f;
    color: #dff5ec;
    font-size: 13px
}

.topbar a {
    color: #fff
}

.portal-header {
    padding: 14px 6vw;
    background: #fffffff2
}

.portal-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.portal-brand span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green), #1fa77a);
    color: #fff;
    font-weight: 900
}

.portal-brand strong {
    display: block;
    color: var(--ink)
}

.main-nav {
    align-items: center
}

.main-nav a {
    font-weight: 700;
    color: #29443b
}

.main-nav .nav-cta {
    background: var(--gold);
    color: #4a3100;
    padding: 10px 16px;
    border-radius: 999px
}

.portal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: 34px;
    align-items: center;
    padding: 78px 6vw 52px;
    background: radial-gradient(circle at 78% 16%, #f2b84b66, transparent 25%), linear-gradient(135deg, #ecfbf5 0%, #fff7df 100%);
    position: relative;
    overflow: hidden
}

.portal-hero:after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 430px;
    height: 430px;
    border-radius: 50%;
    background: #147a5b18
}

.hero-copy {
    position: relative;
    z-index: 1
}

.hero-copy h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    margin: 12px 0 18px;
    letter-spacing: -.04em
}

.hero-copy p {
    font-size: 20px;
    line-height: 1.7;
    color: #52635e;
    max-width: 720px
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px
}

.button.ghost {
    background: #fff;
    color: var(--green);
    border: 1px solid #b8dccc
}

.hero-panel {
    position: relative;
    z-index: 1;
    background: #ffffffd9;
    border: 1px solid #d7eadf;
    border-radius: 34px;
    padding: 24px;
    box-shadow: 0 30px 80px #147a5b22;
    display: grid;
    gap: 14px
}

.hero-badge {
    background: #123c31;
    color: #fff;
    border-radius: 18px;
    padding: 18px;
    font-weight: 900;
    text-align: center
}

.hero-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 6px 14px;
    align-items: center;
    background: #f8fcfa;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px
}

.hero-card span {
    grid-row: span 2;
    font-size: 30px
}

.hero-card p {
    margin: 0;
    color: var(--muted)
}

.ticker {
    display: flex;
    gap: 18px;
    align-items: center;
    padding: 15px 6vw;
    background: #fff;
    border-block: 1px solid var(--line)
}

.ticker strong {
    background: var(--green);
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px
}

.ticker span {
    color: #5f716b
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding-top: 34px;
    padding-bottom: 34px
}

.stats-strip div {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 12px 36px #10251f0a
}

.stats-strip strong {
    display: block;
    font-size: 38px;
    color: var(--green)
}

.stats-strip span {
    color: var(--muted);
    font-weight: 700
}

.intro-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 34px;
    align-items: start;
    background: #fff
}

.intro-grid h2,
.news-section h2,
.media-band h2,
.cta-band h2 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
    margin: 8px 0 16px
}

.intro-grid p {
    color: var(--muted);
    line-height: 1.8
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px
}

.program-grid article {
    background: linear-gradient(180deg, #fff, #f6fbf8);
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px
}

.program-grid b {
    color: var(--gold)
}

.program-grid h3 {
    margin: 10px 0
}

.program-grid p {
    margin: 0
}

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

.section-head a {
    font-weight: 800;
    color: var(--green)
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px
}

.news-card {
    display: block;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 24px;
    min-height: 210px;
    transition: .2s
}

.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px #147a5b16
}

.news-card span {
    display: inline-flex;
    background: #e9f7f1;
    color: var(--green);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase
}

.news-card h3 {
    font-size: 24px
}

.news-card p {
    color: var(--muted);
    line-height: 1.7
}

.media-band {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 28px;
    align-items: center;
    background: #123c31;
    color: #fff
}

.media-band .eyebrow {
    color: #9ee6c7
}

.media-band p {
    color: #d8eee5
}

.video-placeholder {
    height: 250px;
    border-radius: 30px;
    background: linear-gradient(135deg, #1a6f56, #f2b84b);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 58px;
    box-shadow: inset 0 0 0 1px #ffffff33
}

.video-placeholder span {
    display: block;
    font-size: 16px;
    font-weight: 800
}

.cta-band {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    background: #fff7df
}

.cta-band p {
    color: var(--muted)
}

.portal-footer {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: start
}

.portal-footer div {
    display: grid;
    gap: 8px
}

.portal-footer p,
.portal-footer span,
.portal-footer a {
    color: #d7e8e1
}

.portal-page {
    background: #fff;
    border-radius: 34px;
    margin-top: 44px;
    margin-bottom: 44px
}

.portal-page .lead {
    font-size: 20px;
    color: var(--muted)
}

.rich-content {
    line-height: 1.85;
    color: #344941
}

.rich-content p,
.rich-content li {
    font-size: 18px
}

@media(max-width:900px) {

    .portal-hero,
    .intro-grid,
    .media-band {
        grid-template-columns: 1fr
    }

    .stats-strip,
    .news-grid,
    .program-grid,
    .portal-footer {
        grid-template-columns: 1fr 1fr
    }

    .topbar {
        justify-content: flex-start;
        flex-wrap: wrap
    }

    .section-head,
    .cta-band {
        align-items: flex-start;
        flex-direction: column
    }
}

@media(max-width:620px) {

    .stats-strip,
    .news-grid,
    .program-grid,
    .portal-footer {
        grid-template-columns: 1fr
    }

    .portal-hero {
        padding-top: 46px
    }

    .hero-copy h1 {
        font-size: 40px
    }

    .ticker {
        align-items: flex-start;
        flex-direction: column
    }

    .main-nav {
        gap: 10px
    }

    .main-nav a {
        font-size: 14px
    }
}

.homepage-form h2 {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--green)
}

.homepage-form input,
.homepage-form textarea {
    width: 100%
}

.button.ghost {
    background: #fff;
    color: var(--green);
    border: 1px solid #b8dccc
}

/* Gallery & video pro */
.gallery-hero {
    padding: 82px 6vw 58px;
    background: radial-gradient(circle at 18% 10%, #f2b84b66, transparent 24%), linear-gradient(135deg, #0f3d31, #16785d);
    color: #fff
}

.gallery-hero .eyebrow {
    color: #a9f1d2
}

.gallery-hero h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    margin: 12px 0;
    max-width: 920px
}

.gallery-hero p {
    font-size: 20px;
    line-height: 1.7;
    max-width: 760px;
    color: #def5ec
}

.gallery-filter {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 22px 6vw;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 75px;
    z-index: 4
}

.gallery-filter a {
    background: #eef8f3;
    color: #14634d;
    font-weight: 800;
    border-radius: 999px;
    padding: 10px 16px
}

.gallery-pro-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px
}

.gallery-pro-card {
    display: grid;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    overflow: hidden;
    min-height: 340px;
    box-shadow: 0 18px 50px #123c3110;
    transition: .22s
}

.gallery-pro-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 80px #123c3120
}

.gallery-pro-card.featured {
    grid-column: span 2;
    grid-row: span 2
}

.gallery-thumb {
    position: relative;
    min-height: 210px;
    background: linear-gradient(135deg, #147a5b, #f2b84b);
    display: grid;
    place-items: center;
    color: #fff;
    overflow: hidden
}

.gallery-pro-card.featured .gallery-thumb {
    min-height: 430px
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0
}

.gallery-thumb span {
    font-size: 64px;
    font-weight: 900
}

.play-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    background: #111b;
    color: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    backdrop-filter: blur(8px)
}

.gallery-info {
    padding: 22px
}

.gallery-info small {
    display: inline-flex;
    background: #eaf8f2;
    color: var(--green);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 900
}

.gallery-info h2 {
    font-size: 26px;
    margin: 12px 0 8px
}

.gallery-info p {
    color: var(--muted);
    line-height: 1.65
}

.gallery-detail {
    max-width: 1180px;
    margin: auto
}

.back-link {
    display: inline-flex;
    margin-bottom: 18px;
    color: var(--green);
    font-weight: 900
}

.gallery-detail-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 24px 80px #123c3115
}

.gallery-detail-media {
    background: #123c31;
    min-height: 480px;
    display: grid;
    place-items: center
}

.gallery-detail-media img,
.gallery-detail-media iframe {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border: 0
}

.gallery-empty {
    font-size: 90px;
    color: #fff
}

.gallery-detail-copy {
    padding: 34px
}

.gallery-detail-copy h1 {
    font-size: clamp(34px, 5vw, 60px);
    margin: 8px 0
}

.gallery-detail-copy p {
    font-size: 19px;
    line-height: 1.8;
    color: var(--muted)
}

.related-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px
}

.related-gallery a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px;
    font-weight: 800
}

.home-gallery-showcase {
    background: #fff
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    grid-auto-rows: 220px;
    gap: 16px
}

.home-gallery-item {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #123c31;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    box-shadow: 0 20px 60px #123c3118
}

.home-gallery-item.large {
    grid-row: span 2
}

.home-gallery-item:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, #071f19dd);
    z-index: 1
}

.home-gallery-item div {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #147a5b, #f2b84b)
}

.home-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.home-gallery-item div span {
    font-size: 62px
}

.home-gallery-item strong,
.home-gallery-item small {
    position: relative;
    z-index: 2
}

.home-gallery-item strong {
    font-size: 23px
}

.home-gallery-item small {
    color: #cde9de;
    font-weight: 800
}

@media(max-width:1000px) {
    .gallery-pro-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .home-gallery-grid {
        grid-template-columns: 1fr 1fr
    }

    .gallery-filter {
        top: 0
    }
}

@media(max-width:640px) {

    .gallery-pro-grid,
    .home-gallery-grid {
        grid-template-columns: 1fr
    }

    .gallery-pro-card.featured {
        grid-column: span 1;
        grid-row: span 1
    }

    .gallery-detail-media,
    .gallery-detail-media img,
    .gallery-detail-media iframe {
        min-height: 300px;
        height: 320px
    }

    .home-gallery-item.large {
        grid-row: span 1
    }
}

/* News/article pro */
.news-hero-pro {
    padding: 86px 6vw 62px;
    background: radial-gradient(circle at 82% 18%, #f2b84b55, transparent 25%), linear-gradient(135deg, #0f3d31, #186f58);
    color: #fff
}

.news-hero-pro .eyebrow {
    color: #9ee6c7
}

.news-hero-pro h1 {
    font-size: clamp(42px, 6vw, 76px);
    line-height: .98;
    margin: 12px 0;
    max-width: 900px
}

.news-hero-pro p {
    max-width: 720px;
    color: #e4f5ee;
    font-size: 20px;
    line-height: 1.7
}

.news-category-bar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 20px 6vw;
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 75px;
    z-index: 4
}

.news-category-bar a {
    padding: 10px 16px;
    border-radius: 999px;
    background: #eef8f3;
    color: #14634d;
    font-weight: 900
}

.news-category-bar a.active {
    background: var(--green);
    color: #fff
}

.featured-news {
    padding-bottom: 20px
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 28px 90px #123c3118
}

.featured-news-media {
    min-height: 420px;
    background: linear-gradient(135deg, #147a5b, #f2b84b);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 54px;
    font-weight: 900
}

.featured-news-media img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.featured-news-card>div:last-child {
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center
}

.featured-news-card small,
.news-pro-body small {
    display: inline-flex;
    width: max-content;
    background: #eaf8f2;
    color: var(--green);
    border-radius: 999px;
    padding: 7px 12px;
    font-weight: 900
}

.featured-news-card h2 {
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.05;
    margin: 16px 0
}

.featured-news-card p,
.news-pro-body p {
    color: var(--muted);
    line-height: 1.7
}

.featured-news-card b {
    color: var(--green)
}

.news-pro-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px
}

.news-pro-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 18px 55px #123c3110;
    transition: .2s
}

.news-pro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 26px 80px #123c3120
}

.news-pro-thumb {
    height: 220px;
    background: linear-gradient(135deg, #147a5b, #f2b84b);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 42px;
    font-weight: 900
}

.news-pro-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.news-pro-body {
    padding: 22px
}

.news-pro-body h2 {
    font-size: 25px;
    margin: 13px 0 8px;
    line-height: 1.15
}

.news-pro-body time {
    display: block;
    margin-top: 18px;
    color: #78908a;
    font-weight: 800
}

.article-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start
}

.article-pro {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 34px;
    padding: 38px;
    box-shadow: 0 24px 80px #123c3112
}

.article-pro h1 {
    font-size: clamp(38px, 5vw, 66px);
    line-height: 1.02;
    margin: 12px 0
}

.article-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 24px
}

.article-meta span {
    background: #eef8f3;
    color: var(--green);
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 900
}

.article-cover {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 28px;
    margin: 10px 0 24px
}

.article-pro .lead {
    font-size: 22px;
    line-height: 1.7;
    color: #52635e
}

.article-sidebar {
    position: sticky;
    top: 110px;
    display: grid;
    gap: 12px
}

.article-sidebar h2 {
    margin: 0 0 8px
}

.article-sidebar a {
    display: grid;
    gap: 6px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 18px
}

.article-sidebar small {
    color: var(--green);
    font-weight: 900
}

.article-sidebar strong {
    line-height: 1.35
}

@media(max-width:980px) {

    .featured-news-card,
    .article-wrap {
        grid-template-columns: 1fr
    }

    .news-pro-grid {
        grid-template-columns: 1fr 1fr
    }

    .news-category-bar {
        top: 0
    }
}

@media(max-width:640px) {
    .news-pro-grid {
        grid-template-columns: 1fr
    }

    .article-pro {
        padding: 24px
    }

    .featured-news-media {
        min-height: 280px
    }
}

/* Branding theme polish */
.branded-topbar {
    justify-content: space-between
}

.branded-header {
    box-shadow: 0 10px 35px #123c310b
}

.branded-logo img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 4px
}

.branded-logo strong {
    display: grid;
    gap: 3px
}

.branded-logo small {
    font-size: 12px;
    color: var(--muted);
    font-weight: 700;
    max-width: 260px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.branded-footer {
    grid-template-columns: 1.3fr 1fr .8fr .8fr
}

.branded-footer small {
    color: #9fc4b6
}

.branding-form h2 {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    color: var(--green)
}

.branding-form input,
.branding-form textarea {
    width: 100%
}

.theme-preview {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 26px;
    padding: 22px
}

.theme-preview span {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border-radius: 18px;
    background: var(--preview-primary);
    color: #fff;
    font-weight: 900
}

.theme-preview div {
    display: grid
}

.theme-preview small {
    color: var(--muted)
}

.theme-preview b {
    margin-left: auto;
    background: var(--preview-secondary);
    color: #3b2900;
    border-radius: 999px;
    padding: 10px 18px
}

@media(max-width:900px) {
    .branded-footer {
        grid-template-columns: 1fr 1fr
    }

    .branded-topbar {
        justify-content: flex-start
    }
}

@media(max-width:620px) {
    .branded-footer {
        grid-template-columns: 1fr
    }

    .branded-logo small {
        white-space: normal
    }

    .theme-preview {
        align-items: flex-start;
        flex-direction: column
    }

    .theme-preview b {
        margin-left: 0
    }
}

.branding-form small {
    color: var(--muted);
    font-weight: 600
}

.brand-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px
}

.brand-preview img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 14px;
    background: #f7fbf9
}

.brand-preview span {
    font-weight: 800;
    color: var(--green)
}

/* Admin UX phase 4C */
.admin-body {
    background: #eef5f1
}

.enhanced-admin {
    grid-template-columns: 280px 1fr
}

.enhanced-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: linear-gradient(180deg, #10271f, #173f32);
    box-shadow: 18px 0 60px #0d2f2518
}

.enhanced-sidebar strong {
    margin-bottom: 4px
}

.enhanced-sidebar small {
    display: block;
    color: #9fc4b6;
    margin-bottom: 24px
}

.enhanced-sidebar nav {
    gap: 6px
}

.enhanced-sidebar a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.enhanced-sidebar a.active,
.enhanced-sidebar a:hover {
    background: #ffffff18;
    color: #fff
}

.enhanced-sidebar a.active:before {
    content: "";
    position: absolute;
    left: -28px;
    width: 5px;
    height: 26px;
    border-radius: 999px;
    background: var(--gold)
}

.enhanced-main {
    padding: 0;
    background: #eef5f1
}

.admin-top {
    position: sticky;
    top: 0;
    z-index: 8;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: #ffffffdd;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line)
}

.admin-top div {
    display: grid
}

.admin-top span {
    color: var(--muted);
    font-size: 13px
}

.admin-top nav {
    display: flex;
    gap: 10px
}

.admin-top a {
    background: #eef8f3;
    color: var(--green);
    border-radius: 999px;
    padding: 9px 14px;
    font-weight: 800
}

.admin-main>section,
.admin-main>.admin-stats-grid,
.admin-main>.admin-quick-actions,
.admin-main>.admin-dashboard-grid,
.admin-main>h1,
.admin-main>p,
.admin-main>.page-title,
.admin-main>form,
.admin-main>table,
.admin-main>.media-grid {
    margin-left: 30px;
    margin-right: 30px
}

.admin-hero {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: radial-gradient(circle at 88% 12%, #f2b84b55, transparent 22%), linear-gradient(135deg, #123c31, #17664f);
    color: #fff;
    border-radius: 32px;
    padding: 34px
}

.admin-hero .eyebrow {
    color: #9ee6c7
}

.admin-hero h1 {
    font-size: 42px;
    margin: 6px 0
}

.admin-hero p {
    color: #d8eee5
}

.admin-hero .button {
    background: #fff;
    color: var(--green)
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px
}

.admin-stats-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 16px 45px #123c310b
}

.admin-stats-grid strong {
    display: block;
    font-size: 34px;
    color: var(--green)
}

.admin-stats-grid span {
    color: var(--muted);
    font-weight: 800
}

.admin-quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px
}

.admin-quick-actions a {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 16px;
    color: var(--green);
    font-weight: 900
}

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
    margin-bottom: 34px
}

.admin-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 22px;
    box-shadow: 0 18px 55px #123c310d
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px
}

.card-head h2 {
    margin: 0
}

.card-head a {
    color: var(--green);
    font-weight: 900
}

.activity-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid var(--line)
}

.activity-row:first-of-type {
    border-top: 0
}

.activity-row div {
    display: grid;
    gap: 4px
}

.activity-row small {
    color: var(--muted)
}

.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    background: #eef2f1;
    color: #52635e
}

.status-published,
.status-active {
    background: #e9f8f1;
    color: #147a5b
}

.status-draft,
.status-inactive {
    background: #fff4dd;
    color: #9a6500
}

.empty-state {
    background: #f8fbfa;
    border: 1px dashed var(--line);
    border-radius: 20px;
    padding: 18px;
    color: var(--muted)
}

.page-title {
    margin-top: 30px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 18px 20px;
    box-shadow: 0 12px 35px #123c310a
}

form.form-grid {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 24px;
    box-shadow: 0 18px 55px #123c310b
}

table {
    box-shadow: 0 18px 55px #123c310b;
    overflow: hidden
}

th {
    background: #f4faf7;
    color: #52635e;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em
}

td {
    vertical-align: middle
}

.actions form {
    margin: 0
}

.actions button {
    padding: 8px 12px;
    background: #fff0f0;
    color: #a72f2f;
    border: 1px solid #ffd3d3
}

.button.ghost {
    background: #fff;
    color: var(--green);
    border: 1px solid #b8dccc
}

@media(max-width:1100px) {
    .enhanced-admin {
        grid-template-columns: 1fr
    }

    .enhanced-sidebar {
        position: relative;
        height: auto
    }

    .admin-stats-grid {
        grid-template-columns: repeat(3, 1fr)
    }

    .admin-dashboard-grid {
        grid-template-columns: 1fr
    }

    .admin-main>section,
    .admin-main>.admin-stats-grid,
    .admin-main>.admin-quick-actions,
    .admin-main>.admin-dashboard-grid,
    .admin-main>h1,
    .admin-main>p,
    .admin-main>.page-title,
    .admin-main>form,
    .admin-main>table,
    .admin-main>.media-grid {
        margin-left: 18px;
        margin-right: 18px
    }
}

@media(max-width:700px) {

    .admin-top,
    .admin-hero {
        align-items: flex-start;
        flex-direction: column
    }

    .admin-stats-grid {
        grid-template-columns: 1fr 1fr
    }

    .admin-main {
        overflow-x: hidden
    }

    table {
        display: block;
        overflow: auto
    }

    .form-grid {
        grid-template-columns: 1fr
    }

    .wide {
        grid-column: 1
    }
}

@media(max-width:460px) {
    .admin-stats-grid {
        grid-template-columns: 1fr
    }
}

.error-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 18px 55px #123c3110;
    max-width: 760px
}

.error-card h1 {
    font-size: 38px;
    margin: 0 0 12px
}

.error-card p {
    color: var(--muted);
    line-height: 1.7
}

.security-form small {
    color: var(--muted);
    font-weight: 700
}

.alert {
    margin: 14px 30px
}

.login-card .alert {
    margin: 0 0 14px
}

/* Fase 5C-A Hero Slider */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 650px;
    background: #0d3b2f
}

.hero-slider-track {
    position: relative;
    min-height: 650px
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(310px, .75fr);
    gap: 34px;
    align-items: center;
    padding: 86px 6vw 72px;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.015);
    transition: opacity .75s ease, visibility .75s ease, transform 1.2s ease;
    background: radial-gradient(circle at 78% 16%, #f2b84b80, transparent 25%), linear-gradient(135deg, #0d3b2f, #17664f 50%, #f5c45e)
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1)
}

.hero-slide-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.03) contrast(1.03)
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #082f27f2 0%, #0f5d49d9 44%, #0d3b2f80 100%), radial-gradient(circle at 82% 24%, #f2b84b70, transparent 24%)
}

.hero-slide-content,
.hero-slide-panel {
    position: relative;
    z-index: 1
}

.hero-slide-content {
    max-width: 820px;
    color: #fff
}

.hero-slide-eyebrow {
    display: inline-flex;
    color: #bdf3dc;
    background: #ffffff18;
    border: 1px solid #ffffff26;
    border-radius: 999px;
    padding: 9px 13px;
    margin-bottom: 18px;
    backdrop-filter: blur(10px)
}

.hero-slide h1 {
    font-size: clamp(40px, 6.6vw, 78px);
    line-height: .98;
    margin: 0 0 18px;
    letter-spacing: -.055em
}

.hero-slide p {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.65;
    color: #e7fff5;
    max-width: 710px;
    margin: 0 0 26px
}

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

.hero-slide .button {
    box-shadow: 0 18px 40px #031d1745
}

.hero-slide .button.ghost {
    background: #ffffff18;
    color: #fff;
    border-color: #ffffff66;
    backdrop-filter: blur(10px)
}

.hero-slide-panel {
    display: grid;
    gap: 14px;
    justify-self: end;
    width: min(390px, 100%)
}

.hero-slide-panel .hero-badge,
.hero-slide-panel .hero-card {
    background: #ffffffd9;
    color: #000;
    border: 1px solid #ffffff99;
    box-shadow: 0 24px 70px #031d1738;
    backdrop-filter: blur(16px)
}

.hero-slider-nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 999px;
    border: 1px solid #ffffff70;
    background: #ffffff24;
    color: #fff;
    font-size: 38px;
    line-height: 1;
    padding: 0;
    display: grid;
    place-items: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 18px 45px #031d1730
}

.hero-slider-nav.prev {
    left: 22px
}

.hero-slider-nav.next {
    right: 22px
}

.hero-slider-dots {
    position: absolute;
    z-index: 3;
    left: 6vw;
    bottom: 28px;
    display: flex;
    gap: 10px
}

.hero-slider-dots button {
    width: 38px;
    height: 9px;
    border: 0;
    border-radius: 999px;
    background: #ffffff65;
    padding: 0;
    transition: width .25s ease, background .25s ease
}

.hero-slider-dots button.is-active {
    width: 64px;
    background: var(--gold)
}

@media(max-width:980px) {

    .hero-slider,
    .hero-slider-track {
        min-height: 760px
    }

    .hero-slide {
        grid-template-columns: 1fr;
        align-content: center
    }

    .hero-slide-panel {
        justify-self: start;
        grid-template-columns: 1fr 1fr;
        width: 100%
    }

    .hero-slide-panel .hero-badge {
        grid-column: 1/-1
    }
}

@media(max-width:640px) {

    .hero-slider,
    .hero-slider-track {
        min-height: 720px
    }

    .hero-slide {
        padding: 68px 22px 76px
    }

    .hero-slide h1 {
        font-size: 39px
    }

    .hero-slide-panel {
        display: none
    }

    .hero-slider-nav {
        top: auto;
        bottom: 22px;
        transform: none;
        width: 42px;
        height: 42px
    }

    .hero-slider-nav.prev {
        left: auto;
        right: 76px
    }

    .hero-slider-nav.next {
        right: 22px
    }

    .hero-slider-dots {
        left: 22px;
        bottom: 38px
    }

    .hero-slider-dots button {
        width: 24px
    }

    .hero-slider-dots button.is-active {
        width: 44px
    }
}

/* Fase 5C-B Section Manager */
.section-manager {
    display: grid;
    gap: 12px;
    background: #f8fbfa;
    border: 1px dashed var(--line);
    border-radius: 22px;
    padding: 18px
}

.section-manager>p {
    margin: 0 0 4px;
    color: var(--muted);
    font-weight: 700
}

.section-manager-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 14px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 10px 28px #123c3108
}

.section-toggle {
    display: flex !important;
    grid-template-columns: none !important;
    grid-auto-flow: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0
}

.section-toggle input {
    width: 20px;
    height: 20px;
    accent-color: var(--green);
    padding: 0
}

.section-toggle span {
    display: grid;
    gap: 4px
}

.section-toggle strong {
    color: var(--ink)
}

.section-toggle small {
    color: var(--muted);
    font-weight: 700
}

.section-manager-row label:last-child {
    display: grid;
    gap: 7px;
    color: var(--muted);
    font-weight: 800
}

.section-manager-row input[type=number] {
    width: 100%;
    font-weight: 900;
    color: var(--green)
}

@media(max-width:700px) {
    .section-manager-row {
        grid-template-columns: 1fr
    }

    .section-toggle {
        align-items: flex-start
    }
}

/* Fase 5D Public UX Polish */
html {
    scroll-behavior: smooth
}

body {
    overflow-x: hidden
}

.site-header {
    transition: box-shadow .25s ease, transform .25s ease
}

.site-header.is-scrolled {
    box-shadow: 0 16px 40px #123c3117
}

.main-nav a,
.button,
.news-card,
.home-gallery-item,
.program-grid article {
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease
}

.button:hover,
.main-nav a:hover {
    transform: translateY(-1px)
}

.news-card:hover,
.home-gallery-item:hover,
.program-grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 55px #123c3115
}

.js-enabled .reveal-on-scroll,
.js-enabled .public-section article,
.js-enabled .news-card,
.js-enabled .home-gallery-item {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease
}

.js-enabled .reveal-on-scroll.is-visible,
.js-enabled .public-section article.is-visible,
.js-enabled .news-card.is-visible,
.js-enabled .home-gallery-item.is-visible {
    opacity: 1;
    transform: none
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--gold), #fff 20%);
    outline-offset: 3px
}

.back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 20;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
    border: 0;
    box-shadow: 0 16px 42px #123c3130;
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: .25s ease
}

.back-to-top.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: none
}

@media(max-width:820px) {
    .topbar {
        justify-content: flex-start;
        overflow: auto;
        white-space: nowrap
    }

    .main-nav {
        width: 100%;
        gap: 10px
    }

    .main-nav a {
        background: #f1faf6;
        border: 1px solid var(--line);
        border-radius: 999px;
        padding: 9px 12px
    }

    .main-nav .nav-cta {
        background: var(--gold)
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .reveal-on-scroll,
    .public-section article,
    .news-card,
    .home-gallery-item,
    .button,
    .main-nav a {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important
    }
}

/* Fase 6B Contact & Maps */
.contact-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: center;
    background: radial-gradient(circle at 86% 8%, #f2b84b45, transparent 26%), linear-gradient(135deg, #e9f8f1, #fff8e5)
}

.contact-hero h1 {
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1;
    margin: 8px 0 16px;
    letter-spacing: -.045em
}

.contact-hero p {
    color: var(--muted);
    font-size: 19px;
    line-height: 1.7
}

.contact-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 22px
}

.contact-info-card,
.contact-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 26px;
    box-shadow: 0 22px 65px #123c3110
}

.contact-info-card span,
.contact-mini-list span {
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px
}

.contact-info-card strong {
    display: block;
    font-size: 28px;
    margin: 8px 0;
    color: var(--green)
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr);
    gap: 22px
}

.contact-panel h2 {
    margin-top: 0;
    font-size: 32px
}

.contact-panel>p {
    color: var(--muted);
    line-height: 1.7
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px
}

.contact-form label {
    display: grid;
    gap: 8px;
    font-weight: 800;
    color: #29443b
}

.contact-form .wide {
    grid-column: 1/-1
}

.contact-form textarea {
    min-height: 150px
}

.contact-location iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: 22px;
    box-shadow: inset 0 0 0 1px var(--line)
}

.map-placeholder {
    height: 360px;
    border: 1px dashed var(--line);
    border-radius: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 24px;
    background: #f8fbfa;
    color: var(--muted)
}

.map-placeholder strong {
    display: block;
    color: var(--green);
    font-size: 22px
}

.contact-mini-list {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 10px;
    margin-top: 18px
}

.contact-message-card {
    margin-top: 20px
}

.contact-message-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    padding: 16px 0;
    border-top: 1px solid var(--line)
}

.contact-message-row:first-of-type {
    border-top: 0
}

.contact-message-row div:first-child {
    display: grid;
    gap: 6px
}

.contact-message-row p {
    white-space: pre-wrap;
    color: var(--muted);
    margin: 0
}

@media(max-width:900px) {

    .contact-hero,
    .contact-grid {
        grid-template-columns: 1fr
    }

    .contact-form {
        grid-template-columns: 1fr
    }

    .contact-info-card strong {
        font-size: 24px
    }
}

.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important
}

.contact-grid-no-form {
    grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr)
}

.contact-direct-list {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px;
    margin: 18px 0 20px
}

.contact-direct-list span {
    color: var(--muted);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 12px
}

.contact-direct-list strong {
    color: var(--ink)
}

@media(max-width:900px) {

    .contact-grid-no-form,
    .contact-direct-list {
        grid-template-columns: 1fr
    }
}
/* Footer Social Icons */
.footer-social{display:grid;gap:10px}.footer-social b{margin-bottom:2px}.social-link{display:inline-flex;align-items:center;gap:10px;color:#fff;border:1px solid #ffffff24;border-radius:999px;padding:8px 12px;background:#ffffff10;transition:transform .2s ease,background .2s ease,border-color .2s ease}.social-link:hover{transform:translateX(3px);background:#ffffff1c;border-color:#ffffff45}.social-link svg{width:19px;height:19px;flex:0 0 19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.social-link.youtube svg path:first-child,.social-link.maps svg path{fill:currentColor;stroke:none}.social-link.youtube svg path:last-child{fill:#123c31;stroke:none}.social-link.instagram:hover{color:#ffd1ec}.social-link.youtube:hover{color:#ff8b8b}.social-link.maps:hover{color:#a9f5d6}@media(max-width:760px){.social-link{width:max-content}}
/* Expanded Theme Color Controls */
.public-body,.branded-body{background:var(--body-bg)!important}.topbar,.branded-topbar{background:color-mix(in srgb,var(--header-bg),#000 72%)!important;color:var(--footer-text)!important}.portal-header,.branded-header,.site-header{background:color-mix(in srgb,var(--header-bg),#fff 10%)!important;color:var(--header-text)!important}.portal-brand strong,.portal-brand small,.main-nav a{color:var(--header-text)!important}.portal-brand span{background:linear-gradient(135deg,var(--green),color-mix(in srgb,var(--green),#000 18%))!important}.main-nav .nav-cta{background:var(--gold)!important;color:color-mix(in srgb,var(--ink),#000 12%)!important}.site-footer,.portal-footer,.branded-footer{background:var(--footer-bg)!important;color:var(--footer-text)!important}.site-footer a,.site-footer span,.site-footer small,.site-footer p,.site-footer b,.site-footer strong{color:var(--footer-text)!important}.hero-slider{background:var(--hero-overlay)!important}.hero-slide{background:radial-gradient(circle at 78% 16%,color-mix(in srgb,var(--gold),transparent 42%),transparent 25%),linear-gradient(135deg,var(--hero-overlay),color-mix(in srgb,var(--hero-overlay),var(--green) 38%) 52%,var(--gold))!important}.hero-slide-overlay{background:linear-gradient(90deg,color-mix(in srgb,var(--hero-overlay),#000 20%) 0%,color-mix(in srgb,var(--hero-overlay),transparent 8%) 46%,color-mix(in srgb,var(--hero-overlay),transparent 46%) 100%),radial-gradient(circle at 82% 24%,color-mix(in srgb,var(--gold),transparent 45%),transparent 24%)!important}.contact-hero{background:radial-gradient(circle at 86% 8%,color-mix(in srgb,var(--gold),transparent 58%),transparent 26%),linear-gradient(135deg,var(--soft),var(--body-bg))!important}.cta-band,.media-band{background:linear-gradient(135deg,color-mix(in srgb,var(--green),#000 12%),color-mix(in srgb,var(--footer-bg),var(--green) 45%))!important}.theme-preview{background:linear-gradient(135deg,var(--preview-header,#fff),var(--preview-secondary,#f2b84b))!important;border-color:color-mix(in srgb,var(--preview-primary,#147a5b),#fff 68%)!important}.theme-preview b{background:var(--preview-footer,var(--preview-primary,#147a5b))!important}
/* Safe Post Editor */
.safe-editor-wrap{display:grid;gap:10px}.safe-editor-toolbar{display:flex;gap:8px;flex-wrap:wrap;background:#f8fbfa;border:1px solid var(--line);border-radius:18px;padding:10px}.safe-editor-toolbar button{background:#fff;color:var(--green);border:1px solid var(--line);border-radius:999px;padding:8px 12px;font-weight:900}.safe-editor-toolbar button:hover{background:var(--green);color:#fff}.safe-editor{min-height:260px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;line-height:1.75;outline:none}.safe-editor:focus{border-color:var(--green);box-shadow:0 0 0 4px color-mix(in srgb,var(--green),transparent 82%)}.safe-editor-wrap small{color:var(--muted);font-weight:700}.safe-editor h2,.safe-editor h3{margin:12px 0}.safe-editor blockquote{margin:12px 0;padding:12px 16px;border-left:4px solid var(--green);background:#f8fbfa;border-radius:12px}
.back-to-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
