/* ==============================================================
   GLOBAL TYPOGRAPHY — unified, easy to adjust
   ============================================================== */

/* Base font for all text elements */
body,
button,
input,
select,
textarea {
    font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI",
                 Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue",
                 sans-serif !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
    font-weight: 300 !important;
}

/* Headings — global hierarchy */
h1 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 700 !important;
    font-size: 48px !important;
    line-height: 1.2 !important;
}

h2 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 600 !important;  /* premium, stronger H2 */
    font-size: 36px !important;
    line-height: 1.25 !important;
    letter-spacing: 0.5px !important;
}

/* GLOBAL H3 — tuned to sit correctly under the stronger H2 */
h3 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 550 !important;   /* stronger, but not competing with H2 */
    font-size: 24px !important;    /* slight bump for clarity */
    line-height: 1.32 !important;  /* tighter, more premium geometry */
    letter-spacing: 0.3px !important;
}


h4 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 500 !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
}

h5 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 500 !important;
    font-size: 18px !important;
    line-height: 1.4 !important;
}

h6 {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
}


/* Paragraphs and list items */
p,
li {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 300 !important;
    font-size: 18px !important;
    line-height: 1.6 !important;
}

/* Strong/emphasis still respect hierarchy */
strong, b {
    font-weight: 600 !important;
}

em, i {
    font-style: italic !important;
}

/* /* ==============================================================
   UPPER FOOTER (footer-widgets) — charcoal premium finish
   ============================================================== */

.footer-widgets,
.footer-widgets .wrap,
.footer-widgets .widget {
    background-color: #111111 !important;   /* charcoal */
    color: #ffffff !important;
}

/* Footer widget headings */
.footer-widgets h2,
.footer-widgets h3,
.footer-widgets h4 {
    color: #ffffff !important;
}

/* Footer links */
.footer-widgets a {
    color: #ffffff !important;
    font-weight: 500 !important;
}

.footer-widgets a:hover {
    color: #d0e6ff !important;   /* soft blue hover */
}

/* ==============================================================
   FP1 HERO — remove ALL extra top padding on mobile
   ============================================================== */

@media (max-width: 768px) {

    /* Remove theme padding */
    .front-page-1,
    .front-page-1 .image-section,
    .front-page-1 .widget-area {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Remove Genesis widget padding */
    .front-page-1 .widget {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Remove pseudo-element padding */
    .front-page-1 .image-section::before {
        padding-top: 0 !important;
        margin-top: 0 !important;
        height: auto !important;
    }

    /* Force the hero to start immediately */
    .front-page-1 .image-section {
        padding-top: 32px !important;   /* controlled, minimal */
        padding-bottom: 48px !important;
    }
}

/* ==============================================================
   FP2 — Force H2 to match global weight (600)
   ============================================================== */

.front-page-2 h2 {
    font-weight: 600 !important;
}
.front-page-2 h3 {
    font-weight: 550 !important;
}

/* ==============================================================
   EXISTING WORKING CUSTOM CSS (LAYOUT, CARDS, FP SECTIONS)
   ============================================================== */

/*
==============================================================
GLOBAL / LEGACY CUSTOMISATIONS (KEPT)
==============================================================
*/

@media only screen and (max-width: 800px) {
    .one-third-center {
        margin: 0;
        width: 100%;
    }
}

.team-content {
    padding: 0 0 25px !important;
}

.entry-header::after {
    padding-bottom: 10px !important;
}

/* Background boxes for FP4 */
#text-86 { background: rgba(2,116,189,0.8); }
#text-88 { background: rgba(127,28,106,0.8); }
#text-87 { background: rgba(204,202,201,0.8); }
#text-85 { background: rgba(86,143,15,0.8); }

/* Blog styling */
.display-posts-listing .listing-item { clear: both; }
.display-posts-listing img {
    float: left;
    margin: 0 10px 10px 0;
    padding: 10px;
}

.pt-cv-title a { font-weight: 600; }
.pt-cv-title { font-size: 20px; }
.pt-cv-content, .pt-cv-content * { font-size: 16px; }

.btn-success {
    color: #ffffff;
    background-color: #0274bd;
    border-color: #0274bd;
}

/* Footer */
.footer-widgets .wrap {
    padding-bottom: 25px;
    padding-top: 25px;
}

.footer-widgets .widget { margin-bottom: 0; }

/* Popup */
.popmake.theme-2557 > .popmake-close { display: none; }
.popmake.theme-2557 p { margin: 5px; }
.popmake.theme-2557 input { padding: 5px; }
.popmake.theme-2557 { max-height: 100%; }

/*
==============================================================
FRONT PAGE 2 — LAYOUT ONLY (NO TYPOGRAPHY, NO EXTRA PADDING)
==============================================================
*/

/* Left align FP2 content */
.front-page-2 .fp2-why-optimal {
    text-align: left !important;
}

.front-page-2 .fp2-grid,
.front-page-6 .fp2-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px !important;
    max-width: 1100px;
    margin: 0 auto;
}


/* Responsive */
@media (max-width: 900px) {
    .front-page-2 .fp2-grid,
    .front-page-6 .fp2-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .front-page-2 .fp2-grid,
    .front-page-6 .fp2-grid {
        grid-template-columns: 1fr;
    }
}

/*
==============================================================
FRONT PAGE 3 — LAYOUT ONLY (NO TYPOGRAPHY, NO EXTRA PADDING)
==============================================================
*/

/* Remove table layout */
#front-page-3 .image-section {
    display: block !important;
    height: auto !important;
}

