@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Roboto:wght@400;500;600;700&display=swap');
/* ==========================================================
   CariSAM — Material Design 3-inspired theme stylesheet
   Sections: tokens, base, header/navigation, homepage, footer,
   responsive behavior, accessibility.
   ========================================================== */

/* 1. DESIGN TOKENS */
:root {
    --md-primary: #245A81;
    --md-on-primary: #FFFFFF;
    --md-primary-container: #D5E9F7;
    --md-secondary: #386A4A;
    --md-secondary-container: #DCEDE0;
    --md-surface: #F8FAFC;
    --md-surface-container: #FFFFFF;
    --md-on-surface: #1B2933;
    --md-on-surface-variant: #425563;
    --md-outline: #CCD7DF;
    --radius-small: 12px;
    --radius-medium: 16px;
    --radius-large: 28px;
    --shadow-card: 0 3px 12px rgba(27, 41, 51, 0.06);
    --nav-hover: #F1F5F9;
    --nav-dropdown-offset: 20px;
}

/* 2. GLOBAL */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Roboto", Arial, sans-serif;
    background: var(--md-surface);
    color: var(--md-on-surface);
    line-height: 1.6;
    font-size: 20px;
}

a {
    color: var(--md-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

.container {
    width: min(100% - 40px, 1200px);
    margin-inline: auto;
}

.section {
    padding: 88px 0;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

/* 3. HEADER AND BRAND */
.skip-link {
    position: absolute;
    left: 16px;
    top: -100px;
    background: var(--md-primary);
    color: white;
    padding: 12px 18px;
    z-index: 1000;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(204, 215, 223, 0.8);
    box-shadow: 0 2px 10px rgba(27, 41, 51, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 105px;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.site-brand:hover {
    text-decoration: none;
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: var(--md-primary);
    color: #FFFFFF;
    font-size: 21px;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(36, 90, 129, 0.16);
    transition: transform 0.2s ease;
}

.site-brand:hover .brand-icon {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    color: var(--md-on-surface);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
}

.brand-subtitle {
    color: var(--md-on-surface-variant);
    font-size: 10px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 4. PRIMARY NAVIGATION */
.site-navigation {
    display: block;
}

.nav-menu,
.nav-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

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

.nav-menu>li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.nav-menu>li:hover,
.nav-menu>li.current-menu-ancestor,
.nav-menu>li.submenu-open {
    background: var(--nav-hover);
}

.nav-menu>li.current-menu-item {
    background: var(--md-primary-container);
}

.nav-menu>li>a {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 6px 11px;
    border-radius: 10px;
    background: transparent;
    color: var(--md-on-surface);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.nav-menu>li>a:hover {
    background: transparent;
    color: var(--md-primary);
    text-decoration: none;
}

.nav-menu>.current-menu-item>a,
.nav-menu>.current-menu-ancestor>a {
    background: transparent;
    color: var(--md-primary);
    font-weight: 600;
}

.nav-menu>li.menu-item-has-children>a {
    padding-right: 3px;
}

.submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 36px;
    margin: 0 4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--md-on-surface-variant);
    cursor: pointer;
    transition: color 0.2s ease;
}

.submenu-toggle:hover,
.submenu-open>.submenu-toggle {
    color: var(--md-primary);
}

.submenu-toggle .chevron {
    display: block;
    width: 7px;
    height: 7px;
    border-right: 1.8px solid currentColor;
    border-bottom: 1.8px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.submenu-open>.submenu-toggle .chevron {
    transform: rotate(225deg);
}

/* 5. DROPDOWNS */
.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    padding: 8px;
    background: white;
    border: 1px solid #E1E8ED;
    border-radius: 14px;
    box-shadow: 0 4px 10px rgba(27, 41, 51, 0.04),
        0 12px 30px rgba(27, 41, 51, 0.12);
    z-index: 200;
}

.nav-menu .submenu-open>.sub-menu {
    display: block;
}

.nav-menu .sub-menu li {
    display: block;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 8px 10px;
    min-height: auto;
    border-radius: 10px;
    color: var(--md-on-surface);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    white-space: normal;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu .current-menu-item>a {
    background: var(--md-primary-container);
    color: var(--md-primary);
    text-decoration: none;
}

/* 6. CONTACT LINK — currently the last top-level menu item */
.nav-menu>li:last-child:hover {
    background: transparent;
}

.nav-menu>li:last-child>a {
    background: var(--md-primary);
    color: white;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 12px;
    margin-left: 6px;
}

.nav-menu>li:last-child>a:hover,
.nav-menu>li:last-child.current-menu-item>a {
    background: #194663;
    color: white;
}

/* 7. MOBILE MENU BUTTON */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 12px;
    background: var(--md-primary-container);
    cursor: pointer;
    padding: 12px;
}

.mobile-menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background: var(--md-primary);
    border-radius: 2px;
}

/* 8. HOMEPAGE HERO */
.hero {
    background: var(--md-primary-container);
    padding: 110px 0;
}

.hero-content {
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 780px;
}

.eyebrow {
    display: block;
    color: var(--md-primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    color: var(--md-on-surface-variant);
    max-width: 640px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 32px;
}

/* 9. BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--md-primary);
    color: var(--md-on-primary);
}

.btn-primary:hover {
    background: #194663;
    color: white;
}

.btn-outline {
    border: 1px solid var(--md-primary);
    color: var(--md-primary);
}

/* 10. SECTION HEADINGS AND CARDS */
.section-heading {
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin-bottom: 12px;
}

.section-heading p {
    color: var(--md-on-surface-variant);
}

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

.feature-card {
    background: var(--md-surface-container);
    border: 1px solid var(--md-outline);
    border-radius: var(--radius-large);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(27, 41, 51, 0.1);
}

.feature-card.green-card {
    background: var(--md-secondary-container);
    border-color: transparent;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: var(--md-primary-container);
    color: var(--md-primary);
    font-size: 26px;
    margin-bottom: 24px;
}

.green-card .card-icon {
    background: #C2DFC9;
    color: var(--md-secondary);
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--md-on-surface-variant);
    margin-bottom: 24px;
}

/* 11. ABOUT */
.about-section {
    background: #EAF2F5;
}

.about-content {
    max-width: 760px;
}

.about-content h2 {
    font-size: clamp(28px, 4vw, 40px);
}

/* 12. FOOTER */
.site-footer {
    background: #1B3547;
    color: white;
    padding: 48px 0;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.footer-inner h2 {
    margin-bottom: 8px;
}

.footer-inner p {
    margin-bottom: 0;
}

/* 13. DESKTOP DROPDOWN POSITIONING */
@media (min-width: 901px) {
    .nav-menu>li.menu-item-has-children>.sub-menu {
        top: calc(100% + var(--nav-dropdown-offset));
        padding: 5px;
    }

    /* Invisible pointer bridge keeps hover working */
    .nav-menu>li.menu-item-has-children>.sub-menu::before {
        content: "";
        position: absolute;
        top: calc(-1 * var(--nav-dropdown-offset));
        left: 0;
        right: 0;
        height: var(--nav-dropdown-offset);
    }

    .nav-menu .sub-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transform: translateY(6px) scale(0.96);
        transform-origin: top center;

        transition:
            opacity 0.2s ease,
            transform 0.2s ease,
            visibility 0.2s ease;
    }

    /* Visible state */
    .nav-menu .submenu-open>.sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translateY(0) scale(1);
    }

    /* Remove extra padding around menu items */
    .nav-menu .sub-menu>li,
    .nav-menu .sub-menu>li:first-child,
    .nav-menu .sub-menu>li:last-child {
        padding: 0;
    }

    /* Reduce padding inside each link */
    .nav-menu .sub-menu>li>a {
        padding: 7px 10px;
        min-height: auto;
        line-height: 1.4;
        border-radius: 8px;
    }
}

/* 14. TABLET AND MOBILE */
@media (max-width: 900px) {
    .header-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        padding-block: 12px;
        min-height: 72px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-navigation {
        display: none;
        width: 100%;
    }

    .site-navigation.is-open {
        display: block;
    }

    .nav-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 0;
    }

    .nav-menu>li {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-menu>li>a {
        flex: 1;
    }

    .nav-menu .sub-menu {
        position: static;
        width: 100%;
        min-width: 0;
        margin: 4px 0 8px;
        padding: 4px 0 4px 16px;
        border: 0;
        border-left: 2px solid var(--md-primary-container);
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }

    .nav-menu>li:last-child>a {
        margin: 8px 0 0;
        justify-content: center;
        text-align: center;
    }

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

@media (max-width: 600px) {
    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 72px 0;
    }

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

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

/* 15. ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .btn,
    .feature-card,
    .brand-icon,
    .nav-menu>li,
    .nav-menu>li>a,
    .submenu-toggle,
    .submenu-toggle .chevron {
        transition: none;
    }
}

/* CariSAM homepage additions: append to assets/css/main.css */
.carisam-home {
    color: var(--md-on-surface, #1c2b36);
}

.carisam-home__container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.carisam-home__hero {
    background: #d8eaf5;
    padding: clamp(55px, 7vw, 105px) 0;
}

.carisam-home__hero-grid,
.carisam-home__work-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: center;
}

.carisam-home__work-grid {
    grid-template-columns: 1fr 1.2fr;
}

.carisam-home__eyebrow {
    color: var(--md-primary, #245a81);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .77rem;
    font-weight: 750;
    margin: 0 0 14px;
}

.carisam-home h1 {
    font-size: clamp(2.15rem, 4vw, 3.8rem);
    line-height: 1.12;
    margin: 0 0 24px;
}

.carisam-home h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.2;
    margin: 0 0 20px;
}

.carisam-home h3 {
    font-size: 1.1rem;
    line-height: 1.35;
    margin: 0 0 12px;
}

.carisam-home p {
    line-height: 1.75;
}

.carisam-home__lead {
    font-size: 1.08rem;
    max-width: 680px;
    margin-bottom: 28px;
}

.carisam-home__button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 22px;
    background: var(--md-primary, #245a81);
    color: white;
    border-radius: 100px;
    font-weight: 650;
    text-decoration: none;
}

.carisam-home__button:hover {
    background: #194663;
    color: white;
}

.carisam-home__section {
    padding: clamp(58px, 7vw, 90px) 0;
}

.carisam-home__section--tinted {
    background: #f1f7fa;
}

.carisam-home__placeholder {
    background: #e6edf1;
    color: #647784;
    border: 2px dashed #b6cbd6;
    border-radius: 22px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 22px;
    font-size: .92rem;
}

.carisam-home__placeholder--hero {
    min-height: 350px;
}

.carisam-home__placeholder--work {
    min-height: 290px;
}

.carisam-home__placeholder--card {
    height: 190px;
    border: 0;
    border-radius: 18px 18px 0 0;
}

.carisam-home__cards {
    display: grid;
    gap: 22px;
    margin-top: 30px;
}

.carisam-home__cards--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.carisam-home__cards--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.carisam-home__card,
.carisam-home__tile {
    background: white;
    border: 1px solid #dce6eb;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(20, 47, 65, .045);
}

.carisam-home__card-body {
    padding: 22px;
}

.carisam-home__tile {
    padding: 24px;
}

.carisam-home__card a,
.carisam-home__tile a {
    color: var(--md-primary, #245a81);
    font-weight: 650;
    text-decoration: none;
}

.carisam-home__card a:hover,
.carisam-home__tile a:hover {
    text-decoration: underline;
}

.carisam-home__tile-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #d9ecf6;
    color: #245a81;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.carisam-home__pending {
    font-size: .84rem;
    color: #607583;
}

@media (max-width: 900px) {
    .carisam-home__cards--four {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .carisam-home__hero-grid,
    .carisam-home__work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .carisam-home__cards--three,
    .carisam-home__cards--four {
        grid-template-columns: 1fr;
    }

    .carisam-home__placeholder--hero {
        min-height: 240px;
    }

    .carisam-home__placeholder--work {
        min-height: 210px;
    }
}

/* 16. HOMEPAGE COLOR SYSTEM — uses existing MD3 tokens */
.carisam-home__section--blue {
    background: var(--md-primary-container);
}

.carisam-home__section--green {
    background: var(--md-secondary-container);
}

.carisam-home__section--tinted {
    background: #EDF3F6;
}

/* A restrained accent above each homepage section heading */
.carisam-home__section>.carisam-home__container>.carisam-home__eyebrow {
    color: var(--md-secondary);
}

.carisam-home__section--blue>.carisam-home__container>.carisam-home__eyebrow {
    color: var(--md-primary);
}

/* More visible but still subtle blue/green accents */
.carisam-home__card {
    border-top: 4px solid var(--md-primary);
}

.carisam-home__card:nth-child(even) {
    border-top-color: var(--md-secondary);
}

.carisam-home__tile {
    border-top: 3px solid var(--md-primary);
}

.carisam-home__tile:nth-child(even) {
    border-top-color: var(--md-secondary);
}

.carisam-home__tile:nth-child(even) .carisam-home__tile-icon {
    background: var(--md-secondary-container);
    color: var(--md-secondary);
}

.carisam-home__card,
.carisam-home__tile {
    transition: transform .2s ease, box-shadow .2s ease;
}

.carisam-home__card:hover,
.carisam-home__tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(27, 41, 51, .1);
}

@media (prefers-reduced-motion: reduce) {

    .carisam-home__card,
    .carisam-home__tile {
        transition: none;
    }
}

/* CariSAM editorial homepage redesign — scoped to .cs-home */
.cs-home {
    --cs-navy: #102f43;
    --cs-blue: #245a81;
    --cs-green: #386a4a;
    --cs-lime: #d8e9aa;
    --cs-ink: #173044;
    --cs-muted: #5e7180;
    --cs-line: #dce5e8;
    background: #f7f9f7;
    color: var(--cs-ink)
}

.cs-home * {
    box-sizing: border-box
}

.cs-wrap {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto
}

.cs-pad {
    padding: 100px 0
}

.cs-home h1,
.cs-home h2,
.cs-home h3 {
    font-family: inherit;
    letter-spacing: -.045em
}

.cs-home h2 {
    font-size: clamp(2.2rem, 4vw, 3.9rem);
    line-height: 1.1;
    margin: 0
}

.cs-home a {
    text-decoration: none
}

.cs-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .73rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--cs-green);
    margin: 0 0 24px
}

.cs-kicker--light {
    color: #cde4bf
}

.cs-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #b8df91
}

.cs-period {
    color: #6eac84
}

.cs-hero {
    background: var(--cs-navy);
    color: white;
    overflow: hidden;
    position: relative
}

.cs-hero:before {
    content: "";
    position: absolute;
    width: 720px;
    height: 720px;
    border-radius: 50%;
    border: 1px solid #ffffff0b;
    left: -420px;
    bottom: -470px;
    pointer-events: none
}

.cs-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 7%;
    align-items: center;
    padding-top: 92px;
    padding-bottom: 75px
}

