@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/PlusJakartaSans-Regular.7660bd9909fb.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/PlusJakartaSans-Medium.7660bd9909fb.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/PlusJakartaSans-SemiBold.7660bd9909fb.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/PlusJakartaSans-Bold.7660bd9909fb.woff2") format("woff2");
}

@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/PlusJakartaSans-ExtraBold.7660bd9909fb.woff2") format("woff2");
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    overflow-wrap: break-word;
    font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
    background-color: #F4FAF4;
    color: #1B5E20;
    line-height: 1.5;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(0.75rem, 4vw, 1.5rem);
}

.site-header {
    background-color: #FFFFFF;
    border-bottom: 1px solid #C8E6C9;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    display: block;
    width: clamp(28px, 6vw, 36px);
    height: clamp(28px, 6vw, 36px);
    border-radius: 6px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.nav-links a {
    text-decoration: none;
    color: #1B5E20;
    font-size: clamp(0.72rem, 2.2vw, 0.85rem);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #66BB6A;
}

main {
    padding: 1.5rem 0;
}

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

h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
}

h2 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
}


.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    color: #1B5E20;
}

.nav-toggle-btn .bars {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle-btn .bars span {
    display: block;
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background-color: #1B5E20;
}

.nav-toggle:focus-visible+.nav-toggle-btn {
    outline: 2px solid #66BB6A;
}

@media (max-width: 640px) {
    .navbar {
        flex-wrap: wrap;
    }

    .nav-toggle-btn {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-basis: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-bottom: 0.5rem;
    }

    .nav-links a {
        width: 100%;
        padding: 0.8rem 0;
        font-size: 0.85rem;
        border-top: 1px solid #C8E6C9;
    }

    .nav-toggle:checked~.nav-links {
        display: flex;
    }
}

.nav-links a[aria-current="page"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}


.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 2px;
    border: 1px solid #A5D6A7;
    border-radius: 8px;
    background-color: #FFFFFF;
}

@media (max-width: 640px) {
    .nav-links .lang-switch {
        margin-top: 0.65rem;
        align-self: flex-start;
    }
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    width: 100%;
}

.site-footer {
    background-color: #1B5E20;
    color: #FFFFFF;
    padding: 1.5rem 0;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
}

.footer-brand {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 800;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.footer-links a {
    color: #FFFFFF;
    font-size: 0.85rem;
    text-decoration: none;
}

.footer-brand:hover,
.footer-links a:hover {
    color: #66BB6A;
}

.footer-copy {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.8rem;
    color: #CBD5E1;
}

@media (max-width: 640px) {

    .footer-top,
    .footer-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links a {
        padding: 0.35rem 0;
    }
}

.landing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.landing-card {
    background-color: #FFFFFF;
    border: 1px solid #C8E6C9;
    border-radius: 8px;
    padding: clamp(1rem, 3vw, 1.5rem);
    min-width: 0;
}

.landing-card h1,
.landing-card h2 {
    margin-bottom: 0.5rem;
}

@media (min-width: 641px) {
    .landing {
        grid-template-columns: 1fr 2fr;
        align-items: start;
    }
}

.howto-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.landing-howto {
    position: relative;
    padding-right: 3rem;
}

.howto-x {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    font-size: 1.75rem;
    line-height: 1;
    color: #1B5E20;
    cursor: pointer;
}

.howto-x:hover {
    color: #66BB6A;
}

.howto-toggle:focus-visible~.landing-howto .howto-x {
    outline: 2px solid #66BB6A;
}

.howto-toggle:checked~.landing-howto {
    display: none;
}

.howto-toggle:checked~.landing-main {
    grid-column: 1 / -1;
}

.lvl {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lvl-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem;
}

.lvl-btn {
    flex: 1 1 5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1B5E20;
    border-radius: 6px;
    color: #1B5E20;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

#lvl-o:checked~.lvl-group label[for="lvl-o"],
#lvl-a:checked~.lvl-group label[for="lvl-a"],
#lvl-d:checked~.lvl-group label[for="lvl-d"] {
    background-color: #1B5E20;
    color: #FFFFFF;
}

.lvl:focus-visible~.lvl-group .lvl-btn {
    outline: 2px solid #66BB6A;
}

.panel {
    display: none;
    border: 0;
    margin-bottom: 1rem;
}

.panel legend {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#lvl-o:checked~.panel-o,
#lvl-a:checked~.panel-a,
#lvl-d:checked~.panel-d {
    display: block;
}

.btn-primary {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 6px;
    background-color: #66BB6A;
    color: #FFFFFF;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #2E7D32;
}

.howto-steps {
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

/* ---------- Ripoti Card: tap your grades, like a result slip ----------
   Flat, white, one accent. Chips instead of dropdowns. No images. */
body {
    background-color: #FFFFFF;
}

.hero {
    padding: clamp(1.5rem, 6vw, 2.5rem) 0 1rem;
}

.hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-sub {
    margin-top: 0.4rem;
    color: #475569;
    font-size: clamp(1rem, 3.5vw, 1.1rem);
}

.landing-card {
    background: #FFFFFF;
    border: 1px solid #C8E6C9;
    border-radius: 10px;
    box-shadow: none;
}

.landing-howto {
    background: #F4FAF4;
    font-size: 0.9rem;
    color: #334155;
}

.howto-steps {
    padding-left: 1.2rem;
}

.step-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.6rem;
    font-weight: 700;
}

.step-label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: #1B5E20;
    color: #FFFFFF;
    font-size: 0.8rem;
}

