/* ==========================================================================
   Health Library (Views/HealthLibrary/Index.cshtml, /health and /health/tag/x)
   Blush & Berry, light only. Loaded after the shared base (_BrandPageHead:
   landing.css, landing-pink.css, brand-page.css). Rules are `.hl .x` so they
   outrank mypariva.css. Behaviour lives in wwwroot/js/health/main.js.
   ========================================================================== */

.hl {
  --ph-menstruation: var(--lp-madder);
  --ph-follicular: var(--lp-neem);
  --ph-ovulation: var(--lp-turmeric);
  --ph-luteal: var(--lp-dusk);
}
.hl .hl-label { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--lp-madder); }
.hl .hl-label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }
.hl a:not(.lp-btn):not(.hl-topic):not(.hl-chip-btn) { color: var(--lp-madder); text-underline-offset: 3px; }
.hl a:not(.lp-btn):not(.hl-topic):not(.hl-chip-btn):hover { color: var(--lp-madder-deep); }
.hl .hl-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15.5px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }

/* ==========================================================================
   HERO (compact: the guide starts within the first screen)
   ========================================================================== */
.hl .hl-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(32px, 4vw, 56px); background: linear-gradient(180deg, var(--lp-paper-deep) 0%, var(--lp-paper) 100%); }
.hl .hl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hl .hl-hero h1 { margin-top: 16px; font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; letter-spacing: -.032em; max-width: 16ch; }
.hl .hl-hero h1 em { color: var(--lp-madder); font-weight: 400; }
.hl .hl-hero__lede { margin-top: 16px; font-size: 18px; max-width: 46ch; color: var(--lp-ink-soft); }
.hl .hl-hero__trust { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; max-width: 52ch; font-size: 14.5px; }
.hl .hl-hero__trust i { color: var(--lp-neem); margin-top: 2px; }
.hl .hl-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 24px; }

/* Illustration: an open learning guide with the cycle ring */
.hl .hl-art { position: relative; justify-self: end; width: min(100%, 440px); padding: 18px 0 0 18px; }
.hl .hl-art__sheet { position: relative; border-radius: 22px; background: var(--lp-surface); border: 1px solid var(--lp-line); box-shadow: var(--lp-shadow-paper); padding: 18px 22px 22px; }
.hl .hl-art__sheet--back { position: absolute; inset: 0 18px 18px 0; padding: 0; background: rgba(var(--lp-madder-rgb), .08); border-color: rgba(var(--lp-madder-rgb), .14); box-shadow: none; transform: rotate(-3deg); }
.hl .hl-art__bar { display: flex; gap: 6px; }
.hl .hl-art__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--lp-line-strong); }
.hl .hl-art__body { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 16px; }
.hl .hl-art__ring { width: 120px; height: 120px; }
.hl .hl-art__arc { fill: none; stroke-width: 26; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hl .hl-art__arc--period { stroke: var(--ph-menstruation); }
.hl .hl-art__arc--follicular { stroke: var(--ph-follicular); }
.hl .hl-art__arc--ovulation { stroke: var(--ph-ovulation); }
.hl .hl-art__arc--luteal { stroke: var(--ph-luteal); }
.hl .hl-art.is-pre .hl-art__arc { stroke-dashoffset: 1; }
.hl .hl-art.is-in .hl-art__arc { transition: stroke-dashoffset .9s var(--lp-ease); }
.hl .hl-art.is-in .hl-art__arc--follicular { transition-delay: .12s; }
.hl .hl-art.is-in .hl-art__arc--ovulation { transition-delay: .24s; }
.hl .hl-art.is-in .hl-art__arc--luteal { transition-delay: .36s; }
.hl .hl-art__text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hl .hl-art__kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-madder); }
.hl .hl-art__title { font-family: var(--lp-serif); font-size: 22px; line-height: 1.1; color: var(--lp-ink); }
.hl .hl-art__line { display: block; height: 8px; width: 100%; border-radius: 4px; background: rgba(var(--lp-ink-rgb), .08); margin-top: 4px; }
.hl .hl-art__line--short { width: 64%; }
.hl .hl-art__steps { display: grid; gap: 2px; margin-top: 18px; border-top: 1px solid var(--lp-line); padding-top: 10px; }
.hl .hl-art__steps li { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 14px; font-weight: 500; color: var(--lp-ink); }
.hl .hl-art__steps span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--lp-paper-deep); font-size: 12px; font-weight: 700; color: var(--lp-madder); }

