.areas-page .inner-banner,
.area-details-page .inner-banner { 
    /* margin-bottom: 0; */
   
}

.areas-page { 
    & .map-wrap { 
        height: 550px;    
    }
}


.areas-page .inner-banner {
    & .inner-banner-wrapper {
        & .banner-content-wrap {
            max-width: 520px;
            & .heading-50 { margin-bottom: 30px; } 
    } } } 

.search_bar {
    width: 562px;
    position: relative;
    margin: 11px 0 0;
    line-height: 1;
}

.suburb-search-form {
    position: relative;
    max-height: 40px;
    width: 100%;
    max-width: 562px;
    overflow: hidden;
    border: 1px solid #C7C7C7;
}

.suburb-search-form>button {
    display: inline-flex;
    position: absolute;
    right: 20px;
    top: 0;
    bottom: 0;
    margin: auto;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    font-size: 0 !important;
    background: transparent !important;
    min-height: 40px !important;
    border: none !important;
    z-index: 1;
    min-width: auto;
}

.suburb-search-form>button img {
    filter: brightness(0) saturate(100%) invert(89%) sepia(2%) saturate(4%) hue-rotate(9deg) brightness(91%) contrast(91%);
}

.suburb-search-form>input[type="text"],
.suburb-search-form>input {
    width: 100%;
    max-width: 562px;
    margin: auto;
    min-height: 40px;
    background-color: transparent;
    color: #202020;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.1;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    padding: 10px 50px 10px 10px;
    position: relative;
    border: none !important;
}

.suburb-search-form>input[type="text"]::placeholder,
.suburb-search-form>input::placeholder {
    font-family: var(--sitefonts);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 4%;
    color: #C7C7C7;
}

.suburb-search-form .ui-autocomplete {
    max-height: 220px;
    overflow-x: hidden;
}

.suburb-search-form ul {
    z-index: 9;
}

.suburb-search-form .ui-autocomplete li .ui-menu-item-wrapper {
    font-size: 14px;
}

.suburb-search-form .ui-autocomplete li .ui-state-active {
    font-weight: 500;
    color: #fff;
    background: var(--themecolor);
    border: none;
}

.suburb-search-form .ui-autocomplete {
    position: absolute;
    background: #f5f5f5;
    margin: 0;
}

.suburb-search-form .ui-autocomplete li {
    border-bottom: 1px solid #ededed;
    overflow: hidden;
    cursor: pointer;
}

.suburb-search-form .ui-autocomplete li.ui-state-focus {
    background: #f8f8f8;
}

.suburb-search-form .ui-autocomplete li img {
    float: left;
    height: 50px;
    margin: 5px 10px;
}