.cs-hero h1 {
    font-size: clamp(3.2rem, 5.5vw, 5.8rem);
    line-height: 1.02;
    font-weight: 750;
    margin: 0 0 30px;
    letter-spacing: -.065em
}

.cs-hero h1 em {
    font-style: normal;
    color: #c5e4b4
}

.cs-hero__copy>p {
    max-width: 590px;
    color: #d1dfe6;
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 30px
}

.cs-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px
}

.cs-button {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    padding: 15px 23px;
    border-radius: 6px;
    font-weight: 750
}

.cs-button--lime {
    background: var(--cs-lime);
    color: #183d30
}

.cs-button--lime:hover {
    background: #e6f3c2;
    color: #183d30
}

.cs-text-link {
    color: #fff;
    font-weight: 650
}

.cs-text-link:hover {
    color: #d8e9aa
}

.cs-hero__visual {
    min-height: 440px;
    background: linear-gradient(145deg, #2f6a79, #163d52 58%, #315d52);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    overflow: hidden;
    border: 1px solid #ffffff35
}

.cs-visual__top,
.cs-visual__bottom {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: .66rem;
    letter-spacing: .12em;
    font-weight: 750;
    color: #e2f1e8;
    position: relative;
    z-index: 2
}

.cs-visual__art {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center
}

.cs-orbit {
    position: absolute;
    width: 300px;
    height: 300px;
    border: 1px solid #b6d9c65c;
    border-radius: 50%;
    transform: rotate(-28deg) scaleX(.72)
}

.cs-orbit--two {
    width: 410px;
    height: 410px;
    transform: rotate(40deg) scaleX(.8)
}

.cs-orbit--three {
    width: 520px;
    height: 520px;
    transform: rotate(90deg) scaleX(.83)
}

.cs-orbit__core {
    font-size: 11rem;
    font-weight: 800;
    color: #d8e9aa;
    opacity: .82;
    line-height: 1
}

.cs-hero__foot {
    border-top: 1px solid #ffffff25;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    color: #bed0d7;
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase
}

.cs-intro {
    background: #f8faf7
}

.cs-intro__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 13%
}

.cs-intro__right {
    padding-top: 30px
}

.cs-intro__right p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: #536b77;
    margin: 0 0 22px
}

.cs-inline-link {
    display: inline-block;
    margin-top: 10px;
    color: var(--cs-green);
    font-weight: 800;
    border-bottom: 2px solid var(--cs-green);
    padding-bottom: 7px
}

.cs-updates {
    background: #eaf0ed
}

.cs-section-top {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 40px
}

.cs-section-top>p {
    max-width: 270px;
    color: var(--cs-muted);
    margin: 0 0 5px;
    line-height: 1.6
}

.cs-updates__grid {
    display: grid;
    grid-template-columns: 1.45fr 1fr 1fr;
    gap: 20px
}

.cs-story {
    background: white;
    min-width: 0
}

.cs-story__media {
    height: 205px;
    background: #d5e2e0;
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    color: #667f82;
    font-size: .83rem
}

.cs-story__media--featured {
    height: 280px;
    background: linear-gradient(140deg, #a9c9c6, #e0e9df)
}

.cs-story__media--video {
    background: linear-gradient(135deg, #aec4d5, #e5eef0)
}

.cs-story__media--news {
    background: linear-gradient(135deg, #c2d5c3, #e4ebdc)
}

.cs-media-symbol {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 5rem;
    color: #ffffff7a
}

.cs-play {
    position: absolute;
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff9;
    color: var(--cs-blue);
    font-size: 1.1rem
}

.cs-story__body {
    padding: 25px 25px 30px
}

.cs-label {
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .13em;
    color: var(--cs-green)
}

.cs-story h3 {
    font-size: 1.65rem;
    margin: 10px 0 12px
}

.cs-story p {
    color: var(--cs-muted);
    line-height: 1.6
}

.cs-story a {
    font-weight: 800;
    color: var(--cs-blue);
    font-size: .9rem
}

.cs-story a:hover {
    text-decoration: underline
}

.cs-products {
    background: #f9faf8
}

.cs-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--cs-line);
    border-left: 1px solid var(--cs-line)
}

.cs-product {
    min-height: 218px;
    padding: 27px;
    border-right: 1px solid var(--cs-line);
    border-bottom: 1px solid var(--cs-line);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: background .2s
}

.cs-product:hover {
    background: #e9f1eb
}

.cs-product__num {
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .1em;
    color: #71908a
}

.cs-product h3 {
    font-size: 1.35rem;
    line-height: 1.25;
    margin: auto 0 20px;
    max-width: 200px
}

.cs-product__arrow {
    align-self: end;
    color: var(--cs-green);
    font-size: 1.3rem
}

.cs-product--end {
    background: #dbe9d9;
    color: #1e513e
}

.cs-product--end>span:first-child {
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em
}

.cs-product--end strong {
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -.03em
}

.cs-product__ornament {
    align-self: end;
    font-size: 2rem
}

.cs-publications {
    background: #173e4c;
    color: #fff
}

.cs-publications__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 11%
}

