/* ==========================================================================
   IV Drips Greece — INNERPAGE
   Only loaded on inner pages (articles, categories, static pages, etc).
   Hero section, article/category/page layouts.
   ========================================================================== */

/* ---------- Hero section (reusable across all inner pages) ---------- */
/* margin (not padding) clears the fixed 8rem inner-page header, since
   margin shifts the whole box and the absolutely positioned media child
   below just inherits the new position via its own top:0 */
.innerpage-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6.4rem 0;
  margin-top: 8rem;
}
.innerpage-hero--with-image {
  min-height: 70rem;
}
.innerpage-hero__media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 0;
}
.innerpage-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.innerpage-hero__scrim {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, oklch(24.5% 0.025 45 / 0.5));
  pointer-events: none;
}
.innerpage-hero--with-image .innerpage-hero__content {
  position: relative;
  z-index: 1;
  text-align: left;
  width: 100%;
  padding: 4.8rem 0;
}
.innerpage-hero__title {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--espresso);
  margin: 0;
}
.innerpage-hero--with-image .innerpage-hero__title {
  color: #fff;
  text-shadow: 0 2px 8px oklch(24.5% 0.025 45 / 0.4);
}
@media (min-width: 768px) {
  .innerpage-hero {
    padding: 9.6rem 0;
  }
  .innerpage-hero__title {
    font-size: 4.8rem;
  }
}

@media (max-width: 767px) {
  .innerpage-hero--with-image {
    display: block;
    min-height: 0;
    padding: 0;
  }
  .innerpage-hero__media {
    position: static;
  }
  .innerpage-hero__media img {
    height: auto;
  }
  .innerpage-hero__scrim {
    display: none;
  }
  .innerpage-hero--with-image .innerpage-hero__content {
    position: static;
    padding: 3.2rem 0 2.4rem;
  }
  .innerpage-hero--with-image .innerpage-hero__title {
    color: var(--espresso);
    text-shadow: none;
  }
  .innerpage-hero--with-image .at-home-hero__eyebrow {
    color: var(--gold-deep);
  }
  .innerpage-hero--with-image .at-home-hero__lead {
    color: var(--espresso);
    opacity: 0.75;
  }
  .at-home-hero__eyebrow,
  .at-home-hero__cta {
    display: none;
  }
}

/* ---------- At-home service: dedicated marketing layout ----------
   Hero reuses .innerpage-hero/.innerpage-hero--with-image directly (same
   markup as every other inner page) so height/padding/scrim stay pixel
   -identical — only the eyebrow/lead text below are page-specific. */
.at-home-hero__eyebrow {
  color: var(--gold-light);
}
.at-home-hero__lead {
  max-width: 56rem;
  margin: 2.4rem 0 3.2rem;
  font-size: 1.8rem;
  line-height: 1.7;
  color: oklch(98% 0.01 85 / 0.92);
}

.at-home-scenarios {
  padding: 0 0 8rem;
}
@media (min-width: 768px) {
  .at-home-scenarios {
    padding: 0 0 12.8rem;
  }
}
.at-home-scenarios__head {
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}
.at-home-scenarios__heading,
.at-home-experience__heading {
  margin: 2.4rem 0 0;
  font-weight: 700;
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.15;
  color: var(--espresso);
}
.at-home-scenarios__heading strong,
.at-home-experience__heading strong {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.at-home-scenarios__head p,
.at-home-experience__text p {
  margin: 2.4rem 0 0;
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--espresso);
  opacity: 0.85;
}
.at-home-scenarios__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.2rem;
  margin-top: 6.4rem;
}
@media (min-width: 768px) {
  .at-home-scenarios__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }
}
.at-home-scenarios__card {
  position: relative;
  text-align: center;
  padding: 4.8rem 3.2rem 4rem;
  border-radius: 1.6rem;
  background-color: var(--card);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}
.at-home-scenarios__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 6rem;
  height: 0.3rem;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  border-radius: 0 0 99rem 99rem;
}
.at-home-scenarios__card:hover {
  transform: translateY(-0.6rem);
  box-shadow: 0 4rem 8rem -4rem oklch(58% 0.12 65 / 0.35);
}
.at-home-scenarios__icon {
  position: relative;
  display: inline-flex;
  margin-bottom: 2.4rem;
}
.at-home-scenarios__icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--gradient-gold);
  opacity: 0.18;
  filter: blur(1rem);
  transform: scale(1.35);
}
.at-home-scenarios__icon svg {
  position: relative;
  width: 6.4rem;
  height: 6.4rem;
  padding: 1.6rem;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.4s ease;
}
.at-home-scenarios__card:hover .at-home-scenarios__icon svg {
  transform: scale(1.08) rotate(-4deg);
}
.at-home-scenarios__card h3 {
  margin: 0;
  font-family: var(--font-kreadon);
  font-size: 2rem;
  font-weight: 700;
  color: var(--espresso);
}
.at-home-scenarios__card p {
  margin: 1.2rem 0 0;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--espresso);
  opacity: 0.7;
}

