/* =========================================================
   AMERICAN MADE :: Ghost theme styles
   All colours, fonts and photos are tokens in :root below.

   Stock photos (Unsplash, free licence). Swap by editing the
   three --thp-img-* tokens.
   hero  photo-1697281679290 :: "a factory with a lot of steel being made", Morteza Mohammadi
         unsplash.com/photos/a-factory-with-a-lot-of-steel-being-made-P8jEvckndSE
   cta   photo-1558611997    :: "welder welding frame", Filipa Saldanha
         unsplash.com/photos/welder-welding-frame-TtOdr8tYtUU
   flag  photo-1562884328    :: "USA flag", Joshua Hoehne
         unsplash.com/photos/usa-flag-X4YSBIsSl9s
   ========================================================= */

:root {
  /* Brand palette, lifted from the newsletter issues */
  --thp-white: #FFFFFF;
  --thp-paper: #F0F0F0;
  --thp-cream: #F5F0E6;
  --thp-cream-light: #FAF7F0;
  --thp-border: #DDD6C8;
  --thp-border-light: #E8E2D6;
  --thp-text-dark: #1A1A1A;
  --thp-text: #2E2A26;
  --thp-text-secondary: #5C5650;
  --thp-muted: #8A8480;
  --thp-red: #BF1B2C;
  --thp-red-dark: #A01524;
  --thp-navy: #1B2B4B;
  --thp-navy-mid: #243A63;
  --thp-blue: #2B5EA7;
  --thp-gold: #B8922F;

  /* Type */
  --thp-display: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --thp-body: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --thp-mono: 'IBM Plex Mono', 'Courier New', monospace;

  /* Metrics */
  --thp-wrap: 1200px;
  --thp-text-wrap: 850px;
  --thp-pad: 30px;
  --thp-radius: 4px;

  /* Photos */
  --thp-img-hero: url("https://images.unsplash.com/photo-1697281679290-ad7be1b10682?auto=format&fit=crop&w=1800&q=70");
  --thp-img-cta: url("https://images.unsplash.com/photo-1558611997-dd5b20e08c71?auto=format&fit=crop&w=1600&q=70");
  --thp-img-flag: url("https://images.unsplash.com/photo-1562884328-39da45501a9c?auto=format&fit=crop&w=1600&q=70");
}

*, *::before, *::after { box-sizing: border-box; }

body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

.thp-body {
  background: var(--thp-white);
  color: var(--thp-text);
  font-family: var(--thp-body);
  font-size: 17px;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--thp-red); }

:focus-visible {
  outline: 3px solid var(--thp-red);
  outline-offset: 2px;
}

.thp-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.thp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--thp-red);
  color: var(--thp-white);
  font-family: var(--thp-display);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 18px;
  text-decoration: none;
}
.thp-skip:focus { left: 8px; top: 8px; }

/* ---------- Layout ---------- */

.thp-wrap {
  width: 100%;
  max-width: var(--thp-wrap);
  margin: 0 auto;
  padding: 0 var(--thp-pad);
}

.thp-wrap-narrow {
  width: 100%;
  max-width: calc(var(--thp-text-wrap) + (var(--thp-pad) * 2));
  margin: 0 auto;
  padding: 0 var(--thp-pad);
}

.thp-text { max-width: var(--thp-text-wrap); }

.thp-sec { padding: 76px 0; }
.thp-sec-cream { background: var(--thp-cream-light); border-top: 1px solid var(--thp-border); border-bottom: 1px solid var(--thp-border); }
.thp-sec-navy { background: var(--thp-navy); }

/* ---------- Star bars ---------- */

.thp-starbar {
  background: var(--thp-red);
  color: var(--thp-white);
  text-align: center;
  font-size: 14px;
  letter-spacing: 10px;
  line-height: 1;
  padding: 9px 20px;
}

/* ---------- Header ---------- */

.thp-header {
  background: var(--thp-navy);
  position: relative;
  z-index: 30;
}

.thp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.thp-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.thp-brand-mark { width: 34px; height: 34px; flex: none; }