.cs-publications h2 {
    margin-bottom: 25px
}

.cs-publications__intro>p:not(.cs-kicker) {
    color: #c2d7dc;
    font-size: 1.08rem;
    line-height: 1.7
}

.cs-publications__graphic {
    font-size: 10rem;
    font-weight: 900;
    line-height: 1;
    color: #b9d6b6;
    opacity: .3;
    margin-top: 35px
}

.cs-publications__graphic span {
    font-size: 3rem
}

.cs-publications__list {
    border-top: 1px solid #ffffff4d
}

.cs-pub-row {
    min-height: 78px;
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #ffffff38;
    color: #fff;
    padding: 10px 4px;
    font-size: 1.05rem;
    font-weight: 700
}

.cs-pub-row:hover {
    color: #d8e9aa
}

.cs-pub-row__num {
    font-size: .7rem;
    color: #a8c5c4;
    letter-spacing: .08em
}

.cs-pub-row>span:last-child {
    font-size: 1.3rem
}

.cs-pub-row--pending {
    color: #e3ebeb
}

.cs-pub-row small {
    font-size: .67rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #aac3c7;
    font-weight: 600
}

.cs-resources {
    background: #f5f8f6
}

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

.cs-resource {
    background: #fff;
    min-height: 245px;
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #e2eae5;
    transition: transform .2s, box-shadow .2s
}

.cs-resource:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px #17304412
}

.cs-resource__top {
    display: flex;
    justify-content: space-between;
    color: var(--cs-green);
    font-size: .8rem;
    font-weight: 800
}

.cs-resource__top span:last-child {
    font-size: 1.3rem
}

.cs-resource h3 {
    font-size: 1.55rem;
    margin: 0 0 10px
}

.cs-resource p {
    font-size: .91rem;
    color: var(--cs-muted);
    line-height: 1.6;
    margin: 0
}

.cs-resource a {
    display: inline-block;
    margin-top: 12px;
    font-weight: 800;
    color: var(--cs-blue)
}

@media(max-width:980px) {
    .cs-hero__grid {
        gap: 4%
    }

    .cs-hero h1 {
        font-size: clamp(2.8rem, 5vw, 4.5rem)
    }

    .cs-updates__grid {
        grid-template-columns: 1fr 1fr
    }

    .cs-story--featured {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .cs-story__media--featured {
        height: 100%;
        min-height: 270px
    }

    .cs-product-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .cs-resources__grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:700px) {
    .cs-wrap {
        width: min(100% - 36px, 1200px)
    }

    .cs-pad {
        padding: 65px 0
    }

    .cs-hero__grid,
    .cs-intro__grid,
    .cs-publications__grid {
        grid-template-columns: 1fr;
        gap: 35px
    }

    .cs-hero__grid {
        padding-top: 70px;
        padding-bottom: 45px
    }

    .cs-hero h1 {
        font-size: clamp(2.8rem, 10vw, 4.2rem)
    }

    .cs-hero__visual {
        min-height: 300px
    }

    .cs-hero__foot {
        font-size: .6rem
    }

    .cs-hero__foot span:last-child {
        display: none
    }

    .cs-intro__right {
        padding-top: 0
    }

    .cs-section-top {
        display: block
    }

    .cs-section-top>p {
        margin-top: 18px
    }

    .cs-updates__grid {
        grid-template-columns: 1fr
    }

    .cs-story--featured {
        grid-column: auto;
        display: block
    }

    .cs-story__media--featured {
        height: 240px;
        min-height: 0
    }

    .cs-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .cs-product {
        min-height: 190px;
        padding: 19px
    }

    .cs-product h3 {
        font-size: 1.13rem
    }

    .cs-publications__graphic {
        display: none
    }

    .cs-resources__grid {
        grid-template-columns: 1fr
    }

    .cs-resource {
        min-height: 200px
    }

    .cs-home h2 {
        font-size: clamp(2rem, 8vw, 3rem)
    }
}

@media(max-width:380px) {
    .cs-product-grid {
        grid-template-columns: 1fr
    }

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

@media(prefers-reduced-motion:reduce) {

    .cs-product,
    .cs-resource {
        transition: none
    }
}


/* CariSAM homepage — Material-inspired standard contrast
   All selectors scoped to .cm-home. Existing header and footer are unchanged. */
.cm-home {
    --cm-green: #345f35;
    --cm-green-dark: #254a29;
    --cm-text: #17221a;
    --cm-muted: #506354;
    --cm-sage: #e2eddb;
    --cm-soft: #f0f5ed;
    --cm-border: #e3ebdf;
    --cm-white: #fbfdf9;
    background: linear-gradient(115deg, #f7fbf5 0%, #eff7ee 52%, #f9fcf8 100%);
    color: var(--cm-text);
    padding: 22px 0 56px;
    font-family: inherit;
}

.cm-home * {
    box-sizing: border-box
}

.cm-home a {
    text-decoration: none
}

.cm-container {
    width: min(1450px, calc(100% - 56px));
    margin-inline: auto
}

.cm-hero {
    background: linear-gradient(112deg, #e1eedb, #dbe9d5 65%, #e6f0e0);
    border-radius: 24px;
    min-height: 430px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 5%;
    padding: 34px 25px 34px 40px;
    align-items: center;
    overflow: hidden
}

.cm-hero__copy {
    padding: 12px 0
}

.cm-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--md-secondary);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--md-on-primary);
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
    white-space: nowrap;
    width: max-content;
    max-width: 100%
}

.cm-pill--outline {
    background: transparent;
    border: 1px solid #aac6a5;
    padding: 8px 13px;
    font-size: 12px
}

.cm-hero h1 {
    font-size: clamp(38px, 4.2vw, 65px);
    letter-spacing: -.05em;
    line-height: 1.07;
    font-weight: 750;
    color: #0d1a10;
    margin: 20px 0 17px;
    max-width: 690px
}

.cm-hero__copy>p {
    font-size: 16px;
    line-height: 1.65;
    color: #3d5542;
    max-width: 590px;
    margin: 0 0 22px
}

.cm-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap
}

.cm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    border-radius: 13px;
    padding: 14px 19px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 2px 5px #1b3e2020;
    transition: transform .2s, background .2s
}

.cm-btn:hover {
    transform: translateY(-2px)
}

.cm-btn--primary {
    background: var(--cm-green);
    color: #fff !important
}

.cm-btn--primary:hover {
    background: var(--cm-green-dark)
}

.cm-btn--secondary {
    background: #f9fcf6;
    color: #17271b !important
}

.cm-hero__photo {
    height: 100%;
    min-height: 340px;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #b3d3b5
}

.cm-hero__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0
}

.cm-hero__photo-corner {
    position: absolute;
    top: 0;
    right: 0;
    width: 85px;
    height: 85px;
    background: #cbdcbd;
    border-radius: 0 0 0 100%;
    opacity: .9
}

.cm-section {
    padding: 24px 12px 6px
}

.cm-section__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 0 22px
}

.cm-section__head h2 {
    font-size: clamp(25px, 2.4vw, 34px);
    font-weight: 750;
    letter-spacing: -.035em;
    line-height: 1.2;
    margin: 0 0 4px;
    color: #102015
}

.cm-section__head p {
    font-size: 15px;
    line-height: 1.5;
    color: var(--cm-muted);
    margin: 0
}

.cm-soft-link {
    background: var(--md-secondary);
    color: #eaf3e5 !important;
    border-radius: 999px;
    padding: 12px 17px;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font-weight: 700;
    font-size: 12px;
    white-space: nowrap
}

.cm-soft-link:hover {
    background: #A9CBA5
}

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

.cm-update {
    background: #f5faf3;
    border: 1px solid var(--cm-border);
    border-radius: 19px;
    min-height: 190px;
    padding: 19px 16px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    box-shadow: 0 2px 9px #20432906
}

.cm-update--featured {
    background: #e0eedb
}

.cm-update__copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1
}

.cm-update h3 {
    font-size: 19px;
    line-height: 1.25;
    letter-spacing: -.02em;
    margin: 13px 0 9px;
    color: #142118
}

.cm-update p {
    font-size: 13px;
    line-height: 1.6;
    color: #465b4b;
    margin: 0 0 16px
}

.cm-card-link {
    margin-top: auto;
    color: #254a2c !important;
    font-size: 13px;
    font-weight: 750;
    display: inline-flex;
    gap: 10px;
    align-items: center
}

.cm-card-link:hover {
    text-decoration: underline
}

.cm-update__thumb {
    width: 34%;
    min-width: 85px;
    max-width: 165px;
    border-radius: 13px;
    overflow: hidden;
    position: relative;
    background: #cadcc8;
    align-self: stretch
}

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

.cm-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #132d20c9;
    color: white;
    width: 43px;
    height: 43px;
    font-size: 17px
}

.cm-bulletin-art {
    width: 35%;
    max-width: 160px;
    min-width: 85px;
    display: grid;
    place-items: center
}