.at-home-experience {
  padding: 8rem 0;
  background-color: var(--sand);
}
@media (min-width: 768px) {
  .at-home-experience {
    padding: 12.8rem 0;
  }
}
.at-home-experience__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4.8rem;
  align-items: center;
}
@media (min-width: 768px) {
  .at-home-experience__row {
    grid-template-columns: 6fr 6fr;
    gap: 8rem;
  }
  .at-home-experience__media {
    order: 2;
  }
  .at-home-experience__text {
    order: 1;
  }
}
.at-home-experience__media {
  position: relative;
  border-radius: 1.6rem;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.at-home-experience__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.at-home-form {
  /* offsets the smooth-scroll landing spot so the fixed 8rem header
     doesn't cover the top of the card when jumped to via #book-form */
  scroll-margin-top: 8rem;
  padding: 8rem 0;
  background: var(--gradient-ivory);
}
@media (min-width: 768px) {
  .at-home-form {
    padding: 11.2rem 0;
  }
}
.at-home-form__intro {
  max-width: 60rem;
  margin: 0 auto;
  text-align: center;
}
.at-home-form__heading {
  margin: 2.4rem 0 0;
  font-weight: 700;
  font-size: clamp(2.8rem, 4.5vw, 4.4rem);
  line-height: 1.15;
  color: var(--espresso);
}
.at-home-form__heading strong {
  font-style: normal;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.at-home-form__intro p {
  margin: 2.4rem 0 0;
  font-size: 1.8rem;
  line-height: 1.7;
  color: var(--espresso);
  opacity: 0.85;
}
.at-home-form__card {
  max-width: 72rem;
  margin: 6.4rem auto 0;
  padding: 3.2rem;
  border-radius: 2rem;
}
@media (min-width: 768px) {
  .at-home-form__card {
    padding: 4rem;
  }
}

/* ---------- Main content container ---------- */
.innerpage-content {
  padding: 4.8rem 0 9.6rem;
}
@media (min-width: 768px) {
  .innerpage-content {
    padding: 6.4rem 0 12.8rem;
  }
}
/* at-home-service only uses this wrapper for the breadcrumb's top spacing —
   the next section is full-bleed, so no bottom padding is wanted here */
.innerpage-content--at-home {
  padding-bottom: 0;
}
/* pages with no hero (therapies articles) still need to clear the fixed
   8rem-tall inner-page header, since that's normally handled by the
   hero's own padding-top */
.innerpage-content--no-hero {
  padding-top: 12.8rem;
}
@media (min-width: 768px) {
  .innerpage-content--no-hero {
    padding-top: 14.4rem;
  }
}

/* ---------- Generic body sections ---------- */
.innerpage-body {
  max-width: 102.4rem;
  margin: 0 auto;
}
/* contact page: body text should be as wide as the contact-layout below it,
   not the narrower reading-width used for prose pages */
.innerpage-body--wide {
  max-width: none;
  margin-bottom: 6.4rem;
}
.innerpage-body__text {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--espresso);
}
.innerpage-body__text p {
  margin: 0 0 2.4rem;
}
.innerpage-body__text p:last-child {
  margin-bottom: 0;
}

.innerpage-intro {
  max-width: 102.4rem;
  margin: 0 auto 6.4rem;
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--espresso);
}
.innerpage-intro p {
  margin: 0 0 2.4rem;
}
.innerpage-intro p:last-child {
  margin-bottom: 0;
}
/* category pages: content should be as wide as the article list below it,
   not the narrower reading-width used for prose pages */
.innerpage-intro--wide {
  max-width: none;
}

