/* Homepage V2 section styles - consolidated from template parts */
body.page-template-page-homepage-v2-php #site-content > section:not(.hero-homepage):not(.outcomes) {
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}


/* --- part-why-choose-delamere.php --- */
.why-choose-delamere {
  background-color: #ffffff;
  padding: 50px 0;
}

.why-choose-delamere__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.why-choose-delamere__heading {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #767A4C;
  margin: 0 0 50px 0;
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.why-choose-delamere__video-wrap {
  margin: 0 auto 80px auto;
}


.why-choose-delamere__features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-bottom: 0;
  align-items: start;
}

.why-choose-delamere__feature {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.why-choose-delamere__icon {
  text-align: center;
  margin-bottom: 28px;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-delamere__icon img {
  max-width: 80px;
  height: auto;
  display: inline-block;
}

.why-choose-delamere__stars {
  text-align: center;
  margin-bottom: 28px;
  font-size: 32px;
  line-height: 1;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-delamere__stars .star {
  color: #ffd26c;
  display: inline-block;
  margin: 0 2px;
}

.why-choose-delamere__feature-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #767A4C;
  margin: 0 0 12px 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-delamere__logo-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.why-choose-delamere__logo-icon {
  width: 40px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.why-choose-delamere__logo-text {
  display: inline-block;
}

.why-choose-delamere__feature-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #767A4C;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.why-choose-delamere__cta-wrap {
  text-align: center;
  padding: 56px 0;
}
.why-choose-delamere__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 291px;
  height: 62px;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #000 !important;
  background-color: #ffd26c;
  text-decoration: none;
  border-radius: 6px;
  border: none;
  text-align: center;
}

.why-choose-delamere__cta:hover,
.why-choose-delamere__cta:focus {
  background-color: #ffd26c;
  color: #000 !important;
  text-decoration: none;
}

/* Additional Features Section */
.why-choose-delamere__additional-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 48px;
  align-items: start;
}

.why-choose-delamere__additional-feature {
  text-align: center;
  display: flex;
  flex-direction: column;
}

.why-choose-delamere__additional-icon {
  text-align: center;
  margin-bottom: 28px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-delamere__additional-icon img {
  width: 180px;
  height: 100px;
  object-fit: contain;
  display: inline-block;
}
/* Third additional feature (Addiction Recovery Experts) uses a slightly
   smaller icon footprint. Positional selector first (works for any ACF-
   uploaded image), with the legacy filename selector kept as a fallback. */
.why-choose-delamere__additional-feature:nth-child(3) .why-choose-delamere__additional-icon img,
.why-choose-delamere__additional-icon img[src*="infinity-icon"] {
  width: 107px;
  height: 88px;
}

.why-choose-delamere__additional-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #767A4C;
  margin: 0 0 16px 0;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.2px;
  line-height: 1.3;
}

.why-choose-delamere__additional-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: #767A4C;
  line-height: 1.7;
  margin: 0;
  flex: 1;
  letter-spacing: 0.1px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .why-choose-delamere {
    padding: 60px 0;
  }

  .why-choose-delamere__heading {
    font-size: 34px;
    margin-bottom: 30px;
    letter-spacing: -0.2px;
  }

  .why-choose-delamere__video-wrap {
    margin-bottom: 50px;
  }

  .why-choose-delamere__features {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .why-choose-delamere__feature {
    text-align: center;
  }

  .why-choose-delamere__cta-wrap {
    padding: 40px 0;
  }

  .why-choose-delamere__cta {
    font-size: 15px;
    padding: 14px 28px;
  }

  .why-choose-delamere__additional-features {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .why-choose-delamere__features {
    gap: 30px;
  }

  .why-choose-delamere__additional-features {
    gap: 40px;
  }
}

/* --- part-image-gallery.php --- */
.image-gallery {
  padding: 40px 0 80px 0;
  background-color: #ffffff;
  width: 100%;
}

.image-gallery__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.image-gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
  width: 100%;
}

.image-gallery__item {
  overflow: hidden;
  background-color: #f5f5f5;
  position: relative;
}

/* Small items dictate their own aspect ratio. The large item spans both rows
   and stretches to match the combined height of the two stacked smalls so
   left and right columns end at the same Y. With `object-fit: cover` on the
   image itself, the big photo crops sensibly to fit whatever combined height
   the right column produces. */
.image-gallery__item--small {
  aspect-ratio: 4 / 3;
  grid-row: auto;
}

.image-gallery__item--large {
  grid-row: 1 / 3;
  align-self: stretch;
  height: 100%;
}

.image-gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

/* Ensure picture-based responsive markup fills the wrapper exactly like plain img tags. */
.image-gallery__item > picture {
  width: 100%;
  height: 100%;
  display: block;
}

.image-gallery__item > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-gallery__image:hover {
  /* Transform removed to prevent layout shift (Core Web Vitals) */
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .image-gallery {
    padding: 32px 0 60px 0;
  }

  .image-gallery__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 4px;
  }

  .image-gallery__item--large {
    grid-row: auto;
  }

  .image-gallery__item {
    aspect-ratio: 16 / 9;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .image-gallery__container {
    padding: 0 20px;
  }
}

/* --- part-tranquil_delamere_environment.php --- */
.tranquil-delamere-environment {
  padding: 50px 0 30px 0;
  background-color: #f5f0e8;
  width: 100%;
}

.tranquil-delamere-environment__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.tranquil-delamere-environment__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #45483b;
  margin: 0 0 50px 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
  text-shadow: none;
}

