/*
Theme Name: Tem Papo Editorial
Theme URI: https://tempapo.com/
Author: Tem Papo
Description: Tema editorial leve, responsivo e preparado para conteúdo e monetização responsável.
Version: 1.4.0
Text Domain: tempapo
*/

:root {
  --tp-ink: #17131f;
  --tp-muted: #6e6875;
  --tp-paper: #fffdf9;
  --tp-soft: #f6f0e9;
  --tp-line: #e8dfd6;
  --tp-coral: #f05244;
  --tp-coral-dark: #c9382f;
  --tp-purple: #6c51d9;
  --tp-yellow: #ffd45a;
  --tp-white: #ffffff;
  --tp-radius: 22px;
  --tp-shadow: 0 18px 50px rgba(39, 28, 52, .10);
  --tp-width: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--tp-ink);
  background: var(--tp-paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--tp-coral-dark); }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }

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

.tp-container {
  width: min(calc(100% - 40px), var(--tp-width));
  margin-inline: auto;
}

.tp-topline {
  color: var(--tp-white);
  background: var(--tp-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.tp-topline .tp-container {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 9px;
}

.tp-topline__accent { color: var(--tp-yellow); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid rgba(232, 223, 214, .85);
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(16px);
}

.tp-header-main {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  min-height: 82px;
}

.tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -.055em;
}

.tp-brand__mark {
  position: relative;
  display: grid;
  width: 42px;
  height: 36px;
  place-items: center;
  color: var(--tp-white);
  border-radius: 14px 14px 14px 5px;
  background: var(--tp-coral);
  font-size: 18px;
  letter-spacing: 0;
  box-shadow: 4px 4px 0 var(--tp-yellow);
}

.tp-brand__mark::after {
  position: absolute;
  bottom: -5px;
  left: 7px;
  width: 10px;
  height: 10px;
  content: "";
  background: var(--tp-coral);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

.tp-nav { justify-self: center; }
.tp-nav ul { display: flex; align-items: center; gap: 25px; padding: 0; margin: 0; list-style: none; }
.tp-nav a { font-size: 14px; font-weight: 750; }
.tp-nav a:hover { color: var(--tp-coral); }

.tp-header-actions { display: flex; align-items: center; gap: 10px; }

.tp-search-button,
.tp-menu-button {
  display: grid;
  width: 43px;
  height: 43px;
  padding: 0;
  place-items: center;
  color: var(--tp-ink);
  border: 1px solid var(--tp-line);
  border-radius: 50%;
  background: var(--tp-white);
  cursor: pointer;
}

.tp-menu-button { display: none; }
.tp-search-button:hover, .tp-menu-button:hover { border-color: var(--tp-coral); color: var(--tp-coral); }

.tp-search-panel {
  display: none;
  padding: 0 0 20px;
}

.tp-search-panel.is-open { display: block; }
.tp-search-form { display: flex; gap: 10px; }
.tp-search-form input {
  width: 100%;
  min-width: 0;
  padding: 13px 17px;
  border: 1px solid var(--tp-line);
  border-radius: 999px;
  outline: none;
  background: var(--tp-white);
}
.tp-search-form input:focus { border-color: var(--tp-purple); box-shadow: 0 0 0 3px rgba(108, 81, 217, .12); }
.tp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 20px;
  color: var(--tp-white);
  border: 0;
  border-radius: 999px;
  background: var(--tp-coral);
  font-weight: 800;
  cursor: pointer;
}
.tp-button:hover { color: var(--tp-white); background: var(--tp-coral-dark); transform: translateY(-1px); }
.tp-button--dark { background: var(--tp-ink); }
.tp-button--dark:hover { background: var(--tp-purple); }

.tp-main { min-height: 62vh; }

.tp-newsbar { color: var(--tp-white); background: var(--tp-coral); }
.tp-newsbar__inner { display: flex; align-items: center; gap: 18px; min-height: 47px; font-size: 13px; }
.tp-newsbar__inner strong { padding: 4px 10px; color: var(--tp-ink); border-radius: 5px; background: var(--tp-yellow); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.tp-newsbar__inner a { margin-left: auto; font-weight: 850; }
.tp-newsbar__inner a:hover { color: var(--tp-yellow); }

.tp-hero {
  position: relative;
  overflow: hidden;
  padding: 42px 0 56px;
}

.tp-hero::before {
  position: absolute;
  z-index: -1;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 212, 90, .58), rgba(255, 212, 90, 0) 68%);
}

