/* V189 — Source-mapped Knowledge, Homeowners Guide and Toothill Hub.
   Original reference: V161 styles.css and homeowners-guide.html embedded CSS.
   All styles scoped to Stage 7 only; existing approved pages are unchanged.
   WordPress QNAP may add .wp-block-group__inner-container wrappers. */
main.oc-stage7-page {
  --oc-s7-width:1100px; --oc-s7-gutter:clamp(18px,4vw,48px);
  color:#25292b; background:#fff; font-family:Arial,Helvetica,sans-serif;
  font-size:16px; line-height:1.6; width:100%;max-width:none;overflow:clip;
}
.oc-stage7-page *, .oc-stage7-page *::before, .oc-stage7-page *::after {box-sizing:border-box;}
.oc-stage7-page .wp-block-group,.oc-stage7-page .wp-block-group__inner-container {max-width:none;box-sizing:border-box;}
.oc-stage7-page .wp-block-group,.oc-stage7-page .wp-block-image {margin-block:0!important;}
.oc-stage7-page .wp-block-group__inner-container > :first-child {margin-block-start:0!important;}
.oc-stage7-page a {color:#137f7d;text-decoration:none;}
.oc-stage7-page a:hover {text-decoration:underline;}
.oc-stage7-page .oc-s7-wrap.wp-block-group,.oc-stage7-page .oc-s7-breadcrumbs.wp-block-group,
.oc-stage7-page .oc-s7-bottomcta .oc-s7-wrap.wp-block-group {
  width:min(var(--oc-s7-width),calc(100% - 2*var(--oc-s7-gutter)))!important;
  max-width:none!important;margin-inline:auto!important;padding:0!important;
}
/* Original V161 internal hero: height:min(64vh,620px); min-height:440px. */
.oc-stage7-page .oc-s7-hero.wp-block-group {
  position:relative!important;width:100%!important;max-width:none!important;
  height:clamp(440px,64vh,620px)!important;min-height:440px!important;max-height:620px!important;
  background:#222!important;margin:0!important;padding:0!important;overflow:hidden!important;
}
.oc-stage7-page .oc-s7-hero > .wp-block-group__inner-container {
  width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
.oc-stage7-page .oc-s7-hero > figure.oc-s7-image,
.oc-stage7-page .oc-s7-hero > .wp-block-group__inner-container > figure.oc-s7-image {
  position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  max-width:none!important;margin:0!important;padding:0!important;
}
.oc-stage7-page .oc-s7-hero figure.oc-s7-image img {
  display:block!important;width:100%!important;height:100%!important;max-width:none!important;
  object-fit:cover!important;object-position:center center!important;
  filter:grayscale(65%) brightness(.58)!important;
}
.oc-stage7-page .oc-s7-hero .oc-s7-hero-copy.wp-block-group {
  position:absolute!important;z-index:2!important;bottom:50px!important;left:0!important;right:0!important;
  width:min(var(--oc-s7-width),calc(100% - 2*var(--oc-s7-gutter)))!important;
  max-width:none!important;margin:0 auto!important;padding:0!important;color:#fff!important;
}
.oc-stage7-page .oc-s7-hero h1.wp-block-heading {
  color:#fff!important;font-size:clamp(36px,5vw,62px)!important;line-height:1.1!important;
  font-weight:400!important;margin:10px 0!important;max-width:900px!important;
}
.oc-stage7-page .oc-s7-eyebrow {
  font-size:12px!important;line-height:1.6!important;color:#39c2c6!important;
  font-weight:700!important;text-transform:uppercase!important;letter-spacing:.18em!important;
  margin:0 0 10px!important;
}
.oc-stage7-page .oc-s7-breadcrumbs.wp-block-group {padding:14px 0!important;}
.oc-stage7-page .oc-s7-breadcrumbs p {margin:0!important;font-size:12px!important;color:#647171!important;line-height:1.6!important;}
.oc-stage7-page .oc-s7-breadcrumbs a {color:inherit!important;text-decoration:underline!important;}
.oc-stage7-page .oc-s7-section.wp-block-group {
  display:block!important;background:#fff!important;width:100%!important;max-width:none!important;
  padding:72px 0!important;margin:0!important;
}
.oc-stage7-page .oc-s7-section h2.wp-block-heading {
  color:#25292b!important;font-size:clamp(28px,3vw,38px)!important;font-weight:400!important;
  line-height:1.22!important;margin:0 0 20px!important;max-width:800px!important;
}
.oc-stage7-page .oc-s7-section h3.wp-block-heading {font-size:23px!important;line-height:1.3!important;font-weight:500!important;margin:0 0 12px!important;}
.oc-stage7-page .oc-s7-section p:not(.oc-s7-eyebrow) {
  color:#25292b!important;font-size:16px!important;line-height:1.7!important;
  max-width:none!important;margin:0 0 18px!important;
}
.oc-stage7-page .oc-s7-section p.oc-s7-lede,
.oc-stage7-page .oc-s7-section p.oc-s7-intro,
.oc-stage7-page .oc-s7-section p.oc-s7-toothill-lead {
  font-size:19px!important;line-height:1.65!important;color:#4a5151!important;
}
.oc-stage7-page .oc-s7-section .oc-s7-eyebrow {margin:0 0 10px!important;}
.oc-stage7-page .oc-s7-section ul {margin:18px 0 24px!important;padding-left:22px!important;}
.oc-stage7-page .oc-s7-section li {font-size:16px!important;line-height:1.65!important;padding:3px 0!important;}
.oc-stage7-page .oc-s7-section figure.oc-s7-image {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
.oc-stage7-page .oc-s7-section figure.oc-s7-image img {display:block!important;width:100%!important;max-width:none!important;}
.oc-stage7-page .oc-s7-knowledge-intro .oc-s7-wrap.wp-block-group {max-width:1050px!important;}
.oc-stage7-page .oc-s7-knowledge-intro .oc-s7-lede {max-width:820px!important;}
/* Original .oc-guide-layout: 50/50 columns, 440px image, alternating image side. */
/* V190: keep the alternating two-column guide INSIDE the 1100px editorial
   measure. V189 mistakenly set width:100% here, overriding .oc-s7-wrap and
   stretching each half-width photograph to half the full viewport. */
.oc-stage7-page.oc-stage7-knowledge .oc-s7-guide-row.wp-block-group {
  display:block!important;
  width:min(var(--oc-s7-width),calc(100% - 2*var(--oc-s7-gutter)))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
}
.oc-stage7-page:not(.oc-stage7-knowledge) .oc-s7-guide-row.wp-block-group {display:block!important;width:100%!important;margin:0!important;padding:0!important;}
.oc-stage7-page .oc-s7-guide-row:not(:has(> .wp-block-group__inner-container)),
.oc-stage7-page .oc-s7-guide-row > .wp-block-group__inner-container {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(28px,5vw,85px)!important;align-items:center!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
.oc-stage7-page .oc-s7-guide-row .oc-s7-visual.wp-block-group,
.oc-stage7-page .oc-s7-guide-row .oc-s7-copy.wp-block-group {min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;}
.oc-stage7-page .oc-s7-guide-row .oc-s7-visual figure.oc-s7-image img {height:440px!important;object-fit:cover!important;}
.oc-stage7-page .oc-s7-guide-row.oc-s7-reverse .oc-s7-visual {order:2!important;}
.oc-stage7-page .oc-s7-guide-row.oc-s7-reverse .oc-s7-copy {order:1!important;}
.oc-stage7-page .oc-s7-guide-row .oc-s7-copy h2.wp-block-heading {margin:10px 0 16px!important;}
.oc-stage7-page .oc-s7-guide-row .oc-s7-copy p {line-height:1.7!important;}
.oc-stage7-page .oc-s7-guide-row .oc-s7-copy .oc-s7-button-row {margin:18px 0 0!important;}
.oc-stage7-page .oc-s7-btn {display:inline-block!important;background:#39aaa8!important;color:#fff!important;
  padding:13px 21px!important;font-size:13px!important;font-weight:700!important;
  text-decoration:none!important;transition:background-color .2s ease!important;}
.oc-stage7-page .oc-s7-btn:hover,.oc-stage7-page .oc-s7-btn:focus-visible {background:#168f99!important;color:#fff!important;text-decoration:none!important;}
/* Homeowners guide: original V137 9 topic rows, 320px photos with alternating sides. */
.oc-stage7-page .oc-s7-homeowners .oc-s7-intro {font-size:19px!important;line-height:1.65!important;}
.oc-stage7-page .oc-s7-homeowners .oc-s7-guide-topic.wp-block-group {
  padding:40px 0!important;border-bottom:1px solid #ddd!important;margin:0!important;
}
.oc-stage7-page .oc-s7-homeowners .oc-s7-guide-topic:not(:has(> .wp-block-group__inner-container)),
.oc-stage7-page .oc-s7-homeowners .oc-s7-guide-topic > .wp-block-group__inner-container {align-items:start!important;}
.oc-stage7-page .oc-s7-homeowners .oc-s7-guide-topic .oc-s7-visual figure.oc-s7-image img {
  height:clamp(250px,29vw,370px)!important;object-fit:cover!important;
}
.oc-stage7-page .oc-s7-homeowners .oc-s7-guide-topic .oc-s7-copy h2.wp-block-heading {margin:0 0 12px!important;}
.oc-stage7-page .oc-s7-jump.wp-block-group {display:block!important;margin:24px 0!important;}
.oc-stage7-page .oc-s7-jump:not(:has(> .wp-block-group__inner-container)),
.oc-stage7-page .oc-s7-jump > .wp-block-group__inner-container {
  display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:stretch!important;
}
.oc-stage7-page .oc-s7-jump p.oc-s7-jump-link {margin:0!important;line-height:1.5!important;}
.oc-stage7-page .oc-s7-jump a {display:block!important;padding:9px 13px!important;border:1px solid #b9c7c9!important;
  border-radius:4px!important;color:#137f7d!important;text-decoration:none!important;transition:border-color .2s ease!important;}
.oc-stage7-page .oc-s7-jump a:hover,.oc-stage7-page .oc-s7-jump a:focus-visible {border-color:#1f999f!important;text-decoration:none!important;}
.oc-stage7-page .oc-s7-soft.wp-block-group {background:#eff6f5!important;padding:22px 27px!important;border-left:4px solid #2e9194!important;margin:22px 0!important;}
.oc-stage7-page .oc-s7-soft p {margin:0!important;}
.oc-stage7-page .oc-s7-contact-call.wp-block-group {background:#172d34!important;color:#fff!important;padding:32px!important;margin:32px 0!important;}
.oc-stage7-page .oc-s7-contact-call h2.wp-block-heading {color:#fff!important;}
.oc-stage7-page .oc-s7-contact-call p {color:#fff!important;}
.oc-stage7-page .oc-s7-contact-call a {color:#8ce5e1!important;}
/* Toothill original: intro 1100, 4 facts, 50/50 alternating story rows. */
.oc-stage7-page .oc-s7-toothill-intro.wp-block-group,
.oc-stage7-page .oc-s7-toothill-story.wp-block-group {max-width:1100px!important;width:100%!important;margin:0 auto!important;}
.oc-stage7-page .oc-s7-toothill-intro.wp-block-group {margin-bottom:52px!important;}
.oc-stage7-page .oc-s7-toothill-intro h2.wp-block-heading {font-size:clamp(32px,4vw,56px)!important;line-height:1.15!important;margin:12px 0 16px!important;max-width:none!important;}
.oc-stage7-page .oc-s7-toothill-facts.wp-block-group {margin:32px 0 0!important;border-block:1px solid #d9d9d9!important;padding:21px 0!important;}
.oc-stage7-page .oc-s7-toothill-facts:not(:has(> .wp-block-group__inner-container)),
.oc-stage7-page .oc-s7-toothill-facts > .wp-block-group__inner-container {
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;
}
.oc-stage7-page .oc-s7-toothill-facts p.oc-s7-fact {font-size:14px!important;line-height:1.5!important;margin:0!important;}
.oc-stage7-page .oc-s7-toothill-facts strong {display:block!important;font-size:12px!important;letter-spacing:.06em!important;text-transform:uppercase!important;margin-bottom:6px!important;}
.oc-stage7-page .oc-s7-toothill-feature.wp-block-group {display:block!important;margin:52px 0 64px!important;}
.oc-stage7-page .oc-s7-toothill-feature:not(:has(> .wp-block-group__inner-container)),
.oc-stage7-page .oc-s7-toothill-feature > .wp-block-group__inner-container {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:clamp(24px,4vw,56px)!important;align-items:center!important;
}
.oc-stage7-page .oc-s7-toothill-feature figure.oc-s7-image {min-width:0!important;}
.oc-stage7-page .oc-s7-toothill-feature figure.oc-s7-image img {display:block!important;width:100%!important;height:auto!important;max-height:480px!important;object-fit:contain!important;border-radius:3px!important;}
.oc-stage7-page .oc-s7-toothill-feature figure.oc-s7-image figcaption {font-size:13px!important;line-height:1.5!important;color:#666!important;margin:10px 0 0!important;text-align:left!important;}
.oc-stage7-page .oc-s7-toothill-feature .oc-s7-toothill-copy.wp-block-group {min-width:0!important;margin:0!important;padding:0!important;}
.oc-stage7-page .oc-s7-toothill-feature.oc-s7-reverse figure.oc-s7-image {order:2!important;}
.oc-stage7-page .oc-s7-toothill-feature.oc-s7-reverse .oc-s7-toothill-copy {order:1!important;}
.oc-stage7-page .oc-s7-toothill-feature .oc-s7-toothill-copy h2.wp-block-heading {font-size:clamp(25px,2.6vw,35px)!important;line-height:1.22!important;margin:0 0 18px!important;}
.oc-stage7-page .oc-s7-toothill-text.wp-block-group {max-width:850px!important;margin:52px auto!important;}
.oc-stage7-page .oc-s7-toothill-text h2.wp-block-heading {font-size:clamp(25px,2.6vw,35px)!important;margin:0 0 16px!important;}
/* Original bottom CTA. */
.oc-stage7-page .oc-s7-bottomcta.wp-block-group {display:block!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:55px 0!important;background:#243033!important;color:#fff!important;}
.oc-stage7-page .oc-s7-bottomcta h2.wp-block-heading {font-size:32px!important;color:#fff!important;font-weight:400!important;margin:0 0 16px!important;}
.oc-stage7-page .oc-s7-bottomcta p {color:#ddd!important;font-size:16px!important;line-height:1.7!important;max-width:760px!important;margin:0 0 18px!important;}
.oc-stage7-page .oc-s7-bottomcta a.oc-s7-btn {color:#fff!important;}
@media(max-width:760px) {
  .oc-stage7-page .oc-s7-section.wp-block-group {padding:52px 0!important;}
  .oc-stage7-page .oc-s7-guide-row:not(:has(> .wp-block-group__inner-container)),
  .oc-stage7-page .oc-s7-guide-row > .wp-block-group__inner-container,
  .oc-stage7-page .oc-s7-toothill-feature:not(:has(> .wp-block-group__inner-container)),
  .oc-stage7-page .oc-s7-toothill-feature > .wp-block-group__inner-container {grid-template-columns:1fr!important;gap:24px!important;}
  .oc-stage7-page .oc-s7-guide-row.oc-s7-reverse .oc-s7-visual,
  .oc-stage7-page .oc-s7-guide-row.oc-s7-reverse .oc-s7-copy,
  .oc-stage7-page .oc-s7-toothill-feature.oc-s7-reverse figure.oc-s7-image,
  .oc-stage7-page .oc-s7-toothill-feature.oc-s7-reverse .oc-s7-toothill-copy {order:initial!important;}
  .oc-stage7-page .oc-s7-guide-row .oc-s7-visual figure.oc-s7-image img {height:280px!important;}
  .oc-stage7-page .oc-s7-homeowners .oc-s7-guide-topic .oc-s7-visual figure.oc-s7-image img {height:clamp(220px,58vw,340px)!important;}
  .oc-stage7-page .oc-s7-toothill-facts:not(:has(> .wp-block-group__inner-container)),
  .oc-stage7-page .oc-s7-toothill-facts > .wp-block-group__inner-container {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:480px){
  .oc-stage7-page .oc-s7-hero h1.wp-block-heading {font-size:36px!important;}
  .oc-stage7-page .oc-s7-section h2.wp-block-heading {font-size:28px!important;}
}

/* V191 — precise fixes scoped to Stage 7; no effect on approved pages. */
/* Knowledge: remove the double section-padding gap after the introduction.
   V161 separates the introductory copy and image grid as one continuous editorial composition. */
.oc-stage7-page.oc-stage7-knowledge .oc-s7-knowledge-intro.wp-block-group {
  padding-top:54px!important;
  padding-bottom:16px!important;
}
.oc-stage7-page.oc-stage7-knowledge .oc-s7-knowledge-intro .oc-s7-lede {
  margin-bottom:0!important;
}
.oc-stage7-page.oc-stage7-knowledge .oc-s7-knowledge-section.wp-block-group {
  padding-top:28px!important;
  padding-bottom:50px!important;
}
/* Homeowners' jump links: restore an unmistakable colour change on hover
   and keyboard focus, including when WP/theme link styles have higher specificity. */
.oc-stage7-page.oc-stage7-homeowners .oc-s7-homeowners .oc-s7-jump .oc-s7-jump-link a,
.oc-stage7-page.oc-stage7-homeowners .oc-s7-homeowners .oc-s7-jump .oc-s7-jump-link a:visited {
  background-color:#fff!important;
  color:#25383a!important;
  border-color:#b9c7c9!important;
  transition:background-color .18s ease,color .18s ease,border-color .18s ease!important;
}
.oc-stage7-page.oc-stage7-homeowners .oc-s7-homeowners .oc-s7-jump .oc-s7-jump-link a:hover,
.oc-stage7-page.oc-stage7-homeowners .oc-s7-homeowners .oc-s7-jump .oc-s7-jump-link a:focus-visible {
  background-color:#168f99!important;
  color:#fff!important;
  border-color:#168f99!important;
  text-decoration:none!important;
}
.oc-stage7-page.oc-stage7-homeowners .oc-s7-homeowners .oc-s7-jump .oc-s7-jump-link a:focus-visible {
  outline:2px solid #142c31!important;
  outline-offset:2px!important;
}
@media(max-width:760px){
  .oc-stage7-page.oc-stage7-knowledge .oc-s7-knowledge-intro.wp-block-group {padding-top:38px!important;padding-bottom:12px!important;}
  .oc-stage7-page.oc-stage7-knowledge .oc-s7-knowledge-section.wp-block-group {padding-top:22px!important;padding-bottom:38px!important;}
}

/* V192 — Toothill Hub: match the final V161 HTML layout rules, rather than
   the superseded early Toothill rules. Scoped exclusively to this draft. */
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-story.wp-block-group,
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-intro.wp-block-group {
  width:100%!important;max-width:1100px!important;margin-inline:auto!important;
}
/* V161's final override makes standalone story sections full editorial width,
   aligned to the left of the image-and-copy grid (not 850px centred). */
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-text.wp-block-group {
  width:100%!important;max-width:none!important;margin:0 0 64px!important;padding:0!important;
}
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-text > .wp-block-group__inner-container {
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-text h2.wp-block-heading,
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-text p {
  max-width:none!important;margin-left:0!important;margin-right:0!important;
}
/* In V161, story rows are 50/50 with a 36px gutter, top aligned. */
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature.wp-block-group {
  width:100%!important;max-width:none!important;margin:0 0 64px!important;
}
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature:not(:has(> .wp-block-group__inner-container)),
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature > .wp-block-group__inner-container {
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:36px!important;align-items:start!important;
}
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature figure.oc-s7-image {
  width:100%!important;max-width:none!important;min-width:0!important;
  margin:0!important;padding:0!important;
}
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature figure.oc-s7-image img {
  width:100%!important;height:370px!important;max-height:none!important;
  object-fit:cover!important;object-position:center!important;border-radius:3px!important;
}
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature.oc-s7-reverse figure.oc-s7-image {order:2!important;}
.oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature.oc-s7-reverse .oc-s7-toothill-copy {order:1!important;}
@media(max-width:800px){
  .oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature:not(:has(> .wp-block-group__inner-container)),
  .oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature > .wp-block-group__inner-container {
    grid-template-columns:minmax(0,1fr)!important;gap:18px!important;
  }
  .oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature figure.oc-s7-image img {
    height:auto!important;max-height:440px!important;object-fit:contain!important;
  }
  .oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature.oc-s7-reverse figure.oc-s7-image,
  .oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature.oc-s7-reverse .oc-s7-toothill-copy {order:initial!important;}
  .oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-text.wp-block-group,
  .oc-stage7-page.oc-stage7-toothill .oc-s7-toothill-feature.wp-block-group {margin-bottom:48px!important;}
}
