@charset "utf-8";

/* ============================================================
   AREAS PAGES (areas-list + areas-detail)
   ============================================================ */

/* ----- Banner with suburb search ----- */
.areabanner__title {
    max-width: 920px;
    margin-inline: auto;
    text-transform: uppercase;
}

.areabanner__search {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 413px;
    margin: 30px auto 0;
    background-color: var(--color-white);
    overflow: hidden;
}

.areabanner__search input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 15px 22px;
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.2;
    color: var(--color-heading);
    background: none;
    border: 0;position:relative;z-index:1;
}

.areabanner__search input::placeholder {
    color: var(--color-body);
}

.areabanner__search input:focus {
    outline: none;
}

.areabanner__search button {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
}

.areabanner__search button img {
    width: 18px;
    height: auto;
}

/* ----- Areas we serve (uses the shared cont_section structure) ----- */
.areas_sec .cont_section__content > p {
    margin-bottom: 34px;
}

/* Inline links inside the intro paragraph */
.areas_sec .cont_section__content > p a {
    /* color: var(--color-gold-dark);
  font-weight: 600; */
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.25s ease;
}

.areas_sec .cont_section__content > p a:hover {
    color: var(--color-heading);
}

/* Two-column list of area links (two equal ul columns) */
.areas__list {
    display: flex;
    gap: 40px;
}

.areas__list ul {
    flex: 1 1 0;
    min-width: 0;
}

/* Uses the shared global gold check bullet (same as ul li site-wide) */
.areas__list li {
    margin-bottom: 16px;
}

.areas__list a {
    font-family: var(--font-secondary);
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-body);
    transition: color 0.25s ease;
}

.areas__list a:hover {
    color: var(--color-gold-dark);
}

/* ----- Map ----- */
.areas__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================================
   AREAS DETAIL PAGE
   ============================================================ */

/* ----- Tiles installation intro (cont_section) ----- */
/* Portrait image fills the fixed-height sticky media cleanly */
.tilesinstall_sec .cont_section__media img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
}

/* ----- Our services include -----
   The cards/grid use the shared .servicelist_grid + .servcard (style.css).
   Only the centred heading + button wrappers are page-specific here. */
.servinc__head {
    max-width: 1230px;
    margin: 0 auto 50px;
    text-align: center;
}

.servinc__title {
    margin-bottom: 22px;
}

.servinc__actions {
    margin-top: 50px;
    text-align: center;
}

/* Slick slider — only applied (via JS) when there are more than 5 cards.
   Once initialised, the grid display is dropped so the carousel can lay out. */
.servicelist_grid.slick-initialized {
    display: block;
}

.servicelist_grid.slick-initialized .servcard {
    height: auto;
    margin: 0 12px;
}

.servicelist_grid .slick-list {
    margin: 0 -12px;
}

.servicelist_grid .slick-track {
    display: flex;
}

.servicelist_grid .slick-slide {
    height: auto;
}

main.areaspg,
main.areadetailpg {
    .cont_section__wrap {
        .cont_section__content {
            & h2 {
                margin-bottom: 8px;
                font-family: var(--font-secondary);
                font-weight: var(--fw-regular);
                font-size: clamp(26px, 3vw, 41px);
                line-height: 1.2;
                color: var(--color-dark);
            }
        }
    }
    .servinc_sec.bg-light {
      .servinc__head{& h2 {
                margin-bottom: 8px;
                font-family: var(--font-secondary);
                font-weight: var(--fw-regular);
                font-size: clamp(26px, 3vw, 41px);
                line-height: 1.2;
                color: var(--color-dark);
            }}
    }
}

.servicelist_grid.js-service-slider.slick-initialized {.slick-slide {padding: 0 12px;}}

main.areadetailpg  {
    .servicelist_grid {
        .servcard__body {
            & p,
            .servcard__title {height: auto;
    -webkit-line-clamp: none;}

        }
    }
    .discover_cta_sec.faq-space  {margin-bottom: 100px;}
}

/* ============================================================
   RESPONSIVE — one consolidated block per breakpoint
   ============================================================ */
@media (max-width: 1200px) {

    main.areadetailpg  {
    .discover_cta_sec.faq-space  {margin-bottom: 70px;}
}


}
@media (max-width: 992px) {
    /* cont_section stacks the media (map) and content automatically */
    .areas__map iframe {
        height: 420px;
    }
}

@media (max-width: 768px) {

        main.areadetailpg  {
    .discover_cta_sec.faq-space  {margin-bottom: 60px;}
}

}
@media (max-width: 576px) {
    .areas__list {
        flex-direction: column;
        gap: 0;
    }

    .areas__map iframe {
        height: 340px;
    }
    
    main.areadetailpg  {
    .discover_cta_sec.faq-space  {margin-bottom: 30px;}
}
}
