#masthead .ast-container, .site-header-focus-item + .ast-breadcrumbs-wrapper {
    max-width: 92%;
}
#masthead {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Minor shadow at the bottom of the header */
}
/* CFP = Custom Fetch Posts - Design 2: Minimal Light Mode */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

.cfp-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Poppins', sans-serif;
    padding: 20px;
}

.cfp-post-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    font-family: 'Poppins', sans-serif;
}

.cfp-post-item:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.cfp-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.cfp-thumbnail img {
    width: 100%;
		padding: 10px;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cfp-thumbnail a {
    display: block;
    height: 100%;
}

.cfp-post-item:hover .cfp-thumbnail img {
    transform: scale(1.1);
}

.cfp-content {
    padding: 20px;
    color: #333;
    font-family: 'Poppins', sans-serif;
}

.cfp-categories {
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.cfp-category {
    background: #000;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'Poppins', sans-serif;
}

.cfp-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: #1a1a1a;
    line-height: 1.2;
    font-family: 'Poppins', sans-serif;
}

.cfp-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cfp-title a:hover {
    color: #6366f1;
}

.cfp-author-date {
    color: #666;
    font-size: 12px;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.cfp-excerpt {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

.cfp-no-posts {
    color: #333;
    text-align: center;
    font-size: 18px;
    grid-column: 1 / -1;
    font-family: 'Poppins', sans-serif;
}

/***** Responsive Styles *****/
@media (max-width: 1024px) {
    .cfp-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cfp-posts-grid {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .cfp-thumbnail {
        height: 160px;
    }
    
    .cfp-title {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .cfp-thumbnail {
        height: 140px;
    }
    
    .cfp-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .cfp-category {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    .cfp-author-date {
        font-size: 11px;
    }
    
    .cfp-excerpt {
        font-size: 12px;
        line-height: 1.3;
    }
}

/***** Accessibility *****/
.cfp-post-item:focus-within {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.cfp-title a:focus,
.cfp-thumbnail a:focus {
    outline: none;
    color: #6366f1;
}


/***********Underlines****/
.ast-single-post .entry-content a, .ast-comment-content a:not(.ast-comment-edit-reply-wrap a) {
    text-decoration: none;
}

/* ----------- */
.entry-content :where(h1,h2,h3,h4,h5,h6) {
    margin-top: 0px;
    /* margin-bottom: calc(0.3em + 10px); */
}
.page-id-1669 .ast-builder-menu .main-navigation {
    display: none !important;
}
.page-id-1669 #page .site-content {
    background-color: #fafafa;
}


/* ---------------------------------------------AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAa */

.entry-content ul, .entry-content ol {
    padding-left: 20px;
}
table {
/* 		border-width: 1px 0 0 1px; */
    margin: 0 0 0 0;
}



.elementor-element.elementor-element-2e1e2c6.elementor-widget.elementor-widget-text-editor {
    display: none;
}

/* -------------------------------------------FORM CSS-------------------------------- */
/* AUTO INSURANCE FORM */
@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700;800&display=swap');

#aif-wrapper a { text-decoration: none; }
#aif-wrapper ul { list-style: none; }
#aif-wrapper button { cursor: pointer; }

#aif-wrapper {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f0f2f5;
    color: #111827;
    -webkit-font-smoothing: antialiased;
}

/* ---- PROGRESS BAR ---- */
#aif-progress-bar-wrap {
    width: 50%;
    padding: 12px 24px 10px;
    position: sticky;
    top: 0;
    margin: 0 auto;
    z-index: 100;
}
#aif-progress-bar-wrap.aif-hidden {
    visibility: hidden;
    pointer-events: none;
}
#aif-progress-track {
    position: relative;
    height: 5px;
    background: #dde3ef;
    border-radius: 999px;
}
#aif-progress-fill {
    height: 100%;
    background: #1a56db;
    border-radius: 999px;
    width: 0%;
    transition: width .5s ease;
}
#aif-progress-car {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    background: #1a56db;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: left .5s ease;
    box-shadow: 0 2px 8px rgba(26,86,219,.4);
    z-index: 2;
}
#aif-progress-tooltip {
    position: absolute;
    top: -28px;
    left: 0%;
    transform: translateX(-50%);
    background: #1a56db;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    white-space: nowrap;
    transition: left .5s ease;
    z-index: 2;
    display: none;
    font-family: 'Urbanist', sans-serif;
}
#aif-progress-tooltip.visible { display: block; }
.aif-tooltip-arrow {
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #1a56db;
}

/* ---- INNER ---- */
#aif-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 80px;
}