@media (max-width: 900px) {
  .hl .hl-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hl .hl-art { display: none; }
  .hl .hl-hero h1 { max-width: 20ch; }
}

/* ==========================================================================
   PUBLISHED GUIDES
   ========================================================================== */
.hl .hl-guides { padding: clamp(28px, 4vw, 56px) 0; }
.hl .hl-hero + .hl-guides { padding-top: clamp(8px, 1.5vw, 20px); }
.hl .hl-guides__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.hl .hl-guides__head h2 { margin-top: 12px; font-size: clamp(28px, 3.2vw, 42px); }

.hl .hl-search { flex: 0 1 380px; min-width: 0; }
.hl .hl-search__label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-soft); }
.hl .hl-search__field { position: relative; display: flex; align-items: center; height: 54px; border-radius: 14px; background: var(--lp-surface); border: 1px solid var(--lp-line-strong); transition: border-color .3s var(--lp-ease), box-shadow .3s var(--lp-ease); }
.hl .hl-search__field:focus-within { border-color: var(--lp-madder); box-shadow: 0 0 0 4px rgba(var(--lp-madder-rgb), .14); }
.hl .hl-search__icon { position: absolute; left: 18px; color: var(--lp-ink-soft); pointer-events: none; }
.hl .hl-search__field input { flex: 1; min-width: 0; height: 100%; padding: 0 16px 0 48px; border: 0; background: transparent; font-size: 16px; color: var(--lp-ink); outline: none; }
.hl .hl-search__field input::placeholder { color: var(--lp-ink-faint); }
.hl .hl-search__status { min-height: 1.5em; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--lp-ink); }
.hl .hl-search__status:empty { min-height: 0; margin: 0; }

.hl .hl-topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hl .hl-topic { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: var(--lp-surface); font-size: 14px; font-weight: 600; color: var(--lp-ink); text-decoration: none; transition: border-color .3s var(--lp-ease), background-color .3s var(--lp-ease), color .3s var(--lp-ease); }
.hl .hl-topic:hover { border-color: var(--lp-madder); color: var(--lp-madder); }
.hl .hl-topic[aria-current="page"] { background: var(--lp-madder); border-color: var(--lp-madder); color: var(--lp-surface); }

.hl .hl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 24px; }
.hl .hl-cards--lead > .hl-card:first-child { grid-column: span 2; }
.hl .hl-card { min-width: 0; }
.hl .hl-card > article { position: relative; display: flex; flex-direction: column; height: 100%; border-radius: 18px; background: var(--lp-surface); border: 1px solid var(--lp-line); overflow: hidden; transition: border-color .3s var(--lp-ease), box-shadow .3s var(--lp-ease), transform .3s var(--lp-ease); }
.hl .hl-card > article:hover { border-color: var(--lp-line-strong); box-shadow: 0 18px 36px -24px rgba(var(--lp-ink-rgb), .45); transform: translateY(-2px); }
.hl .hl-card > article:focus-within { border-color: var(--lp-madder); }
.hl .hl-card__img { aspect-ratio: 16 / 9; background: var(--lp-paper-deep); overflow: hidden; }
.hl .hl-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hl .hl-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 22px 20px; }
.hl .hl-card__tag { font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-madder); }
.hl .hl-card__title { font-size: 22px; line-height: 1.18; }
.hl .hl-cards--lead > .hl-card:first-child .hl-card__title { font-size: clamp(24px, 2.4vw, 32px); }
.hl .hl-card__title a { font-family: inherit; color: var(--lp-ink) !important; text-decoration: none; }
/* The whole card is the link target; the title link stays the accessible name. */
.hl .hl-card__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.hl .hl-card__title a:focus-visible { outline: none; }
.hl .hl-card > article:has(a:focus-visible) { outline: 2px solid var(--lp-madder); outline-offset: 3px; }
.hl .hl-card__excerpt { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hl .hl-card__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: auto; padding-top: 6px; font-size: 13.5px; color: var(--lp-ink-soft); }
.hl .hl-card__meta:empty { display: none; }
.hl .hl-card__go { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 700; color: var(--lp-madder); }
.hl .hl-card__go i { transition: transform .3s var(--lp-ease); }
.hl .hl-card > article:hover .hl-card__go i { transform: translateX(3px); }

