/* =========================================================
   WELLBEING STUDIO CORE CSS
   Primary CSS for the WS Moodle interface, participant pages,
   login/gateway flow, and reusable WS components.

   TABLE OF CONTENTS
   ---------------------------------------------------------
   FOUNDATION
     01. Design Tokens
     02. Base Typography and Links
     03. Moodle Shell
     04. Header and Logo
     05. Buttons and Forms

   MOODLE CHROME
     06. Login / Gateway Page
     07. Email Confirmation Page
     08. Participant Chrome Cleanup
     09. Course Page Chrome Cleanup
     10. Mobile Navigation
     11. Footer Cleanup

   PAGE LAYOUTS
     12. Page Layout and Content Reset
     13. Profile Page

   COMPONENTS
     14. Facilitator Cards
     15. Wellbeing Pulse
     16. Program Overview Header
     17. Week Theme Intro
     18. Week Jump Nav
     19. Week Separator
     20. Welcome Modal
     21. Practice Library
     22. My Studio Page
     23. My Studio — Toolkit Grid
     24. My Studio — Heading Alignment
     25. My Studio — Next Live Session
     26. Featured Practice
     27. Practice of the Week
     28. Pricing Table

   DEMO
     29. Demo Page Overrides
   ========================================================= */

/* =========================================================
   01. DESIGN TOKENS
========================================================= */

:root {
  --ws-teal: #115e67;
  --ws-teal-2: #1693a5;
  --ws-teal-dark: #0d4f57;
  --ws-gold: #c6a049;
  --ws-gold-dark: #b79239;

  --ws-text: #223438;
  --ws-text-soft: #5b6b70;

  --ws-bg: #f5f7f6;
  --ws-bg-alt: #edf1f0;
  --ws-white: #ffffff;
  --ws-border: #d9e3e0;

  --ws-shadow: 0 10px 30px rgba(20, 40, 44, 0.08);
  --ws-shadow-lg: 0 18px 44px rgba(17, 94, 103, 0.08);

  --ws-radius-sm: 12px;
  --ws-radius: 18px;
  --ws-radius-lg: 28px;

  --ws-shell-max: 1480px;
  --ws-content-max: 1280px;
}

/* =========================================================
   02. BASE TYPOGRAPHY AND LINKS
========================================================= */

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body {
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ws-text);
  background: var(--ws-bg);
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar .site-name,
.page-header-headings h1,
.page-context-header h1 {
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  color: var(--ws-text);
  letter-spacing: -0.02em;
}

p,
li,
td,
th,
input,
select,
textarea,
button {
  font-family: "Open Sans", Arial, sans-serif;
}

a {
  color: var(--ws-teal);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--ws-teal-2);
  text-decoration: none;
}

/* =========================================================
   03. MOODLE SHELL
========================================================= */

#page-wrapper,
#page,
#page-content,
#region-main-box,
#region-main {
  background: transparent;
}

#page.drawers .main-inner,
body:not(.limitedwidth) #page.drawers .main-inner {
  width: 100%;
  max-width: var(--ws-shell-max) !important;
  margin-right: auto;
  margin-left: auto;
}

#region-main,
#region-main-box,
#page.drawers div[role="main"] {
  width: 100%;
}

#region-main {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

/* =========================================================
   04. HEADER AND LOGO
========================================================= */

.navbar.fixed-top,
.navbar {
  min-height: 82px !important;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--ws-border);
  box-shadow: 0 2px 10px rgba(20, 40, 44, 0.04);
  backdrop-filter: blur(10px);
}

/* Premium desktop primary navigation */
@media (min-width: 768px) {
  .navbar.fixed-top .primary-navigation,
  .navbar.fixed-top .moremenu,
  .navbar.fixed-top .navbar-nav {
    min-height: 82px !important;
    align-items: center !important;
  }

  .navbar.fixed-top .primary-navigation .nav-link,
  .navbar.fixed-top .moremenu .nav-link,
  .navbar.fixed-top .navbar-nav .nav-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    min-height: 82px;
    padding: 0 18px !important;
    color: var(--ws-text) !important;
    font-family: "Urbanist", "Open Sans", Arial, sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: 0.005em;
    line-height: 1;
    text-decoration: none !important;
    transition:
      color 0.18s ease,
      background 0.18s ease;
  }

  .navbar.fixed-top .primary-navigation .nav-link:hover,
  .navbar.fixed-top .primary-navigation .nav-link:focus,
  .navbar.fixed-top .moremenu .nav-link:hover,
  .navbar.fixed-top .moremenu .nav-link:focus,
  .navbar.fixed-top .navbar-nav .nav-link:hover,
  .navbar.fixed-top .navbar-nav .nav-link:focus {
    background: transparent !important;
    color: var(--ws-teal) !important;
  }

  .navbar.fixed-top .primary-navigation .nav-link::after,
  .navbar.fixed-top .moremenu .nav-link::after,
  .navbar.fixed-top .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--ws-teal);
    opacity: 0;
    transform: scaleX(0.85);
    transform-origin: center;
    transition:
      opacity 0.18s ease,
      transform 0.18s ease;
  }

  .navbar.fixed-top .primary-navigation .nav-link.active::after,
  .navbar.fixed-top .primary-navigation .nav-link[aria-current="page"]::after,
  .navbar.fixed-top .moremenu .nav-link.active::after,
  .navbar.fixed-top .moremenu .nav-link[aria-current="page"]::after,
  .navbar.fixed-top .navbar-nav .nav-link.active::after,
  .navbar.fixed-top .navbar-nav .nav-link[aria-current="page"]::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .navbar.fixed-top .primary-navigation .nav-link.active,
  .navbar.fixed-top .primary-navigation .nav-link[aria-current="page"],
  .navbar.fixed-top .moremenu .nav-link.active,
  .navbar.fixed-top .moremenu .nav-link[aria-current="page"],
  .navbar.fixed-top .navbar-nav .nav-link.active,
  .navbar.fixed-top .navbar-nav .nav-link[aria-current="page"] {
    color: var(--ws-teal) !important;
  }

  .navbar.fixed-top .primary-navigation .nav-link.active,
  .navbar.fixed-top .primary-navigation .nav-link[aria-current="page"],
  .navbar.fixed-top .moremenu .nav-link.active,
  .navbar.fixed-top .moremenu .nav-link[aria-current="page"],
  .navbar.fixed-top .navbar-nav .nav-link.active,
  .navbar.fixed-top .navbar-nav .nav-link[aria-current="page"] {
    border-bottom-color: transparent !important;
    box-shadow: none !important;
  }
}

.navbar .navbar-brand {
  width: 330px !important;
  height: 82px !important;
  min-height: 82px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 0 0 14px !important;
  margin-right: 28px !important;
}

.navbar .navbar-brand img,
.navbar .navbar-brand .logo {
  display: none !important;
}

.navbar .navbar-brand::before {
  content: "";
  display: block;
  width: 305px;
  height: 72px;
  background: url("/theme/boost_union/pix/logo-corporate-yoga-australia-sml.png") no-repeat left center;
  background-size: contain;
}

body:not(.pagelayout-login) {
  padding-top: 82px !important;
}

@media (max-width: 767px) {
  .navbar.fixed-top,
  .navbar {
    min-height: 66px !important;
  }

  .navbar .navbar-brand {
    width: 260px !important;
    height: 66px !important;
    min-height: 66px !important;
    padding-left: 8px !important;
    margin-right: 12px !important;
  }

  .navbar .navbar-brand::before {
    width: 245px;
    height: 56px;
  }

  body:not(.pagelayout-login) {
    padding-top: 66px !important;
  }
}

/* =========================================================
   05. BUTTONS AND FORMS
========================================================= */

.btn,
button,
input[type="submit"],
input[type="button"],
.ws-btn,
.ws-hero-cta,
.ws-reset-card__button,
.cws-button,
.ws-toolkit__btn,
.ws-support-btn {
  border-radius: 18px;
  font-weight: 700;
  box-shadow: none;
}

.btn-primary,
button.btn-primary,
input[type="submit"] {
  background: var(--ws-teal);
  border-color: var(--ws-teal);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
button.btn-primary:hover,
button.btn-primary:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  background: var(--ws-teal-dark);
  border-color: var(--ws-teal-dark);
  color: #ffffff;
}
/* WS button primitives */
.ws-btn,
.ws-hero-cta,
.ws-reset-card__button,
.cws-button,
.ws-toolkit__btn,
.ws-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 16px 32px;
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 0.06em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.ws-btn--gold,
.ws-hero-cta,
.ws-reset-card__button,
.cws-button,
.ws-toolkit__btn,
.ws-support-btn {
  background: var(--ws-gold);
  border: 0;
  box-shadow: 0 14px 28px rgba(198, 160, 73, 0.28);
}

.ws-btn--gold:hover,
.ws-btn--gold:focus,
.ws-hero-cta:hover,
.ws-hero-cta:focus,
.ws-reset-card__button:hover,
.ws-reset-card__button:focus,
.cws-button:hover,
.cws-button:focus,
.ws-toolkit__btn:hover,
.ws-toolkit__btn:focus,
.ws-support-btn:hover,
.ws-support-btn:focus {
  background: var(--ws-gold-dark);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(198, 160, 73, 0.34);
}

.ws-btn--light,
.cws-button--secondary,
.ws-toolkit__btn--light {
  background: #ffffff;
  color: var(--ws-gold-dark) !important;
  border: 2px solid var(--ws-gold);
  box-shadow: none;
}

.ws-btn--light:hover,
.ws-btn--light:focus,
.cws-button--secondary:hover,
.cws-button--secondary:focus,
.ws-toolkit__btn--light:hover,
.ws-toolkit__btn--light:focus {
  background: rgba(198, 160, 73, 0.08);
  color: var(--ws-gold-dark) !important;
  border-color: var(--ws-gold-dark);
}

.ws-btn--full {
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="url"],
input[type="tel"],
select,
textarea,
.form-control,
.custom-select {
  min-height: 48px;
  border: 1px solid var(--ws-border);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
}

input:focus,
select:focus,
textarea:focus,
.form-control:focus,
.custom-select:focus {
  border-color: var(--ws-teal-2);
  box-shadow: 0 0 0 3px rgba(22, 147, 165, 0.14);
}

/* =========================================================
   06. LOGIN / GATEWAY PAGE
========================================================= */

body.pagelayout-login {
  margin: 0;
  background: #eef3f1;
  color: var(--ws-text);
  font-family: "Open Sans", Arial, sans-serif;
}

body.pagelayout-login #page-wrapper,
body.pagelayout-login #page {
  max-width: none !important;
  margin: 0 !important;
}

body.pagelayout-login #page.ws-gateway {
  min-height: 100vh;
  padding: 24px !important;
  background: #eef3f1;
  box-sizing: border-box;
}

body.pagelayout-login #page-content,
body.pagelayout-login #region-main-box,
body.pagelayout-login #region-main,
body.pagelayout-login .login-wrapper,
body.pagelayout-login .login-container {
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body.pagelayout-login .ws-gateway__shell {
  min-height: calc(100vh - 48px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(17, 94, 103, 0.08);
}

body.pagelayout-login .ws-gateway__hero {
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(rgba(31, 37, 38, 0.46), rgba(31, 37, 38, 0.46)),
    url('/theme/boost_union/pix/bg-cws-card-hero.jpg') center / cover no-repeat;
}

body.pagelayout-login .ws-gateway__hero-inner {
  max-width: 560px;
  padding: 56px;
  color: #fff;
}

body.pagelayout-login .ws-gateway__logo {
  width: 210px;
  max-width: 70%;
  height: auto;
  margin-bottom: 24px;
}

body.pagelayout-login .ws-gateway__eyebrow {
  margin: 0 0 12px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

body.pagelayout-login .ws-gateway__title {
  margin: 0 0 20px;
  color: #fff;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(3rem, 5vw, 5.2rem);
  line-height: 0.9;
  font-weight: 900;
  letter-spacing: -0.06em;
}

body.pagelayout-login .ws-gateway__text {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  line-height: 1.65;
}

body.pagelayout-login .ws-gateway__panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 42px;
  background: #f8faf9;
}

body.pagelayout-login .ws-gateway__card {
  width: 100%;
  max-width: 410px;
  padding: 36px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(17, 94, 103, 0.08);
  box-sizing: border-box;
  text-align: center;
}

body.pagelayout-login .ws-gateway__heading {
  margin: 0 0 10px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 900;
}

body.pagelayout-login .ws-gateway__sub {
  margin: 0 0 24px;
  color: #5f6f72;
  line-height: 1.5;
}

body.pagelayout-login .login-logo,
body.pagelayout-login .login-heading,
body.pagelayout-login .login-divider,
body.pagelayout-login .login-signup,
body.pagelayout-login .potentialidps,
body.pagelayout-login .login-identityproviders,
body.pagelayout-login footer,
body.pagelayout-login .footer-popover {
  display: none !important;
}

body.pagelayout-login .login-form {
  margin: 0;
  text-align: left;
}

body.pagelayout-login .login-form .form-label,
body.pagelayout-login .login-form label {
  color: var(--ws-text);
  font-weight: 700;
}

body.pagelayout-login .form-control,
body.pagelayout-login input[type="text"],
body.pagelayout-login input[type="password"],
body.pagelayout-login input[type="email"] {
  min-height: 52px;
  border: 1px solid rgba(17, 94, 103, 0.18) !important;
  border-radius: 14px !important;
  background: #f7faf9 !important;
  color: var(--ws-text) !important;
  box-shadow: none !important;
}

body.pagelayout-login .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
}

body.pagelayout-login .input-group > .form-control {
  flex: 1 1 auto;
  min-width: 0;
}

body.pagelayout-login .input-group .btn,
body.pagelayout-login .input-group-append .btn {
  min-height: 52px;
}

body.pagelayout-login .form-control:focus,
body.pagelayout-login input[type="text"]:focus,
body.pagelayout-login input[type="password"]:focus,
body.pagelayout-login input[type="email"]:focus {
  border-color: var(--ws-teal) !important;
  box-shadow: 0 0 0 4px rgba(17, 94, 103, 0.12) !important;
}

body.pagelayout-login .input-group .btn,
body.pagelayout-login .input-group-append .btn {
  border-color: rgba(17, 94, 103, 0.18) !important;
  border-radius: 0 14px 14px 0 !important;
  background: #f7faf9 !important;
  color: var(--ws-teal) !important;
}

body.pagelayout-login .btn-primary,
body.pagelayout-login button[type="submit"],
body.pagelayout-login input[type="submit"] {
  width: 100%;
  min-height: 52px;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--ws-teal) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

body.pagelayout-login .btn-primary:hover,
body.pagelayout-login button[type="submit"]:hover,
body.pagelayout-login input[type="submit"]:hover {
  background: var(--ws-teal-dark) !important;
}

body.pagelayout-login a {
  color: var(--ws-teal);
  font-weight: 700;
  text-decoration: none;
}

body.pagelayout-login a:hover {
  text-decoration: underline;
}

body.pagelayout-login .forgetpass,
body.pagelayout-login .login-form-forgotpassword {
  text-align: center;
}

body.pagelayout-login .ws-gateway__note {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(17, 94, 103, 0.12);
  text-align: center;
}

body.pagelayout-login .ws-gateway__note h3 {
  margin: 0 0 10px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 900;
}

body.pagelayout-login .ws-gateway__note p {
  margin: 0 0 10px;
  color: #5f6f72;
  font-size: 0.95rem;
  line-height: 1.5;
}

body.pagelayout-login .ws-gateway__note p:last-child {
  margin-bottom: 0;
}
/* Login page responsive layout */
@media (max-width: 900px) {
  body.pagelayout-login #page.ws-gateway {
    min-height: 100vh;
    padding: 14px !important;
  }

  body.pagelayout-login .ws-gateway__shell {
    min-height: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 24px;
  }

  body.pagelayout-login .ws-gateway__hero {
    width: 100%;
    min-height: 360px;
    align-items: flex-end;
    background-position: center center;
  }

  body.pagelayout-login .ws-gateway__hero-inner {
    max-width: none;
    padding: 34px 28px;
  }

  body.pagelayout-login .ws-gateway__logo {
    width: 170px;
    margin-bottom: 18px;
  }

  body.pagelayout-login .ws-gateway__title {
    font-size: clamp(3rem, 17vw, 5.2rem);
  }

  body.pagelayout-login .ws-gateway__panel {
    width: 100%;
    padding: 22px;
  }

  body.pagelayout-login .ws-gateway__card {
    max-width: none;
    padding: 28px 22px;
    box-shadow: none;
  }
}