.tranquil-delamere-environment__cta-wrapper {
  text-align: center;
  margin: 40px auto 0 auto;
  max-width: 291px;
}

.tranquil-delamere-environment__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 291px;
  height: 62px;
  box-sizing: border-box;
  background: #ffd26c;
  color: #000 !important;
  padding: 0 24px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  text-align: center;
  margin-bottom: 0;
}

.tranquil-delamere-environment__cta:hover,
.tranquil-delamere-environment__cta:focus {
  background: #ffd26c;
  color: #000 !important;
  text-decoration: none;
}

.tranquil-delamere-environment__video-wrap {
  margin: 0 auto 50px auto;
}

.tranquil-delamere-environment__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #45483b;
  margin: 0 auto;
  max-width: 900px;
  letter-spacing: 0.1px;
}

.tranquil-delamere-environment__copy p {
  margin: 0 0 24px 0;
}

.tranquil-delamere-environment__copy p:last-child {
  margin-bottom: 0;
}

/* Link styling (text links only, keep CTA styling intact) */
.tranquil-delamere-environment a:not(.tranquil-delamere-environment__cta),
.tranquil-delamere-environment__link {
  color: #ffd26c;
  text-decoration: none;
  font-weight: 400;
}
.tranquil-delamere-environment a:not(.tranquil-delamere-environment__cta):hover,
.tranquil-delamere-environment a:not(.tranquil-delamere-environment__cta):focus,
.tranquil-delamere-environment__link:hover,
.tranquil-delamere-environment__link:focus {
  color: #ffd26c;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .tranquil-delamere-environment {
    padding: 60px 0 40px 0;
  }

  .tranquil-delamere-environment__inner {
    padding: 0 20px;
  }

  .tranquil-delamere-environment__heading {
    font-size: 34px;
    margin-bottom: 40px;
    letter-spacing: -0.4px;
  }

  .tranquil-delamere-environment__cta-wrapper {
    margin: 30px auto 0 auto;
  }

  .tranquil-delamere-environment__cta {
    width: 100%;
    max-width: 100%;
    padding: 20px 32px;
    font-size: 16px;
  }

  .tranquil-delamere-environment__video-wrap {
    margin-bottom: 40px;
  }

  .tranquil-delamere-environment__copy {
    font-size: 16px;
  }

  .tranquil-delamere-environment__copy p {
    margin-bottom: 20px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .tranquil-delamere-environment__inner {
    padding: 0 20px;
  }
}

/* --- part-media-banner.php --- */
.media-banner {
  padding: 80px 0;
  background-color: #ffffff;
  width: 100%;
}

.media-banner__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.media-banner__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: #45483b;
  margin: 0 0 40px 0;
  text-align: center;
  letter-spacing: -0.3px;
}

.media-banner__logos-wrapper {
  margin-bottom: 40px;
}

.media-banner__logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.media-banner__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.media-banner__logo {
  max-width: 150px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.media-banner__logo-item:hover .media-banner__logo {
  opacity: 1;
}

.media-banner__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #45483b;
  margin: 0;
  text-align: center;
  letter-spacing: 0.1px;
}

