/* LMYC practice category pages */
:root {
  --lmyc-category-cream: #fffef4;
  /* Desktop square frame — scaled to match text column */
  --lmyc-category-arch-max: 460px;
  --lmyc-category-frame-radius: clamp(0.85rem, 2vw, 1.35rem);
}

body.lmyc-category-page #main-content {
  padding-top: 0;
}

.lmyc-category-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(2rem, 3.5vw, 3rem);
  background: var(--lmyc-category-cream);
}
.lmyc-category-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}
.lmyc-category-hero__media {
  overflow: visible;
  background: transparent;
  position: relative;
  width: 100%;
  max-width: min(100%, var(--lmyc-category-arch-max));
  margin: 0;
  box-shadow: none;
  border-radius: 0;
  box-sizing: border-box;
}
.lmyc-category-hero__media .lmyc-category-slideshow {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
  filter: none;
}
.lmyc-category-hero__media .lmyc-category-slideshow__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--lmyc-category-frame-radius);
  border: 1px solid #425936;
  background: var(--lmyc-category-cream);
  box-shadow: none;
  width: 100%;
  max-width: var(--lmyc-category-arch-max);
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  max-height: none;
  box-sizing: border-box;
  isolation: isolate;
}
.lmyc-category-hero__media .lmyc-category-slideshow__track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: inherit;
}
.lmyc-category-hero__media .lmyc-category-slideshow__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: inherit;
  overflow: hidden;
}
.lmyc-category-hero__media .lmyc-category-slideshow__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 2.5rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(48, 61, 28, 0.62) 0%, rgba(48, 61, 28, 0.28) 55%, transparent 100%);
}
.lmyc-category-hero__media .lmyc-category-slideshow__counter {
  color: #fdf8f3;
}
.lmyc-category-hero__media .lmyc-category-slideshow__dot {
  background: rgba(253, 248, 243, 0.45);
}
.lmyc-category-hero__media .lmyc-category-slideshow__dot.is-active {
  background: #fffef4;
}
.lmyc-category-hero__media .lmyc-category-slideshow__slide img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  transform: none;
  transform-origin: center center;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  filter: none !important;
}
.lmyc-category-hero__media .lmyc-category-slideshow__slide.is-active img {
  transform: none;
}
.lmyc-category-hero__eyebrow {
  font-size: 1.2rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #425936;
  margin-bottom: 1rem;
}
.lmyc-category-hero__intro {
  font-family: var(--lmyc-supporting-copy-font, "Poppins", var(--font-body-family, sans-serif));
  font-size: var(--lmyc-supporting-copy-size, clamp(1.28rem, 1.85vw, 1.68rem));
  line-height: var(--lmyc-supporting-copy-leading, 1.62);
  letter-spacing: var(--lmyc-supporting-copy-tracking, 0.01em);
  color: rgba(48, 61, 28, 0.92);
  margin: 0 0 1.1rem;
  font-style: normal;
}
.lmyc-category-hero__hook {
  font-family: var(--lmyc-supporting-copy-font, "Poppins", var(--font-body-family, sans-serif));
  font-size: var(--lmyc-supporting-copy-size, clamp(1.28rem, 1.85vw, 1.68rem));
  line-height: var(--lmyc-supporting-copy-leading, 1.62);
  letter-spacing: var(--lmyc-supporting-copy-tracking, 0.01em);
  color: rgba(48, 61, 28, 0.92);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.lmyc-category-hero__body p {
  line-height: var(--lmyc-supporting-copy-leading, 1.62);
  color: rgba(var(--color-foreground), 0.88);
  margin: 0 0 0.75rem;
}
.lmyc-category-hero__body p:last-child {
  margin-bottom: 0;
}

.lmyc-category-benefits--inline {
  margin-top: clamp(0.85rem, 1.5vw, 1.15rem);
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.lmyc-category-benefits--inline .lmyc-category-benefits__title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.5rem, 1.85vw, 1.85rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #425936;
  text-align: left;
  line-height: 1.3;
}
.lmyc-category-benefits--inline .lmyc-category-benefits__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
}
.lmyc-category-benefits--inline .lmyc-category-benefits__list li {
  position: relative;
  padding-left: 1.35rem;
  line-height: var(--lmyc-supporting-copy-leading, 1.62);
  color: rgba(48, 61, 28, 0.9);
}
.lmyc-category-benefits--inline .lmyc-category-benefits__list li::before {
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #425936;
}

@media screen and (min-width: 768px) {
  .lmyc-category-benefits--inline .lmyc-category-benefits__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(1.25rem, 2.5vw, 2rem);
    row-gap: 1rem;
  }
}

