:root {
    --spts-primary: #1f5d42;
    --spts-primary-dark: #123d2b;
    --spts-secondary: #6f9149;
    --spts-accent: #b7cf72;
    --spts-background: #f5f8f4;
    --spts-surface: #ffffff;
    --spts-text: #24332b;
    --spts-text-muted: #65726b;
    --spts-border: #dce5df;
    --spts-success: #18794e;
    --spts-danger: #b42318;
    --focus-ring: #f0b429;
    --font-scale: 1;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--spts-background);
    color: var(--spts-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: calc(16px * var(--font-scale));
    line-height: 1.6;
}

body.high-contrast {
    --spts-primary: #003d24;
    --spts-primary-dark: #001f12;
    --spts-secondary: #244600;
    --spts-accent: #ffff66;
    --spts-background: #ffffff;
    --spts-surface: #ffffff;
    --spts-text: #000000;
    --spts-text-muted: #1f2933;
    --spts-border: #111111;
}

a {
    color: inherit;
}

a:focus-visible,
button:focus-visible,
main:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 3px;
}

img {
    max-width: 100%;
    height: auto;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    transform: translateY(-150%);
    border-radius: 4px;
    background: var(--spts-primary-dark);
    color: #ffffff;
    padding: 10px 14px;
}

.skip-link:focus {
    transform: translateY(0);
}

.accessibility-bar {
    border-bottom: 1px solid var(--spts-border);
    background: #eef5ed;
    color: var(--spts-primary-dark);
    font-size: 0.875rem;
}

.accessibility-bar__inner,
.accessibility-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accessibility-bar__inner {
    justify-content: space-between;
    min-height: 42px;
}

.accessibility-actions button {
    min-height: 32px;
    border: 1px solid var(--spts-border);
    border-radius: 4px;
    background: var(--spts-surface);
    color: var(--spts-text);
    cursor: pointer;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(31, 93, 66, 0.16);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--spts-primary-dark);
    text-decoration: none;
}

.brand__mark {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: var(--spts-primary);
    color: #ffffff;
    font-weight: 700;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--spts-text-muted);
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-menu a {
    border-radius: 4px;
    color: var(--spts-text);
    padding: 10px 12px;
    text-decoration: none;
    font-weight: 700;
}

.site-menu a:hover {
    background: #ecf4ec;
    color: var(--spts-primary-dark);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--spts-border);
    border-radius: 4px;
    background: #ffffff;
}

.menu-toggle__bars,
.menu-toggle__bars::before,
.menu-toggle__bars::after {
    display: block;
    width: 22px;
    height: 2px;
    margin: 0 auto;
    background: var(--spts-primary-dark);
    content: "";
}

.menu-toggle__bars::before {
    transform: translateY(-7px);
}

.menu-toggle__bars::after {
    transform: translateY(5px);
}

.hero {
    position: relative;
    background:
        linear-gradient(105deg, rgba(18, 61, 43, 0.94), rgba(31, 93, 66, 0.86)),
        url("../images/spts-care-pattern.svg");
    background-size: cover;
    color: #ffffff;
}

.hero-carousel {
    overflow: hidden;
}

.hero-slide {
    display: none;
    background-position: center;
    background-size: cover;
}

.hero-slide.is-active {
    display: block;
}

.js-ready .hero-slide {
    display: block;
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}

.js-ready .hero-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    min-height: 620px;
    padding: 88px 0;
}

.hero-carousel__controls {
    position: absolute;
    right: 0;
    bottom: 28px;
    left: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-start;
}

.hero-carousel__controls button {
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.hero-carousel__controls > button {
    padding: 6px 14px;
}

.hero-carousel__dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-carousel__dots button {
    width: 12px;
    min-height: 12px;
    height: 12px;
    border-radius: 999px;
    padding: 0;
}

.hero-carousel__dots button.is-active {
    width: 34px;
    background: var(--spts-accent);
    border-color: var(--spts-accent);
}

.hero__content h1,
.page-hero h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 2.8rem);
    line-height: 1.05;
}

.hero__content p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.18rem;
}

.hero__actions,
.cta-actions,
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 6px;
    padding: 10px 18px;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary {
    background: var(--spts-accent);
    color: var(--spts-primary-dark);
}

.btn-outline {
    border-color: currentColor;
    background: transparent;
    color: inherit;
}

.hero-card,
.pending-box,
.contact-panel,
.values-grid article,
.info-card {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: var(--spts-surface);
    box-shadow: 0 18px 48px rgba(18, 61, 43, 0.08);
}

.hero-card {
    color: var(--spts-text);
    padding: 28px;
}

.hero-card__icon,
.info-card__icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: #eef5ed;
    color: var(--spts-primary);
    font-weight: 800;
    font-size: 1.4rem;
}

.section {
    padding: 76px 0;
}

