/* =========================================
   VALIANT LAND - PIXEL-PERFECT HOMEPAGE CSS
   ========================================= */

/* =========================================
   0. FONT LOADING (FIXED - Google Fonts CDN)
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&family=Source+Sans+Pro:wght@400;700&display=swap');

/* =========================================
   1. ROOT VARIABLES (Brand System) - CONSOLIDATED
   ========================================= */
:root {
    /* Brand Colors - ORANGE RESTORED */
    --color-brand-primary: #f25116;
    --color-brand-primary-hover: #ca3e0b;
    --color-brand-primary-lighter: #f6875e;
    --color-brand-primary-darker: #b2370a;
    --color-brand-secondary: #4774AF;
    
    /* Typography */
    --font-primary: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-headings: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --body-color: #373a3c;
    
    /* UI Colors */
    --color-text-on-primary: #ffffff;
    --color-button: #f25116;
    --color-button-hover: #ca3e0b;
    --color-link: #097db2;
    --color-link-hover: #075b81;
    
    /* Spacing & Layout - CONSOLIDATED */
    --brand-spacing: 1rem;
    --logo-maw: 100%;
    --banner-nav-primary-tt: uppercase;
    --banner-nav-top-tt: uppercase;
    --field-height: 40px;
    --form-container-width: 714px;
    --form-content-width: 668px;
    --form-padding: 23px;
    --grid-gap: 24px;
}

@media (min-width: 630px) {
    :root {
        --brand-spacing-top: 1rem;
        --logo-maw: 450px;
    }
}
/* =========================================
   2. BASE & TYPOGRAPHY
   ========================================= */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.5;
    color: var(--body-color);
    margin: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

strong, b {
    font-weight: 700;
}

/* =========================================
   3. LAYOUT COMPONENTS
   ========================================= */
.wrap {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* =========================================
   4. BANNER/HEADER - BANNER POSITION FIXED
   ========================================= */
.banner {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 100;
}

.banner .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.banner--isDefault .container {
    max-width: 1080px;
    padding-left: 15px;
    padding-right: 15px;
    margin: 0 auto;
    display: flow-root;
    min-height: 140px;
    position: relative;
}

.banner--isDefault .nav-top li {
    display: block;
    height: 40px;
    line-height: 40px;
    margin: 0;
    padding: 0;
    list-style: none;
    margin-right: 1em;
}

.banner--isDefault .nav-top li:last-child {
    margin-right: 0;
}

.banner--isDefault .nav-top li a {
    display: block;
    padding: 0 0.75rem;
    height: 100%;
    font-weight: 500;
    transition: color 0.2s ease;
    text-decoration: none;
    font-size: 18px !important;
}

.banner--isDefault .nav-top ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 40px;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.banner--isDefault .menu-header-navigation-container {
    display: block;
    width: auto;
    height: 40px;
}

.banner--isDefault .nav-top {
    float: right;
    margin-top: 0.5rem;
    display: block;
    width: auto;
    height: 40px;
}

.brand-container {
    float: left;
    padding: 1rem 0;
}

.brand-logo {
    width: 113px;
    height: auto;
    max-width: 100%;
    display: block;
}

.banner--isDefault .contact-row {
    float: right;
    clear: right;
    display: block;
    width: auto;
    margin-top: 0.75rem;
    height: auto;
}

#main-contact-phone.contact-phone {
    display: inline-block;
    text-align: right;
    white-space: nowrap;
    font-size: 25px;
    line-height: 1.5;
    width: auto;
}

#main-contact-phone .contact-phone-text {
    display: inline !important;
    font-size: 25px !important;
    font-weight: 400;
    color: #212529 !important;
    text-transform: none !important;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-align: right;
    margin-right: 0.5rem;
}

#main-contact-phone .telephone {
    display: inline;
    font-size: 25px;
    line-height: 1.5;
    text-align: right;
    white-space: nowrap;
}

#main-contact-phone .telephone b {
    font-weight: 700;
    color: #212529 !important;
    transition: color 0.2s ease;
}

#main-contact-phone .telephone b:hover {
    color: var(--color-brand-primary-hover) !important;
}

/* =========================================
   5. PRIMARY NAVBAR - BANNER POSITION FIXED
   ========================================= */
.nav-primary {
    clear: both;
    background: var(--color-brand-primary);
    padding: 0;
    margin-top: 0.25rem; /* REDUCED from 1rem for 30px shift */
    width: 100%;
    height: 54px;
}

.nav-primary .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

.navbar-brand {
    display: none;
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100%;
    justify-content: center;
}

.nav-link {
    color: var(--color-text-on-primary);
    text-decoration: none;
    padding: 0 1.5rem;
    font-size: 18px;
    font-weight: 600;
    display: block;
    line-height: 54px;
    height: 54px;
    transition: background 0.2s ease;
    text-align: center;
}

.nav-link:hover,
.nav-link:focus {
    background: rgba(0,0,0,0.1);
}

.nav-link strong {
    font-weight: 700;
}

.navbar-toggler {
    display: none;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.25rem;
}

/* =========================================
   6. HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url(/assets/images/landsky2a.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    overflow: hidden;
    width: 100%;
}

.hero .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.hero-content-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

.hero-content {
    background: rgba(0,0,0,0.8);
    padding: 2rem;
    margin-top: 36px;
}

.hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content h1 strong {
    display: block;
    font-size: 1.25em;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.hero-content .is-style-h4 {
    font-size: 1.125rem;
    line-height: 1.4;
    margin: 1.5rem 0;
    color: #e9ecef;
}

.hero-content figure {
    display: block;
    margin: 1.5rem 0;
    text-align: center;
}

.hero-content figure img {
    width: auto;
    height: auto;
    max-width: 100%;
    transition: transform 0.2s ease;
}

.hero-content figure a:hover img {
    transform: scale(1.05);
}

.hero-form-container {
    background: #f3f3f3;
    padding: 2.5rem 2rem;
    color: #000;
    max-width: 450px;
    margin: 36px auto 0 auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0;
}

.hero-form-container h3.gform_title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-brand-primary);
}

.form-description {
    font-family: var(--font-primary) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    color: #000 !important;
    margin-bottom: 1.5rem !important;
}

.required-asterisk {
    color: var(--color-brand-primary);
    font-weight: 700;
}

.form-field-group {
    margin-bottom: 1.5rem;
}

.gfield_label {
    font-family: var(--font-headings);
    font-size: 13.5pt;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.gform-field-label--type-sub {
    font-family: var(--font-primary);
    font-size: 11pt;
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
}

.gfield_description {
    font-family: var(--font-primary);
    font-size: 11pt;
    font-weight: 400;
    margin-top: 0.25rem;
    color: #6c757d;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-form-container input[type="text"],
.hero-form-container input[type="tel"],
.hero-form-container input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1rem;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.hero-form-container input::placeholder {
    color: #6c757d;
}

.hero-form-container input:focus {
    border-color: var(--color-brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 81, 22, 0.25);
}

.ginput_container--name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.hero-form-container .gform_button,
.hero-form-container button[type="submit"] {
    background: var(--color-button);
    color: var(--color-text-on-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 0.25rem;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.hero-form-container .gform_button:hover,
.hero-form-container button[type="submit"]:hover {
    background: var(--color-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

@media (max-width: 768px) {
    .hero-content {
        margin-top: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* =========================================
   7. MAIN CONTENT - ENFORCED BODY TEXT SIZING
   ========================================= */

/* Content Wrap */
.content-wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

.content-wrap > .main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Base Typography - ALL BLACK, 13.5pt ENFORCED */
.content-wrap p,
.content-wrap li,
.content-wrap h2,
.content-wrap h3,
.content-wrap strong {
    color: #000000 !important;
}

.content-wrap p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px) !important; /* ENFORCED 13.5pt */
    line-height: 1.5 !important; /* LOCKED */
}

/* Base Heading Styles */
.wp-block-heading {
    font-family: var(--font-headings);
    font-weight: 700;
    line-height: 1.2;
    margin: 2rem 0 1rem;
}

/* Specific Heading Sizes - INCREASED by 2pts */
h2.wp-block-heading {
    font-size: calc(1.75rem + 3px); /* +2pts */
    margin-top: 2rem;
    margin-bottom: 1rem;
    text-align: center !important;
}

h3.wp-block-heading {
    font-size: calc(1.5rem + 3px); /* +2pts */
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* H3 Style Variant - Centered */
.is-style-h3 {
    font-size: calc(1.5rem + 3px); /* +2pts */
    text-align: center;
    margin: 2rem 0;
    font-weight: 700;
}

/* Text Alignment */
.has-text-align-center {
    text-align: center !important;
}

/* WordPress List Block */
ul.wp-block-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.wp-block-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
    line-height: 1.5;
    font-size: calc(1rem + 3px); /* ENFORCED */
}

.wp-block-list li:last-child {
    border-bottom: none;
}

.wp-block-list strong {
    color: #000000 !important; /* Black, not orange */
    font-weight: 700;
}

/* Group Block with Background - REDUCED TOP PADDING */
.wp-block-group.has-c-brand-primary-lighter-background-color {
    background-color: var(--color-brand-primary-lighter) !important;
    padding: 1rem 2rem 1.5rem !important; /* REDUCED from 2rem to 1rem top */
    border-radius: 0.25rem;
    margin: 3rem 0;
}

.wp-block-group h3 {
    text-align: center;
    color: #000000 !important; /* Black text */
    margin-bottom: 1rem !important;
    margin-top: 0 !important; /* Remove top margin */
    font-size: calc(1.5rem + 3px); /* +2pts */
    font-weight: 700;
}

/* Columns Block - FIXED SPACING */
.wp-block-columns.is-layout-flex {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: flex-start;
}

.wp-block-columns .wp-block-column {
    flex: 1;
}