.tp-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .45fr);
  gap: 30px;
}

.tp-featured {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 520px;
  align-items: flex-end;
  border-radius: 32px;
  background: linear-gradient(135deg, #2a2035 0%, #6948b8 52%, #f05244 100%);
  box-shadow: var(--tp-shadow);
}

.tp-featured__media { position: absolute; inset: 0; }
.tp-featured__media img { width: 100%; height: 100%; object-fit: cover; }
.tp-featured__media::after { position: absolute; inset: 0; content: ""; background: linear-gradient(180deg, rgba(15, 9, 20, .03) 20%, rgba(15, 9, 20, .88) 100%); }
.tp-featured__content { position: relative; z-index: 2; max-width: 760px; padding: 48px; color: var(--tp-white); }
.tp-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 13px; color: var(--tp-coral); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.tp-featured .tp-kicker { color: var(--tp-yellow); }
.tp-kicker::before { width: 19px; height: 3px; content: ""; border-radius: 3px; background: currentColor; }
.tp-featured h1 { max-width: 760px; margin: 0 0 16px; font-size: clamp(38px, 5.2vw, 70px); line-height: .98; letter-spacing: -.055em; }
.tp-featured p { max-width: 650px; margin: 0 0 25px; color: rgba(255,255,255,.82); font-size: 18px; }

.tp-hero-stack { display: grid; gap: 18px; }
.tp-mini-card {
  display: flex;
  min-height: 160px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  border: 1px solid var(--tp-line);
  border-radius: var(--tp-radius);
  background: var(--tp-white);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tp-mini-card:nth-child(2) { background: var(--tp-yellow); border-color: var(--tp-yellow); }
.tp-mini-card:nth-child(3) { color: var(--tp-white); background: var(--tp-purple); border-color: var(--tp-purple); }
.tp-mini-card:hover { transform: translateY(-4px); box-shadow: var(--tp-shadow); }
.tp-mini-card h2 { margin: 0; font-size: 21px; line-height: 1.18; letter-spacing: -.025em; }
.tp-mini-card__number { margin-bottom: auto; color: var(--tp-coral); font-size: 13px; font-weight: 900; }
.tp-mini-card:nth-child(3) .tp-mini-card__number { color: var(--tp-yellow); }

.tp-headlines { display: flex; flex-direction: column; border-top: 5px solid var(--tp-ink); }
.tp-headlines__title { padding: 15px 0 10px; font-size: 13px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.tp-headlines__title span { display: inline-block; padding: 5px 12px; color: var(--tp-white); background: var(--tp-ink); }
.tp-headline { display: grid; grid-template-columns: 35px 82px 1fr; align-items: center; gap: 13px; padding: 17px 0; border-bottom: 1px solid var(--tp-line); }
.tp-headline:hover { color: var(--tp-coral-dark); }
.tp-headline__number { align-self: start; color: var(--tp-coral); font-size: 14px; font-weight: 950; }
.tp-headline__thumb { overflow: hidden; aspect-ratio: 1 / 1; border-radius: 12px; background: var(--tp-soft); }
.tp-headline__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tp-headline__copy { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.tp-headline__copy strong { font-size: 17px; line-height: 1.15; letter-spacing: -.025em; }
.tp-headline__copy small { color: var(--tp-muted); font-size: 11px; font-weight: 750; }
.tp-headline--promo { grid-template-columns: 48px 1fr; margin-top: auto; padding: 20px; border: 0; border-radius: 18px; color: var(--tp-white); background: var(--tp-purple); }
.tp-headline--promo:hover { color: var(--tp-yellow); }
.tp-headline--promo small { color: rgba(255,255,255,.7); }
.tp-play-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 50%; color: var(--tp-coral); background: var(--tp-yellow); font-size: 16px; }

.tp-video-section { padding: 58px 0 64px; color: var(--tp-white); background: var(--tp-ink); }
.tp-video-heading { display: flex; align-items: center; gap: 17px; margin-bottom: 28px; }
.tp-video-heading h2 { margin: 0; font-size: clamp(32px, 4vw, 48px); line-height: 1; letter-spacing: -.045em; }
.tp-video-heading .tp-kicker { margin-bottom: 7px; color: var(--tp-yellow); }
.tp-video-heading__icon { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 20px 20px 20px 6px; color: var(--tp-white); background: var(--tp-coral); box-shadow: 6px 6px 0 var(--tp-yellow); }
.tp-video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tp-video-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 22px; background: #09070d; }
.tp-video-card__media iframe { width: 100%; height: 100%; border: 0; }
.tp-video-card__media > a { display: block; width: 100%; height: 100%; }
.tp-video-card__media img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform .3s ease, opacity .3s ease; }
.tp-video-card__media a:hover img { opacity: .9; transform: scale(1.03); }
.tp-video-card__play { position: absolute; top: 50%; left: 50%; display: grid; width: 64px; height: 64px; place-items: center; border-radius: 50%; color: var(--tp-white); background: var(--tp-coral); transform: translate(-50%, -50%); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.tp-video-card h3 { margin: 15px 0 0; font-size: 22px; line-height: 1.18; letter-spacing: -.03em; }
.tp-video-card h3 a:hover { color: var(--tp-yellow); }

.tp-promo-section { padding: 0 0 58px; }
.tp-promo-banner { position: relative; display: flex; overflow: hidden; align-items: center; justify-content: space-between; gap: 28px; padding: 38px 44px; border-radius: 28px; color: var(--tp-white); background: linear-gradient(120deg, var(--tp-coral-dark), var(--tp-coral) 55%, #f78a4c); }
.tp-promo-banner::after { position: absolute; right: 24%; width: 150px; height: 150px; content: "TP"; color: rgba(255,255,255,.12); font-size: 105px; font-weight: 950; letter-spacing: -.08em; transform: rotate(-8deg); }
.tp-promo-banner h2 { position: relative; z-index: 1; margin: 5px 0 0; font-size: clamp(28px, 4vw, 43px); line-height: 1; letter-spacing: -.045em; }
.tp-promo-banner__eyebrow { font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.tp-button--light { position: relative; z-index: 1; color: var(--tp-ink); background: var(--tp-white); white-space: nowrap; }
.tp-button--light:hover { color: var(--tp-white); background: var(--tp-ink); }
.tp-source-box { margin-top: 40px; padding: 22px 24px; border-left: 5px solid var(--tp-coral); border-radius: 0 14px 14px 0; background: var(--tp-soft); font-family: Inter, ui-sans-serif, sans-serif; font-size: 14px; }

.tp-section { padding: 58px 0; }
.tp-section--soft { background: var(--tp-soft); }
.tp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.tp-section-heading h2 { margin: 0; font-size: clamp(29px, 4vw, 43px); line-height: 1; letter-spacing: -.045em; }
.tp-section-heading p { max-width: 560px; margin: 8px 0 0; color: var(--tp-muted); }
.tp-section-link { color: var(--tp-coral-dark); font-size: 14px; font-weight: 850; white-space: nowrap; }

.tp-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.tp-card { overflow: hidden; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-white); transition: transform .2s ease, box-shadow .2s ease; }
.tp-card:hover { transform: translateY(-5px); box-shadow: var(--tp-shadow); }
.tp-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: linear-gradient(135deg, #6c51d9, #f05244); }
.tp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tp-card:hover .tp-card__media img { transform: scale(1.035); }
.tp-card__placeholder { display: grid; width: 100%; height: 100%; place-items: center; color: rgba(255,255,255,.9); font-size: 38px; font-weight: 950; letter-spacing: -.06em; }
.tp-card__body { padding: 23px; }
.tp-card h2 { margin: 0 0 10px; font-size: 23px; line-height: 1.16; letter-spacing: -.035em; }
.tp-card p { margin: 0; color: var(--tp-muted); font-size: 15px; }
.tp-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; color: var(--tp-muted); font-size: 12px; font-weight: 700; }

.tp-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px 22px; }
.tp-news-card { display: grid; min-width: 0; grid-template-columns: 112px minmax(0, 1fr); gap: 15px; align-items: center; padding: 12px; border: 1px solid var(--tp-line); border-radius: 17px; background: var(--tp-white); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.tp-news-card:hover { border-color: rgba(240,82,68,.45); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(39,28,52,.07); }
.tp-news-card__media { display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: 12px; background: linear-gradient(135deg, var(--tp-purple), var(--tp-coral)); }
.tp-news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tp-news-card:hover .tp-news-card__media img { transform: scale(1.04); }
.tp-news-card__media span { display: grid; width: 100%; height: 100%; place-items: center; color: var(--tp-white); font-weight: 950; }
.tp-news-card__body { min-width: 0; }
.tp-news-card__category { display: block; overflow: hidden; margin-bottom: 7px; color: var(--tp-coral-dark); font-size: 10px; font-weight: 900; letter-spacing: .09em; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.tp-news-card h3 { margin: 0 0 9px; font-size: 17px; line-height: 1.14; letter-spacing: -.018em; }
.tp-news-card time { color: var(--tp-muted); font-size: 10px; font-weight: 750; }

.tp-category-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-category-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 18px; border: 1px solid var(--tp-line); border-radius: 999px; background: var(--tp-white); font-size: 14px; font-weight: 800; }
.tp-category-pill:hover { color: var(--tp-white); border-color: var(--tp-purple); background: var(--tp-purple); }

.tp-launch {
  display: grid;
  min-height: 520px;
  grid-template-columns: 1.2fr .8fr;
  align-items: stretch;
  overflow: hidden;
  border-radius: 34px;
  background: var(--tp-ink);
  box-shadow: var(--tp-shadow);
}
.tp-launch__copy { position: relative; z-index: 2; padding: clamp(38px, 7vw, 80px); color: var(--tp-white); }
.tp-launch__copy h1 { max-width: 760px; margin: 0 0 22px; font-size: clamp(48px, 7vw, 88px); line-height: .91; letter-spacing: -.065em; }
.tp-launch__copy p { max-width: 610px; margin: 0 0 28px; color: rgba(255,255,255,.72); font-size: 19px; }
.tp-launch__visual { position: relative; min-height: 360px; background: var(--tp-purple); }
.tp-bubble { position: absolute; display: grid; place-items: center; border-radius: 48% 48% 48% 14%; font-weight: 950; }
.tp-bubble--one { top: 12%; left: 10%; width: 230px; height: 200px; color: var(--tp-ink); background: var(--tp-yellow); font-size: 62px; transform: rotate(-8deg); }
.tp-bubble--two { right: -10%; bottom: 4%; width: 280px; height: 240px; color: var(--tp-white); background: var(--tp-coral); font-size: 72px; transform: rotate(11deg); }
.tp-bubble--three { right: 14%; top: 8%; width: 72px; height: 66px; background: var(--tp-white); }

.tp-page-header { padding: 68px 0 35px; }
.tp-page-header h1 { max-width: 900px; margin: 0; font-size: clamp(43px, 7vw, 74px); line-height: .97; letter-spacing: -.055em; }
.tp-page-header p { max-width: 700px; color: var(--tp-muted); }

.tp-archive-header { padding: 42px 0 25px; border-bottom: 1px solid var(--tp-line); }
.tp-archive-header .tp-kicker { margin-bottom: 9px; }
.tp-archive-header__row { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.tp-archive-header h1 { margin: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1; letter-spacing: -.048em; }
.tp-archive-description { max-width: 680px; margin: 12px 0 0; color: var(--tp-muted); font-size: 16px; line-height: 1.5; }
.tp-archive-description p { margin: 0; }
.tp-archive-count { flex: 0 0 auto; padding-bottom: 6px; color: var(--tp-muted); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.tp-archive-nav { display: flex; overflow-x: auto; gap: 8px; margin-top: 25px; padding-bottom: 2px; scrollbar-width: none; }
.tp-archive-nav::-webkit-scrollbar { display: none; }
.tp-archive-nav a { flex: 0 0 auto; padding: 7px 13px; border: 1px solid var(--tp-line); border-radius: 999px; background: var(--tp-white); font-size: 12px; font-weight: 800; }
.tp-archive-nav a:hover, .tp-archive-nav a.is-current { color: var(--tp-white); border-color: var(--tp-ink); background: var(--tp-ink); }

.tp-archive-content { padding: 36px 0 72px; }
.tp-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; align-items: start; gap: 52px; }
.tp-archive-feed { display: grid; gap: 0; }
.tp-archive-story { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--tp-line); }
.tp-archive-story:first-child { padding-top: 0; }
.tp-archive-story__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 15px; background: linear-gradient(135deg, var(--tp-purple), var(--tp-coral)); }
.tp-archive-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.tp-archive-story:hover .tp-archive-story__media img { transform: scale(1.035); }
.tp-archive-story__media span { display: grid; width: 100%; height: 100%; place-items: center; color: var(--tp-white); font-size: 32px; font-weight: 950; }
.tp-archive-story__body { min-width: 0; align-self: center; }
.tp-archive-story__category { display: inline-block; margin-bottom: 8px; color: var(--tp-coral-dark); font-size: 10px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.tp-archive-story h2 { margin: 0 0 8px; font-size: 24px; line-height: 1.1; letter-spacing: -.03em; }
.tp-archive-story__excerpt p { margin: 0; color: var(--tp-muted); font-size: 14px; line-height: 1.5; }
.tp-archive-story .tp-meta { margin-top: 12px; }
.tp-archive-story--lead { grid-template-columns: minmax(300px, .96fr) minmax(0, 1.04fr); gap: 30px; padding: 0 0 30px; }
.tp-archive-story--lead .tp-archive-story__media { aspect-ratio: 16 / 10; border-radius: 19px; }
.tp-archive-story--lead h2 { font-size: clamp(27px, 3vw, 37px); line-height: 1.04; }
.tp-archive-story--lead .tp-archive-story__excerpt p { font-size: 15px; }

.tp-archive-sidebar { position: sticky; top: 112px; padding-top: 2px; }
.tp-archive-sidebar__title { padding-bottom: 14px; border-bottom: 4px solid var(--tp-ink); }
.tp-archive-sidebar__title span { color: var(--tp-coral-dark); font-size: 10px; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.tp-archive-sidebar__title h2 { margin: 3px 0 0; font-size: 25px; line-height: 1; letter-spacing: -.035em; }
.tp-archive-latest__item { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 11px; padding: 17px 0; border-bottom: 1px solid var(--tp-line); }
.tp-archive-latest__number { color: var(--tp-coral); font-size: 12px; font-weight: 950; }
.tp-archive-latest h3 { margin: 0 0 5px; font-size: 15px; line-height: 1.2; letter-spacing: -.018em; }
.tp-archive-latest time { color: var(--tp-muted); font-size: 10px; font-weight: 700; }

.tp-content-wrap { display: grid; grid-template-columns: minmax(0, 760px) minmax(220px, 1fr); gap: 70px; padding: 24px 0 80px; }
.tp-article-header { padding: 42px 0 26px; border-bottom: 1px solid var(--tp-line); }
.tp-article-hero { display: grid; grid-template-columns: minmax(0, .95fr) minmax(430px, 1.05fr); align-items: center; gap: 48px; }
.tp-article-header h1 { max-width: 680px; margin: 4px 0 17px; font-size: clamp(40px, 3.8vw, 56px); line-height: 1.04; letter-spacing: -.018em; }
.tp-article-deck { max-width: 650px; color: var(--tp-muted); font-size: 18px; line-height: 1.5; }
.tp-article-deck p { margin: 0; }
.tp-article-cover { overflow: hidden; aspect-ratio: 16 / 10; border-radius: 24px; background: var(--tp-soft); }
.tp-article-cover img { width: 100%; height: 100%; object-fit: cover; }
.tp-prose { font-family: Georgia, "Times New Roman", serif; font-size: 19px; }
.tp-prose > *:first-child { margin-top: 0; }
.tp-prose h2, .tp-prose h3 { margin: 1.8em 0 .55em; font-family: Inter, ui-sans-serif, sans-serif; line-height: 1.1; letter-spacing: -.035em; }
.tp-prose h2 { font-size: 34px; }
.tp-prose h3 { font-size: 26px; }
.tp-prose a { color: var(--tp-coral-dark); text-decoration: underline; text-underline-offset: 3px; }
.tp-prose blockquote { margin: 32px 0; padding: 5px 0 5px 25px; border-left: 5px solid var(--tp-yellow); color: #4d4555; font-size: 23px; font-style: italic; }
.tp-prose img { border-radius: 18px; }

.tp-sidebar-box { position: sticky; top: 115px; padding: 27px; border: 1px solid var(--tp-line); border-radius: var(--tp-radius); background: var(--tp-soft); }
.tp-sidebar-box h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
.tp-sidebar-box p { margin: 0; color: var(--tp-muted); font-size: 14px; }

.tp-pagination { margin-top: 40px; }
.tp-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-pagination a, .tp-pagination span { display: grid; min-width: 42px; height: 42px; padding-inline: 12px; place-items: center; border: 1px solid var(--tp-line); border-radius: 999px; background: var(--tp-white); font-weight: 750; }
.tp-pagination .current { color: var(--tp-white); border-color: var(--tp-coral); background: var(--tp-coral); }

.tp-empty { padding: 65px 0 95px; text-align: center; }
.tp-empty h1 { margin: 0 0 12px; font-size: clamp(44px, 8vw, 86px); line-height: 1; letter-spacing: -.06em; }
.tp-empty p { max-width: 580px; margin: 0 auto 25px; color: var(--tp-muted); }

.site-footer { color: rgba(255,255,255,.76); background: var(--tp-ink); }
.tp-footer-main { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; padding: 65px 0 46px; }
.site-footer .tp-brand { color: var(--tp-white); }
.tp-footer-copy { max-width: 530px; margin: 18px 0 0; }
.tp-footer-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 28px; align-content: start; }
.tp-footer-nav a { color: var(--tp-white); font-size: 14px; font-weight: 700; }
.tp-footer-nav a:hover { color: var(--tp-yellow); }
.tp-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding: 20px 0 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

@media (max-width: 980px) {
  .tp-header-main { grid-template-columns: auto 1fr auto; }
  .tp-menu-button { display: grid; }
  .tp-nav { position: fixed; inset: 0 0 0 20%; display: none; padding: 110px 32px 40px; background: var(--tp-paper); box-shadow: -20px 0 60px rgba(0,0,0,.15); }
  .tp-nav.is-open { display: block; }
  .tp-nav ul { flex-direction: column; align-items: flex-start; gap: 19px; }
  .tp-nav a { font-size: 24px; }
  .tp-hero-grid, .tp-launch { grid-template-columns: 1fr; }
  .tp-headline--promo { margin-top: 10px; }
  .tp-hero-stack { grid-template-columns: repeat(3, 1fr); }
  .tp-mini-card { min-height: 145px; }
  .tp-launch__visual { min-height: 330px; }
  .tp-card-grid { grid-template-columns: repeat(2, 1fr); }
  .tp-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-content-wrap { grid-template-columns: 1fr; gap: 35px; }
  .tp-archive-layout { grid-template-columns: minmax(0, 1fr) 285px; gap: 32px; }
  .tp-archive-story--lead { grid-template-columns: 1fr; gap: 19px; }
  .tp-article-hero { grid-template-columns: minmax(0, .9fr) minmax(350px, 1.1fr); gap: 30px; }
  .tp-article-header h1 { font-size: clamp(37px, 5vw, 50px); }
  .tp-sidebar-box { position: static; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .tp-container { width: min(calc(100% - 26px), var(--tp-width)); }
  .tp-topline .tp-container { justify-content: center; }
  .tp-topline__secondary { display: none; }
  .tp-header-main { min-height: 70px; gap: 12px; }
  .tp-brand { font-size: 25px; }
  .tp-brand__mark { width: 37px; height: 32px; font-size: 16px; }
  .tp-search-button, .tp-menu-button { width: 39px; height: 39px; }
  .tp-hero { padding-top: 40px; }
  .tp-newsbar__inner { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 11px; }
  .tp-newsbar__inner a { display: none; }
  .tp-featured { min-height: 470px; }
  .tp-featured__content { padding: 30px 25px; }
  .tp-hero-stack, .tp-card-grid { grid-template-columns: 1fr; }
  .tp-news-grid { grid-template-columns: 1fr; gap: 11px; }
  .tp-news-card { grid-template-columns: 92px minmax(0, 1fr); gap: 13px; padding: 10px; }
  .tp-news-card h3 { font-size: 16px; }
  .tp-headline { grid-template-columns: 28px 72px 1fr; }
  .tp-video-grid { grid-template-columns: 1fr; }
  .tp-video-heading__icon { width: 52px; height: 52px; border-radius: 16px 16px 16px 5px; }
  .tp-promo-banner { align-items: flex-start; flex-direction: column; padding: 32px 27px; }
  .tp-mini-card { min-height: 125px; }
  .tp-launch { min-height: 0; }
  .tp-launch__copy { padding: 45px 28px; }
  .tp-launch__visual { min-height: 270px; }
  .tp-bubble--one { width: 170px; height: 145px; font-size: 48px; }
  .tp-bubble--two { width: 210px; height: 175px; font-size: 54px; }
  .tp-section { padding: 43px 0; }
  .tp-section-heading { align-items: flex-start; flex-direction: column; }
  .tp-archive-header { padding: 31px 0 21px; }
  .tp-archive-header__row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .tp-archive-header h1 { font-size: clamp(36px, 12vw, 48px); }
  .tp-archive-count { display: none; }
  .tp-archive-nav { margin-top: 19px; }
  .tp-archive-content { padding: 26px 0 52px; }
  .tp-archive-layout { grid-template-columns: 1fr; gap: 42px; }
  .tp-archive-story, .tp-archive-story--lead { grid-template-columns: 118px minmax(0, 1fr); gap: 15px; padding: 18px 0; }
  .tp-archive-story:first-child { padding-top: 0; }
  .tp-archive-story__media, .tp-archive-story--lead .tp-archive-story__media { aspect-ratio: 1 / 1; border-radius: 13px; }
  .tp-archive-story h2, .tp-archive-story--lead h2 { margin-bottom: 7px; font-size: 18px; line-height: 1.12; }
  .tp-archive-story__excerpt { display: none; }
  .tp-archive-story .tp-meta { margin-top: 8px; gap: 8px; font-size: 10px; }
  .tp-archive-sidebar { position: static; }
  .tp-footer-main { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .tp-footer-bottom { flex-direction: column; }
  .tp-article-header { padding: 32px 0 20px; }
  .tp-article-hero { grid-template-columns: 1fr; gap: 22px; }
  .tp-article-header h1 { margin-bottom: 14px; font-size: clamp(34px, 10vw, 40px); line-height: 1.05; letter-spacing: -.012em; }
  .tp-article-deck { font-size: 17px; }
  .tp-article-cover { aspect-ratio: 16 / 9; border-radius: 19px; }
  .tp-content-wrap { padding-top: 26px; }
}