@media (max-width: 520px) {
  body.pagelayout-login #page.ws-gateway {
    padding: 10px !important;
  }

  body.pagelayout-login .ws-gateway__hero {
    min-height: 320px;
  }

  body.pagelayout-login .ws-gateway__hero-inner {
    padding: 30px 24px;
  }

  body.pagelayout-login .ws-gateway__panel {
    padding: 18px;
  }

  body.pagelayout-login .ws-gateway__card {
    padding: 24px 18px;
  }

  body.pagelayout-login .ws-gateway__heading {
    font-size: 1.75rem;
  }
}

body.pagelayout-login {
  overflow-x: hidden;
}
/* Login page only - hide Moodle cookie notice clutter */
body.pagelayout-login .cookies-section,
body.pagelayout-login .cookie-notice,
body.pagelayout-login a[href*="cookies"],
body.pagelayout-login button[data-action*="cookies"] {
  display: none !important;
}

/* =========================================================
   07. EMAIL CONFIRMATION PAGE
========================================================= */

body#page-login-confirm {
  background: #eef3f1;
  font-family: "Open Sans", Arial, sans-serif;
  color: var(--ws-text);
}

body#page-login-confirm #page {
  background: transparent;
}

body#page-login-confirm #page-content {
  padding: 40px 20px;
}

body#page-login-confirm .secondary-navigation,
body#page-login-confirm .breadcrumb,
body#page-login-confirm #page-header,
body#page-login-confirm .activity-header {
  display: none !important;
}

body#page-login-confirm #region-main {
  max-width: 760px;
  margin: 56px auto;
  padding: 0;
  border: 0;
  background: transparent;
}

body#page-login-confirm .box.py-3.generalbox {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 48px 56px !important;
  background: #ffffff;
  border-radius: 32px;
  box-shadow: 0 24px 70px rgba(17, 94, 103, 0.12);
  text-align: center;
}

body#page-login-confirm .box.py-3.generalbox::before {
  content: "";
  position: absolute;
  top: -58px;
  left: -58px;
  width: 150px;
  height: 150px;
  border-radius: 999px;
  background: rgba(85, 190, 184, 0.25);
}

body#page-login-confirm .box.py-3.generalbox::after {
  content: "";
  position: absolute;
  top: 32px;
  right: 42px;
  width: 74px;
  height: 74px;
  border-radius: 999px;
  border: 2px solid rgba(198, 160, 73, 0.5);
}

body#page-login-confirm #region-main h1,
body#page-login-confirm #region-main .h2 {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 0 auto 32px;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ws-text);
}

body#page-login-confirm #region-main h3,
body#page-login-confirm #region-main h4,
body#page-login-confirm #region-main p {
  position: relative;
  z-index: 1;
}

body#page-login-confirm #region-main h3,
body#page-login-confirm #region-main h4 {
  margin: 0 0 10px;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
  color: var(--ws-text);
}

body#page-login-confirm #region-main p {
  max-width: 460px;
  margin: 0 auto 24px;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ws-text-soft);
}

body#page-login-confirm #region-main .btn,
body#page-login-confirm #region-main input[type="submit"],
body#page-login-confirm #region-main button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 0;
  border-radius: 999px;
  background: var(--ws-teal);
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(17, 94, 103, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

body#page-login-confirm #region-main .btn:hover,
body#page-login-confirm #region-main input[type="submit"]:hover,
body#page-login-confirm #region-main button:hover {
  background: var(--ws-teal-dark);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(17, 94, 103, 0.26);
}

@media (max-width: 640px) {
  body#page-login-confirm #page-content {
    padding: 24px 14px;
  }

  body#page-login-confirm #region-main {
    margin: 28px auto;
  }

  body#page-login-confirm .box.py-3.generalbox {
    padding: 56px 24px 40px !important;
    border-radius: 24px;
  }

  body#page-login-confirm .box.py-3.generalbox::after {
    display: none;
  }
}

/* =========================================================
   08. PARTICIPANT CHROME CLEANUP
========================================================= */

/* Hide top-right Moodle clutter for learner/non-editing views */
body:not(.editing) #usernavigation > .popover-region,
body:not(.editing) #usernavigation > .divider,
body:not(.editing) #usernavigation > .divider.border-start,
body:not(.editing) #nav-notification-popover-container,
body:not(.editing) #usernavigation [data-region="popover-region-messages"],
body:not(.editing) #usernavigation [data-region="popover-region-notifications"] {
  display: none !important;
}

/* Hide course index/block drawers on learner course pages.
   Keep Moodle's native mobile hamburger available for the primary nav. */
body.path-course-view:not(.editing) [data-region="courseindex"],
body.path-course-view:not(.editing) #theme_boost-drawers-courseindex,
body.path-course-view:not(.editing) #theme_boost-drawers-blocks,
body.path-course-view:not(.editing) .drawer.drawer-left:not(#theme_boost-drawers-primary),
body.path-course-view:not(.editing) .courseindex {
  display: none !important;
}

/* Hide course drawer toggles on desktop only.
@media (min-width: 768px) {
  body.path-course-view:not(.editing) .drawer-left-toggle,
  body.path-course-view:not(.editing) .drawer-right-toggle,
  body.path-course-view:not(.editing) .drawer-toggles,
  body.path-course-view:not(.editing) [data-region="drawer-toggle"] {
    display: none !important;
  }
}*/

/* Restore Moodle's native hamburger on learner course pages for mobile. */
@media (max-width: 767px) {
  body.path-course-view:not(.editing):not(.path-admin) nav.navbar.fixed-top button[data-toggler="drawers"],
  body.path-course-view:not(.editing):not(.path-admin) nav.navbar.fixed-top .navbar-toggler,
  body.path-course-view:not(.editing):not(.path-admin) nav.navbar.fixed-top .drawer-toggler,
  body.path-course-view:not(.editing):not(.path-admin) nav.navbar.fixed-top .btn[data-action="toggle-drawer"],
  body.path-course-view:not(.editing):not(.path-admin) nav.navbar.fixed-top [data-region="drawer-toggle"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Remove drawer offset and default top spacing on learner course pages */
body.path-course-view:not(.editing) #page.drawers.show-drawer-left,
body.path-course-view:not(.editing) #page.drawers {
  margin-left: 0 !important;
}

body.path-course-view:not(.editing) #page,
body.path-course-view:not(.editing) #page.drawers,
body.path-course-view:not(.editing) #page-content,
body.path-course-view:not(.editing) #region-main-box,
body.path-course-view:not(.editing) #region-main,
body.path-course-view:not(.editing) #topofscroll.main-inner,
body.path-course-view:not(.editing) .course-content,
body.path-course-view:not(.editing) .course-content ul.topics {
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Remove default activity card styling where custom WS layouts are used */
body.path-course-view:not(.editing) .activity,
body.path-course-view:not(.editing) .activity-item {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top button[data-toggler="drawers"],
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top .navbar-toggler,
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top .drawer-toggler,
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top .btn[data-action="toggle-drawer"],
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top [data-region="drawer-toggle"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Prevent blank course drawer overlays for normal users.
   Do not hide #theme_boost-drawers-primary, because Moodle's mobile hamburger needs it. */
body:not(.editing) .modal-backdrop[data-region="modal-backdrop"],
body:not(.editing) #theme_boost-drawers-courseindex {
  display: none !important;
}

/* Hide selected user-menu clutter for learner/non-editing views */
body:not(.editing) .usermenu .dropdown-menu a.dropdown-item[href*="/reportbuilder/index.php"],
body:not(.editing) .usermenu .dropdown-menu a[href*="/grade/report/"],
body:not(.editing) .usermenu .dropdown-menu a[href*="/calendar/"],
body:not(.editing) .usermenu .dropdown-menu a[href*="/user/files.php"],
body:not(.editing) .usermenu .dropdown-menu a[href*="/report/"],
body:not(.editing) .usermenu .dropdown-menu a[href*="/user/preferences.php"] {
  display: none !important;
}

body:not(.editing) .usermenu .dropdown-menu a.dropdown-item[href*="/reportbuilder/index.php"] + .dropdown-divider,
body:not(.editing) .usermenu .dropdown-menu a.dropdown-item[href*="/user/profile.php"] + .dropdown-divider {
  display: none !important;
}

/* Mobile menu polish patch */
@media (max-width: 767px) {
  body:not(.editing) #theme_boost-drawers-primary,
  body:not(.editing) .drawer.drawer-left#theme_boost-drawers-primary {
    width: min(86vw, 360px) !important;
    max-width: 360px !important;
    background: #ffffff !important;
    border-right: 1px solid rgba(17, 94, 103, 0.12) !important;
    box-shadow: 18px 0 44px rgba(17, 94, 103, 0.16) !important;
  }

  body:not(.editing) #theme_boost-drawers-primary .list-group,
  body:not(.editing) #theme_boost-drawers-primary .list-group-flush,
  body:not(.editing) #theme_boost-drawers-primary .drawercontent {
    background: #ffffff !important;
  }

  body:not(.editing) #theme_boost-drawers-primary .list-group-item,
  body:not(.editing) #theme_boost-drawers-primary .nav-link,
  body:not(.editing) #theme_boost-drawers-primary a {
    min-height: 58px !important;
    display: flex !important;
    align-items: center !important;
    padding: 16px 24px !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(17, 94, 103, 0.08) !important;
    background: #ffffff !important;
    color: var(--ws-text) !important;
    font-family: "Urbanist", "Open Sans", Arial, sans-serif !important;
    font-size: 1.18rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.005em !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }

  body:not(.editing) #theme_boost-drawers-primary .list-group-item.active,
  body:not(.editing) #theme_boost-drawers-primary .list-group-item[aria-current="page"],
  body:not(.editing) #theme_boost-drawers-primary .nav-link.active,
  body:not(.editing) #theme_boost-drawers-primary .nav-link[aria-current="page"],
  body:not(.editing) #theme_boost-drawers-primary a.active,
  body:not(.editing) #theme_boost-drawers-primary a[aria-current="page"] {
    background: rgba(17, 94, 103, 0.08) !important;
    color: var(--ws-teal) !important;
    box-shadow: inset 4px 0 0 var(--ws-teal) !important;
  }

  body:not(.editing) #theme_boost-drawers-primary .list-group-item:hover,
  body:not(.editing) #theme_boost-drawers-primary .nav-link:hover,
  body:not(.editing) #theme_boost-drawers-primary a:hover {
    background: rgba(17, 94, 103, 0.05) !important;
    color: var(--ws-teal) !important;
  }

  body:not(.editing) .drawer-toggles .drawer-toggler,
  body:not(.editing) button[data-toggler="drawers"],
  body:not(.editing) nav.navbar.fixed-top .navbar-toggler,
  body:not(.editing) nav.navbar.fixed-top .drawer-toggler,
  body:not(.editing) nav.navbar.fixed-top [data-region="drawer-toggle"] {
    color: var(--ws-teal) !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body:not(.editing) .drawer-backdrop,
  body:not(.editing) .modal-backdrop.show {
    background: rgba(17, 94, 103, 0.22) !important;
    opacity: 1 !important;
  }

  .tooltip,
  .tooltip.show,
  .bs-tooltip-auto,
  .bs-tooltip-top,
  .bs-tooltip-bottom,
  .bs-tooltip-start,
  .bs-tooltip-end {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Hide Moodle's floating course/index drawer icon on mobile learner views */
  body:not(.editing):not(.path-admin) .drawer-toggles,
  body:not(.editing):not(.path-admin) .drawer-left-toggle,
  body:not(.editing):not(.path-admin) .drawer-right-toggle,
  body:not(.editing):not(.path-admin) .drawer-toggler:not(nav.navbar.fixed-top .drawer-toggler) {
    display: none !important;
  }

  body:not(.editing):not(.path-admin) nav.navbar.fixed-top .drawer-toggles,
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top .drawer-left-toggle,
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top .drawer-right-toggle,
  body:not(.editing):not(.path-admin) nav.navbar.fixed-top .drawer-toggler {
    display: inline-flex !important;
  }
}

/* =========================================================
   09. COURSE PAGE CHROME CLEANUP
========================================================= */

body.path-course-view:not(.editing) .course-content .section-collapsemenu,
body.path-course-view:not(.editing) .course-content .collapseall,
body.path-course-view:not(.editing) .course-content [data-region="section-collapsemenu"],
body.path-course-view:not(.editing) .course-content .collapsible-actions,
body.path-course-view:not(.editing) button[data-action="toggleall"],
body.path-course-view:not(.editing) button[data-action="collapseall"],
body.path-course-view:not(.editing) .course-content .course-section-header,
body.path-course-view:not(.editing) .course-content .section-item > .course-section-header,
body.path-course-view:not(.editing) .course-content [data-for="section_title"],
body.path-course-view:not(.editing) .course-content [data-for="sectiontoggler"],
body.path-course-view:not(.editing) .course-content [data-action="togglecoursecontent"],
body.path-course-view:not(.editing) .course-content [aria-expanded][aria-controls^="coursecontentcollapse"] {
  display: none !important;
}

body.path-course-view:not(.editing) .course-content .course-section,
body.path-course-view:not(.editing) .course-content .section,
body.path-course-view:not(.editing) .course-content .section-item {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.path-course-view:not(.editing) .course-content .course-section::before,
body.path-course-view:not(.editing) .course-content .course-section::after,
body.path-course-view:not(.editing) .course-content .section::before,
body.path-course-view:not(.editing) .course-content .section::after,
body.path-course-view:not(.editing) .course-content .section-item::before,
body.path-course-view:not(.editing) .course-content .section-item::after {
  display: none !important;
  content: none !important;
}

/* Hide unreleased weekly sections */
body:not(.editing) .cws-week-section--locked,
body:not(.editing) .cws-week-section.is-locked,
body:not(.editing) .cws-week-section[data-status="locked"],
body:not(.editing) .cws-week-section[data-release="locked"] {
  display: none !important;
}

/* Premium toolkit card styling */
.ws-toolkit--premium {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(17, 94, 103, 0.10);
  box-shadow: 0 18px 46px rgba(17, 94, 103, 0.06);
}

.ws-toolkit--premium .ws-toolkit__intro {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.ws-toolkit--premium h2 {
  margin-bottom: 22px;
  line-height: 0.95;
}

.ws-toolkit--premium ul {
  margin: 26px 0 18px;
  padding: 0;
  list-style: none !important;
  list-style-type: none !important;
}

.ws-toolkit--premium li {
  position: relative;
  margin-bottom: 16px;
  padding-left: 34px;
  color: var(--ws-text);
  font-size: 1.08rem;
  line-height: 1.55;
  list-style: none !important;
  list-style-type: none !important;
}

.ws-toolkit--premium li::marker {
  content: "" !important;
  display: none !important;
  font-size: 0 !important;
}

.ws-toolkit--premium li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--ws-teal-2);
  box-shadow: 0 0 0 6px rgba(22,147,165,0.12);
}

.ws-toolkit--premium .p1 {
  margin-top: 26px;
  color: var(--ws-text-soft);
  font-size: 1.04rem;
  line-height: 1.7;
}

@media (max-width: 767px) {
  .ws-toolkit--premium li,
  .ws-toolkit--premium .p1 {
    font-size: 1rem;
  }
}

/* Mobile hero refinements */
@media (max-width: 640px) {
  .cws-hero__content--welcome,
  .cws-course-hero .cws-hero__content {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }

  .cws-hero__content--welcome .cws-hero__text,
  .cws-course-hero .cws-hero__text {
    margin-left: 6px !important;
  }

  .cws-hero__content--welcome .cws-btn,
  .cws-course-hero .cws-btn,
  .cws-hero__content--welcome a.btn,
  .cws-course-hero a.btn,
  .cws-course-hero a[href*="/course/view.php"] {
    width: calc(100% + 36px) !important;
    max-width: none !important;
    margin-left: -18px !important;
    margin-right: -18px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    display: flex !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   10. MOBILE NAVIGATION
========================================================= */

.cws-mobile-nav {
  display: none !important;
}

/* Hide the experimental custom hamburger everywhere by default.
   Moodle's native mobile hamburger is handled in section 08. */
.ws-mobile-nav {
  display: none !important;
}

@media (max-width: 767px) {
  body:not(.path-admin) {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }

  body:not(.path-admin) .cws-mobile-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 99998;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
    border: 1px solid rgba(17, 94, 103, 0.16);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.985);
    box-shadow:
      0 20px 50px rgba(20, 38, 40, 0.24),
      0 4px 12px rgba(17, 94, 103, 0.08);
    font-family: "Open Sans", Arial, sans-serif;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  body:not(.path-admin) .cws-mobile-nav a {
    min-width: 0;
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 8px;
    border-radius: 20px;
    color: #42575b;
    text-align: center;
    text-decoration: none !important;
    transition:
      color 0.18s ease,
      background 0.18s ease,
      transform 0.18s ease;
  }

  body:not(.path-admin) .cws-mobile-nav a span,
  body:not(.path-admin) .cws-mobile-nav a .cws-mobile-nav__label,
  body:not(.path-admin) .cws-mobile-nav a .cws-nav-label {
    display: none !important;
  }

  body:not(.path-admin) .cws-mobile-nav svg {
    width: 31px;
    height: 31px;
    margin: 0 !important;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.35;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  body:not(.path-admin) .cws-mobile-nav a.is-active {
    color: var(--ws-teal);
    background: rgba(17, 94, 103, 0.10);
    box-shadow: inset 0 0 0 1px rgba(17, 94, 103, 0.055);
  }

  body:not(.path-admin) .cws-mobile-nav a.is-active svg {
    color: var(--ws-gold);
  }

  body:not(.path-admin) .cws-mobile-nav a:active {
    transform: translateY(1px);
  }

  body:not(.path-admin) .ws-mobile-nav {
    display: none !important;
  }

  body.path-admin .cws-mobile-nav,
  body.pagelayout-login .cws-mobile-nav {
    display: none !important;
  }
}

/* =========================================================
   11. FOOTER CLEANUP
========================================================= */

#page-footer .homelink,
#page-footer .logininfo,
#page-footer .tool_dataprivacy,
#page-footer .helplink,
#page-footer .footer-powered-by,
#page-footer .poweredby,
#page-footer .theme-switch,
#page-footer .theme-switcher,
#page-footer a[href*="theme=standard"],
#page-footer a[href*="switchtheme"],
#page-footer a[href*="theme=boost"],
#page-footer a[href*="theme=classic"],
#page-footer a[href*="sesskey"] {
  display: none !important;
}

/* Hide "Powered by Moodle" footer block */
#page-footer .footer-content-popover .footer-section:has(a[href="https://moodle.com"]) {
  display: none !important;
}

/* =========================================================
   12. PAGE LAYOUT AND CONTENT RESET
========================================================= */

/* Remove Moodle page chrome around WS custom HTML pages */
body:not(.editing) #page-header,
body:not(.editing) .page-header-headings,
body:not(.editing) .secondary-navigation,
body:not(.editing) .tertiary-navigation,
body:not(.editing) .breadcrumb,
body:not(.editing) .breadcrumb-nav,
body:not(.editing) .activity-header,
body:not(.editing) .activity-navigation,
body:not(.editing) .collapsible-actions,
body:not(.editing) .course-content .section_action_menu,
body:not(.editing) .course-content .sectionbadges,
body:not(.editing) .course-content .availabilityinfo,
body:not(.editing) .course-content .completioninfo,
body:not(.editing) .course-content .activity-completion,
body:not(.editing) .course-content .activity-basis {
  display: none !important;
}
/* Broad reset for custom WS content pages. Keep this scoped to non-editing views. */
body:not(.editing) #page.drawers,
body:not(.editing) #page-content,
body:not(.editing) #region-main,
body:not(.editing) #region-main-box,
body:not(.editing) #topofscroll.main-inner,
body:not(.editing) .course-content,
body:not(.editing) .course-section,
body:not(.editing) .activity,
body:not(.editing) .activity-item,
body:not(.editing) .activityinstance,
body:not(.editing) .contentwithoutlink,
body:not(.editing) .no-overflow,
body:not(.editing) .generalbox {
  width: 100% !important;
  max-width: none !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body:not(.editing) #page.drawers .main-inner,
body:not(.editing):not(.limitedwidth) #page.drawers .main-inner {
  width: 100% !important;
  max-width: none !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Main WS page wrapper */
.cws-program-page {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

.cws-program-page *,
.cws-program-page *::before,
.cws-program-page *::after {
  box-sizing: border-box;
}

/* Hero */
.cws-course-hero {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
  margin: 0 0 0 calc(50% - 50vw);
  border-radius: 0;
  background: var(--ws-teal);
  box-shadow: var(--ws-shadow-lg);
}

/* Tighten hero-to-first-section spacing */
.cws-month-intro {
  margin: 0 !important;
  padding: 0 !important;
}

.cws-month-intro + .cws-month-intro__overview,
.cws-month-intro + .ws-section,
.cws-month-intro + .cws-card,
.cws-month-intro + .ws-toolkit,
.cws-month-intro + .ws-support-strip,
.cws-month-intro + .cws-week-section {
  margin-top: 24px !important;
}

.cws-hero__content {
  position: relative;
  min-height: clamp(430px, 52vw, 650px);
  display: flex;
  align-items: flex-end;
  background-position: center center !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
}

.cws-hero__bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.12));
  pointer-events: none;
}