.cm-bulletin-art__paper {
    background: #fff;
    border-radius: 7px;
    width: 100%;
    height: 155px;
    max-height: 100%;
    box-shadow: 0 5px 15px #385b3b25;
    transform: rotate(-2deg);
    padding: 11px 8px;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.cm-bulletin-art__paper small {
    font-size: 11px;
    font-weight: 800;
    color: #285c39
}

.cm-bulletin-art__paper strong {
    font-size: 8px;
    line-height: 1.3;
    color: #263b2b
}

.cm-bulletin-art__paper div {
    flex: 1;
    background: linear-gradient(150deg, #b2d6c0 0%, #5d8f5f 45%, #2e6046 100%);
    border-radius: 3px
}

.cm-bulletin-art__paper span {
    font-size: 6px;
    color: #56715c
}

.cm-panel {
    background: var(--md-secondary-container);
    border: 1px solid #e5ede1;
    border-radius: 22px;
    padding: 24px 22px 22px;
    margin-top: 20px;
    box-shadow: 0 3px 16px #1d412309
}

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

.cm-outlook {
    min-height: 84px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f1f7ee;
    border: 1px solid #e7efe2;
    border-radius: 16px;
    padding: 13px 12px
}

.cm-outlooks a.cm-outlook {
    text-decoration: none;
    cursor: pointer;
    background: #f9fcf6;
    color: #ffffff;
    border: 1px solid #C8DEC3;
    border-radius: 18px;
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.cm-outlooks a.cm-outlook:hover {
    text-decoration: none;
    background: #fbfff9;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(30, 65, 34, .16);
}

.cm-outlooks a.cm-outlook:focus-visible {
    outline: 3px solid #426f43;
    outline-offset: 3px;
}

.cm-outlooks .cm-outlook--inactive {
    cursor: default;
    opacity: .7;
}


/* Climate Outlook cards */

.cm-outlooks .cm-outlook {
    position: relative;
    overflow: hidden;
    min-height: 96px;
    padding: 16px 12px 16px 65px;
    display: flex;
    align-items: center;
    gap: 10px;
}


/* Partially hidden circular SVG icons */


.cm-outlooks .cm-outlook__icon {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);

    width: 70px;
    height: 70px;
    flex: none;

    display: grid;
    place-items: center;

    background: #dcead6;
    border: none;
    border-radius: 50%;
    padding: 0;
    z-index: 1;
}

.cm-outlook:hover .cm-outlook__icon {
    background: #fce8d8;
    color: #e56c13;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Style the SVG itself */

.cm-outlooks .cm-outlook__icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: #ED8736;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}



/* Keep the title above the decorative circle */

.cm-outlooks .cm-outlook h3 {
    position: relative;
    z-index: 2;
    flex: 1;
    margin: 0;
}

/* Keep the arrow on the right */

.cm-outlooks .cm-round-arrow {
    position: relative;
    z-index: 2;
    margin-left: auto;
    flex-shrink: 0;
}


.cm-outlook h3 {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    flex: 1;
    color: #1a2c1e
}

.cm-round-arrow {
    margin-left: auto;
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--md-secondary);
    color: var(--md-on-primary);
    font-size: 16px;
    box-shadow: 0 2px 5px #2d4d3011
}

.cm-outlook--feature {
    background: linear-gradient(120deg, #dcead6, #c2d9b8);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.cm-outlook--feature small {
    font-size: 9px;
    letter-spacing: .06em;
    color: #34583b
}

.cm-outlook--feature strong {
    font-size: 13px;
    max-width: 175px;
    line-height: 1.35;
    color: #19351f
}

.cm-outlook--feature>span {
    position: absolute;
    right: -10px;
    bottom: -25px;
    font-size: 100px;
    color: #8db48a66
}

.cm-tiles {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px
}

.cm-tile {
    min-height: 115px;
    position: relative;
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 16px 10px;
    background: #f9fcf6;
    color: #35613a;
    border: 1px solid #C8DEC3;
    border-radius: 18px;
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

a.cm-tile:hover {
    background: #f9fcf6;
    transform: translateY(-2px)
}

.cm-tile__icon {
    flex: 0 0 33px;
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #dfead9;
    color: #35613a;
    font-size: 25px
}

.cm-tile strong {
    font-size: 12px;
    line-height: 1.45;
    font-weight: 750;
    margin-top: 6px
}

.cm-tile .cm-round-arrow {
    position: absolute;
    right: 10px;
    bottom: 10px
}

.cm-tile__pending {
    position: absolute;
    bottom: 12px;
    right: 10px;
    color: #68806b;
    font-size: 10px
}

.cm-tile--resource {
    min-height: 90px
}

.cm-panel--last {
    margin-bottom: 0
}

@media(max-width:1100px) {
    .cm-hero {
        grid-template-columns: 1fr 0.9fr
    }

    .cm-hero h1 {
        font-size: clamp(34px, 4.4vw, 52px)
    }

    .cm-outlooks {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .cm-tiles {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .cm-updates {
        grid-template-columns: 1fr 1fr
    }

    .cm-update--featured {
        grid-column: span 2
    }
}

@media(max-width:700px) {
    .cm-container {
        width: calc(100% - 28px)
    }

    .cm-home {
        padding-top: 14px
    }

    .cm-hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 25px 20px
    }

    .cm-hero h1 {
        font-size: clamp(34px, 8vw, 48px)
    }

    .cm-hero__photo {
        height: 250px;
        min-height: 250px
    }

    .cm-section {
        padding: 25px 0 5px
    }

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

    .cm-updates {
        grid-template-columns: 1fr
    }

    .cm-update--featured {
        grid-column: auto
    }

    .cm-panel {
        padding: 20px 14px
    }

    .cm-outlooks {
        grid-template-columns: 1fr 1fr
    }

    .cm-tiles {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:450px) {

    .cm-outlooks,
    .cm-tiles {
        grid-template-columns: 1fr
    }

    .cm-tile {
        min-height: 83px
    }

    .cm-update {
        min-height: 175px
    }
}


/* Material-inspired typography for the entire CariSAM site. */
body {
    font-family: 'Roboto', Arial, sans-serif;
}

.site-header,
.site-footer,
header,
footer,
nav,
button,
input,
select,
textarea {
    font-family: 'Roboto', Arial, sans-serif;
}

.cm-home {
    font-family: 'Roboto', Arial, sans-serif;
}

.cm-home h1,
.cm-home h2,
.cm-home h3,
.cm-home .cm-btn,
.cm-home .cm-pill,
.cm-home .cm-soft-link,
.cm-home .cm-card-link,
.cm-home .cm-tile strong,
.cm-home .cm-outlook--feature strong {
    font-family: 'Plus Jakarta Sans', 'Roboto', sans-serif;
}

.cm-home h1 {
    font-weight: 800;
    letter-spacing: -0.045em;
}

.cm-home h2 {
    font-weight: 800;
    letter-spacing: -0.035em;
}

.cm-home h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}


/* =====================================================
   CariSAM Material-inspired green header
   CSS-only update: works with existing header.php and
   WordPress menu markup. Append AFTER existing main.css.
   ===================================================== */
:root {
    --md-primary: #345f35;
    --md-on-primary: #ffffff;
    --md-primary-container: #e2eddb;
    --md-secondary: #386a4a;
    --md-secondary-container: #e5f0df;
    --md-surface: #f8fbf6;
    --md-surface-container: #ffffff;
    --md-on-surface: #17221a;
    --md-on-surface-variant: #4c6151;
    --md-outline: #d8e5d4;
    --nav-hover: #edf5e9;
    --nav-dropdown-offset: 12px;
}

.site-header {
    background: rgba(251, 253, 249, .96);
    border-bottom: 1px solid #e3ebdf;
    box-shadow: 0 5px 22px rgba(29, 57, 32, .07);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(100% - 48px, 1450px);
    min-height: 105px;
    gap: clamp(10px, 1.7vw, 24px);
}

.site-brand {
    gap: 12px;
}

.brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: #345f35;
    color: #fff;
    font-family: "Plus Jakarta Sans", "Roboto", sans-serif;
    font-size: 25px;
    font-weight: 800;
    box-shadow: 0 3px 9px rgba(28, 67, 34, .15);
}

.brand-name {
    color: #17221a;
    font-family: "Plus Jakarta Sans", "Roboto", sans-serif;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.045em;
}

.brand-subtitle {
    color: #4b6550;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.25px;
}

.nav-menu {
    gap: 2px;
}

.nav-menu>li {
    border-radius: 999px;
}

.nav-menu>li:hover,
.nav-menu>li.current-menu-ancestor,
.nav-menu>li.submenu-open {
    background: #edf5e9;
}

.nav-menu>li.current-menu-item {
    background: #e2eddb;
}

.nav-menu>li>a {
    min-height: 42px;
    padding: 8px 12px;
    border-radius: 999px;
    color: #1d2c20;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
}

.nav-menu>li>a:hover,
.nav-menu>.current-menu-item>a,
.nav-menu>.current-menu-ancestor>a {
    color: #254b2a;
}

.nav-menu>li.menu-item-has-children>a {
    padding-right: 3px;
}

.submenu-toggle {
    height: 42px;
    width: 24px;
    color: #3b5740;
}

.submenu-toggle:hover,
.submenu-open>.submenu-toggle {
    color: #254b2a;
}

.nav-menu .sub-menu {
    min-width: 245px;
    padding: 8px;
    background: #fff;
    border: 1px solid #e5ede1;
    border-radius: 17px;
    box-shadow: 0 12px 34px rgba(28, 58, 32, .14), 0 3px 9px rgba(28, 58, 32, .05);
}

.nav-menu .sub-menu a {
    padding: 11px 13px;
    border-radius: 11px;
    color: #253b29;
    font-size: 13px;
    font-weight: 500;
}

.nav-menu .sub-menu a:hover,
.nav-menu .sub-menu .current-menu-item>a {
    background: #edf5e9;
    color: #254b2a;
}

.nav-menu>li:last-child:hover {
    background: transparent;
}

.nav-menu>li:last-child>a {
    background: #345f35;
    color: #fff;
    border-radius: 14px;
    padding: 8px 22px;
    margin-left: 8px;
    min-height: 43px;
    font-weight: 700;
    box-shadow: 0 3px 9px rgba(28, 67, 34, .11);
}

.nav-menu>li:last-child>a:hover,
.nav-menu>li:last-child.current-menu-item>a {
    background: #254b2a;
    color: #fff;
}

.mobile-menu-toggle {
    border-radius: 13px;
    background: #edf5e9;
    color: #254b2a;
}

.mobile-menu-toggle:hover {
    background: #e1eedb;
}

@media(min-width:901px) and (max-width:1190px) {
    .header-inner {
        width: calc(100% - 28px);
        gap: 8px;
    }

    .brand-icon {
        width: 40px;
        height: 40px;
    }

    .brand-name {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 9px;
    }

    .nav-menu>li>a {
        font-size: 12px;
        padding-inline: 8px;
    }

    .nav-menu>li:last-child>a {
        padding-inline: 14px;
    }
}

@media(max-width:900px) {
    .header-inner {
        width: calc(100% - 32px);
        min-height: 95px;
        padding-block: 10px;
    }

    .site-navigation.is-open {
        background: #fbfdf9;
        border: 1px solid #e5ede1;
        border-radius: 18px;
        padding: 8px 12px 12px;
        box-shadow: 0 8px 25px rgba(29, 57, 32, .08);
    }

    .nav-menu>li {
        border-radius: 12px;
    }

    .nav-menu>li>a {
        min-height: 45px;
        border-radius: 12px;
        font-size: 14px;
    }

    .nav-menu .sub-menu {
        background: #f3f8f0;
        border-radius: 12px;
        padding: 6px;
        margin: 4px 0 10px;
    }

    .nav-menu>li:last-child>a {
        margin: 8px 0 0;
    }
}

@media(max-width:400px) {
    .brand-icon {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .brand-name {
        font-size: 19px;
    }
}


/* =========================================================
   CariSAM — Material-inspired footer
   Uses independent .cm-footer classes, compatible with
   existing WordPress header and homepage.
   ========================================================= */
.cm-footer {
    background: #e4eedf;
    color: #203725;
    font-family: "Roboto", Arial, sans-serif;
    border-top: 1px solid #d7e6d0;
    padding: 34px 28px 22px;
}

.cm-footer * {
    box-sizing: border-box;
}

.cm-footer__shell {
    width: min(1390px, 100%);
    margin-inline: auto;
    background: #f7faf4;
    border: 1px solid #e0e9db;
    border-radius: 25px;
    padding: 40px 44px 22px;
    box-shadow: 0 7px 24px rgba(33, 69, 38, .055);
}

.cm-footer__top {
    display: grid;
    grid-template-columns: minmax(220px, .9fr) minmax(0, 1.5fr);
    gap: clamp(35px, 6vw, 105px);
    padding-bottom: 42px;
}

.cm-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    color: #162b1b;
    text-decoration: none;
}

.cm-footer__brand:hover {
    color: #162b1b;
}


.cm-footer__wordmark {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cm-footer__wordmark strong {
    font: 800 23px/1.2 "Plus Jakarta Sans", "Roboto", sans-serif;
    letter-spacing: -.045em;
}

.cm-footer__wordmark small {
    color: #526b54;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.25px;
}

.cm-footer__identity>p {
    max-width: 310px;
    margin: 20px 0 17px;
    font-size: 15px;
    line-height: 1.7;
    color: #4d6250;
}

.cm-footer__tag {
    display: inline-block;
    padding: 8px 12px;
    background: #e6f0e1;
    color: #355c39;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 650;
}

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

.cm-footer__group h2 {
    font: 750 14px/1.3 "Plus Jakarta Sans", "Roboto", sans-serif;
    margin: 5px 0 19px;
    color: #1d3522;
}

.cm-footer__group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cm-footer__group li {
    margin: 0 0 12px;
}

.cm-footer__group a {
    color: #4b6250;
    font-size: 13px;
    line-height: 1.5;
    text-decoration: none;
}

.cm-footer__group a:hover {
    color: #24542c;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cm-footer__location p {
    margin: 0;
    color: #4b6250;
    font-size: 13px;
    line-height: 1.75;
}

.cm-footer__bottom {
    border-top: 1px solid #dfe9da;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    font-size: 12px;
    color: #657669;
}

.cm-footer__bottom a {
    color: #345f35;
    font-weight: 700;
    text-decoration: none;
}

.cm-footer__bottom a:hover {
    text-decoration: underline;
}

@media(max-width:900px) {
    .cm-footer__top {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media(max-width:650px) {
    .cm-footer {
        padding: 18px 14px;
    }

    .cm-footer__shell {
        padding: 27px 22px 19px;
        border-radius: 19px;
    }

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

    .cm-footer__location {
        grid-column: 1/-1;
    }

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

/* About CariSAM — Material-inspired page, scoped to avoid header/footer changes. */
.cm-about {
    --cm-about-ink: #17221a;
    --cm-about-muted: #4e6252;
    --cm-about-green: #345f35;
    background: linear-gradient(120deg, #f6faf3 0%, #edf5e9 100%);
    color: var(--cm-about-ink);
    min-height: 65vh;
    padding: clamp(35px, 5vw, 70px) 20px clamp(65px, 7vw, 105px);
    font-family: "Roboto", Arial, sans-serif;
}

.cm-about * {
    box-sizing: border-box;
}

.cm-about__container {
    width: min(1120px, 100%);
    margin-inline: auto;
}

.cm-about__heading {
    margin: 0 0 27px;
}

.cm-about__eyebrow {
    display: inline-block;
    margin: 0 0 13px;
    color: var(--cm-about-green);
    background: #e0edda;
    padding: 7px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
}

.cm-about__heading h1 {
    font-family: "Plus Jakarta Sans", "Roboto", Arial, sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    letter-spacing: -.04em;
    font-weight: 750;
    color: var(--cm-about-ink);
    margin: 0;
}

.cm-about__surface {
    background: #fbfdf9;
    border: 1px solid #e0e9db;
    border-radius: 22px;
    box-shadow: 0 5px 22px rgba(30, 64, 35, .055);
    padding: clamp(24px, 4vw, 50px);
}

.cm-about__surface p {
    color: var(--cm-about-muted);
    font-size: 16px;
    line-height: 1.85;
    margin: 0 0 24px;
}

.cm-about__surface p:last-child {
    margin-bottom: 0;
}

.cm-about__surface a {
    color: #285e32;
    text-decoration: underline;
    text-underline-offset: 3px;
    overflow-wrap: anywhere;
}

.cm-about__surface a:hover {
    color: #183c21;
}

@media (max-width: 600px) {
    .cm-about {
        padding-inline: 14px;
    }

    .cm-about__surface {
        border-radius: 17px;
    }

    .cm-about__surface p {
        font-size: 15px;
        line-height: 1.75;
    }
}

/* CariSAM Functions & Benefits — six-card Material-inspired page */
.cm-functions {
    background: linear-gradient(125deg, #f6faf4, #eef6ec);
    color: #17221a;
    padding: 44px 24px 80px;
    font-family: "Roboto", Arial, sans-serif;
    min-height: 60vh
}

.cm-functions * {
    box-sizing: border-box
}

.cm-functions__wrap {
    max-width: 1130px;
    margin: 0 auto
}

.cm-functions__heading {
    margin-bottom: 28px
}

.cm-functions__eyebrow {
    display: inline-block;
    color: #345f35;
    background: #e2eddb;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .09em
}

.cm-functions__heading h1 {
    font: 750 clamp(34px, 4vw, 54px)/1.13 "Plus Jakarta Sans", "Roboto", sans-serif;
    letter-spacing: -.045em;
    margin: 18px 0 12px;
    color: #152a19
}

.cm-functions__heading p {
    font-size: 16px;
    line-height: 1.65;
    color: #4c6250;
    margin: 0;
    max-width: 700px
}

.cm-functions__paper {
    background: #fbfdf9;
    border: 1px solid #e1eadd;
    border-radius: 22px;
    padding: clamp(24px, 4vw, 45px);
    box-shadow: 0 5px 18px rgba(33, 69, 38, .055)
}

.cm-functions__paper h2,
.cm-functions__section-heading h2 {
    font: 750 clamp(22px, 2.5vw, 29px)/1.25 "Plus Jakarta Sans", "Roboto", sans-serif;
    letter-spacing: -.025em;
    color: #203925;
    margin: 0 0 17px
}

.cm-functions__paper p {
    font-size: 16px;
    line-height: 1.85;
    color: #405246;
    margin: 0 0 22px
}

.cm-functions__paper p:last-child {
    margin-bottom: 0
}

.cm-functions__benefits {
    margin-top: 40px
}

.cm-functions__section-heading {
    margin-bottom: 21px
}

.cm-functions__section-heading h2 {
    margin-bottom: 8px
}

.cm-functions__section-heading p {
    color: #506653;
    font-size: 15px;
    line-height: 1.6;
    margin: 0
}

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

.cm-functions__card {
    background: #fbfdf9;
    border: 1px solid #e1eadd;
    border-radius: 21px;
    padding: 27px 24px 29px;
    box-shadow: 0 4px 14px rgba(33, 69, 38, .045);
    transition: transform .2s ease, box-shadow .2s ease
}

.cm-functions__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(33, 69, 38, .09)
}

.cm-functions__card-icon {
    display: grid;
    place-items: center;
    width: 49px;
    height: 49px;
    border-radius: 15px;
    background: #e2eddb;
    color: #345f35;
    font: 750 17px/1 "Plus Jakarta Sans", "Roboto", sans-serif;
    letter-spacing: -.02em;
    margin-bottom: 22px
}

.cm-functions__card h3 {
    font: 750 19px/1.35 "Plus Jakarta Sans", "Roboto", sans-serif;
    color: #203925;
    margin: 0 0 12px;
    letter-spacing: -.02em
}

.cm-functions__card p {
    font-size: 14px;
    line-height: 1.78;
    color: #4a6050;
    margin: 0
}

@media(max-width:900px) {
    .cm-functions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:600px) {
    .cm-functions {
        padding: 28px 14px 50px
    }

    .cm-functions__paper {
        border-radius: 18px
    }

    .cm-functions__grid {
        grid-template-columns: 1fr;
        gap: 13px
    }

    .cm-functions__card {
        padding: 23px
    }

    .cm-functions__benefits {
        margin-top: 31px
    }
}

@media(prefers-reduced-motion:reduce) {
    .cm-functions__card {
        transition: none
    }

    .cm-functions__card:hover {
        transform: none
    }
}

/* CariSAM hero image carousel */

.cm-hero__carousel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.cm-hero__carousel .cm-hero__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 900ms ease, visibility 900ms ease;
}

.cm-hero__carousel .cm-hero__slide.is-active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Keep existing decorative corner above the images */
.cm-hero__carousel .cm-hero__photo-corner {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

/* Carousel indicators */
.cm-hero__dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 13px;
    border-radius: 30px;
    background: rgba(20, 40, 25, 0.35);
    backdrop-filter: blur(8px);
}

.cm-hero__dot {
    appearance: none;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    cursor: pointer;
    transition: width .25s ease, background .25s ease;
}

.cm-hero__dot.is-active {
    width: 25px;
    border-radius: 10px;
    background: #ffffff;
}

.cm-hero__dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {

    .cm-hero__carousel .cm-hero__slide,
    .cm-hero__dot {
        transition: none;
    }
}

/* CariSAM Contact — scoped to this page only */
.cm-contact {
    --cc-green: #345f35;
    --cc-dark: #17271b;
    --cc-muted: #506354;
    --cc-border: #dfe8dc;
    --cc-sage: #e2eddb;
    color: var(--cc-dark);
    background: #f7faf5;
    font-family: Roboto, Arial, sans-serif;
    padding: 28px 20px 90px
}

.cm-contact * {
    box-sizing: border-box
}

.cm-contact__wrap {
    max-width: 1180px;
    margin: 0 auto
}

.cm-contact__hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: #e2eddb;
    border-radius: 28px;
    padding: 58px 64px;
    margin-bottom: 28px;
    overflow: hidden
}

.cm-contact__intro {
    max-width: 660px
}

.cm-contact__eyebrow {
    display: inline-block;
    border: 1px solid #a6c3a0;
    border-radius: 100px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .09em;
    color: #345f35;
    margin-bottom: 22px
}

.cm-contact h1,
.cm-contact h2,
.cm-contact h3 {
    font-family: 'Plus Jakarta Sans', Roboto, Arial, sans-serif;
    letter-spacing: -.035em;
    color: var(--cc-dark)
}

.cm-contact h1 {
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.12;
    margin: 0 0 18px;
    font-weight: 800
}

.cm-contact__intro p {
    max-width: 590px;
    color: #435848;
    font-size: 17px;
    line-height: 1.7;
    margin: 0
}

.cm-contact__mark {
    flex: 0 0 175px;
    width: 175px;
    height: 175px;
    border-radius: 45px;
    background: #c9dfc2;
    display: grid;
    place-items: center;
    transform: rotate(-10deg)
}

.cm-contact__mark span {
    font-size: 85px;
    color: #345f35;
    transform: rotate(10deg)
}

.cm-contact__grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 24px;
    align-items: stretch
}

.cm-contact__card,
.cm-contact__reach {
    border-radius: 26px;
    padding: 40px 42px;
    border: 1px solid var(--cc-border)
}

.cm-contact__card {
    background: #fff
}

.cm-contact__card h2,
.cm-contact__reach h2 {
    font-size: 28px;
    line-height: 1.25;
    margin: 0 0 10px;
    font-weight: 800
}

.cm-contact__lead {
    color: var(--cc-muted);
    margin: 0 0 24px;
    line-height: 1.6
}

.cm-contact__detail {
    display: flex;
    gap: 17px;
    padding: 22px 0;
    border-top: 1px solid #e8eee5;
    align-items: flex-start
}

.cm-contact__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 15px;
    background: #edf4e9;
    display: grid;
    place-items: center;
    color: #345f35;
    font-size: 25px
}

.cm-contact__detail h3 {
    font-size: 15px;
    font-weight: 800;
    margin: 1px 0 8px;
    letter-spacing: 0
}

.cm-contact__detail address {
    font-style: normal
}

.cm-contact__detail address,
.cm-contact__detail a,
.cm-contact__detail div>span {
    font-size: 15px;
    line-height: 1.65;
    color: #435848
}

.cm-contact__detail a {
    text-decoration: none;
    color: #345f35;
    overflow-wrap: anywhere
}

.cm-contact__detail a:hover {
    text-decoration: underline
}

.cm-contact__detail .cm-contact__subline {
    display: block;
    margin-top: 2px
}

.cm-contact__reach {
    background: #eaf2e5;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden
}

.cm-contact__reach:after {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #d6e7ce;
    right: -85px;
    bottom: -95px;
    pointer-events: none
}

.cm-contact__reach-icon {
    width: 66px;
    height: 66px;
    background: #d6e7ce;
    color: #345f35;
    display: grid;
    place-items: center;
    border-radius: 20px;
    font-size: 34px;
    margin-bottom: 28px
}

.cm-contact__reach h2 {
    max-width: 340px;
    font-size: clamp(27px, 3vw, 37px)
}

.cm-contact__reach p {
    color: #4c6050;
    line-height: 1.75;
    font-size: 16px;
    max-width: 380px;
    margin: 12px 0 28px
}

.cm-contact__button {
    display: inline-flex;
    align-items: center;
    gap: 34px;
    background: #345f35;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    padding: 15px 20px;
    border-radius: 13px;
    transition: background .2s, transform .2s
}

.cm-contact__button:hover {
    background: #254a29;
    transform: translateY(-2px)
}

.cm-contact__button:focus-visible,
.cm-contact a:focus-visible {
    outline: 3px solid #7da57b;
    outline-offset: 3px
}

.cm-contact__reach-email {
    font-size: 13px;
    color: #506354;
    margin-top: 18px
}

@media(max-width:780px) {
    .cm-contact {
        padding: 18px 14px 55px
    }

    .cm-contact__hero {
        padding: 36px 28px;
        border-radius: 22px
    }

    .cm-contact__mark {
        display: none
    }

    .cm-contact__grid {
        grid-template-columns: 1fr
    }

    .cm-contact__card,
    .cm-contact__reach {
        padding: 30px 26px;
        border-radius: 22px
    }

    .cm-contact__reach {
        min-height: 350px
    }
}

@media(max-width:420px) {
    .cm-contact__hero {
        padding: 30px 23px
    }

    .cm-contact__card,
    .cm-contact__reach {
        padding: 27px 22px
    }

    .cm-contact__intro p {
        font-size: 15px
    }
}

/* Ensure dropdowns are positioned relative to their parent */
.site-navigation .nav-menu>li {
    position: relative;
}

/* Create an invisible hover bridge between menu and submenu */
.site-navigation .nav-menu>li.menu-item-has-children::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 18px;
    background: transparent;
}

/* Keep submenu open when hovering over parent or submenu */
.site-navigation .nav-menu li:hover>.sub-menu,
.site-navigation .nav-menu li:focus-within>.sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}



/* =========================================
   CariSAM - Clean nested dropdowns
   Desktop only
   ========================================= */

@media (min-width: 901px) {

    .site-header {
        position: relative;
        z-index: 1000;
    }

    .site-navigation,
    .site-navigation .nav-menu,
    .site-navigation .nav-menu li,
    .site-navigation .sub-menu {
        overflow: visible;
    }

    .site-navigation .nav-menu li {
        position: relative;
    }

    /* First-level dropdown */
    .site-navigation .nav-menu>li>.sub-menu {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;
        right: auto;
        min-width: 220px;
    }

    /* Third-level dropdown: open to the LEFT */
    .site-navigation .nav-menu .sub-menu .sub-menu {
        position: absolute;
        top: 0;
        left: auto;
        right: calc(100% + 6px);
        width: 255px;
        min-width: 255px;
        padding: 8px;
        margin: 0;
        background: #fbfdf9;
        border: 1px solid #e3ebdf;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(30, 60, 35, .12);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 1100;
    }

    /* Only open submenu of hovered item */
    .site-navigation .nav-menu li:hover>.sub-menu,
    .site-navigation .nav-menu li:focus-within>.sub-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Bridge below top-level menu */
    .site-navigation .nav-menu>li.menu-item-has-children::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: 12px;
        background: transparent;
    }

    /* Bridge to the left for nested menus */
    .site-navigation .sub-menu li.menu-item-has-children::after {
        content: "";
        position: absolute;
        top: 0;
        left: -12px;
        width: 12px;
        height: 100%;
        background: transparent;
    }

    /* Third-level links */
    .site-navigation .sub-menu .sub-menu a {
        display: block;
        padding: 11px 14px;
        border-radius: 10px;
        color: #254a29;
        font-size: 14px;
        line-height: 1.4;
        white-space: normal;
    }

    .site-navigation .sub-menu .sub-menu a:hover,
    .site-navigation .sub-menu .sub-menu a:focus-visible {
        background: #e2eddb;
        color: #17221a;
    }

    /* Keep submenu indicators inline */
    .site-navigation .sub-menu li.menu-item-has-children>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
    }

    /* Remove arrow added by previous nested-menu CSS */
    .site-navigation .sub-menu li.menu-item-has-children>a::after {
        content: none;
    }
}


/* Fix nested dropdown arrow alignment */
@media (min-width: 901px) {

    /* Keep the label and arrow on the same line */
    .site-navigation .nav-menu .sub-menu li.menu-item-has-children>a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        width: 100%;
    }

    /* Hide the original arrow if it is a separate element */
    .site-navigation .nav-menu .sub-menu li.menu-item-has-children>.submenu-toggle {
        display: none;
    }

    /* Add a clean right-facing arrow inside the link */
    .site-navigation .nav-menu .sub-menu li.menu-item-has-children>a::after {
        content: "›";
        display: inline-block;
        position: static;
        flex-shrink: 0;
        font-size: 20px;
        line-height: 1;
        color: #345f35;
        transform: none;
        border: 0;
        width: auto;
        height: auto;
        margin: 0;
    }
}