.step-label small {
    font-weight: 400;
    color: #64748B;
}

.lvl-group {
    margin: 0 0 1.5rem;
}

.lvl-btn {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-weight: 600;
}

.lvl-btn:hover {
    border-color: #1B5E20;
}

.panel {
    margin-bottom: 1.25rem;
}

.grade-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem 0.75rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid #EEF2F6;
}

.grade-name {
    flex: 1 1 8rem;
    font-weight: 600;
}

.chips {
    display: flex;
    gap: 0.3rem;
}

.chip {
    display: block;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.chip span:hover {
    border-color: #66BB6A;
}

.chip input:checked+span {
    background: #1B5E20;
    border-color: #1B5E20;
    color: #FFFFFF;
}

.chip input:focus-visible+span {
    outline: 2px solid #66BB6A;
    outline-offset: 2px;
}

.field {
    min-width: 0;
    min-height: 42px;
    padding: 0 0.75rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    font: inherit;
    color: #1B5E20;
}

.grade-row .field {
    flex: 1 1 10rem;
}

.grade-row .field-short {
    flex: 0 0 6rem;
}

.field:focus {
    outline: none;
    border-color: #66BB6A;
    box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.18);
}

.btn-primary {
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: none;
}

@media (max-width: 480px) {
    .grade-name {
        flex-basis: 100%;
    }

    .chip span {
        width: 2.4rem;
        height: 2.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        transition: none !important;
    }
}

.panel {
    border: 0;
    padding: 0;
    min-width: 0;
}

.panel legend.step-label {
    float: left;
    width: 100%;
    margin-bottom: 0.4rem;
}

.panel legend.step-label+* {
    clear: both;
}

.grade-row select.field {
    background: #FFFFFF;
}

@media (max-width: 480px) {
    .grade-row select.field {
        flex-basis: 100%;
    }
}

/* ---------- Palette: aqua #A5D6A7 / teal #66BB6A / cream #E8F5E9 / orange #66BB6A ---------- */
body {
    background-color: #F4FAF4;
    color: #1B5E20;
}

.site-header {
    border-bottom: 3px solid #A5D6A7;
}

.hero {
    margin: 1rem 0 1.25rem;
    padding: clamp(1.25rem, 6vw, 2rem);
    background-color: #A5D6A7;
    border-radius: 16px;
}

.hero h1 {
    color: #1B5E20;
}

.hero-sub {
    color: #2E7D32;
}

.landing-card {
    background: #FFFFFF;
    border: 1px solid #C8E6C9;
    border-radius: 14px;
}

.landing-howto {
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    color: #1B5E20;
}

.landing-howto h2 {
    color: #1B5E20;
}

.lvl-btn:hover,
.chip span:hover {
    border-color: #66BB6A;
    background-color: #E8F5E9;
}

.chip input:focus-visible+span,
.lvl:focus-visible~.lvl-group .lvl-btn {
    outline: 2px solid #66BB6A;
    outline-offset: 2px;
}

.field:focus {
    border-color: #66BB6A;
    box-shadow: 0 0 0 3px rgba(165, 214, 167, 0.6);
}

