/*
Theme Name: OceanWP Mondschwestern
Template: oceanwp
Description: Child theme for Mondschwestern — mobile-first shop and ritual site.
Version: 1.6.4
Text Domain: oceanwp-mondschwestern
*/

:root {
  --ms-ink: #06495a;
  --ms-rust: #8c2d18;
  --ms-clay: #f26b1d;
  --ms-mist: #f0f1ec;
  --ms-foam: #dff2ef;
  --ms-paper: #fffdf8;
  --ms-muted: #4e4b66;
  --ms-card: #ffffff;
  --ms-line: #ece7dc;
  --ms-shadow: 0 18px 40px rgba(6, 73, 90, 0.08);
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ms-paper);
  color: #212121;
  font-family: Cabin, "Segoe UI", sans-serif;
}

h1, h2, h3, h4, .site-title {
  font-family: "Roboto Condensed", Cabin, sans-serif;
  color: var(--ms-ink);
  letter-spacing: 0.02em;
}

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

a {
  color: var(--ms-ink);
}

a:hover {
  color: var(--ms-rust);
}

/* Header / nav */
#site-header,
#site-header-inner {
  background: #fff;
}

body.ms-landing-page #site-header {
  border-bottom: 1px solid var(--ms-line);
  box-shadow: none;
}

#site-logo #site-logo-inner a img,
#site-logo-inner img,
.custom-logo {
  max-height: 60px !important;
  max-width: 180px !important;
  width: auto !important;
}

#site-logo #site-logo-inner {
  height: 78px;
  display: flex;
  align-items: center;
}

#site-navigation-wrap .dropdown-menu > li > a {
  font-family: "Roboto Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--ms-ink);
}

/* Mobile menu */
@media (max-width: 959px) {
  #site-logo #site-logo-inner a img,
  #site-logo-inner img,
  .custom-logo {
    max-height: 56px !important;
    max-width: 140px !important;
  }

  .oceanwp-mobile-menu-icon a {
    color: var(--ms-ink);
  }

  #mobile-dropdown {
    max-height: calc(100vh - 70px);
    overflow: auto;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
  }

  .woocommerce ul.products li.product img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1;
  }

  .woocommerce div.product div.images img {
    width: 100%;
    height: auto;
  }

  .woocommerce-cart-form,
  .woocommerce-checkout {
    overflow-x: auto;
  }

  .entry-content img,
  .single-post img {
    max-width: 100%;
    height: auto;
  }
}

/* Shop cards */
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid #ecebe4;
  border-radius: 12px;
  padding: 12px 12px 18px;
  box-sizing: border-box;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.05rem;
  line-height: 1.3;
}

.woocommerce ul.products li.product .price {
  color: var(--ms-rust);
  font-weight: 600;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wp-element-button,
.button {
  background: var(--ms-ink) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 0.7em 1.4em !important;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--ms-rust) !important;
}

/* Content images */
.entry-content img,
.woocommerce-product-gallery img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Contact form */
.wpcf7 input,
.wpcf7 textarea {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #d0d5d2;
  padding: 0.7em;
}

.woocommerce-products-header__title + p {
  max-width: 40rem;
}

/* Landing page */
body.ms-landing-page #main {
  padding: 0;
}

body.ms-landing-page .page-header,
body.ms-landing-page .site-breadcrumbs,
body.ms-landing-page #breadcrumbs {
  display: none;
}

.ms-landing {
  background: var(--ms-paper);
}

.ms-wrap {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.ms-wrap--narrow {
  width: min(760px, calc(100% - 2rem));
  text-align: center;
}

.ms-section {
  padding: 5.5rem 0;
}

.ms-section h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400;
}

.ms-section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.ms-section__intro {
  max-width: 38rem;
  color: var(--ms-muted);
  margin: 0.4rem 0 0;
}

.ms-kicker {
  margin: 0 0 0.75rem;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #fff;
}

.ms-kicker--ink {
  color: var(--ms-rust);
}

.ms-text-link {
  position: relative;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--ms-rust);
  text-decoration: none;
  white-space: nowrap;
}

.ms-text-link:hover {
  color: var(--ms-ink);
}

.ms-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 9.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  font-size: 0.92rem;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ms-btn:hover {
  transform: translateY(-1px);
}

.ms-btn--solid,
.ms-btn--solid:hover {
  background: var(--ms-rust);
  color: #fff;
}

.ms-btn--ghost,
.ms-btn--ghost:hover {
  background: transparent;
  color: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.85);
}