.media-banner__link {
  color: #45483b;
  text-decoration: underline;
  text-decoration-color: #767A4C;
  text-underline-offset: 3px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

.media-banner__link:hover {
  color: #767A4C;
  text-decoration-color: #767A4C;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .media-banner {
    padding: 60px 0;
  }

  .media-banner__heading {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .media-banner__logos-wrapper {
    margin-bottom: 30px;
    padding: 0 24px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }

  .media-banner__logos-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
  }

  .media-banner__logos {
    display: flex;
    flex-direction: row;
    gap: 16px;
    width: max-content;
    padding-right: 24px; /* Ensure last logo has space on right */
  }

  .media-banner__logo-item {
    flex: 0 0 calc(70vw - 40px); /* Smaller width so multiple logos are visible */
    width: calc(70vw - 40px);
    min-width: calc(70vw - 40px);
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .media-banner__logo {
    max-width: 120px;
    max-height: 50px;
  }

  .media-banner__copy {
    font-size: 15px;
    padding: 0 24px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .media-banner__container {
    padding: 0 20px;
  }

  .media-banner__logos {
    gap: 30px;
  }

  .media-banner__logo {
    max-width: 130px;
    max-height: 55px;
  }
}

/* --- part-addictions_we_treat.php --- */
.addictions-we-treat {
  padding: 50px 0;
  background-color: #46483b;
  font-family: 'Montserrat', sans-serif;
}

.addictions-we-treat__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.addictions-we-treat__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: 600;
  color: #ffd26c;
  text-align: center;
  margin: 0 0 50px 0;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.addictions-we-treat__slider-wrapper {
  position: relative;
  width: 100%;
  margin-top: 60px;
}

.addictions-we-treat__slider {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.addictions-we-treat__slide {
  min-width: 0;
  padding: 0;
  outline: none;
}

.addictions-we-treat__slide-inner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  border-radius: 8px;
}

.addictions-we-treat__slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Responsive helpers can output <picture>; force it to fill the slide frame. */
.addictions-we-treat__slide-inner > picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.addictions-we-treat__slide-inner > picture > img.addictions-we-treat__slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.addictions-we-treat__slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  z-index: 2;
  color: #ffffff;
}

.addictions-we-treat__slide-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  min-height: 0; /* numbers removed; no need to reserve height */
}

.addictions-we-treat__slide-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  letter-spacing: -2px;
}

.addictions-we-treat__slide-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.addictions-we-treat__slide-body {
  margin-top: 12px;
}

.addictions-we-treat__slide-description {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  color: #ffffff;
  line-height: 1.7;
  margin: 0;
  white-space: pre-line;
  opacity: 0.95;
}

.addictions-we-treat__slide-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(70, 72, 59, 0.95) 0%, rgba(70, 72, 59, 0.75) 40%, rgba(70, 72, 59, 0.4) 70%, transparent 100%);
  z-index: 1;
}

.addictions-we-treat__slide-links-panel {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ffd26c;
  padding: 0;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.addictions-we-treat__slide:hover .addictions-we-treat__slide-links-panel {
  opacity: 1;
  visibility: visible;
}

.addictions-we-treat__slide-links-inner {
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-height: 100%;
  overflow-y: auto;
}

.addictions-we-treat__slide-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #45483b;
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 8px 0;
  border-bottom: 1px solid rgba(70, 72, 59, 0.1);
  line-height: 1.5;
}

.addictions-we-treat__slide-link:last-child {
  border-bottom: none;
}

.addictions-we-treat__slide-link--separated {
  margin-top: 24px;
  padding-top: 24px;
}

.addictions-we-treat__slide-link:hover {
  color: #767A4C;
  /* Padding change removed to prevent layout shift (Core Web Vitals) */
  text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .addictions-we-treat {
    padding: 60px 0;
  }
  
  .addictions-we-treat__heading {
    font-size: 32px;
    margin-bottom: 30px;
  }
  
  .addictions-we-treat__slider-wrapper {
    margin-top: 40px;
  }

  .addictions-we-treat__slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 10%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .addictions-we-treat__slider::-webkit-scrollbar {
    display: none;
  }

  .addictions-we-treat__slide {
    flex: 0 0 80%;
    scroll-snap-align: center;
  }
  
  .addictions-we-treat__slide-inner {
    height: 460px;
  }
  
  .addictions-we-treat__slide-links-inner {
    padding: 20px;
    gap: 10px;
  }
  
  .addictions-we-treat__slide-link {
    font-size: 14px;
    padding: 6px 0;
  }
  
  .addictions-we-treat__slide-overlay {
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 36px;
  }
  
  .addictions-we-treat__slide-number {
    font-size: 48px;
  }
  
  .addictions-we-treat__slide-heading {
    font-size: 22px;
  }
  
  .addictions-we-treat__slide-description {
    font-size: 14px;
  }
  
}

@media (min-width: 769px) and (max-width: 1024px) {
  .addictions-we-treat__slide-inner {
    height: 450px;
  }
  
  .addictions-we-treat__slide-overlay {
    padding-top: 180px;
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
  }
  
  .addictions-we-treat__slide-number {
    font-size: 56px;
  }
  
  .addictions-we-treat__slide-heading {
    font-size: 24px;
  }
  
  .addictions-we-treat__slide-links-inner {
    padding: 25px;
  }

  .addictions-we-treat__slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* --- part-video.php --- */
.video {
  padding: 50px 0;
  background-color: #ffffff;
  width: 100%;
}

.video__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.video__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #767A4C;
  margin: 0 0 30px 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(118, 122, 76, 0.1);
}

.video__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #767A4C;
  margin: 0 auto 50px auto;
  max-width: 800px;
  letter-spacing: 0.1px;
}

.video__link {
  color: #ffd26c;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.video__link:hover {
  color: #ffc84a;
}