.suburb-search-form .ui-autocomplete li .ui-menu-item-wrapper {
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.suburb-search-form .ui-autocomplete li .ui-state-active {
    font-weight: 500;
    color: #fff;
    background: var(--yellow);
    border: none;
}

.suburb-search-form .ui-autocomplete li span {
    line-height: 1.75em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

.suburb-search-form button::after {
    display: none;
}

.areas-we-serves-sec { 
    display: inline-block;
    background-color: #06101A;
    width: 100%;
    padding-block: 90px 100px;

    & .heading-44 { 
        text-align: center;
        color: #fff;
        margin-bottom: 10px;
        & + p { 
            font-size:18px;
            font-weight: 500;
            color: #fff;
            max-width: 1050px;
            margin-inline: auto ;
            text-align: center;
        }
    }
    .heading-24 { 
        color: #fff;
        margin-bottom: 35px;
    }
    & .container > p { 
        color: #fff; 
        &:last-child { margin-top: 45px;}   
    }
    & + .img-content-sec {
        margin-top: 100px;
    }
}

.areas-list { 
    display: block;
    width: 100%;
    column-count: 4;
    margin-bottom: 0;
    & > li { 
        list-style: none;
        position: relative;
        padding-left: 26px;
        margin-bottom: 22px;

        &:after { 
           content: "";
            position: absolute;
            height: 17px;
            width: 17px;
            background: transparent url(../images/icon/map-pin.svg) no-repeat center;
            background-size: contain;
            top: 2px;
            left: 0;
            filter: var(--filter-black-to-themecolor);
        }
    }
    & > li, a { 
        font-size: 18px;
        letter-spacing: 0;
        font-weight: 500;
        color: #ffffff;
        line-height: 1.2;
        &  strong {
            font-weight: bold;
            display: inline-block;
            width: 100%;
            margin-top: 5px;
            margin-bottom: 0;
        }
        &:hover { 
            color: var(--themecolor);
            /* &::after { 
                filter: brightness(1) invert(1);
            } */
        }
    }
    & + .heading-24 { margin-top: 35px; }
    
    &:not(:last-child) { 
        padding-bottom: 40px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    &:has( + p ) { 
        padding-bottom:0 !important  ; 
        border:0px !important;
    }
}

.areas-list + .heading-30 {    
    margin-top: 50px;
}

.map-wrap { 
    display: inline-block;
    list-style: 0;
    width: 100%;
    /* border-radius: 10px; */
    overflow: hidden;
    height: 680px;
    margin-bottom: 40px;
}
iframe { 
    width: 100%;
    max-width: 100%;
    height: 100%;
}

@media (max-width: 1900px) {
  
}

@media (max-width: 1800px) {
  
}

@media (max-width: 1599.98px) {
    
}

@media (max-width: 1439.98px) {
    
    .areas-listing-sec { 
        padding-block: 80px;
    }
    .areas-list {
        & > li, a { font-size: 16px; }
    }
    .areas-we-serves-sec {
        & + .img-content-sec {
            margin-top: 80px;
        }
    }
}


@media (max-width: 1199.98px) {

    .inner-banner.areas-details-banner .inner-banner-wrapper {
        & .banner-content-wrap { 
            width: calc(50% - 10px);
        } 
        
    }
    .banner-form-wrap { 
        width: calc(50% - 10px);
    }
    .inner-banner.areas-details-banner .inner-banner-wrapper {
        & .features-list {
            column-gap: 20px;
            margin-top: 0;
            row-gap: 11px;
            margin-bottom: 30px;
            & .slide-box {
                width: calc(100%);
            }
        }
    }
    .areas-listing-sec {
        padding-block: 60px;
    }
    .areas-listing-sec {
        & .heading-54 {
            text-align: center;
            margin-bottom: 25px;
        }
    }
    .areas-list {
        gap: 30px;
        margin-bottom: 20px;
        column-count: 2;
    }
    .areas-we-serves-sec { 
        padding-block: 80px;
    }

    
}

@media (max-width: 991.98px) {

    .areas-list {
        flex-wrap: wrap;
        margin-bottom: 25px;
        row-gap: 20px;
        /* column-count: 3; */
        & > li, a {
            font-size: 16px; 
        } 
        & > li { 
            margin-bottom: 15px;
        }
    }   
    .areas-listing-sec {
        padding-block: 40px;
    }
    
    .inner-banner.areas-details-banner .inner-banner-wrapper {
        flex-wrap: wrap;
        padding: 30px 0;
        gap: 25px;
        & .banner-content-wrap {
            width: calc(100%);
            max-width: 100%;
            text-align: left;
            align-items: flex-start;
        }
    }
    .banner-form-wrap { 
        width: 100%;
        max-width: 100%;
    }
    .inner-banner.areas-details-banner .inner-banner-wrapper {
        & .features-list {
            & .slide-box {
                width: calc(50% - 10px);
            }
        }
    }

    .our-popular-trailer-models-sec + .img-content-sec {
        margin-top: 60px;
    }
    .areas-we-serves-sec { 
        padding-block: 60px;
    }
    .areas-we-serves-sec {
        & + .img-content-sec {
            margin-top: 60px;
        }
    }
}

@media (max-width: 767.98px) {
  
    .areas-list {column-gap: 10px; margin-bottom: 0; }
    .map-wrap {  height: 400px; }

    .areas-list + .heading-30 {
        margin-top: 25px;
    }
    .our-popular-trailer-models-sec + .img-content-sec {
        margin-top: 40px;
    }
    
}

@media (max-width: 575.98px) {
    .search-suburb.search-box { 
        width: 100%;
        margin-bottom: 15px;
    }
    .areas-we-serves-sec { 
        padding-block: 40px;
    }
    .inner-banner.areas-details-banner .inner-banner-wrapper {
        & .features-list {
            & .features-box {
                align-items: flex-start;
                flex-direction: column;
                & > .img-wrap {
                    min-width: 40px;
                    width: 40px;
                }
            }
        }
    }
    .areas-listing-sec {
        padding-block: 30px;
    }
    
    .banner-form-wrap { 
        padding: 20px;
    }
    .areas-list {
        gap: 20px;
        justify-content: flex-start;
        column-count: 2;
    }

    .areas-list {
        &:not(:last-child) { 
            padding-bottom: 20px;
        }
        .heading-24 {margin-bottom: 22px;}

         & + .heading-24 {
            margin-top: 20px;
        }
    }

    .areas-we-serves-sec {
        & + .img-content-sec {
            margin-top: 40px;
        }
    }
    
    .areas-we-serves-sec {
      & .heading-24 { margin-bottom: 20px; } 
    }
    
}

/* 08/10/2026: the context line beside each suburb list's title (template-parts/blocks/areas_we_serve.php):
   title, a thin vertical rule, the line, all on one row; the row carries the margin the title used to. */
.areas-we-serves-sec .suburb-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between; /* the three notes are the same text, so this lines up their start, rule and end */
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-bottom: 35px;
}

.areas-we-serves-sec .suburb-group-head .heading-24 {
    margin: 0;
}

/* 31356's rule between groups used to sit on the title (`.suburb-list + .heading-24` in common.css);
   the title now lives inside this row, so the row carries it. Same 24px run-up, same 1px line. */
.areas-we-serves-sec .suburb-list + .suburb-group-head {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.areas-we-serves-sec .suburb-group-head .suburb-note {
    margin: 0;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #ffffff;
    opacity: 0.85;
    max-width: none;
    text-align: left;
}

/* Below about 1350px the longest title and the line no longer share a row, so every row wraps the
   same way: line under the title, full width, no rule (it would hang in space on the left). */
@media (max-width: 1349.98px) {
    .areas-we-serves-sec .suburb-group-head .suburb-note {
        flex-basis: 100%;
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 767px) {
    .areas-we-serves-sec .suburb-group-head {
        margin-bottom: 20px;
    }
}