.ms-btn--small {
  min-width: 0;
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--ms-ink);
  color: #fff;
}

.ms-btn--small:hover {
  background: var(--ms-rust);
  color: #fff;
}

/* Icons OceanWP and WooCommerce draw with Font Awesome, which is disabled. */
.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before,
.theme-select::after,
.woocommerce form .show-password-input::after {
  content: "";
  background: currentColor;
  -webkit-mask: var(--ms-icon) center / var(--ms-icon-size, contain) no-repeat;
  mask: var(--ms-icon) center / var(--ms-icon-size, contain) no-repeat;
}

.woocommerce div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before {
  --ms-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E");
  --ms-icon-size: 16px;
  height: 32px;
}

.theme-select::after {
  --ms-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  --ms-icon-size: 11px;
}

.woocommerce form .show-password-input::after {
  --ms-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E");
  display: inline-block;
  width: 1.1em;
  height: 1.1em;
}

.woocommerce form .show-password-input.display-password::after {
  --ms-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E");
}

.ms-request {
  margin: 1.5rem 0 2rem;
}

.ms-request__btn {
  width: 100%;
  max-width: 22rem;
}

.ms-request__note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #5b5a5f;
}

.ms-request__note a {
  color: var(--ms-ink);
  text-decoration: underline;
  overflow-wrap: anywhere;
}

.ms-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0a181c;
  color: #fff;
}

.ms-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.ms-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(6, 73, 90, 0.08) 0%, rgba(10, 24, 28, 0.18) 38%, rgba(10, 24, 28, 0.78) 100%);
}

.ms-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 4.5rem;
}

.ms-hero__title {
  margin: 0 0 0.8rem;
  color: #fff;
  font-family: Cabin, "Roboto Condensed", sans-serif;
  font-weight: 500;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ms-hero__lead {
  max-width: 34rem;
  margin: 0 0 1.8rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.ms-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.ms-welcome {
  background: var(--ms-mist);
}

.ms-welcome h2 {
  margin-bottom: 1rem;
}

.ms-welcome__text {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.75;
  color: #333;
}

.ms-shop {
  background: var(--ms-paper);
}

.ms-product-grid,
.ms-ritual-grid,
.ms-path-grid {
  display: grid;
  gap: 1.25rem;
}

.ms-product-grid {
  grid-template-columns: repeat(4, 1fr);
}

.ms-product-card,
.ms-ritual-card {
  background: var(--ms-card);
  border: 1px solid var(--ms-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ms-shadow);
}

.ms-product-card__media,
.ms-ritual-card__media {
  display: block;
  overflow: hidden;
}

.ms-product-card__media img,
.ms-ritual-card__media img,
.ms-path img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.ms-product-card__media img {
  aspect-ratio: 4 / 5;
}

.ms-product-card:hover img,
.ms-ritual-card:hover img,
.ms-path:hover {
  transform: none;
}

.ms-product-card:hover .ms-product-card__media img,
.ms-ritual-card:hover .ms-ritual-card__media img {
  transform: scale(1.04);
}

.ms-product-card__body,
.ms-ritual-card__body {
  padding: 1.1rem 1.15rem 1.25rem;
}

.ms-product-card h3,
.ms-ritual-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 500;
}

.ms-product-card h3 a,
.ms-ritual-card h3 a {
  text-decoration: none;
  color: var(--ms-ink);
}

.ms-price {
  margin: 0 0 1rem;
  color: var(--ms-rust);
  font-weight: 600;
}

.ms-price .woocommerce-Price-amount {
  color: var(--ms-rust);
}

.ms-paths {
  padding-top: 0;
}

.ms-path-grid {
  grid-template-columns: 1fr 1fr;
}

.ms-path {
  position: relative;
  min-height: 360px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  background: var(--ms-path-image) center / cover no-repeat;
}

.ms-path__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 73, 90, 0.05) 20%, rgba(6, 30, 36, 0.78) 100%);
}

.ms-path__copy {
  position: relative;
  z-index: 1;
  padding: 1.8rem;
  color: #fff;
}

.ms-path__title {
  display: block;
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  line-height: 1.15;
  margin-bottom: 0.55rem;
}

.ms-path__more {
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-foam);
}

.ms-rituals {
  background: #f7f4ec;
}

.ms-ritual-grid {
  grid-template-columns: repeat(2, 1fr);
}

.ms-ritual-card__media img {
  aspect-ratio: 16 / 10;
}