.thp-brand-words {
  display: flex;
  flex-direction: column;
  font-family: var(--thp-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.86;
}
.thp-brand-a { font-size: 17px; letter-spacing: 0.1em; color: var(--thp-white); }
.thp-brand-m { font-size: 25px; letter-spacing: 0.05em; color: var(--thp-red); }
.thp-brand:hover .thp-brand-m { color: var(--thp-white); }

.thp-brand-words-lg .thp-brand-a { font-size: 26px; }
.thp-brand-words-lg .thp-brand-m { font-size: 38px; }

.thp-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}
.thp-menu-link {
  font-family: var(--thp-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  transition: color 0.18s ease;
}
.thp-menu-link:hover { color: var(--thp-white); }

.thp-burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 3px;
  cursor: pointer;
  padding: 11px 10px;
}
.thp-burger span {
  display: block;
  height: 2px;
  background: var(--thp-white);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.thp-burger span + span { margin-top: 5px; }
.thp-burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.thp-burger.is-open span:nth-child(2) { opacity: 0; }
.thp-burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.thp-btn {
  display: inline-block;
  font-family: var(--thp-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.thp-btn-red { background: var(--thp-red); color: var(--thp-white); border-color: var(--thp-red); }
.thp-btn-red:hover { background: var(--thp-red-dark); border-color: var(--thp-red-dark); }
.thp-btn-navy { background: var(--thp-navy); color: var(--thp-white); border-color: var(--thp-navy); }
.thp-btn-navy:hover { background: var(--thp-red); border-color: var(--thp-red); }
.thp-btn-outline { background: transparent; color: var(--thp-navy); border-color: var(--thp-navy); }
.thp-btn-outline:hover { background: var(--thp-navy); color: var(--thp-white); }

/* ---------- Type helpers ---------- */

.thp-h1 {
  font-family: var(--thp-display);
  font-weight: 700;
  font-size: clamp(38px, 6.4vw, 74px);
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  color: var(--thp-white);
}
.thp-h1 em { font-style: normal; color: var(--thp-red); }
.thp-h1-sm { font-size: clamp(32px, 4.6vw, 52px); }

.thp-h2 {
  font-family: var(--thp-display);
  font-weight: 700;
  font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--thp-navy);
}
.thp-h2-light { color: var(--thp-white); }

.thp-kicker {
  display: block;
  font-family: var(--thp-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--thp-red);
  margin-bottom: 12px;
}
.thp-kicker-light { color: #FF8C97; }

.thp-pill {
  display: inline-block;
  font-family: var(--thp-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--thp-white);
  background: var(--thp-red);
  padding: 6px 15px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.thp-pill-sm {
  display: inline-block;
  font-family: var(--thp-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--thp-white);
  background: var(--thp-red);
  padding: 3px 10px;
  border-radius: 3px;
}

.thp-lede {
  font-size: 19px;
  line-height: 1.45;
  color: var(--thp-text-secondary);
  margin-top: 16px;
}
.thp-lede-light { color: rgba(255,255,255,0.82); }

.thp-headwrap { margin-bottom: 44px; }
.thp-headwrap-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: none;
}

.thp-dot { color: var(--thp-muted); }

.thp-rule {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0;
}
.thp-rule-line { flex: 1; height: 2px; background: var(--thp-navy); opacity: 0.15; }
.thp-rule-star { color: var(--thp-red); font-size: 15px; line-height: 1; }

/* ---------- Forms (Ghost Portal) ---------- */

.thp-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}
.thp-form input[type="email"] {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--thp-body);
  font-size: 16px;
  color: var(--thp-text-dark);
  background: var(--thp-white);
  border: 2px solid var(--thp-white);
  border-radius: 3px;
  padding: 13px 16px;
}
.thp-form input[type="email"]::placeholder { color: var(--thp-muted); }
.thp-form input[type="email"]:focus-visible { outline-color: var(--thp-gold); }

.thp-form-note,
.thp-form-error {
  flex: 1 1 100%;
  display: none;
  font-family: var(--thp-mono);
  font-size: 14px;
  line-height: 1.4;
  margin: 2px 0 0;
}
.thp-form-note { color: #9BE6B4; }
.thp-form-error { color: #FFB3BA; }
.thp-form.success .thp-form-note { display: block; }
.thp-form.error .thp-form-error { display: block; }
.thp-form.loading button { opacity: 0.6; pointer-events: none; }

.thp-form-lg { width: 100%; margin: 0 auto; }

/* ---------- Hero ---------- */

.thp-hero {
  position: relative;
  background: var(--thp-navy);
  overflow: hidden;
}
.thp-hero-media {
  position: absolute;
  inset: 0;
  background-color: var(--thp-navy);
  background-image: var(--thp-img-hero);
  background-size: cover;
  background-position: center;
  opacity: 0.32;
}
.thp-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,43,75,0.55) 0%, rgba(27,43,75,0.8) 60%, rgba(27,43,75,0.94) 100%);
}
.thp-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 82px;
  padding-bottom: 86px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thp-hero-sub {
  max-width: 620px;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
  margin: 22px 0 30px;
}
.thp-hero-fine,
.thp-cta-fine {
  font-family: var(--thp-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  margin-top: 16px;
}

/* ---------- Stats ---------- */

.thp-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.thp-stat {
  background: var(--thp-navy);
  border-radius: var(--thp-radius);
  padding: 28px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.thp-stat-num {
  font-family: var(--thp-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 50px);
  line-height: 1;
  color: var(--thp-white);
}
.thp-stat-label {
  font-family: var(--thp-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  line-height: 1.35;
}
.thp-stat-sub {
  font-family: var(--thp-mono);
  font-size: 13px;
  color: rgba(255,255,255,0.42);
}

/* ---------- Split ---------- */

.thp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: start;
}
.thp-split-text p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--thp-text);
  margin-top: 18px;
}
.thp-split-text .thp-btn { margin-top: 28px; }

