@charset "utf-8";
/* ==========================================================================
   ARTISAN MORTGAGE: MASTER CALCULATOR STYLES (v25.0 - Full rem/em to px Conversion)
   ========================================================================== */

/* v21.1: Modern Global Box-Sizing */
*, *:before, *:after { 
    box-sizing: border-box; 
}

/* v12.5: Flexbox Equal Height Fix */
.row-flex-v13-0 {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}
.row-flex-v13-0 .column {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

/* v12.8: Tablet & iPad Mini Specific Override */
@media only screen and (min-width: 744px) and (max-width: 1024px) {
    .row-flex-v13-0 {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }
    .row-flex-v13-0 .one-third.column {
        width: 31% !important; 
        margin-left: 1% !important;
        margin-right: 1% !important;
    }
}

/* Typography & Layout */
.calc-h1 { font-size: 40px; font-weight: 600; line-height: 1.2; margin-bottom: 16px; }
.calc-h2 { font-size: 32px; font-weight: 500; line-height: 1.2; margin-bottom: 19.2px; margin-top: 32px; }
.calc-h3 { font-size: 28px; font-weight: 500; line-height: 1.2; margin-bottom: 19.2px; margin-top: 32px; }
.calc-h4 { font-size: 24px; font-weight: 500; line-height: 1.2; margin-bottom: 19.2px; margin-top: 32px; }
.calc-h5 { font-size: 20px; font-weight: 500; line-height: 1.2; margin-bottom: 19.2px; margin-top: 32px; }
.subtitle { font-size: 20px; margin-bottom: 32px; color: #555; }
.text-center { text-align: center; }

/* v12.9: Mobile Heading Adjustments */
@media (max-width: 992px) {
    .calc-h1 { font-size: 33.6px !important; }
    .calc-h2 { font-size: 28px !important; }
    .calc-h3 { font-size: 24px !important; }
    .calc-h4 { font-size: 20px !important; }
    .calc-h5 { font-size: 17.6px !important; }
}

/* v13.0: Optimized Spacing Utility */
.vertical-stack-intro {
    margin-top: 48px;
    margin-bottom: 48px;	 
}

.vertical-stack-lg, .section-spacer-v11 {
    margin-top: 48px !important; 
    margin-bottom: 48px !important;
}

.vertical-stack-calc {
    margin-top: 16px !important; 
    margin-bottom: 16px !important;
}

/* --- Hero Section Refinement --- */
/* ==========================================================================
   v23.0: HERO SECTION - MASTER (DESKTOP + IPAD PRO EDGE-SYNC)
   ========================================================================== */

#hero-section {
    padding: 30px 0;
	/*padding: 45px 0;*/
    background: linear-gradient(90deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02));
    border-bottom: 1px solid #e1e8ed;
}

#hero-section .hero-text-wrapper { padding-top: 15px; }
#hero-section .calc-h1 { margin-bottom: 15px; color: #333; font-size: 44.8px; }
#hero-section .subtitle { font-size: 19.2px; line-height: 1.6; color: #666; margin-bottom: 0; }

#hero-section .hero-img {
    width: 100%; 
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    margin: 0 0 0 auto; /* Base anchor to the right */
}

/* --------------------------------------------------------------------------
   1. DESKTOP VIEW (1200px and up) - Rigid 505px Alignment
   -------------------------------------------------------------------------- */
@media (min-width: 1200px) {
    #hero-section .container .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important; 
        width: 100% !important;
    }
    
    #hero-section .nine.columns {
        flex: 0 0 55% !important; 
        margin: 0 !important;
        padding-right: 40px !important; 
    }
    
    #hero-section .seven.columns {
        flex: 0 0 505px !important; 
        width: 505px !important;
        margin: 0 !important; 
        margin-left: auto !important; 
    }

    #hero-section .hero-img {
        max-width: 505px !important; /* Locks natural size on large screens */
    }
}