.ms-ritual-card time {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--ms-rust);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ms-ritual-card p {
  margin: 0 0 0.9rem;
  color: var(--ms-muted);
}

.ms-band {
  padding: 5rem 0;
  background:
    linear-gradient(180deg, rgba(6, 73, 90, 0.82), rgba(6, 73, 90, 0.9)),
    var(--ms-band-image) center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.ms-band h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.ms-band p {
  margin: 0 0 1.6rem;
  color: rgba(255, 255, 255, 0.88);
}

.ms-band .ms-hero__actions {
  justify-content: center;
}

/* About page */
.ms-about {
  background: var(--ms-paper);
}

.ms-about-hero {
  min-height: 68vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 35, 43, 0.08) 10%, rgba(5, 35, 43, 0.82) 100%),
    var(--ms-about-hero) center 34% / cover no-repeat;
  color: #fff;
}

.ms-about-hero__inner {
  padding: 8rem 0 4.5rem;
}

.ms-about-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: Cabin, "Roboto Condensed", sans-serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ms-about-hero__inner > p:not(.ms-kicker) {
  max-width: 37rem;
  margin: 0 0 1.7rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
}

.ms-about-intro {
  background: var(--ms-mist);
}

.ms-about-intro p:last-child {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.8;
}

.ms-about-founder {
  background: var(--ms-paper);
}

.ms-about-founder__grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.ms-about-founder__image {
  --ms-frame-offset: 18px;
  margin: 0 var(--ms-frame-offset) 0 0;
}

.ms-about-founder__photo {
  position: relative;
  display: block;
}

.ms-about-founder__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(var(--ms-frame-offset), var(--ms-frame-offset));
  border: 1.5px solid rgba(242, 107, 29, 0.55);
  border-radius: 22px;
  background: rgba(242, 107, 29, 0.08);
  z-index: 0;
}

.ms-about-founder__image img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 50% 30%;
  display: block;
  border-radius: 22px;
  box-shadow: var(--ms-shadow);
}

.ms-about-founder__image figcaption {
  margin-top: calc(var(--ms-frame-offset) + 0.9rem);
  color: var(--ms-muted);
  font-size: 0.86rem;
  letter-spacing: 0.05em;
}

.ms-about-founder__copy h2,
.ms-about-heading h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
  font-weight: 400;
}

.ms-about-founder__copy > p {
  font-size: 1.05rem;
  line-height: 1.78;
}

.ms-about-founder__lead {
  color: var(--ms-rust);
  font-family: "Roboto Condensed", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem) !important;
  line-height: 1.35 !important;
}

.ms-about-circle {
  background: #f7f4ec;
}

.ms-about-heading {
  max-width: 720px;
  margin-bottom: 2.7rem;
}

.ms-about-heading > p:last-child {
  margin: 0;
  color: var(--ms-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.ms-about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ms-about-card {
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 18px;
  box-shadow: var(--ms-shadow);
}

.ms-about-card:last-child {
  grid-column: 1 / -1;
}

.ms-about-card__top {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.ms-about-card__initials {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ms-ink);
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.ms-about-card__line {
  height: 1px;
  flex: 1;
  background: var(--ms-line);
}

.ms-about-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.55rem;
  font-weight: 500;
}

.ms-about-card p {
  margin: 0;
  color: #403e42;
  font-size: 1rem;
  line-height: 1.72;
}

.ms-about-values {
  background: var(--ms-ink);
  color: #fff;
}

.ms-about-heading--light h2,
.ms-about-heading--light p:last-child {
  color: #fff;
}

.ms-about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  overflow: hidden;
}

.ms-about-value {
  padding: 2rem 1.5rem;
  background: var(--ms-ink);
}

.ms-about-value > span {
  display: block;
  margin-bottom: 2rem;
  color: var(--ms-clay);
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
}

.ms-about-value h3 {
  margin: 0 0 0.7rem;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 500;
}

.ms-about-value p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
}

.ms-about-invitation {
  padding: 6rem 0;
  background:
    linear-gradient(180deg, rgba(5, 35, 43, 0.76), rgba(5, 35, 43, 0.9)),
    var(--ms-about-band) center / cover no-repeat;
  color: #fff;
  text-align: center;
}

.ms-about-invitation h2 {
  margin: 0 0 0.8rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
}

.ms-about-invitation p:not(.ms-kicker) {
  margin: 0 0 1.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.65;
}

.ms-about-invitation .ms-hero__actions {
  justify-content: center;
}