.lmyc-category-benefits {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}
.lmyc-category-benefits .page-width {
  display: flex;
  justify-content: center;
}
.lmyc-category-benefits__card {
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(66, 89, 54, 0.12);
  border-radius: 1.4rem;
  padding: clamp(1.75rem, 2.5vw, 2.25rem) clamp(1.75rem, 3vw, 2.35rem);
  box-shadow: 0 10px 32px rgba(48, 61, 28, 0.06);
}
.lmyc-category-benefits__title {
  margin: 0 0 1.15rem;
  font-size: clamp(1.8rem, 2vw, 2.2rem);
  color: #303d1c;
  text-align: center;
}
.lmyc-category-benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}
.lmyc-category-benefits__list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 1.3rem;
  line-height: 1.55;
  color: rgba(var(--color-foreground), 0.9);
}
.lmyc-category-benefits__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #425936;
}

.lmyc-category-classes {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  background: var(--lmyc-category-cream);
}
.lmyc-category-classes__head {
  text-align: center;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
}
.lmyc-category-classes__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 2.4vw, 2.6rem);
  color: #303d1c;
}
.lmyc-category-classes__head p {
  margin: 0;
  line-height: var(--lmyc-supporting-copy-leading, 1.62);
  color: rgba(var(--color-foreground), 0.78);
}
.lmyc-category-classes__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
}
.lmyc-category-class-card {
  background: #fff;
  border: 1px solid rgba(66, 89, 54, 0.12);
  border-radius: 1.2rem;
  padding: clamp(1.65rem, 2.5vw, 2.1rem) clamp(1.75rem, 2.8vw, 2.35rem);
  box-shadow: 0 8px 24px rgba(48, 61, 28, 0.05);
}
.lmyc-category-class-card__name {
  margin: 0 0 1rem;
  font-family: var(--font-heading-family, Georgia, "Times New Roman", serif);
  font-size: clamp(1.75rem, 2.1vw, 2.15rem);
  font-weight: 500;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: #303d1c;
}
.lmyc-category-class-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 1.35rem;
  color: #425936;
}
.lmyc-category-class-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.lmyc-category-class-card__meta span:first-child {
  font-family: var(--font-body-family, "Montserrat", sans-serif);
  font-size: clamp(1.1rem, 1.15vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #425936;
}
.lmyc-category-class-card__meta span:last-child {
  font-family: var(--font-body-family, "Montserrat", sans-serif);
  font-size: clamp(1.35rem, 1.45vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: rgba(48, 61, 28, 0.92);
}

.lmyc-category-gallery {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  background: var(--lmyc-category-cream);
}
.lmyc-category-gallery__head {
  text-align: center;
  margin-bottom: 2rem;
}
.lmyc-category-gallery__head h2 {
  margin: 0;
  font-size: clamp(1.9rem, 2.2vw, 2.4rem);
  color: #303d1c;
}

.lmyc-category-slideshow {
  max-width: 56rem;
  margin: 0 auto;
}
.lmyc-category-slideshow__viewport {
  position: relative;
  border-radius: var(--lmyc-category-frame-radius);
  overflow: hidden;
  background: var(--lmyc-category-cream);
  box-shadow: 0 18px 48px rgba(48, 61, 28, 0.12);
  aspect-ratio: 1 / 1;
}
.lmyc-category-slideshow__track {
  position: relative;
  width: 100%;
  height: 100%;
}
.lmyc-category-slideshow__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.lmyc-category-slideshow__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.lmyc-category-slideshow__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transition: transform 5.5s ease, opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1);
}
.lmyc-category-slideshow__slide.is-active img {
  transform: scale(1);
}
.lmyc-category-slideshow__controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}
.lmyc-category-slideshow__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(66, 89, 54, 0.18);
  border-radius: 999px;
  background: #fff;
  color: #425936;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  box-shadow: 0 4px 14px rgba(48, 61, 28, 0.08);
}
.lmyc-category-slideshow__btn:hover {
  background: #fffef4;
  border-color: rgba(66, 89, 54, 0.32);
  transform: translateY(-1px);
}
.lmyc-category-slideshow__btn svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lmyc-category-slideshow__meta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.lmyc-category-slideshow__counter {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(48, 61, 28, 0.62);
}
.lmyc-category-slideshow__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.lmyc-category-slideshow__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(66, 89, 54, 0.22);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, width 0.25s ease;
}
.lmyc-category-slideshow__dot.is-active {
  width: 1.35rem;
  background: #425936;
}
.lmyc-category-slideshow__dot:hover {
  background: rgba(66, 89, 54, 0.45);
}