/* Empty spacer columns */
.wp-block-columns .wp-block-column:first-child,
.wp-block-columns .wp-block-column:last-child {
    flex: 0.5;
}

.wp-block-columns ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0; /* Remove default margin */
}

.wp-block-columns .wp-block-list li {
    border: none;
    padding: 0.25rem 0;
    font-size: calc(1rem + 3px); /* ENFORCED */
}

/* Content Form Wrapper - MATCHES HERO FORM */
.content-form-wrapper {
    background: #f3f3f3;
    padding: 2.5rem 2rem;
    max-width: 450px;
    margin: 3rem auto;
    border: 1px solid #ced4da; /* Hairline border */
    border-radius: 0;
}

.gform-wrapper {
    width: 100%;
}

.gform_wrapper {
    width: 100%;
    margin: 0 auto;
    background: transparent;
}

.gform_heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.gform_title {
    font-family: var(--font-headings);
    font-size: calc(1.5rem + 3px); /* +2pts */
    font-weight: 700;
    color: #000000;
    margin-bottom: 0.5rem;
}

.gform_description {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px); /* ENFORCED */
    color: #000000;
    line-height: 1.4;
}

/* Gravity Forms Field Structure */
.gform_body {
    width: 100%;
}

.gform_fields {
    list-style: none;
    padding: 0;
    margin: 0;
    display: block;
}

.gfield {
    margin-bottom: 1.25rem;
    display: block;
}

.gfield_label {
    font-family: var(--font-headings);
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    font-weight: 600;
    color: #000000;
    display: block;
    margin-bottom: 0.5rem;
}

.gfield_required {
    color: #f25116; /* Keep asterisk orange */
}

.gfield_required_asterisk {
    color: #f25116; /* Keep asterisk orange */
}

/* Input Containers */
.ginput_container {
    width: 100%;
}

.ginput_container--name {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gform-grid-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.gform-grid-col {
    display: block;
}

/* Half Width Fields */
.gf_left_half,
.gf_right_half {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.gf_left_half {
    margin-right: 4%;
}

/* Input Fields */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="email"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    font-family: var(--font-primary);
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.gform_wrapper input::placeholder {
    color: #6c757d;
}

.gform_wrapper input:focus {
    border-color: var(--color-brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 81, 22, 0.25);
}

/* Sub Labels */
.gform-field-label--type-sub {
    font-family: var(--font-primary);
    font-size: calc(0.875rem + 2px) !important; /* ENFORCED */
    font-weight: 400;
    display: block;
    margin-top: 0.25rem;
    color: #6c757d;
}

/* Field Description */
.gfield_description {
    font-family: var(--font-primary);
    font-size: calc(0.875rem + 2px); /* ENFORCED */
    color: #6c757d;
    margin-top: 0.25rem;
}

/* Submit Button */
.gform_button {
    background: var(--color-button);
    color: var(--color-text-on-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: calc(1.1rem + 3px) !important; /* ENFORCED */
    font-weight: 700;
    border-radius: 0.25rem;
    cursor: pointer;
    width: 100%;
    text-transform: uppercase;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.gform_button:hover {
    background: var(--color-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Footer Note */
.footer-note {
    font-size: calc(0.875rem + 2px) !important; /* ENFORCED */
    color: #999999;
    text-align: center;
    margin: 2rem 0;
    font-style: italic;
}

.footer-note span {
    color: #999999 !important;
}

/* Final Phone CTA - SMALLER */
.final-phone-cta {
    font-size: 1rem; /* Smaller than h3 */
    margin: 2rem 0;
}

.final-phone-cta strong {
    color: #000000 !important;
    font-weight: 700;
}

/* Social Share */
.entry-share {
    margin: 2rem 0;
}

.entry-share-btns {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.entry-share-btn a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877f2;
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.entry-share-btn a:hover {
    background: #166fe5;
}

.entry-share-btn svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}
/* =========================================
   7.1 WORDPRESS BLOCK SEPARATOR
   ========================================= */

hr.wp-block-separator {
    border: none;
    border-top: 2px solid #000000; /* Thicker black line */
    margin: 2rem auto; /* WordPress default spacing */
    max-width: 100px; /* Centered, narrow width */
    height: 0;
    clear: both;
}

hr.wp-block-separator.has-alpha-channel-opacity {
    opacity: 1; /* Ensure solid color */
}

/* =========================================
   7.2 WORDPRESS HEADING HIERARCHY
   ========================================= */

/* H1 - Main FAQ Title */
.page-template-faq h1.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(2.25rem + 3px); /* +2pts */
    font-weight: 700;
    line-height: 1.2;
    margin: 3rem auto 1rem;
    color: #000000;
}

/* H3 - FAQ Subtitle */
.page-template-faq h3.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(1.5rem + 3px); /* +2pts */
    font-weight: 400; /* Lighter weight for subtitle */
    line-height: 1.3;
    margin: 0 auto 1.5rem;
    color: #000000;
}

/* Center alignment utility */
.has-text-align-center {
    text-align: center !important;
}

/* Paragraph styling in FAQ intro */
.faq-intro p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px); /* +2pts */
    line-height: 1.6;
    margin: 0 auto 1.5rem;
    max-width: 900px;
}

/* Link styling */
.faq-intro p a {
    color: var(--color-link);
    text-decoration: underline;
    font-weight: 700;
}

.faq-intro p a:hover {
    color: var(--color-link-hover);
}

/* Phone number in intro */
.faq-intro p strong:last-child {
    font-weight: 700;
    color: #000000;
}

/* FAQ Content spacing */
.faq-content {
    margin: 3rem 0;
}
/* =========================================
   8. FOOTER
   ========================================= */
.content-info-bottom {
    background: #efefef;
    padding: 3rem 0 2rem;
    margin-top: auto;
    border-top: 1px solid #dee2e6;
}

.content-info-bottom .container {
    text-align: center;
}

/* FORCE horizontal layout on desktop */
.nav-footer ul {
    display: flex !important;
    justify-content: center !important;
    flex-direction: row !important; /* Explicitly horizontal */
    flex-wrap: nowrap !important; /* PREVENT wrapping */
    list-style: none !important;
    margin: 0 0 1.5rem !important;
    padding: 0 !important;
    gap: 1.5rem !important; /* Reduced from 2rem for better fit */
}

.nav-footer li {
    flex-shrink: 0 !important; /* Prevent items from shrinking */
    white-space: nowrap !important; /* Keep link text on one line */
}

.nav-footer a {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 700; /* Bold font */
    transition: color 0.2s ease;
}

.nav-footer a:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

.disclaimer {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-size: 0.875rem;
    color: #6c757d;
    text-align: center;
    line-height: 1.5;
}

.content-info-bottom p.copy {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}


/* =========================================
   9. MOBILE RESPONSIVE
   ========================================= */
@media (max-width: 768px) {

    /* Force nav-top to show on mobile */
    .banner--isDefault .nav-top {
        display: block !important;
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 0.5rem !important; /* Provides spacing below nav */
    }
    
    .banner--isDefault .nav-top ul {
        justify-content: center;
        height: auto;
    }
    
    .banner--isDefault .brand-container {
        float: none !important;
        text-align: center !important;
        margin: 0 auto !important;
        width: 100% !important;
        padding-top: 2rem !important; /* ADDED: Push logo down from nav */
        padding-bottom: 1rem !important; /* Adjust bottom spacing */
    }
    
    .banner--isDefault .brand-logo {
        margin: 0 auto !important;
        max-width: 200px !important;
        display: block !important;
    }
    
    .banner--isDefault .navbar-toggler {
        display: block;
    }
    
    .banner--isDefault .navbar-collapse {
        display: none;
        width: 100%;
        background: var(--color-brand-primary);
        margin: 0 -16px;
        padding: 0 16px;
    }
    
    .banner--isDefault .navbar-collapse.show {
        display: block;
    }
    
    .banner--isDefault .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .banner--isDefault .nav-link {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .banner--isDefault .contact-row {
        float: none;
        text-align: center;
        margin-top: 0.5rem;
    }
    
    .hero {
        background: none !important;
        background-color: rgba(0,0,0,0.85) !important; /* Solid dark background instead */
    }
     .hero-content-container {
        display: block !important;
        width: 100% !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
        margin: 0 !important; /* Remove any inherited margins */
    }
    
    /* Fix content block - full width visibility */
    .hero-content {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 2rem !important;
        padding: 1.5rem !important;
        box-sizing: border-box !important;
        /* Remove any potential "border" appearance */
        border: none !important;
        box-shadow: none !important;
    }
    
    /* Fix form container - ensure no cutoff */
    .hero-form-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 1.5rem !important; /* Consistent padding */
        box-sizing: border-box !important;
        border: none !important;
        box-shadow: none !important;
    }
}
    
    .wp-block-columns {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
	.wp-block-image.size-large.is-resized img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
/* Mobile stacking - PRESERVED */
@media (max-width: 768px) {
    .nav-footer ul {
        flex-direction: column !important; /* Stack vertically on mobile */
        gap: 0.5rem !important;
        flex-wrap: wrap !important; /* Allow wrapping if needed on mobile */
    }
    
    .nav-footer li {
        white-space: normal !important; /* Allow text wrapping on mobile */
    }
}
}

/* =========================================
   10. UTILITY CLASSES
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.brand-text.sr-only {
    display: none !important;
}

.text-center {
    text-align: center;
}

/* =========================================
   11. HOVERS & INTERACTIONS
   ========================================= */
.banner--isDefault .nav-link:hover {
    background: rgba(0,0,0,0.1);
}

.banner--isDefault .nav-link,
.hero-form-container .gform_button,
.hero-form-container input {
    transition: all 0.2s ease-in-out;
}

/* =========================================
   12. BREAKPOINT FIXES
   ========================================= */
@media (min-width: 960px) {
    .banner--isDefault .container {
        width: 1080px;
    }
}

/* =========================================
   13. CONTACT PHONE INLINE FIX
   ========================================= */
@media (min-width: 769px) {
    #main-contact-phone.contact-phone {
        display: inline-block;
        vertical-align: middle;
    }
    
    #main-contact-phone .contact-phone-text {
        display: inline !important;
        vertical-align: baseline;
    }
    
    #main-contact-phone .telephone {
        display: inline;
        vertical-align: baseline;
    }
}