@media (max-width: 980px) {
  .ms-product-grid,
  .ms-path-grid,
  .ms-ritual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ms-section__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .ms-about-values__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .ms-hero {
    min-height: 78vh;
  }

  .ms-hero__inner {
    margin: 5.5rem auto 2.4rem;
  }

  .ms-section {
    padding: 3.5rem 0;
  }

  .ms-product-grid,
  .ms-path-grid,
  .ms-ritual-grid {
    grid-template-columns: 1fr;
  }

  .ms-path {
    min-height: 280px;
  }

  .ms-about-hero {
    min-height: 66vh;
    background-position: center;
  }

  .ms-about-hero__inner {
    padding: 7rem 0 3rem;
  }

  .ms-about-founder__grid,
  .ms-about-cards,
  .ms-about-values__grid {
    grid-template-columns: 1fr;
  }

  .ms-about-founder__image {
    --ms-frame-offset: 14px;
    margin-bottom: 1rem;
  }

  .ms-about-card:last-child {
    grid-column: auto;
  }

  .ms-about-invitation {
    padding: 4rem 0;
  }
}

/* Jahreskreis page */
.ms-jk {
  background: var(--ms-paper);
}

.ms-jk h2 {
  font-weight: 400;
}

.ms-jk-hero {
  min-height: min(82vh, 760px);
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(180deg, rgba(5, 35, 43, 0.15) 0%, rgba(5, 35, 43, 0.35) 45%, rgba(5, 35, 43, 0.88) 100%),
    var(--ms-jk-hero) center 55% / cover no-repeat;
  color: #fff;
}

.ms-jk-hero__inner {
  padding: 8rem 0 7.5rem;
}

.ms-jk-hero h1 {
  margin: 0 0 1rem;
  color: #fff;
  font-family: Cabin, "Roboto Condensed", sans-serif;
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.ms-jk-hero__inner > p:not(.ms-kicker) {
  max-width: 38rem;
  margin: 0 0 1.8rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

/* Next festival */
.ms-jk-next {
  position: relative;
  z-index: 2;
  margin-top: -4rem;
}

.ms-jk-next__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.4rem);
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(6, 73, 90, 0.14);
}

.ms-jk-next__count {
  display: grid;
  place-items: center;
  align-content: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ms-ink);
  color: #fff;
  text-align: center;
  box-shadow: 0 0 0 8px var(--ms-foam);
}

.ms-jk-next__count strong {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.ms-jk-next__count span {
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ms-foam);
}

.ms-jk-next__copy .ms-kicker {
  margin-bottom: 0.35rem;
}

.ms-jk-next__copy h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.ms-jk-next__copy p:last-child {
  margin: 0;
  color: var(--ms-muted);
  line-height: 1.6;
}

.ms-jk-next__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

/* Wheel of the year */
.ms-jk-wheel {
  padding-top: 6rem;
}

.ms-jk-wheel__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: 3.5rem;
}

.ms-jk-wheel__copy h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1;
}

.ms-jk-wheel__copy > p:not(.ms-kicker) {
  margin: 0 0 1rem;
  font-size: 1.08rem;
  line-height: 1.78;
  color: #403e42;
}

.ms-jk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 1.6rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
  color: var(--ms-muted);
}

.ms-jk-legend li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ms-jk-legend__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.ms-jk-legend__dot--fire {
  background: var(--ms-rust);
}

.ms-jk-legend__dot--sun {
  background: #fff;
  box-shadow: inset 0 0 0 3px var(--ms-ink);
}

.ms-jk-legend__dot--next {
  background: var(--ms-clay);
  box-shadow: 0 0 0 4px rgba(242, 107, 29, 0.22);
}

