/* Editorial guide system: intentionally separate from advertising landings. */
.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.guide-header .language-link {
  border: 1px solid rgba(226, 203, 140, .55);
  color: var(--gold-300);
  font-weight: 700;
}

.guide-hero {
  position: relative;
  padding: clamp(48px, 8vw, 84px) 0 clamp(54px, 8vw, 92px);
  overflow: hidden;
  background:
    radial-gradient(50% 90% at 100% 0%, rgba(200, 169, 91, .16), transparent 66%),
    linear-gradient(145deg, #fff 0%, #f7f3e9 100%);
  border-bottom: 1px solid var(--line);
}

.guide-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.breadcrumbs { margin-bottom: 30px; }
.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  align-items: center;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: .78rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 7px;
  color: #9a8f72;
}

.breadcrumbs a { color: var(--navy-700); text-underline-offset: 3px; }
.breadcrumbs [aria-current="page"] { color: var(--muted); }

.guide-hero h1 {
  max-width: 22ch;
  margin-top: 15px;
  color: var(--navy);
  font-size: clamp(2.15rem, 6vw, 4.4rem);
  letter-spacing: -.035em;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.guide-hero .lead {
  max-width: 70ch;
  margin-top: 22px;
  color: #46515e;
  font-size: clamp(1.02rem, 2vw, 1.23rem);
}

.guide-byline {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: .82rem;
}

.guide-byline strong { color: var(--navy); }

.guide-library-hero h1 { max-width: 19ch; }
.guide-library-hero .lead { max-width: 66ch; }

.guide-library {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--white);
}

.guide-library-grid {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

@media (min-width: 760px) {
  .guide-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1050px) {
  .guide-library-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.guide-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.guide-card .guide-number {
  display: grid;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-300);
  font: 800 .78rem/1 Montserrat, sans-serif;
}

.guide-card h2 { font-size: 1.18rem; }
.guide-card p { margin: 12px 0 20px; color: var(--muted); font-size: .92rem; }
.guide-card a {
  margin-top: auto;
  color: var(--navy);
  font-weight: 700;
  text-underline-offset: 5px;
}

.scope-section { padding: clamp(54px, 8vw, 84px) 0; }
.scope-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
}

