/*========= Milkwood Scroll Fixer ========================*/
*:has(* > #MW_sticky_menu) {
  /* styles for the grandparent */
  margin-top: 0px;
  padding: 0px;
  background: white; }

*:has(> #MW_sticky_menu) {
  margin: 0px;
  padding: 0px; }

/* Container + list (unchanged intent) */
#MW_sticky_menu {
  margin: -18px 10px;
  font-size: .9em;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 8px; }

#MW_sticky_menu .mw-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px; }

/* Make ALL items flex so heights match */
#MW_sticky_menu .mw-links li {
  display: flex;
  align-items: center; }

/* Pills: consistent height; keep your colours */
#MW_sticky_menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  /* consistent pill height */
  padding: 0 12px;
  /* no vertical padding changes on hover */
  line-height: 1;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid #555;
  border-radius: 20px; }

/* Highlight/active: border matches fill */
#MW_sticky_menu a:hover,
#MW_sticky_menu a.is-active,
#MW_sticky_menu a[aria-current="location"] {
  color: #fff;
  background: #d44e0f;
  border-color: #d44e0f; }

/* Proper separators BETWEEN items on wide screens */
@media (min-width: 641px) {
  #MW_sticky_menu .mw-links {
    gap: 0; }

  /* spacing handled by separator margins */
  #MW_sticky_menu .mw-links li + li::before {
    content: "";
    width: 1px;
    height: 1.2em;
    /* visually centred line */
    background: #333;
    opacity: .5;
    margin: 0 12px;
    border-radius: 1px;
    align-self: center;
    /* centre vertically against the pill */ } }
/* Mobile: hide label/low-priority items; keep centred */
@media (max-width: 640px) {
  #MW_sticky_menu .mw-label {
    display: none; }

  #MW_sticky_menu .mw-hide-sm {
    display: none; }

  #MW_sticky_menu {
    justify-content: center; }

  #MW_sticky_menu .mw-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding-inline: 12px; }

  #MW_sticky_menu .mw-links li + li::before {
    content: none; }

  /* no separators on phones */ }
/* (defensive) keep the same no-wrap rule when the bar is stuck */
.is-stuck #MW_sticky_menu .mw-links {
  flex-wrap: nowrap;
  justify-content: center; }

/* while stuck */
.is-stuck {
  background: var(--mw-sticky-bg, #111);
  /* or your theme colour */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  /* if your theme adds borders on sections/rows, nuke them while stuck */
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  /* avoid hairline seams on some Android browsers */
  transform: translateZ(0);
  backface-visibility: hidden;
  background-clip: padding-box; }

:target {
  scroll-margin-top: 80px; }

html {
  scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto; } }
/*========= Milkwood Scroll Fixer End ========================*/
.couponname {
  font-weight: bold; }

.has_discount {
  background-color: #ffd85f;
  color: #333;
  width: 90%;
  margin: 0 auto;
  margin-bottom: 10px; }

.has_discount p {
  padding: 3px; }

.usd_pricing_link a, .aud_pricing_link a {
  cursor: pointer; }

.usd_pricing_link .pricing__frequency, .aud_pricing_link .pricing__frequency {
  opacity: 1; }

/*============================================================================
  Milkwood Live course dates box  - added by Nick Ritar August 2025
==============================================================================*/
.MW_live_box_container,
.custom-form {
  width: 320px;
  margin: 40px auto;
  padding: 24px 20px;
  background: #f9f8f6;
  border: 2px solid #e7e3da;
  border-radius: 30px;
  text-align: left;
  font-family: system-ui, sans-serif;
  box-sizing: border-box;
  color: #000;
  line-height: 1.2;
  font-size: 0.8em; }

.MW_live_box_container h3,
.custom-form h3 {
  font-family: system-ui, sans-serif;
  font-size: 1.5em; }

.MW_live_box_section {
  padding: 0;
  margin: 15px;
  min-height: 40px; }

.MW_live_box_icon {
  clear: left;
  float: left;
  margin-right: 10px;
  vertical-align: top; }

.MW_live_box_icon svg {
  width: 30px;
  height: 30px; }

