/*
Theme Name: Maat Yoga
Theme URI: https://maatyoga.com
Author: Maat Wellness and Codex
Description: A lightweight custom WordPress theme for Maat Yoga, built for full-bleed training pages and plugin-friendly WooCommerce, booking, gallery, and client portal flows.
Version: 0.2.1
Requires PHP: 8.1
Text Domain: maat-yoga
*/

body {
  margin: 0;
}

/* Core theme styles. Duplicated here so WordPress still renders if secondary assets are cached empty. */
:root {
  --maat-charcoal: #171512;
  --maat-stone: #2b2925;
  --maat-gold: #d8bc65;
  --maat-deep-gold: #9d7a2e;
  --maat-ivory: #f8f3e8;
  --maat-linen: #efe7d8;
  --maat-sage: #657466;
  --maat-clay: #9a5f45;
  --maat-white: #fffdf8;
  --maat-line: rgba(23, 21, 18, 0.16);
  --maat-shadow: 0 18px 60px rgba(23, 21, 18, 0.12);
  --maat-radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--maat-ivory);
}

body {
  min-height: 100%;
  color: var(--maat-charcoal);
  background: var(--maat-ivory);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
  top: 12px;
  left: 12px;
  z-index: 100000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  color: var(--maat-charcoal);
  background: var(--maat-gold);
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 253, 248, 0.96);
  border-bottom: 1px solid var(--maat-line);
  backdrop-filter: blur(12px);
}

.site-header__inner,
.site-footer__inner,
.maat-content-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--maat-charcoal);
  text-decoration: none;
}

.site-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--maat-gold);
  border-radius: 50%;
  color: var(--maat-charcoal);
  background: var(--maat-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
}

.site-brand__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: 0;
}

.custom-logo {
  max-height: 58px;
  width: auto;
}

.site-brand__fallback-logo {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.primary-navigation .menu,
.footer-navigation .menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation .menu-item,
.primary-navigation li {
  position: relative;
}

.primary-navigation a,
.footer-navigation a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--maat-charcoal);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.primary-navigation a:hover,
.primary-navigation a:focus,
.footer-navigation a:hover,
.footer-navigation a:focus {
  color: var(--maat-deep-gold);
}

.primary-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  display: grid;
  min-width: 230px;
  gap: 2px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: var(--maat-white);
  border: 1px solid var(--maat-line);
  border-radius: var(--maat-radius);
  box-shadow: var(--maat-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.primary-navigation .sub-menu a {
  width: 100%;
  min-height: 38px;
  justify-content: flex-start;
  white-space: nowrap;
}

.primary-navigation .menu-item-has-children > a::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  margin-left: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--maat-line);
  border-radius: 50%;
  background: var(--maat-white);
  color: var(--maat-charcoal);
}

.menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-main {
  padding: 70px 0;
}

.maat-narrow-shell {
  max-width: 860px;
}

.maat-wide-shell {
  width: min(1280px, calc(100% - 40px));
}