/* =========================================
   14. LARGE SCREEN CONTENT CONTAINER FIXES
   ========================================= */
@media (min-width: 1081px) {
    .banner--isDefault .container,
    .content-wrap,
    .hero-content-container,
    .nav-primary .container {
        max-width: 1080px;
        margin-left: auto;
        margin-right: auto;
    }
}
/* =========================================
   15. FAQ PAGE SPECIFIC STYLES
   ========================================= */

/* FAQ Intro */
.faq-intro {
    margin: 2rem 0 1.5rem;
}

/* FAQ Content */
.faq-content {
    margin: 3rem 0;
}

/* Simple FAQ Items - Q&A Format */
.faq-item-simple {
    margin-bottom: 2.5rem;
}

.faq-question-simple {
    font-family: var(--font-headings);
    font-size: calc(1rem + 3px); /* +2pts */
    font-weight: 600;
    color: #000000;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.faq-answer-simple {
    font-family: var(--font-primary);
    font-size: calc(0.9375rem + 3px); /* Slightly smaller for body */
    line-height: 1.7;
    margin-bottom: 1rem;
}

.faq-answer-simple:last-child {
    margin-bottom: 0;
}

/* Active Navigation State */
.nav-link.active {
    background: rgba(0,0,0,0.2) !important;
    font-weight: 700;
}

/* Page Template Specific Adjustments */
.page-template-faq .main {
    padding-top: 1rem;
}

/* Mobile FAQ */
@media (max-width: 768px) {
    .page-template-faq h1.wp-block-heading {
        font-size: calc(1.75rem + 3px); /* Smaller on mobile */
    }
    
    .page-template-faq h3.wp-block-heading {
        font-size: calc(1.25rem + 3px); /* Smaller on mobile */
    }
    
    .faq-question-simple {
        font-size: calc(0.9375rem + 3px); /* Mobile size */
    }
    
    .faq-answer-simple {
        font-size: calc(0.875rem + 3px); /* Slightly smaller on mobile */
    }
}

/* =========================================
   16. CONTACT PAGE SPECIFIC STYLES
   ========================================= */

/* Contact Intro */
.contact-intro {
    margin: 2rem 0 1.5rem;
}

.page-template-contact h1.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(2rem + 3px); /* +2pts */
    font-weight: 700;
    margin: 2rem auto 1rem;
    color: #000000;
}

.page-template-contact h3.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(1.5rem + 3px); /* +2pts */
    font-weight: 400;
    margin: 0 auto 1rem;
    color: #000000;
}

.contact-intro p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px); /* +2pts */
    line-height: 1.6;
    margin: 0 auto 1.5rem;
    max-width: 900px;
}

/* Contact Content Layout */
.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin: 3rem 0;
    align-items: start;
}

/* Contact Form Section */
.contact-form-section {
    width: 100%;
}

/* Contact Info Section */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-card,
.contact-hours-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 0.25rem;
    border: 1px solid #e9ecef;
}

.contact-info-card h3,
.contact-hours-card h4 {
    font-family: var(--font-headings);
    font-size: calc(1.25rem + 3px); /* +2pts */
    margin-bottom: 1.5rem;
    color: #000000;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-item span {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px); /* +2pts */
    line-height: 1.5;
}

.telephone-link {
    color: var(--color-brand-primary);
    font-weight: 700;
    text-decoration: none;
}

.telephone-link:hover {
    color: var(--color-brand-primary-hover);
    text-decoration: underline;
}

.contact-item a {
    color: var(--color-link);
    text-decoration: underline;
}

.contact-hours-card p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px); /* +2pts */
    line-height: 1.7;
    margin: 0;
}

/* Textarea Styling */
textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: calc(1rem + 3px); /* +2pts */
    font-family: var(--font-primary);
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
    resize: vertical;
    min-height: 120px;
}

textarea:focus {
    border-color: var(--color-brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 81, 22, 0.25);
}

/* =========================================
   16.1 CONTACT PAGE TWO-COLUMN LAYOUT
   ========================================= */

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
    align-items: start;
    max-width: 1080px;
    margin: 2rem auto 3rem;
    padding: 0 1rem;
}

.contact-text-column {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px); /* +2pts */
    line-height: 1.6;
}

.contact-text-column p {
    margin: 0 0 1.5rem 0;
    color: #000000 !important;
}

.contact-text-column h1.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(2.25rem + 3px); /* +2pts */
    font-weight: 700;
    margin: 0 0 1.5rem 0;
    color: #000000;
    text-align: left !important;
}

.contact-text-column h2.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(1.75rem + 3px); /* +2pts */
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    color: #000000;
    text-align: left !important;
}

/* Bulleted list with proper indentation - HIGH SPECIFICITY */
ul.wp-block-list.contact-bullets {
    list-style: disc !important;
    padding-left: 2rem !important;
    margin: 1rem 0 1.5rem !important;
}

ul.wp-block-list.contact-bullets li {
    padding: 0.5rem 0 !important;
    border-bottom: none !important;
    font-size: calc(1rem + 3px) !important; /* +2pts */
    line-height: 1.6 !important;
}

ul.wp-block-list.contact-bullets strong {
    color: #000000 !important;
    font-weight: 700 !important;
}

.contact-info-p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px); /* +2pts */
    line-height: 1.7;
    margin: 0 0 2rem 0;
}

/* Right column form styling */
.contact-form-column .content-form-wrapper {
    margin: 0;
    max-width: 100%;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .contact-form-column {
        order: 2; /* Form appears below text on mobile */
    }
    
    .contact-text-column {
        order: 1;
    }
    
    .contact-text-column h1.wp-block-heading,
    .contact-text-column h2.wp-block-heading {
        text-align: center !important;
    }
}
/* =========================================
   16.2 CONTACT SUCCESS MESSAGE
   ========================================= */

.contact-success-message {
    font-family: var(--font-headings);
    font-size: 23.5pt;
    font-weight: 700;
    color: var(--color-brand-primary);
    text-align: center;
    margin: 4rem auto;
    padding: 3rem 2rem;
    max-width: 800px;
    display: none; /* Hidden until form submission */
    line-height: 1.3;
}

.contact-success-message.show {
    display: block;
}

/* Hide form when submitted */
.contact-page-layout.form-submitted .contact-form-column {
    display: none;
}

/* Maintain spacing when form is hidden */
.contact-page-layout.form-submitted .contact-text-column {
    grid-column: 1 / -1; /* Span full width */
    max-width: 800px;
    margin: 0 auto;
}
/* =========================================
   16.3 SELL LAND PAGE STYLES
   ========================================= */


/* Fix font size to 13.5pt (18px) for sell land page content */
.page-template-sell-land main p {
    font-family: var(--font-primary);
    font-size: 18px !important; /* 13.5pt equivalent */
    line-height: 1.6 !important;
}

/* Fix bulleted list - add bullets and indentation */
.page-template-sell-land .wp-block-list.contact-bullets {
    list-style: disc !important;
    padding-left: 2rem !important;
    margin: 1.5rem 0 !important;
}

.page-template-sell-land .wp-block-list.contact-bullets li {
    font-family: var(--font-primary);
    font-size: 18px !important; /* 13.5pt equivalent */
    line-height: 1.6 !important;
    padding: 0.5rem 0 !important;
    border-bottom: none !important;
    margin-left: 0 !important;
}

/* Left-align the h2 and is-style-h3 on sell land page */
.page-template-sell-land h2.wp-block-heading {
    font-family: var(--font-headings);
    text-align: left !important;
}

/* Paragraph with H3 styling variant - for callout text */
.is-style-h3 {
    font-family: var(--font-headings);
    font-size: calc(1.5rem + 3px); /* +2pts from base */
    font-weight: 700;
    line-height: 1.4;
    margin: 1.5rem 0;
    color: #000000 !important;
    text-align: center;
}
.page-template-sell-land .is-style-h3 {
    font-family: var(--font-headings);
    font-size: calc(1.5rem + 3px); /* +2pts from base */
    font-weight: 700;
    line-height: 1.4;
    margin: 1.5rem 0;
    color: #000000 !important;
    text-align: left !important; /* Changed from center */
}

/* Ensure form in content area uses proper spacing */
.page-template-sell-land .gform_wrapper {
    margin: 2rem auto;
    max-width: 600px; /* Slightly narrower for better UX in content flow */
}

.page-template-sell-land .gfield--type-honeypot .gfield_description {
    display: none !important;
}

/* Center align the privacy image */
.page-template-sell-land .wp-block-image.aligncenter {
    margin: 3rem auto 2rem;
}
/* Fix privacy image centering */
.page-template-sell-land figure.aligncenter {
    text-align: center;
    margin: 3rem auto 2rem;
}

.page-template-sell-land figure.aligncenter img {
    display: inline-block;
    margin: 0 auto;
}

/* Center the final call to action */
.page-template-sell-land main > p:last-of-type {
    text-align: center;
    margin: 2rem 0;
    font-size: calc(1.125rem + 3px);
}

/* Mobile adjustments for sell land page */
@media (max-width: 768px) {
    .page-template-sell-land .gform_wrapper {
        margin: 1.5rem 0;
        max-width: 100%;
    }
    
    .page-template-sell-land .is-style-h3 {
        font-size: calc(1.25rem + 3px);
        line-height: 1.3;
    }
}