.MW_live_box_title {
  font-weight: normal; }

.MW_live_box_subtitle {
  display: block; }

.MW_live_box_extended_section {
  min-height: 90px;
  padding: 0;
  margin: 15px; }

.MW_live_box_date_hidden {
  visibility: hidden;
  display: inline-block; }

.MW_live_box_cta,
#form-button {
  display: inline-block;
  background: #d44e0f;
  color: #fff;
  padding: 14px 32px;
  font-size: 1.3em;
  font-weight: 600;
  border: 0;
  border-radius: 30px;
  text-align: center;
  text-decoration: none; }

.MW_live_box_cta:hover,
#form-button:hover {
  color: #fff;
  text-decoration: none; }

.MW_live_box_learners {
  text-align: center;
  font-size: 0.9em; }

.MW_live_box_learners strong {
  font-weight: bold;
  font-size: 1.1em; }

/*============================================================================
  #pricing options based on llocation of IP parameters - added by Nick Ritar 17/10/19
==============================================================================*/
.dynamic-content {
  display: none; }

/*============================================================================
  #drop shadow and rounding on world map
  ==============================================================================*/
.block--1623807449217 IMG {
  box-shadow: 5px 5px 20px #666666;
  border-radius: 30px; }

/* ================================
   MW MODULE COMPONENTS
================================ */
/* Module heading content layout */
.MW_syllabus_module_heading_content {
  width: 100%;
  margin: 0px;
  padding: 0px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.1em;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 0.7;
  line-height: 1.2em;
  opacity: 0.75; }

/* Module prefix (Week/Extra Module indicators) */
.MW_syllabus_module_heading_prefix_week,
.MW_syllabus_module_heading_prefix {
  font-size: 0.7em;
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  opacity: 0.5;
  line-height: 1.1em !important;
  text-transform: uppercase; }

/* Calendar icon for week modules */
.MW_syllabus_module_heading_prefix_week::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'%3E%3C/rect%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3Cline x1='8' y1='2' x2='8' y2='7'/%3E%3Cline x1='16' y1='2' x2='16' y2='7'/%3E%3Cpath d='M9 15 Q12 17 15 15' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; }

/* Module suffix (lesson count) */
.MW_syllabus_module_heading_suffix {
  margin-left: auto;
  opacity: 0.5;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8em;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 5px; }