.video__diagram {
  margin: 0 auto 50px auto;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.video__diagram-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.video__description {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #767A4C;
  margin: 0 auto;
  max-width: 900px;
  letter-spacing: 0.1px;
}

.video__description p {
  margin: 0 0 24px 0;
}

.video__description p:last-child {
  margin-bottom: 0;
}

.video__video-wrap,
.video__embed-wrap {
  margin: 0 auto 50px auto;
}

.video__cta-wrapper {
  text-align: center;
  margin: 60px auto 0 auto;
  max-width: 291px;
}

.video__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 291px;
  height: 62px;
  box-sizing: border-box;
  background: #ffd26c;
  color: #000 !important;
  padding: 0 24px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  text-align: center;
  margin-bottom: 0;
}

.video__cta:hover,
.video__cta:focus {
  background: #ffd26c;
  color: #000 !important;
  text-decoration: none;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .video {
    padding: 60px 0;
  }

  .video__inner {
    padding: 0 20px;
  }

  .video__heading {
    font-size: 34px;
    margin-bottom: 24px;
    letter-spacing: -0.4px;
  }

  .video__copy {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .video__video-wrap,
  .video__embed-wrap {
    margin-bottom: 40px;
  }

  .video__description {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .video__description p {
    margin-bottom: 20px;
  }

  .video__cta-wrapper {
    margin: 40px auto 0 auto;
  }

  .video__cta {
    padding: 20px 40px;
    font-size: 16px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .video__inner {
    padding: 0 20px;
  }
}

/* --- part-quote-block.php --- */
.quote-block {
  padding: 60px 0;
  width: 100%;
  display: flex;
  justify-content: center;
}

.quote-block__container {
  max-width: 1200px;
  width: 100%;
  padding: 0 24px;
}

.quote-block__content {
  background-color: #46483b;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
  align-items: start;
  padding: 60px 50px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.quote-block__image {
  background-color: transparent;
  padding: 0;
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.quote-block__headshot {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  transition: transform 0.3s ease;
}

.quote-block__text {
  color: #ffffff;
  background-color: #46483b;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.quote-block__quote {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #ffffff;
  margin: 0 0 28px 0;
  padding: 0;
  border: none;
  font-style: normal;
  background-color: transparent;
  letter-spacing: 0.2px;
}

.quote-block__attribution {
  margin-top: 0;
  background-color: transparent;
}

.quote-block__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #ffd26c;
  margin-bottom: 6px;
  background-color: transparent;
  letter-spacing: 0.3px;
}

.quote-block__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  background-color: transparent;
  letter-spacing: 0.2px;
}



/* Mobile Responsive */
@media (max-width: 768px) {
  .quote-block {
    padding: 40px 0;
  }

  .quote-block__content {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 30px;
  }


  .quote-block__image {
    max-width: 200px;
    margin: 0 auto;
  }

  .quote-block__quote {
    font-size: 16px;
    text-align: center;
  }

  .quote-block__attribution {
    text-align: center;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .quote-block__content {
    grid-template-columns: 220px 1fr;
    gap: 40px;
    padding: 50px 40px;
  }

  .quote-block__quote {
    font-size: 16px;
  }
}

/* --- part-rooms_available.php --- */
.rooms-available {
  padding: 50px 0;
  background-color: #ffffff;
  width: 100%;
}

.rooms-available__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.rooms-available__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #767A4C;
  margin: 0 0 30px 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(118, 122, 76, 0.1);
}

.rooms-available__copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  line-height: 1.7;
  color: #767A4C;
  margin: 0 auto 60px auto;
  max-width: 900px;
  letter-spacing: 0.1px;
}
/* Link styling (text links only, keep CTA styling intact) */
.rooms-available a:not(.rooms-available__cta) {
  color: #ffd26c;
  text-decoration: none;
}
.rooms-available a:not(.rooms-available__cta):hover,
.rooms-available a:not(.rooms-available__cta):focus {
  color: #ffd26c;
  text-decoration: underline;
}

.rooms-available__table-wrapper {
  width: 100%;
  overflow-x: auto;
  margin: 0 auto;
}

/* Mobile Cards (hidden on desktop) */
.rooms-available__cards {
  display: none;
}

.rooms-available__table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  margin: 30px auto;
  max-width: 1000px;
  /* Lift the table off the white background (top + bottom shadow) */
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.14),
    0 -8px 18px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e0e0e0; /* Add outer border */
}

/* Ensure table fits viewport on mobile */
@media (max-width: 768px) {
  .rooms-available__table {
    table-layout: fixed;
  }
}

.rooms-available__feature-header {
  background-color: #ffffff;
  padding: 20px;
  text-align: left;
  font-weight: 600;
  font-size: 16px;
  color: #45483b;
  border: 1px solid #e0e0e0;
}

