/* RK menu panel — built Phase 3, 15 Sep 2026.
   Card rules are scoped `.rk-panel .rk-card` (0,2,0) on purpose: the Elementor
   kit paints every <a> #7618DF via `.elementor-kit-10 a` (0,1,1), which beats a
   bare `.rk-card`. Do not flatten these selectors.
   Design system: RK Deep Eucalypt (design post 4037). Figtree only.
   One tint per section; the booking card is the only loud element. */

.rk-panel{
  --rk-ground:#F4F8F7; --rk-surface:#FFFFFF; --rk-ink:#10221F; --rk-body:#4C5F5A;
  --rk-accent:#16645A; --rk-soft:#6FD4C1; --rk-soft-hover:#57C6B2;
  --rk-deep:#11332E; --rk-deep-ink:#0B2925; --rk-hairline:#CFDEDA;
  --card-bg:#E9EFEC; --card-em:#32453F;
  background:var(--rk-surface); border-radius:34px; padding:40px;
  display:none; gap:34px; margin-top:12px; /* closed until html.rk-menu-open; was display:grid, which painted the open menu on every page load before the body-end toggle script closed it (Rae, 5 Oct 2026) */
  font-family:"Figtree",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif;
}
.rk-panel[hidden]{display:none}

/* one tint per section — identifies the family, never rotates inside a grid */
.rk-group{display:grid; gap:14px}
.rk-group[data-sec="start"]   {--card-bg:#C4E7DD; --card-em:#16645A}
.rk-group[data-sec="help"]    {--card-bg:#E9EFEC; --card-em:#32453F}
.rk-group[data-sec="practice"]{--card-bg:#D8EAE4; --card-em:#1D6C61}
.rk-group[data-sec="where"]   {--card-bg:#DFEAD6; --card-em:#4A6B44}

.rk-group > h2{
  margin:0; font-size:13px; font-weight:700; letter-spacing:1.4px;
  text-transform:uppercase; color:var(--rk-body);
}
.rk-grid{
  display:grid; gap:12px; grid-template-columns:repeat(auto-fill,minmax(196px,1fr));
  list-style:none; margin:0; padding:0;
}
.rk-grid > li{margin:0; padding:0; list-style:none; display:flex}
.rk-group[data-sec="start"] .rk-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}

.rk-panel .rk-card{
  display:flex; flex-direction:column; gap:10px; justify-content:space-between;
  text-decoration:none; padding:22px 22px 20px; border-radius:20px;
  background:var(--card-bg); color:var(--rk-ink); min-height:104px; width:100%;
  transition:transform .16s ease;
}
.rk-panel .rk-card b{font-size:19px; font-weight:700; letter-spacing:-.35px; line-height:1.2; text-wrap:balance}
.rk-panel .rk-card em{font-style:normal; font-size:14.5px; font-weight:600; color:var(--card-em)}
.rk-panel .rk-card:hover{transform:translateY(-4px)}
.rk-panel .rk-card:hover,.rk-panel .rk-card:focus,.rk-panel .rk-card:visited,.rk-panel .rk-card:link{color:var(--rk-ink); text-decoration:none}
.rk-panel .rk-card:focus-visible,.rk-toggle:focus-visible{outline:3px solid var(--rk-accent); outline-offset:3px}

/* the one loud element */
.rk-panel .rk-card.rk-primary{background:var(--rk-soft); color:var(--rk-deep-ink)}
.rk-panel .rk-card.rk-primary em{color:var(--rk-deep-ink)}
.rk-panel .rk-card.rk-primary:hover{background:var(--rk-soft-hover); color:var(--rk-deep-ink)}

.rk-panel-foot{
  display:flex; flex-wrap:wrap; gap:8px 26px; align-items:center;
  border-top:1px solid var(--rk-hairline); padding-top:22px;
  font-size:15px; color:var(--rk-body);
}
.rk-panel .rk-panel-foot a{color:var(--rk-accent); font-weight:600; text-decoration:none}
.rk-panel .rk-panel-foot a:hover{text-decoration:underline; color:var(--rk-accent)}

.rk-toggle{
  display:inline-flex; align-items:center; gap:9px; cursor:pointer;
  font:700 15px/1 "Figtree",-apple-system,BlinkMacSystemFont,sans-serif; color:var(--rk-ink);
  background:#E9EFEC; border:none; padding:13px 17px; border-radius:999px;
}
.rk-toggle:hover{background:#C4E7DD}
.rk-toggle[aria-expanded="true"]{background:#11332E; color:#fff}
.rk-bars{display:grid; gap:4px; width:16px}
.rk-bars i{display:block; height:2px; border-radius:2px; background:currentColor; transition:transform .2s ease, opacity .2s ease}
.rk-toggle[aria-expanded="true"] .rk-bars i:nth-child(1){transform:translateY(6px) rotate(45deg)}
.rk-toggle[aria-expanded="true"] .rk-bars i:nth-child(2){opacity:0}
.rk-toggle[aria-expanded="true"] .rk-bars i:nth-child(3){transform:translateY(-6px) rotate(-45deg)}

.rk-skip{position:absolute; left:-9999px}
.rk-skip:focus{
  left:auto; position:static; display:inline-block;
  background:#11332E; color:#fff; padding:12px 18px;
  border-radius:999px; font-weight:700; text-decoration:none;
}

@media (max-width:767px){
  .rk-panel{padding:24px 20px; gap:26px; border-radius:24px}
  .rk-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:10px}
  .rk-group[data-sec="start"] .rk-grid{grid-template-columns:1fr}
  .rk-panel .rk-card{padding:16px 16px 15px; min-height:86px}
  .rk-panel .rk-card b{font-size:16px}
  .rk-toggle-label{display:none}
}
@media (prefers-reduced-motion:reduce){
  .rk-panel .rk-card{transition:none}
  .rk-panel .rk-card:hover{transform:none}
  .rk-bars i{transition:none}
}


/* ---- Phase 4 chrome fixes, 15 Sep 2026 ----
   The kit styles EVERY <button> via `.elementor-kit-10 button` (0,1,1), which beats a bare
   `.rk-toggle` (0,1,0) and was repainting the toggle as a mint pill with 22px padding.
   `body.elementor-kit-10 .rk-toggle` is (0,2,1) and wins. Do not flatten. */
body.elementor-kit-10 .rk-toggle,
body.elementor-kit-10 button.rk-toggle{
  display:inline-flex; align-items:center; gap:9px; cursor:pointer;
  font:700 15px/1 "Figtree",-apple-system,BlinkMacSystemFont,sans-serif;
  color:#10221F; background:#E9EFEC; border:none;
  padding:13px 17px; border-radius:999px; text-transform:none; letter-spacing:normal;
}
body.elementor-kit-10 .rk-toggle:hover{background:#C4E7DD; color:#10221F}
body.elementor-kit-10 .rk-toggle[aria-expanded="true"]{background:#11332E; color:#fff}

/* The header logo is an SVG with no intrinsic size; inside a flex row it collapses to 0.
   Give it an explicit box at each breakpoint. */
body.elementor-kit-10 .elementor-location-header .elementor-widget-theme-site-logo img{
  display:block; width:210px; max-width:210px; height:auto;
}
@media (max-width:1024px){
  body.elementor-kit-10 .elementor-location-header .elementor-widget-theme-site-logo img{width:180px; max-width:180px}
}
@media (max-width:767px){
  body.elementor-kit-10 .elementor-location-header .elementor-widget-theme-site-logo img{width:142px; max-width:142px}
  body.elementor-kit-10 .rk-toggle{padding:13px 14px}
}

/* menu-panel.css is enqueued BEFORE post-10.css, so any equal-specificity tie goes to the kit.
   `.elementor-kit-10 h2` (0,1,1) was beating `.rk-group > h2` (0,1,1) and rendering the section
   eyebrows at 32px. `body.elementor-kit-10 .rk-group > h2` is (0,2,1) and wins. */
body.elementor-kit-10 .rk-panel .rk-group > h2{
  font-family:"Figtree",-apple-system,BlinkMacSystemFont,sans-serif;
  font-size:13px; font-weight:700; letter-spacing:1.4px; line-height:1.3;
  text-transform:uppercase; color:#4C5F5A; margin:0;
}

/* Footer badge row. The brand logo and the three accreditation badges came across from the
   old 25%-wide columns carrying percentage widths, which resolve against their own flex item
   here and rendered at 368-538px. Constrain them to a badge scale. */
/* Association badges now sit in the "Our rooms" column, stacked under the addresses. */
body.elementor-kit-10 .fc-marks .elementor-widget-image{width:auto; max-width:none}
body.elementor-kit-10 .fc-marks .elementor-widget-image img{
  width:auto; height:auto; max-height:40px; max-width:140px; object-fit:contain; display:block;
}
@media (max-width:767px){
  body.elementor-kit-10 .fc-marks .elementor-widget-image img{max-height:34px; max-width:120px}
}

/* The five nav-menu widgets came from the OLD light footer and carry per-widget colour
   settings bound to global 88607db (#222222). Elementor emits those at
   `.elementor-68 .elementor-element.elementor-element-<id> .elementor-nav-menu--main .elementor-item`
   = (0,5,0), which no sane authored selector outranks. On the v2 footer's #11332E ground that is
   dark-on-dark and effectively unreadable.
   ponytail: !important here, because the correct fix is to clear color_menu_item on the five
   widgets in Footer 68's own _elementor_data — do that when the footer is next edited, then
   delete this block. */
body.elementor-kit-10 .elementor-location-footer .elementor-nav-menu .elementor-item{
  color:#E7F3F0 !important; fill:#E7F3F0 !important;
}
body.elementor-kit-10 .elementor-location-footer .elementor-nav-menu .elementor-item:hover,
body.elementor-kit-10 .elementor-location-footer .elementor-nav-menu .elementor-item:focus,
body.elementor-kit-10 .elementor-location-footer .elementor-nav-menu .elementor-item.elementor-item-active{
  color:#6FD4C1 !important;
}
body.elementor-kit-10 .elementor-location-footer .elementor-nav--layout-horizontal .elementor-item{
  color:#A8C6BF !important;
}
body.elementor-kit-10 .elementor-location-footer .elementor-nav--layout-horizontal .elementor-item:hover{
  color:#6FD4C1 !important;
}

/* ---- Overlapping header, 15 Sep 2026 ----
   Elementor Pro's sticky makes the header container position:fixed and inserts an
   .elementor-sticky__spacer of the same height to reserve flow space. That reserved band
   renders as page ground above the content, so the white nav pill sitting on near-white
   ground read as one giant white block.
   Collapse the spacer so the page's first section starts at y=0 and its BACKGROUND runs up
   behind the transparent header, then push that section's CONTENT down by the header height
   so nothing hides beneath the pill. The pill then floats on the page's own colour. */
:root{ --rk-hdr: 162px; }
@media (max-width:1024px){ :root{ --rk-hdr: 142px; } }
@media (max-width:767px){  :root{ --rk-hdr: 118px; } }

body.elementor-kit-10 .elementor-sticky__spacer{ display:none !important; }

/* first slab of the page: background to the top, content clear of the pill */
/* NOTE the descendant combinator: the theme wraps content as
   main.site-main > .page-content > .elementor > <first element>, so a direct-child
   selector from main matches NOTHING. That mistake shipped an h1 underneath the pill. */
/* DIRECT-CHILD CHAIN, deliberately. The theme nests content as
   main.site-main > .page-content > .elementor > <first element>. A descendant
   combinator here also matches every LOOP ITEM's first element — it put 190px of
   padding on all 12 counsellor cards, which read as a white block above each face. */
body.elementor-kit-10 main.site-main > .page-content > .elementor > .elementor-element:first-child,
body.elementor-kit-10 main.site-main > .elementor > .elementor-element:first-child{
  padding-top: calc(var(--rk-hdr) + 28px);
}
@media (max-width:767px){
  body.elementor-kit-10 main.site-main > .page-content > .elementor > .elementor-element:first-child,
  body.elementor-kit-10 main.site-main > .elementor > .elementor-element:first-child{
    padding-top: calc(var(--rk-hdr) + 16px);
  }
}

/* ---- Page ground + the hairline edge, 15 Sep 2026 ----
   body was #FFFFFF, so every slab floated on white and the footer's own #F4F8F7 gutter was
   invisible. The design's page ground is #F4F8F7 — set it once, site-wide, and every slab
   reads as a floating box. The subtle hairline is what gives the reference its premium feel. */
body.elementor-kit-10,
body.elementor-kit-10.elementor-page{ background-color:#F4F8F7; }

/* the v2 slabs: light ones take the hairline, dark ones a faint light edge */
body.elementor-kit-10 .s-page-root > .e-con,
body.elementor-kit-10 .svc-page-root > .e-con{
  border:1px solid #CFDEDA;
}
/* Heroes sit ON the page ground by design — no slab, so no outline. Without this the
   hero renders as a square 1px rectangle with no background. */
body.elementor-kit-10 .s-page-root > .hero,
body.elementor-kit-10 .svc-page-root > .svc-hero{ border:0; }

/* Screen-reader-only. Snippet 4028 creates its aria-live region with class `rk-sr`
   but the CSS was never written, so "Showing review batch 1 of 4" rendered visibly.
   Hide it from sight, keep it for assistive tech. */
.rk-sr{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap; border:0;
}
/* The dark footer takes a LIGHTER edge than the light slabs — at 10% it was invisible.
   A light eucalypt hairline is what separates the dark green from the page ground. */
body.elementor-kit-10 .elementor-location-footer [data-id="close"],
body.elementor-kit-10 .s-page-root > .e-con.is-dark{
  border:1px solid rgba(168,198,191,.38);
}

/* ---- Legacy page slabs, 15 Sep 2026 ----
   Pages Phase 6 has not rebuilt yet render as full-bleed bands with square corners, which
   collide with the floating header pill instead of sitting under it. Give every top-level
   legacy container the v2 slab treatment so the site reads consistently during the rollout.
   Scoped with a DIRECT-CHILD chain so it never reaches a loop item. */
body.elementor-kit-10 main.site-main > .page-content > .elementor > .elementor-element{
  border-radius:34px;
  margin-inline:20px;
  margin-block-end:20px;
  border:1px solid #CFDEDA;
}
/* the v2 pages already own their layout — do not double up */
body.elementor-kit-10 main.site-main > .page-content > .elementor > .s-page-root,
body.elementor-kit-10 main.site-main > .page-content > .elementor > .svc-page-root,
body.elementor-kit-10 main.site-main > .page-content > .elementor > .elementor-element-page-root,
body.elementor-kit-10 main.site-main > .page-content > .elementor > .elementor-element-svc-page-root{
  border-radius:0; margin-inline:0; margin-block-end:0; border:0;
}
@media (max-width:767px){
  body.elementor-kit-10 main.site-main > .page-content > .elementor > .elementor-element{
    border-radius:24px; margin-inline:12px; margin-block-end:12px;
  }
}


/* ---- Menu panel taller than the screen, 24 Sep 2026 ----
   The panel lives inside the sticky header, which Elementor makes position:fixed. Opened, it
   was 1,731px tall with no max-height, so everything below the fold was unreachable and the
   wheel scrolled the page behind it. Cap it to the space under the header, let it scroll
   itself, and lock the page while it is open (the toggle JS already sets html.rk-menu-open).
   scrollbar-gutter keeps the page from shifting sideways when its scrollbar is hidden. */
html.rk-menu-open{overflow:hidden; scrollbar-gutter:stable}
html.rk-menu-open .rk-panel{
  display:grid;
  max-height:calc(100dvh - var(--rk-hdr) - 16px);
  overflow-y:auto;
  overscroll-behavior:contain;
}

/* ---- Hero at tablet width, 24 Sep 2026 ----
   Faces were width:31% with fixed 14px gaps, which only fits three across when the column is
   >= ~400px. Below that (every tablet width) they wrapped two per row and left an empty third
   column on the right. The exact thirds calc fits at every width. (0,2,2) beats the kit's
   (0,2,1) face rules, which load after this file. */
body.elementor-kit-10 .hero-cluster > img{width:calc((100% - 28px) / 3)}
/* The button and proof-pill rows carried Elementor's default 10px container padding, so they
   sat 10px right of the text above them at every width. */
body.elementor-kit-10 .hero-acts,body.elementor-kit-10 .hero-proof{padding-inline:0}
/* The hero had no tablet variant: 76px desktop padding and a 68px headline until 767px,
   which squeezed the headline to four lines. */
@media (max-width:1024px){
  body.elementor-kit-10 .s-page-root > .hero{padding:48px}
  body.elementor-kit-10 .hero .hero-title{font-size:52px; letter-spacing:-1.5px}
}
@media (max-width:767px){
  body.elementor-kit-10 .s-page-root > .hero{padding:28px 24px}
  body.elementor-kit-10 .hero .hero-title{font-size:40px; letter-spacing:-1px}
}
