/* Header height (set by JS); default fallback 70px */
:root { --header-h: 70px; }
html { scroll-behavior: smooth !important; }

#quote { scroll-margin-top: calc(var(--header-h) + 16px); }

/* New suburb hero banner */
.suburb-hero{
  position: relative;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  color:#fff;
  text-align:center;

  /* Push content below transparent header + more vertical space */
  padding-top: 100px;
  padding-bottom: 100px;

  padding-left: calc(env(safe-area-inset-left, 0px) + 20px);
  padding-right: calc(env(safe-area-inset-right, 0px) + 20px);

  min-height: 400px;
  display:flex;
  align-items:center;
  justify-content:center;
}

/* Darker overlay layer */
.suburb-hero::before{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,0.7); /* darkened overlay */
}

.suburb-hero-overlay{
  position:relative; z-index:1;
  width:min(960px, 100%);
}

/* Heading styling */
.suburb-hero-overlay h1{
  font-size: clamp(28px, 5vw, 44px);
  line-height:1.2;
  margin:0 0 14px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* Subheading */
.suburb-hero-overlay p.sub{
  font-size: clamp(16px, 3.5vw, 20px);
  margin: 0 0 22px;
  font-weight:500;
  color: #ffbc13;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* CTA button */
.suburb-hero-overlay .wprt-button{
  min-width:220px;
  padding:14px 22px;
  font-size: clamp(14px, 3.2vw, 16px);
}


.suburb-hero-compact .site-main {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.suburb-hero-compact .section-right {
    padding-top: 60px;
    padding-bottom: 60px;
}
.suburb-hero-compact .section-left {
    background: #f8f8f8;
    padding-top: 60px;
    padding-bottom: 60px;
}
.v-align .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center; /* centers vertically */
}
.v-align .col-md-7,
.v-align .col-md-6,
.v-align .col-md-5 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials-alt {
    background: #f9f9f9 !important;
}

/* New testimonial boxes */
.testimonials-alt .testimonial-box {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 24px;
  margin-bottom: 30px;
  position: relative;
  text-align: left;
}

.testimonials-alt .testimonial-text {
  font-style: italic;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 15px;
  color: #aaaaaa;
}

.testimonials-alt .testimonial-name {
  font-weight: 600;
  font-size: 15px;
  color: #555;
  text-align: right;
}

.background-nst .number, .background-nst .text, .wprt-counter.has-plus .number:after {
    color: #ffbc13 !important;
}   

.wprt-section.breadcrumbs {
    background: #f8f8f8;
    border-bottom: 1px solid #e6e6e6;
    padding: 12px 0;
}

.testimonial-box .testimonial-stars{
  margin: 8px 0 6px;
  line-height: 1;
  text-align: right;
}
.testimonial-box .testimonial-stars .fa-star{
  color: #FFC107; /* yellow stars */
  margin-right: 2px;
  font-size: 14px;
}
@media (min-width: 768px){
  .testimonial-box .testimonial-stars .fa-star{ font-size: 16px; }
}


/* Tablet tweaks */
@media (max-width: 991px){
  .suburb-hero{
    padding-top: calc(var(--header-h) + 80px);
    padding-bottom: 80px;
  }
}

/* Mobile tweaks */
@media (max-width: 575px){
  .suburb-hero{
    min-height: 320px;
    padding-top: calc(var(--header-h) + 60px);
    padding-bottom: 60px;
  }

    .suburb-hero-compact .section-right {
        padding-top: 30px;
        padding-bottom: 60px;
    }
    .suburb-hero-compact .section-left {
        background: #f8f8f8;
        padding-top: 30px;
        padding-bottom: 30px;
    }
}