/* =============================================================
   ContentPage.css
   Styles for the ContentPage skin (ContentPage.ascx)
   Sections:
     1. CSS Variables / Design Tokens
     2. Hero Section      (.cp-hero-*)
     3. Intro Section     (.cp-intro-*)
     4. Card Grid         (.cp-card-*)
     5. Feature/Promo     (.cp-feature-*)
     6. Shared utilities  (.cp-section-inner, etc.)
     7. Responsive overrides
   ============================================================= */

/* ------------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------------ */
:root {
    --primary-dark: #001a3a;
    --cp-gold: #F0A800;
    --cp-gold-light: #F5C84A;
    --cp-white: #ffffff;
    --cp-gray-light: #f5f5f5;
    --cp-gray-border: #e0e0e0;
    --cp-text-dark: #1a1a1a;
    --cp-text-body: #333333;
    --cp-font-sans: 'Noto Sans', Arial, sans-serif;
    --cp-font-marsh-serif: 'Marsh Serif', Arial, sans-serif !important;
    --cp-section-py: 3rem;
    --primary: #000f47;
    --gold-750: #ffbf00;
    --gold-1000: #cb7e03;
    --grey-50: #fdfcfa;
    --grey-250: #f7f3ee;
    --blue-light: #77d3ff;
    --text-inverted: #ceecff;
    --white: #ffffff;
    --font-body: 'Noto Sans', sans-serif;
    --font-display: Georgia, 'Times New Roman', serif;
    --line-height-sm: 20px;
    --line-height-md: 24px;
    --line-height-lg: 28px;
    --size-sm: 14px;
    --size-md: 16px;
    --size-lg: 18px;
    --btn-primary-hover: #082D9E;
    --btn-primary-active: #0B4BFF;
    --focus-blue: #3a97f9;
    --border-gray: #6F6D68;
    --divider-gray: #DEDBD6;
    --text-disabled: #808080;
    --text-critical: #9a1c1f;
    --interaction-hover-tertiary: rgba(0, 0, 0, 0.08);
    --interaction-active-tertiary: rgba(0, 0, 0, 0.03);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--primary);
    line-height: var(--line-height-md);
    font-size: var(--size-md);
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

#CardSection a:hover {
    text-decoration: underline;
}

#CardSection a:active {
    text-decoration: none;
}

#CardSection a:focus {
    box-shadow: 0 0 0 3px #ffffff, 0 0 4px 7px #3D7AFF;
    padding: 1px;
    background: #ffffff !important;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--primary) !important;
    color: var(--text-inverted) !important;
    font-family: var(--font-body) !important;
    font-size: var(--size-md) !important;
    font-weight: 700 !important;
    line-height: var(--line-height-md) !important;
    padding: 12px 16px;
    min-width: 80px;
    min-height: 48px;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease;
    -webkit-text-decoration: inherit;
    text-decoration: none !important;
}

    .btn-primary:hover {
        background-color: var(--btn-primary-hover) !important;
        color: var(--text-inverted) !important;
        text-decoration: none !important;
    }
    .btn-primary:active {
        background-color: var(--btn-primary-active) !important;
        color: var(--text-inverted) !important;
        text-decoration: none !important;
    }

    .btn-primary:focus-visible {
        outline: 2px solid var(--blue-light) !important;
        outline-offset: 2px;
        text-decoration: none !important;
    }

    .btn-primary .btn-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .btn-primary .btn-icon svg {
            fill: var(--text-inverted);
        }

