/*
* Theme Name: Coastal Shield Insurance
* Theme URI: https://www.321webmarketing.com/
* Author: 321 Web Marketing
* Author URI: https://www.321webmarketing.com/
* Description: Coastal Shield Insurance child theme for the Genesis Framework, built the 321 way.
* Version: 2.0.0
* License: GPL-3.0-or-later
* License URI: http://www.gnu.org/licenses/gpl-3.0.html
* Text Domain: tto-child
* Domain Path: /languages
* Template: genesis
*/
@charset 'UTF-8';
/* ## Design Tokens
Extracted from the Claude Design v2 export (2026-08-11). Values are exact.
--------------------------------------------- */
:root {
    /* wrap — the design is CONTENT-BOX: its 1280px content field carries its side padding
    OUTSIDE (measured x=80..1360 @1440). On our border-box stack that means outer 1392. */
    --theme-wrap-max-width: 1392px;
    --csi-pad-x: clamp(2rem, 4vw, 5.6rem);

    /* palette */
    --csi-ink: #0A2342;
    --csi-ink-2: #123a5e;
    --csi-ink-deep: #06162a;
    --csi-text: #3c5068;
    --csi-text-dark: #16283e;
    --csi-muted: #617489;
    --csi-sky: #78CBE3;
    --csi-teal: #2a7f9e;
    --csi-gold: #e9b428;
    --csi-cream: #FBFAF7;
    --csi-surface: #ecf7fb;
    --csi-surface-2: #eef7fb;
    --csi-chip: #cdeaf4;
    --csi-line: #dbe6ee;
    --csi-on-dark: #c9e6f2;

    /* dark bands — the brighter original, kept over the Figma "Initial" values on request */
    --csi-band-dark: linear-gradient(150deg, #0a2342 0%, #114368 48%, #1e7fae 100%);

    /* type */
    --csi-font-display: 'Marcellus', 'Georgia', serif;
    --csi-font-body: 'Figtree', system-ui, sans-serif;

    /* radius */
    --csi-r-pill: 99.9rem;
    --csi-r-card: 2.2rem;
    --csi-r-panel: 2.8rem;
    --csi-r-chip: 1.2rem;

    /* shadows */
    --csi-shadow-card: 0 1rem 3rem rgba(10, 35, 66, .07);
    --csi-shadow-cta: 0 .6rem 1.8rem rgba(10, 35, 66, .22);
    --csi-shadow-panel: 0 2.4rem 6rem rgba(10, 35, 66, .14);

    /* section rhythm */
    --csi-section-pad: clamp(5.6rem, 7vw, 9.6rem);
    --csi-section-pad-mobile: 4.8rem;
}

/* ## Base / parent-collision resets
(parent sets h1-h6 letter-spacing -0.15rem + its own line-heights; lists get markers;
pseudo-elements get position:absolute — reassert the design's baselines)
--------------------------------------------- */
body {
    font-family: var(--csi-font-body);
    font-size: 1.6rem;
    line-height: 1.65;

    /* content paragraphs run 16.5/1.75 in the design (see .entry-content p below) */
    color: var(--csi-text);
    background: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--csi-font-display);
    font-weight: 400;
    color: var(--csi-ink);
    letter-spacing: normal;
    line-height: 1.15;
}

h1 {
    font-size: clamp(3.4rem, 4vw, 5rem);
}

h2 {
    font-size: clamp(2.8rem, 3vw, 4.2rem);
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 1.8rem;
    font-family: var(--csi-font-body);
    font-weight: 600;
}

p {
    font-size: 1.6rem;
}

.entry-content :where(p) {
    font-size: 1.65rem;
    line-height: 1.75;
}

a {
    color: #246e89;
    font-weight: 500;
    text-decoration: none;
}

a:hover {
    color: var(--csi-ink);
}

.entry-content ul li::marker {
    content: none;
}

.entry-content ul li::before,
.entry-content ul li::after {
    content: none;
    position: static !important;
}