.btn-primary {
    background-color: #66BB6A;
    color: #1B5E20;
    border-radius: 12px;
    font-weight: 800;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #2E7D32;
    color: #1B5E20;
}

.site-footer {
    background-color: #1B5E20;
}

.footer-brand:hover,
.footer-links a:hover {
    color: #A5D6A7;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
    color: #2E7D32;
}

/* ---------- Wide screens: navbar and footer spread across the page; content stays 760px ---------- */
.site-header .container,
.site-footer .container {
    max-width: 1200px;
}

@media (min-width: 1024px) {
    .navbar {
        padding: 0.9rem 0;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .nav-links {
        gap: 0.5rem 2.25rem;
    }

    .nav-links a,
    .lang-switch {
        font-size: 0.92rem;
    }
}

.results-page {
    padding: 0.5rem 1.25rem 1.25rem;
}

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

.result-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.result-table th,
.result-table td {
    padding: 0.9rem 0.75rem;
    text-align: left;
    border-bottom: 1px solid #C8E6C9;
    vertical-align: top;
}

.result-table thead th {
    background: #A5D6A7;
    color: #1B5E20;
    font-weight: 600;
    white-space: nowrap;
}

.result-table thead th:first-child {
    border-top-left-radius: 8px;
}

.result-table thead th:last-child {
    border-top-right-radius: 8px;
}

.result-table tbody tr:nth-child(even) {
    background: #F4FAF4;
}

.result-table tbody tr:hover {
    background: #E8F5E9;
}

.result-table td {
    font-weight: 400;
    color: #2E5A36;
}

.result-table .num {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    color: #1B5E20;
}

.result-table td:first-child,
.result-table th:first-child {
    width: 2.75rem;
    font-variant-numeric: tabular-nums;
}

.result-table td:first-child {
    font-weight: 500;
    color: #1B5E20;
}

@media (max-width: 480px) {
    .result-table {
        font-size: 0.84rem;
    }

    .result-table th,
    .result-table td {
        padding: 0.75rem 0.5rem;
    }
}

.howto-tip {
    margin-top: 0.75rem;
    padding-top: 0.6rem;
    border-top: 1px dashed #A5D6A7;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Home layout: see "Home: two cards" block at the end of this file */


/* ---------- Clean & smart pass: calm hierarchy, even spacing, fewer boxes ---------- */
body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

main {
    padding: 1rem 0 3rem;
}

.site-header {
    background: linear-gradient(180deg, #E8F5E9 0%, #F4FAF4 100%);
    border-bottom: 0;
    box-shadow: none;
}

.nav-links a {
    position: relative;
    padding: 0.25rem 0;
}

.nav-links a:not(.is-active)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 2px;
    background: #66BB6A;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s;
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.hero {
    margin: 1.5rem 0 1.25rem;
    padding: 0;
    background: none;
    border-radius: 0;
    border-left: 0;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.65rem, 6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    text-transform: none;
}

.hero-sub {
    margin: 0.25rem auto 0;
    color: #2E7D32;
    font-size: 1rem;
}

.landing-card {
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(27, 94, 32, 0.06);
}

.landing-main {
    padding: clamp(1rem, 4vw, 1.75rem);
}

.step-label {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.lvl-group {
    gap: 0;
    margin-bottom: 1.75rem;
}

.lvl-btn {
    flex: 1;
    border-radius: 0;
    margin-left: -1px;
    min-height: 42px;
    font-size: 0.9rem;
}

.lvl-btn:first-child {
    border-radius: 8px 0 0 8px;
    margin-left: 0;
}

.lvl-btn:last-child {
    border-radius: 0 8px 8px 0;
}

.grade-row {
    padding: 0.6rem 0;
    border-bottom: 1px solid #E8F5E9;
    gap: 0.5rem 0.75rem;
}

.grade-row:last-of-type {
    border-bottom: 0;
}

.field {
    min-height: 42px;
    padding: 0 0.85rem;
    border-color: #A5D6A7;
    border-radius: 8px;
    font-size: 0.94rem;
    font-weight: 500;
}

.chip span {
    width: 2.25rem;
    height: 2.25rem;
    border-color: #A5D6A7;
    border-radius: 8px;
    font-size: 0.9rem;
}

.btn-primary {
    margin-top: 1.5rem;
    min-height: 48px;
    font-size: 1rem;
    box-shadow: none;
}

.landing-howto {
    font-size: 0.9rem;
    line-height: 1.55;
}

.howto-steps li {
    margin-bottom: 0.45rem;
}

.result-table {
    font-size: 0.92rem;
}

.result-table thead th {
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid #A5D6A7;
    padding: 0.85rem 0.75rem;
}

.result-table tbody tr:nth-child(even) {
    background: transparent;
}

.result-table tbody tr:hover {
    background: #F1F8F1;
}

.site-footer {
    padding: 1.5rem 0 1.25rem;
    border-top: 2px solid #A5D6A7;
}

.footer-tagline {
    margin-top: 0.2rem;
    font-size: 0.82rem;
    color: #C8E6C9;
}

.footer-related {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
    font-size: 0.84rem;
    color: #C8E6C9;
}

.footer-related a {
    color: #A5D6A7;
    font-weight: 700;
    text-decoration: none;
    padding: 0.2rem 0.55rem;
    border: 1px solid rgba(165, 214, 167, 0.35);
    border-radius: 999px;
}

.footer-related a:hover {
    background-color: #A5D6A7;
    color: #1B5E20;
}

.footer-copy {
    margin-top: 1rem;
    padding-top: 0.85rem;
    text-align: center;
    color: #C8E6C9;
}

/* Home: two permanent, equally distributed cards (50% / 50%), stacked on phones */
.landing {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.landing-howto {
    position: static;
    transform: none;
    padding: clamp(1rem, 4vw, 1.75rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.25rem;
}

.howto-extra {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.howto-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-box {
    background: #FFFFFF;
    border: 1px solid #A5D6A7;
    border-radius: 10px;
    padding: 0.7rem 0.85rem;
}

.stat-box strong {
    display: block;
    font-size: 1.25rem;
    line-height: 1.2;
    color: #1B5E20;
}

.stat-box span {
    font-size: 0.78rem;
    color: #2E7D32;
}

.howto-notes {
    background: rgba(255, 255, 255, 0.65);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    font-size: 0.84rem;
}

.howto-notes ul {
    padding-left: 1.15rem;
    margin-top: 0.3rem;
}

.howto-notes li {
    margin-bottom: 0.25rem;
}

@media (min-width: 641px) {
    .landing {
        grid-template-columns: 1fr 1fr;
    }
}

/* About & Contact pages */
.page-copy {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.65;
}

.page-list {
    margin-top: 0.75rem;
}

.page-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin-top: 0.75rem;
    font-size: 0.92rem;
}

.contact-list li {
    padding: 0.45rem 0;
    border-bottom: 1px dashed #A5D6A7;
}

.contact-list li:last-child {
    border-bottom: 0;
}

.contact-form .form-group {
    margin-bottom: 0.9rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 700;
    font-size: 0.9rem;
}

.contact-form .field {
    width: 100%;
}

.field-area {
    padding: 0.6rem 0.75rem;
    min-height: 110px;
    resize: vertical;
}

.careers-soon {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.careers-soon .page-cta {
    margin-top: 1.25rem;
}

/* Language switcher segmented toggle */
.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 32px;
    padding: 0 0.6rem;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #1B5E20;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.lang-btn:hover {
    background-color: #E8F5E9;
    color: #1B5E20;
}

.lang-btn:focus-visible {
    outline: 2px solid #66BB6A;
    outline-offset: 1px;
}

.lang-btn.is-active,
.lang-btn.is-active:hover {
    background-color: #5B7E3C;
    color: #FFFFFF;
}

@media (max-width: 640px) {
    .lang-btn {
        min-width: 48px;
        min-height: 38px;
        font-size: 0.85rem;
    }
}

/* Mobile-only dismissible how-to card; permanent & no X on desktop (>640px) */
.landing-howto {
    position: relative;
}

@media (max-width: 640px) {
    .landing-howto {
        padding-right: 3rem;
    }

    .howto-x {
        display: flex;
    }
}

@media (min-width: 641px) {
    .howto-x {
        display: none;
    }

    .howto-toggle:checked~.landing-howto {
        display: flex;
    }

    .howto-toggle:checked~.landing-main {
        grid-column: auto;
    }
}

/* ---------- Palette: pale #E8F5E9 / light #A5D6A7 / mid #66BB6A / deep #1B5E20 ---------- */
.btn-primary {
    background-color: #1B5E20;
    color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #2E7D32;
    color: #FFFFFF;
}

/* Soft gradient footer (blends smoothly from page background through green palette) */
.site-footer {
    background: linear-gradient(180deg, #F4FAF4 0%, #E8F5E9 22%, #A5D6A7 70%, #66BB6A 100%);
    color: #1B5E20;
    border-top: 0;
    padding-top: 2rem;
}

.footer-brand {
    color: #1B5E20;
    font-weight: 800;
}

.footer-links a {
    color: #1B5E20;
    font-weight: 600;
}

.footer-brand:hover,
.footer-links a:hover {
    color: #2E7D32;
    text-decoration: underline;
}

.footer-tagline,
.footer-related,
.footer-copy {
    color: #1B5E20;
    font-weight: 500;
}

.footer-related a {
    color: #1B5E20;
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(27, 94, 32, 0.3);
    font-weight: 700;
}

.footer-related a:hover {
    background-color: #1B5E20;
    color: #FFFFFF;
    border-color: #1B5E20;
}

.footer-copy {
    border-top: 1px solid rgba(27, 94, 32, 0.2);
}

.results-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 1.15rem;
}


/* #5B7E3C on primary buttons and active toggle buttons only */
.btn-primary {
    background-color: #5B7E3C;
    color: #FFFFFF;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background-color: #4A6830;
    color: #FFFFFF;
}

#lvl-o:checked~.lvl-group label[for="lvl-o"],
#lvl-a:checked~.lvl-group label[for="lvl-a"],
#lvl-d:checked~.lvl-group label[for="lvl-d"],
.chip input:checked+span {
    background-color: #5B7E3C;
    border-color: #5B7E3C;
    color: #FFFFFF;
}

.form-error {
    margin-top: 0.9rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background-color: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    font-size: 0.88rem;
    font-weight: 600;
}

.form-success {
    margin-bottom: 0.9rem;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background-color: #E8F5E9;
    border: 1px solid #A5D6A7;
    color: #1B5E20;
    font-size: 0.88rem;
    font-weight: 600;
}

.notice-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.notice-box {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
}

.notice-box[hidden],
.notice-toggle:checked+.notice-box {
    display: none;
}

.notice-x {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 30px;
    min-height: 30px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: inherit;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.75;
}

.notice-x:hover,
.notice-x:focus-visible {
    opacity: 1;
    background: rgba(0, 0, 0, 0.06);
}

/* Results filters, notes & empty state */
.filter-bar {
    margin: 0.5rem 0 1rem;
    padding: 16px;
    background: #F4FAF4;
    border: 1px solid #C8E6C9;
    border-radius: 10px;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: end;
    gap: 14px;
}

.filter-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 6px;
    min-width: 0;
}

.filter-field label {
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    color: #1B5E20;
}

.filter-field .field {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0 0.85rem;
    border: 1px solid #A5D6A7;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    color: #1B5E20;
    background: #FFFFFF;
}

.filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid #C8E6C9;
}

.filter-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1B5E20;
    cursor: pointer;
}

.filter-check input {
    width: 1rem;
    height: 1rem;
    accent-color: #5B7E3C;
}

.filter-btns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.btn-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    margin-top: 0;
    min-height: 42px;
    padding: 0 1.15rem;
    font-size: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
}

@media (max-width: 900px) {
    .filter-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btns {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .btn-filter,
    .filter-btns .back-pill {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .filter-grid {
        grid-template-columns: 1fr;
    }
}

.course-title {
    display: block;
    font-weight: 600;
    color: #1B5E20;
    line-height: 1.4;
}

.course-note {
    margin-top: 0.25rem;
    font-size: 0.79rem;
    font-weight: 400;
    color: #4A6B4E;
    line-height: 1.4;
}

.empty-state {
    padding: 1.5rem 1rem;
    text-align: center;
    background: #F4FAF4;
    border: 1px dashed #A5D6A7;
    border-radius: 10px;
}

.empty-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1B5E20;
}

.empty-tip {
    margin-top: 0.45rem;
    font-size: 0.9rem;
    color: #2E7D32;
}

.empty-tip a {
    color: #1B5E20;
    font-weight: 700;
}

/* Pagination bar matching filter-bar green theme */
.pager-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    margin-top: 1rem;
    padding: 12px 16px;
    background: #F4FAF4;
    border: 1px solid #C8E6C9;
    border-radius: 10px;
}

.pager-info {
    font-size: 0.88rem;
    font-weight: 600;
    color: #2E7D32;
}

.pager-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 0 0.75rem;
    border: 1px solid #A5D6A7;
    border-radius: 8px;
    background: #FFFFFF;
    color: #1B5E20;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
}

a.page-btn:hover,
a.page-btn:focus-visible {
    background: #E8F5E9;
    border-color: #66BB6A;
    outline: none;
}

.page-btn.is-active {
    background: #5B7E3C;
    border-color: #5B7E3C;
    color: #FFFFFF;
}

.page-btn.is-disabled {
    background: #E8F5E9;
    border-color: #C8E6C9;
    color: #64748B;
    cursor: not-allowed;
}

.page-ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 40px;
    color: #2E7D32;
    font-weight: 700;
}

