/* ==========================================================================
   VARIETY FUNERALS – HERO + QUOTE FORM
   Used by page-fd.php and any WP Bakery row with the class "fd-hero".
   Loaded after style.css (see functions.php).
   ========================================================================== */

/* ==========================================================================
   FD HERO
   Same styles for the hero coded in page-fd.php and the WP Bakery row.

   WP Bakery row setup (all standard elements):
     Row ............ Row stretch "Stretch row", Extra class "fd-hero"
     Column 7/12 .... Extra class "fd-hero-intro"
       Inner row
         Text block .. "fd-location"   (location line)
         Text block .. "fd-heading"    (H1 – wrap 2nd line in <span> for yellow)
         Text block .. "large-text fd-sub"
       Inner row .... "fd-price-row"
         Column 1/3 > Text block "fd-price-label" + Text block "fd-price-amount"
         Column 2/3 > Text block "fd-price-note"
     Column 5/12 .... Extra class "fd-hero-form"  (Gravity Form)
   ========================================================================== */

.fd-hero {
    --fd-hero-img: url('../../../uploads/2024/12/variety-funerals-hero-banner.webp');
    --fd-split: 100%;
    position: relative;
    background-color: #51022C;
    color: #ffffff;
}

/* Coded version only: full width without WP Bakery's stretch JS */
.fd-hero--file { width: 100vw; margin-left: calc(50% - 50vw); }
.fd-hero--file > .vc_row { margin-left: 0; margin-right: 0; }
@media (min-width: 992px) {
    /* match the theme container so the coded hero lines up with the WP Bakery row */
    .fd-hero--file > .vc_row { max-width: 970px; margin-left: auto; margin-right: auto; }
}
@media (min-width: 1200px) {
    .fd-hero--file > .vc_row { max-width: 1170px; }
}