@media (min-width: 700px) {
  .scope-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1040px) {
  .scope-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.scope-list li {
  padding: 15px 17px;
  border: 1px solid rgba(168, 135, 59, .28);
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: .88rem;
  font-weight: 600;
}

.guide-content { padding: clamp(52px, 8vw, 86px) 0; background: var(--white); }
.guide-layout { display: grid; gap: 42px; align-items: start; }

@media (min-width: 980px) {
  .guide-layout { grid-template-columns: minmax(0, 760px) minmax(240px, 1fr); }
}

.guide-article { min-width: 0; }
.guide-answer {
  padding: clamp(24px, 4vw, 34px);
  border-left: 4px solid var(--gold);
  border-radius: 0 16px 16px 0;
  background: var(--gold-100);
}

.guide-answer h2 { margin-bottom: 10px; font-size: 1.22rem; }
.guide-answer p { color: #423b2a; }

.guide-toc {
  margin: 34px 0 42px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.guide-toc h2 { margin-bottom: 12px; font-size: 1rem; }
.guide-toc ol { padding-left: 21px; }
.guide-toc li + li { margin-top: 7px; }
.guide-toc a { color: var(--navy-700); text-underline-offset: 4px; }

.guide-section { scroll-margin-top: 92px; }
.guide-section + .guide-section {
  margin-top: 48px;
  padding-top: 46px;
  border-top: 1px solid var(--line);
}

.guide-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.018em;
}

.guide-section h3 { margin: 26px 0 10px; font-size: 1.05rem; }
.guide-section p { color: #37414c; }
.guide-section p + p { margin-top: 15px; }
.guide-section ul, .guide-section ol { margin: 18px 0 0; padding-left: 24px; }
.guide-section li { padding-left: 5px; color: #37414c; }
.guide-section li + li { margin-top: 10px; }

.guide-callout {
  margin-top: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(168, 135, 59, .34);
  border-radius: 14px;
  background: #fbf8f0;
}

.guide-callout h3 { margin: 0 0 7px; font-size: .98rem; }
.guide-callout p { color: #4d4637; font-size: .91rem; }

.guide-table-wrap { margin-top: 24px; overflow-x: auto; }
.guide-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: .86rem;
}

.guide-table th, .guide-table td {
  padding: 14px 15px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.guide-table th { background: var(--navy); color: var(--white); font-family: Montserrat, sans-serif; }
.guide-table tbody th { background: var(--cream); color: var(--navy); }

.guide-sources {
  margin-top: 52px;
  padding-top: 46px;
  border-top: 2px solid var(--navy);
}

.guide-sources h2 { margin-bottom: 10px; font-size: 1.35rem; }
.guide-sources > p { color: var(--muted); font-size: .86rem; }
.guide-sources ol { margin-top: 19px; padding-left: 22px; }
.guide-sources li + li { margin-top: 12px; }
.guide-sources a { font-weight: 600; text-underline-offset: 4px; overflow-wrap: anywhere; }

.author-card {
  display: grid;
  gap: 20px;
  margin-top: 42px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--cream);
}

@media (min-width: 620px) {
  .author-card { grid-template-columns: 112px 1fr; align-items: center; }
}

.author-card img { width: 112px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; object-position: 50% 22%; }
.author-card h2 { font-size: 1.16rem; }
.author-card p { margin-top: 8px; color: var(--muted); font-size: .87rem; }

.guide-aside { display: grid; gap: 20px; }
@media (min-width: 980px) { .guide-aside { position: sticky; top: 90px; } }

.aside-card {
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.aside-card h2 { margin-bottom: 11px; font-size: 1rem; }
.aside-card p { color: var(--muted); font-size: .84rem; }
.aside-card ul { margin: 14px 0 0; padding: 0; list-style: none; }
.aside-card li + li { margin-top: 10px; }
.aside-card a { font-size: .86rem; font-weight: 600; text-underline-offset: 4px; }
.aside-card .btn { width: 100%; margin-top: 17px; padding: 12px 16px; font-size: .88rem; }

.guide-bottom-cta {
  padding: clamp(50px, 7vw, 76px) 0;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.guide-bottom-cta h2 { color: var(--white); font-size: clamp(1.55rem, 3.5vw, 2.35rem); }
.guide-bottom-cta p { max-width: 58ch; margin: 14px auto 0; color: #d5dde6; }
.guide-bottom-cta .cta-row { justify-content: center; }

.guide-disclaimer { color: var(--muted); font-size: .79rem; }
.guide-disclaimer strong { color: var(--navy); }

@media (max-width: 560px) {
  .guide-hero h1 { font-size: clamp(1.9rem, 9vw, 2.65rem); }
  .guide-byline { display: grid; gap: 5px; }
  .guide-card { padding: 24px 21px; }
  .guide-answer, .guide-toc, .author-card, .aside-card { padding: 20px; }
}

/* Keep the approved summaries and next steps alongside the open guide index. */
.guide-takeaway { margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.guide-takeaway h2 { margin-bottom: 8px; color: #675327; font-size: .87rem; }
.guide-takeaway p { color: var(--navy); font-size: 1.12rem; font-weight: 500; }
.guide-next-step { margin-top: 42px; padding: 28px; border: 1px solid var(--line); border-radius: 16px; background: var(--gold-100); }
.guide-next-step h2 { margin-bottom: 12px; font-size: 1.35rem; }
.guide-next-step p { color: #423b2a; }
.guide-next-step .cta-row { align-items: center; gap: 18px; }
.guide-next-step .cta-row > a:not(.btn) { color: var(--navy); font-weight: 700; text-underline-offset: 4px; }
@media (max-width: 560px) {
  .guide-next-step { padding: 22px; }
}