/* ---------- Breadcrumb ---------- */
.innerpage-breadcrumb {
  max-width: 102.4rem;
  margin: 0 auto 4.8rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid var(--border);
}
.innerpage-breadcrumb--wide {
  max-width: none;
}
.innerpage-breadcrumb nav.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-size: 1.6rem;
  color: var(--muted-foreground);
}
.innerpage-breadcrumb nav.breadcrumbs a {
  color: var(--gold);
  transition: color 0.3s ease;
  padding: 0 0.8rem;
}
.innerpage-breadcrumb nav.breadcrumbs a:first-child {
  padding-left: 0;
}
.innerpage-breadcrumb nav.breadcrumbs a:hover {
  color: var(--gold-deep);
}
.innerpage-breadcrumb nav.breadcrumbs a.current {
  color: var(--espresso);
  font-weight: 500;
  pointer-events: none;
}
/* Add arrow separator between breadcrumbs */
.innerpage-breadcrumb nav.breadcrumbs a::after {
  content: "→";
  margin-left: 0.8rem;
  color: var(--border);
  font-weight: 300;
}
.innerpage-breadcrumb nav.breadcrumbs a:last-child::after,
.innerpage-breadcrumb nav.breadcrumbs a.current::after {
  content: "";
  margin: 0;
}

/* ---------- Article layouts ---------- */
/* Standard article: horizontal image + text */
.article-standard {
  max-width: 102.4rem;
  margin: 0 auto;
}
.article-standard__intro {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 2.4rem;
  color: var(--espresso);
}
.article-standard__content {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--espresso);
}
.article-standard__content p {
  margin: 0 0 2.4rem;
}
.article-standard__content p:last-child {
  margin-bottom: 0;
}

/* Therapies article: square image side-by-side with text */
.article-therapies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4.8rem;
  align-items: start;
  max-width: 102.4rem;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .article-therapies {
    grid-template-columns: 1fr 1.3fr;
    gap: 6.4rem;
  }
}
/* therapies article: square PNG image, no hero — content runs the full
   container width instead of the narrower prose width */
.article-therapies--wide {
  max-width: none;
  margin: 0;
}
.article-therapies__title {
  max-width: none;
  margin: 0 0 4.8rem;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--espresso);
}
@media (min-width: 768px) {
  .article-therapies__title {
    font-size: 4.4rem;
  }
}
.article-therapies__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}
/* glow is the same drop image, blurred + saturated, sitting behind the real
   one — auto-matches this therapy's own colour with no extra data needed.
   No hover here (it's a static hero image, not a hoverable card), so it
   breathes gently on its own instead. */
.article-therapies__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(5rem) saturate(1.8) brightness(1.1);
  opacity: 0.45;
  transform: scale(1.1);
  animation: articleGlowBreathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes articleGlowBreathe {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(1.08);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.18);
  }
}
.article-therapies__media-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 1.2rem;
}
.article-therapies__media-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-therapies__body {
  min-width: 0;
}
.article-therapies--no-image .article-therapies__media {
  display: none;
}
@media (min-width: 768px) {
  .article-therapies--no-image {
    grid-template-columns: 1fr;
  }
}
.article-therapies__intro {
  font-size: 1.8rem;
  font-weight: 500;
  margin: 0 0 2.4rem;
  color: var(--espresso);
}
.article-therapies__content {
  font-size: 1.8rem;
  line-height: 1.8;
  color: var(--espresso);
}
.article-therapies__content p {
  margin: 0 0 2.4rem;
}
.article-therapies__content p:last-child {
  margin-bottom: 0;
}

