body .fwpl-layout.belgard-companysearch-grid {
    grid-template-columns: 1fr;
    display: grid;
}
@media (min-width: 768px) and (max-width: 1479px) {
    body .fwpl-layout.belgard-companysearch-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1480px) {
    body .fwpl-layout.belgard-companysearch-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

body .fwpl-layout.belgard-companysearch-grid .fwpl-result {
    padding: var(--wp--preset--spacing--md);
    border: 1px solid var(--global-palette6);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

body .fwpl-layout.belgard-companysearch-grid .fwpl-result .fwpl-row {
    display: flex;
    flex-direction: column;
    flex: 1;
}

body .fwpl-layout.belgard-companysearch-grid .fwpl-result .fwpl-col {
    display: flex;
    flex-direction: column;
    flex: 1;
}

body .gm-style .gm-style-iw-c {
    padding: 0 15px 10px 15px !important;
    border-radius: 4px;
    min-width: 80vw !important;
}

body .gm-style .gm-style-iw-c:has(.infobox) {
    padding: 0 15px 20px 30px !important;
}

@media screen and (min-width: 600px) {
    body .gm-style .gm-style-iw-c {
        min-width: 300px !important;
    }
    body .gm-style .gm-style-iw-c:has(.infobox) {
        min-width: 418px !important;
    }
}
.fwpl-layout.belgard-companysearch-grid .fwpl-col,
.infobox,
.company-modal-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.fwpl-layout.belgard-companysearch-grid .is-empty,
.company-modal-body .is-empty {
    display: none;
}

.belgard-company-search .infobox_badge-label,
.company-modal-body .infobox_badge-label,
.infobox .infobox_badge-label {
    color: var(--global-palette-highlight-alt);
    font-family: Rajdhani, sans-serif;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
}

.infobox_address,
.infobox_website,
.infobox_phone,
.infobox_distance {
    display: flex;
}

.infobox_website,
.infobox_phone,
.infobox_distance {
    line-height: 1.2;
}

.infobox_address a,
.infobox_website a,
.infobox_phone a,
.infobox_distance a{
    text-transform: capitalize;
}

.infobox_website::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 4px 10px 0 0;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 0C12.4062 0 16 3.59375 16 8C16 12.4375 12.4062 16 8 16C3.5625 16 0 12.4375 0 8C0 3.59375 3.5625 0 8 0ZM8 14.5C8.21875 14.5 8.8125 14.2812 9.46875 13C9.75 12.4375 9.96875 11.7812 10.1562 11H5.8125C6 11.7812 6.21875 12.4375 6.5 13C7.15625 14.2812 7.75 14.5 8 14.5ZM5.5625 9.5H10.4062C10.4688 9.03125 10.5 8.53125 10.5 8C10.5 7.5 10.4688 7 10.4062 6.5H5.5625C5.5 7 5.5 7.5 5.5 8C5.5 8.53125 5.5 9.03125 5.5625 9.5ZM10.1562 5C9.96875 4.25 9.75 3.59375 9.46875 3.03125C8.8125 1.75 8.21875 1.5 8 1.5C7.75 1.5 7.15625 1.75 6.5 3.03125C6.21875 3.59375 6 4.25 5.8125 5H10.1562ZM11.9062 6.5C11.9688 7 12 7.5 12 8C12 8.53125 11.9688 9.03125 11.9062 9.5H14.3125C14.4375 9.03125 14.5 8.53125 14.5 8C14.5 7.5 14.4375 7 14.3125 6.5H11.9062ZM10.6875 2.09375C11.125 2.90625 11.4688 3.90625 11.6875 5H13.75C13.0938 3.71875 12 2.6875 10.6875 2.09375ZM5.28125 2.09375C3.96875 2.6875 2.875 3.71875 2.21875 5H4.28125C4.5 3.90625 4.84375 2.90625 5.28125 2.09375ZM1.5 8C1.5 8.53125 1.53125 9.03125 1.65625 9.5H4.0625C4 9.03125 4 8.53125 4 8C4 7.5 4 7 4.0625 6.5H1.65625C1.53125 7 1.5 7.5 1.5 8ZM13.75 11H11.6875C11.4688 12.125 11.125 13.125 10.6875 13.9375C12 13.3438 13.0938 12.3125 13.75 11ZM4.28125 11H2.21875C2.875 12.3125 3.96875 13.3438 5.28125 13.9375C4.84375 13.125 4.5 12.125 4.28125 11Z' fill='%23092947'/%3E%3C/svg%3E")
        no-repeat center / contain;
}

.infobox_phone::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 4px 10px 0 0;
    background: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15 11.0312C15.7188 11.3438 16.125 12.125 15.9062 12.9062L15.25 15.75C15.125 16.5 14.4688 17 13.6875 17C6.125 17 0 10.875 0 3.3125C0 2.53125 0.5 1.875 1.25 1.71875L4.09375 1.0625C4.875 0.875 5.65625 1.28125 5.96875 2L7.3125 5.125C7.59375 5.78125 7.375 6.5625 6.84375 7.03125L5.78125 7.875C6.59375 9.25 7.75 10.4062 9.15625 11.2188L10 10.1875C10.4688 9.625 11.25 9.40625 11.9375 9.71875L15 11.0312ZM14.4688 12.5625C14.5 12.5 14.4688 12.4375 14.4062 12.375L11.3438 11.0625C11.2812 11.0312 11.2188 11.0625 11.1875 11.0938L9.9375 12.625C9.71875 12.9062 9.3125 12.9688 9 12.8125C6.90625 11.7812 5.1875 10.0625 4.15625 7.96875C4 7.65625 4.09375 7.28125 4.34375 7.0625L5.875 5.8125C5.9375 5.78125 5.9375 5.71875 5.90625 5.65625L4.59375 2.59375C4.5625 2.5625 4.53125 2.5 4.46875 2.5L4.4375 2.53125L1.59375 3.1875C1.53125 3.1875 1.46875 3.25 1.46875 3.3125C1.46875 10.0312 6.96875 15.5 13.6875 15.5C13.75 15.5 13.8125 15.4375 13.8125 15.4062L14.4688 12.5625Z' fill='%23092947'/%3E%3C/svg%3E")
        no-repeat center / contain;
}

