.article-page {
  background: var(--oyster);
  color: var(--ink);
}

.nav-links a[aria-current="page"] {
  color: var(--gold-light);
}

.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.article-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  pointer-events: none;
}

.article-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--jungle-deep);
}

.article-hero__media {
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/journal/covers/riviera-maya-destination-wedding-guide-cover.avif");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 28, 22, 0.18) 0%, rgba(15, 28, 22, 0.52) 52%, rgba(15, 28, 22, 0.96) 100%),
    linear-gradient(90deg, rgba(15, 28, 22, 0.9) 0%, rgba(15, 28, 22, 0.4) 70%);
}

.article-hero__content {
  position: relative;
  z-index: 2;
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  padding: 150px 0 82px;
}

.article-back,
.article-category,
.section-kicker,
.article-meta,
.article-toc p,
.related-grid span {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.article-back {
  display: inline-block;
  margin-bottom: 24px;
  color: rgba(249, 248, 246, 0.66);
  border-bottom: 1px solid rgba(212, 174, 48, 0.5);
}

.article-category,
.section-kicker,
.related-grid span {
  color: var(--gold);
}

.article-hero h1 {
  max-width: 980px;
  color: var(--oyster);
  font-size: clamp(2.9rem, 7vw, 6.7rem);
  line-height: 0.96;
}

.article-subtitle {
  max-width: 760px;
  margin: 30px 0;
  color: rgba(249, 248, 246, 0.78);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.58;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-bottom: 32px;
  color: rgba(249, 248, 246, 0.58);
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(210px, 270px) minmax(0, 820px);
  gap: clamp(36px, 5vw, 76px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 108px) 0;
  align-items: start;
}

.article-toc {
  position: sticky;
  top: 112px;
}

.article-toc__inner {
  padding: 26px;
  border: 1px solid rgba(184, 150, 12, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.article-toc p {
  margin-bottom: 18px;
  color: var(--gold);
}

.article-toc nav {
  display: grid;
  gap: 6px;
}

.article-toc a {
  padding: 8px 0 8px 12px;
  border-left: 2px solid transparent;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.article-toc a:hover,
.article-toc a.is-active {
  color: var(--jungle);
  border-left-color: var(--gold);
}

.article-content {
  min-width: 0;
}

.article-section {
  margin-bottom: clamp(58px, 8vw, 92px);
  scroll-margin-top: 112px;
}

.article-section h2 {
  margin-bottom: 24px;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  line-height: 1.06;
}

.article-section h3 {
  margin: 30px 0 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.15;
}

.article-content p,
.article-content li,
.article-content td,
.article-content th {
  font-size: 15px;
  line-height: 1.88;
}

.article-content p {
  margin-bottom: 22px;
  color: var(--muted);
}

.article-lead {
  padding-left: 28px;
  border-left: 3px solid var(--gold);
  color: var(--jungle);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-style: italic;
  line-height: 1.6;
}

.quick-answer {
  padding: clamp(30px, 5vw, 48px);
  background: var(--jungle);
  color: var(--oyster);
}

.quick-answer h2,
.quick-answer p,
.quick-answer li {
  color: var(--oyster);
}

.quick-answer ul {
  display: grid;
  gap: 16px;
  margin: 0;
  padding-left: 20px;
}

.callout,
.what-no-one-tells-you {
  margin: 34px 0;
  padding: 28px;
  border-left: 3px solid var(--gold);
  background: #fff;
  box-shadow: 0 18px 46px rgba(26, 46, 37, 0.06);
}

.callout h3,
.what-no-one-tells-you h3 {
  margin-top: 0;
}

.article-note {
  color: var(--jungle);
  font-size: 13px;
  font-style: italic;
}

.table-wrap {
  width: 100%;
  margin: 30px 0;
  overflow-x: auto;
  border: 1px solid rgba(184, 150, 12, 0.18);
  background: #fff;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid rgba(184, 150, 12, 0.14);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--jungle);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

td:first-child {
  color: var(--jungle);
  font-weight: 600;
}

.comparison-grid,
.via-grid,
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.comparison-grid > div,
.via-grid > div,
.related-grid a,
.mistake-list article {
  padding: 26px;
  border: 1px solid rgba(184, 150, 12, 0.18);
  background: #fff;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.mistake-list {
  display: grid;
  gap: 16px;
}

.mistake-list h3,
.via-grid h3 {
  margin-top: 0;
}

.via-section {
  padding: clamp(34px, 5vw, 54px);
  background: var(--sand);
}

.faq-list {
  border-top: 1px solid rgba(184, 150, 12, 0.18);
}

.faq-item {
  border-bottom: 1px solid rgba(184, 150, 12, 0.18);
}

.faq-question {
  width: 100%;
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 20px 0;
  color: var(--jungle);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  line-height: 1.18;
  text-align: left;
}

.faq-question span {
  flex: 0 0 auto;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 18px;
}

.faq-answer {
  display: none;
  padding: 0 0 24px;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.article-cta {
  margin-bottom: clamp(58px, 8vw, 92px);
  padding: clamp(42px, 7vw, 70px);
  background: var(--jungle-deep);
  color: var(--oyster);
}

.article-cta h2,
.article-cta p {
  color: var(--oyster);
}

.article-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  align-items: center;
  margin-top: 30px;
}

.related-grid a {
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease);
}

.related-grid strong {
  display: block;
  margin-top: 16px;
  color: var(--jungle);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 300;
  line-height: 1.12;
}

.related-grid a:hover {
  transform: translateY(-4px);
  background: var(--jungle);
}

.related-grid a:hover span,
.related-grid a:hover strong {
  color: var(--oyster);
}

.sources-section ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  color: var(--muted);
}

.sources-section a {
  color: var(--jungle);
  border-bottom: 1px solid rgba(184, 150, 12, 0.45);
}

.article-back:focus-visible,
.article-toc a:focus-visible,
.faq-question:focus-visible,
.related-grid a:focus-visible,
.sources-section a:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
  }

  .article-toc nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .article-hero {
    min-height: 820px;
  }

  .article-hero__content {
    width: min(100% - 32px, 1060px);
    padding-bottom: 58px;
  }

  .article-hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.8rem);
  }

  .article-layout {
    width: min(100% - 32px, 1180px);
    padding-top: 54px;
  }

  .article-toc nav,
  .comparison-grid,
  .via-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .quick-answer,
  .via-section,
  .article-cta,
  .callout,
  .what-no-one-tells-you,
  .comparison-grid > div,
  .via-grid > div,
  .related-grid a,
  .mistake-list article {
    padding: 24px;
  }

  .article-meta {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
.reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100%;
  height: 3px;
  pointer-events: none;
}

.reading-progress [data-reading-progress] {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.article-page.native-cursor,
.article-page.native-cursor a,
.article-page.native-cursor button,
.article-page.native-cursor input,
.article-page.native-cursor textarea,
.article-page.native-cursor select,
.article-page.native-cursor label {
  cursor: auto;
}

.article-page.native-cursor a,
.article-page.native-cursor button,
.article-page.native-cursor .faq-question {
  cursor: pointer;
}
