/* ============================================================
   article.css — typography layer for the SEO article pages.
   Built exclusively on the live site's design tokens (style.css):
   same fonts, colors, radii, easings, and gutters. It does not
   override any existing rule; it only styles new article markup,
   so the pages stay visually identical to the live site, in both
   night and day themes.
   ============================================================ */

/* ---- language twin labels (used on WhatsApp buttons and the
       Articles nav item; app.js is left untouched) ---- */
.wa-en { display: none; }
html[dir="ltr"] .wa-ar { display: none; }
html[dir="ltr"] .wa-en { display: inline; }

/* icons inside the site's pill buttons */
.btn svg { inline-size: 18px; block-size: 18px; flex: none; }

/* ---------------- article page ---------------- */
.a-page {
  padding-block: calc(var(--nav-h) + clamp(46px, 8vh, 90px)) clamp(80px, 12vh, 130px);
  position: relative;
}

/* breadcrumb */
.a-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: .78rem; color: var(--muted);
  margin-block-end: clamp(28px, 4.5vh, 48px);
}
.a-crumbs a { color: var(--muted); text-decoration: none; transition: color .3s var(--ease-soft); }
.a-crumbs a:hover { color: var(--accent); }
.a-crumbs span { opacity: .4; }
.a-crumbs em { font-style: normal; color: var(--text); opacity: .8; }

.a-inner { max-inline-size: 800px; margin-inline: auto; }

.a-title {
  font-size: clamp(1.65rem, 4vw, 2.55rem); font-weight: 700;
  line-height: 1.4; letter-spacing: -.01em;
  margin-block-end: 18px;
}

.a-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-size: .8rem; color: var(--muted);
  padding-block-end: 26px; border-block-end: 1px solid var(--border);
  margin-block-end: clamp(30px, 5vh, 46px);
}
.a-dot { inline-size: 4px; block-size: 4px; border-radius: 50%; background: currentColor; opacity: .55; }

/* article body typography */
.a-inner h2 {
  font-size: clamp(1.22rem, 2.6vw, 1.6rem); font-weight: 700; line-height: 1.55;
  margin-block: clamp(34px, 5vh, 52px) 16px;
}
.a-inner h2::before {
  content: ""; display: block; inline-size: 34px; block-size: 2px;
  background: var(--accent); opacity: .8; margin-block-end: 14px;
}
.a-inner p { line-height: 2.05; font-size: 1.02rem; opacity: .92; margin-block-end: 16px; }
.a-inner ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.a-inner li { position: relative; padding-inline-start: 26px; line-height: 1.95; opacity: .92; }
.a-inner li::before {
  content: ""; position: absolute; inset-inline-start: 6px; top: .8em;
  inline-size: 7px; block-size: 7px; border-radius: 50%;
  background: var(--accent); opacity: .7;
}
.a-inner strong { font-weight: 600; }
.a-link { color: var(--accent); text-decoration: none; border-block-end: 1px solid var(--border-strong); transition: border-color .3s var(--ease-soft); }
.a-link:hover { border-color: var(--accent); }

/* info box — site surface language */
.a-box {
  background: var(--surface); border: 1px solid var(--border);
  border-inline-start: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  margin-block: clamp(28px, 4vh, 40px);
}
.a-box > strong:first-child { display: block; color: var(--accent); font-size: .95rem; margin-block-end: 12px; }
.a-box p:last-child, .a-box ul:last-child { margin-block-end: 0; }

/* red-flag box — the site's own warm gold accent, kept on-palette */
.a-red {
  background: rgb(228 190 134 / .07);
  border: 1px solid rgb(228 190 134 / .3);
  border-inline-start: 3px solid var(--warm);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  margin-block: clamp(28px, 4vh, 40px);
}
.a-red > strong:first-child { display: block; color: var(--warm); font-size: .95rem; margin-block-end: 12px; }
.a-red p:last-child, .a-red ul:last-child { margin-block-end: 0; }

/* booking CTA */
.a-cta {
  background: var(--surface-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4.5vw, 44px); text-align: center;
  margin-block-start: clamp(38px, 5.5vh, 56px);
}
.a-cta-t { font-size: clamp(1.15rem, 2.4vw, 1.45rem); font-weight: 700; margin-block-end: 10px; }
.a-cta-s { color: var(--muted); font-size: .95rem; line-height: 1.9; margin-block-end: 24px; }
.a-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* author card */
.a-author {
  display: flex; align-items: center; gap: 22px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  margin-block-start: clamp(30px, 4.5vh, 44px);
}
.a-author img {
  inline-size: 92px; block-size: 92px; object-fit: cover;
  border-radius: 18px; background: var(--paper); flex: none;
}
.a-author strong { display: block; font-size: 1.05rem; margin-block-end: 6px; }
.a-author p { color: var(--muted); font-size: .88rem; line-height: 1.85; margin: 0; }

.a-disc {
  margin-block-start: 26px; padding-block-start: 20px;
  border-block-start: 1px solid var(--border);
  color: var(--muted); font-size: .8rem; line-height: 1.9;
}

/* ---------------- articles hub ---------------- */
.hub-title { font-size: clamp(1.8rem, 4.4vw, 3rem); font-weight: 700; line-height: 1.35; margin-block-end: 16px; }
.hub-sub { color: var(--muted); line-height: 2; max-inline-size: 62ch; margin-block-end: clamp(40px, 6vh, 64px); }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 22px; }
.hub-card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
  text-decoration: none;
  transition: transform .45s var(--ease), border-color .45s var(--ease), background-color .45s var(--ease);
}
.hub-card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.hub-card .kicker { margin-block-end: 0; }
.hub-card h2 { font-size: 1.14rem; font-weight: 700; line-height: 1.65; margin: 0; }
.hub-card p { color: var(--muted); font-size: .9rem; line-height: 1.85; margin: 0; flex: 1 1 auto; }
.hub-more { color: var(--accent); font-size: .85rem; font-weight: 600; }
.hub-more::after { content: " ←"; }

/* small screens */
@media (max-width: 640px) {
  .a-inner p, .a-inner li { line-height: 1.95; }
  .a-author { flex-direction: row; }
  .a-author img { inline-size: 72px; block-size: 72px; }
  .a-cta .btn { inline-size: 100%; }
}