@media (max-width: 767px) {
  .cws-hero__bg-overlay {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.28) 42%,
      rgba(0, 0, 0, 0.66) 100%
    );
  }
}

.cws-hero__inner {
  position: relative;
  z-index: 2;
  width: min(100%, var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 0 auto;
  padding: clamp(42px, 7vw, 84px) clamp(20px, 4vw, 56px);
  color: #ffffff;
}

.cws-eyebrow,
.cws-kicker,
.cws-card-kicker,
.ws-eyebrow,
.ws-reset-card__kicker,
.ws-card__eyebrow {
  margin: 0 0 10px;
  color: var(--ws-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.cws-eyebrow--hero {
  color: var(--ws-gold);
}

.cws-hero-brand {
  margin-bottom: 22px;
}

.cws-hero-brand .cws-eyebrow {
  margin-bottom: 4px;
}

.cws-hero-brand__byline {
  margin: 0;
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(0.78rem, 1.2vw, 0.95rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.08em;
  opacity: 0.9;
}

.cws-hero__text {
  max-width: 520px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: 1.6;
}

.cws-hero__title,
.cws-hero-title {
  margin: 0;
  color: #ffffff;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(4.2rem, 10vw, 8.8rem);
  line-height: 0.86;
  font-weight: 950;
  letter-spacing: -0.075em;
}

/* Hero CTA */
.ws-hero-cta {
  min-height: 54px;
  margin-top: 28px;
  padding: 16px 34px;
  box-shadow: 0 16px 34px rgba(198, 160, 73, 0.32);
}

.ws-hero-cta:hover,
.ws-hero-cta:focus {
  box-shadow: 0 20px 40px rgba(198, 160, 73, 0.36);
}

@media (max-width: 767px) {
  .ws-hero-cta {
    width: 100%;
    max-width: 320px;
    min-height: 50px;
    margin-top: 22px;
  }
}

/* Homepage program CTA */
.ws-home-actions {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 34px auto;
}

.ws-reset-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(17, 94, 103, 0.14);
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  color: var(--ws-text);
  text-decoration: none !important;
  box-shadow: var(--ws-shadow-lg);
}

.ws-reset-card:hover,
.ws-reset-card:focus {
  color: var(--ws-text);
  text-decoration: none !important;
}

.ws-reset-card__title {
  margin: 0 0 12px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 0.98;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.ws-reset-card__text {
  max-width: 720px;
  margin: 0;
  color: var(--ws-text-soft);
  line-height: 1.65;
}

/* Button variants for WS content blocks are defined in section 05. */

.cws-button--disabled {
  opacity: 0.65;
  pointer-events: none;
}

/* Sections and cards */
.ws-section,
.cws-card,
.cws-month-intro__overview,
.ws-toolkit,
.ws-support-strip {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 34px auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  box-shadow: var(--ws-shadow);
}

.cws-month-intro__overview--split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
}

.ws-section__title,
.cws-section-intro__title,
.cws-section-title,
.cws-week-header__title,
.cws-card-title,
.ws-card__title,
.ws-toolkit__intro h2,
.ws-toolkit-feature h3 {
  margin: 0 0 14px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.ws-section__title,
.cws-section-intro__title,
.cws-section-title,
.ws-toolkit__intro h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
}

.ws-section__intro,
.cws-section-intro__text,
.cws-card-text,
.ws-card__text,
.ws-toolkit__intro > p:not(.cws-kicker):not(.ws-eyebrow),
.ws-toolkit-feature__content > p:not(.cws-kicker):not(.ws-eyebrow),
.cws-takeaway-text {
  color: var(--ws-text-soft);
  line-height: 1.65;
}

.ws-card-grid,
.cws-live-session-grid,
.cws-resource-grid,
.ws-toolkit__featured {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.ws-card-grid--2,
.ws-toolkit__featured {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cws-live-session-grid,
.cws-resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ws-card,
.cws-live-session-card,
.cws-resource-card,
.ws-toolkit-feature {
  overflow: hidden;
  border: 1px solid rgba(17, 94, 103, 0.10);
  border-radius: var(--ws-radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 94, 103, 0.055);
}

/* Resource cards - equal height and bottom-aligned buttons */
.cws-resource-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ws-toolkit-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 100%;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfb 100%);
  box-shadow: 0 14px 34px rgba(17, 94, 103, 0.055);
}

.ws-toolkit-feature__content {
  flex: 1 1 auto;
}

.ws-toolkit-feature__content > p:not(.cws-kicker):not(.ws-eyebrow) {
  margin-bottom: 26px;
}

.ws-toolkit-feature__actions {
  width: 100%;
  margin-top: auto;
}

.ws-toolkit-feature__actions .ws-toolkit__btn {
  width: 100%;
}

.cws-live-session-grid {
  align-items: stretch;
}

.cws-live-session-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100%;
}

.cws-live-session-card__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.cws-live-session-card__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

.cws-live-session-card .cws-button {
  width: 100%;
  min-height: 54px;
  padding-left: 22px;
  padding-right: 22px;
}

.ws-card--profile {
  overflow: hidden;
}

.ws-card__body,
.cws-resource-card__body {
  padding: 22px;
}

.cws-resource-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.cws-resource-card__content {
  flex: 1 1 auto;
}

.cws-resource-card__actions {
  width: 100%;
  margin-top: auto;
  padding-top: 22px;
}

.cws-resource-card__actions .cws-button,
.cws-resource-card .cws-button--small {
  width: auto;
  min-width: 250px;
  min-height: 54px;
  padding-left: 28px;
  padding-right: 28px;
}

.ws-toolkit-feature {
  padding: 28px;
}

.cws-live-session-card {
  padding: 24px 28px 28px;
}

.ws-card__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

/* Reliable Vimeo embeds - no custom overlay */
.cws-resource-card__frame,
.ws-video-clean {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.ws-video-clean {
  position: relative;
  overflow: hidden;
  border-radius: var(--ws-radius);
  background: #102f35;
  box-shadow: 0 12px 28px rgba(17, 94, 103, 0.07);
}

/* Resource cards - keep video/media joined neatly to card body */
.cws-resource-card .cws-resource-card__media,
.cws-resource-card .ws-video-clean,
.cws-resource-card .cws-resource-card__frame,
.cws-resource-card .cws-replay-placeholder {
  border-radius: var(--ws-radius) var(--ws-radius) 0 0;
}

.cws-resource-card .cws-resource-card__media {
  overflow: hidden;
}

/* Practice library thumbnails - keep all card images the same size */
.cws-resource-grid .cws-resource-card__media {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.cws-resource-grid .cws-resource-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cws-resource-grid .cws-resource-card:first-child .cws-resource-card__media img {
  object-position: center 40%;
}

.ws-video-clean iframe,
.cws-resource-card__frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

.ws-support-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--ws-teal);
  color: #ffffff;
}

.ws-support-strip h2,
.ws-support-strip h3,
.ws-support-strip p {
  color: #ffffff;
}

.ws-support-btn {
  background: var(--ws-gold);
  color: #ffffff !important;
}

@media (max-width: 1100px) {
  .cws-live-session-grid,
  .cws-resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ws-reset-card,
  .ws-card-grid--2,
  .ws-toolkit__featured,
  .cws-month-intro__overview--split,
  .cws-live-session-grid,
  .cws-resource-grid {
    grid-template-columns: 1fr;
  }

  .ws-reset-card__button,
  .ws-toolkit__btn,
  .ws-support-btn {
    width: 100%;
  }

  .ws-support-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .cws-program-page {
    padding: 0;
  }

  .cws-hero-brand {
    margin-bottom: 18px;
  }

  .cws-hero-brand__byline {
    max-width: 240px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
  }

  .cws-hero__text {
    max-width: 280px;
    margin-top: 16px;
    font-size: 0.96rem;
    line-height: 1.55;
  }

  .cws-course-hero {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: 0;
    margin-bottom: 0;
    border-radius: 0;
  }

  .cws-month-intro + .cws-month-intro__overview,
  .cws-month-intro + .ws-section,
  .cws-month-intro + .cws-card,
  .cws-month-intro + .ws-toolkit,
  .cws-month-intro + .ws-support-strip,
  .cws-month-intro + .cws-week-section,
  .cws-month-intro__overview {
    margin-top: 20px !important;
  }

  .cws-hero__content {
    min-height: 360px;
    background-position: center center !important;
  }

  .cws-hero__inner {
    padding: 28px 24px 34px;
  }

  .cws-hero__title,
  .cws-hero-title {
    font-size: clamp(3.3rem, 15vw, 5rem);
    line-height: 0.88;
  }

  .ws-home-actions,
  .ws-section,
  .cws-card,
  .cws-month-intro__overview,
  .ws-reset-card,
  .ws-toolkit,
  .ws-support-strip {
    width: calc(100% - 16px);
    margin-left: auto;
    margin-right: auto;
  }

  .ws-section,
  .cws-card,
  .cws-month-intro__overview,
  .ws-reset-card,
  .ws-toolkit,
  .ws-support-strip {
    padding: 22px 18px;
    border-radius: 22px;
  }
}

@media (max-width: 767px) {
  .cws-resource-card__actions .cws-button,
  .cws-resource-card .cws-button--small {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }
}

/* =========================================================
   13. PROFILE PAGE
========================================================= */

body#page-user-profile {
  background: var(--ws-bg);
}

body#page-user-profile #page-header,
body#page-user-profile .secondary-navigation,
body#page-user-profile .breadcrumb,
body#page-user-profile .breadcrumb-nav,
body#page-user-profile .page-context-header,
body#page-user-profile .activity-header {
  display: none !important;
}