/* CariSAM publication catalogue: scoped to this page */
.cs-agro {
    --ag-green: #345f35;
    --ag-ink: #17221a;
    --ag-muted: #506354;
    --ag-line: #e3ebdf;
    background: #f4f8f1;
    color: var(--ag-ink);
    padding: 34px 20px 90px;
    font-family: inherit
}

.cs-agro * {
    box-sizing: border-box
}

.cs-agro__wrap {
    max-width: 1180px;
    margin: 0 auto
}

.cs-agro__crumb {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: var(--ag-muted);
    margin-bottom: 22px
}

.cs-agro__crumb a {
    color: var(--ag-green);
    text-decoration: none
}

.cs-agro__hero {
    border-radius: 25px;
    padding: 48px 54px;
    background: linear-gradient(115deg, #e0edd9, #eef5e9);
    margin-bottom: 28px
}

.cs-agro__eyebrow {
    font-size: 12px;
    letter-spacing: .09em;
    font-weight: 700;
    color: var(--ag-green)
}

.cs-agro__hero h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.13;
    letter-spacing: -.035em;
    margin: 15px 0;
    color: var(--ag-ink);
    font-weight: 750
}

.cs-agro__hero p {
    max-width: 700px;
    font-size: 16px;
    line-height: 1.75;
    color: #3d5541;
    margin: 0
}