.ms-jk-wheel__svg {
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.ms-jk-wheel__ring {
  fill: none;
  stroke: var(--ms-ink);
  stroke-width: 1.5;
  opacity: 0.35;
}

.ms-jk-wheel__ring--inner {
  stroke-dasharray: 3 6;
}

.ms-jk-wheel__spoke {
  stroke: var(--ms-ink);
  stroke-width: 1;
  opacity: 0.18;
}

.ms-jk-wheel__moon {
  fill: var(--ms-ink);
}

.ms-jk-wheel__moon-cut {
  fill: var(--ms-paper);
}

.ms-jk-wheel__point text {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  fill: var(--ms-ink);
  transition: fill 0.2s ease;
}

.ms-jk-wheel__dot {
  transition: transform 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}

.ms-jk-wheel__point--fire .ms-jk-wheel__dot {
  fill: var(--ms-rust);
}

.ms-jk-wheel__point--sun .ms-jk-wheel__dot {
  fill: #fff;
  stroke: var(--ms-ink);
  stroke-width: 3;
}

.ms-jk-wheel__point.is-next .ms-jk-wheel__dot {
  fill: var(--ms-clay);
  stroke: none;
}

.ms-jk-wheel__point.is-next text {
  fill: var(--ms-clay);
  font-weight: 700;
}

.ms-jk-wheel__halo {
  fill: rgba(242, 107, 29, 0.2);
  transform-box: fill-box;
  transform-origin: center;
  animation: ms-jk-pulse 2.4s ease-in-out infinite;
}

.ms-jk-wheel__point:hover text,
.ms-jk-wheel__point:focus text {
  fill: var(--ms-rust);
}

.ms-jk-wheel__point:hover .ms-jk-wheel__dot,
.ms-jk-wheel__point:focus .ms-jk-wheel__dot {
  transform: scale(1.25);
}

@keyframes ms-jk-pulse {
  0%, 100% { transform: scale(0.85); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .ms-jk-wheel__halo {
    animation: none;
  }
}

/* Festival cards */
.ms-jk-fests {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.ms-jk-fest {
  display: flex;
  flex-direction: column;
  background: var(--ms-card);
  border: 1px solid var(--ms-line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--ms-shadow);
  scroll-margin-top: 110px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ms-jk-fest:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 50px rgba(6, 73, 90, 0.14);
}

.ms-jk-fest.is-next {
  border-color: rgba(242, 107, 29, 0.55);
  box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.18), var(--ms-shadow);
}

.ms-jk-fest__media {
  display: block;
  overflow: hidden;
}

.ms-jk-fest__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.45s ease;
}

.ms-jk-fest:hover .ms-jk-fest__media img {
  transform: scale(1.04);
}

.ms-jk-fest__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.1rem 1.2rem 1.3rem;
}

.ms-jk-fest__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.ms-jk-fest__badge {
  display: inline-block;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ms-jk-fest__badge--fire {
  background: rgba(140, 45, 24, 0.1);
  color: var(--ms-rust);
}

.ms-jk-fest__badge--sun {
  background: var(--ms-foam);
  color: var(--ms-ink);
}

.ms-jk-fest__badge--next {
  background: var(--ms-clay);
  color: #fff;
}

.ms-jk-fest__date {
  margin: 0 0 0.2rem;
  color: var(--ms-muted);
  font-size: 0.85rem;
}

.ms-jk-fest h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
  font-weight: 500;
}

.ms-jk-fest__text {
  margin: 0 0 1.1rem;
  color: #403e42;
  font-size: 0.95rem;
  line-height: 1.6;
}

.ms-jk-fest__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
  margin-top: auto;
  padding-top: 0.9rem;
  border-top: 1px solid var(--ms-line);
}

.ms-jk-fest__links .ms-text-link {
  font-size: 0.8rem;
}

.ms-jk-fest__kit {
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ms-ink);
  text-decoration: none;
  white-space: nowrap;
}

.ms-jk-fest__kit:hover {
  color: var(--ms-rust);
}

.ms-jk-fest__kit .woocommerce-Price-amount {
  color: var(--ms-rust);
}

/* FAQ */
.ms-jk-faq {
  background: #f7f4ec;
}

.ms-jk-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
}

.ms-jk-faq__head {
  position: sticky;
  top: 120px;
}

.ms-jk-faq__head h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1;
}

.ms-jk-faq__head > p:not(.ms-kicker) {
  margin: 0 0 1.4rem;
  color: var(--ms-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.ms-jk-faq__list {
  display: grid;
  gap: 0.9rem;
}

.ms-jk-faq__item {
  background: #fff;
  border: 1px solid var(--ms-line);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(6, 73, 90, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ms-jk-faq__item[open] {
  border-color: rgba(6, 73, 90, 0.25);
  box-shadow: var(--ms-shadow);
}

.ms-jk-faq__item summary {
  position: relative;
  display: block;
  padding: 1.25rem 3.8rem 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1.15rem;
  color: var(--ms-ink);
}

.ms-jk-faq__item summary::-webkit-details-marker {
  display: none;
}

.ms-jk-faq__item summary::before,
.ms-jk-faq__item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  width: 14px;
  height: 2px;
  background: var(--ms-rust);
  transition: transform 0.25s ease;
}

.ms-jk-faq__item summary::after {
  transform: rotate(90deg);
}

.ms-jk-faq__item[open] summary::after {
  transform: rotate(0deg);
}

.ms-jk-faq__item summary:focus-visible {
  outline: 2px solid var(--ms-clay);
  outline-offset: -2px;
  border-radius: 16px;
}

.ms-jk-faq__item p {
  margin: 0;
  padding: 0 1.5rem 1.4rem;
  color: #403e42;
  line-height: 1.78;
}

/* Gallery */
.ms-jk-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(180px, 20vw, 270px);
  grid-template-areas:
    "a b c d"
    "a e f d";
  gap: 1rem;
}

.ms-jk-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ms-mist);
}