body#page-user-profile #page-content {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 36px auto;
  padding: 0 !important;
}

body#page-user-profile #region-main,
body#page-user-profile #region-main-box,
body#page-user-profile #topofscroll.main-inner {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

body#page-user-profile .profile_tree {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body#page-user-profile .node_category {
  overflow: hidden;
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 94, 103, 0.06);
}

body#page-user-profile .node_category h3 {
  margin: 0;
  padding: 22px 24px 8px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

body#page-user-profile .node_category .contentnode {
  padding: 0 24px 24px;
  color: var(--ws-text-soft);
  line-height: 1.65;
}

body#page-user-profile .node_category dt,
body#page-user-profile .node_category strong {
  color: var(--ws-text);
  font-weight: 800;
}

body#page-user-profile .node_category a {
  color: var(--ws-teal);
  font-weight: 700;
  text-decoration: none;
}

body#page-user-profile .node_category a:hover,
body#page-user-profile .node_category a:focus {
  color: var(--ws-teal-dark);
  text-decoration: underline;
}

/* Hide Moodle's email visibility helper text, e.g. "(Visible to other course participants)". */
body#page-user-profile li.contentnode:has(a[href^="mailto:"]) dd {
  font-size: 0;
}

body#page-user-profile li.contentnode:has(a[href^="mailto:"]) dd a {
  font-size: 1rem;
}

/* Hide less useful learner-facing Moodle profile blocks. */
body#page-user-profile .node_category:has(a[href*="/blog/"]),
body#page-user-profile .node_category:has(a[href*="/mod/forum/"]),
body#page-user-profile .node_category:has(a[href*="/report/"]),
body#page-user-profile .node_category:has(a[href*="/grade/report/"]),
body#page-user-profile .node_category:has(a[href*="/user/sessions.php"]),
body#page-user-profile .node_category:has(a[href*="/admin/tool/dataprivacy/"]) {
  display: none !important;
}

@media (max-width: 900px) {
  body#page-user-profile .profile_tree {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  body#page-user-profile #page-content {
    width: calc(100% - 16px);
    margin: 20px auto;
  }

  body#page-user-profile .node_category {
    border-radius: 22px;
  }

  body#page-user-profile .node_category h3 {
    padding: 20px 20px 8px;
  }

  body#page-user-profile .node_category .contentnode {
    padding: 0 20px 22px;
  }
}

/* =========================================================
   14. FACILITATOR CARDS
========================================================= */

.ws-section--facilitators {
  position: relative;
  overflow: hidden;
}

.ws-section--facilitators .ws-card-grid--2 {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 3vw, 34px);
  align-items: stretch;
}

.ws-section--facilitators .ws-card--profile {
  display: grid;
  grid-template-columns: minmax(360px, 0.48fr) minmax(0, 0.52fr);
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(17, 94, 103, 0.10);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(17, 94, 103, 0.09);
  backdrop-filter: blur(10px);
}

.ws-section--facilitators .ws-card--profile:nth-child(even) {
  grid-template-columns: minmax(0, 0.52fr) minmax(360px, 0.48fr);
}

.ws-section--facilitators .ws-card--profile:nth-child(even) .ws-card__media {
  order: 2;
}

.ws-section--facilitators .ws-card--profile:nth-child(even) .ws-card__body {
  order: 1;
}

.ws-section--facilitators .ws-card__media {
  width: 100%;
  height: 420px;
  min-height: 420px;
  overflow: hidden;
  background: #eef3f1;
}

.ws-section--facilitators .ws-card__image {
  display: block;
  width: 100%;
  height: 100% !important;
  min-height: 0 !important;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
  filter: saturate(0.96) contrast(1.02);
}

.ws-section--facilitators .ws-card--profile:first-child .ws-card__image {
  object-position: center 14%;
}

.ws-section--facilitators .ws-card--profile:nth-child(2) .ws-card__image {
  object-position: center 22%;
}

.ws-section--facilitators .ws-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 4.5vw, 58px);
}

.ws-section--facilitators .ws-card__body::before {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: var(--ws-gold);
}

.ws-section--facilitators .ws-card__eyebrow {
  margin-bottom: 12px;
  color: var(--ws-gold);
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.18em;
}

.ws-section--facilitators .ws-card__title {
  margin-bottom: 18px;
  color: var(--ws-text);
  font-size: clamp(1.8rem, 2.7vw, 2.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.ws-section--facilitators .ws-card__text {
  max-width: 620px;
  margin: 0;
  color: var(--ws-text-soft);
  font-size: 1.02rem;
  line-height: 1.72;
}

@media (max-width: 900px) {
  .ws-section--facilitators .ws-card--profile,
  .ws-section--facilitators .ws-card--profile:nth-child(even) {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ws-section--facilitators .ws-card--profile:nth-child(even) .ws-card__media,
  .ws-section--facilitators .ws-card--profile:nth-child(even) .ws-card__body {
    order: initial;
  }

  .ws-section--facilitators .ws-card__media {
    height: clamp(380px, 64vw, 560px);
    min-height: 0;
  }

  .ws-section--facilitators .ws-card__image {
    height: 100% !important;
    min-height: 0 !important;
  }

  .ws-section--facilitators .ws-card__body {
    justify-content: flex-start;
    padding: clamp(28px, 5vw, 42px);
  }
}

@media (max-width: 767px) {
  .ws-section--facilitators .ws-card--profile {
    border-radius: 22px;
  }

  .ws-section--facilitators .ws-card__media {
    height: 380px;
  }

  .ws-section--facilitators .ws-card__body {
    padding: 24px 20px 28px;
  }
}
  
/* Weekly resource section */
.cws-month-intro__overview--resource .cws-section-intro {
  max-width: 560px;
}

/* Weekly resource preview card */
.cws-weekly-resource-preview-card {
  max-width: 300px;
  margin: 0 auto;
  padding: 18px;
}

.cws-weekly-resource-preview-card .cws-live-session-card__content {
  padding: 0;
}

.cws-weekly-resource-preview-card .cws-kicker {
  display: none;
}

.cws-weekly-resource-preview-card img {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
}
/* New this week - equal-height cards with bottom-aligned buttons */
.cws-card--new-this-week .cws-resource-grid {
  align-items: stretch;
}

.cws-card--new-this-week .cws-resource-card--update {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cws-card--new-this-week .cws-resource-card__media {
  flex: 0 0 auto;
}

.cws-card--new-this-week .cws-resource-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.cws-card--new-this-week .cws-card-text {
  margin-bottom: 24px;
}

.cws-card--new-this-week .cws-resource-card__body > .cws-button {
  width: 100%;
  margin-top: auto;
  align-self: stretch;
}

/* =========================================================
   15. WELLBEING PULSE
========================================================= */

.ws-pulse {
  width: 100%;
  max-width: 980px;
  margin: 48px auto;
  padding: 0 20px;
  font-family: "Open Sans", Arial, sans-serif;
  color: #26383b;
}

.ws-pulse,
.ws-pulse * {
  box-sizing: border-box;
}

.ws-pulse__card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  padding: 40px;
  background: #ffffff;
  border: 1px solid rgba(17, 94, 103, 0.12);
  box-shadow: 0 18px 46px rgba(17, 94, 103, 0.1);
}

.ws-pulse__card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 6px;
  background: #b79443;
  pointer-events: none;
}

.ws-pulse__visual {
  display: none;
}

.ws-pulse__heart {
  display: none;
}

.ws-pulse__heart span {
  display: none;
}

.ws-pulse__header {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-bottom: 28px;
}

.ws-pulse .cws-kicker {
  margin: 0 0 10px;
  color: #b79443;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ws-pulse h2 {
  margin: 0 0 12px;
  font-family: "Urbanist", "Century Gothic", Arial, sans-serif;
  font-size: clamp(2rem, 3.2vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #115e67;
}

.ws-pulse__header p:not(.cws-kicker) {
  margin: 0;
  max-width: 720px;
  color: #536164;
  font-size: 1.02rem;
  line-height: 1.65;
}

.ws-pulse__body {
  position: relative;
  z-index: 2;
  padding: 28px;
  border-radius: 24px;
  background: #f8fbfa;
  border: 1px solid rgba(17, 94, 103, 0.09);
  box-shadow: none;
}

.ws-pulse__scale {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  max-width: calc(100% - 210px);
  margin: 0 58px 12px auto;
  color: #748083;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

.ws-pulse__items {
  display: grid;
  gap: 14px;
}

.ws-pulse__item {
  display: grid;
  grid-template-columns: 150px 1fr 42px;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(17, 94, 103, 0.08);
  box-shadow: 0 6px 18px rgba(17, 94, 103, 0.045);
}

.ws-pulse__label {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  color: #2c3d40;
  font-size: 0.98rem;
  font-weight: 800;
}

.ws-pulse__icon {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(17, 94, 103, 0.12);
}

.ws-pulse__icon--physical {
  background: #13804d;
}

.ws-pulse__icon--emotional {
  background: #c93434;
}

.ws-pulse__icon--social {
  background: #7a52c8;
}

.ws-pulse__icon--financial {
  background: #267b98;
}

.ws-pulse__icon--work {
  background: #c45b18;
}

.ws-pulse input[type="range"] {
  --ws-pulse-fill: 50%;
  width: 100%;
  height: 14px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background:
    linear-gradient(
      to right,
      #115e67 0%,
      #115e67 var(--ws-pulse-fill),
      #e2e9e8 var(--ws-pulse-fill),
      #e2e9e8 100%
    );
}

.ws-pulse input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #ffffff;
  border: 5px solid #115e67;
  box-shadow: 0 8px 18px rgba(17, 94, 103, 0.22);
}

.ws-pulse input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #ffffff;
  border: 5px solid #115e67;
  box-shadow: 0 8px 18px rgba(17, 94, 103, 0.22);
}

.ws-pulse__score {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #edf5f4;
  color: #115e67;
  font-size: 1rem;
  font-weight: 900;
}

.ws-pulse__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}

.ws-pulse__btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 34px;
  border-radius: 999px;
  background: #115e67;
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px rgba(17, 94, 103, 0.2);
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.ws-pulse__btn:hover,
.ws-pulse__btn:focus {
  background: #0d4f57;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(17, 94, 103, 0.26);
}

.ws-pulse__btn--ghost {
  background: transparent;
  color: #115e67;
  border: 1px solid rgba(17, 94, 103, 0.22);
  box-shadow: none;
}

.ws-pulse__btn--ghost:hover,
.ws-pulse__btn--ghost:focus {
  background: #eef6f5;
  color: #115e67;
  box-shadow: none;
}

.ws-pulse__result {
  display: none;
  margin-top: 28px;
  padding: 26px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(183, 148, 67, 0.24);
  box-shadow: 0 10px 28px rgba(17, 94, 103, 0.06);
}

.ws-pulse__result.is-visible {
  display: block;
}

.ws-pulse__result h3 {
  margin: 0 0 10px;
  font-family: "Urbanist", "Century Gothic", Arial, sans-serif;
  color: #115e67;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.ws-pulse__result p:not(.cws-kicker) {
  margin: 0 0 18px;
  color: #4f5d60;
  font-size: 0.98rem;
  line-height: 1.7;
}

.ws-pulse__recommendation {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #b79443;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(183, 148, 67, 0.2);
}

.ws-pulse__recommendation:hover,
.ws-pulse__recommendation:focus {
  background: #9f7f36;
  color: #ffffff;
  text-decoration: none;
}

.ws-pulse__note {
  margin: 20px 0 0;
  color: #758083;
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
}

/* Mobile */
@media (max-width: 760px) {
  .ws-pulse {
    margin: 34px auto;
    padding: 0 14px;
  }

  .ws-pulse__card {
    padding: 28px 18px;
    border-radius: 24px;
  }

  .ws-pulse__header {
    margin-bottom: 24px;
    text-align: left;
  }

  .ws-pulse h2 {
    font-size: 2.1rem;
  }

  .ws-pulse__body {
    padding: 18px;
    border-radius: 20px;
  }

  .ws-pulse__scale {
    display: none;
  }

  .ws-pulse__item {
    grid-template-columns: 1fr 42px;
    gap: 12px;
    padding: 16px;
  }

  .ws-pulse__label {
    grid-column: 1 / -1;
  }

  .ws-pulse input[type="range"] {
    grid-column: 1 / 2;
  }

  .ws-pulse__score {
    grid-column: 2 / 3;
  }

  .ws-pulse__actions {
    display: grid;
  }

  .ws-pulse__btn {
    width: 100%;
  }

  .ws-pulse__recommendation {
    width: 100%;
  }
}

/* =========================================================
   16. PROGRAM OVERVIEW HEADER
========================================================= */

.ws-program-overview {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 34px auto 18px;
  padding: clamp(34px, 5vw, 56px);
  border-radius: 32px;
  background: #115e67;
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(17, 94, 103, 0.16);
}

.ws-program-overview__inner {
  max-width: 960px;
}

.ws-program-overview__eyebrow {
  margin: 0 0 12px;
  color: #c6a049;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ws-program-overview__title {
  max-width: 860px;
  margin: 0 0 20px;
  color: #ffffff;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(3rem, 5.6vw, 5.8rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.ws-program-overview__text {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.68;
}

@media (max-width: 700px) {
  .ws-program-overview {
    width: calc(100% - 16px);
    margin: 20px auto 14px;
    padding: 30px 22px;
    border-radius: 24px;
  }

  .ws-program-overview__title {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
}

/* =========================================================
   17. WEEK THEME INTRO
========================================================= */

.cws-week-theme-intro {
  margin-bottom: 46px;
}

.cws-week-theme-intro__row {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}

.cws-week-theme-intro__copy {
  max-width: 640px;
}

.cws-week-theme-intro .cws-section-title {
  max-width: 640px;
}

.cws-week-theme-intro .cws-section-intro__text {
  max-width: 640px;
}

.cws-week-theme-intro__media {
  position: relative;
}

.cws-week-theme-intro__media::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 18% 16%, rgba(183, 148, 67, 0.18), transparent 38%),
    linear-gradient(135deg, rgba(17, 94, 103, 0.08), rgba(183, 148, 67, 0.08));
  z-index: 0;
}

