/* Refinamiento aplicado con Web Interface Guidelines y Taste Skill. */
:root { --muted: #30483b; }

html {
  -webkit-tap-highlight-color: rgb(33 76 64 / 16%);
}

@media (pointer: fine) {
  html { overscroll-behavior: none; }
}

h1,
h2,
h3 { text-wrap: balance; }

p,
li { text-wrap: pretty; }

.preview-banner,
.brand-text small,
.hero-note,
.trust-item,
.path-number,
.path-card .small-link,
.card-tag,
.card-meta,
.footer-links h2,
.footer-links a,
.footer-bottom,
.breadcrumb,
.field label,
.results-count,
.article-byline,
.article-disclaimer,
.article-toc,
.article-toc h2,
.takeaways h2,
.sources ol,
.sources > p,
.review-state {
  font-size: max(13px, 0.76rem);
}

.eyebrow,
.card-tag,
.footer-links h2,
.article-toc h2,
.takeaways h2,
.brand-text small {
  text-transform: none;
  letter-spacing: 0;
}

.eyebrow { font-size: 13px; }

.button,
.menu-toggle,
.nav-help { min-height: 44px; }

.button {
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-1px); }
.button:active { transform: translateY(1px); }

.preview-banner { color: #3f321f; }
.path-number { color: var(--forest); }
.principle > span { color: #52684f; }
.help-band { background: var(--sage); }
.help-band h2 { color: var(--ink); }
.help-band p { color: var(--muted); }

.help-band .button,
.nav-help {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  border-radius: 5px;
}

.help-band .button:hover,
.nav-help:hover {
  background: #14392e;
  color: var(--white);
}

.hero-fact {
  margin: 20px 0 0;
  color: var(--forest) !important;
  font-size: 13px !important;
  font-weight: 700;
}

.editorial-band h2,
.help-band h2,
.related h2 {
  font-size: clamp(2.1rem, 3.5vw, 3.15rem);
}

.path-card h3,
.card-body h3,
.principle h3 { font-size: 1.45rem; }

.card-body p,
.path-card p,
.feature-copy p,
.section-heading > p,
.footer-brand p,
.help-band p { font-size: 1rem; }

.help-symbol {
  display: grid;
  width: 48px;
  height: 48px;
  flex: none;
  place-items: center;
  border: 1px solid #8fa08d;
  border-radius: 50%;
  color: var(--forest);
  font-size: 1.4rem;
}

.path-card {
  transition: border-color 180ms ease, transform 180ms ease;
}

.path-card:hover {
  border-color: #8fa08d;
  transform: translateY(-2px);
}

.main-nav a { position: relative; }

.main-nav a:not(.nav-help)::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.main-nav a:not(.nav-help):hover::after,
.main-nav a:not(.nav-help):focus-visible::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a[aria-current="page"] { text-decoration: none; }
.section-spacer { height: 64px; }
.article-illustration { margin: 0 0 32px; }
.article-illustration img { display: block; width: 100%; border-radius: 18px; }

.reading-path {
  display: grid;
  border: 1px solid #b8c5b1;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f3f4ec;
}

.reading-path > div {
  display: grid;
  grid-template-columns: 42px 95px 1fr;
  gap: 16px;
  align-items: center;
  min-height: 90px;
  padding: 20px 26px;
}

.reading-path > div + div { border-top: 1px solid #cbd4c4; }

.reading-path span {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #8fa08d;
  border-radius: 50%;
}

.reading-path small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .site-header {
    position: relative;
    z-index: 30;
  }

  .header-inner {
    min-height: 86px;
    flex-wrap: wrap;
    gap: 0;
    padding: 17px 0;
  }

  .menu-toggle { display: block; }
  .js .main-nav { display: none; }

  .js .main-nav.is-open {
    position: fixed;
    z-index: 25;
    inset: 86px 0 0;
    display: flex;
    width: auto;
    padding: 24px 20px max(32px, env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--paper);
    border-top: 1px solid var(--line);
  }

  .main-nav a,
  .main-nav .nav-help {
    display: flex;
    width: 100%;
    min-height: 52px;
    align-items: center;
    padding: 10px 4px;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .main-nav a::after { display: none; }

  .menu-open,
  .menu-open body { overflow: hidden; }

  .hero .button-row { align-items: stretch; }

  .hero .button-row .button {
    width: 100%;
    justify-content: space-between;
  }

  .reading-path > div {
    grid-template-columns: 40px 1fr;
    gap: 5px 14px;
    padding: 18px 20px;
  }

  .reading-path small { grid-column: 2; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