.rooms-available__room-header {
  background-color: #ffffff;
  padding: 20px;
  text-align: center;
  border: 1px solid #e0e0e0;
  vertical-align: top;
}

.rooms-available__room-title {
  font-weight: 600;
  font-size: 18px;
  color: #ffd26c;
  letter-spacing: 0.3px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: default;
  font-family: inherit;
  text-align: center;
  width: 100%;
}

.rooms-available__room-title--clickable {
  cursor: pointer;
  text-decoration: none;
  transition: text-decoration-color 0.2s ease;
}

.rooms-available__room-title--clickable:hover {
  /* Hover highlight removed */
}

.rooms-available__room-header:hover {
  border-color: transparent;
}

.rooms-available__room-title--clickable:focus {
  outline: 2px solid #ffd26c;
  outline-offset: 2px;
  border-radius: 2px;
}

.rooms-available__feature {
  padding: 18px 20px;
  text-align: left;
  font-size: 15px;
  color: #45483b;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  font-weight: 500;
}

.rooms-available__check {
  padding: 18px 20px;
  text-align: center;
  font-size: 20px;
  color: #ffd26c;
  font-weight: 700;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.rooms-available__cross {
  padding: 18px 20px;
  text-align: center;
  font-size: 20px;
  color: #999999;
  font-weight: 700;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
}

.rooms-available__table tbody tr:nth-child(even) .rooms-available__feature,
.rooms-available__table tbody tr:nth-child(even) .rooms-available__check,
.rooms-available__table tbody tr:nth-child(even) .rooms-available__cross {
  background-color: #f9f9f9;
}

/* Lightbox Styles */
.rooms-available__cta-wrapper {
  text-align: center;
  margin: 60px auto 0 auto;
  max-width: 291px;
}

.rooms-available__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 291px;
  height: 62px;
  box-sizing: border-box;
  background: #ffd26c;
  color: #000 !important;
  padding: 0 24px;
  border-radius: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  text-align: center;
  margin-bottom: 0;
}

.rooms-available__cta:hover,
.rooms-available__cta:focus {
  background: #ffd26c;
  color: #000 !important;
  text-decoration: none;
}

.rooms-available__lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.rooms-available__lightbox[hidden] {
  display: none;
}