.btn-tertiary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--primary) !important;
    font-family: var(--font-body) !important;
    font-size: var(--size-md) !important;
    font-weight: 700 !important;
    line-height: var(--line-height-md) !important;
    padding: 4px !important;
    height: auto;
    max-height: 48px;
    min-width: 80px;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none !important;
    position: relative;
    overflow: visible;
    transition: color 0.2s ease;
}

    /* Hover: text shifts to interaction blue; overlay extends 12px beyond sides */
    .btn-tertiary:hover {
        color: var(--btn-primary-hover, #082d9e) !important;
        background-color: rgba(0, 0, 0, 0.08);
        border-color: rgba(0, 0, 0, 0.08);
        text-decoration: none !important;
    }

    .btn-tertiary:hover::before {
        content: '';
        position: absolute;
        inset: 0 -12px;
        background: var(--interaction-hover-tertiary, rgba(0, 0, 0, 0.08));
        border-radius: 2px;
        z-index: -1;
        pointer-events: none;
    }

    .btn-tertiary:active {
        color: var(--btn-primary-active, #0b4bff) !important;
        text-decoration: none !important;
        background-color: rgba(0, 0, 0, 0.03);
        border-color: rgba(0, 0, 0, 0.03);
    }

    .btn-tertiary:active::before {
        content: '';
        position: absolute;
        inset: 0 -12px;
        background: var(--interaction-active-tertiary, rgba(0, 0, 0, 0.03));
        border-radius: 2px;
        z-index: -1;
        pointer-events: none;
    }

    .btn-tertiary:disabled,
    .btn-tertiary.is-disabled {
        color: var(--text-disabled, #808080) !important;
        cursor: not-allowed;
        pointer-events: none;
    }

    .btn-tertiary.is-destructive {
        color: var(--text-critical, #9a1c1f) !important;
    }

    .btn-tertiary:focus-visible {
        box-shadow: 0 0 0 3px #ffffff, 0 0 4px 7px #3D7AFF;
        padding: 1px;
        background: #ffffff !important;
    }

    .btn-tertiary .btn-icon {
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .btn-tertiary .btn-icon svg {
            fill: currentColor;
        }

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: var(--white);
    padding: 8px 16px;
    z-index: 100;
    font-size: var(--size-sm);
    transition: top 0.2s;
}

    .skip-link:focus {
        top: 0;
    }

/* ------------------------------------------------------------------
   2. Hero Section  — rendered by iMercerContentPageHero skin object
   ------------------------------------------------------------------ */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
    text-align: center;
    overflow: hidden;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 920px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cp-hero-section {
    position: relative;
    width: 100%;
    min-height: 248px;
    overflow: hidden;
}

/* Soft white wash over image like design */
.cp-hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
    pointer-events: none;
}

/* Background image pane (drop an image module in heroImagePane) */
.cp-hero-image-pane {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.cp-hero-image-pane,
.cp-hero-image-pane > div,
.cp-hero-image-pane .DnnModule,
.cp-hero-image-pane .DNNModuleContent,
.cp-hero-image-pane .Normal {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.cp-hero-image-pane img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Optional real overlay node support if enabled in ascx */
.cp-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    z-index: 1;
}

.cp-hero-content {
    position: relative;
    z-index: 2;
    min-height: 248px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
}

/* In DNN edit mode, let pointer events pass through hero content wrapper
   so background heroImagePane modules can receive hover and show edit actions. */
body.dnnEditState .cp-hero-content {
    pointer-events: none;
}

/* Keep module-level interactions enabled inside hero content while editing. */
body.dnnEditState .cp-hero-content .DnnModule,
body.dnnEditState .cp-hero-content .DnnModule * {
    pointer-events: auto;
}

/* heroPane: add one heading and one paragraph module content */
.cp-hero-pane {
    color: var(--primary);
}

    .cp-hero-pane h1,
    .cp-hero-pane h2 {
        font-family: var(--cp-font-marsh-serif) !important;
        font-weight: 400;
        color: var(--primary) !important;
        margin-bottom: 0.5rem;
        line-height: 56px;
        font-size: 48px;
        white-space: nowrap;
    }
    
    .cp-hero-pane .hero__content {
        max-width: none;
        width: 100%;
    }

    .cp-hero-pane p{
        font-family: var(--cp-font-sans) !important;
        font-weight: 500;
        letter-spacing: 0px;
        text-align: center;
        line-height: 28px;
        font-size: 18px;
        color: var(--primary) !important;
    }

@media (max-width: 480px) {
    .cp-hero-pane h1,
    .cp-hero-pane h2 {
        font-size: 28px;
        line-height: 36px;
    }

    .cp-hero-pane p {
        font-size: var(--size-md);
    }
}

@media (max-width: 768px) {
    .cp-hero-pane h1,
    .cp-hero-pane h2 {
        font-size: 32px;
        line-height: 40px;
    }

    .hero {
        padding: 48px 16px;
    }
}

    /* ------------------------------------------------------------------
   3. Intro / Two-Column Section
   ------------------------------------------------------------------ */
    .cp-intro-section {
        background-color: var(--cp-white) !important;
        padding: var(--cp-section-py) 0;
    }

    .cp-section-inner {
        max-width: 1280px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 2rem;
        padding-right: 2rem;
    }

    /* Left column — body / intro text */
    .cp-intro-left {
        padding-right: 2.5rem;
    }

    .cp-intro-text-pane {
        font-family: var(--cp-font-sans) !important;
        font-size: 16px;
        line-height: 24px;
        color: var(--primary) !important;
        font-weight: 400;
    }

        .cp-intro-text-pane p {
            font-family: var(--cp-font-sans) !important;
            margin-bottom: 16px;
            line-height: var(--line-height-md);
            font-size: var(--size-md);
            color: var(--primary) !important;
            font-weight: 400;
        }

        .cp-intro-text-pane strong,
        .cp-intro-text-pane b {
            font-weight: 700;
        }

    /* Right column — radio / form widget */
    .cp-intro-right {
        padding-left: 20px;
    }

    .cp-form-pane {
        font-family: var(--cp-font-sans) !important;
        font-size: 1rem;
        color: var(--cp-text-body) !important;
    }

        /* Radio-style question heading */
        #formPane h2,
        .cp-form-pane h2 {
            font-family: var(--cp-font-marsh-serif) !important;
            color: var(--cp-text-dark) !important;
            margin-bottom: 0.5rem;
            font-weight: 400;
            font-size: 20px;
            letter-spacing: 0px;
            line-height: var(--line-height-lg);
        }

        /* Form labels using HTML tag selector */
        #formPane label,
        .cp-form-pane label {
            display: inline-block;
            font-family: var(--cp-font-sans) !important;
            font-size: 16px;
            color: var(--primary) !important;
            line-height: 24px;
            margin-bottom: 0.5rem;
            font-weight: 400;
            letter-spacing: 0px;
            vertical-align: middle;
            cursor: pointer;
            margin-top: 7px;
            line-height: 1.3;
        }

        /* Radio inputs styled to match brand */
        .cp-form-pane input[type="radio"] {
            -webkit-appearance: none;
            appearance: none;
            width: 24px;
            height: 24px;
            border: 1px solid var(--border-gray);
            border-radius: 50%;
            background-color: var(--white);
            flex-shrink: 0;
            cursor: pointer;
            position: relative;
            margin-right: 0.5rem;
            vertical-align: middle;
            transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
        }

            .cp-form-pane input[type="radio"]:hover {
                border: 1px solid rgba(11, 75, 255, 1) !important;
                box-shadow: 0 0 0 4px rgba(11, 75, 255, 0.1) !important;
            }

            .cp-form-pane input[type="radio"]:active {
                border: 2px solid #0B4BFF !important;
                box-shadow: 0 0 0 4px rgba(11, 75, 255, 0.2) !important;
            }

            .cp-form-pane input[type="radio"]::after {
                content: '';
                position: absolute;
                top: 50%;
                left: 50%;
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: var(--primary);
                transform: translate(-50%, -50%) scale(0);
                transition: transform 0.15s ease;
            }

            .cp-form-pane input[type="radio"]:checked {
                border-color: var(--primary);
            }

                .cp-form-pane input[type="radio"]:checked:hover {
                    border: 1px solid rgba(11, 75, 255, 1) !important;
                    box-shadow: 0 0 0 4px rgba(11, 75, 255, 0.1) !important;
                }

                .cp-form-pane input[type="radio"]:checked:active {
                    border: 2px solid #0B4BFF !important;
                    box-shadow: 0 0 0 4px rgba(11, 75, 255, 0.2) !important;
                }

                .cp-form-pane input[type="radio"]:checked::after {
                    transform: translate(-50%, -50%) scale(1);
                }

            .cp-form-pane input[type="radio"]:focus-visible {
                outline: none;
                box-shadow: 0 0 0 4px #0B4BFF1A !important;
            }

            .cp-form-pane .is-invalid input[type="radio"],
            .cp-form-pane input[type="radio"].is-invalid {
                border-color: #9A1C1F !important;
            }

            .cp-form-pane .is-invalid input[type="radio"]::after,
            .cp-form-pane input[type="radio"].is-invalid::after {
                background-color: #9A1C1F;
            }

            .cp-form-pane .is-disabled input[type="radio"],
            .cp-form-pane input[type="radio"]:disabled {
                border-color: #B9BFC7;
                background-color: #F8FAFC;
                cursor: not-allowed;
                opacity: 0.7;
            }

            .cp-form-pane .is-disabled label,
            .cp-form-pane input[type="radio"]:disabled + label {
                color: #6F6D68 !important;
                cursor: not-allowed;
            }

            .cp-form-pane .is-disabled input[type="radio"]::after,
            .cp-form-pane input[type="radio"]:disabled::after {
                background-color: #B9BFC7;
            }

        
        /* CTA button within the form pane */
        .cp-form-pane .btn-cp-cta,
        .cp-form-pane a.btn-cp-cta {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1.5rem;
            padding: 0.65rem 1.4rem;
            background-color: var(--primary) !important;
            color: var(--cp-white) !important;
            font-family: var(--cp-font-sans) !important;
            font-size: 0.95rem;
            font-weight: 600;
            text-decoration: none;
            border: 2px solid var(--primary) !important;
            transition: background-color 0.2s ease, color 0.2s ease;
        }

            .cp-form-pane .btn-cp-cta:hover,
            .cp-form-pane a.btn-cp-cta:hover {
                background-color: transparent;
                color: var(--primary);
            }

.content-section__description {
    flex: 1;
    max-width: 684px;
}
 .content-section__description p:last-child {
        margin-bottom: 0;
    }

    .content-section__description a {
        color: var(--btn-primary-active) !important;
        text-decoration: underline !important;
    }

    .content-section__description a:hover {
        text-decoration: none !important;
    }

.content-section__survey {
    flex: 1;
    max-width: 684px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.survey__title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark, #003366);
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.survey__divider {
    width: 100%;
    height: 1px;
    background-color: var(--divider-gray, #e0e0e0) !important;
    margin-top: 0;
    margin-bottom: 12px; /* Figma: divider y=40, options y=52, gap=12px */
}

.survey__options {
    border: none;
    padding: 0;
    margin: 0;
}

/* ─── Voting State: radio/checkbox + label rows ─── */
.survey__option {
    display: flex;
    align-items: center;
    gap: 8px;            /* space between input and label text (x=28 in Figma) */
    min-height: 24px;    /* per Figma option row height */
    margin-bottom: 8px;  /* 32px cycle = 24px row + 8px gap */
}

.survey__option:last-child {
    margin-bottom: 0;
}

.survey__option input[type="radio"],
.survey__option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    accent-color: var(--btn-primary, #0077A0);
    cursor: pointer;
    margin: 0;
}

.survey__option label {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-dark, #333);
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.survey__option input[type="radio"]:disabled,
.survey__option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.survey__result-item {
    margin-bottom: 4px; 
}

.survey__result-item:last-of-type {
    margin-bottom: 0;
}

.survey__result-item--linked {
    margin-left: 24px;
    padding-left: 12px;
    border-left: 2px solid var(--divider-gray, #e0e0e0);
}

.survey__result-label {
    color: var(--v-3-text-icon-primary, #000F47);
    font-family: var(--Family-Body, "Noto Sans");
    font-size: var(--Size-xs, 12px);
    font-style: normal;
    font-weight: 400;
    line-height: var(--Line-height-xs, 16px);
    display: block;
    margin-bottom: 4px;   /* Gap between label and progress bar */
}

.survey__result-bar {
    height: 8px;
    background-color: #D0CCCA;
    overflow: hidden;
    width: 100%;
}

.survey__result-fill {
    height: 100%;
    width: 0%; /* animated via jQuery to actual percentage */
    transition: width 2s ease-in-out;
    border-right: 2px solid #FFF; /* Match jQuery animation duration (2000ms) */
}

/* ─── Vote count shown after results ─── */
.lblTotalPoll {
    color: var(--v-3-text-icon-primary, #000F47) !important;
    font-family: var(--Family-Body, "Noto Sans") !important;
    font-size: var(--Size-xs, 12px) !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: var(--Line-height-xs, 16px) !important; /* 133.333% */
}

.lblTotalPoll.hidden {
    display: none !important;
}

/* ─── Submit button + spinner ─── */
.survey__cta {
    margin-top: 32px; /* Figma: last option ends at y=184, button at y=216, gap=32px */
}

.pollsubmitButton {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pollsubmitButton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.pollBtnSpinner {
    display: none;
    margin-right: 4px;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
    .survey__option {
        min-height: auto;
    }

    .survey__option label,
    .survey__result-label {
        font-size: 0.9rem;
    }

    .survey__option input[type="radio"],
    .survey__option input[type="checkbox"] {
        width: 18px;
        height: 18px;
    }

    .pollsubmitButton {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .survey__option label,
    .survey__result-label {
        font-size: 0.85rem;
    }

    .survey__option input[type="radio"],
    .survey__option input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }
}

/* ======================== */
/* Utility Classes          */
/* ======================== */

.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}
@media (max-width: 1024px) {
    .content-section__description,
    .content-section__survey {
        max-width: 100%;
    }

    .cta-section {
        flex-direction: column;
    }

    .cta-section__image {
        width: 100%;
    }

        .cta-section__image img {
            height: 250px;
        }
}

    /* ------------------------------------------------------------------
   4. Card Grid Section
   ------------------------------------------------------------------ */
    .cp-card-grid-section {
        background-color: var(--grey-250);
        padding: var(--cp-section-py) 0;
    }

    .cp-card-row {
        row-gap: 1.5rem;
    }

    .cp-card-col {
        display: flex;
    }

    /* Card shell — rendered by iMercerContentCard skin object */
    .cp-content-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        background: #ffffff;
        border-top: 4px solid var(--gold-750) !important;
        border-left: none !important;
        border-right: none !important;
        border-bottom: none !important;
        border-radius: 0px !important;
        min-height: 260px;
        padding: 20px;
        margin-bottom: 20px;
    }

        .cp-content-card:hover {
            background: var(--grey-50, #fdfcfa);
            border-top-color: var(--gold-1000, #cb7e03) !important;
            transition: all 300ms ease-out;
        }

    /* Card body — the DNN pane that receives the content module */
    .cp-content-card-body {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 24px;
        color: var(--primary);
        line-height: 1.45;
    }

        /* Card title (module heading inside the pane) */
        .cp-content-card-body .productCardHeading,
        .cp-content-card-body h3,
        .cp-content-card-body h4 {
            margin: 0;
            color: var(--primary) !important;
            font-family: var(--cp-font-marsh-serif) !important;
            font-weight: 400;
            font-size: 20px;
            line-height: var(--line-height-lg) !important;
            letter-spacing: 0px;
        }


        .cp-content-card-body h4 {
            font-size: 24px;
        }

        .cp-content-card-body p {
            font-family: var(--cp-font-sans) !important;
            font-weight: 400;
            font-size: var(--size-md);
            line-height: var(--line-height-md) !important;
            letter-spacing: 0px;
            color: var(--primary) !important;
        }

            .cp-content-card-body p strong {
                font-weight: 700;
            }

.survey__result-percentage {
    color: var(--v-3-text-icon-primary, #000F47);
    font-family: var(--Family-Body, "Noto Sans");
    font-size: var(--Size-xs, 12px);
    font-style: normal;
    font-weight: 700; /* Bold percentage */
    line-height: var(--Line-height-xs, 16px);
}

/* Cards Section */

.card {
    display: flex;
    flex-direction: column;
}

.card__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}


        /* "Call to action →" tertiary button (Small) inside a card — matches Button V2.2 Tertiary spec */
        .cp-content-card-body a.card-cta-link,
        .cp-content-card-body .card-cta-link {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-top: 0;
            font-family: var(--cp-font-sans) !important;
            font-size: 16px;
            font-weight: 700;
            line-height: 24px;
            color: var(--primary) !important;
            text-decoration: none !important;
            height: 32px;
            max-height: 32px;
            min-width: 72px;
            padding: 4px 0;
            border-radius: 2px;
            border: none !important;
            background: transparent;
            position: relative;
            overflow: visible;
            transition: color 0.2s ease;
        }

            /* Override #CardSection a:hover white bg so the ::before overlay is visible */
            #CardSection .cp-content-card-body a.card-cta-link:hover,
            #CardSection .cp-content-card-body .card-cta-link:hover {
                background-color: transparent !important;
            }

            .cp-content-card-body a.card-cta-link:hover,
            .cp-content-card-body .card-cta-link:hover {
                color: var(--btn-primary-hover, #082d9e) !important;
                background: transparent;
                text-decoration: none !important;
            }

            .cp-content-card-body a.card-cta-link:hover::before,
            .cp-content-card-body .card-cta-link:hover::before {
                content: '';
                position: absolute;
                inset: 0 -12px;
                background: var(--interaction-hover-tertiary, rgba(0, 0, 0, 0.08));
                border-radius: 2px;
                z-index: -1;
                pointer-events: none;
            }

            .cp-content-card-body a.card-cta-link:active,
            .cp-content-card-body .card-cta-link:active {
                color: var(--btn-primary-active, #0b4bff) !important;
                text-decoration: none !important;
            }

            .cp-content-card-body a.card-cta-link:active::before,
            .cp-content-card-body .card-cta-link:active::before {
                content: '';
                position: absolute;
                inset: 0 -12px;
                background: var(--interaction-active-tertiary, rgba(0, 0, 0, 0.03));
                border-radius: 2px;
                z-index: -1;
                pointer-events: none;
            }

            .cp-content-card-body a.card-cta-link:focus-visible,
            .cp-content-card-body .card-cta-link:focus-visible {
                outline: 2px solid var(--primary) !important;
                outline-offset: 2px !important;
                text-decoration: none !important;
            }

    .resourceCard-link {
        color: var(--primary) !important;
        font-weight: 700;
        font-size: 16px;
        text-decoration: none !important;
        margin-top: 15px;
    }

        .resourceCard-link:hover {
            text-decoration: underline !important;
        }

            .resourceCard-link:hover .spnarrow {
                text-decoration: none !important;
            }

        .resourceCard-link .spnarrow {
            margin-left: 10px;
            font-size: 14px;
        }


    /* Text line-clamp helper — modules can apply .cp-clamp-4 for max 4 rows */
    .cp-clamp-4 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
        overflow: hidden;
    }

    /* ------------------------------------------------------------------
   5. Feature / Promo Section
   ------------------------------------------------------------------ */
    .cp-feature-section {
        overflow: hidden;
    }

        .cp-feature-section .container-fluid {
            max-width: 1280px;
            margin-left: auto;
            margin-right: auto;
        }

        .cp-feature-section .row.no-gutters {
            align-items: center;
        }

    /* Left column: feature image fills the column */
    .cp-feature-image-col {
        overflow: hidden;
        padding: 40px 20px 40px 20px !important;
    }

    .cp-feature-image-pane {
        width: 100%;
        height: 100%;
    }

        /* The image module inside the pane should fill the space */
        .cp-feature-image-pane img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

    /* Right column: text + CTA on navy background */
    .cp-feature-text-col {
        display: flex;
        align-items: center;
    }

    .cp-feature-text-pane h2,
    .cp-feature-text-pane h3 {
        font-family: var(--cp-font-marsh-serif) !important;
        font-weight: 400;
        font-size: 24px;
        line-height: 32px;
        letter-spacing: 0px;
        color: var(--primary) !important;
    }

    .cp-feature-text-pane p {
        font-size: var(--size-md);
        font-weight: 500;
        line-height: var(--line-height-md);
        color: var(--primary);
        font-family: var(--cp-font-sans) !important;
    }

    /* Feature section CTA button (white filled) */
    .cp-feature-text-pane .btn-cp-feature,
    .cp-feature-text-pane a.btn-cp-feature {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.65rem 1.6rem;
        background-color: var(--cp-white) !important;
        color: var(--primary) !important;
        font-family: var(--cp-font-sans) !important;
        font-size: 0.95rem;
        font-weight: 700;
        text-decoration: none;
        border: 2px solid var(--cp-white) !important;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

        .cp-feature-text-pane .btn-cp-feature:hover,
        .cp-feature-text-pane a.btn-cp-feature:hover {
            background-color: transparent;
            color: var(--cp-white);
        }

    /* ------------------------------------------------------------------
   6. Shared / Utility
   ------------------------------------------------------------------ */

    /* Ensure DNN pane outlines don't break layout in edit mode */
    .cp-intro-text-pane.DnnModule,
    .cp-form-pane.DnnModule,
    .cp-content-card-body.DnnModule,
    .cp-hero-image-pane.DnnModule,
    .cp-hero-pane.DnnModule,
    .cp-feature-image-pane.DnnModule,
    .cp-feature-text-pane.DnnModule {
        min-height: 40px;
    }

    /* ------------------------------------------------------------------
   7. Responsive Overrides
   ------------------------------------------------------------------ */
    @media (max-width: 991.98px) {
        .cp-intro-left {
            padding-right: 0;
            margin-bottom: 2rem;
        }

        .cp-intro-right {
            padding-left: 0;
            border-left: none;
            border-top: 1px solid var(--cp-gray-border);
            padding-top: 2rem;
        }

        .cp-feature-image-col {
            min-height: 240px;
            padding: 40px 20px 40px 20px !important;
        }

        .cp-feature-text-pane {
            padding: 1rem 3rem 3rem 1.5rem !important;
        }
    }

    @media (max-width: 767.98px) {
        .cp-hero-section,
        .cp-hero-content {
            min-height: 180px;
        }

        .cp-hero-pane h1,
        .cp-hero-pane h2 {
            white-space: normal;
        }

        .cp-section-inner {
            padding-left: 1rem;
            padding-right: 1rem;
        }

        :root {
            --cp-section-py: 2rem;
        }

        .cp-card-col {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .cp-content-card {
            min-height: 220px;
            padding: 16px;
        }

        .cp-content-card-body .productCardHeading,
        .cp-content-card-body h3 {
            font-size: 24px;
        }

        .cp-content-card-body p {
            font-size: 16px;
        }

        .cp-feature-section .row.no-gutters {
            flex-direction: column;
        }

        .cp-feature-text-pane {
            padding: 2rem 1rem;
        }
    }
