/* Book That In support page */
.grid-section:has(.bti-support-page) {
  background: #f4f8f7 !important;
  background-image: none !important;
  padding: 0 0 64px;
  color: #263f3d;
}

.grid-section:has(.bti-support-page) > div {
  max-width: 1180px;
  margin: 28px auto 0;
  padding: 40px 48px;
  background: #ffffff;
  background-image: none !important;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(9, 74, 69, 0.08);
}

.grid-section:has(.bti-support-page) > div:first-child {
  max-width: none;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #094a45 0%, #0c756c 65%, #2aa89e 100%) !important;
  border-radius: 0;
  box-shadow: none;
}

.bti-support-hero {
  max-width: 900px;
  margin: 0 auto;
  padding: 70px 24px 64px;
  text-align: center;
  color: #ffffff;
}

.bti-support-eyebrow {
  margin: 0 0 12px;
  color: #d9f4f1;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bti-support-hero h1 {
  margin: 0 0 18px;
  color: #ffffff;
  font-size: 52px;
  line-height: 1.08;
}

.bti-support-hero h2 {
  max-width: 760px;
  margin: 0 auto 18px;
  color: #ffffff;
  font-size: 27px;
  line-height: 1.3;
}

.bti-support-hero > p:not(.bti-support-eyebrow):not(.bti-support-actions) {
  max-width: 690px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 19px;
  line-height: 1.6;
}

.bti-support-actions {
  margin: 26px 0 0;
}

.bti-support-actions .btn-lg-green {
  display: inline-block;
  margin: 6px;
}

.bti-support-actions .btn-lg-green a {
  display: inline-block;
  padding: 13px 20px;
  border-radius: 8px;
  background: #ffffff;
  color: #087c74 !important;
  text-decoration: none;
}