.lmyc-category-booking {
  padding: 0 0 6rem;
  background: var(--lmyc-category-cream);
}
.lmyc-category-booking__head {
  text-align: center;
  max-width: 48rem;
  margin: 2.5rem auto 0;
}
.lmyc-category-booking__head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.9rem, 2.2vw, 2.4rem);
  color: #303d1c;
}
.lmyc-category-booking__head p {
  margin: 0;
  line-height: var(--lmyc-supporting-copy-leading, 1.62);
  color: rgba(var(--color-foreground), 0.78);
}
.lmyc-category-booking__cta {
  display: inline-flex;
  margin-top: 1.25rem;
  text-decoration: none;
}

@media screen and (max-width: 991px) {
  .lmyc-category-hero__grid {
    grid-template-columns: 1fr;
  }
  .lmyc-category-hero__media {
    width: 100%;
    max-width: var(--lmyc-category-arch-max);
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 767px) {
  .lmyc-category-benefits:not(.lmyc-category-benefits--inline) .lmyc-category-benefits__list li,
  .lmyc-category-hero__body p {
    font-size: 1.25rem;
  }
  .lmyc-category-benefits--inline .lmyc-category-benefits__list li {
    font-size: 1.28rem;
    line-height: 1.52;
  }
  .lmyc-category-class-card__name {
    font-size: 1.65rem;
  }
  .lmyc-category-class-card__meta span:first-child {
    font-size: 1.05rem;
  }
  .lmyc-category-class-card__meta span:last-child {
    font-size: 1.3rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .lmyc-category-slideshow__slide {
    transition: none;
  }
  .lmyc-category-slideshow__slide img {
    transform: none;
    transition: none;
  }
  .lmyc-category-hero__media .lmyc-category-slideshow__slide img {
    transform: none;
    transition: none;
  }
}

/* Category pages ship duplicate inline header CSS that resets mobile grid + scroll states.
   Banner header chrome: assets/lmyc-banner-header.css (loads after this file). */
@media screen and (max-width: 1279px) {
  body.lmyc-category-page #site-header .lmyc-header-row {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-areas: "start center end" !important;
  }
}

@media screen and (min-width: 1280px) {
  body.lmyc-category-page #site-header .lmyc-header-row {
    grid-template-columns: auto minmax(0, 1fr) auto !important;
    grid-template-areas: "drawer nav end" !important;
  }
}

.lmyc-category-more {
  padding: 1rem 0 2.5rem;
  background: var(--lmyc-category-cream);
}
.lmyc-category-more__inner {
  max-width: min(56rem, 100%);
  margin: 0 auto;
  padding: clamp(2.75rem, 5vw, 4rem) clamp(1.75rem, 4vw, 3.25rem);
  text-align: center;
  border-radius: 1.75rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 0%, rgba(209, 142, 149, 0.14), transparent 60%),
    var(--lmyc-category-cream);
  border: 2px solid rgba(66, 89, 54, 0.12);
}
.lmyc-category-more__eyebrow {
  margin: 0 0 0.85rem;
  font-family: var(--lmyc-supporting-copy-font, "Poppins", var(--font-body-family, sans-serif));
  font-size: var(--lmyc-supporting-copy-size, clamp(1.28rem, 1.85vw, 1.68rem));
  font-weight: var(--lmyc-supporting-copy-weight, 400);
  line-height: var(--lmyc-supporting-copy-leading, 1.62);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d18e95;
}
.lmyc-category-more__title {
  margin: 0;
  font-family: var(--font-heading-family, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.15rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.12;
  color: #303d1c;
}
.lmyc-category-more__text {
  display: none;
}
.lmyc-category-more__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.75rem;
  min-height: 3.35rem;
  padding: 0.85rem 1.85rem !important;
  font-size: 1.05rem !important;
  text-decoration: none;
}
.lmyc-category-more__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.95rem 1.6rem;
  margin-top: 1.85rem;
}
.lmyc-category-more__links a {
  color: #425936;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-decoration: none;
  border-bottom: 2px solid rgba(66, 89, 54, 0.3);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.lmyc-category-more__links a:hover,
.lmyc-category-more__links a:focus-visible {
  color: #303d1c;
  border-bottom-color: #303d1c;
  outline: none;
}

@media screen and (max-width: 767px) {
  .lmyc-category-more {
    padding: 0.5rem 0 2rem;
  }
  .lmyc-category-more__inner {
    padding: 2.25rem 1.35rem;
  }
  .lmyc-category-more__btn {
    width: 100%;
    max-width: 22rem;
  }
  .lmyc-category-more__links {
    gap: 0.85rem 1.25rem;
  }
  .lmyc-category-more__links a {
    font-size: clamp(1.18rem, 4.2vw, 1.35rem);
  }
}

@media screen and (max-width: 991px) {
  .lmyc-category-more__eyebrow {
    font-size: 1.32rem !important;
  }
}

@media screen and (max-width: 767px) {
  .lmyc-category-more__eyebrow {
    font-size: 1.2rem !important;
    line-height: 1.58 !important;
  }
}