.infobox_distance::before {
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    margin: 2px 10px 0 0;
    background: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.5312 6.96875C15.8438 7.25 15.9688 7.625 16 8C16 8.375 15.8438 8.75 15.5312 9.03125L9.03125 15.5625C8.75 15.8438 8.375 16 8 16C7.59375 16 7.21875 15.875 6.9375 15.5625L0.4375 9.03125C0.125 8.75 0 8.375 0 8C0 7.625 0.125 7.25 0.4375 6.96875L6.90625 0.4375C7.1875 0.15625 7.5625 0 7.96875 0C8.34375 0 8.71875 0.15625 9.03125 0.4375L15.5312 6.96875ZM8 14.5L14.4688 8L7.96875 1.5L1.46875 8.03125L8 14.5ZM9.4375 6.75L8.71875 6.03125C8.40625 5.75 8.40625 5.28125 8.71875 5C9 4.6875 9.46875 4.6875 9.75 5L11.75 7C12.0625 7.28125 12.0625 7.75 11.75 8.03125L9.75 10.0312C9.625 10.1875 9.4375 10.25 9.25 10.25C9.03125 10.25 8.84375 10.1875 8.71875 10.0312C8.40625 9.75 8.40625 9.28125 8.71875 9L9.4375 8.25H7V9.75C7 10.1875 6.65625 10.5 6.25 10.5C5.8125 10.5 5.5 10.1875 5.5 9.75V7.5C5.5 7.09375 5.8125 6.75 6.25 6.75H9.4375Z' fill='%23242529'/%3E%3C/svg%3E")
        no-repeat center / contain;
}

@media (max-width: 767px) {
    .infobox_website::before,
    .infobox_phone::before,
    .infobox_distance::before {
        width: 12px;
        height: 12px;
    }
}

.fwpl-item .fwpl-btn,
.infobox_actions .btn,
.company-modal-body .company-contact-btn {
    display: inline-block;
    width: 100%;
    padding: 10px;
    border: 2px solid var(--global-palette-btn-bg);
    border-radius: 4px;
    background: var(--global-palette-btn-bg);
    color: var(--global-palette-btn);
    font-family: Rajdhani, sans-serif;
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
}