/* Text panel that sits opposite the split copy */
.thp-listbox {
  border: 2px solid var(--thp-navy);
  border-radius: var(--thp-radius);
  overflow: hidden;
  background: var(--thp-white);
}
.thp-listbox-title {
  font-family: var(--thp-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--thp-white);
  background: var(--thp-navy);
  padding: 13px 22px;
}
ul.thp-listbox-body { padding: 4px 22px 10px; }
ul.thp-listbox-body li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--thp-border-light);
}
.thp-listbox-body li:last-child { border-bottom: none; }
.thp-listbox-item {
  font-family: var(--thp-body);
  font-weight: 700;
  font-size: 16px;
  color: var(--thp-text-dark);
}
.thp-listbox-tag {
  font-family: var(--thp-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--thp-red);
  text-align: right;
  white-space: nowrap;
}

/* ---------- Week picker ---------- */

.thp-week-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.thp-week-tab {
  font-family: var(--thp-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  background: transparent;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 3px;
  padding: 10px 22px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.thp-week-tab:hover { color: var(--thp-white); border-color: rgba(255,255,255,0.5); }
.thp-week-tab.is-active {
  background: var(--thp-red);
  border-color: var(--thp-red);
  color: var(--thp-white);
}

.thp-week-panel {
  background: var(--thp-navy-mid);
  border-left: 4px solid var(--thp-red);
  border-radius: var(--thp-radius);
  padding: 28px 28px 28px 28px;
  max-width: var(--thp-text-wrap);
}
.thp-week-panel[hidden] { display: none; }
.thp-week-series {
  display: block;
  font-family: var(--thp-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--thp-white);
  margin-bottom: 12px;
}
.thp-week-panel p {
  font-size: 17px;
  line-height: 1.5;
  color: rgba(255,255,255,0.86);
}
.thp-week-eg {
  display: block;
  font-family: var(--thp-mono);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.52);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

/* ---------- Cards ---------- */

.thp-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.thp-card {
  display: flex;
  flex-direction: column;
  background: var(--thp-white);
  border: 1px solid var(--thp-border);
  border-radius: var(--thp-radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.thp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27,43,75,0.14);
}
.thp-card-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--thp-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.thp-card-media img { width: 100%; height: 100%; object-fit: cover; }
.thp-card-fallback { color: var(--thp-red); font-size: 34px; line-height: 1; }
.thp-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px;
  flex: 1;
}
.thp-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--thp-mono);
  font-size: 13px;
  color: var(--thp-muted);
}
.thp-card-title {
  font-family: var(--thp-display);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.18;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.thp-card-title a { color: var(--thp-navy); text-decoration: none; }
.thp-card-title a:hover { color: var(--thp-red); }
.thp-card-excerpt {
  font-size: 16px;
  line-height: 1.5;
  color: var(--thp-text-secondary);
}
.thp-card-more {
  margin-top: auto;
  font-family: var(--thp-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--thp-red);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.thp-card-more:hover { border-bottom-color: var(--thp-red); }
.thp-card-empty { grid-column: 1 / -1; }

/* ---------- Page heads ---------- */

.thp-pagehead {
  background: var(--thp-cream-light);
  border-bottom: 3px solid var(--thp-navy);
  padding: 64px 0 58px;
}
.thp-pagehead .thp-h2, .thp-pagehead .thp-h1 { color: var(--thp-navy); }
.thp-pagehead .thp-btn { margin-top: 26px; }

.thp-pagehead-photo {
  position: relative;
  background: var(--thp-navy);
  border-bottom: none;
  overflow: hidden;
}
.thp-pagehead-media {
  position: absolute;
  inset: 0;
  background-color: var(--thp-navy);
  background-image: var(--thp-img-flag);
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}
.thp-pagehead-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,43,75,0.6) 0%, rgba(27,43,75,0.9) 100%);
}
.thp-pagehead-photo .thp-wrap { position: relative; z-index: 2; }
.thp-pagehead-photo .thp-h1 { color: var(--thp-white); }