/* eyebrow kicker */
.csi-eyebrow {
    display: block;
    color: var(--csi-teal);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.4rem;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.loc-hoods-section .csi-eyebrow,
.values-section .csi-eyebrow,
.story-section .csi-eyebrow,
.roles-section .csi-eyebrow,
.review-themes-section .csi-eyebrow,
.wp-block-genesis-blocks-gb-columns[style*='background-color'] .csi-eyebrow:not(.csi-eyebrow--sky) {
    color: #277591;
}

.csi-eyebrow--sky {
    color: var(--csi-sky);
}

.csi-eyebrow + h2 {
    margin-top: 0;
}

/* ## Buttons (tto-custom-button carries these classes)
--------------------------------------------- */
.csi-btn,
.custom-button a.button,
a.csi-btn {
    display: inline-flex;
    align-items: center;
    gap: .8rem;
    background: var(--csi-ink);
    color: #ffffff;
    font-family: var(--csi-font-body);
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 1.4rem 2.6rem;
    border-radius: var(--csi-r-pill);
    box-shadow: var(--csi-shadow-cta);
    border: none;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.csi-btn:hover,
.custom-button a.button:hover {
    background: var(--csi-ink-2);
    color: #ffffff;
}

/* tto-custom-button variants via className */
.custom-button a.button.white {
    background: #ffffff;
    color: var(--csi-ink);
    box-shadow: 0 .6rem 1.8rem rgba(10, 35, 66, .12);
}

.custom-button a.button.white:hover {
    background: var(--csi-surface);
    color: var(--csi-ink);
}

.custom-button a.button.outline {
    background: transparent;
    color: var(--csi-ink);
    box-shadow: none;
    border: .15rem solid rgba(10, 35, 66, .25);
}

.custom-button a.button.outline:hover {
    background: rgba(10, 35, 66, .05);
    color: var(--csi-ink);
}

.custom-button a.button.csi-sky {
    background: var(--csi-sky);
    color: var(--csi-ink);
    font-weight: 700;
}

.custom-button a.button.csi-sky:hover {
    background: #8fd5e9;
    color: var(--csi-ink);
}

.custom-button a.button.csi-ghost {
    background: transparent;
    color: #ffffff;
    box-shadow: none;
    padding-inline: 1rem;
}

.custom-button a.button.csi-ghost:hover {
    color: var(--csi-sky);
    background: transparent;
}

/* text-only CTA (no pill) — pairs with a solid button in a two-up CTA row */
.custom-button a.button.cta-text {
    background-color: transparent;
    color: var(--csi-ink);
    font-weight: 600;
    line-height: 1;
    padding: 1.4rem 1rem;
    box-shadow: none;
}

.custom-button a.button.cta-text:hover {
    background-color: transparent;
    color: var(--csi-teal);
    transform: none;
}

/* arrow appended via className. A masked SVG rather than an icon glyph: Font Awesome runs in
SVG-replacement mode, which cannot paint into ::after unless the kit's pseudo-element
support is switched on (tto-management -> fontawesome_pseudo). This needs no font at all
and inherits currentColor. */
.custom-button a.button.csi-arrow::after {
    background-color: currentColor;
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    position: static !important;
    margin-left: .8rem;
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z'/%3E%3C/svg%3E");
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    content: "";
}

.csi-btn--light {
    background: #ffffff;
    color: var(--csi-ink);
    box-shadow: 0 .6rem 1.8rem rgba(10, 35, 66, .12);
}

.csi-btn--light:hover {
    background: var(--csi-surface);
    color: var(--csi-ink);
}

.csi-btn--outline {
    background: transparent;
    color: var(--csi-ink);
    box-shadow: none;
    border: .15rem solid rgba(10, 35, 66, .25);
}

.csi-btn--outline:hover {
    background: rgba(10, 35, 66, .05);
    color: var(--csi-ink);
}

.csi-btn--sky {
    background: var(--csi-sky);
    color: var(--csi-ink);
}

.csi-btn--sky:hover {
    background: #8fd5e9;
    color: var(--csi-ink);
}

.csi-btn :is(i,
svg) {
    font-size: 1.4rem;
}

/* tel chip — white pill w/ phone icon */
.phone-number-block a {
    gap: 0.9rem;
    width: fit-content;
    color: var(--csi-ink);
    font-size: 1.5rem;
    font-weight: 600;
}

.phone-number-block a:hover {
    color: var(--csi-teal);
}

.cta-band--dark .phone-number-block a {
    color: #fff;
}

.cta-band--dark .phone-number-block a:hover {
    color: var(--csi-sky);
}

.phone-number-block a .icon {
    padding: 0.3875rem 0 0;
}

.phone-number-block a svg {
    width: 1.7rem;
    height: 1.7rem;
    color: var(--csi-teal);
    font-size: 1.7rem;
}

/* icon chip — the 44px rounded-square tinted icon holder used on cards */
.csi-icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: var(--csi-r-chip);
    background: var(--csi-chip);
    color: var(--csi-ink);
    font-size: 2.2rem;
    flex-shrink: 0;
}

/* ## Chrome — topbar
--------------------------------------------- */
.top-nav-bar {
    background-color: #0A2342;
    background-image: linear-gradient(90deg, #0A2342 0%, #123a5e 100%);
    color: var(--csi-on-dark);
    padding: 1.2rem 0;
}

.top-nav-bar > .wrap > .widget {
    width: 100%;
}

.top-nav-bar .gb-layout-column-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2.4rem;
    flex-wrap: wrap;
    width: 100%;
    flex: 1 1 100%;
}

.top-nav-bar .gb-block-layout-column {
    flex: 0 1 fit-content;
    display: flex;
}

.top-nav-bar .gb-block-layout-column-inner {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.top-nav-bar .icon-block {
    display: flex;
    width: 1.5rem;
    height: 1.5rem;
}

.primary-header-ctas .phone-number-block a {
    align-items: center;
    transition: 0.25s ease-in-out color;
}

.top-nav-bar .phone-number-block a .icon,
.primary-header-ctas .phone-number-block a .icon {
    align-items: center;
    padding: 0;
}

.top-nav-bar :is(i, svg) {
    font-size: 1.5rem;
    color: var(--csi-sky);
}

.top-nav-bar :is(p, a) {
    color: var(--csi-on-dark);
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.top-nav-bar a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #fff;
}

.csi-topbar--tel:hover {
    color: var(--csi-sky);
}

/* ## Chrome — header (sticky, cream, blur)
--------------------------------------------- */

.site-header {
    background-color: rgba(251, 250, 247, 0.92);
    backdrop-filter: blur(1.2rem);
    -webkit-backdrop-filter: blur(1.2rem);
    box-shadow: none;
    transition: box-shadow .35s ease;
}

.site-header:not(.shrink) {
    background-color: var(--csi-cream);
}

.site-header.shrink {
    box-shadow: 0 1rem 3rem rgba(10, 35, 66, .08);
}

@media (min-width: 896px) {
    .site-header.shrink .title-area {
        height: 3.4rem;
        width: 20.1rem;
    }

}

.title-area {
    transition: height .35s ease, width .35s ease;
}

@media (min-width: 896px) {
    .site-header > .wrap {
        display: flex !important;
        align-items: center;
        justify-content: flex-start;
        gap: 1rem clamp(1.6rem, 2.5vw, 4rem);
        transition: padding .35s ease;
    }

    .site-header .title-area {
        flex-shrink: 0;
        display: flex;
        align-items: center;
        padding: 0;
        /* max-width: none; */
        /* width: auto; */
    }

    /* nav-primary holds the menu UL + the CTA widget — keep them on ONE row */
    .site-header .nav-primary {
        display: flex;
        align-items: center;
        column-gap: clamp(1.4rem, 1.8vw, 2.8rem);
        flex-wrap: nowrap;
        width: 100%;
    }

    .nav-primary .menu-primary > li {
        padding: 2.5rem 0;
    }

    .site-header.shrink .nav-primary .menu-primary > li {
        padding: 2rem 0;
    }

    .site-header .menu-toggle,
    .site-header .sub-menu-toggle {
        display: none;
    }

    .nav-primary > .wrap {
        gap: 1rem clamp(1.6rem, 2.5vw, 4rem);
    }
}

.title-area {
    height: 4.2rem;
    width: 24.8rem;
    max-width: none;
    display: block;
}

/* the parent's typography margin on <p class="site-title"> pushes the logo off the row's center */
.site-header .site-title {
    margin: 0;
    line-height: 0;
}

@media (min-width: 896px) {
    .nav-primary .menu-primary {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 0.8rem clamp(1.8rem, 2vw, 2.8rem);
        width: auto;
    }

    .nav-primary .sub-menu a,
    .nav-primary .sub-menu p {
        white-space: nowrap;
    }

    .nav-primary .mega-menu-container,
    .nav-primary .menu > .menu-item > .sub-menu {
        background-color: #fff;
        display: block;
        min-width: 23rem;
        padding: 0.8rem;
        border: 1px solid var(--csi-line);
        border-radius: 1.4rem;
        box-shadow: 0 1.8rem 3.4rem -1.2rem rgba(10, 35, 66, .28);
        clip-path: inset(0 -3.5rem -6rem);
    }

    .nav-primary .menu > .menu-item:hover > .sub-menu {
        left: -1.6rem;
    }

    .nav-primary .mega-menu-container {
        min-width: unset;
        max-width: unset;
        padding: 2.4rem 2.8rem;
    }

    .nav-primary .menu > .menu-item.mega-menu:hover > .mega-menu-container {
        left: -3.2rem;
    }

    .nav-primary .mega-menu-container > .mega-menu-wrap > .sub-menu {
        display: flex;
        gap: 4rem;
    }

    .nav-primary .mega-menu-container > .mega-menu-wrap > .sub-menu > .menu-item {
        flex: 1;
        min-width: unset;
        gap: 0;
    }

    .nav-primary .mega-menu-container > .mega-menu-wrap > .sub-menu > .menu-item > p {
        padding: 0 0.8rem 0.8rem;
    }

    .nav-primary .mega-menu-container .sub-menu .sub-menu {
        gap: 0;
    }

    .nav-primary .mega-menu-container .sub-menu .sub-menu a {
        padding: 0.7rem 0.8rem;
        border-radius: 0.8rem;
    }

    .nav-primary .mega-menu-container .sub-menu .sub-menu a:hover {
        background: #ecf7fb;
        color: #0a2342;
    }
}

.nav-primary .menu-primary > li > a,
.nav-primary .menu-primary > li > p {
    color: var(--csi-text-dark);
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1.2;
    padding: 0.6rem 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: auto;
    min-width: 0;
    gap: .5rem;
    background: none;
}

.nav-primary .menu-primary > li > a:hover,
.nav-primary .menu-primary > li:hover > p {
    color: var(--csi-teal);
}

.nav-primary .sub-menu li {
    margin: 0;
    padding: 0;
}

.nav-primary .sub-menu li::marker {
    content: none;
}

.nav-primary .sub-menu a,
.nav-primary .sub-menu p {
    display: block;
    width: 100%;
    color: var(--csi-text-dark);
    font-size: 1.4rem;
    font-weight: 500;
    padding: .9rem 1.3rem;
    margin: 0;
    border-radius: 1rem;
    background: none;
}

/* group headers ('#' items) inside the panel */
.nav-primary .sub-menu > .menu-item-has-children > p {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--csi-teal);
    padding-bottom: .4rem;
}

.nav-primary .sub-menu a:hover {
    background: var(--csi-surface);
    color: var(--csi-ink);
}

/* header CTA pill (primary-header-ctas widget area) */
.primary-header-ctas {
    gap: 2.5rem;
}

.primary-header-ctas .custom-button a.button {
    background-color: var(--csi-teal);
}

.primary-header-ctas .custom-button a.button:hover {
    background-color: #349fc5;
}

.primary-header-ctas > .widget {
    margin: 0;
}

@media (min-width: 896px) {
    /* .primary-header-ctas > .widget:first-child:not(:only-child) {
        display: none;
    } */

    .primary-header-ctas {
        display: flex;
        align-items: center;
    }
}

/* ## Chrome — footer
--------------------------------------------- */

.site-footer {
    background-color: var(--csi-ink);
    color: var(--csi-on-dark);
    padding: 0;
}

.site-footer-widgets {
    gap: 6rem;
    padding: 6rem 0 0;
}

.site-footer-widgets .widget-wrap > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap {
    grid-template-columns: 30% 1fr;
    gap: 6rem;
}

.site-footer-widgets .widget-wrap > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
    gap: 2rem;
}

.footer-copy p,
.footer-nap .address-block--copy p {
    color: rgba(255, 255, 255, .65);
    font-size: 1.5rem;
    line-height: 1.7;
}

.footer-nap {
    margin: 2rem 0;
}

.footer-nap > .gb-container-inside > .gb-container-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nap .address-block--icon {
    padding: 0.525rem 0 0;
}

.footer-nap .address-block--icon svg {
    color: rgba(255, 255, 255, .65);
    width: 1.5rem;
    height: 1.5rem;
}

.footer-nap .phone-number-block a {
    width: fit-content;
    color: var(--csi-sky);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.7;
}

.footer-nap .phone-number-block a:hover {
    color: #fff;
}

.footer-nap .phone-number-block a .icon {
    padding: 0.525rem 0 0;
}

.footer-nap .phone-number-block a .icon svg {
    color: var(--csi-sky);
    width: 1.5rem;
    height: 1.5rem;
}

.site-footer .menu > .menu-item,
.site-footer .menu > .menu-item > .sub-menu {
    gap: 1.8rem;
}

.site-footer .menu > .menu-item > p {
    color: var(--csi-sky);
    font-family: var(--csi-font-body);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.site-footer .menu > .menu-item > .sub-menu > .menu-item > a {
    color: rgba(255, 255, 255, .8);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.2;
}

.site-footer .menu > .menu-item > .sub-menu > .menu-item > a:hover {
    color: var(--csi-sky);
}

.site-footer .custom-social--link svg {
    color: rgba(255, 255, 255, .8);
    width: 1.8rem;
    height: 1.8rem;
}

.site-footer .custom-social--link:hover svg {
    color: #fff
}

.site-footer-credits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.2rem 2.4rem;
    padding: 1.3rem 0;
    border-top: .1rem solid rgba(255, 255, 255, .12);
    flex-wrap: wrap;
    font-size: 1.3rem;
    color: var(--csi-on-dark);
}

.site-footer-credits > .widget {
    width: 100%;
}

.footer-credits p {
    gap: 1.8rem;
    color: rgba(255, 255, 255, .5);
    font-size: 1.35rem;
    line-height: 1.2;
}

.footer-credits p a {
    color: rgba(255, 255, 255, .7);
    font-weight: 500;
}

.footer-credits p a:hover {
    color: #fff;
}

.footer-credits p .separator {
    font-size: 2.4rem;
}

.footer-credits p .separator:nth-child(2) {
    display: none;
}

.footer-credits p .credit:nth-child(3) {
    margin-left: auto;
}

@media (max-width: 991px) {
    .site-footer-widgets .widget-wrap > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap {
        display: flex;
        flex-direction: column;
    }
}