.MW_syllabus_module_heading_suffix::before {
  content: '';
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10v6M2 10l10-5 10 5-10 5z'/%3E%3Cpath d='M6 12v5c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2v-5'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center; }

/* ================================
   LESSON COMPONENTS
   ================================ */
/* Lessons container */
.MW_syllabus_lesson {
  display: flex;
  flex: 0;
  column-gap: 15px;
  padding: 12px 0;
  border-top: 1px solid #eee; }

.MW_syllabus_lesson:hover {
  background-color: #f5f5f5;
  box-shadow: inset 15px 0 30px white, inset -15px 0 30px white;
  /* right side */ }

/* Lesson thumbnail */
.MW_thumb {
  flex: 0 0 auto;
  margin: 6px 0px;
  display: block;
  width: 8.9em;
  height: 5em;
  object-fit: cover;
  object-position: right top;
  border-radius: 8px;
  flex-shrink: 0; }

/* Lesson content wrapper */
.MW_syllabus_lesson > div {
  flex: 1;
  min-width: 0; }

/* Lesson title */
.MW_lesson_title {
  font-size: 0.8em;
  font-weight: 600;
  opacity: 0.75;
  margin: 0 0 0.31em 0;
  line-height: 1.4; }

.MW_lesson_description {
  font-size: 0.7em;
  opacity: 0.75;
  overflow: hidden;
  margin-bottom: -1px !important;
  margin-top: -1px !important; }

/* ================================
   LESSON METADATA
   ================================ */
/* Video duration and Downloads indicators */
.MW_lesson_video_duration, .MW_lesson_downloads {
  display: inline-flex;
  align-items: center;
  column-gap: 0.31em;
  font-size: 0.7em;
  opacity: 0.5;
  line-height: 1; }

.MW_syllabus_module_heading_suffix::before, .MW_lesson_video_duration::before, .MW_lesson_downloads::before {
  width: 1.2em;
  height: 1.2em;
  line-height: 1em; }

.MW_lesson_video_duration::after, .MW_lesson_downloads::after {
  letter-spacing: normal;
  margin: 0 0.63em 0 0; }

.MW_lesson_video_duration::before {
  content: '';
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317222c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='23 7 16 12 23 17 23 7'%3E%3C/polygon%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'%3E%3C/rect%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6; }

.MW_lesson_downloads::before {
  content: '';
  display: inline-block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2317222c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'%3E%3C/path%3E%3Cpolyline points='7 10 12 15 17 10'%3E%3C/polyline%3E%3Cline x1='12' y1='15' x2='12' y2='3'%3E%3C/line%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.6; }

.MW_lesson_downloads::after {
  content: ''; }

.MW_lesson_video_duration::after {
  content: 'Runtime'; }

/* ================================
   RESPONSIVE DESIGN
   ================================ */
@media (max-width: 768px) {
  .MW_syllabus_lesson {
    padding: 0.5em 0; }

  .MW_thumb {
    width: 6em;
    height: 4.5em; }

  .MW_lesson_title {
    font-size: 0.7em; }

  .MW_lesson_description, .MW_lesson_video_duration, .MW_lesson_downloads {
    font-size: 0.7em; } }
/* Buttons */
.btn {
  border-radius: 30px; }

/* ==========================================================================
   Milkwood course page controller - stylesheet half
   Built 2026-09-11. Append to Assets/overrides.scss.liquid.

   Pairs with mw-course-page.js. The rule that matters most is the first
   one: USD is hidden by default, so if the JavaScript dies completely the
   page shows AUD prices alone. Today, with the dead ipgeolocation.io call,
   it shows BOTH currencies at once - that is the bug this fixes.

   The page's default state with no classes on <html> is: on sale, AUD.
   That matches the raw HTML, so a total script failure leaves the page
   behaving exactly as it does now - never blank, never contradictory.
   ========================================================================== */
/* --- 1. Currency --------------------------------------------------------
   Default AUD. The script adds .cur-usd to <html> for non AU/NZ visitors. */
.usd_pricing_bud,
.usd_pricing_pre,
.usd_pricing_fas,
.usd_pricing_link {
  display: none; }

html.cur-usd .usd_pricing_bud,
html.cur-usd .usd_pricing_pre,
html.cur-usd .usd_pricing_fas,
html.cur-usd .usd_pricing_link {
  display: block; }
html.cur-usd .aud_pricing_bud,
html.cur-usd .aud_pricing_pre,
html.cur-usd .aud_pricing_fas,
html.cur-usd .aud_pricing_link {
  display: none; }

/* --- 1b. The resolving window -------------------------------------------
   The course dates come from a Google Sheet CSV that 307-redirects to a
   second host, so a cold first visit waits 1-3 seconds (occasionally much
   longer) before the cart state is known. Until then the page is showing its
   raw HTML, which is the ON-SALE state.

   That is fine for anything cosmetic, but not for the checkout buttons:
   every Kajabi offer is permanently published, so a click in that window
   reaches a live, chargeable checkout for a cohort that is not selling.
   The countdown is hidden too - it would be counting to a stale hard-coded
   date until the script corrects it.

   visibility, not display, so nothing reflows when they appear.

   The class is added by a synchronous inline script in the head and removed
   either by mw-course-page.js once the state is known, or by that script's
   own 4-second timer if the JS never gets there. A dead script therefore
   still sells during a launch - it just takes 4 seconds. */
html.mw-resolving a.btn-checkout {
  visibility: hidden; }
html.mw-resolving .section--countdown {
  visibility: hidden; }

/* --- 2. Cart state ------------------------------------------------------
   The script adds .mw-cart-open or .mw-cart-closed to <html> once it has
   worked out where "now" sits against the enrolment window. If it cannot
   tell, it adds neither and these rules do nothing.

   IMPORTANT: the booking-options section (#section-1623216222665) is never
   hidden, because the sticky menu's "BOOKING OPTIONS" link targets #pricing
   which lives INSIDE it. Hiding the section makes that menu item scroll to
   a zero-height element. Swap the section's CONTENTS instead.

   Tag content with .mw-onsale-only or .mw-waitlist-only to have it appear
   in just one of the two states. Add those classes in the Kajabi UI;
   nothing here needs to know what they are attached to.

   This is also how every state-asserting SENTENCE is handled. Both wordings
   live in the page at once and these rules pick one:

     <span class="mw-onsale-inline">Bookings for our next class are open!</span>
     <span class="mw-waitlist-inline">Bookings open only once each season,
       our waitlist gets priority &#10230;</span>

   Nothing is ever matched by its wording, so editing the copy in Kajabi
   cannot silently break the swap - and because it is CSS rather than
   JavaScript, the right sentence is there at the first paint instead of
   appearing a moment later.

   -only is for block-level content, -inline for a run of text inside a
   sentence. Two names rather than one because the show rule has to restore
   a real display value, and block on a span would break the line. */
.mw-waitlist-only,
.mw-waitlist-inline {
  display: none; }

html.mw-cart-closed {
  /* Nothing chargeable is reachable while the cart is shut. The booking
     options themselves stay visible and the sticky menu keeps saying
     "BOOKING OPTIONS" - there are always booking options to read, only the
     buttons stop working. */
  /* Every countdown section. There is nothing to count down to when the
     cart is shut, and the number would be wrong if there were. */ }
  html.mw-cart-closed .mw-onsale-only,
  html.mw-cart-closed .mw-onsale-inline {
    display: none; }
  html.mw-cart-closed .mw-waitlist-only {
    display: block; }
  html.mw-cart-closed .mw-waitlist-inline {
    display: inline; }
  html.mw-cart-closed a.btn-checkout {
    display: none !important; }
  html.mw-cart-closed .section--countdown {
    display: none !important; }

/* A backdoor visit (?backdoor, inside its window) shows the page as open on
   the cohort whose cart has just CLOSED - so there is no future close to
   count down to. The script does not start the timers, but the sections
   would still render, with the theme's stale hard-coded data-end-time:
   "Bookings for this class close in: 00:00:00:00", twice, on the single
   link that gets handed to a late enroller. */
html.mw-backdoor .section--countdown {
  display: none !important; }

html.mw-cart-open .mw-onsale-only {
  display: block; }
html.mw-cart-open .mw-onsale-inline {
  display: inline; }
html.mw-cart-open .mw-waitlist-only,
html.mw-cart-open .mw-waitlist-inline {
  display: none; }

/* --- 3. Testimonial sliders ---------------------------------------------
   slick sizes .slick-list to whichever slide is showing. These testimonials
   range from 185px to 315px tall, so every advance shoved the rest of the
   page up or down. Making the track a flex row stretches every slide to the
   tallest one, so the height is stable and nothing below it moves.

   Deliberately not a fixed pixel height: that would clip the longest
   testimonial or leave a gap under the shortest. If you do want a hard
   number later, set min-height on .item.testimonial instead. */
.testimonials .slick-track {
  display: flex !important;
  align-items: stretch; }
.testimonials .slick-slide {
  height: auto !important; }
.testimonials .slick-slide > div {
  height: 100%; }
.testimonials .slick-list {
  height: auto !important; }

/* --- 4. Styles the waitlist box brought with it --------------------------
   The waitlist box was lifted from the pre-sale page, whose theme
   (2153395622) carries a few rules this theme never needed - because the
   elements they style only ever existed over there. Copied verbatim from
   that theme's overrides so the box looks identical to where it came from.

   Its submit button, #form-button, is handled separately: make-theme-files.py
   adds it to the existing .MW_live_box_cta selector rather than restating the
   declarations here, so the two cannot drift.

   Deliberately NOT copied: that theme's `.img-fluid { border-radius: 10px }`.
   Rounded images are a design difference between the two pages, not something
   the waitlist box depends on, and it would silently restyle 26 images. */
.form-control {
  border-radius: 7px !important;
  font-size: 1em;
  padding: 7px !important; }

.couponname {
  font-weight: bold; }