.thp-count {
  font-family: var(--thp-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 18px;
}

/* ---------- Archive list ---------- */

.thp-posts { border-top: 2px solid var(--thp-navy); }
.thp-post {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 44px;
  gap: 24px;
  align-items: start;
  padding: 26px 12px;
  border-bottom: 1px solid var(--thp-border);
  transition: background 0.18s ease;
}
.thp-post:hover { background: var(--thp-cream-light); }
.thp-post-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--thp-navy);
  border-radius: var(--thp-radius);
  padding: 12px 8px;
}
.thp-post-day {
  font-family: var(--thp-display);
  font-weight: 700;
  font-size: 30px;
  line-height: 1;
  color: var(--thp-white);
}
.thp-post-mon {
  font-family: var(--thp-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}
.thp-post-title {
  font-family: var(--thp-display);
  font-weight: 600;
  font-size: clamp(21px, 2.4vw, 27px);
  line-height: 1.15;
  text-transform: uppercase;
}
.thp-post-title a { color: var(--thp-navy); text-decoration: none; }
.thp-post-title a:hover { color: var(--thp-red); }
.thp-post-excerpt {
  font-size: 16px;
  line-height: 1.5;
  color: var(--thp-text-secondary);
  margin-top: 8px;
}
.thp-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--thp-mono);
  font-size: 13px;
  color: var(--thp-muted);
  margin-top: 12px;
}
.thp-post-arrow {
  align-self: center;
  justify-self: end;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--thp-navy);
  border-radius: 50%;
  color: var(--thp-navy);
  font-size: 12px;
  text-decoration: none;
}
.thp-post-arrow:hover { background: var(--thp-red); border-color: var(--thp-red); color: var(--thp-white); }
.thp-post-empty { grid-template-columns: minmax(0, 1fr); }

/* ---------- Pagination ---------- */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 48px;
  padding-top: 26px;
  border-top: 2px solid var(--thp-navy);
  font-family: var(--thp-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--thp-muted);
}
.pagination a { color: var(--thp-red); text-decoration: none; }
.pagination a:hover { color: var(--thp-navy); }