.grid-section:has(.bti-support-page) h1,
.grid-section:has(.bti-support-page) h2,
.grid-section:has(.bti-support-page) h3 {
  font-family: Montserrat, sans-serif;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .row {
  display: flex;
  align-items: center;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) blockquote {
  margin: 0;
  border-left: 4px solid #2aa89e;
  color: #315956;
  font-size: 22px;
  line-height: 1.55;
}

.grid-section:has(.bti-support-page) > div:nth-child(3),
.grid-section:has(.bti-support-page) > div:nth-child(5) {
  padding: 20px 0 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
}

.grid-section:has(.bti-support-page) > div:nth-child(3) h1,
.grid-section:has(.bti-support-page) > div:nth-child(5) h1 {
  margin: 0;
  color: #087c74;
  font-size: 36px;
  line-height: 1.2;
}

.grid-section:has(.bti-support-page) > div:nth-child(4),
.grid-section:has(.bti-support-page) > div:nth-child(6) {
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.grid-section:has(.bti-support-page) > div:nth-child(4) .row,
.grid-section:has(.bti-support-page) > div:nth-child(6) .row {
  display: flex;
  flex-wrap: wrap;
}

.grid-section:has(.bti-support-page) > div:nth-child(4) .column > div,
.grid-section:has(.bti-support-page) > div:nth-child(6) .column > div {
  height: 100%;
  padding: 28px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(9, 74, 69, 0.08);
}

.grid-section:has(.bti-support-page) > div:nth-child(4) h3 {
  margin-top: 0;
  color: #087c74;
  font-size: 21px;
  line-height: 1.3;
}

.grid-section:has(.bti-support-page) > div:nth-child(6) {
  text-align: center;
}

.grid-section:has(.bti-support-page) > div:nth-child(6) img {
  display: block !important;
  width: 140px !important;
  height: 140px !important;
  max-width: 140px !important;
  margin: 0 auto 22px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.grid-section:has(.bti-support-page) > div:nth-child(6) blockquote {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  color: #315956;
  font-size: 17px;
  line-height: 1.6;
}

.bti-support-main {
  max-width: 1080px;
  margin: 0 auto;
}

.bti-support-section-title {
  margin: 0 0 28px;
  color: #087c74;
  font-size: 36px;
  line-height: 1.2;
  text-align: center;
}

.bti-support-options,
.bti-support-two-up,
.bti-support-faqs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.bti-support-option,
.bti-support-feature,
.bti-support-faqs > div {
  padding: 28px;
  background: #f4f8f7;
  border: 1px solid #dcebe9;
  border-radius: 14px;
}

.bti-support-option h3,
.bti-support-faqs h3 {
  margin: 0 0 12px;
  color: #087c74;
  font-size: 21px;
  line-height: 1.3;
}

.bti-support-option p:last-child,
.bti-support-feature p:last-child {
  margin-bottom: 0;
}

.bti-support-two-up {
  margin-top: 46px;
}

.bti-support-feature {
  background: #ffffff;
  border: 2px solid #dcebe9;
}

.bti-support-feature .bti-support-eyebrow {
  color: #087c74;
}

.bti-support-feature h2 {
  margin: 0 0 16px;
  color: #173d3a;
  font-size: 27px;
  line-height: 1.25;
}

.bti-support-hours {
  margin: 46px 0;
  padding: 30px 34px;
  background: #094a45;
  border-radius: 14px;
  color: #ffffff;
  text-align: center;
}

.bti-support-hours h2 {
  margin: 0 0 12px;
  color: #ffffff;
}

.bti-support-hours p:last-child {
  margin-bottom: 0;
}

.bti-support-faqs {
  margin-bottom: 46px;
}

.bti-support-faqs p:last-child {
  margin-bottom: 0;
}

.bti-support-form-intro {
  padding: 32px 34px;
  background: #e5f5f3;
  border-radius: 14px;
  text-align: center;
}

.bti-support-form-intro .bti-support-eyebrow {
  color: #087c74;
}

.bti-support-form-intro h2 {
  margin: 0 0 12px;
  color: #173d3a;
}

.bti-support-form-embed {
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
}

.bti-support-form-embed iframe {
  display: block;
  width: 100% !important;
  border: 0;
}

.grid-section:has(.bti-support-page) .btn-lg-green a {
  text-decoration: none;
}

.grid-section:has(.bti-support-page) a:not(.btn-lg-green a) {
  color: #087c74;
  font-weight: 700;
}

@media (max-width: 767px) {
  .grid-section:has(.bti-support-page) {
    padding-bottom: 34px;
  }

  .grid-section:has(.bti-support-page) > div {
    margin: 18px 14px 0;
    padding: 26px 20px;
    border-radius: 14px;
  }

  .grid-section:has(.bti-support-page) > div:first-child {
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .bti-support-hero {
    padding: 48px 20px 44px;
  }

  .bti-support-hero h1 {
    font-size: 38px;
  }

  .bti-support-hero h2 {
    font-size: 22px;
  }

  .bti-support-hero > p:not(.bti-support-eyebrow):not(.bti-support-actions) {
    font-size: 17px;
  }

  .bti-support-actions .btn-lg-green {
    display: block;
    margin: 10px 0;
  }

  .bti-support-actions .btn-lg-green a {
    display: block;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(2) .row,
  .grid-section:has(.bti-support-page) > div:nth-child(4) .row,
  .grid-section:has(.bti-support-page) > div:nth-child(6) .row {
    display: block;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(3),
  .grid-section:has(.bti-support-page) > div:nth-child(5) {
    margin-top: 28px;
    padding: 0 18px;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(3) h1,
  .grid-section:has(.bti-support-page) > div:nth-child(5) h1,
  .bti-support-section-title {
    font-size: 29px;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(4) .column,
  .grid-section:has(.bti-support-page) > div:nth-child(6) .column {
    margin-bottom: 16px;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(4) .column > div,
  .grid-section:has(.bti-support-page) > div:nth-child(6) .column > div {
    padding: 24px 20px;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(6) img {
    width: 112px !important;
    height: 112px !important;
    max-width: 112px !important;
  }

  .bti-support-options,
  .bti-support-two-up,
  .bti-support-faqs {
    grid-template-columns: 1fr;
  }

  .bti-support-option,
  .bti-support-feature,
  .bti-support-faqs > div {
    padding: 22px 20px;
  }

  .bti-support-two-up,
  .bti-support-hours {
    margin-top: 30px;
  }

  .bti-support-hours,
  .bti-support-form-intro {
    padding: 26px 20px;
  }

  .bti-support-form-embed iframe {
    height: 1450px;
  }
}

        

/* Keep the dedicated hero transparent inside the grid row */
.grid-section:has(.bti-support-page) > div:first-child .row,
.grid-section:has(.bti-support-page) > div:first-child [class*="col-"],
.grid-section:has(.bti-support-page) > div:first-child [class*="col-"] > div,
.grid-section:has(.bti-support-page) > div:first-child .bti-support-page,
.grid-section:has(.bti-support-page) > div:first-child .bti-support-hero {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

.grid-section:has(.bti-support-page) > div:first-child .row {
  margin: 0 !important;
}

.grid-section:has(.bti-support-page) > div:first-child [class*="col-"] {
  padding: 0 !important;
}


/* Hero action links are styled directly because the editor may remove wrapper classes */
.bti-support-actions a {
  display: inline-block !important;
  margin: 6px !important;
  padding: 13px 20px !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  color: #087c74 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

.bti-support-actions a:hover,
.bti-support-actions a:focus {
  background: #e5f5f3 !important;
  color: #094a45 !important;
}

@media (max-width: 767px) {
  .bti-support-actions a {
    display: block !important;
    margin: 10px 0 !important;
  }
}


/* Keep support-page type consistent with the Book That In homepage. */
.grid-section:has(.bti-support-page) h1,
.grid-section:has(.bti-support-page) h2,
.grid-section:has(.bti-support-page) h3 {
  font-family: 'Lato', sans-serif !important;
}

/* Give heading-to-copy relationships a little more room to breathe. */
.grid-section:has(.bti-support-page) h2,
.grid-section:has(.bti-support-page) h3 {
  margin-bottom: 18px !important;
}

/* Make the welcome and Kate Hill review an even, human 50:50 introduction. */
.grid-section:has(.bti-support-page) > div:nth-child(2) .row {
  align-items: stretch;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-4,
.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 {
  flex: 0 0 50%;
  max-width: 50%;
  width: 50%;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .column > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bti-support-team-photo {
  margin: 24px 0 0;
}

.bti-support-team-photo img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.bti-support-kate-photo {
  margin: 0 0 20px;
  text-align: center;
}

.bti-support-kate-photo img {
  display: block;
  width: 128px !important;
  height: 128px !important;
  margin: 0 auto !important;
  object-fit: cover;
  border-radius: 50%;
}

@media screen and (max-width: 767px) {
  .grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-4,
  .grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .bti-support-team-photo img {
    height: 190px;
  }
}


/* Add the real review photo without needing to alter the quote component. */
.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 blockquote::before {
  content: '';
  display: block;
  width: 128px;
  height: 128px;
  margin: 0 auto 20px;
  background: url('/media/ebxnzkyd/kate-hill-2-copy.png') center / cover no-repeat;
  border-radius: 50%;
}


/* Opening layout: testimonial first, then support philosophy and real team photo. */
.grid-section:has(.bti-support-page) > div:nth-child(2) .row {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  max-width: none;
  flex: none;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-4 {
  grid-column: 1;
  grid-row: 2;
  width: 100%;
  max-width: none;
  flex: none;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 blockquote {
  padding: 32px 40px;
  background: #e5f5f3;
  border-left: 4px solid #2aa89e;
  border-radius: 14px;
  text-align: center;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .row::after {
  content: '';
  display: block;
  grid-column: 2;
  grid-row: 2;
  min-height: 420px;
  border-radius: 14px;
  background: url('/media/jzugazh4/tim-lou-abby-xmas.jpg') center / cover no-repeat;
  box-shadow: 0 8px 24px rgba(9, 74, 69, 0.10);
}

@media screen and (max-width: 767px) {
  .grid-section:has(.bti-support-page) > div:nth-child(2) .row {
    display: flex !important;
    flex-direction: column;
    gap: 22px;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 {
    order: 1;
    width: 100%;
    max-width: none;
    flex: none;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-4 {
    order: 2;
    width: 100%;
    max-width: none;
    flex: none;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(2) .row::after {
    order: 3;
    width: 100%;
    min-height: 260px;
    background-position: center;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 blockquote {
    padding: 24px 20px;
  }
}

/* Four hero actions: two columns on larger screens, one clear stack on mobile. */
.bti-support-actions {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 26px auto 0 !important;
}

.bti-support-actions a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0 !important;
}

/* Kate Hill testimonial: compact photo-right layout on desktop. */
.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 blockquote {
  position: relative;
  min-height: 128px;
  padding: 36px 210px 36px 44px !important;
  box-sizing: border-box;
  text-align: left;
}

.grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 blockquote::before {
  position: absolute;
  top: 50%;
  right: 44px;
  margin: 0;
  transform: translateY(-50%);
}

@media screen and (max-width: 767px) {
  .bti-support-actions {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 blockquote {
    min-height: 0;
    padding: 24px 20px !important;
    text-align: center;
  }

  .grid-section:has(.bti-support-page) > div:nth-child(2) .col-md-8 blockquote::before {
    position: static;
    margin: 0 auto 20px;
    transform: none;
  }
}