/* ---------- Article share ---------- */
.article-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  max-width: 102.4rem;
  margin: 6.4rem auto 0;
  padding-top: 4rem;
  border-top: 1px solid var(--border);
}
.article-share--wide {
  max-width: none;
}
.article-share__label {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--espresso);
}
.article-share__icons {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.article-share__link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: none;
  color: var(--espresso);
  font-family: var(--font-kreadon);
  cursor: pointer;
  transition: all 0.3s ease;
}
.article-share__link svg {
  width: 1.8rem;
  height: 1.8rem;
  flex-shrink: 0;
}
.article-share__link:hover {
  /* solid color (not the gradient) on both background and border — gradients
     don't transition smoothly, so a gradient fade against a border fading to
     transparent desyncs and leaves a visible seam right at the edge */
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.article-share__copy {
  width: auto;
  padding: 0 1.8rem 0 1.6rem;
  border-radius: 99.9rem;
}
.article-share__copy-text {
  font-size: 1.6rem;
  font-weight: 500;
  white-space: nowrap;
}
.article-share__copy.is-copied {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

/* ---------- Gallery ---------- */
.innerpage-gallery {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin: 6.4rem 0 0;
  padding: 0;
}
.innerpage-gallery li {
  flex: 1 1 calc(50% - 1.2rem);
}
.innerpage-gallery a {
  display: block;
  overflow: hidden;
  border-radius: 0.8rem;
  aspect-ratio: 1;
}
.innerpage-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.innerpage-gallery a:hover img {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .innerpage-gallery li {
    flex: 1 1 calc(25% - 1.8rem);
  }
}

/* ---------- Contact: two-column info + form layout ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4.8rem;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr 1.2fr;
    gap: 6.4rem;
  }
}

.contact-info__heading {
  margin: 0.8rem 0 0;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--espresso);
}
@media (min-width: 768px) {
  .contact-info__heading {
    font-size: 3.6rem;
  }
}

.contact-info__list {
  list-style: none;
  margin: 4rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2.8rem;
}
.contact-info__list li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.contact-info__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: var(--gradient-gold);
  color: #fff;
}
.contact-info__icon svg {
  width: 2.2rem;
  height: 2.2rem;
}
.contact-info__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.6rem;
}
.contact-info__label {
  font-size: 1.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
}
.contact-info__body a {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--espresso);
  transition: color 0.3s ease;
}
.contact-info__body a:hover {
  color: var(--gold-deep);
}

.contact-info__social {
  display: flex;
  gap: 1.2rem;
  margin-top: 4rem;
}
.contact-info__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--espresso);
  transition: all 0.3s ease;
}
.contact-info__social-link svg {
  width: 1.8rem;
  height: 1.8rem;
}
.contact-info__social-link--instagram svg {
  transform: scale(1.35);
}
.contact-info__social-link:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: #fff;
}

.contact-form-card {
  padding: 3.2rem;
  border-radius: 1.6rem;
  box-shadow: var(--shadow-soft);
}
@media (min-width: 768px) {
  .contact-form-card {
    padding: 4.8rem;
  }
}

/* ---------- Contact form ---------- */
.innerpage-form__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.4rem;
  margin-bottom: 2.4rem;
}
@media (min-width: 768px) {
  .innerpage-form__row {
    grid-template-columns: 1fr 1fr;
  }
}
.innerpage-form__row--center {
  grid-template-columns: 1fr;
  justify-items: center;
  margin-bottom: 0;
}
.innerpage-form__col {
  display: flex;
  flex-direction: column;
}
.innerpage-form__col--full {
  grid-column: 1 / -1;
}
.innerpage-form label {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--espresso);
}
.innerpage-form input,
.innerpage-form textarea,
.innerpage-form select {
  font-family: inherit;
  font-size: 1.6rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background-color: var(--card);
  color: var(--espresso);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.innerpage-form input:focus,
.innerpage-form textarea:focus,
.innerpage-form select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px oklch(72% 0.13 75 / 0.1);
}
.innerpage-form textarea {
  resize: vertical;
  min-height: 12rem;
}
/* validateInput()'s captcha markup is a bare <label>text + <input> + <small></label>
   — the <input> is a grandchild of .innerpage-form__col, not a direct flex
   child, so it never gets the column's stretch-to-full-width and instead
   sits at its native intrinsic size inline after the question text,
   overflowing narrow viewports */
.innerpage-form__col--full > label {
  display: block;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--espresso);
}
.innerpage-form__col--full > label input {
  display: block;
  width: 100%;
  max-width: 24rem;
  margin-top: 0.8rem;
}
.innerpage-form small.error {
  display: none;
  margin-top: 0.4rem;
  font-size: 1.6rem;
  color: #c1272d;
}
.innerpage-form button {
  margin-top: 1.2rem;
}

.therapy-select__trigger {
  margin-top: 0;
}
/* .innerpage-form__col gets .error toggled by the validation script in
   _contactForm.php — show that field's error text and flag its input */
.innerpage-form__col.error small.error {
  display: block;
}
.innerpage-form__col.error input,
.innerpage-form__col.error textarea,
.innerpage-form__col.error select {
  border-color: #c1272d;
}
.innerpage-form__message {
  margin-top: 2.4rem;
  padding: 1.6rem 2rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  background-color: oklch(72% 0.13 75 / 0.12);
  color: var(--espresso);
}
/* The server returns an .alert-box inside .innerpage-form__message.
   Strip Foundation's own box chrome (green bg, border) and use flex
   so the × close button is pushed to the far right. */