.cws-week-theme-figure {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border-radius: 28px;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.cws-week-theme-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(17, 94, 103, 0.12);
}

.cws-week-theme-intro__full-copy {
  margin-top: 32px;
  max-width: 1040px;
}

.cws-week-theme-intro__full-copy .cws-section-intro__text {
  max-width: 1040px;
}

.cws-section-intro--live-sessions {
  margin-top: 8px;
  margin-bottom: 24px;
  padding-top: 34px;
  border-top: 1px solid rgba(17, 94, 103, 0.12);
}

@media (max-width: 980px) {
  .cws-week-theme-intro__row {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cws-week-theme-intro__copy,
  .cws-week-theme-intro .cws-section-title,
  .cws-week-theme-intro .cws-section-intro__text,
  .cws-week-theme-intro__full-copy,
  .cws-week-theme-intro__full-copy .cws-section-intro__text {
    max-width: none;
  }

  .cws-week-theme-intro__media::before {
    inset: -16px;
  }
}

@media (max-width: 600px) {
  .cws-week-theme-intro {
    margin-bottom: 36px;
  }

  .cws-week-theme-figure {
    border-radius: 22px;
  }

  .cws-week-theme-image {
    aspect-ratio: 16 / 10;
  }

  .cws-week-theme-intro__full-copy {
    margin-top: 24px;
  }

  .cws-section-intro--live-sessions {
    padding-top: 28px;
    margin-bottom: 20px;
  }
}

/* Monthly intro image - remove decorative frame and halo */
.cws-week-theme-intro__media::before {
  display: none !important;
  content: none !important;
}

.cws-week-theme-figure {
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  box-shadow: none !important;
}

.cws-week-theme-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 14px 30px rgba(20, 45, 48, 0.12);
}

@media (max-width: 768px) {
  .cws-week-theme-figure {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .cws-week-theme-image {
    aspect-ratio: 16 / 9;
    border-radius: 20px;
  }
}

/* =========================================================
   18. WEEK JUMP NAV
========================================================= */

.ws-week-jump-nav {
  position: sticky;
  top: 96px;
  z-index: 30;
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 18px auto 34px;
  padding: 1rem;
  border-radius: 28px;
  background: #fbf8f1;
  border: 1px solid rgba(183, 148, 67, 0.24);
  box-shadow: 0 18px 45px rgba(17, 94, 103, 0.08);
}

/* Keep week anchor targets from hiding underneath the sticky Moodle header/nav. */
#week-1,
#week-2,
#week-3,
#week-4 {
  scroll-margin-top: 190px;
}

.ws-week-jump-nav__inner {
  display: grid;
  grid-template-columns: minmax(180px, 0.85fr) 2.4fr;
  gap: 1.25rem;
  align-items: center;
}

.ws-week-jump-nav__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b79443;
}

.ws-week-jump-nav__title {
  margin: 0;
  font-family: Urbanist, "Open Sans", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.1;
  color: #115e67;
}

.ws-week-jump-nav__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.ws-week-jump-nav__item {
  display: block;
  min-height: 76px;
  padding: 0.85rem 1rem;
  border-radius: 22px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(17, 94, 103, 0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.ws-week-jump-nav__item span {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b79443;
}

.ws-week-jump-nav__item strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.2;
  color: #115e67;
}

.ws-week-jump-nav__item:hover,
.ws-week-jump-nav__item:focus-visible {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(183, 148, 67, 0.42);
  box-shadow: 0 16px 32px rgba(17, 94, 103, 0.12);
  text-decoration: none;
}

.ws-week-jump-nav__item:focus-visible {
  outline: 3px solid rgba(183, 148, 67, 0.28);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  .ws-week-jump-nav {
    position: static;
  }
  .ws-week-jump-nav__inner {
    grid-template-columns: 1fr;
  }

  .ws-week-jump-nav__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .ws-week-jump-nav {
    width: calc(100% - 16px);
    margin: 20px auto;
    padding: 1rem;
    border-radius: 22px;
  }

  .ws-week-jump-nav__links {
    grid-template-columns: 1fr;
  }

  .ws-week-jump-nav__item {
    min-height: auto;
  }
}
/* Current week highlight */
.ws-week-jump-nav__item.is-current,
.ws-week-jump-nav__item[aria-current="true"] {
  position: relative;
  background: #f2e8d2;
  border-color: rgba(183, 148, 67, 0.62);
  box-shadow:
    0 16px 34px rgba(17, 94, 103, 0.10),
    inset 0 0 0 2px rgba(183, 148, 67, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.ws-week-jump-nav__item.is-current::before,
.ws-week-jump-nav__item[aria-current="true"]::before {
  content: "Current";
  position: absolute;
  top: -12px;
  right: 18px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #b79443;
  color: #ffffff;
  font-size: 0.66rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(183, 148, 67, 0.26);
}

.ws-week-jump-nav__item.is-current span,
.ws-week-jump-nav__item[aria-current="true"] span {
  color: #9f7f36;
}

.ws-week-jump-nav__item.is-current strong,
.ws-week-jump-nav__item[aria-current="true"] strong {
  color: #0f5660;
}

/* =========================================================
   18A. MONTHLY HUB BLOCKS
   Reuses existing WS design tokens and card/button primitives.
========================================================= */

/* Content labels for hub cards, articles, recipes and resources */
.ws-content-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(17, 94, 103, 0.08);
  color: var(--ws-teal);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
}

.ws-content-label--practice {
  background: rgba(22, 147, 165, 0.12);
  color: var(--ws-teal-dark);
}

.ws-content-label--article,
.ws-content-label--guide {
  background: rgba(17, 94, 103, 0.08);
  color: var(--ws-teal);
}

.ws-content-label--audio {
  background: rgba(183, 148, 67, 0.16);
  color: var(--ws-gold-dark);
}

.ws-content-label--live,
.ws-content-label--replay {
  background: rgba(183, 148, 67, 0.18);
  color: var(--ws-gold-dark);
}

.ws-content-label--download {
  background: rgba(198, 160, 73, 0.14);
  color: var(--ws-gold-dark);
}

.ws-content-label--challenge {
  background: rgba(183, 148, 67, 0.20);
  color: var(--ws-gold-dark);
}

.ws-content-label--recipe {
  background: rgba(22, 147, 165, 0.10);
  color: var(--ws-teal-dark);
}

/* Monthly hub hero */
.ws-hub-hero {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 34px auto;
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  box-shadow: var(--ws-shadow);
}

.ws-hub-hero__content {
  max-width: 660px;
}

.ws-hub-hero h1 {
  margin: 0 0 18px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.ws-hub-hero .ws-lead {
  margin: 0;
  color: var(--ws-text-soft);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.68;
}

.ws-hub-hero__actions,
.ws-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.ws-hub-hero__media img,
.ws-feature-block__media img,
.ws-practice-feature__media img,
.ws-resource-card__image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--ws-radius);
  object-fit: cover;
}

/* Choose your format */
.ws-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.ws-format-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  min-height: 230px;
  padding: 26px;
  border: 1px solid rgba(17, 94, 103, 0.10);
  border-radius: var(--ws-radius);
  background: #ffffff;
  color: var(--ws-text);
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(17, 94, 103, 0.055);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.ws-format-card:hover,
.ws-format-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(183, 148, 67, 0.42);
  box-shadow: 0 16px 32px rgba(17, 94, 103, 0.12);
  color: var(--ws-text);
  text-decoration: none !important;
}

.ws-format-card h3 {
  margin: 0 0 10px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 1.35rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.ws-format-card p {
  margin: 0;
  color: var(--ws-text-soft);
  line-height: 1.55;
}

/* Feature blocks used for Lunch & Learn, audio resets and highlighted content */
.ws-feature-block,
.ws-practice-feature {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 34px auto;
  padding: clamp(28px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(26px, 4vw, 48px);
  align-items: center;
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  box-shadow: var(--ws-shadow);
}

.ws-feature-block--reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.ws-feature-block h2,
.ws-practice-feature h3 {
  margin: 0 0 16px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.ws-feature-block p,
.ws-practice-feature p {
  color: var(--ws-text-soft);
  line-height: 1.65;
}

.ws-simple-list {
  margin: 22px 0;
  padding: 0 !important;
  list-style: none !important;
}

.ws-simple-list li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 30px;
  color: var(--ws-text);
  line-height: 1.55;
  list-style: none !important;
}

.ws-simple-list li::marker {
  content: "";
  font-size: 0;
}

.no-overflow .ws-simple-list,
.no-overflow .ws-simple-list li,
.activity-altcontent .ws-simple-list,
.activity-altcontent .ws-simple-list li,
.ws-feature-block .ws-simple-list,
.ws-feature-block .ws-simple-list li {
  list-style: none !important;
}

.ws-simple-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--ws-teal-2);
  box-shadow: 0 0 0 6px rgba(22, 147, 165, 0.12);
}

.ws-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.ws-meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 94, 103, 0.07);
  color: var(--ws-teal);
  font-size: 0.84rem;
  font-weight: 800;
}

/* Hub resource cards for articles, guides and recipes */
.ws-resource-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.ws-resource-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ws-resource-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ws-resource-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(17, 94, 103, 0.10);
  border-radius: var(--ws-radius);
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(17, 94, 103, 0.055);
}

.ws-resource-card--horizontal {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 0.58fr);
}

.ws-resource-card__image {
  overflow: hidden;
  background: #eef3f1;
}

.ws-resource-card__image img {
  height: 100%;
  min-height: 220px;
  border-radius: 0;
}

.ws-resource-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px;
}

.ws-resource-card__body h3 {
  margin: 0 0 12px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.ws-resource-card__body p {
  margin: 0;
  color: var(--ws-text-soft);
  line-height: 1.6;
}

.ws-resource-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--ws-text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.ws-text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 22px;
  color: var(--ws-teal);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 0.24em;
}

.ws-text-link:hover,
.ws-text-link:focus {
  color: var(--ws-teal-dark);
}

/* Workplace challenge */
.ws-challenge-block {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 34px auto;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(183, 148, 67, 0.28);
  border-radius: var(--ws-radius-lg);
  background: #fbf8f1;
  box-shadow: var(--ws-shadow);
}

.ws-challenge-block h2 {
  margin: 0 0 16px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.ws-challenge-block p {
  max-width: 900px;
  color: var(--ws-text-soft);
  line-height: 1.65;
}

.ws-challenge-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.ws-challenge-steps div {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid rgba(17, 94, 103, 0.10);
  border-radius: var(--ws-radius);
  background: #ffffff;
}

.ws-challenge-steps strong {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ws-teal);
  color: #ffffff;
  font-weight: 900;
}

.ws-challenge-steps span {
  color: var(--ws-text);
  font-weight: 700;
  line-height: 1.45;
}

/* Related resources list */
.ws-mini-resource-list {
  display: grid;
  gap: 14px;
}

.ws-mini-resource {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(17, 94, 103, 0.10);
  border-radius: var(--ws-radius);
  background: #ffffff;
  color: var(--ws-text);
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(17, 94, 103, 0.045);
}

.ws-mini-resource h3,
.ws-mini-resource p {
  margin: 0;
}

.ws-mini-resource h3 {
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 1.2rem;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.ws-mini-resource p {
  margin-top: 4px;
  color: var(--ws-text-soft);
  font-size: 0.92rem;
}

.ws-mini-resource:hover,
.ws-mini-resource:focus-visible {
  border-color: rgba(183, 148, 67, 0.42);
  box-shadow: 0 14px 30px rgba(17, 94, 103, 0.09);
  color: var(--ws-text);
  text-decoration: none !important;
}

/* Hub anchor offset for sticky Moodle header. */
#overview,
#lunch-learn,
#practice-week,
#articles,
#recipes,
#listen-reset,
#downloads,
#workplace-challenge {
  scroll-margin-top: 190px;
}

@media (max-width: 992px) {
  .ws-format-grid,
  .ws-resource-grid--three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ws-hub-hero,
  .ws-feature-block,
  .ws-feature-block--reverse,
  .ws-practice-feature,
  .ws-resource-card--horizontal {
    grid-template-columns: 1fr;
  }

  .ws-resource-grid--two,
  .ws-challenge-steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .ws-hub-hero,
  .ws-feature-block,
  .ws-practice-feature,
  .ws-challenge-block {
    width: calc(100% - 16px);
    margin: 20px auto;
    padding: 22px 18px;
    border-radius: 22px;
  }

  .ws-format-grid,
  .ws-resource-grid--three {
    grid-template-columns: 1fr;
  }

  .ws-hub-hero__actions,
  .ws-button-row {
    display: grid;
  }

  .ws-hub-hero__actions .ws-btn,
  .ws-button-row .ws-btn,
  .ws-challenge-block .ws-btn {
    width: 100%;
  }

  .ws-mini-resource {
    grid-template-columns: 1fr;
  }

  #overview,
  #lunch-learn,
  #practice-week,
  #articles,
  #recipes,
  #listen-reset,
  #downloads,
  #workplace-challenge {
    scroll-margin-top: 150px;
  }
}

/* =========================================================
   19. WEEK SEPARATOR
========================================================= */