.entry-page,
.entry-card,
.not-found,
.client-login-panel {
  padding: 42px;
  background: var(--maat-white);
  border: 1px solid var(--maat-line);
  border-radius: var(--maat-radius);
  box-shadow: var(--maat-shadow);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.maat-about-page {
  padding-top: 44px;
}

.maat-about-content {
  display: grid;
  gap: 34px;
}

.maat-about-content .entry-content {
  display: grid;
  gap: 34px;
}

.maat-about-content .entry-content > * {
  margin-top: 0;
  margin-bottom: 0;
}

.maat-about-hero,
.maat-about-panels,
.maat-about-bio,
.maat-about-contact {
  background: var(--maat-white);
  border: 1px solid var(--maat-line);
  border-radius: var(--maat-radius);
  box-shadow: var(--maat-shadow);
}

.maat-about-hero {
  overflow: hidden;
}

.maat-about-hero .wp-block-media-text__content {
  padding: 44px;
}

.maat-about-hero .wp-block-media-text__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.maat-about-hero h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.8rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.maat-about-hero p:not(.eyebrow) {
  color: rgba(23, 21, 18, 0.76);
  font-size: 1.12rem;
}

.maat-about-stats {
  gap: 14px;
}

.maat-about-stats .wp-block-column {
  padding: 22px;
  color: var(--maat-ivory);
  background: var(--maat-charcoal);
  border: 1px solid rgba(216, 188, 101, 0.26);
  border-radius: var(--maat-radius);
}

.maat-about-stats h3 {
  margin: 0;
  color: var(--maat-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: 0;
}

.maat-about-stats p {
  margin: 8px 0 0;
  color: rgba(248, 243, 232, 0.78);
}

.maat-about-panels {
  gap: 0;
  overflow: hidden;
}

.maat-about-panels .wp-block-column {
  padding: 30px;
}

.maat-about-panels .wp-block-column + .wp-block-column {
  border-left: 1px solid var(--maat-line);
}

.maat-about-panels h2,
.maat-about-bio h2,
.maat-about-contact h2,
.maat-about-contact h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.maat-about-bio,
.maat-about-contact {
  padding: 40px;
}

.maat-about-role {
  color: var(--maat-deep-gold);
}

.maat-about-bio blockquote {
  margin: 28px 0 0;
  padding: 24px;
  color: var(--maat-charcoal);
  background: var(--maat-ivory);
  border-left: 4px solid var(--maat-gold);
}

.maat-about-contact {
  color: var(--maat-ivory);
  background: var(--maat-charcoal);
  border-color: rgba(216, 188, 101, 0.28);
}

.maat-about-contact h2,
.maat-about-contact h3 {
  color: var(--maat-white);
}

.maat-about-contact p {
  color: rgba(248, 243, 232, 0.78);
}

.maat-about-contact h3 + p {
  margin-top: 6px;
}

.maat-about-contact p + h3 {
  margin-top: 30px;
}

.maat-classes-page {
  padding-top: 0;
}

.maat-classes-hero {
  padding: 86px 0 62px;
  color: var(--maat-ivory);
  background: var(--maat-charcoal);
}

.maat-classes-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--maat-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.4rem;
  line-height: 1.02;
  letter-spacing: 0;
}

.maat-classes-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(248, 243, 232, 0.76);
  font-size: 1.1rem;
}

.maat-classes-intro {
  padding: 42px 0 0;
}

.maat-classes-list {
  padding: 52px 0 78px;
}

.maat-class-grid {
  display: grid;
  gap: 24px;
}

.maat-class-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 0;
  overflow: hidden;
  background: var(--maat-white);
  border: 1px solid var(--maat-line);
  border-radius: var(--maat-radius);
  box-shadow: var(--maat-shadow);
}

.maat-class-card__media {
  min-height: 100%;
  background: var(--maat-linen);
}

