.hero-section.other-page-banner {
    min-height: 350px;
    height: 350px;
    background: url(../images/about-banner.jpg) top / cover no-repeat;
}
.other-page-banner.matwork-timetable-banner{
   background: url(../images/mat-timetable-bg.jpg) top / cover no-repeat;
}
.other-page-banner.reformer-timetable-banner{
   background: url(../images/reformer-timetable-bg.jpg) top / cover no-repeat;
}
.banner-content.wow.fadeInUp {
    position: absolute;
    left: 0;
}
.banner-content h1 {
    background: var(--theme);
    padding: 1rem;
    display: inline-block;
    font-size: 32px;
    font-weight: 400;
    text-transform: uppercase;
}
 section.reform-intro {
        background: #F5F7FC;
    position: relative;
    overflow: hidden;
    }

    .intro-wrap {
      min-height: 64vh;
      display: flex;
      align-items: center;
    }
    .img-faux-frame{
    position: absolute;
    right: 0;
    top: 0;
    }

    /* CTA */
    .btn-cta {
      background: var(--btn-blue);
      color: white;
      border: none;
      padding: .68rem 1.05rem;
      border-radius: 4px;
      letter-spacing: .02em;
      box-shadow: 0 10px 28px rgba(95,134,173,0.12);
      transition: transform .28s cubic-bezier(.2,.9,.2,1), box-shadow .28s;
      display: inline-flex;
      align-items: center;
      gap: .6rem;
      font-weight: 600;
    }
    .btn-cta:hover, .btn-cta:focus {
      transform: translateY(-4px);
      box-shadow: 0 26px 60px rgba(95,134,173,0.18);
      text-decoration: none;
      color: white;
    }

    .link-knowmore {
      color: var(--text-dark);
      margin-left: 1.25rem;
      font-weight: 500;
      display:inline-flex;
      align-items:center;
      gap: .45rem;
      text-decoration: none;
    }
    .link-knowmore svg { transition: transform .18s ease; }
    .link-knowmore:hover svg { transform: translateX(6px); }

    /* Right image column */
    .img-container {
      display: grid;
      place-items: center;
      min-height: 64vh;
    }

    .studio-photo {
      width: 100%;
      max-width: 520px;
      height: auto;
      object-fit: cover;
      display: block;
    }

    .studio-photo.reform-intro-img{
      height: 800px;
    }

    img.studio-photo.pilates-hero-img {
    height: 550px;
}

    /* decorative inner radius effect (like screenshot with straight right edge) */
    @media (min-width: 992px) {
      /* crop on right to create flush edge feel; adjust as desired */
      .img-faux-frame {
        overflow: hidden;
      }
    }

/* SECTION */
    section.pilates-hero {
      overflow: hidden;
      position: relative;
    }

    picture.hero-image-inner {
    position: absolute;
    left: 0;
    top: 0;
}

    /* left image */
    .hero-image {
      width:100%;
      height:100%;
      object-fit:cover;
      display:block;
      border-radius: 0;
      box-shadow: none;
    }

    /* CTA band at bottom */
    .cta-band {
      background: var(--theme);
      color: #fff;
      padding: 3.25rem 1rem;
    }
    .cta-card {
      text-align:center;
      padding: 1.1rem 1rem;
    }
    .cta-card h4 {
      color: #fff;
      font-size: 1.1rem;
      font-weight: 500;
      margin-bottom: .6rem;
    }

    .cta-band  .btn-cta {
    font-family: "Instrument Sans", sans-serif;
      background: #fff;
      color: var(--theme);
      font-size: 1rem;
    font-weight: 500;
    border-radius: 0;
    padding: 10px 30px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s 
ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    .cta-band .btn-cta:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(2,6,23,0.12); text-decoration:none; }
    h6.hero-sub {
    font-size: 1.2rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.notice h5 {
    margin-bottom: 1rem;
}
.notice p {
    margin-bottom: 1.8rem;
}
    /* responsive layout: on small screens, stack content with image on top */
    @media (max-width: 991.98px) {
      .hero-content { padding: 2.5rem 1.5rem; }
      .hero-row { min-height: auto; }
      .img-faux-frame {
    position: static;
}
.banner-content {
    width: 80%;
}
section.pilates-hero.sec-pad {
    padding-bottom: 0;
}
.studio-photo {
    margin-bottom: 50px;
}
.studio-photo.reform-intro-img {
    height: auto;
}
picture.hero-image-inner {
    position: static;
}
img.studio-photo.pilates-hero-img {
    height: auto;
}
.column-reverse{
  flex-direction: column-reverse;
}
    }

      @media (min-width: 1600px) {
      section.hero-section.other-page-banner {
    min-height: 400px;
    height: 400px;
}
       .studio-photo {
      width: 650px;
      max-width: 650px;
      height: auto;
      object-fit: cover;
      display: block;
    }
    .banner-content h1 {
    font-size: 36px;
}
      }
@media (min-width: 1900px) {
    section.hero-section.other-page-banner {
    min-height: 450px;
    height: 450px;
}
       .studio-photo {
      width: 750px;
      max-width: 750px;
      height: auto;
      object-fit: cover;
      display: block;
    }
    .banner-content h1 {
    font-size: 38px;
}
h6.hero-sub {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 20px;
}
.studio-photo.reform-intro-img {
    height: 900px;
}
img.studio-photo.pilates-hero-img {
    height: 600px;
}
.cta-band .btn-cta {
    font-size: 1.2rem;
    padding: 15px 30px;
}
      }

@media (min-width: 2200px) {
  .studio-photo.reform-intro-img {
    height: 1200px;
}
.banner-content h1 {
        font-size: 50px;
        padding: 20px 40px;
 }
section.hero-section.other-page-banner {
        min-height: 550px;
        height: 550px;
}
.cta-band .btn-cta {
    font-size: 1.4rem;
    padding: 15px 30px;
}
.studio-photo {
        width: 1000px;
        max-width: 1000px;
    }
        img.studio-photo.pilates-hero-img {
        height: 800px;
    }
}