/* =========================================
   17. BLOG STYLES - INDEX & POSTS (CONSOLIDATED)
   ========================================= */

/* Blog Page Header */
.page-header {
    background: #f7f7f9;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: calc(2.25rem + 3px);
    color: var(--color-brand-primary);
    text-align: center;
    margin: 0;
}

/* Blog Layout Container */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Post Listings */
.post-wrap {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.post-wrap:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.post-wrap header {
    margin-bottom: 1rem;
}

.entry-title {
    font-size: calc(1.75rem + 3px);
    line-height: 1.2;
    margin: 0 0 0.5rem;
}

.entry-title a {
    color: var(--color-brand-primary);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.entry-title a:hover {
    color: var(--color-brand-primary-hover);
    text-decoration: underline;
}

/* Post Meta */
.updated, .byline {
    font-family: var(--font-primary);
    font-size: calc(0.875rem + 2px);
    color: #6c757d;
    margin: 0;
}

.byline {
    margin-top: 0.25rem;
}

.byline a {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 500;
}

.byline a:hover {
    text-decoration: underline;
}

/* Entry Summary */
.entry-summary {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    line-height: 1.6;
    color: #000000;
    margin-top: 1rem;
}

.entry-summary a {
    color: var(--color-link);
    text-decoration: none;
    font-weight: 500;
}

.entry-summary a:hover {
    text-decoration: underline;
}

/* Sticky Posts */
.sticky {
    background: #fff9e6;
    padding: 1.5rem;
    border-left: 4px solid var(--color-brand-primary);
    margin-bottom: 2rem;
}

/* Sidebar */
.sidebar {
    padding: 0;
}

.sidebar .widget {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
}

.sidebar h3 {
    font-size: calc(1.25rem + 3px);
    color: var(--color-brand-primary);
    margin-top: 0; /* REMOVED: For precise alignment */
    margin-bottom: 1rem;
}

/* Recent Posts Widget */
.widget_recent_entries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_recent_entries li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e9ecef;
}

.widget_recent_entries li:last-child {
    border-bottom: none;
}

.widget_recent_entries a {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.widget_recent_entries a:hover {
    color: var(--color-brand-primary);
}

/* Widget Subscribe Card */
.widget-subscribe {
    background: #f8f9fa;
    padding: 1.5rem;
    border: 1px solid #ced4da;
    margin: 2rem 0;
}

.widget-subscribe .card-title {
    font-size: calc(1.25rem + 3px);
    color: var(--color-brand-primary);
    margin-bottom: 0.75rem;
}

.widget-subscribe .card-text {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    line-height: 1.5;
    color: #000000;
    margin-bottom: 1rem;
}

/* Force consistent font sizing across all blog content */
.entry-content p {
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    line-height: 1.5;
}

/* Enforce bulleted list styling */
.entry-content ul.wp-block-list {
    list-style: disc;
    padding-left: 2rem;
    margin: 1rem 0 2rem;
}

.entry-content ul.wp-block-list li {
    border-bottom: none;
    padding: 0.25rem 0;
}

/* Prevent linefeeds around inline strong tags */
.entry-content p strong {
    display: inline;
    font-weight: 700;
}

/* Social Share */
.entry-share {
    margin: 2rem 0;
}

.entry-share-btns {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.75rem;
}

.entry-share-btn a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877f2;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-weight: 500;
    font-size: calc(0.875rem + 2px);
    transition: background 0.2s ease;
}

.entry-share-btn a:hover {
    background: #166fe5;
}

.entry-share-btn svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Comments Section */
.comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e9ecef;
}

.comment-respond {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 0.25rem;
}

.comment-form label {
    font-family: var(--font-headings);
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    font-weight: 600;
    color: #000000;
    display: block;
    margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px) !important; /* ENFORCED */
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--color-brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 81, 22, 0.25);
}

.form-submit input {
    background: var(--color-brand-primary);
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 700;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.form-submit input:hover {
    background: var(--color-brand-primary-hover);
}

/* Math Captcha */
.comment-form-math {
    margin: 1rem 0;
}

.comment-form-math label {
    display: inline-block;
    margin-right: 0.5rem;
}

.comment-form-math input {
    width: auto;
    display: inline-block;
    margin: 0;
    padding: 0.5rem;
}

/* =========================================
   18. RESPONSIVE BLOG STYLES - MOBILE-ONLY
   ========================================= */

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        order: 2;           /* Move sidebar below main content */
        margin-top: 0 !important;  /* Reset desktop margin */
        padding: 0;         /* Maintain padding reset */
    }
    
    .sidebar .widget {
        padding: 1rem;      /* Reduce padding on mobile */
    }
    
    .entry-title {
        font-size: calc(1.5rem + 3px);
    }
}
/* =========================================
   19. LETTER RESPONSE FORM PAGE STYLES
   ========================================= */

/* Content width for non-form sections */
.page-template-letterresponse .content-wrap > .main,
.page-template-letterresponse-2 .content-wrap > .main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Intro section with image */
.letterresponse-intro {
    margin: 2rem 0 1.5rem;
}