.ws-week-separator {
  width: min(calc(100% - 40px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 44px auto 18px;
  display: flex;
  align-items: center;
}

.ws-week-separator::before,
.ws-week-separator::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(17, 94, 103, 0.12);
}

.ws-week-separator__label {
  margin: 0 16px;
  padding: 6px 13px;
  border-radius: 999px;
  background: #fbf8f1;
  border: 1px solid rgba(183, 148, 67, 0.28);
  color: #b79443;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

/* =========================================================
   20. WELCOME MODAL
========================================================= */

.ws-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
}

.ws-modal.is-active {
  display: flex;
}

.ws-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 14, 0.34);
  backdrop-filter: blur(14px) saturate(0.85);
  -webkit-backdrop-filter: blur(14px) saturate(0.85);
}

.ws-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
}

.ws-modal__content {
  padding: clamp(22px, 4vw, 42px);
}

.ws-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 4;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ws-teal);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(20, 40, 44, 0.16);
}

.ws-modal__close:hover,
.ws-modal__close:focus {
  background: #ffffff;
  color: var(--ws-teal-dark);
}

.ws-modal .ws-video-clean {
  margin-top: 22px;
  border-radius: 24px;
}

@media (max-width: 767px) {
  .ws-modal {
    padding: 14px;
  }

  .ws-modal__dialog {
    border-radius: 24px;
  }

  .ws-modal__content {
    padding: 24px 18px 20px;
  }

  .ws-modal__close {
    top: 12px;
    right: 12px;
  }
}

/* =========================================================
   21. PRACTICE LIBRARY
========================================================= */

.ws-practice-week .cws-resource-grid {
  align-items: stretch;
}

.ws-practice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.ws-practice-card .cws-resource-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.ws-practice-card .cws-resource-card__content {
  flex: 1 1 auto;
}

.ws-practice-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--ws-radius) var(--ws-radius) 0 0;
  background: #102f35;
}

.ws-practice-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.28s ease;
}

.ws-practice-card:hover .ws-practice-thumb img,
.ws-practice-card:focus-within .ws-practice-thumb img {
  transform: scale(1.035);
}

.ws-favourite-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ws-teal);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 40, 44, 0.16);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
  font-family: Arial, Helvetica, sans-serif !important;
}

.ws-favourite-btn:hover,
.ws-favourite-btn:focus {
  background: #ffffff;
  color: var(--ws-gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(20, 40, 44, 0.18);
}

.ws-watch-btn {
  width: 100%;
  margin-top: 22px;
}

/* Premium Vimeo modal */
.ws-video-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 4vw, 48px);
}

.ws-video-modal.is-open {
  display: flex;
  animation: wsModalFade 0.24s ease;
}

@keyframes wsModalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ws-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 14, 0.82);
  backdrop-filter: blur(10px) saturate(0.9);
  -webkit-backdrop-filter: blur(10px) saturate(0.9);
}

.ws-video-modal__dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 32px;
  background: #071f24;
  box-shadow:
    0 42px 120px rgba(0, 0, 0, 0.46),
    0 16px 44px rgba(17, 94, 103, 0.22);
  animation: wsModalLift 0.28s ease;
}

@keyframes wsModalLift {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ws-video-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0));
}

.ws-video-modal__title {
  margin: 0;
  color: #ffffff;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(1.08rem, 1.6vw, 1.32rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.ws-video-modal__close {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  box-shadow: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.ws-video-modal__close:hover,
.ws-video-modal__close:focus {
  background: var(--ws-gold);
  border-color: var(--ws-gold);
  color: #ffffff;
  transform: scale(1.04);
}

.ws-video-modal__frame-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.ws-video-modal__frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}

body.ws-modal-open {
  overflow: hidden;
}

@media (max-width: 767px) {
  .ws-favourite-btn {
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
  }

  .ws-video-modal {
    padding: 10px;
  }

  .ws-video-modal__dialog {
    border-radius: 24px;
  }

  .ws-video-modal__header {
    min-height: 62px;
    padding: 14px 16px;
  }

  .ws-video-modal__title {
    font-size: 1rem;
  }

  .ws-video-modal__close {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
    font-size: 1.3rem;
  }

  .ws-video-modal__frame-wrap {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================
   22. MY STUDIO PAGE
========================================================= */

.ws-studio-page {
  width: 100%;
  margin: 0;
  padding: 0 0 64px;
  background: #f5f0e6;
  color: var(--ws-text);
  font-family: "Open Sans", Arial, sans-serif;
  overflow-x: clip;
}

.ws-studio-page,
.ws-studio-page * {
  box-sizing: border-box;
}

.ws-studio-wrap {
  width: min(calc(100% - 48px), var(--ws-content-max));
  max-width: var(--ws-content-max);
  margin: 0 auto;
}

.ws-studio-hero {
  width: 100vw;
  max-width: 100vw;
  min-height: clamp(430px, 42vw, 620px);
  display: flex;
  align-items: flex-end;
  margin: 0 0 46px calc(50% - 50vw);
  padding: clamp(72px, 7vw, 118px) 0 clamp(64px, 6vw, 96px);
  border-radius: 0 0 42px 42px;
  background:
    radial-gradient(circle at 88% 16%, rgba(198, 160, 73, 0.20), transparent 34%),
    linear-gradient(135deg, #0d4f57 0%, #102f35 58%, #071f24 100%);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(17, 94, 103, 0.18);
}

.ws-studio-hero .ws-studio-wrap {
  max-width: var(--ws-content-max);
}

.ws-studio-eyebrow {
  margin: 0 0 14px;
  color: var(--ws-gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ws-studio-title {
  max-width: 10.5ch;
  margin: 0 0 24px;
  color: #ffffff;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(3.25rem, 7.2vw, 7.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.ws-studio-lead {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .ws-studio-hero {
    min-height: 430px;
    padding: 64px 0 58px;
  }

  .ws-studio-title {
    max-width: 9.5ch;
    font-size: clamp(3rem, 10.5vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: -0.06em;
  }

  .ws-studio-lead {
    max-width: 620px;
  }
}

@media (max-width: 640px) {
  .ws-studio-wrap {
    width: calc(100% - 28px);
  }

  .ws-studio-hero {
    min-height: 390px;
    margin-bottom: 28px;
    padding: 54px 0 46px;
    border-radius: 0 0 28px 28px;
  }

  .ws-studio-title {
    max-width: 9ch;
    margin-bottom: 18px;
    font-size: clamp(3rem, 16vw, 4.6rem);
    line-height: 0.92;
  }

  .ws-studio-lead {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.62;
  }
}

.ws-studio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 26px;
}

.ws-studio-card {
  background: #ffffff;
  border: 1px solid rgba(17, 94, 103, 0.11);
  border-radius: 30px;
  padding: clamp(30px, 4vw, 46px);
  box-shadow: 0 18px 46px rgba(17, 94, 103, 0.075);
}

.ws-studio-card--large {
  grid-column: span 8;
}

.ws-studio-card--side {
  grid-column: span 4;
}

.ws-studio-card--full {
  grid-column: 1 / -1;
  margin-bottom: 26px;
}

.ws-studio-card h2,
.ws-studio-card h3 {
  margin: 0 0 16px;
  color: var(--ws-text);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-weight: 950;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.ws-studio-card h2 {
  font-size: clamp(2.3rem, 4.2vw, 4.1rem);
}

.ws-studio-card h3 {
  font-size: clamp(1.7rem, 2.6vw, 2.45rem);
}

.ws-studio-card p {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--ws-text-soft);
  font-size: 1.02rem;
  line-height: 1.7;
}

.ws-studio-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ws-gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.ws-studio-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.ws-studio-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
  border-radius: 18px;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.ws-studio-btn:hover,
.ws-studio-btn:focus {
  transform: translateY(-1px);
  text-decoration: none !important;
}

.ws-studio-btn--primary {
  background: var(--ws-gold);
  color: #ffffff !important;
  border: 0;
  box-shadow: 0 14px 28px rgba(198, 160, 73, 0.28);
}

.ws-studio-btn--primary:hover,
.ws-studio-btn--primary:focus {
  background: var(--ws-gold-dark);
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(198, 160, 73, 0.34);
}

.ws-studio-btn--secondary {
  background: #ffffff;
  color: var(--ws-gold-dark) !important;
  border: 2px solid var(--ws-gold);
  box-shadow: none;
}

.ws-studio-btn--secondary:hover,
.ws-studio-btn--secondary:focus {
  background: rgba(198, 160, 73, 0.08);
  color: var(--ws-gold-dark) !important;
  border-color: var(--ws-gold-dark);
}

.ws-studio-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ws-studio-list li {
  background: #f8f4ec;
  border: 1px solid rgba(17, 94, 103, 0.075);
  border-radius: 20px;
  padding: 18px 20px;
}

.ws-studio-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ws-text);
  font-weight: 900;
}

.ws-studio-list span {
  display: block;
  color: var(--ws-text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
}

.ws-studio-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.ws-studio-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(17, 94, 103, 0.08);
  color: var(--ws-teal);
  font-size: 0.82rem;
  font-weight: 900;
}

.ws-studio-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.ws-studio-mini-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f8f4ec;
  border: 1px solid rgba(17, 94, 103, 0.075);
  border-radius: 22px;
  padding: 24px;
}

.ws-studio-mini-card h3 {
  margin-bottom: 10px;
}

.ws-studio-mini-card p {
  flex: 1 1 auto;
  font-size: 0.98rem;
}

.ws-studio-mini-card .ws-studio-btn {
  margin-top: auto;
}

.ws-studio-note {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(198, 160, 73, 0.10);
  border: 1px solid rgba(198, 160, 73, 0.20);
  color: var(--ws-text);
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .ws-studio-card--large,
  .ws-studio-card--side {
    grid-column: 1 / -1;
  }

  .ws-studio-quick-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ws-studio-page {
    padding-bottom: 42px;
  }

  .ws-studio-wrap {
    width: calc(100% - 16px);
  }

  .ws-studio-hero {
    margin-bottom: 26px;
    padding: 52px 0 46px;
    border-radius: 0 0 28px 28px;
  }

  .ws-studio-title {
    font-size: clamp(3.8rem, 17vw, 5.8rem);
  }

  .ws-studio-card {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .ws-studio-card--full {
    margin-bottom: 18px;
  }

  .ws-studio-card h2 {
    font-size: clamp(2.15rem, 10vw, 3.2rem);
  }

  .ws-studio-actions {
    display: grid;
  }

  .ws-studio-btn {
    width: 100%;
  }
}

/* =========================================================
   23. MY STUDIO — TOOLKIT GRID
========================================================= */

.ws-studio-quick-grid--toolkit {
  margin-top: 28px;
  margin-bottom: 28px;
}

.ws-studio-quick-grid--toolkit .ws-studio-mini-card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid rgba(17, 94, 103, 0.10);
  border-radius: 22px;
  background: #fbf8f1;
  box-shadow: none;
}

.ws-studio-quick-grid--toolkit .ws-studio-mini-card h3 {
  margin: 0 0 10px;
  color: var(--ws-text);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(1.25rem, 1.8vw, 1.6rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.ws-studio-quick-grid--toolkit .ws-studio-mini-card p {
  margin: 0;
  color: var(--ws-text-soft);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .ws-studio-quick-grid--toolkit {
    margin-top: 22px;
    margin-bottom: 24px;
  }

  .ws-studio-quick-grid--toolkit .ws-studio-mini-card {
    padding: 20px;
    border-radius: 18px;
  }
}

/* =========================================================
   24. MY STUDIO — HEADING ALIGNMENT
========================================================= */

.ws-studio-card h2,
.ws-studio-card--large h2,
.cws-card--new-this-week .cws-section-title {
  max-width: 920px;
  margin: 0 0 18px;
  color: var(--ws-teal) !important;
  font-family: "Urbanist", "Open Sans", Arial, sans-serif !important;
  font-size: clamp(2.2rem, 3.6vw, 4.1rem) !important;
  font-weight: 900 !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
}

.ws-studio-card--large h2 {
  max-width: 760px;
  font-size: clamp(2.4rem, 4.2vw, 4.6rem) !important;
  line-height: 0.96 !important;
}

.ws-studio-card--live h2,
.ws-next-live h2 {
  max-width: 460px;
  font-size: clamp(2rem, 2.8vw, 3.1rem) !important;
  line-height: 1 !important;
}

.ws-studio-card--full h2 {
  max-width: 980px;
}

.ws-studio-card .ws-studio-meta,
.cws-card--new-this-week .cws-kicker,
.cws-card--new-this-week .cws-card-kicker {
  margin: 0 0 14px !important;
  color: var(--ws-gold) !important;
  font-family: "Open Sans", Arial, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
}

.ws-studio-card > p,
.cws-card--new-this-week .cws-section-intro__text {
  max-width: 860px;
  margin-top: 0;
  color: var(--ws-text-soft) !important;
  font-size: clamp(1rem, 1.25vw, 1.12rem) !important;
  line-height: 1.65 !important;
}

.ws-studio-card--large > p {
  max-width: 760px;
}

.ws-studio-card--live > p,
.ws-next-live > p {
  max-width: 420px;
}

@media (max-width: 767px) {
  .ws-studio-card h2,
  .ws-studio-card--large h2,
  .cws-card--new-this-week .cws-section-title {
    font-size: clamp(2.25rem, 12vw, 3.4rem) !important;
    line-height: 0.98 !important;
  }

  .ws-studio-card--live h2,
  .ws-next-live h2 {
    font-size: clamp(2rem, 10vw, 2.9rem) !important;
  }
}

.cws-section-intro--with-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.cws-section-link {
  color: var(--ws-teal) !important;
  font-weight: 900;
  text-decoration: none !important;
  white-space: nowrap;
}

.cws-resource-card__link {
  display: block;
  height: 100%;
  color: inherit !important;
  text-decoration: none !important;
}

.cws-resource-card--quick-reset .cws-resource-card__media {
  aspect-ratio: 16 / 9;
  background: var(--ws-teal-dark);
}

.cws-resource-card--quick-reset .cws-resource-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   25. MY STUDIO — NEXT LIVE SESSION
========================================================= */

.ws-next-live__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  width: 100%;
  margin-top: 1.5rem;
}

.ws-next-live__btn {
  width: 100%;
  max-width: none;
  justify-content: center;
  text-align: center;
}

.ws-next-live .ws-studio-btn--secondary {
  background: #ffffff;
  border: 2px solid #c9a24a;
  color: #9c7a25;
}

.ws-next-live .ws-studio-btn--secondary:hover,
.ws-next-live .ws-studio-btn--secondary:focus {
  background: rgba(201, 162, 74, 0.08);
  color: #7a5f1d;
}

/* =========================================================
   26. FEATURED PRACTICE
========================================================= */

.ws-card--featured-practice {
  padding: 0;
  overflow: hidden;
}

.cws-featured-practice {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding: 1.5rem;
}

.cws-featured-practice__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cws-featured-practice__intro {
  font-size: 1rem;
  line-height: 1.7;
  color: #5b646b;
  margin: 0;
}

.cws-featured-practice__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #7b848c;
}

.cws-featured-practice__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cws-featured-practice__media {
  overflow: hidden;
  border-radius: 1.5rem;
}

.cws-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cws-btn--primary {
  background: #b79443;
  color: #ffffff;
}

.cws-btn--primary:hover {
  opacity: 0.92;
}

.cws-btn--ghost {
  border: 1px solid #d8dee3;
  background: #ffffff;
  color: #115e67;
}

@media (min-width: 900px) {

  .cws-featured-practice {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 2rem;
  }

}

/* =========================================================
   27. PRACTICE OF THE WEEK
========================================================= */

.ws-practice-feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: stretch;
  padding: 1.75rem;
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: 1.5rem;
  background: #ffffff;
  box-shadow: 0 14px 36px rgba(17, 94, 103, 0.08);
}