.hl .hl-empty { margin-top: 24px; padding: 32px; border-radius: 18px; border: 1px dashed var(--lp-line-strong); background: var(--lp-surface); text-align: center; }
.hl .hl-empty h3 { font-size: 24px; }
.hl .hl-empty p { margin-top: 8px; }
.hl .hl-chip-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; margin-top: 16px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--lp-line-strong); background: transparent; font-size: 14.5px; font-weight: 600; color: var(--lp-ink); text-decoration: none; cursor: pointer; transition: border-color .3s var(--lp-ease), color .3s var(--lp-ease); }
.hl .hl-chip-btn:hover { border-color: var(--lp-madder); color: var(--lp-madder); }

.hl .hl-notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-radius: 16px; background: var(--lp-surface); border: 1px solid var(--lp-line); }
.hl .hl-notice > i { font-size: 22px; color: var(--lp-dusk); }
.hl .hl-notice__title { font-family: var(--lp-sans); font-size: 17px; font-weight: 700; letter-spacing: 0; }
.hl .hl-notice p { margin-top: 4px; font-size: 15px; }

@media (max-width: 980px) {
  .hl .hl-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .hl .hl-cards { grid-template-columns: minmax(0, 1fr); }
  .hl .hl-cards--lead > .hl-card:first-child { grid-column: auto; }
  .hl .hl-search { flex-basis: 100%; }
}

/* ==========================================================================
   LEARNING GUIDE: pathway + modules
   ========================================================================== */
.hl .hl-learn { padding: clamp(40px, 5vw, 80px) 0 clamp(40px, 5vw, 72px); }
.hl .hl-hero + .hl-learn { padding-top: clamp(16px, 2vw, 28px); }
.hl .hl-learn__head { max-width: 760px; }
.hl .hl-learn__head h2 { margin-top: 14px; font-size: clamp(30px, 3.6vw, 48px); }
.hl .hl-learn__head p { margin-top: 14px; font-size: 17px; }
.hl .hl-learn__grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: clamp(28px, 4vw, 48px); }

.hl .hl-path { position: sticky; top: calc(var(--mp-nav-h, 96px) + 20px); }
.hl .hl-path__title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-soft); margin-bottom: 12px; }
.hl .hl-path__list { position: relative; display: flex; flex-direction: column; }
/* The line that connects the five steps */
.hl .hl-path__list::before { content: ""; position: absolute; left: 17px; top: 22px; bottom: 22px; width: 2px; background: var(--lp-line); }
.hl .hl-path__list a { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 10px 10px 10px 0; border-radius: 12px; text-decoration: none; color: var(--lp-ink) !important; }
.hl .hl-path__n { position: relative; z-index: 1; flex: 0 0 auto; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--lp-paper); border: 2px solid var(--lp-line-strong); font-size: 14px; font-weight: 700; color: var(--lp-ink-soft); transition: background-color .35s var(--lp-ease), border-color .35s var(--lp-ease), color .35s var(--lp-ease); }
.hl .hl-path__list strong { display: block; padding-top: 6px; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.hl .hl-path__list small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--lp-ink-soft); }
.hl .hl-path__list a:hover .hl-path__n { border-color: var(--lp-madder); color: var(--lp-madder); }
.hl .hl-path__list a[aria-current="step"] .hl-path__n { background: var(--lp-madder); border-color: var(--lp-madder); color: var(--lp-surface); }
.hl .hl-path__list a[aria-current="step"] strong { color: var(--lp-madder); }

.hl .hl-mods { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hl .hl-mod { scroll-margin-top: calc(var(--mp-nav-h, 96px) + 20px); padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--lp-surface); border: 1px solid var(--lp-line); }
.hl .hl-mod__step { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-madder); }
.hl .hl-mod h3 { margin: 8px 0 14px; font-size: clamp(26px, 2.6vw, 34px); }
.hl .hl-mod > p + p { margin-top: 12px; }
.hl .hl-mod strong { color: var(--lp-ink); font-weight: 600; }
.hl .hl-mod--care { background: linear-gradient(180deg, var(--lp-surface) 0%, var(--lp-phase-menstrual) 260%); }

.hl .hl-more { margin-top: 16px; border-top: 1px solid var(--lp-line); }
.hl .hl-more__btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0; border: 0; background: none; font-size: 15px; font-weight: 600; color: var(--lp-ink); cursor: pointer; }
.hl .hl-more__btn i { transition: transform .35s var(--lp-ease); color: var(--lp-madder); }
.hl .hl-more__btn[aria-expanded="true"] i { transform: rotate(180deg); }
.hl .hl-more__btn:hover { color: var(--lp-madder); }
.hl .hl-more__body { overflow: hidden; }
.hl .hl-more__body p { padding-bottom: 10px; }