.rooms-available__lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.rooms-available__lightbox-content {
  position: relative;
  z-index: 100001;
  width: min(1200px, 100%);
  max-width: calc(100vw - 48px);
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rooms-available__lightbox-close {
  position: fixed;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #45483b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
  z-index: 10002;
}

.rooms-available__lightbox-close-icon {
  display: block;
  width: 20px;
  height: 20px;
}

.rooms-available__lightbox-close:hover {
  background: rgba(255, 255, 255, 1);
}

.rooms-available__lightbox-close:focus {
  outline: 2px solid #ffd26c;
  outline-offset: 2px;
}

.rooms-available__lightbox-image-wrapper {
  width: 100%;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rooms-available__lightbox-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .rooms-available {
    padding: 60px 0;
  }

  .rooms-available__inner {
    padding: 0 20px;
  }

  .rooms-available__heading {
    font-size: 34px;
    margin-bottom: 24px;
    letter-spacing: -0.4px;
  }

  .rooms-available__copy {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .rooms-available__table-wrapper {
    display: none;
  }

  .rooms-available__cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0 auto;
  }

  .rooms-available__card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .rooms-available__card-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffd26c;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    font-family: 'Montserrat', sans-serif;
  }

  .rooms-available__card-list {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .rooms-available__card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    gap: 12px;
  }

  .rooms-available__card-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .rooms-available__card-row dt {
    font-size: 14px;
    font-weight: 500;
    color: #767A4C;
    margin: 0;
    flex-shrink: 0;
    font-family: 'Montserrat', sans-serif;
  }

  .rooms-available__card-row dd {
    font-size: 14px;
    margin: 0;
    text-align: right;
    flex-shrink: 0;
    font-weight: 700;
  }

  .rooms-available__card-check {
    color: #ffd26c;
  }

  .rooms-available__card-cross {
    color: #999999;
  }

  .rooms-available__cta-wrapper {
    margin: 40px auto 0 auto;
  }

  .rooms-available__cta {
    padding: 20px 40px;
    font-size: 16px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .rooms-available__card {
    padding: 18px 16px;
  }

  .rooms-available__card-title {
    font-size: 15px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }

  .rooms-available__card-row {
    padding: 10px 0;
    font-size: 13px;
  }

  .rooms-available__card-row dt,
  .rooms-available__card-row dd {
    font-size: 13px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .rooms-available__inner {
    padding: 0 20px;
  }

  .rooms-available__table {
    font-size: 14px;
  }

  .rooms-available__lightbox {
    padding: 16px;
  }

  .rooms-available__lightbox-close {
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
  }

  .rooms-available__lightbox-close-icon {
    width: 18px;
    height: 18px;
  }

  .rooms-available__lightbox-content {
    max-width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
  }

  .rooms-available__lightbox-image-wrapper,
  .rooms-available__lightbox-image {
    max-height: calc(100dvh - 32px);
  }
}

/* --- part-outcomes.php --- */
.outcomes {
  padding: 50px 0;
  background-color: #46483b;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.outcomes__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.outcomes__heading {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #ffd26c;
  margin: 0 0 80px 0;
  padding: 0 24px;
  letter-spacing: -0.5px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.outcomes__carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 60px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.outcomes__seo-links {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.outcomes__video-stage {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #2a2d26;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.outcomes__carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.outcomes__carousel:active {
  cursor: grabbing;
}

.outcomes__track {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.outcomes__slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.outcomes__video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.outcomes__video {
  position: absolute;
  inset: 0;
  background: #000;
}

.outcomes__video iframe,
.outcomes__video-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 12px;
}

/* Progress Bar */
.outcomes__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.outcomes__progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #ffd26c 0%, #ffc84a 100%);
  width: 33.333%;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Indicators - Outside video frame, below it */
.outcomes__indicators {
  position: relative;
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  pointer-events: none;
  width: 100%;
}

.outcomes__indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 0;
}

.outcomes__indicator:hover {
  background: rgba(255, 255, 255, 0.6);
  /* Transform removed to prevent layout shift (Core Web Vitals) */
}

.outcomes__indicator.outcomes__indicator--active {
  background: #ffd26c;
  width: 24px;
  border-radius: 4px;
}

.outcomes__content {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Link styling (text links only, keep other CTAs untouched) */
.outcomes a:not(.outcomes__cta) {
  color: #ffd26c;
  text-decoration: none;
}
.outcomes a:not(.outcomes__cta):hover,
.outcomes a:not(.outcomes__cta):focus {
  color: #ffd26c;
  text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .outcomes {
    padding: 60px 0;
  }

  .outcomes__heading {
    font-size: 34px;
    margin-bottom: 50px;
    padding: 0 20px;
  }

  .outcomes__video-stage,
  .outcomes__video iframe,
  .outcomes__video-iframe {
    border-radius: 10px;
  }

  .outcomes__carousel-container {
    margin: 0 auto 40px auto;
    padding: 0 20px;
  }

  .outcomes__indicators {
    margin-top: 20px;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .outcomes__carousel-container {
    max-width: 900px;
  }
}

/* --- part-instagram-shorts.php --- */
.instagram-shorts {
	background: #f5f0e8;
	padding: 48px 0 56px;
	width: 100%;
}
.instagram-shorts__inner {
	max-width: 100%;
	margin: 0 auto;
	padding: 0 24px;
}
.instagram-shorts__heading {
	font-family: 'Montserrat', sans-serif;
	font-size: 28px;
	font-weight: 600;
	color: #767A4C;
	text-align: center;
	margin: 0 0 24px;
	letter-spacing: -0.3px;
}
.instagram-shorts__scroll {
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	margin: 0 -24px;
	padding: 8px 24px 16px;
}
.instagram-shorts__scroll::-webkit-scrollbar {
	display: none;
}
.instagram-shorts__track {
	display: flex;
	gap: 16px;
	align-items: stretch;
	width: max-content;
	min-width: 100%;
}
.instagram-shorts__card {
	flex: 0 0 auto;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}
.instagram-shorts__link {
	display: block;
	text-decoration: none;
	color: inherit;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.12);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.instagram-shorts__link:hover {
	transform: scale(1.02);
	box-shadow: 0 8px 28px rgba(0,0,0,0.18);
}
.instagram-shorts__thumb {
	position: relative;
	width: 280px;
	aspect-ratio: 9 / 16;
	background: #e0e0e0;
}
.instagram-shorts__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	vertical-align: middle;
}
.instagram-shorts__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1;
	pointer-events: none;
}
.instagram-shorts__cta {
	text-align: center;
	margin: 20px 0 0;
	font-size: 15px;
}
.instagram-shorts__cta-link {
	color: #767A4C;
	font-weight: 600;
	text-decoration: none;
}
.instagram-shorts__cta-link:hover {
	text-decoration: underline;
}
.instagram-shorts__empty {
	text-align: center;
	color: #767A4C;
	font-size: 16px;
	line-height: 1.5;
	margin: 0 0 20px;
	max-width: 480px;
	margin-left: auto;
	margin-right: auto;
}

@media (max-width: 768px) {
	.instagram-shorts { padding: 36px 0 44px; }
	.instagram-shorts__inner { padding: 0 16px; }
	.instagram-shorts__heading { font-size: 24px; margin-bottom: 20px; }
	.instagram-shorts__scroll { margin: 0 -16px; padding: 8px 16px 12px; }
	.instagram-shorts__thumb { width: 240px; }
}

/* --- part-innovative-programme.php --- */
.innovative-programme {
  padding: 50px 0;
  background-color: #ffffff;
  width: 100%;
}

.innovative-programme__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.innovative-programme__heading {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 600;
  color: #767A4C;
  margin: 0 0 20px 0;
  letter-spacing: -0.5px;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(118, 122, 76, 0.1);
}

.innovative-programme__subheading {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #767A4C;
  margin: 0 0 60px 0;
  line-height: 1.5;
  letter-spacing: 0.1px;
}

.innovative-programme__data-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #767A4C 0%, #6a6e42 100%);
  padding: 55px;
  border-radius: 16px;
  align-items: stretch;
  box-shadow: 0 8px 32px rgba(118, 122, 76, 0.25), 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.innovative-programme__data-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.innovative-programme__table-wrapper {
  width: 100%;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.innovative-programme__table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  height: 100%;
  display: table;
  table-layout: fixed;
}

.innovative-programme__table tbody {
  display: table-row-group;
}

.innovative-programme__table tr {
  display: table-row;
}

.innovative-programme__table th,
.innovative-programme__table td {
  display: table-cell;
  vertical-align: middle;
}

.innovative-programme__table th {
  font-weight: 600;
  text-align: left;
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.95);
}

.innovative-programme__table td {
  padding: 20px 18px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 15px;
  transition: background-color 0.2s ease;
}

.innovative-programme__table tbody tr:hover td {
  background-color: rgba(255, 255, 255, 0.05);
}

.innovative-programme__row-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.3px;
}

.innovative-programme__score {
  font-weight: 700;
  font-size: 17px;
  display: block;
  letter-spacing: 0.2px;
}

.innovative-programme__score--red {
  color: #ff6b6b;
  text-shadow: 0 1px 2px rgba(255, 107, 107, 0.2);
}

.innovative-programme__score--green {
  color: #51cf66;
  text-shadow: 0 1px 2px rgba(81, 207, 102, 0.2);
}

.innovative-programme__descriptor {
  font-size: 12px;
  font-weight: 500;
  display: block;
  margin-top: 5px;
  letter-spacing: 0.2px;
  opacity: 0.9;
}

.innovative-programme__descriptor--red {
  color: #ff8787;
}

.innovative-programme__descriptor--green {
  color: #69db7c;
}

.innovative-programme__outcome {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.3px;
}

.innovative-programme__outcome--green {
  color: #51cf66;
  text-shadow: 0 1px 2px rgba(81, 207, 102, 0.2);
}

.innovative-programme__text-box {
  font-family: 'Montserrat', sans-serif;
  color: rgba(255, 255, 255, 0.95);
  font-size: 16px;
  line-height: 1.75;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  justify-content: center;
  letter-spacing: 0.1px;
}

.innovative-programme__text-box p {
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
}

.innovative-programme__list {
  margin: 0;
  padding-left: 26px;
  list-style-type: disc;
  color: rgba(255, 255, 255, 0.95);
}

.innovative-programme__list li {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.1px;
  line-height: 1.6;
}

.innovative-programme__list li::marker {
  color: rgba(255, 255, 255, 0.6);
}

.innovative-programme__cta-text {
  margin-top: 12px;
  line-height: 1.8;
}

/* Link styling (text links only, keep CTA styling intact) */
.innovative-programme a:not(.innovative-programme__cta),
.innovative-programme__link {
  color: #ffd26c;
  text-decoration: none;
  font-weight: 400;
}
.innovative-programme a:not(.innovative-programme__cta):hover,
.innovative-programme a:not(.innovative-programme__cta):focus,
.innovative-programme__link:hover,
.innovative-programme__link:focus {
  color: #ffd26c;
  text-decoration: underline;
}

.innovative-programme__content {
  font-family: 'Montserrat', sans-serif;
  color: #767A4C;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .innovative-programme {
    padding: 60px 0;
  }

  .innovative-programme__inner {
    padding: 0 20px;
  }

  .innovative-programme__heading {
    font-size: 34px;
    margin-bottom: 20px;
    letter-spacing: -0.4px;
  }

  .innovative-programme__subheading {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .innovative-programme__data-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 40px 28px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(118, 122, 76, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
  }

  .innovative-programme__table {
    font-size: 9px;
  }

  .innovative-programme__table th,
  .innovative-programme__table td {
    padding: 10px 8px;
    font-size: 9px;
  }

  .innovative-programme__score {
    font-size: 12px;
  }

  .innovative-programme__descriptor {
    font-size: 10px;
  }
  
  .innovative-programme__outcome {
    font-size: 12px;
  }

  .innovative-programme__text-box {
    font-size: 15px;
    gap: 16px;
  }

}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .innovative-programme__inner {
    padding: 0 20px;
  }

  .innovative-programme__data-section {
    gap: 48px;
    padding: 50px 40px;
    border-radius: 14px;
  }
}