@media (max-width: 640px) {
    .pager-bar {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .pager-controls {
        justify-content: center;
    }
}

/* Smooth scrolling, back pill & print PDF */
html {
    scroll-behavior: smooth;
}

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

.results-top-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin: 0.75rem 0 0;
}

.back-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 42px;
    padding: 0 0.95rem;
    border: 1px solid #A5D6A7;
    border-radius: 8px;
    background: #FFFFFF;
    color: #1B5E20;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.back-pill:hover,
.back-pill:focus-visible {
    background: #E8F5E9;
    border-color: #66BB6A;
    outline: none;
}

@media (max-width: 640px) {
    .results-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .results-actions .back-pill,
    .results-actions .btn-filter {
        width: 100%;
    }
}

.results-disclaimer {
    margin-top: 1rem;
    padding: 10px 14px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-size: 11.5px;
    line-height: 1.4;
    color: #475569;
}

.print-only {
    display: none;
}

@media print {
    @page {
        margin: 12mm;
    }

    body {
        background: #FFFFFF;
        color: #1B5E20;
        font-size: 10pt;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .top-banner,
    .site-header,
    .site-footer,
    .hero,
    .results-top-nav,
    .filter-bar,
    .notice-x,
    .pager-bar,
    .results-actions {
        display: none;
    }

    body .landing-card,
    .results-page {
        border: 0;
        box-shadow: none;
        padding: 0;
        margin: 0;
        background: #FFFFFF;
    }

    .print-only {
        display: block;
    }

    .print-header {
        margin-bottom: 0.75rem;
        padding-bottom: 0.6rem;
        border-bottom: 2px solid #1B5E20;
    }

    .print-brand-row {
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        font-size: 10pt;
        color: #2E7D32;
        margin-bottom: 0.25rem;
    }

    .print-brand-row strong {
        font-size: 14pt;
        color: #1B5E20;
    }

    .print-header h2 {
        font-size: 13pt;
        color: #1B5E20;
        margin: 0 0 0.35rem;
    }

    .print-meta {
        display: flex;
        flex-direction: column;
        gap: 0.18rem;
        font-size: 9pt;
        color: #1B5E20;
    }

    .table-wrap {
        overflow: visible;
    }

    .result-table {
        width: 100%;
        font-size: 8.5pt;
        border-collapse: collapse;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .result-table thead {
        display: table-header-group;
    }

    .result-table thead th {
        white-space: normal;
        background: #E8F5E9;
        color: #1B5E20;
        border-bottom: 2px solid #1B5E20;
        padding: 5px 6px;
    }

    .result-table tr {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .result-table th,
    .result-table td {
        padding: 5px 6px;
        border-bottom: 1px solid #C8E6C9;
    }

    .result-table tbody tr:nth-child(even) {
        background: #F4FAF4;
    }

    .results-disclaimer {
        margin-top: 8px;
        padding: 7px 10px;
        font-size: 8pt;
        line-height: 1.35;
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Careers announcements filter, badges & Ajira-style actions */
.careers-filter-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
}

.career-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.55rem;
}

.career-category {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #E8F5E9;
    border: 1px solid #A5D6A7;
    color: #1B5E20;
    font-size: 0.74rem;
    font-weight: 700;
    white-space: nowrap;
}

.career-desc {
    margin-top: 0.3rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #335C3B;
}

.career-date,
.career-action {
    white-space: nowrap;
}

.career-action-closed {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
}

.badge-closed {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    color: #991B1B;
    font-size: 0.74rem;
    font-weight: 700;
}

.btn-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 38px;
    margin-top: 0;
    padding: 0 0.95rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.btn-apply-disabled {
    border: 1px solid #CBD5E1;
    background: #F1F5F9;
    color: #64748B;
    cursor: not-allowed;
}

.career-meta-label {
    display: none;
}

.career-duties {
    margin-top: 0.45rem;
}

.career-duties-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    list-style: none;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1B5E20;
    background: #F4FAF4;
    border: 1px solid #C8E6C9;
    border-radius: 6px;
    padding: 0.3rem 0.65rem;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.career-duties-toggle::-webkit-details-marker {
    display: none;
}

.career-duties-toggle::before {
    content: "\25B8";
    font-size: 0.78rem;
    transition: transform 0.18s ease;
}

.career-duties[open] > .career-duties-toggle::before {
    transform: rotate(90deg);
}

.career-duties-toggle:hover,
.career-duties-toggle:focus-visible {
    background: #E8F5E9;
    border-color: #66BB6A;
    outline: none;
}

.career-duties-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #335C3B;
}

.career-duties-list li {
    margin-bottom: 0.3rem;
}

.career-duties-list li:last-child {
    margin-bottom: 0;
}

@keyframes career-duties-reveal {
    from {
        opacity: 0;
        transform: translateY(-3px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.career-duties[open] .career-duties-list {
    animation: career-duties-reveal 0.18s ease-out;
}

@media (prefers-reduced-motion: reduce) {
    .career-duties[open] .career-duties-list {
        animation: none;
    }
}

@media (max-width: 768px) {
    .careers-filter-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .careers-filter-grid .filter-btns {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .careers-filter-grid .btn-filter,
    .careers-filter-grid .back-pill {
        width: 100%;
        min-height: 44px;
    }

    .careers-table-wrap {
        overflow-x: visible;
    }

    .careers-table,
    .careers-table tbody {
        display: block;
        width: 100%;
    }

    .careers-table thead {
        display: none;
    }

    .careers-table tbody tr {
        display: flex;
        flex-direction: column;
        gap: 0.55rem;
        background: #FFFFFF;
        border: 1px solid #C8E6C9;
        border-radius: 10px;
        padding: 1rem;
        margin-bottom: 0.85rem;
        box-shadow: 0 1px 2px rgba(27, 94, 32, 0.05);
    }

    .careers-table tbody tr:last-child {
        margin-bottom: 0;
    }

    .careers-table tbody tr:hover {
        background: #FFFFFF;
    }

    .careers-table tbody td {
        display: block;
        width: 100%;
        padding: 0;
        border-bottom: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .careers-table tbody td:first-child {
        display: none;
    }

    .careers-table .career-duties-toggle {
        min-height: 40px;
        padding: 0.4rem 0.75rem;
    }

    .careers-table .career-employer {
        padding-top: 0.55rem;
        border-top: 1px solid #E8F5E9;
        font-size: 0.9rem;
        color: #1B5E20;
    }

    .careers-table .career-date {
        font-size: 0.9rem;
        color: #1B5E20;
    }

    .careers-table .career-meta-label {
        display: inline;
        font-size: 0.82rem;
        font-weight: 600;
        color: #4A6B4E;
        margin-right: 0.35rem;
    }

    .careers-table .career-action {
        padding-top: 0.35rem;
    }

    .careers-table .btn-apply {
        width: 100%;
        min-height: 44px;
    }

    .careers-table .career-action-closed {
        display: flex;
        width: 100%;
        align-items: stretch;
        gap: 0.45rem;
    }

    .careers-table .badge-closed {
        align-self: flex-start;
    }

    .careers-page .pager-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .careers-page .pager-controls {
        justify-content: center;
    }

    .top-banner-inner {
        gap: 0.5rem;
        padding: 10px 16px;
    }

    .top-banner-content {
        text-align: left;
        font-size: 0.84rem;
        line-height: 1.4;
    }
}

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

/* Lightweight loading indicator on submit & PDF download */
.is-loading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: none;
    opacity: 0.85;
    cursor: progress;
}

.is-loading::before {
    content: "";
    width: 0.95em;
    height: 0.95em;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: edu-spin 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes edu-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .is-loading::before {
        width: auto;
        height: auto;
        border: 0;
        border-radius: 0;
        animation: none;
        content: "\2022\2022\2022";
        letter-spacing: 0.1em;
        font-size: 0.85em;
    }
}

.pdf-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.pdf-hint {
    font-size: 0.78rem;
    color: #475569;
}

@media (max-width: 640px) {
    .pdf-action {
        align-items: stretch;
        width: 100%;
    }

    .pdf-hint {
        text-align: center;
    }
}

/* Redesigned 3-column footer arrangement: high-contrast gradient, 44px tap targets, 2-col links <600px */
.site-footer {
    background: linear-gradient(180deg, #F4FAF4 0%, #E8F5E9 35%, #C8E6C9 75%, #A5D6A7 100%);
    color: #0D3B12;
    border-top: 0;
    padding: 2rem 0 1.25rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1.5rem 2.25rem;
    align-items: start;
}

.footer-brand,
.footer-links a,
.footer-tagline,
.footer-related,
.footer-copy,
.footer-legal-link {
    color: #0D3B12;
}

.footer-brand {
    display: inline-block;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.footer-tagline {
    margin-top: 0.35rem;
    font-size: 0.85rem;
    line-height: 1.5;
}

.footer-tagline-source {
    display: inline-block;
    white-space: nowrap;
    margin-top: 0.45rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(13, 59, 18, 0.16);
    font-size: 0.75rem;
    font-weight: 700;
    color: #0D3B12;
}

.footer-heading {
    margin: 0 0 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1B5E20;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1.25rem;
}

.footer-links a,
.footer-legal-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.15rem;
    font-size: 0.88rem;
}

.footer-legal-link {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal-link:hover,
.footer-legal-link:focus-visible {
    color: #1B5E20;
}

.footer-related {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.6rem;
    margin-top: 0.35rem;
}

.footer-related a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 0.95rem;
    color: #0D3B12;
}

.footer-copy {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.25rem 1rem;
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(13, 59, 18, 0.16);
    font-size: 0.84rem;
    text-align: left;
}

@media (max-width: 820px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.35rem 1.75rem;
    }

    .footer-brand-col {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .footer-links {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.15rem 0.75rem;
        width: 100%;
    }

    .footer-links a {
        padding: 0.25rem 0;
    }

    .footer-copy {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
}

.privacy-card {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    padding-right: 3.25rem;
}

.card-close-x {
    position: absolute;
    top: 0.4rem;
    right: 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.75rem;
    line-height: 1;
    color: #1B5E20;
    text-decoration: none;
}

.card-close-x:hover,
.card-close-x:focus-visible {
    background: #E8F5E9;
    color: #0D3B12;
    outline: none;
}

.privacy-card .page-cta {
    margin-top: 1.25rem;
}

/* Slim, mobile-friendly dismissible Top Announcement Banner */
.top-banner {
    background-color: #E8F5E9;
    color: #1B5E20;
    border-bottom: 1px solid #C8E6C9;
    overflow: hidden;
    max-height: 120px;
    opacity: 1;
    transition: max-height 0.22s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.top-banner[hidden] {
    display: none;
}

.top-banner.is-dismissing {
    max-height: 0;
    opacity: 0;
    border-bottom-color: transparent;
}

.top-banner .container {
    max-width: 1200px;
}

.top-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 10px 16px;
}

.top-banner-content {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.4;
    color: #1B5E20;
    text-align: center;
}

.top-banner-cta {
    display: inline;
    color: #2E7D32;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.top-banner-cta:hover,
.top-banner-cta:focus-visible {
    color: #1B5E20;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
}

.top-banner-close {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    margin: -10px -10px -10px 0;
    border: 0;
    background: transparent;
    color: #1B5E20;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.78;
    transition: opacity 0.15s ease, color 0.15s ease;
}

.top-banner-close:hover,
.top-banner-close:focus-visible {
    opacity: 1;
    background: transparent;
    color: #0D3B12;
    outline: 2px solid #66BB6A;
    outline-offset: -4px;
}