.cs-agro__toolbar {
    background: #fbfdf9;
    border: 1px solid var(--ag-line);
    border-radius: 19px;
    padding: 22px;
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap
}

.cs-agro__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap
}

.cs-agro__toolbar input {
    flex: 1 1 310px;
    min-width: 0;
    padding: 14px 17px;
    border: 1px solid #ccd9c9;
    border-radius: 12px;
    background: white;
    font: inherit;
    font-size: 14px;
    color: var(--ag-ink);
    outline-offset: 3px
}

.cs-agro__toolbar input:focus {
    border-color: var(--ag-green)
}

.cs-agro__filters {
    display: flex;
    gap: 7px;
    flex-wrap: wrap
}

.cs-agro__filters button {
    cursor: pointer;
    border: 0;
    background: #eaf1e6;
    color: #28442d;
    border-radius: 999px;
    padding: 11px 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 650
}

.cs-agro__filters button.is-active {
    background: var(--ag-green);
    color: #fff
}

.cs-agro__filters button:focus-visible,
.cs-agro a:focus-visible {
    outline: 3px solid #8caf82;
    outline-offset: 3px
}

.cs-agro__count {
    color: var(--ag-muted);
    font-size: 13px;
    margin: 24px 0 16px
}

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

.cs-agro__card {
    background: #fbfdf9;
    border: 1px solid var(--ag-line);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    min-height: 255px;
    box-shadow: 0 3px 12px rgba(37, 74, 41, .035);
    transition: transform .18s, box-shadow .18s
}