#front-page-3 .image-section .widget-area {
    display: block !important;
    text-align: left !important;
    vertical-align: top !important;
    padding: 0 !important;
}

/* FP3 cards */
#front-page-3 .widget {
    background: rgba(0,0,0,0.35) !important;
    padding: 16px !important;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
    text-align: left !important;
    margin-bottom: 24px;
}

/* FP3 grid */
#front-page-3 .widget-area {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    padding: 0 !important;
}

/*
==============================================================
FRONT PAGE 7 — LAYOUT ONLY (NO TYPOGRAPHY, NO EXTRA PADDING)
==============================================================
*/

/* Neutralise theme floats */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text,
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text > .widget-wrap {
    float: none !important;
    width: 100% !important;
    clear: none !important;
    margin: 0 !important;
    display: block !important;
    box-sizing: border-box;
}

/* Flex layout */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 24px !important;
}

/* Header full width */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(1) {
    flex: 0 0 100% !important;
}

/* Three equal columns */
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(2),
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(3),
#front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text:nth-of-type(4) {
    flex: 0 0 calc(33.333% - 24px) !important;
}

/* FP7 cards */
#front-page-7 .widget {
    background: rgba(0,0,0,0.35) !important;
    padding: 16px !important;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
    backdrop-filter: blur(2px);
}

/* FP7 text stays white */
#front-page-7,
#front-page-7 .widget,
#front-page-7 .widget * {
    color: #ffffff !important;
}

/* ==========================================================
   REMOVE TABLE LAYOUT FROM ALL FRONT-PAGE IMAGE SECTIONS
   (This restores automatic height behaviour)
   ========================================================== */

.front-page-1 .image-section,
.front-page-3 .image-section,
.front-page-5 .image-section,
.front-page-7 .image-section {
    display: block !important;
    table-layout: auto !important;
}

.front-page-1 .image-section .widget-area,
.front-page-3 .image-section .widget-area,
.front-page-5 .image-section .widget-area,
.front-page-7 .image-section .widget-area {
    display: block !important;
    vertical-align: top !important;
    text-align: left !important;
}

/* ==========================================================
   FORCE-REMOVE TABLE LAYOUT FROM ALL IMAGE-SECTIONS
   (This restores automatic height behaviour)
   ========================================================== */

.front-page-1 .image-section,
.front-page-5 .image-section,
.front-page-7 .image-section {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
}