.section-muted {
    background: #eef5ed;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section h2,
.page-hero h1 {
    color: var(--spts-primary-dark);
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--spts-secondary);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.split,
.feature-band,
.cta-grid,
.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: center;
}

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

.info-card,
.values-grid article,
.pending-box,
.contact-panel {
    padding: 24px;
}

.info-card h2,
.info-card h3,
.values-grid h2 {
    margin-bottom: 8px;
    color: var(--spts-primary-dark);
}

.review-note,
.status-pill {
    color: var(--spts-danger);
    font-weight: 700;
}

.status-pill {
    display: inline-flex;
    border: 1px solid #f3b4ad;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.85rem;
}

.feature-band,
.section-cta {
    color: #ffffff;
}

.feature-band {
    border-radius: 8px;
    background: var(--spts-primary);
    padding: 32px;
}

.feature-band h2,
.section-cta h2 {
    color: #ffffff;
}

.section-cta {
    background: var(--spts-primary-dark);
}

.page-hero {
    background: #eef5ed;
    padding: 72px 0;
}

.page-hero p {
    max-width: 760px;
    color: var(--spts-text-muted);
    font-size: 1.1rem;
}

.contact-panel dl {
    display: grid;
    gap: 12px;
}

.contact-panel dt {
    font-weight: 800;
    color: var(--spts-primary-dark);
}

.contact-panel dd {
    margin: 0;
    color: var(--spts-text-muted);
}

.prose {
    max-width: 760px;
}

.site-footer {
    background: #102e21;
    color: #ffffff;
    padding: 54px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 32px;
}

.site-footer h2 {
    margin-top: 0;
    font-size: 1rem;
}