/* ---------- Article ---------- */

.thp-article { background: var(--thp-white); }
.thp-article-head { padding: 58px 0 0; }
.thp-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-family: var(--thp-mono);
  font-size: 14px;
  color: var(--thp-muted);
  margin-bottom: 16px;
}
.thp-article-title {
  font-family: var(--thp-display);
  font-weight: 700;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.08;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--thp-navy);
}
.thp-article-excerpt {
  font-size: 19px;
  line-height: 1.45;
  font-style: italic;
  color: var(--thp-text-secondary);
  margin-top: 14px;
}

.thp-article-image {
  max-width: var(--thp-text-wrap);
  margin: 0 auto 30px;
  padding: 0 var(--thp-pad);
}
.thp-article-image img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  border-radius: var(--thp-radius);
  border: 2px solid var(--thp-navy);
}
.thp-article-image figcaption {
  font-family: var(--thp-mono);
  font-size: 12px;
  color: var(--thp-muted);
  margin-top: 10px;
  text-align: center;
}

/* Post body: no top padding, 30px sides */
.thp-article-body { padding: 0 var(--thp-pad); }
.thp-content { max-width: var(--thp-text-wrap); margin: 0 auto; }

.thp-content > * { margin-bottom: 24px; }
.thp-content > *:last-child { margin-bottom: 0; }

.thp-content p,
.thp-content li {
  font-size: 18px;
  line-height: 1.62;
  color: var(--thp-text);
}
.thp-content ul, .thp-content ol { padding-left: 24px; }
.thp-content li + li { margin-top: 8px; }

.thp-content h2, .thp-content h3, .thp-content h4 {
  font-family: var(--thp-display);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--thp-navy);
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin-top: 44px;
}
.thp-content h2 { font-size: clamp(24px, 3vw, 32px); padding-bottom: 10px; border-bottom: 2px solid var(--thp-navy); }
.thp-content h3 { font-size: clamp(20px, 2.4vw, 25px); }
.thp-content h4 { font-size: 19px; letter-spacing: 0.1em; }

.thp-content strong { color: var(--thp-text-dark); }
.thp-content a { color: var(--thp-red); text-decoration: underline; text-underline-offset: 2px; }

.thp-content blockquote {
  background: #FDF5F5;
  border: 2px solid var(--thp-red);
  border-radius: var(--thp-radius);
  padding: 22px 26px;
  font-style: normal;
}
.thp-content blockquote p { font-size: 18px; line-height: 1.55; }
.thp-content blockquote p + p { margin-top: 12px; }

.thp-content hr {
  position: relative;
  border: 0;
  height: 2px;
  background: rgba(27,43,75,0.15);
  margin: 44px 0;
}
.thp-content hr::after {
  content: '\2605';
  position: absolute;
  left: 50%;
  top: -11px;
  transform: translateX(-50%);
  background: var(--thp-white);
  padding: 0 12px;
  color: var(--thp-red);
  font-size: 16px;
  line-height: 1;
}

.thp-content img,
.thp-content figure img { border-radius: var(--thp-radius); }
.thp-content figcaption {
  font-family: var(--thp-mono);
  font-size: 12px;
  color: var(--thp-muted);
  text-align: center;
  margin-top: 10px;
}

.thp-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
.thp-content th, .thp-content td {
  border-bottom: 1px solid var(--thp-border);
  padding: 10px 12px;
  text-align: left;
}
.thp-content th {
  font-family: var(--thp-display);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--thp-navy);
  border-bottom: 2px solid var(--thp-navy);
}

/* Wide and full Ghost cards break the 850px text column */
.thp-content .kg-width-wide { max-width: 1040px; margin-left: auto; margin-right: auto; }
.thp-content .kg-width-full { max-width: none; }

.thp-article-foot { padding: 12px 0 64px; }
.thp-article-note {
  font-family: var(--thp-mono);
  font-size: 13px;
  line-height: 1.5;
  color: var(--thp-muted);
  margin-bottom: 22px;
}