@media (max-width: 895px) {
    .site-footer-credits {
        padding: 4rem 0;
    }

    .footer-credits p {
        display: flex;
        flex-direction: column;
    }

    .footer-credits p .separator:nth-child(2) {
        display: block;
    }

    .footer-credits p .credit:nth-child(3) {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .site-footer-widgets .widget-wrap > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap > .gb-block-layout-column:last-child {
        display: none;
    }

    .footer-credits p .separator:nth-child(2) {
        display: none;
    }
}

/* ## Block — icon-cards
--------------------------------------------- */
.icon-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.icon-cards.is-3up,
.icon-cards.is-numbered-cards {
    grid-template-columns: repeat(3, 1fr);
}

.icon-cards.is-2up {
    grid-template-columns: repeat(2, 1fr);
}

.icon-cards.is-numbered-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.8rem;
}

.icon-cards.is-numbered-list {
    grid-template-columns: 1fr;
    gap: 2.2rem;
}

.icon-cards--card {
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: 1.6rem;
    padding: 2.8rem 2.6rem;
    box-shadow: var(--csi-shadow-card);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
}

.icon-cards.is-icon-list .icon-cards--card,
.icon-cards.is-numbered-row .icon-cards--card,
.icon-cards.is-numbered-list .icon-cards--card {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex-direction: row;
    gap: 1.6rem;
}

.icon-cards--body {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.icon-cards--title {
    font-family: var(--csi-font-body);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--csi-ink);
    margin: 0;
    display: flex;
    align-items: center;
    gap: .8rem;
}

/* the 'cards' variant titles are display serif in the design (23px Marcellus) */
.icon-cards.is-cards .icon-cards--title {
    font-family: var(--csi-font-display);
    font-size: 2.3rem;
    font-weight: 400;
    line-height: 1.25;
}

.icon-cards--copy {
    font-size: 1.55rem;
    line-height: 1.65;
    color: var(--csi-text);
    margin: 1.25rem 0 0;
}

.icon-cards--link {
    flex: 1;
    display: flex;
    align-items: flex-end;
    margin: 2rem 0 0;
}

.icon-cards--link a {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    color: var(--csi-teal);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.icon-cards--link a:hover {
    color: var(--csi-ink);
}

.icon-cards--link :is(i,
svg) {
    font-size: 1.3rem;
}

.icon-cards--tag {
    background: var(--csi-chip);
    color: var(--csi-teal);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .3rem .9rem;
    border-radius: var(--csi-r-pill);
}

.icon-cards--big-number {
    font-family: var(--csi-font-body);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--csi-teal);
    line-height: 1;
}

.icon-cards--circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    border: .15rem solid var(--csi-sky);
    color: var(--csi-teal);
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* dark-band variant (who-we-write-for) */
.icon-cards.is-on-dark .icon-cards--title {
    color: #ffffff;
}

.icon-cards.is-on-dark .icon-cards--copy {
    color: var(--csi-on-dark);
}

.icon-cards.is-on-dark .icon-cards--copy a {
    color: #fff;
}

.icon-cards.is-on-dark .icon-cards--copy a:hover {
    color: #dbdbdb;
}

.icon-cards.is-on-dark .icon-cards--circle {
    border-color: rgba(120, 203, 227, .5);
    color: var(--csi-sky);
    background: rgba(120, 203, 227, .12);
}

@media (min-width: 992px) {
    .icon-cards.is-cards:has(.icon-cards--card:nth-child(5)):not(:has(:nth-child(6))) {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        max-width: calc(((100% * 3) - 1.8rem) / 4);
        margin-inline: auto;
    }

    .icon-cards.is-cards:has(.icon-cards--card:nth-child(5)):not(:has(:nth-child(6))) .icon-cards--card {
        flex: 1 1 calc((100% - 3.6rem) / 3);
        max-width: calc((100% - 3.6rem) / 3);
    }
}

@media (max-width: 991px) {
    .icon-cards,
    .icon-cards.is-numbered-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .icon-cards.is-numbered-cards {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 560px) {
    .icon-cards,
    .icon-cards.is-numbered-row {
        grid-template-columns: 1fr !important;
    }

}

/* ## Block — partner-chips
--------------------------------------------- */
.partner-chips {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.4rem;
}

.partner-chips--chip {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: 1.4rem;
    padding: 1.4rem 1.6rem;
    box-shadow: var(--csi-shadow-card);
}

.partner-chips--avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.8rem;
    height: 3.8rem;
    border-radius: 50%;
    background-color: var(--csi-surface);
    flex-shrink: 0;
    color: var(--csi-ink);
    font-size: 1.7rem;
    font-weight: 400;
    font-family: var(--csi-font-display);
    line-height: 1.25;
}

.partner-chips--meta {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 0;
}

.partner-chips--meta strong {
    color: var(--csi-text-dark);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.35;
}

.partner-chips--meta span {
    font-size: 1.25rem;
    color: var(--csi-muted);
}

@media (max-width: 980px) {
    .partner-chips {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 560px) {
    .partner-chips {
        grid-template-columns: 1fr;
    }

}

/* ## Block — areas-map (Leaflet)
--------------------------------------------- */
.csi-map--canvas {
    border-radius: var(--csi-r-card);
    overflow: hidden;
    box-shadow: var(--csi-shadow-card);
    font-family: var(--csi-font-body);
}

.csi-pin {
    background: transparent;
    border: none;
}

.csi-pin span {
    display: block;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    border: .3rem solid #ffffff;
    box-shadow: 0 .2rem .8rem rgba(10, 35, 66, .4);
}

.csi-pin.hq span {
    width: 2.2rem;
    height: 2.2rem;
}

body .leaflet-popup-content-wrapper {
    border-radius: 1.4rem;
    font-family: var(--csi-font-body);
    box-shadow: 0 1.4rem 3.6rem rgba(10, 35, 66, .2);
}

body .leaflet-popup-content {
    margin: 1.4rem 1.8rem;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--csi-text);
}

body .leaflet-popup-content strong {
    display: block;
    font-size: 1.55rem;
    color: var(--csi-ink);
    margin-bottom: .2rem;
}

body .leaflet-popup-content a {
    display: flex;
    color: var(--csi-teal);
    font-weight: 600;
}

body .leaflet-container a.leaflet-popup-close-button {
    color: #5e5e5e;
}

/* ## Layout foundation — AC section rows
--------------------------------------------- */

/* Head row: eyebrow + heading left, CTA right. A NESTED advanced-columns block inside a
section, never a section of its own — so it inherits the section's padding rather than
stacking a second 80px band on top of it. */
.csi-head-row > .gb-layout-column-wrap {
    align-items: end;
}

.csi-head-row .csi-eyebrow + .wp-block-heading {
    margin-top: 0;
}

.csi-head-row .custom-button.align-right {
    text-align: right;
}

.csi-head-row {
    margin-bottom: 3.2rem;
}

/* tight inline button clusters */
.buttons-row-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.buttons-row-inline .custom-button {
    flex: 0 1 fit-content;
    display: inline-flex;
}

/* text-style CTA (design's "Say hello →") */
.custom-button a.button.csi-text-link {
    background: transparent;
    color: var(--csi-ink);
    box-shadow: none;
    padding: 0;
    font-weight: 600;
}

.custom-button a.button.csi-text-link:hover {
    color: var(--csi-teal);
    background: transparent;
    transform: none;
}

/* shared media figure (photo + badge chip + sky offset shadow) */
.media-card {
    position: relative;
    margin: 0;
}

.media-card > img {
    width: 100%;
    height: auto;
    border-radius: var(--csi-r-card);
    display: block;
    box-shadow: 1.4rem 1.4rem 0 0 rgba(120, 203, 227, .35);
}

.media-card--badge {
    position: absolute;
    left: -1.8rem;
    bottom: 2.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border-radius: 1.4rem;
    padding: 1.2rem 1.8rem;
    box-shadow: 0 1.4rem 3.6rem rgba(10, 35, 66, .18);
}

.media-card--badge > span {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.media-card--badge strong {
    font-size: 1.35rem;
    color: var(--csi-ink);
}

.media-card--badge span span {
    font-size: 1.2rem;
    color: var(--csi-muted);
}

/* ## Home — hero (vanilla Advanced Columns)
Replaced the hero-slider block per "no rotating banners". The photo and #06162a ride on
the block itself via inline style; Genesis Blocks' own dim ::before is repurposed as the
directional scrim, and ::after carries the wave down into the cream band.
--------------------------------------------- */
.hero-slider {
    position: relative;
    display: flex;
    align-items: center;
    padding: 14rem 0 calc(var(--theme-section-padding) + 40px);
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 767px) {
    .hero-slider {
        padding: var(--theme-section-padding-mobile) 0 calc(var(--theme-section-padding-mobile) + 20px);
    }
}

/* GB's background-dim paints a flat 90% wash that kills the photo. Swap in the scrim the
hero-slider used — dark behind the copy, opening up on the right. Client hard rule: no
complex imagery behind text. */
.hero-slider:before {
    content: '';
    background-image: linear-gradient(88deg, var(--csi-teal) 0%, var(--csi-teal) 40%, rgba(42, 127, 158, 0.9) 60%, rgba(42, 127, 158, 0.5) 80%, rgba(6, 22, 42, 0.2) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 1;
    z-index: 2;
}

@media (max-width: 767px) {
    .hero-slider:before {
        background-color: var(--csi-teal);
        background-image: unset;
        opacity: 0.92;
    }
}

/* wave divider — was an inline SVG in the old block; preserveAspectRatio="none" plus
background-size 100% 100% so it stretches instead of collapsing at narrow widths */
.hero-slider:after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 70' preserveAspectRatio='none'%3E%3Cpath d='M0,42 C240,8 480,70 720,44 C960,18 1200,58 1440,30 L1440,70 L0,70 Z' fill='%23fbfaf7'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    width: 100%;
    height: clamp(3.4rem, 5vw, 7rem);
    bottom: -.1rem;
    left: 0;
    pointer-events: none;
    z-index: 4;
}

.hero-slider > .hero-slider--images {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.hero-slider > .hero-slider--images .swiper {
    width: 100%;
    height: 100%;
}

.hero-slider > .hero-slider--images img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}

.hero-slider >.hero-slider--content {
    position: relative;
    width: var(--theme-wrap-width);
    max-width: var(--theme-wrap-max-width);
    margin: 0 auto;
    z-index: 3;
}

.hero-slider >.hero-slider--content > .hero-slider--content-inner {
    position: relative;
    max-width: 800px;
    z-index: 3;
}

.hero-slider h1 {
    color: #ffffff;
    font-size: clamp(3.6rem, 4.4vw, 5.8rem);
    line-height: 1.12;
    letter-spacing: .005em;
}

.hero-slider h1 + p {
    color: #fff;
    font-size: 1.8rem;
}

/* CTA row — GB renders this as a 2-col grid; collapse it to an inline pair */

.button-ctas > .gb-layout-column-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 3rem;
    max-width: none;
    padding: 0;
}