.fd-hero p { color: #ffffff; }
.fd-hero .wpb_content_element { margin-bottom: 0; }

/* Location line */
.fd-hero .fd-location p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 0 0 20px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-wrap: balance;
}
.fd-hero .fd-location p::before {
    content: "";
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FABA05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Heading + subhead */
.fd-hero .fd-heading h1,
.fd-hero .fd-heading h2 {
    margin: 0 0 20px;
    font-size: 30px;               /* h2 (CTA rows) steps down below */               /* theme h1/h2 sizes are too small for the hero; scales up below */
    line-height: 1.15;
    text-align: left;
    color: #ffffff;
}
.fd-hero .fd-heading h2 { font-size: 28px; text-wrap: balance; }
.fd-hero .fd-heading h1 :is(span, b, strong),
.fd-hero .fd-heading h2 :is(span, b, strong) { font-weight: inherit; color: #FABA05; }  /* WP Bakery strips <span>, so bold works too */
.fd-hero .fd-location { margin-bottom: 16px !important; }
.fd-hero .fd-heading { margin-bottom: 16px !important; }
.fd-hero .fd-sub p { margin: 0; font-size: 18px; line-height: 1.5; text-wrap: balance; }

/* Price */
.fd-hero .fd-price-row { margin-top: 28px; }
.fd-hero .fd-price-row .vc_column-inner { padding-top: 0; }  /* WP Bakery's top padding was pushing columns out of line */
.fd-hero .fd-price-label p { margin: 0 0 6px; }
.fd-hero .fd-price-amount p { margin: 0 0 12px; font-size: 40px; font-weight: 700; line-height: 1; color: #FABA05; }
.fd-hero .fd-price-note p { margin: 0; font-size: 15px; line-height: 1.6; }

/* Button rows (price row with no price, e.g. CTA): buttons side by side, wrap when tight */
.fd-hero .fd-price-row:not(:has(.fd-price-amount)) .vc_column-inner > .wpb_wrapper { display: flex; flex-wrap: wrap; gap: 16px 20px; }
.fd-hero .fd-price-row:not(:has(.fd-price-amount)) .wpb_content_element { width: auto; }
.fd-hero .fd-price-row:not(:has(.fd-price-amount)) p { margin: 0; }

@media (max-width: 480px) {   /* CTA buttons full width */
    .fd-hero .fd-price-row:not(:has(.fd-price-amount)) .wpb_content_element,
    .fd-hero .fd-price-row:not(:has(.fd-price-amount)) .btn { width: 100%; justify-content: center; }
}

/* Form card */
.fd-hero .fd-hero-form > .vc_column-inner {
    position: relative;
    z-index: 1;
    background: #ffffff;
    color: #1E1A1C;
    border-radius: 20px;
    padding: 28px 22px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}
.fd-hero .fd-hero-form p { color: #1E1A1C; }

/* Empty right column (e.g. CTA rows with no form): no white card, just the photo */
.fd-hero .fd-hero-form:not(:has(.wpb_content_element, .gform_wrapper)) > .vc_column-inner {
    background: none;
    box-shadow: none;
    padding: 0 !important;
}
.fd-hero .fd-hero-form h2 { margin: 0; text-align: center; color: #840047; }
.fd-hero .fd-hero-form h2 + p { margin: 8px 0 24px; text-align: center; }

/* ---------- Tablet + mobile: intro, price, then form (on photo) ---------- */
@media (max-width: 991px) {
    .fd-hero.vc_row,
    .fd-hero--file > .vc_row {
        display: flex;
        flex-direction: column;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;     /* overrides WP Bakery stretch-row inline padding */
        padding-right: 0 !important;
    }
    .fd-hero .fd-hero-intro,
    .fd-hero .fd-hero-intro > .vc_column-inner,
    .fd-hero .fd-hero-intro > .vc_column-inner > .wpb_wrapper { display: contents; }

    /* side spacing: 15px row padding + 15px column padding = 30px */
    .fd-hero .fd-hero-intro .vc_inner {
        order: 1;
        width: 100%;
        max-width: 720px;
        margin: 0 auto;
        padding: 0 15px;
    }
    .fd-hero .fd-hero-intro .vc_inner:first-child { padding-top: 40px; }

    /* form sits on the photo, which starts a little below the top of the card */
    .fd-hero .fd-hero-form {
        --fd-form-top: 43px;            /* gap above the card */
        --fd-img-offset: 40px;          /* photo starts this far below the card top */
        position: relative;
        order: 2;
        width: 100%;
        padding: var(--fd-form-top) 20px 72px;
    }
    .fd-hero .fd-hero-form::before {
        content: "";
        position: absolute;
        top: calc(var(--fd-form-top) + var(--fd-img-offset));
        right: 0;
        bottom: 0;
        left: 0;
        background: var(--fd-hero-img) center / cover no-repeat;
    }
    .fd-hero .fd-hero-form > .vc_column-inner { max-width: 560px; margin: 0 auto; }
    /* empty right column (CTA rows): show the photo as a block above the content */
    .fd-hero .fd-hero-form:not(:has(.wpb_content_element, .gform_wrapper)) {
        order: 0;
        height: 240px;
        padding: 0;
    }
    .fd-hero .fd-hero-form:not(:has(.wpb_content_element, .gform_wrapper))::before { top: 0; }

    .fd-hero .fd-hero-intro .fd-price-row { order: 1; margin-top: 0; padding-top: 24px; }  /* above the form so the price shows without scrolling */
    /* "Prices from £1,025" on one line, note below */
    .fd-hero .fd-price-row .wpb_wrapper:has(> .fd-price-amount) { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 16px; }
    .fd-hero .fd-price-label p,
    .fd-hero .fd-price-amount p { margin: 0; }
    .fd-hero .fd-price-row:has(.fd-price-amount) .vc_column_container + .vc_column_container { margin-top: 16px; }
}
@media (max-width: 767px) {
    .fd-hero .fd-price-amount p { font-size: 32px; }
}

@media (min-width: 768px) {
    .fd-hero .fd-heading h1 { font-size: 40px; }
    .fd-hero .fd-heading h2 { font-size: 34px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 992px) {
    .fd-hero {
        --fd-split: calc(50% + 283px);  /* 970px container: form column centre */
        background-image:
            linear-gradient(to right, #51022C 0, #51022C var(--fd-split), transparent var(--fd-split)),
            var(--fd-hero-img);
        background-size: auto, cover;
        background-position: 0 0, right center;
        background-repeat: no-repeat;
    }
    .fd-hero.vc_row,
    .fd-hero--file > .vc_row { display: flex; align-items: center; }
    .fd-hero .fd-hero-intro { padding-top: 110px; padding-bottom: 110px; }
    .fd-hero .fd-hero-intro > .vc_column-inner { padding-right: 60px; }
    .fd-hero:not(:has(.fd-hero-form .wpb_content_element, .fd-hero-form .gform_wrapper)) .fd-hero-intro > .vc_column-inner { padding-right: 15px; }  /* no form beside it: use the full width */
    .fd-hero .fd-hero-form { padding-top: 90px; padding-bottom: 90px; }
    .fd-hero .fd-hero-form > .vc_column-inner { padding: 40px !important; }

    .fd-hero .fd-location p { font-size: 16px; margin-bottom: 28px; }
    .fd-hero .fd-location { margin-bottom: 24px !important; }
    .fd-hero .fd-heading { margin-bottom: 24px !important; }
    .fd-hero .fd-sub p { font-size: 20px; max-width: 480px; }
    .fd-hero:not(:has(.fd-hero-form .wpb_content_element, .fd-hero-form .gform_wrapper)) .fd-sub p { max-width: none; }  /* CTA rows: no form beside it */

    .fd-hero .fd-price-row {
        display: flex;
        align-items: center;           /* label/price and note centred on each other */
        margin-top: 32px;
        padding-top: 32px;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
    .fd-hero .fd-price-amount p { font-size: 48px; margin-bottom: 0; }
    .fd-hero .fd-price-note p { max-width: 380px; }
    /* rows without a price (e.g. CTA buttons): no divider line */
    .fd-hero .fd-price-row:not(:has(.fd-price-amount)) { padding-top: 0; border-top: 0; }
}
@media (min-width: 992px) and (max-width: 1199px) {
    .fd-hero .fd-heading h1 { font-size: 46px; }
    .fd-hero .fd-heading h2 { font-size: 38px; }
    .fd-hero:has(.fd-hero-form.vc_col-sm-3) { --fd-split: calc(50% + 242px); }  /* 9/3 rows: photo starts at the right column */
}
@media (min-width: 1200px) {
    .fd-hero { --fd-split: calc(50% + 341px); }  /* 1170px container */
    .fd-hero .fd-heading h1 { font-size: 56px; }
    .fd-hero .fd-heading h2 { font-size: 44px; }
    .fd-hero:has(.fd-hero-form.vc_col-sm-3) { --fd-split: calc(50% + 292px); }
}


/* ==========================================================================
   FD QUOTE FORM (Gravity Forms, multi-page) – scoped to the hero form column
   ========================================================================== */
.fd-hero-form .gform_wrapper.gravity-theme { margin: 0; color: #1E1A1C; }
.fd-hero-form .gform_wrapper.gravity-theme .gform_heading:has(.gform_title) { display: block !important; margin-bottom: 24px; text-align: center; }  /* theme hides form headings site-wide */
.fd-hero-form .gform_wrapper.gravity-theme .gform_title { margin: 0 !important; font-size: 26px; line-height: 1.15; color: #840047; }
@media (min-width: 992px) { .fd-hero-form .gform_wrapper.gravity-theme .gform_title { font-size: 32px; } }
.fd-hero-form .gform_wrapper.gravity-theme .gform_description { display: block; margin: 6px 0 0 !important; font-size: 17px; color: #1E1A1C; }

/* Progress bar */
/* Progress sits below the fields and buttons */
.fd-hero-form .gform_wrapper.gravity-theme form { display: flex; flex-direction: column; }
.fd-hero-form .gform_wrapper.gravity-theme .gf_progressbar_wrapper { order: 2; margin: 36px 0 0; padding: 0; border: 0; }
.fd-hero-form .gform_wrapper.gravity-theme .gf_progressbar_title { margin: 0 0 12px; font-size: 16px; font-weight: 500; color: #1E1A1C; }
.fd-hero-form .gform_wrapper.gravity-theme .gf_progressbar { height: 28px; padding: 0; border-radius: 999px; background: #F1E6DA; overflow: hidden; }
.fd-hero-form .gform_wrapper.gravity-theme .gf_progressbar_percentage {
    height: 100%;
    border-radius: 999px;
    background: #FABA05 !important;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 14px;
}
.fd-hero-form .gform_wrapper.gravity-theme .gf_progressbar_percentage span { font-size: 15px; font-weight: 700; line-height: 1; color: #51022C; }

/* Fields */
.fd-hero-form .gform_wrapper.gravity-theme .gform_fields { row-gap: 22px; }
.fd-hero-form .gform_wrapper.gravity-theme fieldset,
.fd-hero-form .gform_wrapper.gravity-theme legend { border: 0; margin: 0; padding: 0; }
.fd-hero-form .gform_wrapper.gravity-theme .gfield_label,
.fd-hero-form .gform_wrapper.gravity-theme legend.gfield_label {
    display: block;
    width: auto;
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    color: #1E1A1C;
}
.fd-hero-form .gform_wrapper.gravity-theme .gfield_required { color: #840047; }

.fd-hero-form .gform_wrapper.gravity-theme input[type="text"],
.fd-hero-form .gform_wrapper.gravity-theme input[type="tel"],
.fd-hero-form .gform_wrapper.gravity-theme input[type="email"],
.fd-hero-form .gform_wrapper.gravity-theme select {
    width: 100%;
    height: 54px;
    padding: 0 20px;
    border: 1.5px solid #E2D5C6;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;            /* 16px stops iOS zooming on focus */
    color: #1E1A1C;
}
.fd-hero-form .gform_wrapper.gravity-theme input::placeholder { color: #8C8087; }
.fd-hero-form .gform_wrapper.gravity-theme input[type="text"]:focus,
.fd-hero-form .gform_wrapper.gravity-theme input[type="tel"]:focus,
.fd-hero-form .gform_wrapper.gravity-theme input[type="email"]:focus,
.fd-hero-form .gform_wrapper.gravity-theme select:focus {
    outline: none;
    border-color: #840047;
    box-shadow: 0 0 0 3px rgba(132, 0, 71, 0.15);
}

/* Name: First / Last side by side with small labels below */
.fd-hero-form .gform_wrapper.gravity-theme .ginput_complex { display: flex; gap: 12px; }
.fd-hero-form .gform_wrapper.gravity-theme .ginput_complex > span { flex: 1; min-width: 0; padding: 0; }
@media (max-width: 767px) { .fd-hero-form .gform_wrapper.gravity-theme .ginput_complex { flex-direction: column; } }  /* First/Last on their own rows */
.fd-hero-form .gform_wrapper.gravity-theme .ginput_complex label,
.fd-hero-form .gform_wrapper.gravity-theme .gform-field-label--type-sub {
    display: block;
    margin: 6px 0 0 20px;
    font-size: 13px;
    font-weight: 400;
    color: #6B5E64;
}

/* Step 1 choices: green buttons with a yellow arrow */
.fd-hero-form .gfield--type-radio .gfield_radio { display: flex; flex-direction: column; gap: 14px; }
.fd-hero-form .gfield--type-radio .gchoice { position: relative; margin: 0; }
.fd-hero-form .gfield--type-radio .gchoice input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fd-hero-form .gform_wrapper.gravity-theme .gfield--type-radio .gchoice label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    max-width: none;
    min-height: 66px;
    margin: 0;
    padding: 12px 12px 12px 22px;
    border-radius: 16px;
    background: #8cb300;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
    transition: background-color 0.15s ease;
}
.fd-hero-form .gform_wrapper.gravity-theme .gfield--type-radio .gchoice label::after {
    content: "";
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #FABA05 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2351022C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='12' x2='20' y2='12'/%3E%3Cpolyline points='14 6 20 12 14 18'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.fd-hero-form .gform_wrapper.gravity-theme .gfield--type-radio .gchoice label:hover { background: #7a9c00; }
.fd-hero-form .gfield--type-radio .gchoice input:focus-visible + label { outline: 3px solid #840047; outline-offset: 2px; }
.fd-hero-form .gfield--type-radio .gchoice input:checked + label { background: #6f8f00; }

/* Footer buttons */
.fd-hero-form .gform_wrapper.gravity-theme .gform_page:first-of-type .gform_page_footer { display: none; }  /* step 1 auto-advances */
.fd-hero-form .gform_wrapper.gravity-theme .gform_page_footer,
.fd-hero-form .gform_wrapper.gravity-theme .gform_footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 26px 0 0;
    padding: 0;
    border: 0;
}
.fd-hero-form .gform_wrapper.gravity-theme .gform_page_footer .button,
.fd-hero-form .gform_wrapper.gravity-theme .gform_footer .button {
    height: 54px;
    min-height: 0;
    margin: 0;
    padding: 0 30px;
    border-radius: 999px;
    border: 2px solid transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}
.fd-hero-form .gform_wrapper.gravity-theme .gform_next_button,
.fd-hero-form .gform_wrapper.gravity-theme .gform_button {
    flex: 1;
    min-width: 150px;
    background: #8cb300;
    color: #ffffff;
}
.fd-hero-form .gform_wrapper.gravity-theme .gform_next_button:hover,
.fd-hero-form .gform_wrapper.gravity-theme .gform_button:hover { background: #7a9c00; }
/* Previous: low-key text link; drops below Next/Submit when they wrap (wrap-reverse on the footer) */
.fd-hero-form .gform_wrapper.gravity-theme .gform_page_footer { flex-wrap: wrap-reverse; }
.fd-hero-form .gform_wrapper.gravity-theme .gform_page_footer .gform_previous_button {
    margin: 0 auto;                /* centred when it sits on its own line */
    padding: 0 12px;
    background: none;
    color: #840047;
    font-weight: 500;
}
.fd-hero-form .gform_wrapper.gravity-theme .gform_page_footer .gform_previous_button:hover { color: #51022C; }
.fd-hero-form .gform_ajax_spinner { margin-left: 8px; }

/* Validation */
.fd-hero-form .gform_wrapper.gravity-theme .gform_validation_errors {
    margin: 0 0 20px;
    padding: 12px 16px;
    border: 1.5px solid #C4122F;
    border-radius: 12px;
    background: #FFF3F5;
    box-shadow: none;
}
.fd-hero-form .gform_wrapper.gravity-theme .gform_validation_errors > h2 { margin: 0; font-size: 14px; font-weight: 600; color: #C4122F; }
.fd-hero-form .gform_wrapper.gravity-theme .gform_validation_errors > h2 .gform-icon { display: none; }
.fd-hero-form .gform_wrapper.gravity-theme .gfield_error input[type="text"],
.fd-hero-form .gform_wrapper.gravity-theme .gfield_error input[type="tel"],
.fd-hero-form .gform_wrapper.gravity-theme .gfield_error input[type="email"] { border-color: #C4122F; }
.fd-hero-form .gform_wrapper.gravity-theme .gfield_error .gfield_label { color: #1E1A1C; }
.fd-hero-form .gform_wrapper.gravity-theme .validation_message {
    margin: 6px 0 0 20px;
    padding: 0;
    border: 0;
    background: none;
    font-size: 13px;
    color: #C4122F;
}

/* Thank-you message */
.fd-hero-form .gform_confirmation_message { font-size: 17px; line-height: 1.5; text-align: center; color: #1E1A1C; }

.wpb_row::after { content: ""; display: table; clear: both; }

/* Select: pill like the inputs, FA chevron */
.fd-hero-form .gform_wrapper.gravity-theme .ginput_container_select { position: relative; }
.fd-hero-form .gform_wrapper.gravity-theme select { padding-right: 48px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.fd-hero-form .gform_wrapper.gravity-theme .ginput_container_select::after { content: "\f078"; position: absolute; top: 50%; right: 20px; transform: translateY(-50%); font-family: 'FontAwesome'; font-size: 13px; color: #840047; pointer-events: none; }

/* Heading text block above the form (when the GF title/description are off):
   text block class "fd-form-head" > h2, p (pill), p */
.fd-hero-form .fd-form-head { margin-bottom: 24px; text-align: center; }
.fd-hero-form .fd-form-head h2 { margin: 0; font-size: 26px; line-height: 1.15; color: #840047; }
.fd-hero-form .fd-form-head h2 + p { margin: 14px 0 10px; padding: 10px; border-radius: 30px; background: #F7E8EF; font-size: 18px; font-weight: 700; color: #840047; }
.fd-hero-form .fd-form-head p { margin: 0; font-size: 17px; color: #1E1A1C; }
@media (min-width: 992px) { .fd-hero-form .fd-form-head h2 { font-size: 32px; } }
.fd-hero-form .fd-form-head p { display: none; }  /* hidden for now – remove this line to show the pill + "Serving…" line */

/* Text under the Next button, sunflower on the left (same markup as the
   Immediate Direct Cremation page: <div class="form__checkout__info">) */
.fd-hero-form .gform_wrapper.gravity-theme .gform_footer .button { position: relative; z-index: 1; }
.fd-hero-form .form__checkout__info { display: flex; align-items: center; gap: 14px; margin: -70px -14px 0; padding: 84px 20px 16px; border-radius: 25px; background: #F7E8EF !important; font-size: 16px; font-weight: 500; line-height: 1.35; text-align: left; color: #1E1A1C !important; }  /* !important: live style.css sets white text + 20% white bg with !important */
.fd-hero-form .form__checkout__info::before { content: ""; flex: 0 0 auto; width: 34px; height: 34px; background: url('../images/sunflower-icon.svg') center / contain no-repeat; }
@media (max-width: 767px) {
    .fd-hero-form .form__checkout__info { gap: 12px; border-radius: 16px; font-size: 15px; }
    .fd-hero-form .form__checkout__info::before { width: 30px; height: 30px; }
}

/* Single-step quote form (no .gform_page): two fields per row like the
   Immediate Direct Cremation page, tighter spacing */
.fd-hero-form .gform_wrapper.gravity-theme:not(:has(.gform_page)) .gform_fields { display: flex; flex-wrap: wrap; justify-content: space-between; row-gap: 16px; }
.fd-hero-form .gform_wrapper.gravity-theme:not(:has(.gform_page)) .gform_fields > .gfield { width: 100%; margin-bottom: 0 !important; }  /* theme adds 20px */
.fd-hero-form .gform_wrapper.gravity-theme:not(:has(.gform_page)) .gform_fields > :is(.gfield--type-text, .gfield--type-email, .gfield--type-phone) { width: calc(50% - 8px); }
.fd-hero-form .gform_wrapper.gravity-theme:not(:has(.gform_page)) .gfield_label { margin-bottom: 8px; }
@media (max-width: 480px) {
    .fd-hero-form .gform_wrapper.gravity-theme:not(:has(.gform_page)) .gform_fields > .gfield { width: 100%; }
}
@media (min-width: 481px) {
    .fd-hero-form .gform_wrapper.gravity-theme:not(:has(.gform_page)) .gform_fields > :is(.gfield--type-text, .gfield--type-email, .gfield--type-phone) input::placeholder { font-size: 14px; }
}