/* ---------- CTA band ---------- */

.thp-cta {
  position: relative;
  background: var(--thp-navy);
  overflow: hidden;
}
.thp-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--thp-navy);
  background-image: var(--thp-img-cta);
  background-size: cover;
  background-position: center;
  opacity: 0.26;
}
.thp-cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,43,75,0.78) 0%, rgba(27,43,75,0.93) 100%);
}
.thp-cta-inner {
  position: relative;
  z-index: 2;
  padding: 72px var(--thp-pad);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.thp-cta-title { color: var(--thp-white); }
.thp-cta-sub {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  margin: 16px 0 28px;
}

/* ---------- Footer ---------- */

.thp-footer { background: var(--thp-navy); color: rgba(255,255,255,0.7); }
.thp-footer-inner { padding: 42px var(--thp-pad) 48px; text-align: center; }
.thp-footer-brand { display: flex; flex-direction: column; align-items: center; }
.thp-footer-tagline {
  font-family: var(--thp-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-top: 10px;
}
.thp-schedule {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 26px 0;
}
.thp-schedule li {
  font-family: var(--thp-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 3px;
  padding: 6px 12px;
}
.thp-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 22px;
}
.thp-footer-links a {
  font-family: var(--thp-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
}
.thp-footer-links a:hover { color: var(--thp-white); }
.thp-disclaimer {
  max-width: 640px;
  margin: 0 auto;
  font-size: 12px;
  line-height: 1.5;
  font-style: italic;
  color: rgba(255,255,255,0.34);
}
.thp-copyright {
  font-family: var(--thp-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.34);
  margin-top: 18px;
}
.thp-copyright a { color: rgba(255,255,255,0.55); text-decoration: none; }

/* ---------- Reveal ---------- */

.thp-js [data-thp-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.thp-js [data-thp-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .thp-sec { padding: 60px 0; }
  .thp-split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .thp-listbox { max-width: 560px; }
  .thp-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  :root { --thp-pad: 20px; }

  .thp-body { font-size: 16px; }

  .thp-burger { display: block; }
  .thp-header-inner { flex-wrap: wrap; min-height: 68px; }
  .thp-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 8px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.14);
    margin-top: 4px;
  }
  .thp-menu.is-open { display: flex; }
  .thp-menu-link { padding: 10px 0; font-size: 15px; }
  .thp-menu-btn { margin-top: 10px; }

  .thp-starbar { letter-spacing: 7px; font-size: 12px; }

  .thp-hero-inner { padding-top: 56px; padding-bottom: 60px; }
  .thp-hero-sub, .thp-lede, .thp-cta-sub { font-size: 17px; }

  .thp-stats { grid-template-columns: minmax(0, 1fr); }
  .thp-cards { grid-template-columns: minmax(0, 1fr); }

  .thp-listbox-body li { flex-direction: column; align-items: flex-start; gap: 4px; }
  .thp-listbox-tag { text-align: left; }

  .thp-week-tab { padding: 9px 16px; font-size: 13px; }
  .thp-week-panel { padding: 22px; }

  .thp-post { grid-template-columns: 66px minmax(0, 1fr); gap: 16px; padding: 20px 0; }
  .thp-post-day { font-size: 24px; }
  .thp-post-arrow { display: none; }

  .thp-article-head { padding-top: 40px; }
  .thp-article-image { margin-bottom: 20px; }
  .thp-article-image img { max-height: 320px; }
  .thp-content p, .thp-content li { font-size: 17px; }
  .thp-content h2 { margin-top: 34px; }

  .thp-cta-inner { padding: 56px var(--thp-pad); }
  .thp-form { flex-direction: column; }
  .thp-form input[type="email"], .thp-form .thp-btn { width: 100%; }
  .thp-form .thp-btn { text-align: center; }

  .pagination { flex-direction: column; gap: 10px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .thp-js [data-thp-reveal] { opacity: 1; transform: none; }
  .thp-card:hover { transform: none; }
}