.ws-practice-feature-card__media {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.ws-practice-feature-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1.25rem;
  background: rgba(17, 94, 103, 0.06);
}

.ws-practice-feature-card__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.75rem;
}

.ws-practice-feature-card .ws-favourite-btn {
  position: absolute;
  top: 0;
  right: 0;
}

.ws-practice-feature-card .cws-card-title {
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.ws-practice-feature-card .cws-card-text {
  max-width: 52ch;
}

.ws-practice-feature-card .ws-watch-btn {
  width: 100%;
}

/* Mobile */
@media (max-width: 767px) {
  .ws-practice-feature-card {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1rem;
  }

  .ws-practice-feature-card__content {
    padding: 0;
  }

  .ws-practice-feature-card .ws-favourite-btn {
    top: 0.25rem;
    right: 0.25rem;
  }
}

/* Favourite button active state */
.ws-favourite-btn.is-active {
  background: #ffffff;
  color: #b79443;
  font-size: 0;
}

.ws-favourite-btn.is-active::before {
  content: "♥";
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.8rem;
  line-height: 1;
}

/* Replay cards - show favourite button like practice cards */
.cws-resource-card--video {
  position: relative;
}

.cws-resource-card--video .cws-resource-card__content {
  position: relative;
  padding-right: 3.25rem;
}

.cws-resource-card--video .ws-favourite-btn {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(183, 148, 67, 0.35);
  background: #ffffff;
  color: var(--ws-gold);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(20, 40, 44, 0.12);
  transform: none;
}

.cws-resource-card--video .ws-favourite-btn::before {
  content: "♡";
  display: block;
  color: currentColor;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1;
}

.cws-resource-card--video .ws-favourite-btn:hover,
.cws-resource-card--video .ws-favourite-btn:focus {
  background: #ffffff;
  color: var(--ws-gold-dark);
  transform: translateY(-1px);
}

.cws-resource-card--video .ws-favourite-btn:focus {
  outline: none;
}

.cws-resource-card--video .ws-favourite-btn:focus-visible {
  outline: 3px solid rgba(183, 148, 67, 0.28);
  outline-offset: 3px;
}

.cws-resource-card--video .ws-favourite-btn.is-active,
.cws-resource-card--video .ws-favourite-btn[aria-pressed="true"] {
  background: #ffffff;
  border-color: rgba(183, 148, 67, 0.45);
  color: var(--ws-gold);
}

.cws-resource-card--video .ws-favourite-btn.is-active::before,
.cws-resource-card--video .ws-favourite-btn[aria-pressed="true"]::before {
  content: "♥";
  font-family: Arial, Helvetica, sans-serif !important;
  font-weight: 400;
}

/* =========================================================
   28. PRICING TABLE
========================================================= */

.ws-pricing-section {
  background: #ffffff;
  padding: 48px 20px;
  font-family: "Open Sans", Arial, sans-serif;
  color: #1f2933;
}

.ws-pricing-inner {
  max-width: 1180px;
  margin: 0 auto;
  background: #f7f1ea;
  padding: 36px 36px 14px;
}

.ws-pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.ws-pricing-brand {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #59616c;
}

.ws-pricing-header h2 {
  margin: 0 0 26px;
  font-family: "Urbanist", "Century Gothic", Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  font-weight: 400;
  color: #b79443;
}

.ws-pricing-note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a8365;
}

.ws-pricing-note span {
  padding: 0 8px;
}

/* Grid */

.ws-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 22px;
  align-items: start;
  max-width: 940px;
  margin: 0 auto 34px;
}

/* Card */

.ws-pricing-card {
  background: #fffdf9;
  border: 1px solid #e3d8c7;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(80, 57, 35, 0.04);
}

.ws-pricing-card--featured {
  background: #dff3ec;
  border: 3px solid #1aa37e;
  box-shadow: 0 14px 32px rgba(17, 94, 103, 0.12);
}

.ws-pricing-card-header,
.ws-pricing-price,
.ws-pricing-body,
.ws-pricing-best {
  padding: 22px 24px;
}

.ws-pricing-card-header {
  border-bottom: 1px solid #e5dacb;
}

.ws-pricing-card--featured .ws-pricing-card-header {
  border-bottom-color: rgba(26, 163, 126, 0.25);
}

.ws-pricing-tier-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ws-pricing-tier {
  margin: 0 0 4px;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b19570;
  font-weight: 700;
}

.ws-pricing-card--featured .ws-pricing-tier {
  color: #1a9678;
}

.ws-pricing-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #1aa37e;
  color: #ffffff;
  font-size: 0.62rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ws-pricing-card h3 {
  margin: 0;
  font-family: "Urbanist", "Century Gothic", Arial, sans-serif;
  font-size: 1.75rem;
  line-height: 1.12;
  font-weight: 700;
  color: #111827;
}

.ws-pricing-card--featured h3 {
  color: #115e67;
}

/* Price */

.ws-pricing-price {
  border-bottom: 1px solid #e5dacb;
  background: rgba(255, 255, 255, 0.46);
}

.ws-pricing-card--featured .ws-pricing-price {
  border-bottom-color: rgba(26, 163, 126, 0.25);
  background: rgba(255, 255, 255, 0.24);
}

.ws-pricing-amount {
  font-family: "Urbanist", "Century Gothic", Arial, sans-serif;
  font-size: 2.35rem;
  line-height: 1;
  font-weight: 600;
  color: #1f2933;
}

.ws-pricing-card--featured .ws-pricing-amount {
  color: #115e67;
}

.ws-pricing-frequency {
  font-size: 0.95rem;
  color: #70675d;
}

.ws-pricing-price p {
  margin: 5px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #8a7b68;
}

.ws-pricing-card--featured .ws-pricing-price p {
  color: #126b67;
}

.ws-pricing-tailored {
  display: inline-block;
  font-family: "Urbanist", "Century Gothic", Arial, sans-serif;
  font-size: 1.65rem;
  line-height: 1.15;
  font-weight: 600;
  color: #c27816;
}

/* Body */

.ws-pricing-label {
  margin: 0 0 14px;
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b19570;
  font-weight: 700;
}

.ws-pricing-card--featured .ws-pricing-label {
  color: #1a9678;
}

.ws-pricing-body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-pricing-body li {
  position: relative;
  margin: 0 0 12px;
  padding-left: 31px;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #374151;
}

.ws-pricing-body li:last-child {
  margin-bottom: 0;
}

.ws-pricing-body li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #e2d8c2;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.ws-pricing-card--featured .ws-pricing-body li::before {
  background: #1aa37e;
}

.ws-pricing-card:not(.ws-pricing-card--featured):last-child .ws-pricing-body li::before {
  background: #f2a120;
}

/* Best for */

.ws-pricing-best {
  border-top: 1px solid #e5dacb;
  background: rgba(250, 246, 239, 0.86);
  font-size: 0.82rem;
  line-height: 1.55;
  color: #6b6258;
}

.ws-pricing-card--featured .ws-pricing-best {
  background: rgba(216, 242, 233, 0.9);
  border-top-color: rgba(26, 163, 126, 0.25);
  color: #126b67;
}

.ws-pricing-best strong {
  color: inherit;
}

/* Footer */

.ws-pricing-footer {
  max-width: 940px;
  margin: 0 auto;
  padding: 20px 0 0;
  border-top: 1px solid #d9cbb8;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: flex-end;
  color: #8a7b68;
}

.ws-pricing-footer p {
  margin: 0;
  max-width: 680px;
  font-size: 0.8rem;
  line-height: 1.55;
}

.ws-pricing-contact {
  text-align: right;
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: nowrap;
}

.ws-pricing-contact strong {
  display: block;
  color: #1f2933;
}

.ws-pricing-contact a {
  color: #8a7b68;
  text-decoration: none;
}

.ws-pricing-contact a:hover {
  color: #115e67;
  text-decoration: underline;
}

/* ======================================================

   RESPONSIVE

====================================================== */

@media (max-width: 980px) {
  .ws-pricing-inner {
    padding: 32px 22px 18px;

  }

  .ws-pricing-grid {
    grid-template-columns: 1fr;
    max-width: 620px;

  }

  .ws-pricing-card--featured {
    order: -1;

  }

  .ws-pricing-footer {
    max-width: 620px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;

  }

  .ws-pricing-contact {
    text-align: left;

  }
}

@media (max-width: 600px) {
  .ws-pricing-section {
    padding: 24px 12px;

  }

  .ws-pricing-inner {
    padding: 28px 14px 18px;
    border-radius: 18px;

  }

  .ws-pricing-header h2 {
    font-size: 2.25rem;

  }

  .ws-pricing-note {
    font-size: 0.72rem;
    letter-spacing: 0.08em;

  }

  .ws-pricing-note span {
    display: none;

  }

  .ws-pricing-note {
    display: flex;
    flex-direction: column;
    gap: 4px;

  }

  .ws-pricing-card-header,

  .ws-pricing-price,

  .ws-pricing-body,

  .ws-pricing-best {
    padding: 20px;

  }

  .ws-pricing-card h3 {
    font-size: 1.55rem;

  }

  .ws-pricing-amount {
    font-size: 2.1rem;

  }

  .ws-pricing-body li {
    font-size: 0.88rem;

  }

  .ws-pricing-footer p,

  .ws-pricing-contact {
    font-size: 0.78rem;

  }
}

/* =========================================================
   29. DEMO PAGE OVERRIDES
========================================================= */

.ws-demo-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.ws-demo-overview-grid .ws-studio-card {
  min-width: 0;
  width: auto;
}

/* Prevent forced narrow text wrapping */
.ws-demo-overview-grid h3,
.ws-demo-overview-grid p,
.ws-demo-overview-grid .cws-kicker {
  writing-mode: horizontal-tb;
  word-break: normal;
  overflow-wrap: normal;
}

/* Optional polish */
.ws-demo-lead {
  font-size: 1.18rem;
  line-height: 1.6;
  max-width: 760px;
}

.ws-demo-page .cws-resource-card h4 {
  margin-top: 0.35rem;
  margin-bottom: 0.65rem;
}

.ws-demo-page .cws-resource-card p {
  margin-bottom: 1rem;
}

.ws-demo-page .ws-studio-btn {
  margin-top: 0.5rem;
}

/* Mobile */
@media only screen and (max-width: 768px) {
  .ws-demo-overview-grid {
    grid-template-columns: 1fr;
  }

  .ws-demo-lead {
    font-size: 1.05rem;
  }

  .ws-demo-page .ws-studio-actions {
    align-items: stretch;
  }

  .ws-demo-page .ws-studio-btn {
    width: 100%;
    text-align: center;
  }
}

.cws-page .ws-eyebrow {
  color: #b79443;
}

.cws-page .ws-section-heading {
  color: #115e67;
}

.cws-page .ws-card-title {
  color: #115e67;
}

.ws-demo-live-sessions .cws-resource-grid {
  align-items: stretch;
}

.ws-demo-live-card {
  display: flex;
  flex-direction: column;
}

.ws-demo-live-card .ws-card-actions {
  margin-top: auto;
}

.ws-demo-live-card .ws-studio-btn {
  width: 100%;
  text-align: center;
}

.ws-demo-program-section .cws-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 920px;
  gap: 1.25rem;
}

.ws-demo-program-section .cws-resource-card {
  min-height: 190px;
}

/* Mobile */
@media only screen and (max-width: 768px) {
  .ws-demo-program-section .cws-resource-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .ws-demo-program-section .cws-resource-card {
    min-height: 0;
  }
}
/* =========================================================
   WS ARTICLE PAGES — CURRENT SYSTEM
   Uses .ws-article-page, .ws-article-hero, .ws-article-body,
   .ws-article-related and .ws-article-footer.
   This is the preferred premium article layout.
========================================================= */

.ws-article-page {
  width: min(calc(100% - 40px), 980px);
  max-width: 980px;
  margin: 34px auto;
}

.ws-article-hero {
  padding: clamp(30px, 5vw, 56px);
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  box-shadow: var(--ws-shadow);
}

.ws-article-hero h1 {
  max-width: 840px;
  margin: 12px 0 18px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 5.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: -0.07em;
}

.ws-article-hero__intro {
  max-width: 760px;
  margin: 0;
  color: var(--ws-text-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
  line-height: 1.65;
}

.ws-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.ws-article-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17, 94, 103, 0.07);
  color: var(--ws-teal);
  font-size: 0.84rem;
  font-weight: 800;
}

.ws-article-image {
  margin: 24px 0;
  overflow: hidden;
  border-radius: var(--ws-radius-lg);
  background: #eef3f1;
  box-shadow: var(--ws-shadow);
}

.ws-article-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.ws-article-body {
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  box-shadow: var(--ws-shadow);
}

.ws-article-body p,
.ws-article-body li {
  color: var(--ws-text);
  font-size: 1.05rem;
  line-height: 1.78;
}

.ws-article-lead {
  color: var(--ws-text-soft) !important;
  font-size: clamp(1.15rem, 1.8vw, 1.35rem) !important;
  line-height: 1.62 !important;
}