/* ---- BACK BUTTON ---- */
#aif-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: none;
    color: #1a56db;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
    margin-bottom: 16px;
    padding: 6px 13px;
    transition: opacity .2s;
}
#aif-back-btn:hover { opacity: .7; }

/* ---- STEP VISIBILITY ---- */
.aif-step { display: none; }
.aif-step.active { display: block; animation: aifFadeUp .25s ease; }
@keyframes aifFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- ZIP STEP HEADER ---- */
.aif-step-header {
    text-align: center;
    margin-bottom: 16px;
}
.aif-step-header h1 {
    font-size: 52px;
    font-weight: 700;
    color: #172554;
    line-height: 1.25;
    margin-bottom: 60px;
    font-family: 'Urbanist', sans-serif;
}
.aif-subhead {
    font-size: 15px;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Urbanist', sans-serif;
}

/* ---- CARD ---- */
.aif-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 1px 8px rgba(0,0,0,.08);
    border: 1px solid #e8edf5;
}
.aif-fixed-card {
    min-height: 420px;
}

/* ---- CARD HEADING (Step 2+ headings inside card) ---- */
.aif-card-heading {
    text-align: center;
    font-size: clamp(20px, 3.5vw, 35px);
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 20px;
    line-height: 1.3;
    font-family: 'Urbanist', sans-serif;
}
.aif-card-subhead {
    text-align: center;
    font-size: 21px;
    color: #6b7280;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-family: 'Urbanist', sans-serif;
}

/* ---- ZIP CARD ---- */
.aif-zip-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
    padding: 80px 146px 64px;
    text-align: center;
    min-height: unset;
}
.aif-zip-card label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 600;
    color: #172554;
    font-family: 'Urbanist', sans-serif;
}
.aif-zip-card label svg { color: #1a56db; }
.aif-zip-card #aif-zip-input {
    width: 100%;
    max-width: 280px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    height: 58px;
    border: 1.5px solid #d1d8e6;
    border-radius: 10px;
    outline: none;
    font-family: 'Urbanist', sans-serif;
    color: #1e3a8a;
    background: #f9fafb;
    transition: border-color .2s;
}
.aif-zip-card #aif-zip-input:focus {
    border-color: #1a56db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,86,219,.09);
}
.aif-zip-card #aif-zip-input::placeholder {
    color: #9ca3af;
    font-size: 24px;
    letter-spacing: 0;
    font-weight: 500;
}
.aif-zip-card .aif-primary-btn { max-width: 100%; }