.cs-agro__card:hover {
    transform: translateY(-3px);
    box-shadow: 0 9px 25px rgba(37, 74, 41, .09)
}

.cs-agro__card[hidden] {
    display: none !important
}

.cs-agro__meta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--ag-muted);
    font-size: 12px;
    margin-bottom: 15px
}

.cs-agro__type {
    padding: 5px 10px;
    background: #e2eddb;
    color: #254a29;
    border-radius: 999px;
    font-weight: 700
}

.cs-agro__card h2 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: -.01em;
    margin: 0 0 14px;
    color: var(--ag-ink)
}

.cs-agro__authors,
.cs-agro__source,
.cs-agro__doi {
    font-size: 13px;
    line-height: 1.55;
    color: var(--ag-muted);
    margin: 0 0 9px
}

.cs-agro__source {
    font-weight: 650
}

.cs-agro__doi {
    overflow-wrap: anywhere
}

.cs-agro__bottom {
    margin-top: auto;
    padding-top: 20px
}

.cs-agro__bottom a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ag-green);
    font-weight: 700;
    font-size: 13px;
    text-decoration: none
}

.cs-agro__bottom a:hover {
    text-decoration: underline
}

.cs-agro__unavailable {
    color: #69756a;
    font-size: 13px
}

.cs-agro__empty {
    padding: 35px;
    text-align: center;
    color: var(--ag-muted);
    background: #fbfdf9;
    border-radius: 16px
}

.cs-agro__empty[hidden] {
    display: none !important
}

@media(max-width:950px) {
    .cs-agro__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:620px) {
    .cs-agro {
        padding: 24px 14px 60px
    }

    .cs-agro__hero {
        padding: 32px 25px
    }

    .cs-agro__grid {
        grid-template-columns: 1fr
    }

    .cs-agro__toolbar {
        padding: 16px
    }

    .cs-agro__filters {
        width: 100%
    }

    .cs-agro__filters button {
        flex: 1
    }

    .cs-agro__card {
        min-height: 0
    }
}


/* ==========================================
   CARISAM PUBLICATIONS
   ========================================== */

.cs-publications {
    background: #f5f8f3;
    min-height: 70vh;
    padding-bottom: 90px;
    color: #17221a;
}

.cs-publications-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Page header */

.cs-publications-hero {
    background: #e4eddf;
    padding: 68px 0 72px;
    border-bottom: 1px solid #d7e4d2;
}

.cs-publications-eyebrow {
    display: inline-block;
    color: #345f35;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cs-publications-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.2;
    font-weight: 750;
    color: #193d26;
    margin: 0 0 16px;
}

.cs-publications-hero p {
    font-size: 17px;
    line-height: 1.7;
    color: #536b56;
    max-width: 680px;
    margin: 0;
}

.cs-publications-content {
    padding-top: 54px;
}

/* Section headings */

.cs-publications-section {
    margin-bottom: 58px;
}

.cs-publications-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #dce6d9;
}

.cs-publications-label {
    display: block;
    color: #67836b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
}

.cs-publications-section-header h2 {
    font-size: 29px;
    font-weight: 700;
    color: #1e422b;
    margin: 0;
}

.cs-publications-count {
    background: #e3eddf;
    color: #345f35;
    border-radius: 30px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 650;
    white-space: nowrap;
}

/* Publication cards */

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

.cs-publication-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid #e0e9dc;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 3px 14px rgba(32, 65, 35, 0.035);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.cs-publication-card:hover {
    transform: translateY(-3px);
    border-color: #b9d0b3;
    box-shadow: 0 10px 26px rgba(32, 65, 35, 0.08);
}

.cs-publication-type {
    display: inline-flex;
    background: #e6f0e1;
    color: #345f35;
    border-radius: 30px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
}

.cs-publication-card h3 {
    font-size: 19px;
    line-height: 1.45;
    font-weight: 700;
    color: #203c28;
    margin: 0 0 12px;
    overflow-wrap: anywhere;
}

.cs-publication-author {
    font-size: 14px;
    color: #607263;
    line-height: 1.6;
    margin: 0 0 10px;
}

.cs-publication-year {
    color: #718373;
    font-size: 13px;
    margin-bottom: 18px;
}

.cs-publication-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: auto;
    padding-top: 14px;
    color: #345f35;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cs-publication-link:hover {
    color: #1d4626;
    text-decoration: underline;
}

/* Empty section */

.cs-publications-section-empty {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    border: 1px dashed #c9d9c3;
    border-radius: 18px;
    padding: 30px;
}

.cs-publications-section-empty>span {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    background: #edf4e9;
    border-radius: 16px;
    font-size: 26px;
}

.cs-publications-section-empty h3 {
    color: #294d30;
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 6px;
}

.cs-publications-section-empty p {
    color: #718373;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Entire category empty */

.cs-publications-empty {
    background: #ffffff;
    border: 1px solid #e0e9dc;
    border-radius: 24px;
    padding: 76px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
}

.cs-publications-empty-icon {
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e5efdf;
    font-size: 38px;
    margin-bottom: 4px;
}

.cs-publications-empty h2 {
    font-size: 27px;
    color: #203c28;
    font-weight: 700;
    margin: 0;
}

.cs-publications-empty p {
    max-width: 500px;
    color: #667b69;
    font-size: 16px;
    line-height: 1.75;
    margin: 0;
}

.cs-publications-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #345f35;
    color: #ffffff;
    border-radius: 100px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.2s ease;
}

.cs-publications-button:hover {
    background: #254a29;
    color: #ffffff;
}

/* Responsive */

@media (max-width: 768px) {
    .cs-publications-hero {
        padding: 48px 0 52px;
    }

    .cs-publications-content {
        padding-top: 36px;
    }

    .cs-publications-grid {
        grid-template-columns: 1fr;
    }

    .cs-publications-section-header h2 {
        font-size: 25px;
    }

    .cs-publications-empty {
        padding: 52px 20px;
    }
}

