/* ── Page-level overrides: flush hero under header ── */
.dynamik-page-builder .site-inner {
    margin-top: 0 !important;
    padding-top: 0 !important;
    overflow: visible !important;
}
.dynamik-page-builder .content-sidebar-wrap,
.dynamik-page-builder .content {
    width: 100% !important;
}
.dynamik-page-builder .site-inner > .entry-content,
.dynamik-page-builder .site-inner > article {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ── Intro / search row — white background, centered subtitle + search form ── */
.fyl-hero {
    background-color: #fffcfc;
    padding: 60px 15px 40px;
    box-shadow: 0 2px 9px 0 rgba(0, 0, 0, .07);
    text-align: center;
    position: relative;
    z-index: 100;
    margin-top: 0;
}

/* Constrain inner content width */
.fyl-hero > .vc_column_container {
    max-width: 830px;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
}

.fyl-hero h1 {
    font-size: 36px !important;
    line-height: 44px !important;
    margin: 0 0 21px !important;
    padding: 0 !important;
}

.fyl-hero p.fyl-subtitle {
    font-size: 18px !important;
    line-height: 28px !important;
    margin: 0 !important;
}

/* ── Search form ── */
.fyl-hero .map-search-form {
    display: flex;
    width: 100%;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 590px;
    margin: 29px auto 0;
    text-align: left;
}

.fyl-hero .map-search-form label {
    font-weight: 700 !important;
    line-height: 19px;
    margin: 0 0 8px !important;
    display: block;
}

.fyl-hero .search-right-form {
    width: calc(100% - 140px);
}

.fyl-hero .search-box {
    position: relative;
}

.fyl-hero .search-box::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23999' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M7.333 12.667A5.333 5.333 0 1 0 7.333 2a5.333 5.333 0 0 0 0 10.667ZM14 14l-2.9-2.9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center center;
    display: block;
    position: absolute;
    left: 17px;
    top: 16px;
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.fyl-hero .search-box input[type="text"] {
    width: 100%;
    height: 48px;
    padding-left: 44px;
    padding-right: 48px;
    border: 1px solid rgba(41, 75, 103, 0.6);
    border-radius: 5px;
    line-height: 19px;
    box-sizing: border-box;
    background: #fff;
}

.fyl-hero .search-box input[type="text"]::placeholder {
    color: #294b67 !important;
    opacity: .6 !important;
}

.fyl-hero .getcurrentlocation {
    position: absolute;
    top: 0;
    right: 0;
    padding: 15px 17px;
    line-height: 1;
    cursor: pointer;
    transition: all .3s ease;
    text-decoration: none;
}

.fyl-hero .getcurrentlocation:hover {
    opacity: .8;
}

.fyl-hero .map-search-form input[type="submit"] {
    width: 120px;
    height: 48px;
    border: 2px solid #294b67;
    background: #294b67;
    color: #fff;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 5px;
    transition: all .3s ease;
    line-height: 1;
}

.fyl-hero .map-search-form input[type="submit"]:hover {
    background: #e25449;
    border-color: #e25449;
}

/* ── Grid section — states left, brands right ── */
.fyl-grid-section {
    max-width: 1130px;
    margin: 0 auto;
    padding: 50px 25px;
    gap: 60px;
    display: flex;
}

.fyl-states,
.fyl-brands {
    flex: 1;
    min-width: 0;
}

.fyl-grid-section h3 {
    font-size: 24px !important;
    line-height: 30px !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
}

ul.search-by-state,
ul.search-by-brand {
    margin: 0 !important;
    list-style: none !important;
    padding: 0 !important;
}

ul.search-by-state {
    column-gap: 30px;
}

ul.search-by-brand {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;
    align-items: center;
}

ul.search-by-state.cols-2 {
    column-count: 2;
}

ul.search-by-state li,
ul.search-by-brand li {
    list-style: none !important;
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    break-inside: avoid;
}

ul.search-by-state li {
    font-size: 18px !important;
    line-height: 21px;
}

ul.search-by-state li::before,
ul.search-by-brand li::before,
ul.search-by-state li::marker,
ul.search-by-brand li::marker {
    display: none !important;
    content: none !important;
}

ul.search-by-state li a {
    font-weight: 700;
    color: #008c95;
    text-decoration: none;
}

ul.search-by-state li a:hover {
    text-decoration: underline;
}

ul.search-by-brand li a {
    display: block;
    text-decoration: none;
}

ul.search-by-brand li img {
    max-width: 130px;
    height: auto;
}

/* ── Mobile ── */
@media (max-width: 767px) {
    .fyl-hero {
        width: auto;
        margin-left: 0;
        padding: 40px 20px 30px;
    }

    .fyl-hero h1 {
        font-size: 30px !important;
        line-height: 36px !important;
    }

    .fyl-hero .map-search-form {
        display: block;
        max-width: 100%;
    }

    .fyl-hero .search-right-form {
        width: 100%;
        margin-bottom: 20px;
    }

    .fyl-hero .map-search-form input[type="submit"] {
        width: 100%;
    }

    .fyl-grid-section {
        flex-direction: column;
        gap: 40px;
        flex-wrap: nowrap !important;
    }
}