.front-page-1 .image-section .widget-area,
.front-page-5 .image-section .widget-area,
.front-page-7 .image-section .widget-area {
    display: block !important;
    vertical-align: top !important;
    text-align: left !important;
}

/* Unified vertical padding for all image sections on the front page */

.front-page-1 .image-section,
.front-page-3 .image-section,
.front-page-5 .image-section,
.front-page-7 .image-section {
    padding-top: 62px !important;
    padding-bottom: 62px !important;
}

.front-page-5 .image-section,
.front-page-7 .image-section {
    padding-top: 32px !important;
    padding-bottom: 32px !important;
}

/* FP5 – header full width, three boxes in thirds */
.front-page-5 .flexible-widgets.widget-thirds .widget:first-child {
    float: none;
    width: 100%;
    clear: both;
}

/* All widgets after the header = thirds */
.front-page-5 .flexible-widgets.widget-thirds .widget:nth-of-type(n+2) {
    float: left;
    width: 31.6239%;
    margin-left: 2.564%;
}

.front-page-5 .flexible-widgets.widget-thirds .widget:nth-of-type(2) {
    margin-left: 0;
}

/* FP5 — Shading for ALL widgets including header */
.front-page-5 .flexible-widgets.widget-thirds .widget {
    background: rgba(0,0,0,0.35) !important;
    padding: 24px !important;
    border-radius: 12px !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.25) !important;
    box-sizing: border-box !important;
}

==============================================================
   MOBILE FIX — stack FP3, FP5, FP6, FP7 cards vertically
   ============================================================== */

@media (max-width: 768px) {

    /* FP3 grid collapses to 1 column */
    #front-page-3 .widget-area {
        grid-template-columns: 1fr !important;
    }

    /* FP5, FP6, FP7 — remove floats and forced widths */
    .front-page-5 .flexible-widgets.widget-thirds .widget,
    
    .front-page-7 .flexible-widgets.widget-thirds .widget {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* FP7 flex layout collapses cleanly */
    #front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap {
        flex-direction: column !important;
    }

    #front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text {
        flex: 0 0 100% !important;
    }
}
/* ==============================================================
   GLOBAL MOBILE SYSTEM — typography, spacing, cards, FP1 hero
   ============================================================== */

@media (max-width: 768px) {

    /* -----------------------------------------
       MOBILE TYPOGRAPHY — H1 / H2 / H3
       ----------------------------------------- */

    h1 {
        font-size: 32px !important;
        line-height: 1.25 !important;
    }

    h2 {
        font-size: 28px !important;
        line-height: 1.28 !important;
    }

    h3 {
        font-size: 20px !important;
        line-height: 1.32 !important;
    }

    p, li {
        font-size: 16px !important;
        line-height: 1.55 !important;
    }


    /* -----------------------------------------
       MOBILE CARD PADDING — FP3 / FP5 / FP6 / FP7
       ----------------------------------------- */

    #front-page-3 .widget,
    .front-page-5 .flexible-widgets.widget-thirds .widget,
    #front-page-7 .widget {
        padding: 18px !important;
        border-radius: 12px !important;
    }


    /* -----------------------------------------
       MOBILE STACKING — FP3 / FP5 / FP6 / FP7
       ----------------------------------------- */

    /* FP3 grid → 1 column */
    #front-page-3 .widget-area {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

   

    /* FP7 flex → column */
    #front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap {
        flex-direction: column !important;
        gap: 18px !important;
    }

    #front-page-7 .flexible-widgets.widget-area.widget-thirds .wrap > .widget_text {
        flex: 0 0 100% !important;
    }


    /* -----------------------------------------
       UNIFIED MOBILE SPACING — FP3 / FP5 / FP6 / FP7
       ----------------------------------------- */

    #front-page-3 .widget,
    .front-page-5 .flexible-widgets.widget-thirds .widget,
   
    #front-page-7 .widget {
        margin-bottom: 24px !important;
    }

    .front-page-5,

    #front-page-7,
    #front-page-3 {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }


    /* -----------------------------------------
       FP1 HERO — mobile layout fix
       ----------------------------------------- */

    .front-page-1 .image-section {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
        text-align: left !important;
    }

    .front-page-1 h1 {
        font-size: 34px !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }

    .front-page-1 p {
        font-size: 18px !important;
        line-height: 1.55 !important;
        margin-bottom: 24px !important;
    }

    /* FP1 hero button spacing */
    .front-page-1 .button,
    .front-page-1 a.button {
        margin-top: 12px !important;
        padding: 14px 24px !important;
        font-size: 16px !important;
    }
}
/* ==============================================================
   FP1 HERO — reduced top padding on mobile
   ============================================================== */