/* GB gives each column width:100%, which makes the flex row wrap — let them size to content */
.button-ctas .gb-block-layout-column,
.button-ctas .gb-block-layout-column-inner {
    flex: 0 0 auto;
    width: auto;
}

.button-ctas .custom-button {
    margin: 0;
}

.hero-slider .custom-button a.button {
    background-color: #f8f7f7;
    color: var(--csi-ink);
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 1.4rem 2.8rem;
    box-shadow: 0 0.6rem 1.4rem rgba(10, 35, 66, 0.2);
}

.hero-slider .custom-button a.button:hover {
    background-color: #8fd5e9;
    color: var(--csi-ink);
}

.hero-slider .custom-button a.button.cta-text {
    background-color: transparent;
    color: #ffffff;
    font-weight: 600;
    line-height: 1;
    padding: 0;
    box-shadow: none;
}

.hero-slider .custom-button a.button.cta-text:hover {
    background-color: transparent;
    color: var(--csi-sky);
}

/* social-proof row — replaced the slider's dot nav per "no rotating banners, put their
star ratings instead". Sits where the dots used to, aligned to the content edge. */

.reviews-snippet {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 2.6rem;
}

.reviews-snippet .csi-stars .csi-star {
    width: 1.6rem;
    height: 1.6rem;
}

.reviews-snippet p > span {
    color: rgba(255, 255, 255, .75);
    font-size: 1.45rem;
    line-height: 1.2;
}

.reviews-snippet p a {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.reviews-snippet p a:hover {
    color: #ececec;
}

/* the divider dot only reads when both bits of copy are on the same line */
.reviews-snippet--sep {
    color: rgba(255, 255, 255, .4);
}

@media (max-width: 560px) {
    .reviews-snippet--sep {
        display: none;
    }

    .reviews-snippet {
        gap: .6rem 1rem;
    }
}

.hero-slider .reviews-snippet {
    display: grid;
    grid-template-columns: auto 1fr;
    margin-top: 3rem;
}

.hero-slider .reviews-snippet .csi-stars .csi-star {
    width: 2rem;
    height: 2rem;
}

.hero-slider .reviews-snippet p {
    display: contents;
}

.hero-slider .reviews-snippet p a {
    display: inline-flex;
    font-size: 1.7rem;
    line-height: 2rem;
}

.hero-slider .reviews-snippet p .reviews-snippet--sep {
    display: none;
}

.hero-slider .reviews-snippet p > span:last-child {
    grid-column: 1 / span 2;
    color: #fff;
    font-size: 1.5rem;
}

.hero-slider .swiper-pagination {
    position: unset;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    margin: 4rem 0 0;
}


.hero-slider .swiper-pagination-bullet {
    background-color: rgba(0, 0, 0, 0.7);
    width: 40px;
    height: 6px;
    border: none;
    margin: 0 !important;
    cursor: pointer;
    border-radius: var(--csi-r-pill);
    transition: all .35s ease;
    box-shadow: none;
    color: transparent;
}

.hero-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--csi-sky);
}

/* ## Home — carriers strip
--------------------------------------------- */

.carriers-eyebrow {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--csi-muted);
    margin-bottom: 2.6rem;
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    align-items: center;
    justify-content: center;
    gap: 4rem;
}

.partner-logos .partner {
    max-width: 150px;
    margin: 0 auto;
}

.partner-logos .partner img {
    filter: grayscale(1);
    opacity: 0.8;
}

/* ## Home — glance tiles
--------------------------------------------- */

.glance-section > .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
    display: flex;
    align-items: center;
    gap: 1.3rem;
}

.glance-section .icon-block {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    flex-shrink: 0;
}

.glance-section .icon-block svg {
    width: 2rem;
    height: 2rem;
    color: var(--csi-teal);
    font-size: 2rem;
}

.glance-section p {
    color: var(--csi-text);
    font-size: 1.5rem;
    line-height: 1.4;
}

.glance-section p strong {
    color: var(--csi-text-dark);
    font-size: 1.7rem;
    font-weight: 700;
}

/* ## Home — coverage band
--------------------------------------------- */

.coverage-section {
    background-image: linear-gradient(180deg, #fbfaf7 0%, #eef7fb 45%, #fbfaf7 100%);
}

.page-hero-section + .coverage-section {
    padding-top: 3rem;
}

.coverage-section .icon-cards {
    margin-top: 3.4rem;
}

/* ## Home — why band (dark)
--------------------------------------------- */
.why-section {
    background-image: var(--csi-band-dark);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    background-image: url('assets/images/shield-mark-light.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    width: 64rem;
    height: 66.1rem;
    top: 24.9rem;
    right: -16rem;
    opacity: .05;
    pointer-events: none;
    content: "";
}

.why-section > .gb-layout-column-wrap {
    position: relative;
    align-items: center;
    column-gap: clamp(2.8rem, 5vw, 7.2rem);
    z-index: 1;
}

/* size/line-height come from the base h2 (clamp caps at the Figma 4.2rem) */
.why-section .wp-block-heading {
    color: #ffffff;
    margin: 1.4rem 0 3.4rem;
}

/* the photo sits 26px in from the content edge; the sky panel behind it is flush
with that edge and overhangs 26px low-left (Figma: 393x486 @ 22%, r28) */
.why-photo {
    position: relative;
}

.why-photo::before {
    background-color: rgba(120, 203, 227, .22);
    position: absolute;
    width: 82%;
    height: 81%;
    bottom: -2.6rem;
    left: -2.6rem;
    border-radius: 2.8rem;
    z-index: 0;
    content: "";
}

.why-section .why-photo img {
    aspect-ratio: 477 / 597;
    object-fit: cover;
    position: relative;
    width: 100%;
    border-radius: 2.4rem;
    box-shadow: 0 2.8rem 7rem rgba(0, 0, 0, .35);
    z-index: 1;
}

@media (min-width: 992px) {
    .why-section > .gb-layout-column-wrap {
        grid-template-columns: 50.3rem 1fr;
    }

    .why-photo {
        margin-left: 2.6rem;
    }
}

@media (max-width: 767px) {
    .why-section > .gb-layout-column-wrap {
        flex-direction: column-reverse;
    }

    .why-section .why-photo img {
        aspect-ratio: unset;
        max-height: 350px;
        object-position: center 30%;
    }
}

.icon-cards.is-icon-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    list-style: none;
    margin: 3rem 0 0;
    padding: 0;
}

.icon-cards.is-icon-list .icon-cards--card {
    display: grid;
    grid-template-columns: 5.2rem 1fr;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.icon-cards.is-icon-list .icon-cards--card .csi-icon-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(120, 203, 227, .16);
    flex-shrink: 0;
    width: 5.2rem;
    height: 5.2rem;
    color: var(--csi-sky);
    font-size: 1.9rem;
    border: .1rem solid rgba(120, 203, 227, .4);
    border-radius: 50%;
}

.why-points .icon-cards--card .icon-cards--title {
    display: block;
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 600;
    font-family: var(--csi-font-body);
    line-height: 2.28rem;
    margin-bottom: .9rem;
}

.why-points .icon-cards--card .icon-cards--copy {
    color: rgba(255, 255, 255, .75);
    font-size: 1.55rem;
    line-height: 2.64rem;
}

/* ## Home — reviews
--------------------------------------------- */

.reviews-head {
    margin-bottom: 3rem;
}

.reviews-head > .gb-layout-column-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    row-gap: 2rem;
}

.reviews-head > .gb-layout-column-wrap > .gb-block-layout-column {
    flex: 0 1 fit-content;
}

.inline-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--csi-text);
    font-size: 1.5rem;
    line-height: 1.2;
}

.inline-rating p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.inline-rating p a,
.inline-rating p > span:last-child {
    color: var(--csi-ink);
    font-weight: 600;
}

.inline-rating :is(i, svg) {
    color: var(--csi-gold);
    font-size: 1.5rem;
}

