/**
 * Yoga for Hips article. Scoped to body.ys-hips-2026 on post 53807.
 */

body.ys-hips-2026,
body.ys-hips-2026 .x-main,
body.ys-hips-2026 .x-container,
body.ys-hips-2026 .entry-content {
  background: #f4f1ea;
}

body.ys-hips-2026 .entry-header,
body.ys-hips-2026 .entry-title,
body.ys-hips-2026 .x-page-title,
body.ys-hips-2026 .entry-featured {
  display: none;
}

body.ys-hips-2026 .x-container.width,
body.ys-hips-2026 .x-main,
body.ys-hips-2026 article.post,
body.ys-hips-2026 .entry-wrap,
body.ys-hips-2026 .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  float: none;
}

body.ys-hips-2026 .ys-hips {
  --ys-ink: #0c2832;
  --ys-ink-soft: #243e48;
  --ys-teal: #005970;
  --ys-paper: #f4f1ea;
  --ys-field: #fbfaf6;
  --ys-line: rgba(12, 40, 50, 0.16);
  --ys-display: "miller-display", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --ys-sans: "avenir-next-lt-pro", "Avenir Next", "Segoe UI", sans-serif;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5rem);
  color: var(--ys-ink);
  background: var(--ys-paper);
  font-family: var(--ys-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.ys-hips-2026 .ys-hips h1,
body.ys-hips-2026 .ys-hips h2,
body.ys-hips-2026 .ys-hips h3,
body.ys-hips-2026 .ys-hips h4,
body.ys-hips-2026 .ys-hips p,
body.ys-hips-2026 .ys-hips figure,
body.ys-hips-2026 .ys-hips ul,
body.ys-hips-2026 .ys-hips ol {
  margin-top: 0;
}

body.ys-hips-2026 .ys-hips h1,
body.ys-hips-2026 .ys-hips h2,
body.ys-hips-2026 .ys-hips h3 {
  color: var(--ys-ink);
  font-family: var(--ys-display);
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
}

body.ys-hips-2026 .ys-hips h1 {
  max-width: 14em;
  margin-bottom: 1.25rem;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.08;
}

body.ys-hips-2026 .ys-hips h2 {
  margin-bottom: 0.9rem;
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.15;
}

body.ys-hips-2026 .ys-hips h3 {
  margin-bottom: 0.65rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.25;
}

body.ys-hips-2026 .ys-hips h4 {
  margin: 1.25rem 0 0.55rem;
  color: var(--ys-ink);
  font-family: var(--ys-sans);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.ys-hips-2026 .ys-hips p {
  max-width: 42rem;
  margin-bottom: 1rem;
  color: var(--ys-ink-soft);
}

body.ys-hips-2026 .ys-hips a {
  color: var(--ys-teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

body.ys-hips-2026 .ys-hips__hero,
body.ys-hips-2026 .ys-hips__video,
body.ys-hips-2026 .ys-hips__toc,
body.ys-hips-2026 .ys-hips__poses,
body.ys-hips-2026 .ys-hips__ebook,
body.ys-hips-2026 .ys-hips__course,
body.ys-hips-2026 .ys-hips__close,
body.ys-hips-2026 .ys-hips__faq,
body.ys-hips-2026 .ys-hips__related,
body.ys-hips-2026 .ys-hips__member {
  width: min(1120px, calc(100% - 2.5rem));
  margin-right: auto;
  margin-left: auto;
}

body.ys-hips-2026 .ys-hips__eyebrow {
  margin-bottom: 0.85rem;
  color: var(--ys-teal);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

body.ys-hips-2026 .ys-hips__video,
body.ys-hips-2026 .ys-hips__poses,
body.ys-hips-2026 .ys-hips__course,
body.ys-hips-2026 .ys-hips__faq,
body.ys-hips-2026 .ys-hips__related {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

body.ys-hips-2026 .ys-hips__player {
  max-width: 52rem;
  margin-top: 1.25rem;
  background: #0c2832;
}

body.ys-hips-2026 .ys-hips__player iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

body.ys-hips-2026 .ys-hips__toc {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.35rem 1.4rem 1.2rem;
  background: var(--ys-field);
}

body.ys-hips-2026 .ys-hips__toc ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.75rem;
  margin-bottom: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: ys-hips-toc;
}

body.ys-hips-2026 .ys-hips__toc li {
  display: flex;
  gap: 0.4rem;
  align-items: baseline;
  min-width: 0;
  counter-increment: ys-hips-toc;
}

body.ys-hips-2026 .ys-hips__toc li::before {
  content: counter(ys-hips-toc) ".";
  flex: 0 0 auto;
  color: var(--ys-ink);
  font-weight: 600;
}

body.ys-hips-2026 .ys-hips__toc a {
  font-weight: 500;
}

body.ys-hips-2026 .ys-hips__grid {
  width: min(42rem, 100%);
  max-width: 42rem;
  margin: 1.5rem 0 2rem;
}

body.ys-hips-2026 .ys-hips__grid img,
body.ys-hips-2026 .ys-hips__pose img {
  display: block;
  width: 100%;
  max-width: 1024px;
  height: auto;
}

body.ys-hips-2026 .ys-hips__pose {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
  margin-top: clamp(2.25rem, 4vw, 3.25rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--ys-line);
  scroll-margin-top: 5.5rem;
}

body.ys-hips-2026 .ys-hips__pose ul {
  max-width: 40rem;
  margin-bottom: 0;
  padding-left: 1.15rem;
  color: var(--ys-ink-soft);
}

body.ys-hips-2026 .ys-hips__pose li + li {
  margin-top: 0.4rem;
}

body.ys-hips-2026 .ys-hips__ebook,
body.ys-hips-2026 .ys-hips__member {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.35rem 1.4rem 1.2rem;
  background: var(--ys-field);
}

body.ys-hips-2026 .ys-hips__ebook h2,
body.ys-hips-2026 .ys-hips__member h2 {
  font-size: clamp(1.45rem, 2vw, 1.85rem);
}

body.ys-hips-2026 .ys-hips__classes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

body.ys-hips-2026 .ys-hips__card {
  min-width: 0;
}

body.ys-hips-2026 .ys-hips a.ys-hips__card-link,
body.ys-hips-2026 .ys-hips a.ys-hips__card-link:visited {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--ys-line);
  border-radius: 14px;
  background: var(--ys-field);
  color: var(--ys-ink);
  text-decoration: none;
}

body.ys-hips-2026 .ys-hips a.ys-hips__card-link:hover,
body.ys-hips-2026 .ys-hips a.ys-hips__card-link:focus-visible,
body.ys-hips-2026 .ys-hips a.ys-hips__card-link:active {
  border-color: rgba(0, 89, 112, 0.45);
  background: #ffffff;
  color: var(--ys-ink);
}

body.ys-hips-2026 .ys-hips__card img {
  display: block;
  box-sizing: border-box;
  flex: 0 0 auto;
  width: calc(100% - 1.75rem);
  max-width: none;
  height: auto;
  max-height: none;
  margin: 0.875rem 0.875rem 0;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

body.ys-hips-2026 .ys-hips__card-copy {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.95rem 1rem 1.05rem;
}

body.ys-hips-2026 .ys-hips__card h3 {
  margin-bottom: 0;
  font-family: var(--ys-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.35;
}

body.ys-hips-2026 .ys-hips__card p {
  max-width: none;
  margin-bottom: 0;
  color: var(--ys-ink-soft);
  font-size: 0.98rem;
  line-height: 1.5;
}

body.ys-hips-2026 .ys-hips p.ys-hips__course-action {
  margin-top: 2.75rem;
  margin-bottom: 1.5rem;
}

body.ys-hips-2026 .ys-hips__discover {
  margin-top: 0.85rem;
}

body.ys-hips-2026 .ys-hips__close {
  width: min(1120px, calc(100% - 2.5rem));
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
}

body.ys-hips-2026 .ys-hips__faq article + article {
  margin-top: 1.35rem;
}

body.ys-hips-2026 .ys-hips__related ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

body.ys-hips-2026 .ys-hips a.ys-hips__button,
body.ys-hips-2026 .ys-hips a.ys-hips__button:link,
body.ys-hips-2026 .ys-hips a.ys-hips__button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  margin-top: 0.4rem;
  padding: 0.8rem 1.35rem;
  border-radius: 8px;
  background: #005970;
  color: #ffffff;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
}

body.ys-hips-2026 .ys-hips a.ys-hips__button:hover,
body.ys-hips-2026 .ys-hips a.ys-hips__button:focus,
body.ys-hips-2026 .ys-hips a.ys-hips__button:focus-visible,
body.ys-hips-2026 .ys-hips a.ys-hips__button:active {
  background: #00485c;
  color: #ffffff;
  text-decoration: none;
  text-shadow: none;
}

body.ys-hips-2026 .ys-hips :focus-visible {
  outline: 2px solid var(--ys-ink);
  outline-offset: 3px;
}

@media (max-width: 800px) {
  body.ys-hips-2026 .ys-hips__pose,
  body.ys-hips-2026 .ys-hips__toc ol,
  body.ys-hips-2026 .ys-hips__related ul {
    grid-template-columns: 1fr;
  }

  body.ys-hips-2026 .ys-hips__pose figure {
    order: -1;
  }
}

@media (min-width: 700px) {
  body.ys-hips-2026 .ys-hips__classes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  body.ys-hips-2026 .ys-hips__classes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.ys-hips-2026 .ys-hips h1 {
    max-width: none;
  }
}