/* --------------------------------------------------------------------------
   2. IPAD PRO VIEW (1024px - 1199px) - Fluid 95% Sync (The "Location" Fix)
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) and (max-width: 1199px) {
    /* SYNC ALL CONTAINERS: Header and Hero share the exact same 95% bounds */
    .container {
        width: 95% !important;
        max-width: 100% !important;
        padding: 0 !important;
    }

    #hero-section .container .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #hero-section .nine.columns {
        flex: 1 1 55% !important;
        padding-right: 30px !important;
        margin: 0 !important;
    }

    /* Drop the rigid 505px width to let the column flex naturally to the edge */
    #hero-section .seven.columns {
        flex: 0 0 45% !important;  
        width: 45% !important;
        margin: 0 0 0 auto !important; 
        display: flex !important;
        justify-content: flex-end !important;
    }

    #hero-section .hero-img {
        max-width: 450px !important; /* Scaled down slightly to fit the iPad canvas */
        margin: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   3. MOBILE & TABLET PORTRAIT VIEW (1023px and below)
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
    #hero-section { 
        padding: 40px 0; 
        text-align: center; 
    }
    
    #hero-section .container .row {
        display: flex !important;
        flex-direction: column !important;
    }
    
    #hero-section .seven.columns { 
        order: 1 !important; 
        width: 100% !important; 
        margin: 0 0 30px 0 !important; 
    }
    
    #hero-section .nine.columns { 
        order: 2 !important; 
        width: 100% !important; 
        margin: 0 !important; 
    }
    
    #hero-section .hero-img { 
        width: 90%; 
        max-width: 505px; 
        margin: 0 auto; /* Re-centers the image on mobile stacks */
    }
}



/* v11.8 Unified Hero CTA */
.hero-cta-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px; 
    border-radius: 9999px; 
    font-size: 16px; 
    font-weight: 600;
    text-transform: none; 
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 2px solid #0d6efd;
    background-color: transparent;
    color: #0d6efd !important;
    line-height: 1.2;
    margin-top: 24px;
    cursor: pointer;
}
.hero-cta-clear:hover { 
    background-color: #0d6efd;
    color: #ffffff !important;
    transform: translateY(-2px);
}



/* --- Calculator Cards --- */
.calc-card-evergreen-v10 {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    padding: 35px 25px;
    margin-bottom: 40px; 
    text-align: center;
    transition: all 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    box-sizing: border-box !important;
    width: 100% !important;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
}

.calc-card-evergreen-v10:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 24px rgba(0,0,0,0.08); 
}