.maat-class-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.maat-class-card__body {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.maat-class-card__kicker {
  margin: 0;
  color: var(--maat-deep-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.maat-class-card h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.maat-class-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin: 0;
}

.maat-class-details div {
  display: grid;
  gap: 4px;
  padding: 12px;
  background: var(--maat-ivory);
  border: 1px solid var(--maat-line);
  border-radius: 6px;
}

.maat-class-details dt {
  color: var(--maat-deep-gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.maat-class-details dd {
  display: grid;
  gap: 2px;
  margin: 0;
}

.maat-class-card__copy {
  color: rgba(23, 21, 18, 0.78);
}

.entry-title,
.archive-header h1,
.not-found h1,
.client-login-panel h1 {
  margin: 0 0 20px;
  color: var(--maat-charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  line-height: 1.05;
  letter-spacing: 0;
}

.entry-title a {
  text-decoration: none;
}

.entry-meta,
.eyebrow {
  color: var(--maat-deep-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.entry-content a {
  color: var(--maat-deep-gold);
  text-underline-offset: 0.2em;
}

.entry-media {
  display: block;
  margin: 0 0 24px;
  overflow: hidden;
  border-radius: var(--maat-radius);
}

.button-link,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--maat-gold);
  border-radius: 0;
  color: var(--maat-charcoal);
  background: var(--maat-gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.button-link:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: var(--maat-charcoal);
  background: var(--maat-white);
  border-color: var(--maat-charcoal);
}

.button-link--ghost {
  color: var(--maat-ivory);
  background: transparent;
  border-color: rgba(216, 188, 101, 0.72);
}

.button-link--ghost:hover,
.button-link--ghost:focus {
  color: var(--maat-charcoal);
  background: var(--maat-white);
  border-color: var(--maat-white);
}

.maat-safe-front-page {
  padding-top: 0;
}

.maat-home-page {
  padding-top: 0;
}

.maat-home-content {
  display: grid;
  gap: 0;
}

.maat-home-content > section,
.maat-home-content > blockquote,
.maat-program-hero,
.maat-program-facts,
.maat-program-section {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.maat-home-hero {
  display: grid;
  align-items: center;
  width: 100%;
  min-height: 66vh;
  padding: 90px 0;
  color: var(--maat-ivory);
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.95), rgba(23, 21, 18, 0.76)),
    var(--maat-charcoal);
}

.maat-home-hero__inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.maat-home-hero h1,
.maat-home-feature h2,
.maat-home-way h2,
.maat-home-contact h2,
.maat-program-hero h1,
.maat-program-section h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.maat-home-hero h1 {
  max-width: 840px;
  margin-bottom: 22px;
  color: var(--maat-white);
  font-size: 4.4rem;
  line-height: 0.98;
}

.maat-home-hero p:not(.eyebrow) {
  max-width: 720px;
  color: rgba(248, 243, 232, 0.8);
  font-size: 1.18rem;
}

.maat-home-actions,
.maat-home-feature .wp-block-buttons,
.maat-home-contact .wp-block-buttons,
.maat-program-hero .wp-block-buttons,
.maat-program-section .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.maat-home-intro,
.maat-home-feature,
.maat-home-way,
.maat-home-contact,
.maat-program-hero,
.maat-program-section {
  padding: 70px 0;
}

.maat-home-intro .wp-block-columns,
.maat-home-feature .wp-block-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 42px;
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.maat-home-intro h2,
.maat-home-feature h2,
.maat-home-way h2,
.maat-home-contact h2 {
  font-size: 3rem;
  line-height: 1.04;
}

.maat-home-stats,
.maat-program-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
  padding: 0 0 48px;
}

.maat-home-stats > div,
.maat-program-facts > div {
  padding: 24px;
  color: var(--maat-ivory);
  background: var(--maat-charcoal);
  border: 1px solid rgba(216, 188, 101, 0.26);
  border-radius: var(--maat-radius);
}

.maat-home-stats h3,
.maat-program-facts h3 {
  margin: 0;
  color: var(--maat-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: 0;
}

.maat-home-stats p,
.maat-program-facts p {
  margin: 10px 0 0;
}

.maat-home-feature,
.maat-home-way,
.maat-home-contact,
.maat-program-hero,
.maat-program-section {
  background: var(--maat-white);
  border-top: 1px solid var(--maat-line);
}

.maat-home-feature-dark,
.maat-program-section-dark {
  color: var(--maat-ivory);
  background: var(--maat-charcoal);
  border-color: rgba(216, 188, 101, 0.24);
}

.maat-home-feature-dark h2,
.maat-program-section-dark h2 {
  color: var(--maat-white);
}

.maat-home-feature-dark p,
.maat-program-section-dark p {
  color: rgba(248, 243, 232, 0.78);
}

.maat-home-card-grid,
.maat-home-video-grid,
.maat-home-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.maat-home-card-grid > div,
.maat-home-video-grid > div,
.maat-home-details > div {
  padding: 24px;
  background: var(--maat-ivory);
  border: 1px solid var(--maat-line);
  border-radius: var(--maat-radius);
}

.maat-home-quote {
  padding: 52px 0;
  color: var(--maat-charcoal);
  border: 0;
}

.maat-home-quote p {
  max-width: 940px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.04;
}

.maat-program-hero {
  margin-top: 0;
  padding-top: 72px;
}

.maat-program-hero p {
  max-width: 760px;
}

.maat-program-hero h1 {
  max-width: 840px;
  font-size: 4rem;
  line-height: 1;
}

.maat-program-section {
  display: grid;
  gap: 12px;
}

.maat-program-section ul {
  margin-top: 8px;
}

.maat-home-fallback {
  display: grid;
  align-items: center;
  min-height: 78vh;
  padding: 90px 0;
  color: var(--maat-ivory);
  background:
    linear-gradient(90deg, rgba(23, 21, 18, 0.94), rgba(23, 21, 18, 0.72)),
    radial-gradient(circle at 72% 32%, rgba(216, 188, 101, 0.16), transparent 36%),
    var(--maat-charcoal);
}

.maat-home-fallback__copy {
  max-width: 820px;
}

.maat-home-fallback h1 {
  margin: 0 0 22px;
  color: var(--maat-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  line-height: 0.98;
  letter-spacing: 0;
}

.maat-home-fallback p:not(.eyebrow) {
  max-width: 680px;
  margin: 0;
  color: rgba(248, 243, 232, 0.78);
  font-size: 1.18rem;
}

.maat-home-fallback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.maat-home-pathways {
  padding: 82px 0;
  background: var(--maat-ivory);
}

.maat-section-heading {
  max-width: 780px;
  margin: 0 0 34px;
}

.maat-section-heading h2 {
  margin: 0;
  color: var(--maat-charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 1.04;
  letter-spacing: 0;
}

.maat-pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.maat-pathway-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 28px;
  background: var(--maat-white);
  border: 1px solid var(--maat-line);
  border-radius: var(--maat-radius);
  box-shadow: var(--maat-shadow);
}

.maat-pathway-card h3 {
  margin: 0;
  color: var(--maat-charcoal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.maat-pathway-card p {
  margin: 0;
  color: rgba(23, 21, 18, 0.74);
}

.maat-pathway-card a {
  color: var(--maat-deep-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-decoration-thickness: 1px;
  text-transform: uppercase;
  text-underline-offset: 0.22em;
}

.site-footer {
  color: var(--maat-ivory);
  background: var(--maat-charcoal);
  border-top: 1px solid rgba(216, 188, 101, 0.28);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto;
  gap: 28px;
  padding: 42px 0;
}

.site-footer__brand {
  display: grid;
  gap: 6px;
}

.site-footer__brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  color: var(--maat-white);
}

.site-footer__brand span,
.site-footer__meta {
  color: rgba(248, 243, 232, 0.72);
}

.footer-navigation a {
  color: var(--maat-ivory);
}

.site-footer__contact {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(220px, 1fr);
  gap: 30px;
  padding-top: 12px;
  border-top: 1px solid rgba(248, 243, 232, 0.14);
}

.site-footer__panel h2 {
  margin: 0 0 8px;
  color: var(--maat-white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.site-footer__panel p {
  margin: 0;
  color: rgba(248, 243, 232, 0.72);
}

.site-footer__location p + h2 {
  margin-top: 30px;
}

.site-footer__meta {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 0.9rem;
}

.mw-home-dynamic {
  padding: 84px 0;
  color: var(--maat-ivory);
  background: var(--maat-charcoal);
  border-top: 1px solid rgba(216, 188, 101, 0.22);
}

.mw-live-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mw-live-heading {
  display: grid;
  gap: 12px;
  max-width: 760px;
  margin: 0 0 36px;
}

.mw-live-kicker,
.mw-live-card-kicker {
  margin: 0;
  color: var(--maat-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mw-live-heading h2,
.mw-live-block-header h3,
.mw-live-card h4 {
  margin: 0;
  color: var(--maat-white);
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.mw-live-heading h2 {
  font-size: 3rem;
  line-height: 1.03;
}

.mw-live-block {
  margin-top: 42px;
}

.mw-live-block-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(248, 243, 232, 0.18);
}

.mw-live-block-header h3 {
  font-size: 1.7rem;
}

.mw-live-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mw-live-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: rgba(255, 253, 248, 0.06);
  border: 1px solid rgba(216, 188, 101, 0.25);
  border-radius: var(--maat-radius);
}

.mw-live-card h4 {
  font-size: 1.35rem;
  line-height: 1.18;
}

.mw-live-meta,
.mw-live-source {
  margin: 0;
  color: rgba(248, 243, 232, 0.76);
  font-size: 0.95rem;
}

.mw-live-source {
  color: rgba(216, 188, 101, 0.9);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mw-live-copy {
  color: rgba(248, 243, 232, 0.82);
}

.mw-live-copy > *:first-child {
  margin-top: 0;
}

.mw-live-copy > *:last-child {
  margin-bottom: 0;
}

.mw-live-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 15px;
  border: 1px solid var(--maat-gold);
  color: var(--maat-charcoal);
  background: var(--maat-gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.mw-live-button:hover,
.mw-live-button:focus {
  color: var(--maat-charcoal);
  background: var(--maat-white);
  border-color: var(--maat-white);
}

.mw-live-stars {
  display: inline-flex;
  gap: 3px;
  color: rgba(248, 243, 232, 0.38);
  font-size: 1rem;
}

.mw-live-stars .is-filled {
  color: var(--maat-gold);
}

.maat-booking-template .entry-page,
.maat-gallery-template .entry-page,
.maat-full-width-template .entry-page {
  box-shadow: none;
}

.maat-gallery-template .wp-block-gallery {
  gap: 12px;
}

.maat-gallery-template .wp-block-image img,
.maat-gallery-template .blocks-gallery-item img {
  border-radius: var(--maat-radius);
}

.client-login-panel form {
  display: grid;
  gap: 16px;
}

.client-login-panel label {
  display: grid;
  gap: 6px;
  font-weight: 700;
}

.client-login-panel input[type="text"],
.client-login-panel input[type="password"],
.client-login-panel input[type="email"],
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  color: var(--maat-charcoal);
  background: var(--maat-white);
  border: 1px solid var(--maat-line);
  border-radius: 4px;
}

.woocommerce div.product .product_title,
.woocommerce-products-header__title,
.woocommerce-account .entry-title {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce div.product,
.woocommerce-cart-form,
.woocommerce-checkout,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-navigation {
  background: var(--maat-white);
  border: 1px solid var(--maat-line);
  border-radius: var(--maat-radius);
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  padding: 18px;
}

.woocommerce div.product,
.woocommerce-cart-form,
.woocommerce-checkout {
  padding: 24px;
}

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
  padding: 22px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--maat-gold);
}

@media (max-width: 820px) {
  .site-header__inner,
  .site-footer__inner,
  .maat-content-shell,
  .maat-wide-shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header__inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .primary-navigation {
    position: absolute;
    top: 100%;
    right: 14px;
    left: 14px;
    display: none;
    padding: 14px;
    background: var(--maat-white);
    border: 1px solid var(--maat-line);
    border-radius: var(--maat-radius);
    box-shadow: var(--maat-shadow);
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation .menu {
    display: grid;
    gap: 4px;
  }

  .primary-navigation a {
    width: 100%;
    justify-content: space-between;
  }

  .primary-navigation .sub-menu {
    position: static;
    display: grid;
    min-width: 0;
    padding: 2px 0 4px 16px;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .primary-navigation .sub-menu a {
    min-height: 34px;
    white-space: normal;
  }

  .site-main {
    padding: 40px 0;
  }

  .entry-page,
  .entry-card,
  .not-found,
  .client-login-panel {
    padding: 28px;
  }

  .entry-title,
  .archive-header h1,
  .not-found h1,
  .client-login-panel h1 {
    font-size: 2rem;
  }

  .maat-home-fallback {
    min-height: 70vh;
    padding: 64px 0;
  }

  .maat-home-fallback h1 {
    font-size: 2.6rem;
  }

  .maat-home-content > section,
  .maat-home-content > blockquote,
  .maat-program-hero,
  .maat-program-facts,
  .maat-program-section,
  .maat-home-hero__inner,
  .maat-home-intro .wp-block-columns,
  .maat-home-feature .wp-block-columns {
    width: min(100% - 28px, 1180px);
  }

  .maat-home-hero {
    min-height: 56vh;
    padding: 64px 0;
  }

  .maat-home-hero h1,
  .maat-program-hero h1 {
    font-size: 2.6rem;
  }

  .maat-home-intro,
  .maat-home-feature,
  .maat-home-way,
  .maat-home-contact,
  .maat-program-hero,
  .maat-program-section {
    padding: 46px 0;
  }

  .maat-home-intro .wp-block-columns,
  .maat-home-feature .wp-block-columns {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .maat-home-intro h2,
  .maat-home-feature h2,
  .maat-home-way h2,
  .maat-home-contact h2 {
    font-size: 2.1rem;
  }

  .maat-about-page {
    padding-top: 28px;
  }

  .maat-about-hero .wp-block-media-text__content,
  .maat-about-bio,
  .maat-about-contact,
  .maat-about-panels .wp-block-column {
    padding: 26px;
  }

  .maat-about-hero h1 {
    font-size: 2.4rem;
  }

  .maat-about-hero .wp-block-media-text__media img {
    min-height: 360px;
  }

  .maat-about-panels .wp-block-column + .wp-block-column {
    border-left: 0;
    border-top: 1px solid var(--maat-line);
  }

  .maat-classes-hero {
    padding: 58px 0 42px;
  }

  .maat-classes-hero h1 {
    font-size: 2.3rem;
  }

  .maat-class-card {
    grid-template-columns: 1fr;
  }

  .maat-class-card__media img {
    min-height: 240px;
  }

  .maat-class-card__body {
    padding: 26px;
  }

  .mw-home-dynamic {
    padding: 58px 0;
  }

  .mw-live-shell {
    width: min(100% - 28px, 1180px);
  }

  .mw-live-heading h2 {
    font-size: 2.2rem;
  }

  .maat-home-pathways {
    padding: 56px 0;
  }

  .maat-section-heading h2 {
    font-size: 2.15rem;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__contact {
    grid-template-columns: 1fr;
  }

  .footer-navigation .menu {
    align-items: flex-start;
    flex-direction: column;
  }
}