/* --- part-cta.php --- */
/* CTA base
   ------------------------------------------------------------------------
   Background matches the cream of the blog feed above (`.blog-feed` uses
   `#f5f0e8`) so the section flows visually into the previous one without
   a visible cream/white boundary at the top edge. The bottom edge is
   handled by suppressing the legacy `.cta::before/::after` decorations
   (see below) and dropping the footer's hairline `border-top` on the
   homepage. */
.cta {
  background-color: #f5f0e8;
  width: 100%;
  position: relative;
  clear: both;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 10 !important;
  margin: 0;
  padding: 0;
  min-height: 400px;
}

/* The global `site-style.css` defines `.cta::before` / `.cta::after` as
   2px-tall absolutely-positioned bars at `bottom: 2px` of any `.cta`
   element. Those rules are intended for legacy `.cta` button links —
   on this section they paint a faint olive line just above the footer.
   Neutralise them here. */
.cta::before,
.cta::after {
  content: none !important;
  display: none !important;
}

/* Container */
.cta__container {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: 1fr;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  visibility: visible;
  opacity: 1;
  gap: 0;
}

/* Image */
.cta__image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.cta__image {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
  display: block;
  box-sizing: border-box;
}

/* Content */
.cta__content {
  width: 100%;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #f5f0e8;
  position: relative;
  visibility: visible;
  opacity: 1;
  box-sizing: border-box;
}