.innerpage-form__message .alert-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: inherit;
}
.innerpage-form__message .alert-box .close {
  flex-shrink: 0;
  font-size: 2.2rem;
  line-height: 1;
  opacity: 0.6;
  cursor: pointer;
}

/* ---------- Custom therapy select (booking form) ----------
   Native <select> can't show a coloured icon per <option>, so this is a
   button + listbox pair kept in sync with a hidden native select that
   carries the actual form value. */
.therapy-select {
  position: relative;
}
.therapy-select__native {
  display: none;
}
.therapy-select__trigger {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  width: 100%;
  font-family: inherit;
  font-size: 1.6rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  background-color: var(--card);
  color: var(--espresso);
  cursor: pointer;
  text-align: left;
}
.therapy-select__trigger:focus,
.therapy-select__trigger[aria-expanded="true"] {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px oklch(72% 0.13 75 / 0.1);
}
.therapy-select__drop {
  flex-shrink: 0;
  display: inline-flex;
  color: var(--border);
}
.therapy-select__drop svg {
  width: 1.8rem;
  height: 1.8rem;
}
.therapy-select__value {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.therapy-select__chevron {
  flex-shrink: 0;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--muted-foreground);
  transition: transform 0.3s ease;
}
.therapy-select__trigger[aria-expanded="true"] .therapy-select__chevron {
  transform: rotate(180deg);
}
.therapy-select__list {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  right: 0;
  z-index: 10;
  max-height: 20rem;
  overflow-y: auto;
  margin: 0;
  padding: 0.8rem;
  list-style: none;
  border-radius: 1rem;
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}
.therapy-select__list li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1rem 1.2rem;
  border-radius: 0.6rem;
  font-size: 1.6rem;
  color: var(--espresso);
  cursor: pointer;
}
.therapy-select__list li:hover,
.therapy-select__list li:focus {
  outline: none;
  background-color: var(--muted);
}
.therapy-select__list li[aria-selected="true"] {
  background-color: oklch(72% 0.13 75 / 0.12);
}
.therapy-select__list li.is-placeholder {
  color: var(--muted-foreground);
}

/* ---------- Category articles grid ---------- */
.category-articles {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
}
.category-article-item {
  flex: 1 1 100%;
}
.category-article-item__image {
  display: block;
  overflow: hidden;
  border-radius: 0.8rem;
  margin-bottom: 1.6rem;
}
.category-article-item__image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.category-article-item__image:hover img {
  transform: scale(1.05);
}
.category-article-item__date {
  display: block;
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
  color: var(--muted-foreground);
}
.category-article-item__title {
  margin: 0 0 1.2rem;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.3;
}
.category-article-item__title a {
  color: var(--espresso);
  transition: color 0.3s ease;
}
.category-article-item__title a:hover {
  color: var(--gold-deep);
}
.category-article-item__excerpt {
  margin: 0 0 1.6rem;
  font-size: 1.6rem;
  line-height: 1.6;
  color: var(--espresso);
  opacity: 0.8;
}

/* Grid variants based on data attributes from CMS */
.small-block-grid-1 .category-article-item {
  flex: 1 1 100%;
}
@media (min-width: 768px) {
  .medium-block-grid-2 .category-article-item {
    flex: 1 1 calc(50% - 1.2rem);
  }
  .medium-block-grid-3 .category-article-item {
    flex: 1 1 calc(33.333% - 1.6rem);
  }
  .medium-block-grid-4 .category-article-item {
    flex: 1 1 calc(25% - 1.8rem);
  }
  .large-block-grid-2 .category-article-item {
    flex: 1 1 calc(50% - 1.2rem);
  }
  .large-block-grid-3 .category-article-item {
    flex: 1 1 calc(33.333% - 1.6rem);
  }
  .large-block-grid-4 .category-article-item {
    flex: 1 1 calc(25% - 1.8rem);
  }
}

/* ---------- Pagination ---------- */
.innerpage-pagination {
  display: flex;
  justify-content: center;
  margin-top: 6.4rem;
}
.innerpage-pagination ul.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.innerpage-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.4rem;
  height: 4.4rem;
  padding: 0 0.8rem;
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--espresso);
  border: 1px solid var(--border);
  border-radius: 0.4rem;
  transition: all 0.3s ease;
}
.innerpage-pagination a:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.innerpage-pagination li.current a {
  background-color: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ---------- No articles / no results ---------- */
.innerpage-no-articles {
  text-align: center;
  font-size: 2rem;
  color: var(--muted-foreground);
  padding: 4.8rem 0;
  margin: 0;
}