.reviews-archive--wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.review {
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: var(--csi-r-card);
    padding: 2.6rem 2.4rem;
    box-shadow: var(--csi-shadow-card);
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.csi-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.csi-stars .csi-star {
    display: flex;
    width: 1.5rem;
    height: 1.5rem;
}

.csi-stars .csi-star svg {
    width: 100%;
    height: 100%;
    color: var(--csi-gold);
}

.review blockquote {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.55rem;
    line-height: 1.7;
    color: var(--csi-text);
}

.review figcaption {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.review figcaption > p {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 0.334rem;
    font-size: 1.35rem;
}

.review figcaption strong {
    color: var(--csi-ink);
    font-weight: 700;
}

.review figcaption span {
    color: var(--csi-muted);
}

/* masonry variant (reviews page) */
@media (min-width: 1200px) {
    .csi-reviews-masonry .reviews-archive--wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

.csi-reviews-masonry .review {
    break-inside: avoid;
    margin-bottom: 1.8rem;
}

/* ## Home — team cards
--------------------------------------------- */

.team-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.team-member {
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: var(--csi-r-card);
    overflow: hidden;
    box-shadow: var(--csi-shadow-card);
}

.team-member--wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* the parent drives headshot size via aspect-ratio + a 50% radius on the CONTAINER div —
the design's photos are straight-edged card tops, so reset both here */
.team-member--headshot {
    aspect-ratio: 1 / 1.05;
    border-radius: 0;
    overflow: hidden;
}

.team-member--headshot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.team-member--content {
    padding: 1.8rem 2rem 2.2rem;
    text-align: left;
}

.team-member--content-name h3 {
    font-size: 2rem;
    margin: 0 0 .6rem;
    text-align: left;
}

.team-member--content-role p {
    text-align: left;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--csi-teal);
    margin: 0 0 1rem;
}

.team-member--content-bio p {
    font-size: 1.4rem;
    line-height: 1.55;
    color: var(--csi-text);
    margin: 0;
}

.team-member--recruiting {
    background: linear-gradient(160deg, #0f3050 0%, #14486b 100%);
    border: none;
}

.team-member--recruiting .team-member--wrapper {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2.4rem;
    gap: 1rem;
}

.team-member--recruiting h3 {
    color: #ffffff;
    font-size: 1.9rem;
    margin: 0;
}

.team-member--recruiting p {
    color: var(--csi-on-dark);
    font-size: 1.35rem;
    margin: 0;
}

.team-member--recruiting-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background: rgba(120, 203, 227, .16);
    border: .1rem solid rgba(120, 203, 227, .4);
    color: var(--csi-sky);
    font-size: 2rem;
}

/* ## Home — blog cards (parent archive-single, restyled)
--------------------------------------------- */
.blog-section {
    background-image: linear-gradient(180deg, #fbfaf7 0%, #eef7fb 100%);
}

.related-articles--wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.archive-single {
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: var(--csi-r-card);
    overflow: hidden;
    box-shadow: var(--csi-shadow-card);
}

.archive-single--link {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.archive-single--image img {
    width: 100%;
    aspect-ratio: 16 / 9.5;
    object-fit: cover;
    display: block;
}

.archive-single--content {
    margin: 0;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.csi-card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.csi-cat-chip {
    background-color: var(--csi-chip);
    color: #246e89;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .4rem 1rem;
    border-radius: var(--csi-r-pill);
}

.csi-read-time {
    font-size: 1.25rem;
    color: var(--csi-muted);
}

.archive-single--content-info-title h2,
.archive-single--content-info-title h3 {
    font-family: var(--csi-font-body);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--csi-ink);
    line-height: 1.4;
    margin: 0;
}

.archive-single--content-info-description p {
    font-size: 1.35rem;
    line-height: 1.6;
    color: var(--csi-text);
    margin: 0;
}

.archive-single--content-read-more {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--csi-teal);
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    margin-top: auto;
}

/* ## Home / shared — quote band
--------------------------------------------- */
.quote-section {
    background: linear-gradient(160deg, #eef7fb 0%, #d8effa 100%);
    position: relative;
    overflow: hidden;
}

.quote-section::before {
    content: "";
    position: absolute;
    left: -8rem;
    bottom: -12rem;
    width: 52rem;
    height: 52rem;
    background: url('assets/images/shield-mark-navy.svg') no-repeat center / contain;
    opacity: .05;
    pointer-events: none;
}

.quote-section > .gb-layout-column-wrap {
    align-items: center;
    column-gap: clamp(2.8rem, 4vw, 6.4rem);
    position: relative;
    z-index: 1;
}

.quote-section .phone-number-block {
    margin-top: 2rem;
}

/* the form column IS the white card */
.quote-section .wp-block-genesis-blocks-gb-column:last-child > .gb-block-layout-column-inner {
    background: #ffffff;
    min-height: 560px;
    border: 1px solid #dbdbdb;
    border-radius: var(--csi-r-panel);
    box-shadow: var(--csi-shadow-panel);
    padding: 2rem 2.4rem;
}

.quote-section.quote-page-section {
    background-color: #fff;
    background-image: none;
}

.quote-section.quote-page-section:before {
    opacity: 0.025;
}

.quote-section.quote-page-section h1 {
    margin: .6rem 0 0;
}

.quote-section.quote-page-section h1 + p {
    margin-top: 2rem;
}

.quote-note {
    font-size: 1.3rem;
    color: var(--csi-muted);
    margin: 1.2rem 0 0;
}

.guidance-step:not(:last-child) .guidance-step--number:after {
    background-color: var(--csi-sky);
    width: 2px;
}

.guidance-step--number p {
    border: 2px solid var(--csi-sky);
}

.gform_wrapper.gravity-theme .gfield-choice-input + label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--csi-text);
}

.gform_wrapper.gravity-theme .gfield-choice-input + label svg {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--csi-teal);
}

/* Gravity Forms — design-true inputs (GF 2.7+ Orbital theme: custom props + direct rules) */
.gform_wrapper {
    --gf-color-primary: #0A2342;
    --gf-ctrl-border-color: #dbe6ee;
    --gf-ctrl-radius: 1rem;
    --gf-ctrl-btn-color: #ffffff;
    --gf-ctrl-btn-bg-color: #0A2342;
    --gf-ctrl-btn-bg-color-hover: #123a5e;
    --gf-ctrl-btn-border-color: transparent;
    --gf-ctrl-btn-radius: 99.9rem;
    --gf-ctrl-btn-padding-y: 1.3rem;
    --gf-ctrl-btn-padding-x: 2.6rem;
    --gf-ctrl-btn-font-size: 1.5rem;
    --gf-ctrl-btn-font-weight: 600;
    --gf-form-gap-y: 1rem;
    --gf-field-gap-y: 1rem;
    --gf-label-font-size: 1.15rem;
    --gf-label-font-weight: 600;
    --gf-label-space-y: .3rem;
    --gf-ctrl-padding-y: .9rem;
    --gf-ctrl-padding-x: 1.3rem;
    --gf-ctrl-font-size: 1.4rem;
    --gf-ctrl-bg-color: #FBFAF7;
}

.gform_wrapper .gform_fields {
    grid-row-gap: 2.4rem !important;
}

.gform_wrapper .gfield_label,
.gform_wrapper .gform-field-label {
    font-family: var(--csi-font-body);
    font-size: 1.4rem !important;
    font-weight: 600 !important;
    line-height: 1.2;
    color: var(--csi-text-dark);
    padding: 0;
}

.gform_wrapper input,
.gform_wrapper select,
.gform_wrapper textarea {
    background: var(--csi-cream);
    width: 100%;
    border: .15rem solid #c0bfbf;
    border-radius: 1rem;
    padding: .9rem 1.3rem;
    font-family: var(--csi-font-body);
    font-size: 1.4rem;
    color: var(--csi-text-dark);
    box-shadow: none;
}

.gform_wrapper input:focus,
.gform_wrapper select:focus,
.gform_wrapper textarea:focus {
    outline: none;
    border-color: var(--csi-sky);
}

.gform_wrapper.gravity-theme .gfield_checkbox,
.gform_wrapper.gravity-theme .gfield_radio {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gform_wrapper.gravity-theme .gfield_radio .gchoice {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.gform_wrapper.gravity-theme .gfield_radio .gchoice input {
    width: 25px;
    height: 25px;
}

.gform_wrapper .gfield_required {
    font-size: inherit !important;
    font-weight: inherit !important;
    font-family: inherit !important;
    font-style: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;
}

.gform_wrapper .gform-field-label--type-sub {
    display: flex !important;
    gap: calc(0.125em + 0.5rem);
    margin: 0 0 1.25rem;
    white-space: pre;
}

.gform_wrapper .gform-field-label--type-sub span {
    display: flex;
    color: #c02b0a;
    margin: 0 !important;
}

.gform_wrapper .gform_required_legend {
    display: none;
}

.gform_wrapper .gform-field-decorator {
    display: none;
}

.gform_wrapper .gform_footer {
    margin-top: 2.4rem;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 1.4rem;
}

.quote-note-inline {
    font-size: 1.3rem;
    color: var(--csi-muted);
}

.gform_wrapper .gform_footer button[type="submit"],
.gform_wrapper .gform_footer input[type="submit"] {
    background: var(--csi-ink) !important;
    color: #ffffff !important;
    font-family: var(--csi-font-body) !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    padding: 1.3rem 2.6rem !important;
    border-radius: var(--csi-r-pill) !important;
    border: none !important;
    box-shadow: var(--csi-shadow-cta) !important;
    cursor: pointer;
}

.gform_wrapper .gform_footer input[type="submit"]:hover {
    background: var(--csi-ink-2) !important;
}

/* ## Responsive — home sections
--------------------------------------------- */
@media (max-width: 991px) {
    .reviews-archive--wrapper,
    .related-articles--wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .team-members {
        grid-template-columns: 1fr 1fr;
    }

    .media-card--badge {
        left: 1rem;
    }

    .about-section .media-card {
        margin-left: 0;
    }

}

@media (max-width: 767px) {
    .reviews-archive--wrapper,
    .related-articles--wrapper,
    .team-members {
        grid-template-columns: 1fr;
    }

}

/* ## Chrome — hide the site description (logo carries identity)
--------------------------------------------- */
.site-description {
    display: none;
}

/* ## Breadcrumbs (tto-custom-breadcrumbs, restyled to design trail)
--------------------------------------------- */
.custom-breadcrumbs,
.breadcrumb {
    font-size: 1.25rem;
    color: var(--csi-muted);
    margin-bottom: 1.8rem;
}

.custom-breadcrumbs a,
.breadcrumb a {
    color: var(--csi-teal);
    font-weight: 500;
}

.custom-breadcrumbs a:hover,
.breadcrumb a:hover {
    color: var(--csi-ink);
}

/* ## Page hero (interior)
--------------------------------------------- */

.page-hero-section > .gb-layout-column-wrap {
    align-items: center;
}

.page-hero-section.narrow > .gb-layout-column-wrap {
    max-width: 900px !important;
}

.page-hero-section .wp-block-heading {
    margin: .6rem 0 0;
}

.page-hero-section h1 + .hero-copy {
    margin-top: 2rem;
}

.hero-copy {
    font-size: 1.65rem;
    line-height: 1.7;
    color: var(--csi-text);
    max-width: 56ch;
}

.hero-note {
    font-size: 1.3rem;
    color: var(--csi-muted);
    margin-top: 1.4rem;
}

.hero-chip > .gb-container-inside > .gb-container-content {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--csi-chip);
    padding: .6rem 1.4rem;
    border-radius: var(--csi-r-pill);
    margin-bottom: 1.4rem;
}

.hero-chip .icon-block {
    display: flex;
    width: 1.2rem;
    height: 1.2rem;
    color: var(--csi-teal);
}

.hero-chip .icon-block svg {
    width: 100%;
    height: 100%;
}

.hero-chip p {
    color: #246e89;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.page-hero-section .media-card > img {
    aspect-ratio: 1 / 0.8;
    object-fit: cover;
}

/* ## CTA bands
--------------------------------------------- */
.cta-band .wp-block-heading {
    margin: 0 0 1rem;
    font-size: clamp(2.4rem, 2.4vw, 3rem);
}

.cta-band .cta-copy {
    max-width: 62ch;
    font-size: 1.45rem;
}

.cta-band .buttons-row-inline {
    margin-top: 2rem;
}

/* design pairs the copy left w/ buttons right on wide screens */
@media (min-width: 981px) {
    .cta-band > .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 1rem 4rem;
    }

    .cta-band .wp-block-heading {
        grid-column: 1;
    }

    .cta-band .cta-copy {
        grid-column: 1;
        margin: 0;
    }

    .cta-band .button-ctas {
        grid-column: 2;
        grid-row: 1 / span 2;
        margin: 0;
    }

}

/* The post-after pattern renders inside .entry-after, which tto-parent's section rules
don't cover (they scope to .site-inner > and .entry-content >), so the band arrives with
no padding at all and its copy sits flush against the column edge. Give it the same
treatment a section gets, plus a horizontal inset — inside a single post the band is only
as wide as the content column, so its wrap's max-width never creates one. */
.entry-after > .wp-block-genesis-blocks-gb-columns {
    padding: var(--theme-section-padding) 0;
    overflow: hidden;
}

.entry-after > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap {
    padding-right: var(--csi-pad-x);
    padding-left: var(--csi-pad-x);
}

/* band corners read as a deliberate panel rather than a full-bleed stripe when the band is
narrower than the viewport */
.entry-after > .cta-band,
.archive-content--after .cta-band {
    border-radius: var(--csi-r-panel);
}

.cta-band--plain {
    background: var(--csi-cream);
}

.cta-band--light {
    background: linear-gradient(160deg, #eef7fb 0%, #d8effa 100%);
}

.cta-band--dark {
    background: linear-gradient(150deg, #0A2342 0%, #0f3050 60%, #14486b 100%);
    position: relative;
    overflow: hidden;
}

.cta-band--dark::before {
    content: "";
    position: absolute;
    right: -5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 38rem;
    height: 38rem;
    background: url('assets/images/shield-mark-light.svg') no-repeat center / contain;
    opacity: .07;
    pointer-events: none;
}

.cta-band--dark .wp-block-heading {
    color: #ffffff;
}

.cta-band--dark .cta-copy {
    color: var(--csi-on-dark);
}

.phone-number-block--dark {
    color: #ffffff;
}

.phone-number-block--dark :is(i,
svg) {
    color: var(--csi-sky);
}

.cta-band--dark .phone-number-block {
    color: #ffffff;
}

.cta-band--dark .phone-number-block :is(i,
svg) {
    color: var(--csi-sky);
}

/* ## About — stats band
--------------------------------------------- */
.stats-band {
    background: linear-gradient(150deg, #0A2342 0%, #114368 60%, #1e7fae 100%);
    position: relative;
    overflow: hidden;
}

.stats-band::before {
    content: "";
    position: absolute;
    right: -4rem;
    bottom: -8rem;
    width: 34rem;
    height: 34rem;
    background: url('assets/images/shield-mark-light.svg') no-repeat center / contain;
    opacity: .08;
    pointer-events: none;
}

.success-number p {
    align-items: flex-start;
    gap: 0.5rem;
}

.success-number p .number-wrap {
    display: block;
    color: var(--csi-sky);
    font-size: clamp(3rem, 3vw, 4.2rem);
    font-weight: 400;
    font-family: var(--csi-font-display);
    line-height: 1.1;
}

.success-number p .number-wrap span {
    display: inline;
}

.success-number p .label {
    color: var(--csi-on-dark);
    font-size: 1.35rem;
    font-weight: 400;
    margin: .8rem 0 0;
}

@media (min-width: 992px) {
    .success-number {
        flex: 1;
        max-width: unset;
    }
}

/* ## Shared interior sections
--------------------------------------------- */
.values-section {
    background: var(--csi-cream);
}

.values-section .icon-cards {
    margin-top: 3rem;
}

.story-section,
.sister-section {
    background: var(--csi-cream);
}

.story-section > .gb-layout-column-wrap,
.sister-section > .gb-layout-column-wrap {
    align-items: center;
    column-gap: clamp(2.8rem, 4vw, 6.4rem);
}

/* ## Careers — job list
--------------------------------------------- */
.roles-section {
    background: var(--csi-cream);
}

.job-list {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    margin-top: 2.8rem;
    max-width: 760px;
}

.job-list--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: 1.6rem;
    padding: 2rem 2.4rem;
    box-shadow: var(--csi-shadow-card);
}

.job-list--meta h3 {
    font-family: var(--csi-font-body);
    font-size: 1.65rem;
    font-weight: 700;
    margin: 0 0 .4rem;
}

.job-list--meta p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.5rem;
    color: var(--csi-muted);
    font-size: 1.3rem;
    margin: 0;
}

.job-list .csi-btn {
    padding: 1rem 2.2rem;
    font-size: 1.4rem;
}

.job-note {
    font-size: 1.35rem;
    color: var(--csi-muted);
    margin-top: 1.8rem;
}

/* ## Awards grid
--------------------------------------------- */
.awards-section {
    background: var(--csi-cream);
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.awards-grid--rating {
    background: linear-gradient(160deg, #0f3050 0%, #14486b 100%);
    border-radius: var(--csi-r-card);
    padding: 2.6rem 2.4rem;
    color: #ffffff;
}

.awards-grid--rating .csi-stars {
    color: var(--csi-sky);
    margin-bottom: 1.2rem;
}

.awards-grid--rating .csi-stars .csi-star svg {
    color: var(--csi-sky);
}

.awards-grid--num {
    font-family: var(--csi-font-display);
    font-size: 4rem;
    display: block;
    line-height: 1.1;
}

.awards-grid--rating p {
    font-size: 1.35rem;
    color: var(--csi-on-dark);
    margin: .8rem 0 0;
}

.awards-grid--rating a {
    color: var(--csi-sky);
}

.awards-grid--card {
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: var(--csi-r-card);
    padding: 2.6rem 2.4rem;
    box-shadow: var(--csi-shadow-card);
}

.awards-grid--ph {
    display: block;
    width: 8.4rem;
    height: 8.4rem;
    border-radius: 1.4rem;
    background: var(--csi-surface);
    margin-bottom: 1.6rem;
}

.awards-grid--card h3 {
    font-family: var(--csi-font-body);
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 .8rem;
}

.awards-grid--card p {
    font-size: 1.3rem;
    color: var(--csi-muted);
    margin: 0;
}

.awards-note {
    font-size: 1.25rem;
    color: var(--csi-muted);
    margin-top: 1.6rem;
}

/* ## Reviews page
--------------------------------------------- */
.reviews-hero .inline-rating {
    margin-top: 1.6rem;
    display: inline-flex;
}

.reviews-wall-section {
    background: var(--csi-cream);
}

.review-themes-section {
    background: var(--csi-cream);
}

.review-themes-section .icon-cards {
    margin-top: 2.8rem;
}

.button-with-byline {
    margin-top: 3.6rem;
}

.button-with-byline > .gb-layout-column-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.button-with-byline > .gb-layout-column-wrap > .gb-block-layout-column {
    flex: 0 1 fit-content;
}

.button-with-byline p {
    color: var(--csi-muted);
    font-size: 1.35rem;
}

/* ## FAQs page (parent accordion restyled to design cards)
--------------------------------------------- */

.faqs-section > .gb-layout-column-wrap {
    max-width: 900px;
}

.faq-group-heading {
    font-size: 2.1rem;
    margin: 3.8rem 0 1.6rem;
}

.faq-group-heading:first-child {
    margin-top: 0;
}

.faq-accordion-items {
    margin-top: 0;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.accordion-item {
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: 1.4rem;
    box-shadow: var(--csi-shadow-card);
    overflow: hidden;
}

.accordion-header {
    margin: 0;
}

.accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.6rem;
    background: #ffffff;
    color: var(--csi-ink);
    font-family: var(--csi-font-body);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.8rem 2.2rem;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
    cursor: pointer;
}

.accordion-button :is(i,
svg) {
    color: var(--csi-teal);
    font-size: 1.3rem;
    transition: transform .25s ease;
}

.accordion-button:not(.collapsed) :is(i,
svg) {
    transform: rotate(180deg);
}

/* ## Resources page
--------------------------------------------- */
.resource-links-section {
    background: var(--csi-cream);
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: 1.8rem;
    padding: 2.4rem 2.6rem;
    box-shadow: var(--csi-shadow-card);
    height: 100%;
}

.resource-card--meta {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.resource-card--meta strong {
    font-size: 1.65rem;
    color: var(--csi-ink);
}

.resource-card--meta span {
    font-size: 1.35rem;
    color: var(--csi-text);
}

.resource-card--dark {
    background: linear-gradient(150deg, #0f3050 0%, #14486b 100%);
    border: none;
}

.resource-card--dark .resource-card--meta strong {
    color: #ffffff;
}

.resource-card--dark .resource-card--meta span {
    color: var(--csi-on-dark);
}

.resource-card--dark .csi-icon-chip {
    background: rgba(120, 203, 227, .18);
    color: var(--csi-sky);
}

.guides-section {
    background: var(--csi-cream);
}

.guides-section .icon-cards {
    margin-top: 2.8rem;
}

/* ## Areas We Serve (parent explorer restyled + map column)
--------------------------------------------- */
.areas-section {
    background: var(--csi-cream);
}

.areas-section > .gb-layout-column-wrap {
    column-gap: clamp(2.4rem, 3vw, 4.8rem);
    align-items: start;
}

@media (min-width: 768px) {
    .areas-section > .gb-layout-column-wrap {
        grid-template-columns: 500px 1fr;
    }
}

.areas-served--search {
    position: relative;
    margin: 2.2rem 0 1.6rem;
}

.areas-served--search input {
    width: 100%;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: var(--csi-r-pill);
    padding: 1.2rem 4.2rem 1.2rem 1.8rem;
    font-family: var(--csi-font-body);
    font-size: 1.4rem;
    color: var(--csi-text-dark);
}

.areas-served--search span {
    position: absolute;
    right: 1.6rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--csi-muted);
}

.areas-served .accordion {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.areas-served .accordion-item {
    background: var(--csi-surface);
    border: .1rem solid var(--csi-line);
    border-radius: 1.4rem;
    overflow: hidden;
}

.areas-served .accordion-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    color: var(--csi-ink);
    font-family: var(--csi-font-body);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.6rem 2rem;
    border: none;
    box-shadow: none;
    cursor: pointer;
}

.areas-served .accordion-body {
    padding: .4rem 1.4rem 1.4rem;
}

.areas-note {
    font-size: 1.3rem;
    color: var(--csi-muted);
    margin-top: 1.6rem;
}

/* ## Home Insurance — steps + single quote
--------------------------------------------- */

.steps-section .icon-cards {
    margin-top: 3rem;
}

.steps-section .reviews-archive {
    margin: 5.6rem auto 0;
    max-width: 640px;
    text-align: center;
}

.steps-section .reviews-archive--wrapper {
    display: block;
}

.steps-section .review {
    background-color: transparent;
    gap: 2rem;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.steps-section .review .csi-stars {
    justify-content: center;
    gap: 0.5rem;
}

.steps-section .review .csi-stars .csi-star {
    width: 1.8rem;
    height: 1.8rem;
}

.steps-section .review blockquote {
    font-family: var(--csi-font-display);
    font-size: 2.1rem;
    line-height: 1.5;
    color: var(--csi-ink);
    border: none;
    margin: 0;
    padding: 0;
}

.steps-section .review figcaption {
    justify-content: center;
}

.steps-section .review figcaption p {
    color: var(--csi-muted);
    font-size: 1.35rem;
}

.steps-section .review figcaption p strong {
    color: var(--csi-ink);
}

.who-flood-section .icon-cards {
    margin-top: 2.8rem;
}

/* ## Contact cards
--------------------------------------------- */
.contact-section {
    background: var(--csi-cream);
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: 1.8rem;
    padding: 2.2rem 2.4rem;
    box-shadow: var(--csi-shadow-card);
}

.contact-card p strong {
    color: var(--csi-ink);
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.contact-card p > span {
    display: flex;
}

.contact-card p > span:last-child {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    font-size: 1.4rem;
    color: var(--csi-text);
}

/* ## Legal pages
--------------------------------------------- */
.legal-section {
    background: #ffffff;
}

.legal-section > .gb-layout-column-wrap {
    max-width: 900px !important;
}

/* ## Responsive — interior
--------------------------------------------- */
@media (max-width: 980px) {
    .awards-grid,
    .contact-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 560px) {
    .awards-grid,
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .job-list--row {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ## Location pages
--------------------------------------------- */
.loc-involves-section {
    background: #ffffff;
}

.loc-involves-section .gb-block-layout-column-inner > p {
    font-size: 1.6rem;
    line-height: 1.7;
}

.loc-involves-section > .gb-layout-column-wrap {
    column-gap: clamp(2.4rem, 3vw, 5.6rem);
    align-items: start;
}

.loc-involves-section p {
    font-size: 1.55rem;
    line-height: 1.75;
}

.loc-involves-section .services-list {
    background-color: #fff;
    margin: 0 0 1.6rem;
    padding: 1.8rem 2rem;
    border: 1px solid var(--csi-line);
    border-radius: 1.8rem;
    box-shadow: var(--csi-shadow-card);
}

.loc-involves-section .services-list h3 {
    font-family: var(--csi-font-body);
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.5rem;
}

.loc-involves-section .services-list h3 :is(i, svg) {
    color: var(--csi-teal);
}

.loc-involves-section .services-list ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.loc-involves-section .services-list li {
    list-style-type: none;
}

.loc-involves-section .services-list li a {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.35rem;
    font-weight: 600;
}

.loc-involves-section .services-list li:hover a {
    color: var(--csi-ink);
    gap: 1.75rem;
}

.loc-involves-section .services-list li a svg {
    opacity: 0;
    transition: 0.25s ease-in-out opacity;
}

.loc-involves-section .services-list li:hover a svg {
    opacity: 1;
}

.loc-hoods-section {
    background: var(--csi-surface);
}

.loc-hoods-section .icon-cards--card {
    padding: 2.2rem 2rem;
}

.loc-hoods-section .icon-cards.is-cards .icon-cards--title {
    font-family: var(--csi-font-body);
    font-size: 1.55rem;
    font-weight: 700;
}

.loc-hoods-section .icon-cards--copy {
    font-size: 1.35rem;
}

.loc-involves-section .reviews-archive--wrapper {
    display: block;
}

.loc-involves-section .review {
    padding: 2rem;
}

.loc-involves-section .review blockquote {
    font-size: 1.35rem;
}

.loc-hoods-section .icon-cards {
    margin-top: 2.8rem;
}

.loc-hoods-section p {
    max-width: 64ch;
}

.loc-map-section {
    background: #ffffff;
}

.loc-map-section > .gb-layout-column-wrap {
    column-gap: clamp(2.4rem, 3vw, 5.6rem);
    align-items: start;
}

.loc-qa {
    margin-top: 1.8rem;
}

.loc-qa h3 {
    font-family: var(--csi-font-body);
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 .6rem;
}

.loc-qa p {
    font-size: 1.45rem;
    line-height: 1.65;
    color: var(--csi-text);
    margin: 0;
}

/* ## Blog archive (posts page)
--------------------------------------------- */
/* same wrap recipe as .blog .archive-content below it, so the header and the article grid
share one left edge (the horizontal padding was lost in the section-padding sweep) */
.blog-hero--inner {
    max-width: var(--theme-wrap-max-width);
    margin: 0 auto;
    padding: 0 var(--csi-pad-x);
}

.blog .site-inner,
.home.blog .site-inner {
    background: var(--csi-cream);
}

.blog .content .archive-filters {
    margin-bottom: 3rem;
}

.blog .archive-content--main .archive-grid--wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.blog .archive-content--featured .archive-grid--wrapper {
    display: block;
}

.blog .archive-content {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    max-width: var(--theme-wrap-max-width);
    margin: 0 auto;
    padding: 0 var(--csi-pad-x) 4rem;
}

.blog .archive-content--featured {
    margin-bottom: 2.4rem;
}

.blog .archive-content--section-heading {
    display: none;
}

@media (max-width: 980px) {
    .blog .archive-content--main .archive-grid--wrapper {
        grid-template-columns: 1fr 1fr;
    }

}

@media (max-width: 560px) {
    .blog .archive-content--main .archive-grid--wrapper {
        grid-template-columns: 1fr;
    }

}

/* reviews hero rating chip */
.rating-chip {
    display: inline-flex;
    align-items: center;
    gap: 1.4rem;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: 1.8rem;
    margin: 0 0 5rem;
    padding: 1.8rem 2.4rem;
    box-shadow: var(--csi-shadow-card);
}

@media (min-width: 768px) {
    .rating-chip {
        float: right;
        margin-top: 5rem;
    }
}

.rating-chip--num {
    font-family: var(--csi-font-display);
    font-size: 3.4rem;
    color: var(--csi-ink);
}

.rating-chip--meta {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    font-size: 1.25rem;
    color: var(--csi-muted);
}

.rating-chip--meta .csi-stars .csi-star {
    width: 1.2rem;
    height: 1.2rem;
}

/* ## Blog archive — pills, featured 2-col, card meta order
--------------------------------------------- */
.blog .page-hero-section {
    padding-bottom: 0;
}

.blog-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2.2rem;
}

.blog-pills--pill {
    display: inline-flex;
    align-items: center;
    background: #ffffff;
    border: .1rem solid var(--csi-line);
    border-radius: var(--csi-r-pill);
    padding: .7rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--csi-text-dark);
}

.blog-pills--pill:hover {
    border-color: var(--csi-sky);
    color: var(--csi-ink);
}

.blog-pills--pill.is-active {
    background: var(--csi-ink);
    border-color: var(--csi-ink);
    color: #ffffff;
}

/* featured post — wide 2-col card (image | content), not a grid card */
.blog .archive-content--featured,
.blog:not(.first-page) .archive-content--main {
    background: none;
    padding: 0;
    margin: 0;
}

.blog .archive-content--main {
    padding-top: 0;
}

.blog .archive-grid {
    margin: 0;
}

/* the parent theme nests a .wrap inside each archive section; its 95% width insets the
grid 32px past the header. Make those inner wraps transparent so every row on the
archive shares the same left edge as the page header. */
.blog .archive-content .wrap {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.blog .archive-content--featured .archive-single {
    border-radius: var(--csi-r-card);
    box-shadow: var(--csi-shadow-card);
}

.blog .archive-content--featured .archive-single--link {
    display: grid;
    grid-template-columns: 0.85fr 1fr;
    align-items: stretch;
}

.blog .archive-content--featured .archive-single--image img {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}

.blog .archive-content--featured .archive-single--content {
    padding: 2.2rem;
    justify-content: center;
}

.blog .archive-content--featured .archive-single--content-info-title h2,
.blog .archive-content--featured .archive-single--content-info-title h3 {
    font-family: var(--csi-font-display);
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1.25;
}

@media (min-width: 901px) {
    .archive-content--featured .archive-single--image {
        max-width: 100%;
        border-radius: 0;
    }

    .blog .archive-content--featured .archive-single--content {
        padding: 5rem;
        padding-left: 0;
    }
}

/* card meta (chip · read time) sits ABOVE the title, per the design */
.archive-single--content-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.archive-single--content-info .csi-card-meta {
    order: 1;
    margin: 0;
}

.archive-single--content-info .archive-single--content-info-title {
    order: 2;
    margin: 0;
}

.archive-single--content-info .archive-single--content-info-description {
    order: 3;
}

@media (max-width: 900px) {
    .blog .archive-content--featured .archive-single--link {
        grid-template-columns: 1fr;
    }

    .blog .archive-content--featured .archive-single--image img {
        min-height: 0;
    }

}

/* ## Mobile menu — strip desktop dropdown chrome below the nav breakpoint
(collapsed sub-menus otherwise render the white panel as empty "pills") */
@media (max-width: 895px) {
    .nav-primary .menu > .menu-item > p,
    .nav-primary .menu > .menu-item > a {
        font-weight: 600;
    }

    .nav-primary .mega-menu-container,
    .nav-primary .menu > .menu-item > .sub-menu {
        position: static;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        min-width: 0;
    }

    .nav-primary .mega-menu-container > .mega-menu-wrap > .sub-menu > .menu-item,
    .nav-primary .menu > .menu-item > .sub-menu > .menu-item:first-child {
        margin-top: 2rem;
    }

    .nav-primary .sub-menu a {
        padding: 1rem 0.8rem;
        border-radius: 0.8rem;
    }

    .nav-primary .sub-menu :is(p, a) {
        font-size: 1.5rem;
    }

    /* the parent's .sub-menu-toggle is the mobile caret — hide our desktop ::after */
    .nav-primary .menu-item-has-children > a::after {
        content: none;
    }

    .nav-primary .menu-primary > li > a {
        font-size: 1.65rem;
        padding: 1.2rem .4rem;
    }

    .nav-primary .mega-menu-container > .mega-menu-wrap > .sub-menu > li > p {
        padding: 0 0.8rem;
    }
}

.areas-served--tag {
    font-style: normal;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #246e89;
    background: var(--csi-chip);
    border-radius: var(--csi-r-pill);
    padding: .3rem .9rem;
    margin-left: .8rem;
    vertical-align: middle;
}

/* the parent already renders a Font Awesome caret here — just tint and size it */
.areas-served .accordion-button .fa-chevron-down {
    color: var(--csi-teal);
    font-size: 1.3rem;
}

.areas-served--locations ul {
    list-style: none;
    margin: 0;
    padding: .6rem 0;
    column-gap: 3.2rem;
}

.areas-served--locations li {
    margin: 0;
    padding: 0;
}

.areas-served--locations li a {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--csi-text-dark);
    font-size: 1.45rem;
    font-weight: 500;
    padding: .8rem 1.2rem;
    border-radius: var(--csi-r-chip);
}

.areas-served--locations li a:hover {
    background-color: rgba(120, 203, 227, .14);
    color: var(--csi-teal);
}

/* the icon sits in its own fixed-width flex box so every pin shares one optical centre
line with its label — FA swaps the <i> for an <svg>, which otherwise rides the text
baseline and reads high */
.areas-served--locations li a > span:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.6rem;
    height: 1.6rem;
    line-height: 1;
}

.areas-served--locations li a > span:last-child {
    line-height: 1.3;
}

/* likewise the parent's map pin */
.areas-served--locations .fa-map-pin {
    position: unset;
    display: block;
    color: var(--csi-teal);
    font-size: 1.4rem;
}

/* ## Guide pages
--------------------------------------------- */
.guide-body-section {
    background: #ffffff;
}

.guide-body-section > .gb-layout-column-wrap {
    max-width: 860px !important;
}

.guide-h2 {
    font-size: clamp(2.4rem, 2.4vw, 3rem);
    margin: 3.4rem 0 1.2rem;
}

.guide-body-section p {
    font-size: 1.65rem;
    line-height: 1.8;
}

.referral-page-grid {
    padding-top: 4rem;
}

/* topbar right cluster + quote link */
.csi-topbar--right {
    display: inline-flex;
    align-items: center;
    gap: 2.2rem;
}

.csi-topbar--quote {
    color: var(--csi-sky);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.csi-topbar--quote:hover {
    color: #ffffff;
}

.csi-topbar--quote :is(i, svg) {
    margin-left: .6rem;
    margin-right: 0;
    font-size: 1.3rem;
}

/* ## Figma parity — Home (Initial canvas)
Values lifted from the frame node tree; selectors that had no existing rule.
--------------------------------------------- */
/* blog cards — the design sets these in the display serif, not bold body */
.blog-section .archive-single--content-info-title h2,
.blog-section .archive-single--content-info-title h3 {
    font-family: var(--csi-font-display);
    font-size: 2.1rem;
    font-weight: 400;
    line-height: 1.3;
}

.blog-section .archive-single--content-info-description p {
    font-size: 1.5rem;
    line-height: 1.65;
}

.blog-section .archive-single--content-cta p {
    color: var(--csi-teal);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}

/* review attribution — Figma 14.5/17.4 w600 */
.reviews-section .review figcaption strong {
    color: var(--csi-text-dark);
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.2;
}

@media (max-width: 767px) {
    .home .anchor-section:has(.about-section, .glance-section) {
        display: flex;
        flex-direction: column;
        padding: var(--theme-section-padding-mobile) var(--theme-wrap-padding-mobile);
    }

    .home .anchor-section:has(.about-section, .glance-section) > .wp-block-genesis-blocks-gb-columns,
    .home .anchor-section:has(.about-section, .glance-section) > .wp-block-genesis-blocks-gb-columns > .gb-layout-column-wrap {
        display: contents;
    }

    .home .anchor-section:has(.about-section, .glance-section) > .about-section > .gb-layout-column-wrap > .gb-block-layout-column:first-child {
        order: 2;
        margin: 6rem 0 0;
    }

    .home .anchor-section:has(.about-section, .glance-section) > .about-section > .gb-layout-column-wrap > .gb-block-layout-column:last-child {
        order: -1;
        margin: 0 0 2rem;
    }

    .home .anchor-section:has(.about-section, .glance-section) > .glance-section > .gb-layout-column-wrap > .gb-block-layout-column {
       margin: 4rem 0 0;
    }

    .home .entry-content > .wp-block-genesis-blocks-gb-columns:has(.csi-head-row) > .gb-layout-column-wrap > .gb-block-layout-column > .gb-block-layout-column-inner {
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }

    .home .csi-head-row,
    .home .csi-head-row > .gb-layout-column-wrap {
        display: contents;
    }

    .home .csi-head-row > .gb-layout-column-wrap > .gb-block-layout-column:last-child {
        order: 2;
    }

    .home .csi-head-row .csi-eyebrow,
    .home .csi-head-row .csi-eyebrow + .wp-block-heading {
        text-align: center;
    }

    .home .csi-head-row .custom-button {
        justify-content: center;
    }
}

@media (min-width: 896px) and (max-width: 1352px) {
    .nav-primary .menu-primary > li > :is(a, p) {
        font-size: min(1.65rem, 1.13vw);
    }

    .nav-primary .mega-menu-container {
        padding: min(2.4rem, 1.78vw) min(2.8rem, 2.08vw);
    }

    .nav-primary .sub-menu > .menu-item-has-children > p {
        font-size: min(1.2rem, 0.89vw);
    }

    .nav-primary .sub-menu :is(a, p) {
        font-size: min(1.5rem, 1.11vw);
    }

    .primary-header-ctas .phone-number-block a {
        grid-template-columns: min(1.7rem, 1.26vw) 1fr;
        gap: min(0.9rem, 0.67vw);
        font-size: min(1.5rem, 1vw);
    }

    .primary-header-ctas .phone-number-block a .icon,
    .primary-header-ctas .phone-number-block a svg {
        width: min(1.7rem, 1.26vw);
        height: min(1.7rem, 1.26vw);
        font-size: min(1.7rem, 1.26vw);
    }

    .primary-header-ctas .custom-button a.button {
        gap: min(0.8rem, 0.6vw);
        font-size: min(1.5rem, 1vw);
        padding: min(1.4rem, 1.04vw) min(2.6rem, 1.93vw);
    }
}