.calc-card-evergreen-v10 i { color: #444; margin-bottom: 20px; }
.calc-card-evergreen-v10 h3 { font-size: 20px; font-weight: 700; margin-bottom: 15px; color: #333; }
.calc-card-evergreen-v10 p { font-size: 16px; color: #666; line-height: 1.5; }

.button-calc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    background-color: #007bff;
    color: #ffffff !important;
    line-height: 1.2;
    margin-top: 20px;
    cursor: pointer;
}
.button-calc:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

@media (max-width: 767px) {
    .calc-card-evergreen-v10 {
        height: auto !important;
        min-height: 0;
        padding-bottom: 35px;
    }
}

/* --- v12.0 Trust Bar Styling --- */
.trust-bar-v11 {
    background: #ffffff;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}
.trust-bar-content {
    display: flex;
    justify-content: flex-start; 
    gap: 40px; 
    align-items: center;
    flex-wrap: wrap;
    color: #555;
    font-size: 14.4px;
    font-weight: 500;
}
.trust-item-v11 { display: flex; align-items: center; }
.trust-item-v11 i { color: #ffc107; /*color: #28a745;*/ margin-right: 10px; font-size: 14.4px; }

/* --- Full-Width Final CTA Section --- */
.full-width-cta-wrapper {
    width: 100%;
    background: #f1f5f8;
    padding: 35px 0;
    margin-top: 60px;
    margin-bottom: 40px;
    border-top: 1px solid #e1e8ed;
    border-bottom: 1px solid #e1e8ed;
}
.final-cta-block-v10 { text-align: center; }
.cta-button-group { 
    margin-top: 24px; 
    display: flex; 
    gap: 1rem; 
    justify-content: center; 
    flex-wrap: wrap; 
}

.cta-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 700;
    text-transform: none;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    background-color: #28a745;
    color: #ffffff !important;
    line-height: 1.2;
    cursor: pointer;
}
.cta-btn-primary:hover { background-color: #218838; transform: translateY(-2px); }

.cta-btn-secondary-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 35px;
    border-radius: 9999px;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    border: 2px solid #28a745;
    background-color: transparent;
    color: #28a745 !important;
    line-height: 1.2;
    cursor: pointer;
}
.cta-btn-secondary-clear:hover { background-color: #28a745; color: #fff !important; transform: translateY(-2px); }

/* --- Guide Section --- */
.guide-section {
    background: #fdfdfd;
    border: 1px dashed #ccc;
    border-radius: 8px;
    margin-bottom: 40px;
}

/* Breadcrumb Calc design*/
#page-breadcrumb-calc {
	margin-top:15px;
	background: linear-gradient(90deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02));
	}
	
#page-breadcrumb-calc a {color: #666;}
.breadcrumb-calc {
	font-size:13px;
	padding-top:6px;
	padding-bottom:6px;
	margin:0;
	color: #666;
}

@media (max-width: 767px) {
    #page-breadcrumb-calc {display: none;}
	
}

/* ==========================================================================
   v22.0: Cleaned Unused FAQ Styles
   ========================================================================== */

/* v14.3 Bullet List Template Styles */
.bullet-list-v14 {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}
.bullet-list-v14 li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 16.8px;
    color: #444;
    line-height: 1.5;
}
.bullet-list-v14 li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 14.4px;
    top: 3px;
}

/* v14.4 Bullet Variations */