.hl .hl-mod__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.hl .hl-mod__links a { display: inline-flex; align-items: center; min-height: 32px; font-size: 15px; font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; }
.hl .hl-src { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--lp-line); font-size: 13.5px; }

.hl .hl-checklist { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.hl .hl-checklist li { position: relative; padding-left: 28px; color: var(--lp-ink); line-height: 1.55; }
.hl .hl-checklist li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--lp-madder); }
.hl .hl-urgent { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0 14px !important; padding: 14px 16px; border-radius: 14px; background: rgba(var(--lp-madder-rgb), .08); color: var(--lp-ink) !important; font-weight: 600; }
.hl .hl-urgent i { color: var(--lp-madder); font-size: 18px; line-height: 1.3; }

/* ---------- Interactive cycle overview ---------- */
.hl .hl-cycle { display: grid; grid-template-columns: 240px minmax(0, 1fr); grid-template-areas: "ring tabs" "ring panel"; gap: 18px 36px; align-items: start; margin-top: 22px; }
.hl .hl-cycle__visual { grid-area: ring; position: relative; width: 240px; height: 240px; }
.hl .hl-cycle__ring { width: 100%; height: 100%; }
.hl .hl-cycle__track { fill: none; stroke: rgba(var(--lp-ink-rgb), .05); stroke-width: 30; }
.hl .hl-cycle__arc { fill: none; stroke-width: 26; stroke-linecap: butt; opacity: .3; cursor: pointer; transition: opacity .4s var(--lp-ease), stroke-width .4s var(--lp-ease); }
.hl .hl-cycle__arc.is-on { opacity: 1; stroke-width: 32; }
.hl .hl-cycle__arc:hover { opacity: .7; }
.hl .hl-cycle__arc.is-on:hover { opacity: 1; }
.hl .hl-cycle__arc[data-arc="menstruation"] { stroke: var(--ph-menstruation); }
.hl .hl-cycle__arc[data-arc="follicular"] { stroke: var(--ph-follicular); }
.hl .hl-cycle__arc[data-arc="ovulation"] { stroke: var(--ph-ovulation); }
.hl .hl-cycle__arc[data-arc="luteal"] { stroke: var(--ph-luteal); }
.hl .hl-cycle__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; pointer-events: none; padding: 0 56px; }
.hl .hl-cycle__count { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-soft); }
.hl .hl-cycle__name { font-family: var(--lp-serif); font-size: 21px; line-height: 1.1; color: var(--lp-ink); }

.hl .hl-cycle__tabs { grid-area: tabs; display: flex; flex-wrap: wrap; gap: 8px; }
.hl .hl-cycle__tabs [role="tab"] { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px 0 10px; border-radius: 12px; border: 1px solid var(--lp-line-strong); background: var(--lp-paper); font-size: 14.5px; font-weight: 600; color: var(--lp-ink); cursor: pointer; transition: border-color .3s var(--lp-ease), background-color .3s var(--lp-ease); }
.hl .hl-cycle__tabs [role="tab"]:hover { border-color: var(--lp-ink-soft); }
.hl .hl-cycle__tabs [role="tab"][aria-selected="true"] { border-color: var(--lp-ink); background: var(--lp-surface); box-shadow: inset 0 -3px 0 var(--dot); }
.hl .hl-cycle__tabs [data-phase="menstruation"] { --dot: var(--ph-menstruation); }
.hl .hl-cycle__tabs [data-phase="follicular"] { --dot: var(--ph-follicular); }
.hl .hl-cycle__tabs [data-phase="ovulation"] { --dot: var(--ph-ovulation); }
.hl .hl-cycle__tabs [data-phase="luteal"] { --dot: var(--ph-luteal); }
.hl .hl-cycle__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.hl .hl-cycle__n { font-size: 12.5px; font-weight: 700; color: var(--lp-ink-soft); }