@media (max-width: 768px) {
    .front-page-1 .image-section {
        padding-top: 32px !important;   /* reduced from 80px */
        padding-bottom: 48px !important; /* still balanced */
    }
}
/* ==============================================================
   FP1 HERO — remove ALL extra top padding on mobile
   ============================================================== */

@media (max-width: 768px) {

    /* Remove theme padding */
    .front-page-1,
    .front-page-1 .image-section,
    .front-page-1 .widget-area {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Remove Genesis widget padding */
    .front-page-1 .widget {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    /* Remove pseudo-element padding */
    .front-page-1 .image-section::before {
        padding-top: 0 !important;
        margin-top: 0 !important;
        height: auto !important;
    }

    /* Force the hero to start immediately */
    .front-page-1 .image-section {
        padding-top: 32px !important;   /* controlled, minimal */
        padding-bottom: 48px !important;
    }
}
/* ==============================================================
   UNIFIED OVERLAY — FP1, FP3, FP5, FP7
   Lightened charcoal gradient overlay above background images
   ============================================================== */

.front-page-1 .image-section::before,
.front-page-3 .image-section::before,
.front-page-5 .image-section::before,
.front-page-7 .image-section::before {
    content: "" !important;
    position: absolute !important;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1 !important;

    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.32) 0%,   /* lighter top */
        rgba(0,0,0,0.18) 100%  /* lighter bottom */
    ) !important;

    pointer-events: none !important;
}



/* Ensure FP7 text sits above the overlay */
.front-page-1 .image-section .widget-area,
.front-page-3 .image-section .widget-area,
.front-page-5 .image-section .widget-area,
.front-page-7 .image-section .widget-area {
    position: relative !important;
    z-index: 2 !important;
}

/* FP6 — MATCH FP2 GRID & CLEAN LAYOUT */

}