.intro-with-image {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.representative-image {
    width: 144px;
    height: 144px;
    flex-shrink: 0;
    display: block;
}

.letterresponse-intro h3 {
    font-family: var(--font-headings);
    font-size: 23.5pt; /* Exact size requested */
    font-weight: 700; /* Bold */
    line-height: 1.3;
    color: var(--color-brand-primary) !important;
    text-align: left !important;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

/* Spanish link styling - ALIGNED WITH FORM SPACING */
.spanish-link-container {
    margin: 1rem 0 2rem;
    padding-left: 23px; /* Match form left spacing */
}

.spanish-link-container p {
    margin: 0;
}

.spanish-link-container a {
    font-family: var(--font-primary);
    font-size: calc(1.25rem + 3px);
    font-weight: 700;
    color: #065B81 !important;
    text-decoration: none !important;
    text-align: left;
    display: inline-block;
}

.spanish-link-container a:hover {
    color: #075b81 !important;
    text-decoration: underline !important;
}

/* Form title and subtitle - ALIGNED WITH SPACING */
.letterresponse-form-title {
    font-family: var(--font-headings);
    font-size: 20.5pt;
    font-weight: 700;
    line-height: 1.3;
    color: #000000 !important;
    text-align: left !important;
    margin: 2rem 0 0.5rem 0;
    padding-left: 23px;
}

.letterresponse-form-subtitle {
    font-family: var(--font-primary);
    font-size: 13.5pt;
    font-style: italic;
    line-height: 1.4;
    color: #000000 !important;
    text-align: left !important;
    margin: 0 0 2rem 0;
    padding-left: 23px;
}

/* Form container - FORCED 714px WIDTH */
.letterresponse-form-wrapper {
    width: 714px !important; /* Force exact width */
    max-width: 714px !important;
    margin: 2rem auto;
    padding: 0; /* Remove padding from container */
    box-sizing: border-box;
}

/* Form background - padding goes here */
.letterresponse-form-wrapper form {
    background: #f3f3f3;
    padding: 2.5rem 23px; /* 23px padding = 668px content area */
    border: 1px solid #ced4da;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.letterresponse-form-wrapper .gform_fields {
    list-style: none;
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
}

/* FIELD CONTAINER - ADD LEFT SPACING */
.letterresponse-form-wrapper .gfield {
    margin-bottom: 1.5rem;
    padding-left: 0; /* No extra padding - container handles it */
    padding-right: 0;
    box-sizing: border-box;
}

/* HIGH SPECIFICITY INPUT STYLES */
.page-template-letterresponse .letterresponse-form-wrapper input[type="text"],
.page-template-letterresponse .letterresponse-form-wrapper input[type="tel"],
.page-template-letterresponse .letterresponse-form-wrapper input[type="email"],
.page-template-letterresponse .letterresponse-form-wrapper select,
.page-template-letterresponse .letterresponse-form-wrapper textarea,
.page-template-letterresponse-2 .letterresponse-form-wrapper input[type="text"],
.page-template-letterresponse-2 .letterresponse-form-wrapper input[type="tel"],
.page-template-letterresponse-2 .letterresponse-form-wrapper input[type="email"],
.page-template-letterresponse-2 .letterresponse-form-wrapper select,
.page-template-letterresponse-2 .letterresponse-form-wrapper textarea {
    width: 100%;
    height: 40px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    font-weight: 400;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

.page-template-letterresponse .letterresponse-form-wrapper textarea,
.page-template-letterresponse-2 .letterresponse-form-wrapper textarea {
    height: auto;
    min-height: 120px;
}

/* Focus states */
.page-template-letterresponse .letterresponse-form-wrapper input:focus,
.page-template-letterresponse .letterresponse-form-wrapper select:focus,
.page-template-letterresponse .letterresponse-form-wrapper textarea:focus,
.page-template-letterresponse-2 .letterresponse-form-wrapper input:focus,
.page-template-letterresponse-2 .letterresponse-form-wrapper select:focus,
.page-template-letterresponse-2 .letterresponse-form-wrapper textarea:focus {
    border-color: var(--color-brand-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 81, 22, 0.25);
}

/* ==================================================== */
/* ADDRESS FIELD LAYOUT - CORRECTED STRUCTURE */
/* ==================================================== */

/* Street Address - FULL WIDTH */
.page-template-letterresponse .letterresponse-form-wrapper .ginput_container_address .address_line_1,
.page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_address .address_line_1 {
    width: 668px !important;
    max-width: 100%;
}

/* City and State - 322px each, side by side */
.page-template-letterresponse .letterresponse-form-wrapper .ginput_container_address .address_city,
.page-template-letterresponse .letterresponse-form-wrapper .ginput_container_address .address_state,
.page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_address .address_city,
.page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_address .address_state {
    width: 322px !important;
    max-width: 100%;
}

/* Zip Code - FULL WIDTH, SEPARATE LINE */
.page-template-letterresponse .letterresponse-form-wrapper .ginput_container_address .address_zip,
.page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_address .address_zip {
    width: 668px !important;
    max-width: 100%;
    display: block !important;
    margin-top: 1.5rem;
}

/* Hide country field */
.page-template-letterresponse .letterresponse-form-wrapper input[name="address_country"],
.page-template-letterresponse-2 .letterresponse-form-wrapper input[name="address_country"] {
    display: none;
}

/* ==================================================== */
/* NAME FIELD LAYOUT */
/* ==================================================== */
.page-template-letterresponse .letterresponse-form-wrapper .ginput_container--name,
.page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container--name {
    display: grid;
    grid-template-columns: 322px 322px;
    gap: 24px;
    width: 100%;
    max-width: 668px;
}

/* ==================================================== */
/* RADIO & CHECKBOX - STACKED VERTICALLY */
/* ==================================================== */

/* Radio buttons - STACK ONE PER LINE */
.page-template-letterresponse .letterresponse-form-wrapper .gfield_radio,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gfield_radio {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

/* Checkboxes - STACK ONE PER LINE */
.page-template-letterresponse .letterresponse-form-wrapper .gfield_checkbox,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gfield_checkbox {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

/* Individual choice items */
.page-template-letterresponse .letterresponse-form-wrapper .gchoice,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gchoice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 !important;
    width: 100%;
}

/* Remove default field widths */
.page-template-letterresponse .letterresponse-form-wrapper .gfield--width-half,
.page-template-letterresponse .letterresponse-form-wrapper .gf_left_half,
.page-template-letterresponse .letterresponse-form-wrapper .gf_right_half,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gfield--width-half,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gf_left_half,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gf_right_half {
    width: 100% !important;
}

/* Full width single fields (APN, Email, Phone, etc.) */
.page-template-letterresponse .letterresponse-form-wrapper .gfield--width-full input:not([type="radio"]):not([type="checkbox"]),
.page-template-letterresponse .letterresponse-form-wrapper .gfield--width-full select,
.page-template-letterresponse .letterresponse-form-wrapper .gfield--width-full textarea,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gfield--width-full input:not([type="radio"]):not([type="checkbox"]),
.page-template-letterresponse-2 .letterresponse-form-wrapper .gfield--width-full select,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gfield--width-full textarea {
    width: 668px !important;
    max-width: 100%;
}

/* Half width fields - Lot Size specifically */
.page-template-letterresponse .letterresponse-form-wrapper input[name="lot_size"],
.page-template-letterresponse-2 .letterresponse-form-wrapper input[name="lot_size"] {
    width: 322px !important;
    max-width: 100%;
}

/* Submit button - 668px width */
.page-template-letterresponse .letterresponse-form-wrapper .gform_button,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gform_button {
    background: var(--color-button);
    color: var(--color-text-on-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: calc(1.1rem + 3px);
    font-weight: 700;
    border-radius: 0.25rem;
    cursor: pointer;
    width: 668px !important; /* Force exact width */
    max-width: 668px !important;
    text-transform: uppercase;
    transition: all 0.2s ease;
    margin-top: 1rem;
    margin-left: 0; /* Centered by container padding */
    display: block;
}

.page-template-letterresponse .letterresponse-form-wrapper .gform_button:hover,
.page-template-letterresponse-2 .letterresponse-form-wrapper .gform_button:hover {
    background: var(--color-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Center alignment utility */
.wp-block-image.aligncenter {
    text-align: center;
    margin: 2rem 0;
}

.wp-block-image.aligncenter img {
    margin: 0 auto;
    display: inline-block;
}

/* Responsive adjustments */
/* =========================================
   19. LETTER RESPONSE FORM PAGE STYLES
   ========================================= */

/* MOBILE FINAL FIXES - Session 17 */
@media (max-width: 768px) {
    /* Layout */
    .page-template-letterresponse .content-wrap > .main,
    .page-template-letterresponse-2 .content-wrap > .main {
        padding: 1rem 0; /* Reduced padding to allow centering */
        text-align: center; /* ✅ FIX #1: Center inline children */
    }
    
    .page-template-letterresponse .letterresponse-intro h3,
    .page-template-letterresponse-2 .letterresponse-intro h3 {
        font-size: calc(1.5rem + 3px);
    }
    
    .page-template-letterresponse .spanish-link-container a,
    .page-template-letterresponse-2 .spanish-link-container a {
        font-size: calc(1.125rem + 3px);
    }
    
    /* ✅ FIX #1: Center form container */
    .page-template-letterresponse .letterresponse-form-wrapper,
    .page-template-letterresponse-2 .letterresponse-form-wrapper {
        display: block !important; /* ✅ Changed from inline-block to block */
        width: 100% !important;
        max-width: 100% !important;
        margin: 1rem auto !important; /* Auto margins work for block elements */
        padding: 0 1rem !important;
        box-sizing: border-box !important; /* ✅ Prevents padding overflow */
    }
    
    .page-template-letterresponse .letterresponse-form-wrapper form,
    .page-template-letterresponse-2 .letterresponse-form-wrapper form {
        width: 100% !important;
        padding: 1.5rem !important;
        text-align: left; /* Reset form content alignment */
        box-sizing: border-box !important;
    }
    
    /* ✅ FIX #2: Name field width blowout */
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container--name,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container--name {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ✅ CRITICAL: Constrain spans inside name container */
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container--name span,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container--name span {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ✅ Ensure inputs fill their containers */
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container--name input[type="text"],
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container--name input[type="tel"],
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container--name input[type="email"],
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container--name input[type="text"],
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container--name input[type="tel"],
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container--name input[type="email"] {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Handle email container if present */
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container_email,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_email {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ✅ Constrain email spans */
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container_email span,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_email span {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix ALL input widths */
    .page-template-letterresponse .letterresponse-form-wrapper input[type="text"],
    .page-template-letterresponse .letterresponse-form-wrapper input[type="tel"],
    .page-template-letterresponse .letterresponse-form-wrapper input[type="email"],
    .page-template-letterresponse .letterresponse-form-wrapper select,
    .page-template-letterresponse .letterresponse-form-wrapper textarea,
    .page-template-letterresponse-2 .letterresponse-form-wrapper input[type="text"],
    .page-template-letterresponse-2 .letterresponse-form-wrapper input[type="tel"],
    .page-template-letterresponse-2 .letterresponse-form-wrapper input[type="email"],
    .page-template-letterresponse-2 .letterresponse-form-wrapper select,
    .page-template-letterresponse-2 .letterresponse-form-wrapper textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix radio/checkbox containers */
    .page-template-letterresponse .letterresponse-form-wrapper .gfield_radio,
    .page-template-letterresponse .letterresponse-form-wrapper .gfield_checkbox,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .gfield_radio,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .gfield_checkbox {
        width: 100% !important;
        max-width: 100% !important;
        gap: 0.75rem !important;
    }
    
    /* Fix radio label spacing */
    .page-template-letterresponse .letterresponse-form-wrapper .gchoice,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .gchoice {
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* Stack address fields */
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container_address .address_city,
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container_address .address_state,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_address .address_city,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_address .address_state {
        display: block !important;
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0.75rem !important;
    }
    
    .page-template-letterresponse .letterresponse-form-wrapper .ginput_container_address .address_zip,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .ginput_container_address .address_zip {
        margin-top: 0 !important;
    }
    
    /* Fix submit button */
    .page-template-letterresponse .letterresponse-form-wrapper .gform_button,
    .page-template-letterresponse-2 .letterresponse-form-wrapper .gform_button {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
    }
    
    /* ✅ Center privacy images */
    .page-template-letterresponse .wp-block-image.aligncenter,
    .page-template-letterresponse-2 .wp-block-image.aligncenter {
        display: block !important;
        text-align: center !important;
        margin: 2rem auto !important;
        width: 100% !important;
    }
    
    /* Center form titles */
    .page-template-letterresponse .letterresponse-form-title,
    .page-template-letterresponse-2 .letterresponse-form-title,
    .page-template-letterresponse .letterresponse-form-subtitle,
    .page-template-letterresponse-2 .letterresponse-form-subtitle {
        padding-left: 0 !important;
        text-align: center !important;
    }
    
    /* Stack intro image */
    .page-template-letterresponse .intro-with-image,
    .page-template-letterresponse-2 .intro-with-image {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .page-template-letterresponse .representative-image,
    .page-template-letterresponse-2 .representative-image {
        margin: 0 auto 1rem !important;
    }
}

@media (max-width: 480px) {
    .page-template-letterresponse .letterresponse-form-wrapper form,
    .page-template-letterresponse-2 .letterresponse-form-wrapper form {
        padding: 1rem !important;
    }
}


/* =========================================
   20. THANK YOU PAGE STYLES (letterresponse)
   ========================================= */

/* Content container - 1000px max-width */
.page-template-thankyou-letterresponse .content-wrap > .main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Thank you content wrapper */
.thankyou-content {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    line-height: 1.6;
    color: #000000;
    margin-bottom: 3rem;
}

/* Main heading */
.page-template-thankyou-letterresponse h1.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(2.25rem + 3px);
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 800px;
}

/* Subheading */
.page-template-thankyou-letterresponse h2.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(1.75rem + 3px);
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    text-align: center;
    margin: 2rem auto 1.5rem;
}

/* Paragraph styling */
.thankyou-content p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    line-height: 1.7;
    color: #000000;
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 700px;
}

/* Phone number emphasis */
.thankyou-content p strong {
    color: #000000;
    font-weight: 700;
}

/* Signature line */
.thankyou-content .signature {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    text-align: center;
    margin: 2rem auto;
    font-weight: 700;
}

/* Image styling */
.page-template-thankyou-letterresponse .wp-block-image.size-full {
    text-align: center;
    margin: 2.5rem auto;
}

.page-template-thankyou-letterresponse .wp-block-image.size-full img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: inline-block;
    border-radius: 0.25rem;
}

/* Social share container */
.page-template-thankyou-letterresponse .entry-share {
    margin: 3rem 0;
    text-align: center;
}

.page-template-thankyou-letterresponse .entry-share-btns {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

/* Facebook share button */
.page-template-thankyou-letterresponse .entry-share-btn a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877f2;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    font-weight: 500;
    transition: background 0.2s ease;
}

.page-template-thankyou-letterresponse .entry-share-btn a:hover {
    background: #166fe5;
}

.page-template-thankyou-letterresponse .entry-share-btn svg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

/* Privacy image */
.page-template-thankyou-letterresponse .privacy-image-container {
    text-align: center;
    margin: 2rem 0;
}

.page-template-thankyou-letterresponse .privacy-image-container img {
    margin: 0 auto;
    display: inline-block;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .page-template-thankyou-letterresponse .content-wrap > .main {
        padding: 2rem 1rem;
    }
    
    .page-template-thankyou-letterresponse h1.wp-block-heading {
        font-size: calc(1.75rem + 3px);
    }
    
    .page-template-thankyou-letterresponse h2.wp-block-heading {
        font-size: calc(1.5rem + 3px);
    }
    
    .thankyou-content p {
        font-size: calc(0.9375rem + 3px);
        line-height: 1.6;
    }
    
    .page-template-thankyou-letterresponse .wp-block-image.size-full {
        margin: 1.5rem auto;
    }
    
    .page-template-thankyou-letterresponse .entry-share {
        margin: 2rem 0;
    }
}
/* =========================================
   20.1 THANK YOU PAGE STYLES (letterresponse-2 Spanish)
   ========================================= */

/* Apply same styles as English version - shared architecture */
.page-template-thankyou-letterresponse-2 .content-wrap > .main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

/* Shared content wrapper styles */
.page-template-thankyou-letterresponse-2 .thankyou-content {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    line-height: 1.6;
    color: #000000;
    margin-bottom: 3rem;
}

/* Heading styles - Spanish version */
.page-template-thankyou-letterresponse-2 h1.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(2.25rem + 3px);
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
    text-align: center;
    margin: 0 auto 2rem;
    max-width: 800px;
}

.page-template-thankyou-letterresponse-2 h2.wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(1.75rem + 3px);
    font-weight: 700;
    line-height: 1.3;
    color: #000000;
    text-align: center;
    margin: 2rem auto 1.5rem;
}

/* Paragraph styling */
.page-template-thankyou-letterresponse-2 .thankyou-content p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    line-height: 1.7;
    color: #000000;
    text-align: center;
    margin: 0 auto 1.5rem;
    max-width: 700px;
}

/* Phone emphasis */
.page-template-thankyou-letterresponse-2 .thankyou-content p strong {
    color: #000000;
    font-weight: 700;
}

/* Signature */
.page-template-thankyou-letterresponse-2 .thankyou-content .signature {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    text-align: center;
    margin: 2rem auto;
    font-weight: 700;
}

/* Image */
.page-template-thankyou-letterresponse-2 .wp-block-image.size-full {
    text-align: center;
    margin: 2.5rem auto;
}

.page-template-thankyou-letterresponse-2 .wp-block-image.size-full img {
    width: auto;
    height: auto;
    max-width: 100%;
    display: inline-block;
    border-radius: 0.25rem;
}

/* Social share */
.page-template-thankyou-letterresponse-2 .entry-share {
    margin: 3rem 0;
    text-align: center;
}

.page-template-thankyou-letterresponse-2 .entry-share-btns {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 1rem;
}

.page-template-thankyou-letterresponse-2 .entry-share-btn a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #1877f2;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    font-weight: 500;
    transition: background 0.2s ease;
}

.page-template-thankyou-letterresponse-2 .entry-share-btn a:hover {
    background: #166fe5;
}

/* Privacy image */
.page-template-thankyou-letterresponse-2 .privacy-image-container {
    text-align: center;
    margin: 2rem 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .page-template-thankyou-letterresponse-2 .content-wrap > .main {
        padding: 2rem 1rem;
    }
    
    .page-template-thankyou-letterresponse-2 h1.wp-block-heading {
        font-size: calc(1.75rem + 3px);
    }
    
    .page-template-thankyou-letterresponse-2 h2.wp-block-heading {
        font-size: calc(1.5rem + 3px);
    }
    
    .page-template-thankyou-letterresponse-2 .thankyou-content p {
        font-size: calc(0.9375rem + 3px);
        line-height: 1.6;
    }
    
    .page-template-thankyou-letterresponse-2 .wp-block-image.size-full {
        margin: 1.5rem auto;
    }
    
    .page-template-thankyou-letterresponse-2 .entry-share {
        margin: 2rem 0;
    }
}
/* =========================================
   21. STEP 2 PAGE STYLES - DEBUGGED & ENFORCED
   ========================================= */

/* ========== CRITICAL RESET FOR THIS PAGE ========== */
.page-template-step-2 form[name="step-2-land-offer"] * {
    box-sizing: border-box !important;
}

/* ========== CONTAINER & LAYOUT ========== */
.page-template-step-2 .content-wrap > .main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.step-2-intro {
    margin: 2rem 0 1.5rem;
}

.intro-with-image {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.representative-image {
    width: 144px;
    height: 144px;
    flex-shrink: 0;
    display: block;
}

.step-2-intro h3 {
    font-family: var(--font-headings);
    font-size: 23.5pt;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-brand-primary) !important;
    text-align: left !important;
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.step-2-form-title {
    font-family: var(--font-headings);
    font-size: 20.5pt;
    font-weight: 700;
    line-height: 1.3;
    color: #000000 !important;
    text-align: left !important;
    margin: 2rem 0 0.5rem 0;
    padding-left: 23px;
}

.step-2-form-subtitle {
    font-family: var(--font-primary);
    font-size: 13.5pt;
    font-style: italic;
    line-height: 1.4;
    color: #000000 !important;
    text-align: left !important;
    margin: 0 0 2rem 0;
    padding-left: 23px;
}

/* ========== FORM CONTAINER - 714px LOCKED ========== */
.page-template-step-2 .step-2-form-wrapper {
    width: 714px !important;
    max-width: 714px !important;
    margin: 2rem auto !important;
    padding: 0 !important;
}

.page-template-step-2 .step-2-form-wrapper form {
    background: #f3f3f3;
    padding: 2.5rem 23px !important;
    border: 1px solid #ced4da;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ========== BASE FIELD STYLES - 40px HEIGHT ENFORCED ========== */
.page-template-step-2 form[name="step-2-land-offer"] input[type="text"],
.page-template-step-2 form[name="step-2-land-offer"] input[type="tel"],
.page-template-step-2 form[name="step-2-land-offer"] input[type="email"],
.page-template-step-2 form[name="step-2-land-offer"] select,
.page-template-step-2 form[name="step-2-land-offer"] textarea {
    width: 100% !important;
    height: 40px !important;
    padding: 0.5rem 0.75rem !important;
    border: 1px solid #ced4da !important;
    border-radius: 0.25rem !important;
    font-family: var(--font-primary) !important;
    font-size: calc(1rem + 3px) !important;
    font-weight: 400 !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease-in-out !important;
}

/* Remove Gravity Forms' default padding that breaks height */
.page-template-step-2 form[name="step-2-land-offer"] input,
.page-template-step-2 form[name="step-2-land-offer"] select {
    padding: 0.5rem 0.75rem !important;
}

/* Specific height for selects */
.page-template-step-2 form[name="step-2-land-offer"] select {
    height: 40px !important;
    line-height: 1.2 !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Textarea exception */
.page-template-step-2 form[name="step-2-land-offer"] textarea {
    height: auto !important;
    min-height: 120px !important;
}

/* Focus states */
.page-template-step-2 form[name="step-2-land-offer"] input:focus,
.page-template-step-2 form[name="step-2-land-offer"] select:focus,
.page-template-step-2 form[name="step-2-land-offer"] textarea:focus {
    border-color: var(--color-brand-primary) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(242, 81, 22, 0.25) !important;
}

/* ========== NAME FIELD PAIR - 322px + 24px + 322px ========== */
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container--name,
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container.ginput_container--name {
    display: grid !important;
    grid-template-columns: 322px 322px !important;
    gap: 24px !important;
    width: 668px !important;
    max-width: 100% !important;
}

/* Override Gravity Forms' float */
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container--name span {
    width: 100% !important;
    float: none !important;
}

/* ========== EMAIL FIELD PAIR - ADDED CONFIRM EMAIL ========== */
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_email,
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container.ginput_container_email {
    display: grid !important;
    grid-template-columns: 322px 322px !important;
    gap: 24px !important;
    width: 668px !important;
    max-width: 100% !important;
}

/* Override Gravity Forms' float for email spans */
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_email span {
    width: 100% !important;
    float: none !important;
}

/* ========== ADDRESS FIELD STRUCTURE ========== */
/* Street Address = 668px full width */
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_address .address_line_1,
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_address .address_line_1 input {
    width: 668px !important;
    max-width: 100% !important;
}

/* City and State side-by-side, 322px each */
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_address .address_city,
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_address .address_state {
    display: inline-block !important;
    width: 322px !important;
    max-width: 100% !important;
    vertical-align: top !important;
}

.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_address .address_city {
    margin-right: 24px !important;
}

/* ZIP Code = 668px on separate line */
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_address .address_zip,
.page-template-step-2 form[name="step-2-land-offer"] .ginput_container_address .address_zip input {
    width: 668px !important;
    max-width: 100% !important;
    display: block !important;
    margin-top: 1.5rem !important;
}

/* Hide country field */
.page-template-step-2 form[name="step-2-land-offer"] input[name="input_7.6"] {
    display: none !important;
}

/* ========== RADIO & CHECKBOX - VERTICAL STACK ========== */
.page-template-step-2 form[name="step-2-land-offer"] .gfield_radio,
.page-template-step-2 form[name="step-2-land-offer"] .gfield_checkbox {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.5rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
}

.page-template-step-2 form[name="step-2-land-offer"] .gchoice {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

/* ========== HALF-WIDTH EXCEPTIONS ========== */
/* Lot Size = 322px */
.page-template-step-2 form[name="step-2-land-offer"] input[name="input_10"],
.page-template-step-2 form[name="step-2-land-offer"] input[name="input_10"] {
    width: 322px !important;
    max-width: 100% !important;
}

/* Listed with Realtor dropdown = 322px */
.page-template-step-2 form[name="step-2-land-offer"] select[name="input_19"] {
    width: 322px !important;
    max-width: 100% !important;
}

/* ========== FULL WIDTH FIELDS ========== */
.page-template-step-2 form[name="step-2-land-offer"] input[name="input_30"],
.page-template-step-2 form[name="step-2-land-offer"] select[name="input_7.4"],
.page-template-step-2 form[name="step-2-land-offer"] textarea[name="input_17"],
.page-template-step-2 form[name="step-2-land-offer"] textarea[name="input_31"],
.page-template-step-2 form[name="step-2-land-offer"] select[name="input_4"] {
    width: 668px !important;
    max-width: 100% !important;
}

/* ========== SUBMIT BUTTON - 668px WIDTH ========== */
.page-template-step-2 form[name="step-2-land-offer"] .gform_button,
.page-template-step-2 .gform_wrapper .gform_footer input[type="submit"] {
    background: var(--color-button) !important;
    color: var(--color-text-on-primary) !important;
    border: none !important;
    padding: 1rem 2rem !important;
    font-size: calc(1.1rem + 3px) !important;
    font-weight: 700 !important;
    border-radius: 0.25rem !important;
    cursor: pointer !important;
    width: 668px !important;
    max-width: 668px !important;
    text-transform: uppercase !important;
    transition: all 0.2s ease !important;
    margin-top: 1rem !important;
    display: block !important;
}

/* ========== FOOTER & IMAGES ========== */
.step-2-content p {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px);
    line-height: 1.6;
    color: #000000;
    margin-bottom: 1.5rem;
}

.page-template-step-2 .wp-block-image.aligncenter {
    text-align: center;
    margin: 2.5rem auto;
}

.page-template-step-2 .wp-block-image.aligncenter img {
    margin: 0 auto;
    display: inline-block;
}


/* =========================================
   21. STEP 2 PAGE MEDIA STYLES - DEBUGGED & ENFORCED
   ========================================= */

/* MOBILE FINAL FIXES - Session 17 */

@media (max-width: 768px) {
    /* Remove text-align to prevent cascading */
    .page-template-step-2 .content-wrap > .main {
        padding: 1rem 0 !important;
    }
    
    /* Center form container */
    .page-template-step-2 .letterresponse-form-wrapper {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 1rem auto !important;
        padding: 0 1rem !important;
        box-sizing: border-box !important;
    }
    
    .page-template-step-2 .letterresponse-form-wrapper form {
        width: 100% !important;
        padding: 1.5rem !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }
    
    /* Subtitle: left-aligned text but centered block */
    .page-template-step-2 .letterresponse-form-subtitle {
        text-align: left !important;
        margin: 0 auto 1rem !important;
        padding-left: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Left-align ALL form text */
    .page-template-step-2 form[name="step-2-land-offer"] p,
    .page-template-step-2 form[name="step-2-land-offer"] .gfield_label,
    .page-template-step-2 form[name="step-2-land-offer"] .gfield_description,
    .page-template-step-2 form[name="step-2-land-offer"] .gform-field-label--type-sub {
        text-align: left !important;
    }
    
    /* Name field containers */
    .page-template-step-2 form[name="step-2-land-offer"] .ginput_container--name,
    .page-template-step-2 form[name="step-2-land-offer"] .ginput_container_email {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Constrain spans inside containers */
    .page-template-step-2 form[name="step-2-land-offer"] .ginput_container--name span,
    .page-template-step-2 form[name="step-2-land-offer"] .ginput_container_email span {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Inputs fill spans */
    .page-template-step-2 form[name="step-2-land-offer"] input[type="text"],
    .page-template-step-2 form[name="step-2-land-offer"] input[type="tel"],
    .page-template-step-2 form[name="step-2-land-offer"] input[type="email"],
    .page-template-step-2 form[name="step-2-land-offer"] select,
    .page-template-step-2 form[name="step-2-land-offer"] textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix button parent */
    .page-template-step-2 form[name="step-2-land-offer"] .gform_footer {
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* ✅ FIX #3: Match desktop specificity for button */
    .page-template-step-2 form[name="step-2-land-offer"] .gform_button {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        font-size: 1rem !important;
        padding: 0.75rem 1rem !important;
        box-sizing: border-box !important;
        display: block !important;
    }
    
    /* Center privacy images */
    .page-template-step-2 .wp-block-image.aligncenter {
        display: block !important;
        text-align: center !important;
        margin: 2rem auto !important;
        width: 100% !important;
    }
    
    /* Center form titles */
    .page-template-step-2 .step-2-form-title {
        padding-left: 0 !important;
        text-align: center !important;
    }
    
    /* Stack intro image */
    .page-template-step-2 .intro-with-image {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .page-template-step-2 .representative-image {
        margin: 0 auto 1rem !important;
    }
}

@media (max-width: 480px) {
    .page-template-step-2 .letterresponse-form-wrapper form {
        padding: 1rem !important;
    }
}

/* =========================================
   22. NUMBERED LIST STYLES - LARGE ORANGE CIRCLES
   ========================================= */

.is-style-list-numbers-lg.wp-block-list {
    list-style: none;
    padding-left: 80px;
    counter-reset: numbered-list;
    margin: 2rem 0;
}

.is-style-list-numbers-lg.wp-block-list li {
    counter-increment: numbered-list;
    position: relative;
    padding-left: 0;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    font-size: 18px; /* 13.5pt */
    font-weight: 700;
    line-height: 1.5;
    color: #000000;
}

.is-style-list-numbers-lg.wp-block-list li::before {
    content: counter(numbered-list);
    position: absolute;
    left: -80px;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .is-style-list-numbers-lg.wp-block-list {
        padding-left: 60px;
    }

    .is-style-list-numbers-lg.wp-block-list li::before {
        left: -60px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* =========================================
   23. HOW IT WORKS PAGE SPECIFIC STYLES
   ========================================= */

/* Body text sizing - 13.5pt (18px) */
.page-template-how-it-works main p {
    font-family: var(--font-primary);
    font-size: 18px !important; /* 13.5pt */
    line-height: 1.6;
    color: #000000;
}

/* Separator styling */
.page-template-how-it-works .wp-block-separator {
    border: none;
    border-top: 2px solid #000000;
    margin: 2rem auto;
    max-width: 100px;
    height: 0;
    clear: both;
}

/* Callout text styling */
.page-template-how-it-works .has-text-align-center.is-style-h3 {
    font-family: var(--font-headings);
    font-size: calc(1.5rem + 3px);
    font-weight: 700;
    text-align: center;
    margin: 2rem 0;
    color: #000000;
}

/* Form container width - constrain to 600px like sell-your-land.html */
.page-template-how-it-works .gform_wrapper {
    margin: 2rem auto;
    max-width: 600px;
}

.page-template-how-it-works .gfield--type-honeypot .gfield_description {
    display: none !important;
}

/* Privacy Image centering */
.page-template-how-it-works figure.aligncenter {
    text-align: center;
    margin: 3rem auto 2rem;
}

.page-template-how-it-works figure.aligncenter img {
    display: inline-block;
    margin: 0 auto;
}

/* Phone CTA centering */
.page-template-how-it-works main > p:last-of-type {
    text-align: center;
    margin: 2rem 0;
}

/* =========================================
   24. TESTIMONIALS PAGE SPECIFIC STYLES
   ========================================= */

/* Page intro */
.page-template-testimonials .wp-block-heading {
    font-family: var(--font-headings);
    font-size: calc(2.25rem + 3px);
    font-weight: 700;
    text-align: left; /* Changed from center */
    margin: 2rem 0 1rem;
    color: #000000;
}

.page-template-testimonials .has-text-align-center {
    font-family: var(--font-primary);
    font-size: 18px;
    text-align: left; /* Changed from center */
    margin: 0 0 2rem;
    color: #000000;
}

/* Testimonial container spacing */
.page-template-testimonials .valianttest-block-testimonial {
    margin-bottom: 3rem;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 2rem;
}

.page-template-testimonials .valianttest-block-testimonial:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Testimonial content */
.page-template-testimonials .testimonial-content-inner {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.6;
    color: #000000;
}

/* Testimonial highlight title */
.page-template-testimonials .testimonial-highlight.is-style-h3 {
    font-family: var(--font-headings);
    font-size: calc(1.5rem + 3px);
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: #000000;
    text-align: left; /* Added to override center alignment */
}

/* Five star images */
.page-template-testimonials .testimonial-content-inner .wp-image-1359 {
    width: 150px;
    height: auto;
    margin: 0.5rem 0;
    display: block;
}

/* Author images */
.page-template-testimonials .testimonial-content-inner img[style*="width: 75px"] {
    width: 75px;
    height: auto;
    border-radius: 50%;
    margin: 1rem 0 0;
}

/* Footer with author and source */
.page-template-testimonials .valianttest-testimonial__footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-template-testimonials .valianttest-testimonial__author {
    font-family: var(--font-headings);
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
}

.page-template-testimonials .valianttest-testimonial__link {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-template-testimonials .valianttest-testimonial__link:hover {
    color: var(--color-link-hover);
    text-decoration: underline;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .page-template-testimonials .valianttest-testimonial__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================================
   25. SIDEBAR STYLES - CONSOLIDATED
   ========================================= */

/* Base sidebar styling - applies to ALL page templates */
.sidebar {
    padding: 0;
    margin-top: 2.5rem; /* CONSOLIDATED: Aligns widget top with main content/image */
}

/* Page-specific sidebar adjustments - only where needed */
.page-template-about-us .sidebar,
.page-template-our-company .sidebar {
    margin-top: 2.5rem; /* Override for proper alignment with hero/main images */
}

.page-template-testimonials .sidebar {
    margin-top: 0; /* No offset needed for testimonials layout */
}

/* Widget container */
.sidebar .widget {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 0.25rem;
}

.sidebar .widget h3 {
    margin-top: 0; /* REMOVED: For precise alignment with page content */
}

/* Form within sidebar */
.sidebar .gform_wrapper {
    margin: 0 auto;
    width: 100%;
}

.sidebar .gform_wrapper .gform_heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.sidebar .gform_title {
    font-family: var(--font-headings);
    font-size: calc(1.25rem + 3px);
    font-weight: 700;
    color: var(--color-brand-primary);
    margin-bottom: 0.5rem;
}

.sidebar .gform_description {
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px) !important;
    color: #000000;
    line-height: 1.4;
}

/* Mobile Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .sidebar {
        order: 2;
        margin-top: 0 !important; /* Reset on mobile */
    }
    
    .sidebar .widget {
        padding: 1rem;
    }
    
    .entry-title {
        font-size: calc(1.5rem + 3px);
    }
}

/* =========================================
   26. PAGE TEMPLATE SPECIFIC STYLES - CONSOLIDATED & FIXED
   ========================================= */

/* --- COLUMN LAYOUT FIXES --- */

/* CRITICAL: Prevent flex overflow and ensure proper shrinking */
.wp-block-columns.is-layout-flex {
    display: flex;
    gap: 2rem;
    max-width: 100% !important; /* Allow container to shrink */
    margin: 0 auto;
    align-items: flex-start; /* Top alignment */
    overflow: hidden; /* Contain any overflow */
}

.wp-block-column {
    flex: 1;
    min-width: 0 !important; /* CRITICAL: Allows flex items to shrink */
    max-width: 100%; /* Prevent overflow of child elements */
}

/* Empty spacer columns */
.wp-block-columns .wp-block-column:first-child,
.wp-block-columns .wp-block-column:last-child {
    flex: 0.5;
}

/* Remove first-child margins for perfect alignment */
.wp-block-column > :first-child {
    margin-top: 0 !important; /* Aligns text and image at top */
}

/* --- IMAGE CONTAINMENT (ALL PAGES) --- */

/* Blog layout image containment */
.content-wrap figure.wp-block-image,
main figure.wp-block-image {
    margin: 2rem auto;
    max-width: 100%;
    text-align: center; /* Center the figure */
}

.content-wrap figure.wp-block-image img,
main figure.wp-block-image img {
    max-width: 100% !important; /* Force constraint */
    height: auto;
    display: block; /* Better than inline-block for layout */
    margin: 0 auto; /* Center within figure */
}

/* --- BRAND COLOR HEADING SIZING --- */

/* RESTORED + SIZED: Brand color utility for h4 elements */
.has-c-brand-primary-color {
    color: var(--color-brand-primary) !important;
    font-size: calc(1.375rem + 8px) !important; /* 20.5pt equivalent */
    font-weight: 700 !important; /* Ensure bold weight */
}

/* --- TEMPLATE-SPECIFIC STYLING --- */

/* About Us & Our Company - H2 variant */
.page-template-about-us .is-style-h2,
.page-template-our-company .is-style-h2 {
    font-family: var(--font-primary);
    font-size: 36px !important; /* 27pt */
    font-weight: 700;
    line-height: 1.3;
    color: #000000 !important;
    margin: 2rem 0 1rem;
}

/* How It Works - numbered list */
.is-style-list-numbers-lg.wp-block-list {
    list-style: none;
    padding-left: 80px;
    counter-reset: numbered-list;
    margin: 2rem 0;
}

.is-style-list-numbers-lg.wp-block-list li {
    counter-increment: numbered-list;
    position: relative;
    padding-left: 0;
    margin-bottom: 1.5rem;
    font-family: var(--font-primary);
    font-size: calc(1rem + 3px) !important;
    font-weight: 700;
    line-height: 1.5;
    color: #000000;
}

.is-style-list-numbers-lg.wp-block-list li::before {
    content: counter(numbered-list);
    position: absolute;
    left: -80px;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--color-brand-primary);
    color: var(--color-text-on-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    flex-shrink: 0;
}

/* Blog post content */
.single-post .entry-content p {
    font-size: calc(1rem + 3px) !important;
    line-height: 1.5 !important;
}

.single-post .entry-content ul.wp-block-list {
    list-style: disc !important;
    padding-left: 2rem !important;
    margin: 1rem 0 2rem !important;
}

.single-post .entry-content ul.wp-block-list li {
    border-bottom: none !important;
    padding: 0.25rem 0;
}

.single-post .entry-content p strong {
    display: inline !important;
    font-weight: 700;
}

/* Mobile stacking */
@media (max-width: 768px) {
    .page-template-about-us .is-style-h2,
    .page-template-our-company .is-style-h2 {
        font-size: calc(1.25rem + 3px) !important;
    }
    
    .wp-block-columns.is-layout-flex {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wp-block-column figure.wp-block-image {
        margin: 1rem 0;
    }

}
/* =========================================
   27. OPTIONS TO SELL LAND PAGE STYLES
   ========================================= */
   


/* Body Text */
.page-template-options-to-sell-land main p {
    font-family: var(--font-primary);
    font-size: 18px !important; /* 13.5pt */
    line-height: 1.6 !important;
    color: #000000;
}

/* Headings - Black */
.page-template-options-to-sell-land h1.wp-block-heading,
.page-template-options-to-sell-land h2.wp-block-heading,
.page-template-options-to-sell-land h3.wp-block-heading {
    color: #000000 !important;
}

/* Table Container */
.page-template-options-to-sell-land .wp-block-table {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scroll on small screens */
    margin: 2rem 0;
    box-sizing: border-box;
}

/* Table */
.page-template-options-to-sell-land table {
    width: 100%;
    min-width: 500px; /* Prevent crushing on mobile */
    border-collapse: collapse;
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.5;
    table-layout: auto; /* Allow text to wrap */
}

/* Table Header */
.page-template-options-to-sell-land thead {
    background-color: var(--color-brand-primary-lighter);
}

/* Cells */
.page-template-options-to-sell-land th,
.page-template-options-to-sell-land td {
    padding: 0.75rem;
    border: 1px solid #000000; /* Thin black border */
    text-align: left;
    color: #000000;
    vertical-align: top; /* Align text to top for wrapping */
}

/* Header Cells */
.page-template-options-to-sell-land th {
    font-weight: 700;
}

/* Subtle Row Background (not zebra striping) */
.page-template-options-to-sell-land tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.03); /* Very subtle grey */
}

/* Underline for emphasis */
.page-template-options-to-sell-land .text-underline {
    text-decoration: underline;
    text-decoration-color: var(--color-brand-primary);
}
/* Ensure form wrapper inherits correct width */
.page-template-options-to-sell-land .content-form-wrapper {
    margin: 2rem auto !important; /* Match sell-your-land spacing */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .page-template-options-to-sell-land table {
        min-width: 300px; /* Allow table to be narrower on mobile */
    }
    
    .page-template-options-to-sell-land th,
    .page-template-options-to-sell-land td {
        padding: 0.5rem; /* Reduce padding for smaller screens */
    }
}
/* =========================================
   28. FORM VALIDATION ERROR STATES
   ========================================= */

/* Base error state - applied to parent .gfield container */
.field-error {
    position: relative;
}

/* Error styling for inputs, selects, and textareas */
.field-error input:not([type="radio"]):not([type="checkbox"]),
.field-error select,
.field-error textarea {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* HIGH SPECIFICITY FIX FOR STEP-2 PAGE */
.page-template-step-2 form[name="step-2-land-offer"] .field-error input:not([type="radio"]):not([type="checkbox"]),
.page-template-step-2 form[name="step-2-land-offer"] .field-error select,
.page-template-step-2 form[name="step-2-land-offer"] .field-error textarea {
    border: 2px solid #dc3545 !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
}

/* Error message display */
.field-error-message {
    display: block !important;
    color: #dc3545;
    font-family: var(--font-primary);
    font-size: 14px;
    line-height: 1.4;
    margin-top: 0.25rem;
    padding-left: 0.5rem;
    font-weight: 400;
}

/* Hidden by default */
.gfield .field-error-message {
    display: none !important;
}

/* Mobile error message sizing - preserves Phase 5 specificity */
@media (max-width: 768px) {
    .field-error-message {
        font-size: 13px !important;
    }
    
    /* Ensure mobile field widths aren't affected */
    .field-error input,
    .field-error select,
    .field-error textarea {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Honeypot fields should never show errors */
.gfield--type-honeypot.field-error,
.gfield honeypot-field.field-error {
    border: none !important;
    background: transparent !important;
}

.gfield--type-honeypot .field-error-message,
.honeypot-field .field-error-message {
    display: none !important;
}




