/*
 * Shared styles for the SEO content added to the Webflow pages.
 *
 * 1. .aws-* sections reuse the exact design of the existing /areas-we-serve
 *    page (colours, Montserrat headings, Space Grotesk body text, pill
 *    buttons). That page's own embed also resets margins on every element
 *    of the page; here the reset is scoped to the SEO sections only, so the
 *    rest of each page is untouched.
 * 2. .article-body gives journal articles real headings and paragraphs while
 *    keeping the look of the existing articles (grey left rule, 18px text).
 *    The Webflow theme makes all <p> white, so colour is reset here.
 */

/* ---------- 1. SEO sections (from /areas-we-serve) ---------- */
.aws-page *, .aws-page *::before, .aws-page *::after { box-sizing: border-box; margin: 0; padding: 0; }
.aws-page { font-family: "Space Grotesk", sans-serif; color: #1b1b1b; }
.aws-section { padding: 7.5rem 5%; }
.aws-container { max-width: 1200px; margin: 0 auto; }

.aws-label {
  font-family: Montserrat, sans-serif; font-size: 11.2px; font-weight: 500;
  letter-spacing: 4.5px; text-transform: uppercase; color: #6b6b6b; margin-bottom: 1.5rem;
}

.aws-intro { background: #ede6d6; text-align: center; }
.aws-intro h2, .aws-intro h3 {
  font-family: Montserrat, sans-serif; font-size: 2.2rem; font-weight: 500; line-height: 1.1;
  text-transform: uppercase; color: #1b1b1b; margin-bottom: 1.5rem;
}
.aws-intro p {
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 400; line-height: 27px;
  letter-spacing: 4.5px; color: #333; max-width: 750px; margin: 0 auto 1.5rem;
}
.aws-intro p:last-child { margin-bottom: 0; }

.aws-grid-section { background: #f5f0e8; }
.aws-grid-section.aws-on-cream { background: #ede6d6; }
.aws-grid-section h2, .aws-grid-section.aws-text h3 {
  font-family: Montserrat, sans-serif; font-size: 2.2rem; font-weight: 500; line-height: 1.1;
  text-transform: uppercase; color: #1b1b1b; text-align: center; margin-bottom: 1rem;
}
.aws-grid-section > .aws-container > p {
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 400; line-height: 27px;
  letter-spacing: 4.5px; color: #333; text-align: center; max-width: 650px; margin: 0 auto 3rem;
}
.aws-grid-section.aws-text > .aws-container > p { max-width: 750px; margin-bottom: 1.5rem; }
.aws-grid-section.aws-text > .aws-container > p:last-child { margin-bottom: 0; }
.aws-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.aws-card {
  background: #fff; border-radius: 12px; padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.aws-on-cream .aws-card { background: #f5f0e8; }
.aws-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.aws-card h3 {
  font-family: Montserrat, sans-serif; font-size: 1.1rem; font-weight: 500;
  text-transform: uppercase; color: #1b1b1b; margin-bottom: 0.5rem;
}
.aws-card p {
  font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 400; line-height: 22px;
  letter-spacing: 2px; color: #555; margin-bottom: 1.25rem;
}
.aws-card p:last-child { margin-bottom: 0; }
.aws-card-link {
  display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 400;
  letter-spacing: 4.5px; text-transform: uppercase; text-decoration: none; color: #1b1b1b;
  border: 1px solid #1b1b1b; border-radius: 50px; padding: 9px 24px;
  transition: background 0.3s ease, color 0.3s ease;
}
.aws-card-link:hover { background: #1b1b1b; color: #ede6d6; }

.aws-services { background: #1b1b1b; text-align: center; }
.aws-services h2, .aws-services h3 {
  font-family: Montserrat, sans-serif; font-size: 2.2rem; font-weight: 500; line-height: 1.1;
  text-transform: uppercase; color: #ede6d6; margin-bottom: 1rem;
}
.aws-services p {
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 400; line-height: 27px;
  letter-spacing: 4.5px; color: #ede6d6; max-width: 700px; margin: 0 auto 1.5rem;
}
.aws-services .aws-pills { margin-top: 2.5rem; }
.aws-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.aws-pill {
  display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 18px; font-weight: 400;
  letter-spacing: 4.5px; text-transform: uppercase; text-decoration: none; color: #ede6d6;
  border: 1px solid #ede6d6; border-radius: 50px; padding: 9px 30px;
  transition: background 0.3s ease, color 0.3s ease;
}
.aws-pill:hover { background: #ede6d6; color: #1b1b1b; }

.aws-map-section { background: #ede6d6; }
.aws-map-section h2 {
  font-family: Montserrat, sans-serif; font-size: 2.2rem; font-weight: 500; line-height: 1.1;
  text-transform: uppercase; color: #1b1b1b; text-align: center; margin-bottom: 1rem;
}
.aws-map-section > .aws-container > p {
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 400; line-height: 27px;
  letter-spacing: 4.5px; color: #333; text-align: center; max-width: 650px; margin: 0 auto 1.5rem;
}
.aws-map-section > .aws-container > p:last-of-type { margin-bottom: 2.5rem; }
.aws-map-wrap { border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.aws-map-wrap iframe { width: 100%; height: 450px; border: 0; display: block; }

.aws-cta { background: #1b1b1b; text-align: center; }
.aws-cta h2 {
  font-family: Montserrat, sans-serif; font-size: 2.2rem; font-weight: 500; line-height: 1.1;
  text-transform: uppercase; color: #fff; margin-bottom: 1rem;
}
.aws-cta p {
  font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 400; line-height: 27px;
  letter-spacing: 4.5px; color: #ede6d6; max-width: 600px; margin: 0 auto 2.5rem;
}
.aws-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.aws-btn-primary {
  display: inline-block; font-family: "Space Grotesk", sans-serif; font-size: 16px; font-weight: 400;
  letter-spacing: 4.5px; text-transform: uppercase; text-decoration: none; background: #fff; color: #000;
  border-radius: 100px; padding: 9px 15px; transition: background 0.3s ease, color 0.3s ease;
}
.aws-btn-primary:hover { background: #ede6d6; color: #1b1b1b; }

/* Safety note box */
.aws-note {
  max-width: 820px; margin: 0 auto; border: 1px solid rgba(0,0,0,0.15); border-radius: 12px;
  padding: 2.5rem 2rem; background: #f5f0e8;
}
.aws-note-section .aws-note h2 { font-size: 1.4rem; margin-bottom: 1rem; }
.aws-note-section .aws-note p { font-size: 14px; line-height: 25px; letter-spacing: 2px; }

/* Inline links inside SEO text */
.aws-page p a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.aws-page p a:hover { opacity: 0.75; }

@media (max-width: 991px) {
  .aws-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .aws-section { padding: 4rem 5%; }
  .aws-intro h2, .aws-intro h3, .aws-grid-section h2, .aws-services h2,
  .aws-map-section h2, .aws-cta h2, .aws-grid-section.aws-text h3 { font-size: 1.7rem; }
  .aws-intro p, .aws-grid-section > .aws-container > p, .aws-services p,
  .aws-map-section > .aws-container > p, .aws-cta p { letter-spacing: 2.5px; }
  .aws-grid { grid-template-columns: 1fr; }
  .aws-pill { font-size: 14px; padding: 8px 20px; letter-spacing: 3px; }
  .aws-map-wrap iframe { height: 300px; }
  .aws-note { padding: 2rem 1.25rem; }
}

/* ---------- 2. Journal article body ---------- */
.article-body h2, .article-body h3, .article-body p, .article-body ul, .article-body ol {
  border-left: 5px solid #e2e2e2; margin: 0 0 10px; padding: 10px 20px;
  font-family: inherit; font-size: 18px; line-height: 22px; letter-spacing: normal;
  text-transform: none; color: inherit;
}
.article-body h2, .article-body h3 { font-weight: 600; }
.article-body h2 { margin-top: 30px; }
.article-body ul, .article-body ol { padding-left: 44px; }
.article-body li { margin-bottom: 6px; }
.article-body li:last-child { margin-bottom: 0; }
.article-body a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.article-body strong { text-transform: none; font-size: inherit; font-weight: 600; }
.article-body .article-sources, .article-body .article-sources li { font-size: 15px; line-height: 20px; }
.article-body .article-note { font-size: 16px; line-height: 21px; }

/* ---------- 3. Extra photos for the image blocks and heroes on new service pages ---------- */
/* Same .div-block-52 / .header-2 layout as /contrast-therapy; only the photo changes. */
.div-block-52.seo-bg-plunge-guest { background-image: url("/assets/images/seo-cold-plunge-guest.jpg"); background-position: 50% 50%; }
.div-block-52.seo-bg-plunge-calm { background-image: url("/assets/images/seo-cold-plunge-calm.jpg"); background-position: 50% 40%; }
.div-block-52.seo-bg-plunge-room { background-image: url("/assets/images/seo-cold-plunge-room.jpg"); background-position: 50% 50%; }
.div-block-52.seo-bg-red-room { background-image: url("/assets/images/seo-red-lit-plunge-room.jpg"); background-position: 50% 50%; }
.div-block-52.seo-bg-pilates-reformer { background-image: url("/assets/images/seo-pilates-reformer.jpg"); background-position: 50% 30%; }
.div-block-52.seo-bg-pilates-room { background-image: url("/assets/images/seo-pilates-room.jpg"); background-position: 50% 50%; }
.div-block-52.seo-bg-sauna-pair { background-image: url("/assets/images/seo-sauna-pair.jpg"); background-position: 50% 50%; }
.div-block-52.seo-bg-lounge-pair { background-image: url("/assets/images/seo-lounge-pair.jpg"); background-position: 50% 40%; }
.header-2.ct._1.seo-hero-red-room {
  background-image: linear-gradient(#0000006b, #0000006b), url("/assets/images/seo-red-lit-plunge-room.jpg");
  background-position: 0 0, 50% 50%; background-size: auto, cover; background-repeat: repeat, no-repeat;
}
.header-2.ct._1.seo-hero-sauna {
  background-image: linear-gradient(#0000006b, #0000006b), url("/assets/images/seo-sauna-group.jpg");
  background-position: 0 0, 50% 50%; background-size: auto, cover; background-repeat: repeat, no-repeat;
}
.header-2.ct._1.seo-hero-plunge {
  background-image: linear-gradient(#0000006b, #0000006b), url("/assets/images/seo-cold-plunge-room.jpg");
  background-position: 0 0, 50% 50%; background-size: auto, cover; background-repeat: repeat, no-repeat;
}

/* ---------- 4. Match the core pages' typography ----------
 * The rules in section 1 came from /areas-we-serve, whose embed uses wider
 * letter-spacing and smaller headings than the rest of the site. Here the SEO
 * sections take the exact values of the native sections on /contrast-therapy
 * and /reformer-pilates (measured in the browser):
 *   section heading  Montserrat 500 uppercase 41.6px (27.2px on phones), #000
 *   body copy        Space Grotesk 14.4px, letter-spacing 0.1em, #000
 *   buttons          Space Grotesk uppercase, normal letter-spacing
 *   small labels     Montserrat 600 13px, letter-spacing 4px (as the FAQ title)
 * These selectors are more specific than the embed on /areas-we-serve, so that
 * page now matches the rest of the site too.
 */
.aws-page { color: #000; }
.aws-page .aws-intro h2, .aws-page .aws-intro h3, .aws-page .aws-grid-section h2,
.aws-page .aws-grid-section.aws-text h3, .aws-page .aws-services h2, .aws-page .aws-services h3,
.aws-page .aws-map-section h2, .aws-page .aws-cta h2 {
  font-family: Montserrat, sans-serif; font-size: 2.6rem; font-weight: 500; line-height: 1;
  letter-spacing: normal; text-transform: uppercase;
}
.aws-page .aws-intro h2, .aws-page .aws-intro h3, .aws-page .aws-grid-section h2,
.aws-page .aws-grid-section.aws-text h3, .aws-page .aws-map-section h2 { color: #000; }
.aws-page .aws-intro p, .aws-page .aws-grid-section > .aws-container > p,
.aws-page .aws-services p, .aws-page .aws-map-section > .aws-container > p, .aws-page .aws-cta p {
  font-family: "Space Grotesk", sans-serif; font-size: 14.4px; line-height: 1.6; letter-spacing: 0.1em;
}
.aws-page .aws-intro p, .aws-page .aws-grid-section > .aws-container > p,
.aws-page .aws-map-section > .aws-container > p { color: #000; }
.aws-page .aws-label { font-family: Montserrat, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 4px; color: #000; }
.aws-page .aws-services .aws-label, .aws-page .aws-cta .aws-label { color: #ede6d6; }
.aws-page .aws-card h3 { font-size: 1.1rem; font-weight: 500; letter-spacing: normal; color: #000; }
.aws-page .aws-card p { font-size: 12.8px; line-height: 1.5; letter-spacing: 0.1em; color: #000; }
.aws-page .aws-card-link, .aws-page .aws-pill, .aws-page .aws-btn-primary { letter-spacing: normal; }
.aws-page .aws-card-link { font-size: 14.4px; padding: 8px 22px; }
.aws-page .aws-pill { font-size: 16px; }
.aws-page .aws-btn-primary { font-size: 18px; padding: 9px 24px; }
.aws-page .aws-note-section .aws-note h2 { font-size: 1.6rem; }
.aws-page .aws-note-section .aws-note p { font-size: 14.4px; line-height: 1.6; letter-spacing: 0.1em; }
@media (max-width: 991px) {
  .aws-page .aws-btn-primary { font-size: 16px; }
}
@media (max-width: 600px) {
  .aws-page .aws-intro h2, .aws-page .aws-intro h3, .aws-page .aws-grid-section h2,
  .aws-page .aws-grid-section.aws-text h3, .aws-page .aws-services h2, .aws-page .aws-services h3,
  .aws-page .aws-map-section h2, .aws-page .aws-cta h2 { font-size: 1.7rem; }
  .aws-page .aws-intro p, .aws-page .aws-grid-section > .aws-container > p,
  .aws-page .aws-services p, .aws-page .aws-map-section > .aws-container > p, .aws-page .aws-cta p { letter-spacing: 0.1em; }
  .aws-page .aws-btn-primary { font-size: 14.4px; }
  .aws-page .aws-pill { font-size: 14px; letter-spacing: normal; }
}

/* ---------- 5. Fixes for layout bugs in the original Webflow build ----------
 * /sudo-experience "Highlights": each text block had a fixed height of 23vh
 * with its text centred, so on screens under about 1,000px tall the text
 * spilled out over the heading above and the next block below. Let each block
 * grow to fit its text (desktop layout only; tablet and phone already used
 * height: auto).
 */
@media (min-width: 992px) {
  .teaser-copy-wrap { height: auto; min-height: 23vh; padding-top: 32px; padding-bottom: 32px; }
  .teaser-copy-wrap.top { padding-top: 12px; }
  .teaser-column .hl { margin-bottom: 8px; }
}

/* Image and text blocks on the new service pages: their headings can wrap to
   two lines, which the template's 66px line-height spaces far apart. */
.div-block-53 h2.seo-block-title { line-height: 1.15; }

/* Homepage hero: the background video was positioned from the top of the page
   while the hero box starts below the top of the nav, so the video stopped
   about 25 to 30px short and a white strip showed above the "Download our app"
   banner. Positioning the hero box makes the video fill it exactly. */
.above-fold-home { position: relative; }
