/* Aspects Wellbeing - UI refresh (loaded after main.css and responsive.css).
   TO REVERT: remove the line {{{style "refine"}}} from the Main layout. */

:root {
  --aw-deep: #0c7f5a;
  --aw-deep-hover: #1a723f;
  --aw-ink: #1d2b26;
  --aw-ink-soft: #435650;
  --aw-line: #e1ebe6;
  --aw-mint-2: #eef7f2;
  --aw-footer: #1a723f;
  --radius-card: 18px;
  --shadow-card: 0 1px 2px rgba(16, 52, 38, 0.06), 0 10px 30px -12px rgba(16, 52, 38, 0.16);
  --fs-h1: clamp(38px, 3.9vw + 17px, 68px);
  --fs-h2: clamp(28px, 1.7vw + 18px, 42px);
  --fs-news-h2: clamp(22px, 0.9vw + 16px, 30px);
  --fs-subtitle: clamp(17px, 0.45vw + 15.2px, 21px);
  --space-section: clamp(52px, 6.4vw, 104px);
}

/* Base type */
body { font-weight: 400; font-size: 18px; line-height: 1.65; color: var(--aw-ink); -webkit-font-smoothing: antialiased; }
h1 { color: var(--aw-green); letter-spacing: -0.035em; line-height: 1.02; font-weight: 700; }
h2 { color: var(--aw-green); font-weight: 700; letter-spacing: -0.015em; line-height: 1.1; margin-top: 0; margin-bottom: 18px; }
a { color: var(--aw-deep); }
a:hover { color: var(--aw-deep-hover); }