/* ---- STATE BANNER ---- */
.aif-state-banner {
    display: block;
    text-align: center;
    font-size: 25px;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0;
    font-family: 'Urbanist', sans-serif;
}
.aif-state-banner b { color: #1a56db; }
.aif-card-divider {
    border: none;
    border-top: 1px solid #e8edf5;
    margin: 12px 0 18px;
}

/* ---- GRIDS ---- */
.aif-btn-grid { display: grid; gap: 10px; }

/* Year, Make, Model — full width grids */
.aif-year-grid  { grid-template-columns: repeat(4, 1fr); }
.aif-make-grid  { grid-template-columns: repeat(4, 1fr); }
.aif-model-grid { grid-template-columns: repeat(3, 1fr); }

/* 2-col Yes/No buttons — max width centered */
.aif-two-col {
    grid-template-columns: 1fr 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* Single col options — max width centered */
.aif-single-col {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- OPTION BUTTONS ---- */
.aif-opt-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    height: 50px;
    background: #fff;
    border: 1.5px solid #d1d8e6;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Urbanist', sans-serif;
    color: #172554;
    transition: all .15s ease;
    text-align: center;
}
.aif-opt-btn:hover {
    border-color: #1a56db;
    background: #eff6ff;
    color: #172554;
}
.aif-opt-btn.selected {
    background: #dbeafe;
    border-color: #1a56db;
    color: #1e3a8a;
    font-weight: 600;
}
.aif-year-grid .aif-opt-btn { height: 46px; font-size: 19px; }
.aif-single-col .aif-opt-btn { height: 54px; justify-content: center; }
.aif-big-label { font-size: 18px; font-weight: 700; }

/* Make logo buttons */
.aif-make-logo-btn {
    flex-direction: column;
    height: 100px;
    gap: 5px;
}
.aif-make-logo-btn img {
    height: 40px;
    width: auto;
    max-width: 56px;
    object-fit: contain;
}
.aif-btn-grid.aif-make-grid .aif-make-logo-btn span {
    font-size: 16px;
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
}

/* Prior years / other make dropdown */
.aif-prior-years-wrap { margin-top: 12px; }
.aif-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 0;
    color: #9ca3af;
    font-size: 14px;
    font-family: 'Urbanist', sans-serif;
}

/* ---- QUESTION LABEL ---- */
.aif-question-label {
    font-size: 18px;
    font-weight: 600;
    color: #1e3a8a;
    font-family: 'Urbanist', sans-serif;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- FORM FIELDS ---- */
.aif-field-wrap { margin-bottom: 14px;
max-width: 560px;
    margin-left: auto;
    margin-right: auto; }
.aif-field-wrap label {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .6px;
    margin-bottom: 5px;
    font-family: 'Urbanist', sans-serif;

}
.aif-input,
.aif-select {
    width: 100%;
    height: 48px;
/*     padding: 0 14px; */
    border: 1.5px solid #d1d8e6;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
    font-family: 'Urbanist', sans-serif;
    color: #1e3a8a;
    background: #f9fafb;
    outline: none;
    transition: border-color .2s;
    -webkit-appearance: none;
    appearance: none;
}
.aif-input:focus, .aif-select:focus {
    border-color: #1a56db;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(26,86,219,.08);
}
.aif-input::placeholder { color: #9ca3af; }
.aif-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a56db' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 15px;
    padding-right: 38px;
    cursor: pointer;
}
/* .aif-fields-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
 */
/* DOB */
.aif-dob-row { 
display: flex; 
gap: 12px; 
margin-bottom: 16px;
    margin-bottom: 14px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
 }
.aif-dob-field { flex: 1; }
.aif-dob-label {
    display: block;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: .5px;
    font-family: 'Urbanist', sans-serif;
}
.aif-dob-select {
    text-align: center;
    font-size: 13px;
    height: 48px;
}

/* ---- PRIMARY BUTTON ---- */
.aif-primary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 51%;
		margin-left: auto;
    margin-right: auto;
    padding: 15px 24px;
    background: #1a56db;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Urbanist', sans-serif;
    box-shadow: 0 2px 12px rgba(26,86,219,.28);
    transition: all .2s;
    margin-top: 16px;
    text-decoration: none;
}
.aif-zip-card .aif-primary-btn {
    background: #3b82f6;
    font-size: 24px;
    font-weight: 500;
}
.aif-primary-btn:hover {
    background: #1648c4;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,86,219,.35);
}
.aif-primary-btn:active { transform: translateY(0); }
.aif-primary-btn:disabled, .aif-primary-btn.loading {
    background: #9ca3af;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

/* ---- ERROR ---- */
.aif-error {
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    padding: 8px;
    background: #fef2f2;
    border-radius: 8px;
    font-family: 'Urbanist', sans-serif;
}

/* ---- VEHICLE CARDS ---- */
#aif-cars-view { 
margin-bottom: 12px;
grid-template-columns: 1fr;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
 }
.aif-car-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    font-family: 'Urbanist', sans-serif;
}
.aif-car-delete {
    color: #dc2626;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 640px) {
    #aif-inner { padding: 16px 12px 60px; }
    .aif-card { padding: 20px 14px; }
    .aif-zip-card { padding: 28px 14px; max-width: 100%; }
    .aif-zip-card .aif-primary-btn { width: 100% !important;
        max-width: 100% !important; }
 .aif-primary-btn {
        width: 100% !important;
        max-width: 100% !important;
    }
    .aif-year-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .aif-make-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .aif-model-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .aif-card-heading { font-size: 20px; }
    .aif-fields-row { grid-template-columns: 1fr; }
    .aif-dob-row { gap: 8px; }
    .aif-fixed-card { min-height: unset; }
    .aif-single-col { max-width: 100%; }
    .aif-two-col { max-width: 100%; }
    .aif-question-label { max-width: 100%; }
    .aif-step-header h1 { font-size: 28px; margin-bottom: 20px; }
}
@media (max-width: 400px) {
    .aif-year-grid { grid-template-columns: repeat(3, 1fr); }
    .aif-make-grid { grid-template-columns: repeat(2, 1fr); }
    .aif-two-col { grid-template-columns: 1fr; }
}

/* ---- THEME OVERRIDE ---- */
#aif-wrapper input, #aif-wrapper select, #aif-wrapper button, #aif-wrapper textarea {
    font-family: 'Urbanist', sans-serif !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
    line-height: normal !important;
}
#aif-wrapper ul { list-style: none !important; padding: 0 !important; }
#aif-wrapper a { text-decoration: none !important; }

.entry-content .wp-audio-shortcode, .entry-content .wp-embedded-audio, .entry-content .wp-embedded-video, .entry-content .wp-video, .entry-content p {
    margin-bottom: 0.6em;
}
@media (min-width: 641px) {
    .aif-zip-card .aif-primary-btn {
        width: 100% !important;
    }
}