/* Typography – match bottom CTA spec: dark charcoal heading/links, medium grey body */
.cta__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: #45483b;
  margin: 0 0 24px;
  line-height: 1.2;
}

.cta__text,
.cta__attributes {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #45483b;
  line-height: 1.6;
}

.cta__text {
  margin: 0 0 16px;
}

.cta__attributes {
  margin: 0 0 32px;
}

/* Links – dark charcoal, bold, underlined */
.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta__tel,
.cta__link {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #45483b;
  text-decoration: underline;
  text-underline-offset: 3px;
  display: inline-block;
  transition: color 0.2s ease;
}

.cta__tel:hover,
.cta__link:hover {
  color: #45483b;
}

/* Global `site-style.css` paints any `a[class*="cta"][href*="/contact"]`
   with `background-color: #ffd26c !important;`, which turned the
   "Visit the contact us page" link into a yellow pill. The global
   selector is `(0,2,1)` (1 type + 2 attribute selectors), so we have to
   match or beat that specificity to win the cascade. `.cta__contact
   a.cta__link` is `(0,2,1)` (2 classes + 1 type) — same specificity, but
   this inline `<style>` block is in the body so it loads after
   `site-style.css` in the head and wins by document order. */
.cta__contact a.cta__link,
.cta__contact a.cta__link:hover,
.cta__contact a.cta__link:focus,
.cta__contact a.cta__link:active {
  background-color: transparent !important;
}

/* The global footer carries a 1px hairline `border-top: 1px solid #f1f1ed`
   from `site-style.css`. On the cream homepage CTA that hairline shows up
   as a subtle horizontal line under the section. Drop it on the homepage
   only (other templates that rely on the divider are unaffected). */
body.page-template-page-homepage-v2-php .footer {
  border-top: 0;
}

/* Desktop - Ensure 50/50 split */
@media (min-width: 769px) {
  .cta__container {
    grid-template-columns: 50% 50%;
    gap: 0;
  }
  
  .cta__image-wrapper {
    width: 100%;
    max-width: 100%;
  }
  
  .cta__content {
    width: 100%;
    max-width: 100%;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .cta__container {
    grid-template-columns: 1fr;
  }

  .cta__image {
    min-height: 300px;
  }

  .cta__content {
    padding: 40px 24px;
  }

  .cta__heading {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .cta__text,
  .cta__attributes {
    font-size: 16px;
  }

  .cta__attributes {
    margin-bottom: 24px;
  }

  .cta__tel,
  .cta__link {
    font-size: 16px;
  }
}

/* Respect reduced-motion: static layouts, no animated carousels or scroll-snap jumps */
@media (prefers-reduced-motion: reduce) {
  .addictions-we-treat__grid,
  .instagram-shorts__track,
  .innovative-programme__cards {
    scroll-snap-type: none;
    scroll-behavior: auto;
  }

  .outcomes__track,
  .outcomes__slide,
  .outcomes__progress-bar,
  .outcomes__indicator,
  .addictions-we-treat__card,
  .instagram-shorts__card,
  .innovative-programme__card,
  .why-choose-delamere__feature,
  .media-banner__logo-item {
    transition: none !important;
    animation: none !important;
  }

  .outcomes__carousel {
    cursor: default;
  }

  .faqs__answer,
  .faqs__icon,
  .faqs__item {
    transition: none !important;
  }
}