.site-footer a {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-cta {
    font-weight: 800;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.template-page {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 2rem;
}

.template-card {
    max-width: 42rem;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 2rem;
}

@media (max-width: 920px) {
    .menu-toggle {
        display: block;
    }

    .site-menu {
        position: absolute;
        top: 100%;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid var(--spts-border);
        border-radius: 8px;
        background: #ffffff;
        padding: 10px;
        box-shadow: 0 18px 48px rgba(18, 61, 43, 0.12);
    }

    .site-menu.is-open {
        display: flex;
    }

    .hero__grid,
    .split,
    .feature-band,
    .cta-grid,
    .contact-panel,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero__grid {
        min-height: auto;
        padding: 64px 0 96px;
    }

    .card-grid,
    .values-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .accessibility-bar__inner,
    .footer-bottom {
        align-items: stretch;
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .accessibility-actions,
    .cookie-actions {
        justify-content: flex-start;
    }

    .card-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 52px 0;
    }

    .hero-carousel__controls {
        bottom: 18px;
        flex-wrap: wrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* Admin SPTS */
.admin-spts {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    min-height: 100vh;
    background: #f4f7f3;
}

.admin-spts.is-sidebar-collapsed {
    grid-template-columns: 88px minmax(0, 1fr);
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    background: #102e21;
    color: #ffffff;
    padding: 18px 14px;
}

.admin-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 24px;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    min-width: 0;
}

.admin-brand img {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: #ffffff;
    border-radius: 8px;
    padding: 4px;
}

.admin-brand span {
    font-weight: 900;
}

.admin-collapse {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
}

.admin-nav {
    display: grid;
    gap: 18px;
}

.admin-nav__group {
    display: grid;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 14px;
}

.admin-nav__group:first-child {
    border-top: 0;
    padding-top: 0;
}

.admin-nav__label {
    color: rgba(255, 255, 255, 0.54);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-sidebar nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 6px;
    color: #ffffff;
    padding: 10px;
    text-decoration: none;
    font-weight: 800;
}

.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.12);
}

.admin-nav__icon {
    display: grid;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    place-items: center;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.82rem;
}

.admin-spts.is-sidebar-collapsed .admin-brand span,
.admin-spts.is-sidebar-collapsed .admin-nav__text,
.admin-spts.is-sidebar-collapsed .admin-nav__label {
    display: none;
}

.admin-spts.is-sidebar-collapsed .admin-brand-row {
    justify-content: center;
}

.admin-spts.is-sidebar-collapsed .admin-collapse {
    position: absolute;
    top: 84px;
    left: 58px;
    transform: rotate(180deg);
}

.admin-spts.is-sidebar-collapsed .admin-sidebar nav a {
    justify-content: center;
}

.admin-content {
    padding: 24px;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 16px 18px;
    margin-bottom: 22px;
}

.admin-topbar span,
.admin-topbar strong {
    display: block;
}

.admin-topbar span {
    color: var(--spts-secondary);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-topbar strong {
    color: var(--spts-primary-dark);
}

.admin-page {
    display: grid;
    gap: 20px;
}

.admin-page__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.admin-page__heading h1 {
    margin: 0;
    color: var(--spts-primary-dark);
}

.admin-page__heading p {
    margin: 4px 0 0;
    color: var(--spts-text-muted);
}

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

.admin-stats a,
.admin-table-wrap,
.admin-form {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(18, 61, 43, 0.06);
}

.admin-stats a {
    display: grid;
    gap: 12px;
    color: var(--spts-primary-dark);
    padding: 22px;
    text-decoration: none;
}

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

.admin-stats strong {
    font-size: 2.3rem;
}

.admin-table-wrap {
    overflow-x: auto;
}

.admin-table-wrap--polished {
    border-radius: 10px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--spts-border);
    padding: 15px 14px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--spts-primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.admin-table tbody tr:hover {
    background: #f8fbf7;
}

.admin-table td strong,
.admin-table td small {
    display: block;
}

.admin-table td small {
    margin-top: 4px;
    color: var(--spts-text-muted);
}

.admin-status {
    display: inline-flex;
    border-radius: 999px;
    background: #eef5ed;
    color: var(--spts-primary-dark);
    padding: 4px 10px;
    font-size: 0.84rem;
    font-weight: 900;
}

.admin-list-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.admin-list-summary article {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 10px 28px rgba(18, 61, 43, 0.05);
}

.admin-list-summary span,
.admin-list-summary strong {
    display: block;
}

.admin-list-summary span {
    color: var(--spts-text-muted);
    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.admin-list-summary strong {
    color: var(--spts-primary-dark);
    font-size: 1.3rem;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.banner-order-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.banner-order-controls strong {
    min-width: 28px;
    color: var(--spts-primary-dark);
}

.banner-order-controls form {
    margin: 0;
}

.banner-order-controls button {
    border: 1px solid var(--spts-border);
    border-radius: 4px;
    background: #ffffff;
    color: var(--spts-primary-dark);
    padding: 6px 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.banner-order-controls button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.admin-actions a,
.admin-actions button {
    border: 1px solid var(--spts-border);
    border-radius: 4px;
    background: #ffffff;
    color: var(--spts-primary-dark);
    padding: 6px 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
}

.admin-form {
    padding: 22px;
}

.admin-form .btn {
    margin-top: 18px;
}

.admin-form--news {
    padding: 0;
    overflow: hidden;
}

.news-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 0;
}

.news-editor-main,
.news-editor-side {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 24px;
}

.news-editor-side {
    border-left: 1px solid var(--spts-border);
    background: #f8fbf7;
}

.news-editor-main label,
.news-editor-side label {
    display: grid;
    gap: 7px;
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.news-editor-main input,
.news-editor-main textarea,
.news-editor-side input,
.news-editor-side select {
    width: 100%;
    border: 1px solid var(--spts-border);
    border-radius: 6px;
    background: #ffffff;
    color: var(--spts-text);
    padding: 12px;
    font: inherit;
}

.news-editor-side input[type="file"] {
    padding: 10px;
}

.news-image-preview {
    display: grid;
    gap: 8px;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 10px;
}

.news-image-preview img {
    width: 100%;
    aspect-ratio: 1.55;
    border-radius: 6px;
    object-fit: cover;
}

.news-image-preview small {
    color: var(--spts-text-muted);
    font-weight: 700;
    line-height: 1.4;
}

.admin-rich-text {
    min-height: 340px;
    resize: vertical;
}

.news-editor-help {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 14px;
}

.news-editor-help strong {
    color: var(--spts-primary-dark);
}

.news-editor-help p {
    margin: 6px 0 0;
    color: var(--spts-text-muted);
}

.admin-form--banner {
    padding: 0;
}

.banner-editor-card {
    display: grid;
    gap: 18px;
    max-width: 760px;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
}

.banner-editor-card__header {
    border-bottom: 1px solid var(--spts-border);
    padding-bottom: 16px;
}

.banner-editor-card__header h2 {
    margin: 0;
    color: var(--spts-primary-dark);
    font-size: 1.25rem;
}

.banner-editor-card__header p {
    margin: 6px 0 0;
    color: var(--spts-text-muted);
}

.banner-editor-card label {
    display: grid;
    gap: 8px;
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.banner-editor-card input {
    width: 100%;
    border: 1px solid var(--spts-border);
    border-radius: 6px;
    background: #fbfdfb;
    color: var(--spts-text);
    padding: 12px;
    font: inherit;
}

.banner-editor-card input[type="file"] {
    padding: 10px;
}

.banner-image-preview {
    display: grid;
    gap: 8px;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #f8fbf7;
    padding: 10px;
}

.banner-image-preview img {
    width: 100%;
    aspect-ratio: 2.4;
    border-radius: 6px;
    object-fit: cover;
}

.banner-image-preview small {
    color: var(--spts-text-muted);
    font-weight: 700;
    line-height: 1.4;
}

.admin-form--project {
    padding: 0;
    overflow: hidden;
}

.project-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 0;
}

.project-editor-main {
    display: grid;
    gap: 18px;
    padding: 24px;
}

.project-editor-side {
    display: grid;
    align-content: start;
    gap: 16px;
    border-left: 1px solid var(--spts-border);
    background: #f8fbf7;
    padding: 24px;
}

.project-editor-block,
.project-editor-panel,
.project-editor-help {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
}

.project-editor-block {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.project-editor-block__heading {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-bottom: 1px solid var(--spts-border);
    padding-bottom: 16px;
}

.project-editor-block__heading span {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: var(--spts-primary-dark);
    color: #ffffff;
    font-weight: 900;
}

.project-editor-block__heading h2,
.project-editor-panel h2 {
    margin: 0;
    color: var(--spts-primary-dark);
    font-size: 1.04rem;
}

.project-editor-block__heading p {
    margin: 4px 0 0;
    color: var(--spts-text-muted);
}

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

.project-editor-full {
    grid-column: 1 / -1;
}

.project-editor-main label,
.project-editor-side label,
.project-editor-panel {
    display: grid;
    gap: 8px;
}

.project-editor-main label,
.project-editor-side label {
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.project-editor-main input,
.project-editor-main textarea,
.project-editor-side input,
.project-editor-side select {
    width: 100%;
    border: 1px solid var(--spts-border);
    border-radius: 6px;
    background: #fbfdfb;
    color: var(--spts-text);
    padding: 12px;
    font: inherit;
}

.project-editor-main textarea {
    resize: vertical;
}

.project-editor-large {
    min-height: 260px;
}

.project-editor-panel,
.project-editor-help {
    padding: 16px;
}

.project-editor-help strong {
    color: var(--spts-primary-dark);
}

.project-editor-help p {
    margin: 6px 0 0;
    color: var(--spts-text-muted);
    line-height: 1.5;
}

.admin-form--edital {
    padding: 0;
    overflow: hidden;
}

.edital-editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 0;
}

.edital-editor-main,
.edital-editor-side {
    display: grid;
    align-content: start;
    gap: 16px;
    padding: 24px;
}

.edital-editor-side {
    border-left: 1px solid var(--spts-border);
    background: #f8fbf7;
}

.edital-editor-card,
.edital-editor-panel,
.edital-editor-help {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 18px;
}

.edital-editor-card__heading {
    display: flex;
    gap: 14px;
    border-bottom: 1px solid var(--spts-border);
    padding-bottom: 14px;
    margin-bottom: 16px;
}

.edital-editor-card__heading span {
    display: grid;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 8px;
    background: var(--spts-primary-dark);
    color: #ffffff;
    font-weight: 900;
}

.edital-editor-card__heading h2,
.edital-editor-panel h2 {
    margin: 0;
    color: var(--spts-primary-dark);
    font-size: 1.04rem;
}

.edital-editor-card__heading p,
.edital-editor-help p {
    margin: 5px 0 0;
    color: var(--spts-text-muted);
}

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

.edital-editor-full {
    grid-column: 1 / -1;
}

.edital-editor-main label,
.edital-editor-side label,
.edital-editor-panel {
    display: grid;
    gap: 8px;
}

.edital-editor-main label,
.edital-editor-side label {
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.edital-editor-main input,
.edital-editor-main textarea,
.edital-editor-side input,
.edital-editor-side select {
    width: 100%;
    border: 1px solid var(--spts-border);
    border-radius: 6px;
    background: #fbfdfb;
    color: var(--spts-text);
    padding: 12px;
    font: inherit;
}

.edital-document-link {
    border: 1px solid var(--spts-border);
    border-radius: 6px;
    color: var(--spts-primary-dark);
    padding: 10px 12px;
    font-weight: 800;
    text-decoration: none;
}

.admin-login {
    display: grid;
    min-height: 78vh;
    place-items: center;
    padding: 48px 16px;
}

.admin-login__card {
    width: min(440px, 100%);
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 28px;
    box-shadow: 0 18px 48px rgba(18, 61, 43, 0.12);
}

.admin-login__card img {
    width: 160px;
}

.admin-login__card h1 {
    color: var(--spts-primary-dark);
}

.admin-login__card form,
.admin-login__card label {
    display: grid;
    gap: 10px;
}

.admin-login__card form {
    margin-top: 18px;
}

.admin-login__card input {
    border: 1px solid var(--spts-border);
    border-radius: 6px;
    padding: 12px;
}

.admin-alert,
.admin-success {
    border-radius: 8px;
    padding: 12px 14px;
    font-weight: 800;
}

.admin-alert {
    border: 1px solid #f3b4ad;
    background: #fff8f7;
    color: var(--spts-danger);
}

.admin-success {
    border: 1px solid #b9dfc8;
    background: #effaf3;
    color: var(--spts-success);
}

@media (max-width: 920px) {
    .admin-spts {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }

    .admin-sidebar nav,
    .admin-stats,
    .admin-list-summary,
    .news-editor-layout,
    .project-editor-layout,
    .edital-editor-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-editor-side,
    .project-editor-side,
    .edital-editor-side {
        border-left: 0;
        border-top: 1px solid var(--spts-border);
    }
}

@media (max-width: 640px) {
    .admin-sidebar nav,
    .admin-stats,
    .admin-list-summary,
    .news-editor-layout,
    .project-editor-layout,
    .project-editor-grid,
    .edital-editor-layout,
    .edital-editor-grid,
    .admin-page__heading {
        grid-template-columns: 1fr;
    }

    .admin-page__heading {
        display: grid;
    }
}

/* SPTS visual refinements */
.site-header__inner {
    min-height: 84px;
    gap: 18px;
}

.brand {
    flex: 0 0 auto;
    gap: 14px;
}

.brand__logo {
    width: 154px;
    max-height: 64px;
    object-fit: contain;
}

.site-menu {
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.site-menu a {
    padding: 9px 10px;
    white-space: nowrap;
}

.site-menu__highlight {
    color: var(--spts-primary-dark) !important;
}

.site-menu .site-menu__cta {
    margin-left: 4px;
    background: var(--spts-primary);
    color: #ffffff;
    padding-inline: 16px;
}

.site-menu .site-menu__cta:hover {
    background: var(--spts-primary-dark);
    color: #ffffff;
}

.page-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(18, 61, 43, 0.92), rgba(31, 93, 66, 0.84)),
        url("../images/spts-care-pattern.svg");
    background-size: cover;
    color: #ffffff;
    padding: 76px 0;
}

.page-hero::after {
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    content: "";
}

.page-hero__grid {
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 auto;
}

.page-hero__grid > div {
    max-width: 900px;
}

.page-hero h1,
.page-hero .eyebrow {
    color: #ffffff;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.86);
}

.page-hero__badge {
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    padding: 22px;
    backdrop-filter: blur(8px);
}

.page-hero__badge span,
.page-hero__badge strong {
    display: block;
}

.page-hero__badge span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
}

.page-hero__badge strong {
    margin-top: 6px;
    font-size: 1.35rem;
    line-height: 1.2;
}

.about-intro,
.about-panels {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 36px;
    align-items: start;
}

.about-intro h2,
.about-panels h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

.value-card {
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

.value-card::before {
    display: block;
    width: 48px;
    height: 5px;
    margin-bottom: 24px;
    border-radius: 999px;
    background: var(--spts-accent);
    content: "";
}

.value-card--mission {
    border-top: 5px solid var(--spts-primary);
}

.value-card--vision {
    border-top: 5px solid var(--spts-secondary);
}

.value-card--values {
    border-top: 5px solid var(--spts-accent);
}

.about-panels article {
    border-left: 5px solid var(--spts-primary);
    border-radius: 8px;
    background: var(--spts-surface);
    padding: 28px;
    box-shadow: 0 18px 48px rgba(18, 61, 43, 0.08);
}

.about-commitments {
    background: #f0f6ef;
}

.commitment-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.commitment-list span {
    border: 1px solid var(--spts-border);
    border-radius: 999px;
    background: var(--spts-surface);
    color: var(--spts-primary-dark);
    padding: 10px 14px;
    font-weight: 800;
}

.services-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}

.services-overview h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

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

.service-list article {
    border: 1px solid var(--spts-border);
    border-left: 5px solid var(--spts-primary);
    border-radius: 8px;
    background: var(--spts-surface);
    padding: 20px;
    box-shadow: 0 14px 36px rgba(18, 61, 43, 0.06);
}

.service-list h3 {
    margin: 0 0 6px;
    color: var(--spts-primary-dark);
}

.service-list p {
    margin: 0;
    color: var(--spts-text-muted);
}

.target-audience .commitment-list span {
    background: #ffffff;
}

.projects-overview,
.partnership-section {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    align-items: start;
}

.projects-overview h2,
.partnership-section h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

.project-stage-grid {
    display: grid;
    gap: 14px;
}

.project-stage-grid article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    column-gap: 18px;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: var(--spts-surface);
    padding: 20px;
    box-shadow: 0 14px 36px rgba(18, 61, 43, 0.06);
}

.project-stage-grid span {
    grid-row: span 2;
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 8px;
    background: #eef5ed;
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.project-stage-grid h3,
.project-stage-grid p {
    margin: 0;
}

.project-stage-grid h3 {
    color: var(--spts-primary-dark);
}

.project-stage-grid p {
    color: var(--spts-text-muted);
}

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

.impact-grid article {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
    min-height: 160px;
}

.impact-grid strong,
.impact-grid span,
.impact-grid small {
    display: block;
}

.impact-grid strong {
    color: var(--spts-primary-dark);
    font-size: 1.45rem;
}

.impact-grid span {
    margin-top: 10px;
    font-weight: 800;
}

.impact-grid small {
    margin-top: 8px;
    color: var(--spts-text-muted);
}

.partnership-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.partnership-list span {
    border: 1px solid var(--spts-border);
    border-left: 5px solid var(--spts-secondary);
    border-radius: 8px;
    background: #ffffff;
    color: var(--spts-primary-dark);
    padding: 16px;
    font-weight: 800;
}

.projects-cta {
    padding-top: 0;
}

.edital-open-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 40px;
    align-items: start;
}

.edital-open-layout h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

.edital-list {
    display: grid;
    gap: 16px;
}

.edital-card,
.edital-empty {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(18, 61, 43, 0.08);
}

.edital-empty {
    border-left: 5px solid var(--spts-secondary);
}

.edital-empty span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: #eef5ed;
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.edital-card h3,
.edital-empty h3,
.edital-closed-grid h3,
.edital-feature-card h3 {
    color: var(--spts-primary-dark);
}

.edital-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.edital-card__meta span,
.edital-closed-grid span,
.edital-feature-card span {
    border-radius: 999px;
    background: #eef5ed;
    color: var(--spts-primary-dark);
    padding: 5px 12px;
    font-size: 0.82rem;
    font-weight: 900;
}

.edital-card__meta small,
.edital-empty p,
.edital-card p,
.edital-closed-grid p,
.edital-feature-card p {
    color: var(--spts-text-muted);
}

.edital-closed-grid,
.edital-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.edital-closed-grid article,
.edital-feature-card {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.edital-closed-grid article {
    display: grid;
    gap: 10px;
    padding: 20px;
}

.edital-closed-grid a,
.edital-feature-card a {
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.edital-feature-card img {
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
}

.edital-feature-card div {
    display: grid;
    gap: 10px;
    padding: 18px;
}

.transparency-overview,
.annual-reports {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    align-items: start;
}

.transparency-overview h2,
.annual-reports h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

.document-list,
.report-timeline {
    display: grid;
    gap: 14px;
}

.document-list article,
.report-timeline article {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 14px 36px rgba(18, 61, 43, 0.06);
}

.document-list h3,
.document-list p,
.report-timeline p {
    margin: 0;
}

.document-list h3,
.report-timeline strong {
    color: var(--spts-primary-dark);
}

.document-list p,
.report-timeline p {
    color: var(--spts-text-muted);
}

.document-list span {
    display: inline-flex;
    margin-top: 12px;
    border: 1px solid #f3b4ad;
    border-radius: 999px;
    color: var(--spts-danger);
    padding: 4px 10px;
    font-size: 0.85rem;
    font-weight: 800;
}

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

.accountability-grid article {
    border: 1px solid var(--spts-border);
    border-top: 5px solid var(--spts-primary);
    border-radius: 8px;
    background: #ffffff;
    min-height: 190px;
    padding: 22px;
}

.accountability-grid strong,
.accountability-grid small {
    display: block;
}

.accountability-grid strong {
    color: var(--spts-primary-dark);
    font-size: 1.12rem;
}

.accountability-grid p {
    color: var(--spts-text-muted);
}

.accountability-grid small {
    color: var(--spts-danger);
    font-weight: 800;
}

.report-timeline article {
    border-left: 5px solid var(--spts-secondary);
}

.report-timeline span {
    display: block;
    color: var(--spts-secondary);
    font-size: 0.84rem;
    font-weight: 900;
    text-transform: uppercase;
}

.report-timeline strong {
    display: block;
    margin: 6px 0;
    font-size: 1.15rem;
}

.transparency-note {
    padding-top: 0;
}

.careers-overview {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 40px;
    align-items: start;
}

.careers-overview h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

.career-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.career-profile-grid article {
    border: 1px solid var(--spts-border);
    border-top: 5px solid var(--spts-primary);
    border-radius: 8px;
    background: #ffffff;
    padding: 20px;
    box-shadow: 0 14px 36px rgba(18, 61, 43, 0.06);
}

.career-profile-grid h3 {
    margin: 0 0 8px;
    color: var(--spts-primary-dark);
}

.career-profile-grid p {
    margin: 0;
    color: var(--spts-text-muted);
}

.application-form {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(18, 61, 43, 0.08);
}

.application-form fieldset {
    margin: 0;
    border: 0;
    padding: 0;
}

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

.form-grid label {
    display: grid;
    gap: 6px;
    color: var(--spts-primary-dark);
    font-weight: 800;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
    width: 100%;
    border: 1px solid var(--spts-border);
    border-radius: 6px;
    background: #f8fbf7;
    color: var(--spts-text);
    padding: 11px 12px;
    font: inherit;
}

.form-grid textarea {
    resize: vertical;
}

.form-grid__full {
    grid-column: 1 / -1;
}

.checkbox-field {
    display: flex !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    color: var(--spts-text);
    font-weight: 600 !important;
}

.checkbox-field input {
    width: 20px;
    margin-top: 4px;
    accent-color: var(--spts-primary);
}

.form-disabled-note {
    display: grid;
    gap: 4px;
    margin: 18px 0;
    border: 1px solid #f3b4ad;
    border-radius: 8px;
    background: #fff8f7;
    color: var(--spts-danger);
    padding: 14px;
}

.contact-layout,
.location-grid,
.social-section {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 28px;
    align-items: start;
}

.contact-form-card,
.contact-channel-card,
.map-placeholder {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(18, 61, 43, 0.08);
}

.contact-form-card h2,
.contact-channel-card h2,
.location-grid h2,
.social-section h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

.contact-form fieldset {
    margin: 0;
    border: 0;
    padding: 0;
}

.contact-list {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
}

.contact-list div {
    border-bottom: 1px solid var(--spts-border);
    padding-bottom: 12px;
}

.contact-list dt {
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.contact-list dd {
    margin: 0;
    color: var(--spts-text-muted);
}

.map-placeholder {
    display: grid;
    min-height: 320px;
    place-items: center;
    align-content: center;
    text-align: center;
    background:
        linear-gradient(135deg, rgba(31, 93, 66, 0.08), rgba(183, 207, 114, 0.16)),
        #ffffff;
}

.map-placeholder span,
.map-placeholder strong,
.map-placeholder small {
    display: block;
}

.map-placeholder span {
    color: var(--spts-secondary);
    font-weight: 900;
    text-transform: uppercase;
}

.map-placeholder strong {
    color: var(--spts-primary-dark);
    font-size: 1.4rem;
}

.map-placeholder small {
    max-width: 280px;
    color: var(--spts-text-muted);
}

.social-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.social-links span {
    border: 1px solid var(--spts-border);
    border-left: 5px solid var(--spts-primary);
    border-radius: 8px;
    background: #ffffff;
    color: var(--spts-primary-dark);
    padding: 16px;
    font-weight: 800;
}

.news-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 36px;
    align-items: start;
}

.news-intro h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

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

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

.news-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.news-feature-card {
    display: grid;
    gap: 14px;
}

.news-feature-card__image,
.news-card__image {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #dce8df;
}

.news-feature-card__image {
    aspect-ratio: 1.22;
}

.news-card__image {
    aspect-ratio: 1.45;
    border-radius: 8px 8px 0 0;
}

.news-feature-card__image img,
.news-card__image img,
.news-article__image img,
.related-news img,
.news-side-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-feature-card h3,
.news-card h3 {
    margin: 0;
    color: var(--spts-primary-dark);
    line-height: 1.25;
}

.news-feature-card h3 a,
.news-card h3 a {
    color: inherit;
    text-decoration: none;
}

.news-feature-card p,
.news-card p {
    margin: 0;
    color: var(--spts-text-muted);
}

.news-read-more {
    justify-self: start;
    border: 1px solid var(--spts-primary-dark);
    border-radius: 4px;
    color: var(--spts-primary-dark);
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.news-side-list {
    display: grid;
    gap: 16px;
}

.news-side-list__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--spts-border);
    padding-bottom: 12px;
}

.news-side-list__header .eyebrow {
    margin: 0;
}

.news-side-list__header a {
    color: var(--spts-primary-dark);
    font-weight: 800;
}

.news-side-item {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    color: var(--spts-text);
    text-decoration: none;
}

.news-side-item img {
    aspect-ratio: 1;
    border-radius: 8px;
}

.news-side-item small {
    display: block;
    color: var(--spts-text-muted);
    font-size: 0.82rem;
    margin-bottom: 5px;
}

.news-side-item strong {
    color: var(--spts-primary-dark);
    line-height: 1.25;
}

.news-card {
    display: grid;
    grid-template-rows: auto 1fr;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(18, 61, 43, 0.06);
}

.news-card__body {
    display: grid;
    gap: 14px;
    padding: 20px;
}

.news-card__meta,
.news-card__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.news-card__meta span,
.news-card__footer span {
    border-radius: 999px;
    background: #eef5ed;
    color: var(--spts-primary-dark);
    padding: 4px 10px;
    font-size: 0.84rem;
    font-weight: 900;
}

.news-card__meta small,
.news-card__footer small {
    color: var(--spts-text-muted);
    font-weight: 700;
}

.news-card__footer a {
    color: var(--spts-primary-dark);
    font-weight: 900;
}

.news-detail-hero {
    min-height: 460px;
    display: grid;
    align-items: center;
    background-color: var(--spts-primary-dark);
    background-position: center;
    background-size: cover;
    color: #ffffff;
}

.news-detail-hero__content {
    max-width: 980px;
    padding-top: 72px;
    padding-bottom: 72px;
    text-align: center;
}

.news-detail-hero__content h1 {
    max-width: 840px;
    margin: 18px auto;
    color: #ffffff;
    font-size: clamp(2.4rem, 5vw, 2.8rem);
    line-height: 1.05;
}

.news-detail-hero__content p {
    max-width: 720px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.08rem;
}

.news-detail-hero__meta {
    justify-content: center;
    margin-bottom: 0;
}

.news-detail-hero__meta .eyebrow,
.news-detail-hero__meta span {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
    align-items: start;
}

.news-article {
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 32px;
    box-shadow: 0 18px 48px rgba(18, 61, 43, 0.08);
}

.news-article p {
    color: var(--spts-text);
    font-size: 1.08rem;
    line-height: 1.75;
}

.news-article__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.news-article__meta span {
    border-radius: 999px;
    background: #eef5ed;
    color: var(--spts-primary-dark);
    padding: 5px 12px;
    font-size: 0.86rem;
    font-weight: 900;
}

.news-article__image {
    overflow: hidden;
    border-radius: 8px;
    margin: 28px 0;
    aspect-ratio: 1.75;
    background: #dce8df;
}

.related-news {
    display: grid;
    gap: 12px;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 14px 36px rgba(18, 61, 43, 0.06);
}

.related-news h2 {
    margin: 0 0 4px;
    color: var(--spts-primary-dark);
}

.related-news a:not(.btn) {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border-bottom: 1px solid var(--spts-border);
    color: var(--spts-text);
    padding-bottom: 12px;
    text-decoration: none;
}

.related-news img {
    aspect-ratio: 1;
    border-radius: 8px;
}

.related-news a small {
    display: block;
    color: var(--spts-secondary);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.related-news a strong {
    color: var(--spts-primary-dark);
}

.health-disclaimer {
    border: 1px solid var(--spts-border);
    border-left: 5px solid var(--spts-secondary);
    border-radius: 8px;
    background: #ffffff;
    padding: 24px;
}

.health-disclaimer h2 {
    margin-top: 0;
    color: var(--spts-primary-dark);
}

.cookie-backdrop {
    position: fixed;
    z-index: 200;
    inset: 0;
    display: grid;
    place-items: end center;
    background: rgba(16, 46, 33, 0.42);
    padding: 24px;
}

.cookie-backdrop[hidden] {
    display: none !important;
}

.cookie-modal {
    width: min(720px, 100%);
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--spts-text);
    padding: 24px;
    box-shadow: 0 24px 72px rgba(18, 61, 43, 0.28);
}

.cookie-modal p {
    margin: 4px 0 0;
}

.cookie-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--spts-border);
    padding-bottom: 16px;
}

.cookie-modal__header h2 {
    margin: 0;
    color: var(--spts-primary-dark);
}

.cookie-close {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--spts-border);
    border-radius: 4px;
    background: var(--spts-surface);
    color: var(--spts-text);
    cursor: pointer;
    font-weight: 800;
}

.cookie-options {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.cookie-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 1px solid var(--spts-border);
    border-radius: 8px;
    background: #f8fbf7;
    padding: 14px;
}

.cookie-option strong,
.cookie-option small {
    display: block;
}

.cookie-option small {
    color: var(--spts-text-muted);
}

.cookie-option input {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    accent-color: var(--spts-primary);
}

@media (max-width: 1080px) {
    .brand span {
        display: none;
    }
}

@media (max-width: 920px) {
    .page-hero__grid,
    .about-intro,
    .about-panels,
    .services-overview,
    .projects-overview,
    .partnership-section,
    .edital-open-layout,
    .transparency-overview,
    .annual-reports,
    .careers-overview,
    .contact-layout,
    .location-grid,
    .social-section,
    .news-intro,
    .news-feature-layout,
    .news-detail-layout {
        grid-template-columns: 1fr;
    }

    .impact-grid,
    .accountability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-menu .site-menu__cta {
        margin-left: 0;
    }
}

@media (max-width: 640px) {
    .brand__logo {
        width: 126px;
    }

    .cookie-backdrop {
        place-items: end center;
        padding: 12px;
    }

    .cookie-modal {
        max-height: calc(100vh - 24px);
        overflow: auto;
        padding: 18px;
    }

    .cookie-modal__header,
    .cookie-option {
        align-items: flex-start;
    }

    .impact-grid,
    .accountability-grid,
    .career-profile-grid,
    .form-grid,
    .news-feature-grid,
    .news-grid,
    .edital-closed-grid,
    .edital-feature-grid,
    .social-links,
    .partnership-list,
    .project-stage-grid article {
        grid-template-columns: 1fr;
    }

    .form-grid__full {
        grid-column: auto;
    }
}