.ws-article-body h2 {
  margin: 42px 0 14px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.ws-article-body h2:first-child {
  margin-top: 0;
}

.ws-article-body h3 {
  margin: 28px 0 12px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 900;
}

.ws-article-callout {
  margin: 36px 0;
  padding: 28px;
  border: 1px solid rgba(183, 148, 67, 0.28);
  border-radius: var(--ws-radius);
  background: #fbf8f1;
}

.ws-article-callout h3 {
  margin-top: 0;
}

.ws-article-callout p:last-child {
  margin-bottom: 0;
}

.ws-article-related {
  margin-top: 24px;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: var(--ws-radius-lg);
  background: #ffffff;
  box-shadow: var(--ws-shadow);
}

.ws-article-related h2 {
  margin: 0 0 22px;
  color: var(--ws-teal);
  font-family: "Urbanist", "Open Sans", Arial, sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.ws-article-footer {
  display: flex;
  justify-content: center;
  margin: 28px 0 46px;
}

@media (max-width: 767px) {
  .ws-article-page {
    width: calc(100% - 16px);
    margin: 20px auto;
  }

  .ws-article-hero,
  .ws-article-body,
  .ws-article-related {
    padding: 24px 18px;
    border-radius: 22px;
  }

  .ws-article-hero h1 {
    font-size: clamp(3rem, 14vw, 4.6rem);
  }

  .ws-article-image {
    border-radius: 22px;
  }

  .ws-article-image img {
    aspect-ratio: 16 / 10;
  }

  .ws-article-body p,
  .ws-article-body li {
    font-size: 1rem;
    line-height: 1.72;
  }

  .ws-article-footer .ws-btn {
    width: 100%;
  }
}
/* ================================
   LEGACY ARTICLE SYSTEM — REVIEW BEFORE REMOVAL
   Older article styling based on .ws-article.
   Keep temporarily only if older article pages still use this wrapper.
   Preferred current system is .ws-article-page above.
   ================================ */

.ws-article {
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 24px 72px;
    font-size: 1.08rem;
    line-height: 1.75;
}

/* Meta */

.ws-article-eyebrow {
    color: #c59f47;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Main Heading */

.ws-article h1 {
    color: #115e67;
    font-size: clamp(2.4rem, 5vw, 4.3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
}

/* Lead */

.ws-article-lead {
    color: #52666b;
    font-size: clamp(1.25rem, 2vw, 1.6rem);
    line-height: 1.45;
    max-width: 780px;
    margin-bottom: 40px;
}

/* Headings */

.ws-article h2 {
    color: #115e67;
    font-size: clamp(1.85rem, 3vw, 2.55rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 56px 0 18px;
}

.ws-article h3 {
    color: #115e67;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 36px 0 12px;
}

/* Body */

.ws-article p {
    color: #25383c;
    margin: 0 0 20px;
}

.ws-article ul {
    margin: 10px 0 28px 1.3rem;
    padding: 0;
}

.ws-article li {
    margin-bottom: 10px;
    padding-left: 4px;
}

.ws-article hr {
    border: 0;
    border-top: 1px solid rgba(17, 94, 103, 0.15);
    margin: 42px 0;
}

/* Callout */

.ws-callout,
.ws-action-box,
.ws-key-takeaway {
    background: #f6f9f9;
    border: 1px solid rgba(17, 94, 103, 0.08);
    border-radius: 24px;
    padding: 40px;
    margin: 48px 0;
    box-shadow: 0 6px 24px rgba(17, 94, 103, 0.04);
}

.ws-callout h2,
.ws-callout h3,
.ws-action-box h2,
.ws-key-takeaway h2 {
    color: #115e67;
    margin-top: 0;
}

.ws-callout p:last-child,
.ws-action-box p:last-child,
.ws-key-takeaway p:last-child {
    margin-bottom: 0;
}

/* Content Cards */

.ws-content-card {
    background: #ffffff;
    border: 1px solid rgba(17, 94, 103, 0.10);
    border-radius: 22px;
    padding: 28px 32px;
    margin: 28px 0;
    box-shadow: 0 12px 32px rgba(17, 94, 103, 0.05);
}

.ws-content-card h3 {
    color: #115e67;
    margin-top: 0;
}

.ws-card-eyebrow {
    color: #115e67;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* Related Resources */

.ws-related {
    border-top: 1px solid rgba(17, 94, 103, 0.15);
    margin-top: 56px;
    padding-top: 36px;
}

.ws-related a {
    color: #115e67;
    font-weight: 700;
    text-decoration: none;
}

.ws-related a:hover {
    text-decoration: underline;
}

/* Mobile */

@media (max-width: 768px) {

    .ws-article {
        padding: 32px 18px 56px;
        font-size: 1rem;
    }

    .ws-callout,
    .ws-action-box,
    .ws-key-takeaway,
    .ws-content-card {
        padding: 24px;
        border-radius: 18px;
    }

}

/* =========================================================
   ARTICLE SUPPORT COMPONENTS
   Focus-card layout used inside article/body content.
========================================================= */
.ws-focus-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.75rem;
}

.ws-focus-card {
  padding: 1.6rem;
  border: 1px solid rgba(18, 54, 58, 0.10);
  border-radius: 1.25rem;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(18, 54, 58, 0.06);
}

.ws-focus-card h3 {
  margin: 0.85rem 0 0.65rem;
  color: var(--ws-teal, #0f6268);
  line-height: 1.1;
}

.ws-focus-card p {
  margin: 0;
}

@media (max-width: 900px) {
  .ws-focus-card-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   LUNCH & LEARN — LEGACY OPTION 1
   Review before removal. Older feature layout.
========================================================= */
.ws-lunch-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.ws-lunch-feature__media {
  min-width: 0;
}

.ws-lunch-feature__image {
  min-height: 360px;
  border-radius: 1.5rem;
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(15, 98, 104, 0.88), rgba(201, 160, 66, 0.72)),
    #e9ece8;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 18px 40px rgba(18, 54, 58, 0.12);
}

.ws-lunch-feature__image-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #0f6268;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.ws-lunch-feature__image h3 {
  max-width: 520px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 0.95;
}

.ws-lunch-feature__image p {
  margin: 0.9rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  font-weight: 700;
}

.ws-lunch-feature__content {
  min-width: 0;
}

.ws-lunch-feature__content h2 {
  margin: 0.85rem 0 1rem;
  color: #0f6268;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 0.95;
}

.ws-lunch-feature__intro {
  max-width: 680px;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.ws-lunch-feature__details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1.5rem 0;
}

.ws-lunch-feature__details div {
  padding: 1rem;
  border: 1px solid rgba(18, 54, 58, 0.10);
  border-radius: 1rem;
  background: rgba(250, 248, 243, 0.75);
}

.ws-lunch-feature__details strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #0f6268;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ws-lunch-feature__details span {
  display: block;
  color: #2a3a3d;
}

.ws-lunch-feature__outcomes {
  margin-top: 1.5rem;
}

.ws-lunch-feature__outcomes h3 {
  margin: 0 0 0.75rem;
  color: #24383b;
  font-size: 1.15rem;
}

.ws-lunch-feature__outcomes ul {
  margin: 0;
  padding-left: 1.2rem;
}

.ws-lunch-feature__outcomes li {
  margin-bottom: 0.55rem;
}

.ws-lunch-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

@media (max-width: 900px) {
  .ws-lunch-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ws-lunch-feature__image {
    min-height: 260px;
  }

  .ws-lunch-feature__details {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   LUNCH & LEARN — LEGACY OPTION 2
   Review before removal. Overlaps with .ws-lunch-feature and .ws-ll-feature.
========================================================= */

.ws-lunch-learn-premium {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4rem);
  border: 1px solid rgba(18, 54, 58, 0.10);
  border-radius: 1.75rem;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(18, 54, 58, 0.08);
}

.ws-lunch-learn-premium__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.25rem;
  display: block;
  background: #e7e5e1;
}

.ws-lunch-learn-premium__content {
  min-width: 0;
}

.ws-lunch-learn-premium__content h2 {
  margin: 0.35rem 0 1rem;
  color: #0f6268;
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.ws-lunch-learn-premium__content > p {
  max-width: 720px;
  margin: 0 0 1.5rem;
  font-size: 1.08rem;
  line-height: 1.6;
  color: #5f6f72;
}

.ws-lunch-learn-premium__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.5rem 0 1.75rem;
}

.ws-lunch-learn-premium__meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(201, 160, 66, 0.12);
  color: #9b7625;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ws-lunch-learn-premium__outcomes {
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(18, 54, 58, 0.10);
  border-radius: 1.25rem;
  background: rgba(250, 248, 243, 0.65);
}

.ws-lunch-learn-premium__outcomes .cws-kicker {
  margin-bottom: 0.9rem;
}

.ws-lunch-learn-premium__outcomes ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ws-lunch-learn-premium__outcomes li {
  position: relative;
  margin: 0 0 0.75rem;
  padding-left: 1.65rem;
  color: #2a3a3d;
  line-height: 1.5;
}

.ws-lunch-learn-premium__outcomes li:last-child {
  margin-bottom: 0;
}

.ws-lunch-learn-premium__outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: #18a7b0;
  box-shadow: 0 0 0 0.35rem rgba(24, 167, 176, 0.12);
}

.ws-lunch-learn-premium__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.ws-toolkit__btn--secondary {
  background: #ffffff;
  color: #9b7625;
  border: 1px solid rgba(201, 160, 66, 0.55);
  box-shadow: none;
}

.ws-toolkit__btn--secondary:hover {
  background: rgba(201, 160, 66, 0.08);
}

@media (max-width: 900px) {
  .ws-lunch-learn-premium {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .ws-lunch-learn-premium__content h2 {
    font-size: clamp(2.2rem, 12vw, 3.2rem);
  }

  .ws-lunch-learn-premium__actions {
    flex-direction: column;
  }

  .ws-lunch-learn-premium__actions .ws-toolkit__btn {
    width: 100%;
    text-align: center;
  }
}
/* =========================================================
   LUNCH & LEARN — CURRENT PREMIUM OPTION
   Candidate to keep as the single flagship Lunch & Learn component.
   If retained, archive older systems: .ws-lunch-feature and .ws-lunch-learn-premium.
========================================================= */

.ws-ll-feature {
  max-width: 1480px;
  margin: 48px auto;
  padding: 0 24px;
}

.ws-ll-feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 72px);
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(202, 164, 62, 0.11), transparent 34%),
    linear-gradient(135deg, #ffffff 0%, #f8fbfa 100%);
  box-shadow: 0 24px 70px rgba(15, 56, 61, 0.08);
}

.ws-ll-feature__media {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 28px;
  background: #e8eeee;
  box-shadow: 0 18px 46px rgba(15, 56, 61, 0.12);
}

.ws-ll-feature__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.ws-ll-feature__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(17, 94, 103, 0.34) 100%);
  pointer-events: none;
}

.ws-ll-feature__media-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #115e67;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 30px rgba(15, 56, 61, 0.14);
}

.ws-ll-feature__content {
  max-width: 620px;
}

.ws-ll-feature__kicker {
  margin: 0 0 16px;
  color: #697c80;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.ws-ll-feature h2 {
  margin: 0 0 22px;
  color: #115e67;
  font-size: clamp(3rem, 5vw, 5.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.07em;
}

.ws-ll-feature__lead {
  max-width: 600px;
  margin: 0;
  color: #5f7176;
  font-size: clamp(1.08rem, 1.35vw, 1.28rem);
  line-height: 1.65;
}

.ws-ll-feature__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
}

.ws-ll-feature__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(17, 94, 103, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #30454a;
  font-size: 0.92rem;
  font-weight: 700;
}

.ws-ll-feature__outcomes {
  margin-top: 30px;
  padding: 24px 26px;
  border: 1px solid rgba(202, 164, 62, 0.24);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.82);
}

.ws-ll-feature__outcomes p {
  margin: 0 0 14px;
  color: #caa43e;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ws-ll-feature__outcomes ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ws-ll-feature__outcomes li {
  position: relative;
  margin: 0;
  padding-left: 30px;
  color: #31484d;
  font-size: 1rem;
  line-height: 1.55;
}

.ws-ll-feature__outcomes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 12px;
  height: 12px;
  border: 5px solid rgba(38, 196, 201, 0.18);
  border-radius: 999px;
  background: #26c4c9;
  box-sizing: content-box;
}

.ws-ll-feature__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.ws-ll-feature__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.ws-ll-feature__btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.ws-ll-feature__btn--primary {
  min-width: 230px;
  background: #caa43e;
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(202, 164, 62, 0.28);
}

.ws-ll-feature__btn--primary:hover {
  background: #b89434;
  color: #ffffff;
  box-shadow: 0 20px 42px rgba(202, 164, 62, 0.34);
}

.ws-ll-feature__btn--secondary {
  min-width: 140px;
  border: 1px solid rgba(202, 164, 62, 0.46);
  background: rgba(255, 255, 255, 0.72);
  color: #115e67;
}

.ws-ll-feature__btn--secondary:hover {
  border-color: rgba(202, 164, 62, 0.8);
  background: #fffaf0;
  color: #115e67;
}

/* Tablet */
@media (max-width: 1100px) {
  .ws-ll-feature__inner {
    grid-template-columns: 1fr;
  }

  .ws-ll-feature__content {
    max-width: none;
  }

  .ws-ll-feature h2 {
    max-width: 760px;
  }

  .ws-ll-feature__lead {
    max-width: 760px;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .ws-ll-feature {
    margin: 32px auto;
    padding: 0 16px;
  }

  .ws-ll-feature__inner {
    padding: 20px;
    border-radius: 24px;
    gap: 28px;
  }

  .ws-ll-feature__media {
    min-height: 260px;
    border-radius: 20px;
  }

  .ws-ll-feature__media img {
    min-height: 260px;
  }

  .ws-ll-feature__media-badge {
    left: 16px;
    bottom: 16px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.72rem;
  }

  .ws-ll-feature h2 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .ws-ll-feature__lead {
    font-size: 1.02rem;
  }

  .ws-ll-feature__meta {
    gap: 8px;
  }

  .ws-ll-feature__meta span {
    font-size: 0.84rem;
  }

  .ws-ll-feature__outcomes {
    padding: 20px;
    border-radius: 20px;
  }

  .ws-ll-feature__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ws-ll-feature__btn,
  .ws-ll-feature__btn--primary,
  .ws-ll-feature__btn--secondary {
    width: 100%;
    min-width: 0;
  }
}

/* ======================================================
   MONTHLY INTRO - SPLIT DESKTOP / IMAGE AFTER TITLE MOBILE
====================================================== */

.cws-week-theme-intro__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  grid-template-areas:
    "copy media"
    "body media";
  gap: 28px 56px;
  align-items: center;
}

.cws-week-theme-intro__copy {
  grid-area: copy;
}

.cws-week-theme-intro__body {
  grid-area: body;
  max-width: 640px;
}

.cws-week-theme-intro__media {
  grid-area: media;
}

.cws-week-theme-figure {
  margin: 0;
  padding: 22px;
  border-radius: 34px;
  background: #f4f7f5;
  box-shadow: 0 22px 50px rgba(20, 45, 48, 0.12);
}

.cws-week-theme-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

/* Mobile order:
   1. Kicker + heading
   2. Image
   3. Body copy
*/
@media (max-width: 768px) {
  .cws-week-theme-intro__row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
  }

  .cws-week-theme-intro__copy {
    order: 1;
  }

  .cws-week-theme-intro__media {
    order: 2;
  }

  .cws-week-theme-intro__body {
    order: 3;
    max-width: none;
  }

  .cws-week-theme-figure {
    padding: 14px;
    border-radius: 28px;
  }

  .cws-week-theme-image {
    border-radius: 20px;
  }
}
/* =========================================================
   FAVOURITE ICON HARD RESET
   Uses SVG icons so hearts do not depend on Font Awesome,
   Unicode glyph support, or Moodle icon-font loading.
========================================================= */

button.ws-favourite-btn {
  font-size: 0 !important;
  line-height: 1 !important;
  color: transparent !important;
}

button.ws-favourite-btn::before {
  content: "" !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='%23c6a049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
}

button.ws-favourite-btn::after {
  content: none !important;
  display: none !important;
}

button.ws-favourite-btn.is-active::before,
button.ws-favourite-btn[aria-pressed="true"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='%23c6a049' stroke='%23c6a049' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}