/* Remove all legacy FP6 styling */
.front-page-6 .widget,
.front-page-6 .widget * {
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove FP6 overlay */
.front-page-6 .image-section::before {
    background: none !important;
}

/* FP6 spacing (match FP2 rhythm) */
.front-page-6 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* MOBILE — collapse to 1 column */
@media (max-width: 768px) {
    .front-page-6 .fp6-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
/* ==============================================================
   FP6 — REMOVE ALL THEME WIDGET SPACING & WRAPPERS
   ============================================================== */

/* Remove Genesis widget padding inside FP6 */
.front-page-6 .widget,
.front-page-6 .widget-wrap {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove Altitude Pro flexible-widgets spacing */
.front-page-6 .flexible-widgets.widget-thirds {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove spacing applied to the wrap container */
.front-page-6 .flexible-widgets.widget-thirds .wrap {
    padding: 0 !important;
    margin: 0 !important;
}

/* Remove spacing between widgets (even though there is only one) */
.front-page-6 .flexible-widgets.widget-thirds .widget {
    margin: 0 !important;
}

/* Ensure FP6 section matches FP2 vertical rhythm */
.front-page-6 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
/* ==============================================================
   FP6 — HARD ALIGN TO FP2 STRUCTURE
   ============================================================== */

/* Kill all wrapper spacing inside FP6 */
.front-page-6 .flexible-widgets.widget-thirds,
.front-page-6 .flexible-widgets.widget-thirds .wrap,
.front-page-6 .widget,
.front-page-6 .widget-wrap,
.front-page-6 .textwidget {
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border: 0 !important;
}

/* Make the inner content behave like FP2 */
.front-page-6 .textwidget {
    max-width: 1100px;
    margin: 0 auto;
}

/* FP6 grid — identical to FP2, but anchored to the actual HTML */
.front-page-6 .textwidget .fp6-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

/* Items left-aligned, like FP2 */
.front-page-6 .textwidget .fp6-item {
    text-align: left;
}

/* Section padding to match FP2 rhythm */
.front-page-6 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* Mobile: 1 column */
@media (max-width: 768px) {
    .front-page-6 .textwidget .fp6-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
/* ==============================================================
   FINAL FIX — FP6 + FP5 MOBILE
   ============================================================== */

/* FP6 — kill all theme layout wrappers */
.front-page-6 .flexible-widgets.widget-thirds,
.front-page-6 .flexible-widgets.widget-thirds .wrap,
.front-page-6 .widget_text,
.front-page-6 .widget-wrap,
.front-page-6 .textwidget {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* FP6 — force grid to apply no matter what wrappers exist */
.front-page-6 .textwidget .fp6-grid,
.front-page-6 .widget_text .fp6-grid,
.front-page-6 .widget-wrap .fp6-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1100px !important;
    margin: 32px auto 0 auto !important;
}

/* FP6 items */
.front-page-6 .fp6-item {
    text-align: left !important;
}

/* FP6 section spacing */
.front-page-6 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* FP6 mobile — collapse to 1 column */
@media (max-width: 768px) {
    .front-page-6 .fp6-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* ==============================================================
   FP5 — RESTORE MOBILE STACKING (critical)
   ============================================================== */

@media (max-width: 768px) {

    /* Kill floats and widths */
    .front-page-5 .flexible-widgets.widget-thirds .widget {
        float: none !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: block !important;
    }

    /* Ensure spacing is clean */
    .front-page-5 .flexible-widgets.widget-thirds .widget {
        margin-bottom: 24px !important;
    }
}
/* FP6 — match FP2 breakpoints for grid behaviour */
@media (max-width: 900px) {
    .front-page-6 .fp6-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .front-page-6 .fp6-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==============================================================
   FP6 — FINAL FIX: MATCH FP2 SPACING + FIX MOBILE STACKING
   ============================================================== */

/* 1. Kill the theme's thirds layout at the container level */
.front-page-6 .flexible-widgets.widget-thirds,
.front-page-6 .flexible-widgets.widget-thirds .wrap {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. Remove widget spacing that FP2 does not have */
.front-page-6 .widget_text,
.front-page-6 .widget-wrap,
.front-page-6 .textwidget {
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. FP6 grid — identical to FP2 */
.front-page-6 .fp6-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1100px !important;
    margin: 32px auto 0 auto !important; /* FP2 spacing */
}

/* 4. FP6 items */
.front-page-6 .fp6-item {
    text-align: left !important;
}

/* 5. FP6 section spacing (match FP2 rhythm) */
.front-page-6 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* 6. FP6 MOBILE — force stacking */
@media (max-width: 768px) {

    /* Kill the theme's thirds layout completely */
    .front-page-6 .flexible-widgets.widget-thirds .widget,
    .front-page-6 .flexible-widgets.widget-thirds .wrap > * {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        display: block !important;
    }

    /* Force grid to 1 column */
    .front-page-6 .fp6-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}
/* FP6 — clamp spacing to match FP2 */
.front-page-6 .flexible-widgets.widget-thirds,
.front-page-6 .flexible-widgets.widget-thirds .wrap,
.front-page-6 .widget_text,
.front-page-6 .widget-wrap,
.front-page-6 .textwidget {
    margin: 0 !important;
    padding: 0 !important;
}

.front-page-6 .fp6-grid {
    margin-top: 32px !important;   /* same as FP2 */
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.front-page-6 {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
/* FP2 — remove left indent so grid aligns with H2 */
.front-page-2 .fp2-grid {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
/* ==============================================================
   FP1 — Modern Hero Layout
   ============================================================== */

/* Subtitle under H1 */
.front-page-1 .fp1-subtitle {
    font-size: 22px;
    font-weight: 300;
    margin: 16px 0 28px 0;
    max-width: 700px;
}

/* Three highlight points */
.front-page-1 .fp1-highlights {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
    max-width: 900px;
}

.front-page-1 .fp1-point {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.45;
}

/* Supporting paragraph */
.front-page-1 .fp1-support {
    font-size: 20px;
    line-height: 1.55;
    margin-bottom: 32px;
    max-width: 700px;
}

/* Credibility footer */
.front-page-1 .fp1-credibility {
    font-size: 16px;
    opacity: 0.85;
    margin-top: 24px;
}

/* ==============================================================
   FP1 — Mobile Layout
   ============================================================== */

@media (max-width: 768px) {

    .front-page-1 .fp1-subtitle {
        font-size: 18px;
        line-height: 1.45;
        margin-bottom: 20px;
    }

    .front-page-1 .fp1-highlights {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .front-page-1 .fp1-point {
        font-size: 17px;
        line-height: 1.45;
    }

    .front-page-1 .fp1-support {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 24px;
    }

    .front-page-1 .fp1-credibility {
        font-size: 15px;
        margin-top: 20px;
    }
}
/* FP1 — Icon container */
.front-page-1 .fp1-icon-svg {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.front-page-1 .fp1-icon-svg svg {
    width: 100%;
    height: 100%;
}

/* FP1 — Highlight row layout */
.front-page-1 .fp1-highlights {
    display: flex;
    gap: 28px;
    margin: 28px 0;
    max-width: 900px;
}

.front-page-1 .fp1-point {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 400;
}

/* FP1 — Mobile layout */
@media (max-width: 768px) {

    .front-page-1 .fp1-highlights {
        flex-direction: column;
        gap: 18px;
        margin: 24px 0;
    }

    .front-page-1 .fp1-icon-svg {
        width: 34px;
        height: 34px;
    }

    .front-page-1 .fp1-point {
        font-size: 17px;
        line-height: 1.45;
    }
}
/* ==============================================================
   FOOTER — Campaign Monitor Inline Form (Premium Styling)
   ============================================================== */

/* Style the submit button */
.site-footer .js-cm-form button[type="submit"] {
    background: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    padding: 14px 28px !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    display: inline-block !important;
    margin-top: 12px !important;
}

/* Hover effect */
.site-footer .js-cm-form button[type="submit"]:hover {
    background: rgba(255,255,255,0.85) !important;
    color: #000000 !important;
}

/* Style the input fields */
.site-footer .js-cm-form input[type="text"],
.site-footer .js-cm-form input[type="email"] {
    width: 100% !important;
    padding: 12px 14px !important;
    font-size: 16px !important;
    border-radius: 6px !important;
    border: 1px solid rgba(255,255,255,0.4) !important;
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
}

/* Style labels */
.site-footer .js-cm-form label {
    font-size: 15px !important;
    color: #ffffff !important;
    margin-bottom: 4px !important;
    display: block !important;
}
/* Force footer subscribe button styling */
.footer-subscribe-button {
    display: inline-block;
    background-color: #000000 !important;   /* black background */
    color: #ffffff !important;              /* white text */
    padding: 12px 24px;
    border-radius: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    border: 1px solid #000000 !important;
}

/* Hover state */
.footer-subscribe-button:hover {
    background-color: #333333 !important;
    color: #ffffff !important;
}

/* Match FP1 transparent button inside footer widgets */
.footer-widgets .footer-subscribe-button {
    display: inline-block;
    background-color: transparent !important;
    color: #ffffff !important;
    padding: 14px 28px !important;
    border-radius: 6px !important;
    border: 1px solid #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
}

/* Hover state — FP1 style */
.footer-widgets .footer-subscribe-button:hover {
    background-color: rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