@media (max-width: 480px) {
    .cs-publications-container {
        padding: 0 16px;
    }

    .cs-publications-section-empty {
        padding: 22px 16px;
        gap: 14px;
    }

    .cs-publications-section-empty>span {
        width: 46px;
        height: 46px;
    }

    .cs-publication-card {
        padding: 22px;
    }

    .cs-publications-count {
        font-size: 11px;
        padding: 7px 10px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .cs-publication-card,
    .cs-publications-button {
        transition: none;
    }
}


.cs-links {
    background: #f5f8f3;
    min-height: 75vh;
    padding: 36px 0 90px;
    color: #1c2b20;
}

.cs-links__wrap {
    width: min(1100px, calc(100% - 32px));
    margin: 0 auto;
}

.cs-links__breadcrumb {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    margin-bottom: 26px;
    color: #56705b;
}

.cs-links__breadcrumb a {
    color: #315b39;
    text-decoration: none;
}

.cs-links__hero {
    padding: 52px;
    border-radius: 26px;
    background: linear-gradient(110deg, #e2eddc, #eef5e9);
    margin-bottom: 36px;
}

.cs-links__eyebrow {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    color: #315b39;
    margin-bottom: 16px;
}

.cs-links__hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.15;
    margin: 0 0 18px;
    color: #182b1d;
}

.cs-links__hero p {
    max-width: 650px;
    color: #4e6652;
    line-height: 1.75;
    margin: 0;
}

.cs-links__content h2 {
    font-size: 25px;
    color: #203d28;
    margin: 42px 0 20px;
}

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

.cs-links__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    border: 1px solid #dce7d8;
    border-radius: 18px;
    padding: 26px;
    text-decoration: none;
    color: #1c2b20;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.cs-links__card:hover,
.cs-links__card:focus-visible {
    transform: translateY(-3px);
    border-color: #a9c6a8;
    box-shadow: 0 12px 28px rgba(28, 65, 33, .09);
}

.cs-links__card strong {
    font-size: 17px;
    line-height: 1.5;
}

.cs-links__card span {
    color: #315b39;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 850px) {
    .cs-links__content .cs-links__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .cs-links__hero {
        padding: 32px 24px;
    }

    .cs-links__content .cs-links__grid {
        grid-template-columns: 1fr;
    }
}

.cs-links__card p {
    margin: 12px 0 0;
    color: #607164;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
}

.cs-links__card strong {
    display: block;
    color: #203d28;
    font-size: 16px;
    line-height: 1.5;
}

.cs-links__card:hover strong {
    color: #315b39;
}


/* ==========================================
   Dynamic latest bulletin
========================================== */

.cm-latest-bulletin__details {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 14px 0;
}

.cm-latest-bulletin__details strong {
    color: #25472d;
    font-size: 14px;
    line-height: 1.5;
}

.cm-latest-bulletin__details span {
    color: #657a68;
    font-size: 12px;
    font-weight: 600;
}

.cm-latest-bulletin__cover {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 290px;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    filter: drop-shadow(0 8px 16px rgba(20, 48, 25, .15));
}

.cm-bulletin-art:has(.cm-latest-bulletin__cover) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}


/* Larger clickable bulletin cover */

.cm-update--featured .cm-bulletin-art:has(.cm-latest-bulletin__cover-link) {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cm-latest-bulletin__cover-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.cm-latest-bulletin__cover {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 340px;
    object-fit: contain;
    object-position: center;
    border-radius: 6px;
    filter: drop-shadow(0 8px 16px rgba(20, 48, 25, .15));
    transition: transform .25s ease;
}

.cm-latest-bulletin__cover-link:hover .cm-latest-bulletin__cover {
    transform: scale(1.035);
}

.cm-latest-bulletin__cover-link:focus-visible {
    outline: 3px solid #345f35;
    outline-offset: 4px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .cm-latest-bulletin__cover {
        transition: none;
    }
}

/* ==========================================
   ClimSA & EU Footer Attribution
========================================== */

.cm-footer__attribution {
    border-top: 1px solid #dfe9da;
    padding: 30px 0 32px;
    text-align: center;
}

.cm-footer__attribution h2 {
    font-size: 15px;
    font-weight: 750;
    color: #203725;
    margin: 0 0 22px;
}

.cm-footer__logos {
    background: #ffffff;
    border: 1px solid #e0e9db;
    border-radius: 14px;
    padding: 20px 28px;
    margin: 0 auto 22px;
    max-width: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cm-footer__logos img {
    display: block;
    width: 100%;
    max-width: 1000px;
    height: auto;
    object-fit: contain;
}

.cm-footer__attribution-text {
    max-width: 850px;
    margin: 0 auto;
    font-size: 12px;
    line-height: 1.8;
    color: #526b54;
}

/* Tablet and mobile */
@media (max-width: 768px) {
    .cm-footer__attribution {
        padding: 26px 0;
    }

    .cm-footer__logos {
        padding: 14px;
        margin-bottom: 18px;
    }

    .cm-footer__attribution-text {
        font-size: 12px;
        line-height: 1.7;
    }
}

/* CariSAM footer logo */

.cm-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cm-footer__logo {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

@media (max-width: 600px) {
    .cm-footer__logo {
        width: 50px;
        height: 50px;
    }
}


/* CariSAM header logo */

.brand-logo {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
    flex-shrink: 0;
}

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

@media (max-width: 600px) {
    .brand-logo {
        width: 60px;
        height: 60px;
    }
}

/* Hide CariSAM text on small screens */
@media (max-width: 600px) {
    .brand-subtitle {
        display: none;
    }

    .brand-name {
        font-size: 28px;
    }
}


/* ==========================================
   MOBILE NAVIGATION — NESTED SUBMENU FIX
   ========================================== */

@media (max-width: 900px) {

    /* Each menu item aligns its link and arrow */
    .site-navigation .nav-menu li.menu-item-has-children {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    /* Keep text on the left and arrow on the right */
    .site-navigation .nav-menu li.menu-item-has-children>a {
        flex: 1 1 0;
        min-width: 0;
        display: flex;
        align-items: center;
    }

    /* Arrow button */
    .site-navigation .nav-menu li.menu-item-has-children>.submenu-toggle {
        display: inline-flex;
        flex: 0 0 36px;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        margin: 0;
        cursor: pointer;
    }

    /* Nested submenu occupies its own row */
    .site-navigation .nav-menu li>.sub-menu {
        flex: 0 0 100%;
        width: 100%;
        position: static;
        margin: 6px 0 8px;
        padding: 6px 0 6px 14px;
        box-sizing: border-box;
    }

    /* Closed by default */
    .site-navigation .nav-menu li>.sub-menu {
        display: none;
    }

    /* Open only when parent is expanded */
    .site-navigation .nav-menu li.submenu-open>.sub-menu {
        display: block;
    }

    /* Second-level submenu indentation */
    .site-navigation .nav-menu .sub-menu .sub-menu {
        margin: 4px 0 6px;
        padding-left: 14px;
        border-left: 2px solid #c8dec3;
        background: #f5f8f3;
        border-radius: 8px;
    }

    /* Ensure submenu text does not wrap unnecessarily */
    .site-navigation .nav-menu .sub-menu a {
        min-width: 0;
        line-height: 1.4;
        padding: 10px 12px;
    }
}

/* ==========================================
   HOMEPAGE — COMING SOON CARDS
   ========================================== */

.cm-update--coming-soon {
    position: relative;
    overflow: hidden;
}

/* Slightly fade the original card content */
.cm-update--coming-soon> :not(.cm-coming-soon-overlay) {
    opacity: 0.55;
}

/* Overlay across the entire card */
.cm-coming-soon-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(231, 239, 227, 0.10);
    backdrop-filter: blur(0.7px);

    cursor: not-allowed;
}

/* Coming Soon label */
.cm-coming-soon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 24px;
    border-radius: 30px;

    background: #315f43;
    color: #ffffff;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;

    box-shadow: 0 6px 20px rgba(20, 55, 30, 0.15);
}

.cm-btn--disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Homepage regular text */
.cm-home p {
    font-size: 18px;
    line-height: 1.7;
}

/* Card descriptions */
.cm-update__copy p,
.cm-section__head p {
    font-size: 16px;
    line-height: 1.7;
}

/* Navigation links */
.nav-menu a {
    font-size: 16px;
}


/* =========================================
   PUBLICATIONS — ORANGE ICON ACCENTS
   ========================================= */

.cm-tile__icon {
    display: grid;
    place-items: center;

    width: 48px;
    height: 48px;
    flex-shrink: 0;

    background: #e0ebda;
    border-radius: 14px;

    color: #f47b20;
}

/* SVG sizing */
.cm-tile__icon svg {
    width: 25px;
    height: 25px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Subtle orange interaction */
.cm-tile:hover .cm-tile__icon {
    background: #fce8d8;
    color: #e56c13;
    transition: background 0.2s ease, color 0.2s ease;
}

/* Keep arrows green */
.cm-tile .cm-round-arrow {
    background: #356b4f;
    color: #ffffff;
}

.cm-tile__icon {
    border-radius: 50%;
    width: 52px;
    height: 52px;
}


/* Footer social media icons */
.cm-footer__socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.cm-footer__socials a {
    display: grid;
    place-items: center;

    width: 36px;
    height: 36px;

    border-radius: 50%;
    background: #e4eddf;
    color: #356b4f;

    font-size: 17px;
    text-decoration: none;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.cm-footer__socials a:hover {
    text-decoration: none;
    background: #fce8d8;
    color: #e56c13;
    transform: translateY(-2px);
}

.cm-footer__socials a:focus-visible {
    outline: 2px solid #e56c13;
    outline-offset: 3px;
}