.hl .hl-cycle__panels { grid-area: panel; min-width: 0; }
.hl .hl-phase { padding: 22px 24px; border-radius: 16px; background: var(--lp-paper); border: 1px solid var(--lp-line); }
.hl .hl-phase + .hl-phase { margin-top: 12px; }
.hl .hl-phase h4 { font-size: 24px; }
.hl .hl-phase h4 span { font-family: var(--lp-sans); font-size: 15px; letter-spacing: 0; color: var(--lp-ink-soft); }
.hl .hl-phase dl { display: grid; gap: 14px; margin-top: 14px; }
.hl .hl-phase dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-ink-soft); }
.hl .hl-phase dd { margin-top: 4px; color: var(--lp-ink); line-height: 1.6; }
.hl .hl-cycle__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px !important; font-size: 14px; }
.hl .hl-cycle__note i { color: var(--lp-dusk); margin-top: 2px; }

@media (max-width: 1100px) {
  .hl .hl-cycle { grid-template-columns: minmax(0, 1fr); grid-template-areas: "ring" "tabs" "panel"; justify-items: stretch; }
  .hl .hl-cycle__visual { justify-self: center; width: 210px; height: 210px; }
}

/* ==========================================================================
   CONTINUE LEARNING + SOURCES
   ========================================================================== */
.hl .hl-next { padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--lp-line); }
.hl .hl-next__title { font-size: clamp(26px, 3vw, 38px); }
.hl .hl-next__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 4vw, 56px); margin-top: 22px; }
.hl .hl-next__col h3 { font-family: var(--lp-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-soft); }
.hl .hl-next__list { margin-top: 10px; border-top: 1px solid var(--lp-line); }
.hl .hl-next__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 2px; border-bottom: 1px solid var(--lp-line); font-size: 16px; font-weight: 500; color: var(--lp-ink) !important; text-decoration: none; transition: color .3s var(--lp-ease), padding-left .3s var(--lp-ease); }
.hl .hl-next__list a i { flex: 0 0 auto; color: var(--lp-madder); transition: transform .3s var(--lp-ease); }
.hl .hl-next__list a:hover { color: var(--lp-madder) !important; padding-left: 6px; }
.hl .hl-next__list a:hover i { transform: translateX(3px); }

.hl .hl-foot { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 7vw, 96px); background: var(--lp-paper-deep); }
.hl .hl-foot__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.hl .hl-foot__title { font-family: var(--lp-sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lp-ink-soft); }
.hl .hl-sources { margin-top: 12px; counter-reset: src; display: grid; gap: 8px; }
.hl .hl-sources li { counter-increment: src; position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.5; }
.hl .hl-sources li::before { content: counter(src); position: absolute; left: 0; top: 0; font-size: 12.5px; font-weight: 700; color: var(--lp-ink-soft); font-variant-numeric: tabular-nums; }
.hl .hl-sources span { color: var(--lp-ink-soft); }
.hl .hl-sources span::before { content: "· "; }
.hl .hl-foot__checked { margin-top: 12px !important; font-size: 13.5px; }
.hl .hl-disclaimer p { margin-top: 12px; padding: 18px 20px; border-radius: 16px; background: var(--lp-surface); border: 1px solid var(--lp-line); font-size: 14.5px; color: var(--lp-ink); }
.hl .hl-disclaimer i { color: var(--lp-neem); margin-right: 4px; }

@media (max-width: 860px) {
  .hl .hl-learn__grid { grid-template-columns: minmax(0, 1fr); }
  /* The pathway becomes a compact numbered row above the modules */
  .hl .hl-path { position: static; }
  .hl .hl-path__list { flex-direction: row; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .hl .hl-path__list::-webkit-scrollbar { display: none; }
  .hl .hl-path__list::before { left: 18px; right: 18px; top: 28px; bottom: auto; width: auto; height: 2px; }
  .hl .hl-path__list li { flex: 0 0 auto; }
  .hl .hl-path__list a { flex-direction: column; align-items: flex-start; gap: 8px; width: 132px; padding: 10px 6px 6px 0; }
  .hl .hl-path__list strong { padding-top: 0; font-size: 14px; }
  .hl .hl-path__list small { display: none; }
  .hl .hl-next__grid, .hl .hl-foot__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .hl .hl-mod { padding: 22px 18px; border-radius: 18px; }
  .hl .hl-phase { padding: 18px; }
  .hl .hl-cycle__name { font-size: 18px; }
  .hl .hl-cycle__tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .hl .hl-cycle__tabs [role="tab"] { justify-content: flex-start; text-align: left; line-height: 1.2; padding: 8px 10px; }
}