/* 1. The Success Check (Positive/Benefits) */
.bullet-check li::before { content: "\f00c"; color: #28a745; }

/* 2. The Action Arrow (Next Steps/Guides) */
.bullet-arrow li::before { content: "\f061"; color: #007bff; font-size: 12.8px; }

/* 3. The Info Circle (Definitions/Technical Details) */
.bullet-info li::before { content: "\f05a"; color: #17a2b8; }

/* 4. The Value Plus (Added Features/Included Costs) */
.bullet-plus li::before { content: "\f067"; color: #fd7e14; font-size: 12.8px; }

/* 5. The Professional Chevron (Clean Lists/Selection) */
.bullet-chevron li::before { content: "\f054"; color: #6c757d; font-size: 12px; }

/* v14.7 Extended Bullet Styles & Outline Fix */

/* 6. Solid Dot (.bullet-circle) */
.bullet-circle li::before { content: "\f111"; color: #007bff; font-size: 11.2px; top: 5px; }

/* 7. Empty/Outline Circle (.bullet-circle-o) - CSS Rendered for Precise Outline Visibility */
.bullet-circle-o li::before { 
    content: ""; 
    font-family: inherit; 
    position: absolute;
    left: 0;
    top: 6px;
    width: 12px;
    height: 12px;
    border: 2px solid #6c757d; 
    border-radius: 50%;
    background-color: transparent;
    box-sizing: border-box;
}

/* 8. Check Square (.bullet-check-square) */
.bullet-check-square li::before { content: "\f14a"; color: #28a745; top: 4px; }

/* 9. Solid Square (.bullet-square) */
.bullet-square li::before { content: "\f0c8"; color: #444; font-size: 11.2px; top: 5px; }

/* v14.5 Non-Button FAQ Variant Styles */
.faq-v2-container {
    margin-top: 40px;
    margin-bottom: 40px;
}
.faq-item-v2 {
    border: 1px solid #e1e8ed;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-question-v2 {
    padding: 20px;
    font-size: 18.4px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f8f9fa;
    transition: background-color 0.2s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.faq-question-v2:hover {
    background-color: #f1f3f5;
    color: #007bff;
}
.faq-answer-v2 {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    color: #555;
    line-height: 1.6;
    background-color: #ffffff;
    -webkit-transition: max-height 0.3s ease-out, padding 0.3s ease;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
}
.faq-answer-v2 p { margin-bottom: 15px; }
.faq-item-v2.active .faq-answer-v2 {
    max-height: 800px;
    padding: 20px;
    border-top: 1px solid #e1e8ed;
}
.faq-item-v2.active .faq-question-v2 i {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}
.faq-question-v2 i {
    font-size: 14.4px;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

/* ==========================================================================
   v14.9: FAQ SPACING VARIANTS (Padding & Margin Adjustments)
   ========================================================================== */

/* 2. Compact Spacing (.faq-v2-compact) */
.faq-v2-compact .faq-item-v2 { margin-bottom: 10px; }
.faq-v2-compact .faq-question-v2 { padding: 14px 20px; font-size: 16.8px; }
.faq-v2-compact .faq-answer-v2 { padding: 0 20px; }
.faq-v2-compact .faq-item-v2.active .faq-answer-v2 { padding: 14px 20px; }

/* Artisan Master Table Template v1.3 (Integrated in v1.5) */
.calc-table {
	border: 1px solid #e2e8f0;
	border-collapse: separate; 
	border-spacing: 0;
	border-radius: 8px; 
	overflow: hidden;   
	font-family: 'Inter', -apple-system, sans-serif;
	-webkit-text-size-adjust: 100%;
	table-layout: auto;
	width: 100%;
	margin: 0; 
	box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.calc-table thead th {
	background-color: #f1f5f9; 
	color: #1e293b;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 0.025em;
	border-bottom: 2px solid #cbd5e1;
	padding: 16px 14px;
	text-align: left;
}
.calc-table tbody tr:nth-child(even) {
	background-color: #f8fafc;
}
.calc-table tbody tr:hover {
	background-color: #f1f5f9;
}
.calc-table td {
	color: #475569;
	line-height: 1.5;
	vertical-align: top;
	word-break: normal;
	padding: 14px;
	min-width: 140px; 
	border-bottom: 1px solid #e2e8f0; 
	border-right: 1px solid #e2e8f0;
}
.calc-table td:last-child, .calc-table th:last-child {
	border-right: none;
}
.calc-table tr:last-child td {
	border-bottom: none;
}
.feature-col {
	font-weight: 600;
	color: #334155 !important;
	background-color: #f8fafc;
	width: 25%; 
	min-width: 160px; 
}
.local-tip-row {
	background-color: #f0f9ff !important; 
}
.local-tip-row td {
	color: #0369a1 !important;
	font-style: italic;
}

/* v1.6 Additive Fix: Vertical spacing for surrounding text */
@media only screen and (max-width: 1024px) {
	.table-responsive {
		border-radius: 0;
		/* v1.6: Increased iPad vertical margin for better rhythm */
		margin: 35px 0; 
		padding: 0;
	}
	.calc-table td, .calc-table th {
		font-size: 15px; 
	}
}

/* ==========================================================================
   v17.0: INTERNAL LINK SEGMENT (REFINED MAINTENANCE)
   ========================================================================== */
.internal-link-segment-v15 {
    background: #f8fbff;
    border: 1px solid #d0e3ff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 50px;
    margin-bottom: 20px;
}
/* v17.0 Hierarchy Fix */
.internal-link-segment-v15 h3 {
    margin-top: 0;
    color: #0d6efd;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}
/* v17.0 Maintainable Subtitle Styling */
.internal-link-segment-v15 p.segment-subtitle {
    font-weight: 600; 
    color: #333; 
    margin-bottom: 8px;
}
.internal-link-segment-v15 ul {
    margin-bottom: 0;
}
.internal-link-segment-v15 a {
    color: #007bff;
    font-weight: 600;
    text-decoration: underline;
}
.internal-link-segment-v15 a:hover {
    color: #0056b3;
    text-decoration: none;
}

/* ==========================================================================
   v18.0: INTRO-FORM SECTION
   ========================================================================== */
.intro-form-section {
    background-color: #ffffff;
}
.intro-content p {
    /*font-size: 16.8px;
    line-height: 1.7;
    color: #555;*/
    margin-bottom: 24px;
	/*margin-bottom: 1.5rem;*/
}
.lead-form-v18 {
    background: #f8fbff;
    border: 1px solid #d0e3ff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.lead-form-v18 h4 {
    margin-top: 0;
    color: #333;
    font-size: 22.4px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}
.form-group-v18 {
    margin-bottom: 15px;
}
.form-control-v18 {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}
.form-control-v18:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,123,255,0.1);
}
.btn-submit-v18 {
    width: 100%;
    display: block;
    padding: 12px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 17.6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.btn-submit-v18:hover {
    background-color: #218838;
}


/* v19.2: Aligns lower text with the top flushed flex container */
.intro-section .sixteen.columns,
.template-section .sixteen.columns {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}



/* ==========================================================================
   v19.4: TABLET-SPECIFIC RESPONSIVE LOGIC
   Targets Safari/Chrome on iOS & Desktop
   ========================================================================== */

/* ==========================================================================
   v19.5: INTRO-FORM SECTION (Aligned Margins & Mobile Form-First Stack)
   ========================================================================== */

/* ==========================================================================
   v19.6: INTRO-FORM SECTION (Margin 0 Desktop & Form-First Mobile Stack)
   ========================================================================== */

/* Desktop & iPad Pro View (1024px and up) */
@media (min-width: 1024px) {
    .intro-form-row {
        display: flex !important;
        flex-wrap: nowrap !important; 
        align-items: flex-start !important;
        justify-content: flex-start !important; 
        width: 100% !important;
    }
    
    .intro-form-row .two-thirds.column {
        flex: 1 !important; 
        width: auto !important;
        margin: 0 !important; 
        padding-right: 60px !important; 
    }
    
    .intro-form-row .one-third.column {
        flex: 0 0 380px !important; /* CHANGE 1: Update to desired width */
        width: 380px !important; /* CHANGE 2: Update to desired width */
        margin: 0 !important; 
        margin-left: auto !important; /* This keeps it locked to the right edge! */
    }
}

/* Tablet & Mobile View (1023px and below - Standard iPads & iPhones) */
@media (max-width: 1023px) {
    .intro-form-row { 
        display: flex !important; 
        flex-direction: column !important;
    }

    /* Lead Form comes FIRST on mobile */
    .intro-form-row .one-third.column {
        order: 1 !important;
        width: 380px !important; /* CHANGE 3: Update to match desktop width */
        max-width: 100% !important; /* Prevents breaking on very tiny legacy phones */
        margin: 0 auto 40px auto !important;
        display: block !important;
    }

    /* Intro Text comes SECOND on mobile */
    .intro-form-row .two-thirds.column {
        order: 2 !important;
        width: 100% !important;
        margin: 0 !important;
        padding-right: 0 !important;
    }
}


/* ==========================================================================
   v21.0: GLOBAL EDGE-TO-EDGE ALIGNMENT (Header, Breadcrumb, Trust Bar)
   ========================================================================== */

/* 1. Remove padding from Header Navigation Container so it sits flush */
@media (min-width: 1200px) {
    .navik-header:not(.sticky) .navik-header-container,
    .navik-header.sticky .navik-header-container {
        padding: 0 !important; 
    }
}
@media (max-width: 1199px) {
    .navik-header-container {
        padding: 0 !important;
    }
}

/* 2. Strip Skeleton's 10px margins from all full-width sections (Upgraded from v19.2) */
.intro-section .sixteen.columns,
.template-section .sixteen.columns,
#page-breadcrumb-calc .sixteen.columns,
.trust-bar-v11 .sixteen.columns {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}



/* ==========================================================================
   v24.0: DISCLAIMER STYLES (Global Maintenance)
   ========================================================================== */
.calc-disclaimer-v24 {
    color: #717171; /* Slightly darker for 2026 accessibility standards */
    display: block;
    margin-top: 32px;
    margin-bottom: 32px; /* Increased distance to the sentence below */
    font-size: 0.875em;
    line-height: 1.6;
    font-style: italic; /* Visually separates it without needing "Disclaimer:" */
}


/* COMPONENT INJECTION: Global Calculator Form Header Styles (v4.0) */
.calc-form-title {
    margin-top: 0 !important;
    color: #1a1a1a !important;
    font-size: 26px !important;
    margin-bottom: 5px !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.2 !important;
}
.calc-form-subtitle {
    font-size: 15px !important;
    color: #666 !important;
    margin-bottom: 20px !important;
    text-align: center !important;
}

.subtitle { font-size: 1.25rem; margin-bottom: 2rem; color: #555; }
.text-center { text-align: center; }


/* ==========================================================================
   TRUST BAR VISIBILITY (Hidden on Mobile)
   ========================================================================== */
@media (max-width: 767px) {
    .trust-bar-v11 {
        /*display: none !important;*/
    }
}

/* COMPONENT INJECTION: TRUST BAR MOBILE VISIBILITY & GRID (v5.0 Override) */
@media (max-width: 767px) {
    .trust-bar-v11 {
        display: block !important; /* Overrides previous hidden state */
        padding: 12px 0;
    }
    .trust-bar-content {
        justify-content: center !important;
        gap: 12px 10px !important;
    }
    .trust-item-v11 {
        flex: 0 0 48% !important; /* Forces 2x2 grid */
        font-size: 0.75rem !important;
        justify-content: center;
        text-align: center;
    }
    .trust-item-v11 i {
        margin-right: 5px !important;
        font-size: 0.8rem !important;
    }
}

/* ==========================================================================
   COMPONENT INJECTION: TRUST BAR MOBILE VISIBILITY & CLEAN STACK (v6.0 Override)
   Replaces the chaotic v5.0 grid with a neat, left-aligned vertical stack
   ========================================================================== */
@media (max-width: 767px) {
    .trust-bar-v11 {
        display: block !important; 
        padding: 20px 0;
    }
    .trust-bar-content {
        flex-direction: column !important;
        align-items: center !important; /* Centers the whole block in the container */
        gap: 15px !important;
    }
    .trust-item-v11 {
        width: 100% !important;
        max-width: 320px !important; /* Prevents text lines from stretching out too far */
        justify-content: flex-start !important; /* Forces icons into a straight vertical line */
        font-size: 0.9rem !important;
        text-align: left !important;
    }
    .trust-item-v11 i {
        width: 24px; /* Fixed width ensures the text starts at the exact same pixel for all 4 items */
        text-align: center;
        margin-right: 12px !important;
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   COMPONENT INJECTION: TRUST BAR TABLET BALANCED GRID (v8.0 Refinement)
   Targets mid-size tablets (iPad Mini/Air) while returning iPad Pro (1024px) 
   to the single-line desktop layout.
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {
    .trust-bar-v11 {
        padding: 20px 0;
    }
    .trust-bar-content {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 20px 0 !important; /* Vertical gap between the two rows */
        width: 100% !important;
        max-width: 800px !important;
        margin: 0 auto !important;
    }
    .trust-item-v11 {
        flex: 0 0 48% !important; /* Creates a balanced 2-column grid */
        font-size: 0.95rem !important;
        justify-content: flex-start !important;
    }
    .trust-item-v11 i {
        width: 20px;
        text-align: center;
        margin-right: 10px !important;
        font-size: 1rem !important;
    }
}