/* Buttons */
.button { display: inline-block; padding: 17px 30px; background: var(--aw-green); color: #fff; font-weight: 500; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; border-radius: 10px; box-shadow: none; transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out; }
.button:hover, .button:focus { background: var(--aw-green-hover); box-shadow: none; transform: translateY(-2px); }
.button i.fa { margin-left: 12px; font-size: 19px; top: 2px; }
.hero-section .button { margin: 0 12px 14px 0; }

/* Header and navigation */
.header { position: sticky; top: 0; z-index: 60; padding: 12px 0; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--aw-line); box-shadow: 0 6px 20px -16px rgba(16, 52, 38, 0.35); }
.logoImage img { max-width: 168px; }
.header ul.navbar { display: flex; align-items: center; justify-content: flex-end; gap: 2px; float: none; }
.header ul.navbar li { margin: 0; }
.header ul.navbar li a { position: relative; padding: 10px; font-size: 15px; font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--aw-ink); }
.header ul.navbar li a:hover { color: var(--aw-deep); }
.header ul.navbar li:last-child { margin-left: 10px; }
.header ul.navbar li:last-child a { padding: 10px 22px; border-radius: 999px; background: var(--aw-green); color: #fff; transition: background-color 0.2s ease, transform 0.2s ease; }
.header ul.navbar li:last-child a:hover { background: var(--aw-green-hover); color: #fff; transform: translateY(-1px); }
@media (min-width: 1201px) {
  .header .row { flex-wrap: nowrap; align-items: center; }
  .header .row > .col-lg-2 { flex: 0 0 auto; width: auto; max-width: none; }
  .header .nav-col { flex: 1 1 auto; width: auto; max-width: none; }
}
.header .menu-toggle { margin-left: auto; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; background: var(--aw-mint-2); color: var(--aw-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.header .menu-toggle:hover { background: #e0f0e8; }
.header .menu-toggle svg, .menu-close svg { width: 22px; height: 22px; fill: currentColor; }
.header .mobNavBtn { display: none; }
@media (max-width: 1200px) {
  .header .mobNavBtn { display: flex; justify-content: flex-end; align-items: center; }
  .header .nav-col { display: none !important; }
  .logoImage img { max-width: 150px; }
}

/* Pop-out menu */
html.menu-open { overflow: hidden; }
.menu-scrim { position: fixed; inset: 0; z-index: 1000000; background: rgba(12, 36, 27, 0.52); opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0s linear 0.3s; }
.menu-drawer { position: fixed; top: 0; right: 0; z-index: 1000001; display: flex; flex-direction: column; width: min(88%, 380px); height: 100vh; height: 100dvh; padding: 18px 24px 28px; background: #fff; border-radius: 24px 0 0 24px; box-shadow: -24px 0 60px -20px rgba(12, 36, 27, 0.45); transform: translateX(105%); visibility: hidden; transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s linear 0.38s; overflow-y: auto; }
html.menu-open .menu-scrim { opacity: 1; visibility: visible; transition: opacity 0.3s ease, visibility 0s; }
html.menu-open .menu-drawer { transform: none; visibility: visible; transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s; }
@media (min-width: 1201px) { .menu-scrim, .menu-drawer { display: none; } }
.menu-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.menu-head img { display: block; width: 140px; height: auto; }
.menu-close { width: 48px; height: 48px; padding: 0; border: 0; border-radius: 12px; background: var(--aw-mint-2); color: var(--aw-ink); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.menu-close:hover { background: #e0f0e8; }
.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { margin: 0; border-bottom: 1px solid var(--aw-line); }
.menu-list a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 10px 4px; font-family: 'Baloo Paaji', 'Rubik', sans-serif; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--aw-ink); text-decoration: none; }
.menu-list a::after { content: ''; width: 9px; height: 9px; border-top: 2px solid #8aa59a; border-right: 2px solid #8aa59a; transform: rotate(45deg); margin-right: 6px; transition: transform 0.2s ease, border-color 0.2s ease; }
.menu-list a:hover { color: var(--aw-deep); text-decoration: none; }
.menu-list a:hover::after { border-color: var(--aw-deep); transform: translateX(3px) rotate(45deg); }
.menu-foot { margin-top: auto; padding-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.menu-foot .button { display: block; width: 100%; margin: 0 0 8px; text-align: center; }
.menu-foot .menu-contact { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--aw-ink-soft); font-size: 16px; text-decoration: none; }
.menu-foot .menu-contact svg { width: 18px; height: 18px; fill: var(--aw-deep); flex: none; }

/* Hero */
.hero-section { padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(56px, 6vw, 96px); background: var(--aw-mint); border-bottom: 1px solid #d8d8d8; }
@media (max-width: 1200px) { .hero-section { padding-top: 36px; } }
.hero-section h1 { margin-bottom: 22px; }
.hero-section .subtitle, .hero-section.cut .subtitle { max-width: 31em; padding: 0; background: none; color: var(--aw-ink-soft); font-size: var(--fs-subtitle); line-height: 1.6; margin-bottom: 34px; }
.hero-section.cut .subtitle { margin-bottom: 0; }
.hero-section.cut { min-height: 400px; }

/* Sections */
.section.border-top { border-top: 0; }
.section + .section.border-top { background: #fff; }
.page-title { margin-bottom: 14px; }
.section .col-md-8 > p { margin: 0 0 1.2em; font-size: 18px; line-height: 1.75; color: var(--aw-ink); }
.section .col-md-8 > p:last-child { margin-bottom: 0; }
.section .col-md-8 > p:first-child { font-size: clamp(20px, 0.6vw + 17px, 24px); line-height: 1.55; color: #12201b; margin-bottom: 1.3em; }
.section .col-md-4 > .img-responsive { display: block; width: 100%; border-radius: 22px; box-shadow: var(--shadow-card); }
.workshops-more { margin-top: 18px; }
@media (max-width: 767.98px) {
  body { font-size: 17px; }
  .section .col-md-8 > p { font-size: 17px; line-height: 1.7; }
  .section .col-md-8 > p:first-child { font-size: 20px; }
  .section .col-md-4 > .img-responsive { max-width: 260px; margin: 28px auto 0; }
}

/* Tablet: stack the bio so the photo does not leave a gap beside the text */
@media (min-width: 768px) and (max-width: 991.98px) {
  .section .col-md-8, .section .col-md-4 { flex: 0 0 100%; max-width: 100%; }
  .section .col-md-4 > .img-responsive { max-width: 300px; margin: 32px 0 0; }
  .section .col-md-8 > p { max-width: 38em; }
}

/* Workshop cards */
.news-item { height: calc(100% - 30px); margin: 15px 0; padding: clamp(22px, 2.4vw, 34px); background: #fff; border: 1px solid var(--aw-line); border-radius: var(--radius-card); box-shadow: var(--shadow-card); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.news-item:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(16, 52, 38, 0.06), 0 18px 38px -14px rgba(16, 52, 38, 0.22); }
.news-item h2 { font-size: var(--fs-news-h2); line-height: 1.15; margin-bottom: 14px; color: var(--aw-ink); font-weight: 700; }
.news-item .intro-text { font-size: 17px; line-height: 1.65; color: var(--aw-ink-soft); }
.news-item .intro-text i { color: var(--aw-ink); }
.news-item .button { box-shadow: none; padding: 12px 26px; font-size: 16px; }
.news-item .button:hover { box-shadow: none; transform: none; }

/* Link tiles */
.services-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 124px; padding: 0 28px 0 32px; margin-bottom: 24px; border-radius: var(--radius-card); background: var(--aw-green); box-shadow: var(--shadow-card); }
.services-box:before { border-color: transparent transparent rgba(255, 255, 255, 0.12) transparent; }
.services-box:hover:before, .services-box:focus-visible:before { background: #40d7ac; }
.services-box h3 { position: static; flex: 1 1 auto; width: auto; height: auto; margin: 0; font-size: clamp(21px, 0.8vw + 16px, 27px); font-weight: 500; line-height: 1.2; }
.services-box .arrow { position: static; flex: none; width: 52px; height: 52px; margin: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--aw-green-dark); font-size: 20px; }
.services-box .arrow .fa { display: flex; align-items: center; justify-content: center; }
.services-box:hover h3 { transform: translateX(8px); }
@media (max-width: 767.98px) {
  .services-box { height: 96px; padding: 0 18px 0 22px; }
  .services-box h3 { font-size: 20px; }
  .services-box .arrow { width: 44px; height: 44px; font-size: 17px; }
}

/* Testimonial */
.testimonial-section { background: rgba(13, 213, 149, 0.1); padding: clamp(52px, 6vw, 88px) 0 clamp(28px, 3vw, 52px); }
.testimonial-section h2 { margin-bottom: 28px; }
.testimonial-box { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 24px; box-shadow: var(--shadow-card); font-size: clamp(18px, 0.5vw + 16px, 21px); line-height: 1.65; color: var(--aw-ink); }
.testimonial-box::before { content: '\201C'; position: absolute; top: 6px; left: 22px; font-family: 'Baloo Paaji', sans-serif; font-size: 88px; line-height: 1; color: var(--aw-green); opacity: 0.7; }
.testimonial-box .text { padding-top: 26px; }
.testimonial-box .author { display: block; margin-top: 16px; font-size: 16px; font-weight: 500; color: var(--aw-deep); }

/* Accreditations */
.accreds-section { background: #efefee; padding: clamp(40px, 5vw, 64px) 0; }
.accreds-section h2 { font-size: clamp(22px, 0.6vw + 18px, 28px); color: var(--aw-ink-soft); margin-bottom: 8px; }
.accreditations-box img { opacity: 0.85; }

/* Content pages */
.basic-page { line-height: 1.75; font-size: 18px; color: var(--aw-ink); }
.basic-page h2 { margin-top: 2.2em; margin-bottom: 0.5em; font-size: clamp(26px, 1.2vw + 20px, 36px); }
.basic-page h2:first-child { margin-top: 0; }
.basic-page iframe { max-width: 100%; }
/* Accordion titles keep their own size (Wellbeing Services page) */
.basic-page .accordionTitle h2 { margin: 0; font-size: 1.5rem; font-weight: 600; line-height: 1.25; letter-spacing: 0; }
@media (max-width: 768px) { .basic-page .accordionTitle h2 { font-size: 1.25rem; } }
.basic-page p { margin-bottom: 1.15em; }
.basic-page ul { padding-left: 1.2em; margin-bottom: 1.4em; }
.basic-page li { margin-bottom: 0.5em; padding-left: 0.2em; }
.basic-page li::marker { color: var(--aw-green); }
.basic-page strong { font-weight: 500; color: #12201b; }
.basic-page hr { margin: 2.4em 0 1.4em; border-top: 1px solid var(--aw-line); }
.basic-page small { color: #5b6d66; line-height: 1.6; word-break: break-word; }
.basic-page a:not(.button) { color: var(--aw-deep); text-decoration-color: rgba(12, 127, 90, 0.4); text-decoration-thickness: 1.5px; }
.basic-page a:not(.button):hover { text-decoration-color: currentColor; }
@media (max-width: 767.98px) { .basic-page { font-size: 17px; } }

/* Footer */
.footer { background: var(--aw-footer); color: rgba(255, 255, 255, 0.88); padding: clamp(52px, 6.4vw, 96px) 0 28px; }
.footer a { color: rgba(255, 255, 255, 0.9); }
.footer h2 { font-size: clamp(26px, 1.4vw + 18px, 36px); line-height: 1.15; color: #fff; margin-bottom: 24px; max-width: 16em; }
.footer ul li a { padding: 4px 0; }
.footer .social-icons ul li { margin-right: 12px; font-size: 24px; }
.footer .social-icons ul li a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); transition: background-color 0.2s ease; }
.footer .social-icons ul li a:hover { background: rgba(255, 255, 255, 0.22); }
.footer .contact-details ul li { margin: 6px 0; }
.footer .copyright { font-size: 14px; color: rgba(255, 255, 255, 0.72); border-top-color: rgba(255, 255, 255, 0.18); }

/* Enquiry forms (footer form and contact page form) */
.footer-form label { font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.footer .footer-form label { color: rgba(255, 255, 255, 0.92); }
.footer-form input, .footer-form textarea, .footer-form select { padding: 13px 14px; min-height: 48px; border: 1px solid #cdd9d3; border-radius: 10px; margin-bottom: 16px; font-size: 16px; background-color: #fff; }
.footer .footer-form input, .footer .footer-form textarea, .footer .footer-form select { border-color: transparent; }
.footer-form textarea { height: 120px; }
.footer-form button { min-height: 52px; padding: 14px 0; border-radius: 10px; background: var(--aw-green); color: #fff; font-size: 16px; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; box-shadow: none; transition: background-color 0.2s ease, transform 0.2s ease; }
.footer-form button:hover, .footer-form button:focus-visible { background: var(--aw-green-hover); color: #fff; box-shadow: none; transform: translateY(-2px); }

/* Request more info tab */
#requestInfoButton { top: 190px; padding: 13px 24px; background: var(--aw-green); border-radius: 10px 10px 0 0; font-size: 15px; letter-spacing: 0.03em; box-shadow: none; opacity: 1; z-index: 999990; }
#requestInfoButton:hover, #requestInfoButton:focus-visible { background: var(--aw-green-hover); }
html.menu-open #requestInfoButton { visibility: hidden; }

/* Small screens */
@media (max-width: 768px) {
  .button { padding: 13px 20px; font-size: 14px; min-height: 48px; }
  .hero-section .button { margin-bottom: 10px; }
  .footer h2 { max-width: none; }
}