.ms-jk-gallery__item img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.5s ease;
}

.ms-jk-gallery__item:hover img {
  transform: scale(1.05);
}

/* Signup */
.ms-jk-signup {
  padding: 6rem 0;
  background:
    linear-gradient(115deg, rgba(4, 40, 49, 0.94) 0%, rgba(6, 73, 90, 0.86) 100%),
    var(--ms-jk-band) center / cover no-repeat;
  color: #fff;
}

.ms-jk-signup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.ms-jk-signup h2 {
  margin: 0 0 0.9rem;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
}

.ms-jk-signup__copy p:not(.ms-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
  line-height: 1.7;
}

.ms-jk-signup__form {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  backdrop-filter: blur(6px);
}

.ms-jk-form__fields,
.ms-jk-form__fields > p {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.ms-jk-form label {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ms-foam);
}

.ms-jk-form br {
  display: none;
}

.ms-jk-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.45rem;
}

.ms-jk-form input[type="text"],
.ms-jk-form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  color: #212121;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
}

.ms-jk-form input[type="text"]:focus,
.ms-jk-form input[type="email"]:focus {
  outline: none;
  border-color: var(--ms-clay);
  box-shadow: 0 0 0 3px rgba(242, 107, 29, 0.35);
}

.ms-jk-form .wpcf7-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 0.4rem;
  border: 0;
  border-radius: 999px;
  background: var(--ms-rust);
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ms-jk-form .wpcf7-submit:hover {
  background: var(--ms-clay);
  transform: translateY(-1px);
}

.ms-jk-form .wpcf7-spinner {
  display: none;
}

.ms-jk-form.submitting .wpcf7-spinner {
  display: block;
  margin: 0 auto;
}

.ms-jk-form .wpcf7-not-valid-tip {
  margin-top: 0.35rem;
  color: #ffc9b3;
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: normal;
}

.ms-jk-form .wpcf7-response-output {
  margin: 1rem 0 0 !important;
  padding: 0.8rem 1rem !important;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .ms-jk-fests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ms-jk-wheel__grid,
  .ms-jk-faq__grid,
  .ms-jk-signup__grid {
    grid-template-columns: 1fr;
  }

  .ms-jk-wheel__svg {
    max-width: 440px;
  }

  .ms-jk-faq__head {
    position: static;
  }

  .ms-jk-next__card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .ms-jk-next__actions {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-start;
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .ms-jk-hero {
    min-height: min(72vh, 640px);
  }

  .ms-jk-hero__inner {
    padding: 7rem 0 6rem;
  }

  .ms-jk-next {
    margin-top: -3rem;
  }

  .ms-jk-next__card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .ms-jk-next__count {
    width: 92px;
    height: 92px;
  }

  .ms-jk-next__count strong {
    font-size: 2rem;
  }

  .ms-jk-next__copy p:last-child {
    font-size: 0.95rem;
  }

  .ms-jk-next__actions {
    flex-direction: column;
    align-items: center;
  }

  .ms-jk-wheel {
    padding-top: 4rem;
  }

  .ms-jk-fests {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ms-jk-fest {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
  }

  .ms-jk-fest__media {
    position: relative;
    min-height: 150px;
  }

  .ms-jk-fest__media img {
    position: absolute;
    inset: 0;
    height: 100% !important;
    aspect-ratio: auto;
  }

  .ms-jk-fest__body {
    padding: 0.9rem 1rem 1rem;
  }

  .ms-jk-fest h3 {
    font-size: 1.25rem;
  }

  .ms-jk-fest__text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.9rem;
  }

  .ms-jk-gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 170px;
    grid-template-areas:
      "a b"
      "a c"
      "d e"
      "d f";
    gap: 0.7rem;
  }

  .ms-jk-signup {
    padding: 4rem 0;
  }
}
