/* ============================================================
   telegraph.css — faithful clean recreation of a telegraph.co.uk article
   ============================================================ */
body.telegraph {
  --brand: #0a8ba6;        /* Telegraph teal accent */
  --brand-ink: #ffffff;
  --navy: #0c2231;
  --cta: #1d1d1b;          /* header Subscribe button — Telegraph ink black */
  --paper: #ffffff;
  --ink: #1d1d1b;          /* Telegraph ink (matches wordmark fill) */
  --muted: #6a7178;
  --rule: #e4e6e8;
  --tel-sans: "Helvetica Neue", Helvetica, Arial, -apple-system, sans-serif;
  --tel-serif-display: "Noto Serif Display", "Playfair Display", Georgia, serif;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
}

/* ---- utility strip ---- */
.tel-utility { border-bottom: 1px solid var(--rule); }
.tel-utility .in {
  max-width: 1200px; margin: 0 auto; padding: 6px 24px;
  display: flex; justify-content: flex-end; gap: 20px;
  font-family: var(--tel-sans); font-size: 12px; color: var(--muted);
}
.tel-utility a { text-decoration: none; }
.tel-utility a:hover { color: var(--ink); }

/* ---- masthead: centered wordmark, actions right ---- */
.tel-header {
  max-width: 1200px; margin: 0 auto; padding: 18px 24px 14px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.tel-side.left { justify-self: start; display: flex; align-items: center; }
.tel-side.right { justify-self: end; }
.tel-logo { display: block; text-decoration: none; }
.tel-logo img { display: block; height: 46px; width: auto; }
.tel-actions { display: flex; align-items: center; gap: 16px; font-family: var(--tel-sans); }
.tel-actions .icon { width: 22px; height: 22px; color: #14171a; }
.tel-sub {
  background: var(--cta); color: #fff; border: 0; border-radius: 4px;
  padding: 11px 16px; font-weight: 700; font-size: 13.5px;
}
.tel-sub:hover { filter: brightness(1.12); }
.tel-login { font-weight: 700; font-size: 14px; color: #14171a; text-decoration: none; }
.tel-login:hover { color: var(--brand); }
.tel-burger { width: 26px; height: 26px; color: #14171a; }

/* ---- section nav: centered, black active underline ---- */
.tel-nav { border-top: 1px solid var(--rule); border-bottom: 2px solid #14171a; }
.tel-nav ul {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  list-style: none; display: flex; justify-content: center; align-items: stretch; gap: 0; height: 44px;
  font-family: var(--tel-sans); font-weight: 700; font-size: 13.5px;
  overflow-x: auto;
}
.tel-nav li { display: flex; align-items: center; }
.tel-nav a { display: flex; align-items: center; height: 100%; padding: 0 13px; text-decoration: none; color: #1d2125; white-space: nowrap; }
.tel-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.tel-nav li.active a { box-shadow: inset 0 -4px 0 #14171a; }

/* ---- sub-nav ---- */
.tel-subnav { background: #f6f7f8; border-bottom: 1px solid var(--rule); }
.tel-subnav ul {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  list-style: none; display: flex; justify-content: center; gap: 0; height: 40px; align-items: stretch;
  font-family: var(--tel-sans); font-weight: 500; font-size: 13.5px;
}
.tel-subnav li { display: flex; align-items: center; }
.tel-subnav a { display: flex; align-items: center; height: 100%; padding: 0 14px; text-decoration: none; color: #3c434a; white-space: nowrap; }
.tel-subnav a:hover { color: #14171a; text-decoration: underline; text-underline-offset: 4px; }
.tel-subnav li.active a { color: #14171a; font-weight: 700; box-shadow: inset 0 -3px 0 #14171a; }

/* ---- article ---- */
.tel-main { max-width: 1200px; margin: 0 auto; padding: 34px 24px 70px; }
.tel-h1 {
  font-family: var(--tel-serif-display);
  font-weight: 700; font-size: clamp(34px, 4.6vw, 52px); line-height: 1.08;
  letter-spacing: -.008em; margin: 0 0 14px; color: var(--ink); max-width: 26ch;
}
.tel-stand {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 400; font-size: clamp(18px, 2.2vw, 21px); line-height: 1.45;
  color: #3a3a38; margin: 0 0 26px; max-width: 56ch;
}

.tel-grid { display: grid; grid-template-columns: 248px minmax(0, 1fr); gap: 40px; }

/* author rail */
.tel-rail { font-family: "Source Sans 3", system-ui, sans-serif; }
.tel-author { display: flex; gap: 12px; align-items: flex-start; }
.tel-author .pic { width: 46px; height: 46px; border-radius: 50%; flex: none; background: #dfe2e5; overflow: hidden; }
.tel-author b { font-size: 14.5px; font-weight: 800; color: #14171a; display: block; }
.tel-author span { font-size: 13px; color: var(--muted); }
.tel-bio { font-size: 13px; line-height: 1.5; color: #4a5158; margin: 12px 0 0; }
.tel-bio a { color: #14171a; font-weight: 700; text-decoration: none; }
.tel-pub { font-size: 12.5px; color: var(--muted); margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.tel-topics { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); }
.tel-topics h4 { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.tel-topics a { display: inline-block; font-size: 13px; color: #14171a; text-decoration: none; margin: 0 10px 6px 0; }
.tel-topics a:hover { color: var(--brand); text-decoration: underline; }
.tel-tools { display: flex; align-items: center; gap: 18px; margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--rule); color: #14171a; }
.tel-tools .t { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; }
.tel-tools svg { width: 19px; height: 19px; }
.tel-gift { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0; width: 100%; justify-content: center; border: 1px solid #cfd3d7; border-radius: 6px; padding: 11px 14px; font-weight: 700; font-size: 14px; background: #fff; color: #14171a; }
.tel-gift:hover { border-color: #b4b9be; }
.tel-gift svg { width: 17px; height: 17px; color: var(--brand); }

/* content column */
.tel-content { min-width: 0; }
.tel-hero { margin: 0 0 8px; }
.tel-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 85%; background: #ece8e3; }
.tel-cap { font-family: var(--tel-sans); font-size: 12.5px; color: #4a4a48; padding: 9px 0 0; line-height: 1.45; }
.tel-cap .credit { color: #8c8c8a; white-space: nowrap; }

.tel-body { font-family: "Source Serif 4", Georgia, serif; }
.tel-body p { margin: 0 0 22px; }
.tel-body p.lead::first-letter {
  font-family: var(--tel-serif-display); font-weight: 700;
  font-size: 62px; line-height: .82; float: left; padding: 6px 11px 0 0; color: var(--ink);
}
.tel-body .xhead { font-family: var(--tel-serif-display); font-weight: 700; font-size: 24px; line-height: 1.25; margin: 32px 0 14px; color: var(--ink); }
.tel-pullquote { margin: 30px 0; padding-left: 22px; border-left: 3px solid var(--ink); font-family: var(--tel-serif-display); font-weight: 500; font-size: 24px; line-height: 1.4; color: var(--ink); }

/* ---- rewarded gate, skinned to match The Telegraph's own subscribe modal ---- */
body.telegraph .gate-screen { background: rgba(244,245,244,.74); }
body.telegraph .gate-eyebrow { color: #2c5be2; font-family: var(--tel-sans); font-size: 15.5px; font-weight: 700; letter-spacing: .05em; }
body.telegraph .reward-locker { border-radius: 10px; border-color: #ececea; box-shadow: 0 18px 44px -20px rgba(29,29,27,.28), 0 4px 14px -8px rgba(29,29,27,.14); }
body.telegraph .reward-locker .lock-badge { display: none; }
body.telegraph .reward-locker h3 {
  font-family: var(--tel-serif-display); font-weight: 500;
  font-size: clamp(28px, 3.6vw, 36px); line-height: 1.14; letter-spacing: -.005em;
  color: var(--ink); margin: 4px 0 10px;
}
body.telegraph .reward-locker p { font-family: var(--tel-sans); font-size: 16.5px; line-height: 1.45; color: #3a3a38; max-width: none; margin: 0 0 24px; }
body.telegraph .rv-cta {
  background: #1d1d1b; color: #fff; border-radius: 999px;
  padding: 19px 26px; font-family: var(--tel-sans); font-weight: 600; font-size: 17px; letter-spacing: 0;
  box-shadow: none;
}
body.telegraph .rv-cta:hover { background: #000; filter: none; transform: none; }
body.telegraph .rv-cta svg { display: none; }
body.telegraph .rv-later { font-family: var(--tel-sans); color: #1d1d1b; font-weight: 500; font-size: 14px; }
body.telegraph .reward-locker .rv-foot { display: none; }
body.telegraph .lk-side h4 { font-family: var(--tel-sans); text-transform: uppercase; letter-spacing: .02em; font-size: 15px; font-weight: 700; }
body.telegraph .lk-side li { font-family: var(--tel-sans); font-size: 16px; color: var(--ink); }
body.telegraph .gate-fine { font-family: var(--tel-sans); color: #4a4a48; font-size: 13px; }
body.telegraph .rv-floating .txt,
body.telegraph .rv-floating button { font-family: var(--tel-sans); }
body.telegraph .rv-floating button { background: #fff; color: #1d1d1b; border-radius: 999px; font-weight: 600; }

@media (max-width: 880px) {
  .tel-grid { grid-template-columns: 1fr; gap: 26px; }
  .tel-rail { order: 2; border-top: 1px solid var(--rule); padding-top: 18px; }
  .tel-header { grid-template-columns: 1fr auto; }
}