.fwpl-item.el-si16no .fwpl-btn,
.infobox_actions .btn.btn-outline {
    background: var(--global-palette9);
    color: var(--global-palette1);
}
.fwpl-item .fwpl-btn:hover,
.fwpl-item .fwpl-btn:focus,
.infobox_actions .btn:hover,
.infobox_actions .btn:focus,
.company-modal-body .company-contact-btn:hover,
.company-modal-body .company-contact-btn:focus {
    background: var(--global-palette-btn-bg-hover);
    color: var(--global-palette-btn-hover);
    border-color: var(--global-palette-btn-bg-hover);
}
.facetwp-map-filtering {
    margin-top: 30px;
    display: none;
}

/* Contractor Tabs */
.wp-block-kadence-tabs.contractor-tabs
    .kt-tabs-title-list
    li:first-child
    a.kt-tab-title {
    border-radius: 4px 0 0 4px;
}

.wp-block-kadence-tabs.contractor-tabs
    .kt-tabs-title-list
    li:last-child
    a.kt-tab-title {
    border-radius: 0 4px 4px 0;
}

@media (max-width: 1024px) {
    .contractor-tabs .kt-tabs-title-list li {
        width: 50%;
    }

    .wp-block-kadence-tabs.contractor-tabs
        .kt-tabs-title-list
        li
        a.kt-tab-title {
        justify-content: center;
    }
}

.infobox {
    font-family: var(--global-body-font-family);
    font-size: 1rem;
    font-weight: 400;
}

.infobox_actions {
    display: flex;
    flex-direction: column;
    gap: var(--wp--preset--spacing--gap-sm);
}

.infobox_phone {
    margin-bottom: auto;
}

.infobox_tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 5px 0;
}

.infobox_tag {
    border: 1px solid var(--global-palette7);
    margin: 0;
    border-radius: 4px;
    padding: 10px;
    color: var(--global-palette4);
    font-size: 1rem;
    font-weight: 500;
    text-transform: capitalize;
}

@media (max-width: 767px) {
    .infobox_tag {
        width: 100%;
        text-align: center;
    }
}

.infobox_tag--star-icon::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    vertical-align: middle;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3C!--!Font Awesome Free v7.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2026 Fonticons, Inc.--%3E%3Cpath d='M341.5 45.1C337.4 37.1 329.1 32 320.1 32C311.1 32 302.8 37.1 298.7 45.1L225.1 189.3L65.2 214.7C56.3 216.1 48.9 222.4 46.1 231C43.3 239.6 45.6 249 51.9 255.4L166.3 369.9L141.1 529.8C139.7 538.7 143.4 547.7 150.7 553C158 558.3 167.6 559.1 175.7 555L320.1 481.6L464.4 555C472.4 559.1 482.1 558.3 489.4 553C496.7 547.7 500.4 538.8 499 529.8L473.7 369.9L588.1 255.4C594.5 249 596.7 239.6 593.9 231C591.1 222.4 583.8 216.1 574.8 214.7L415 189.3L341.5 45.1z' fill='%23092947'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.belgard-dealer-modal:not(:last-child) {
    margin-top: auto;
}

button.gm-ui-hover-effect {
    opacity: 1;
    margin-right: -20px !important;
}
button.gm-ui-hover-effect:hover,
button.gm-ui-hover-effect:focus {
    box-shadow: none;
}

.gm-style-iw-d p {
    font-size: var(--wp--preset--font-size--xxlarge);
}

.gm-style .transit-container .gm-title {
    margin-top: 16px;
    margin-bottom: 8px;
    font-family: var(--global-body-font-family);
    font-size: var(--wp--preset--font-size--large);
    font-weight: 600;
    line-height: 1.2;
}

.gm-style-iw-d:has(.poi-info-window) {
    padding: 0;
}

.poi-info-window div,
.poi-info-window a {
    font-size: 1rem;
    font-family: var(--global-body-font-family);
}

.poi-info-window .address-line {
    margin-bottom: 4px;
}

.poi-info-window .view-link {
    margin-top: 16px;
    text-decoration: none !important;
}

.poi-info-window .view-link a {
    color: var(--global-palette-highlight);
    font-size: 1rem;
    text-decoration: underline;
    text-decoration-color:  var(--global-palette-highlight);
}

.poi-info-window .view-link a:hover,
.poi-info-window .view-link a:focus {
    /* stylelint-disable-next-line property-no-unknown */
    text-decoration-offset: 2px;
}

.gm-style .transit-container .gm-full-width {
    width: 100%;
}
