.posts-page,
.post-page {
  background:
    radial-gradient(circle at 90% 10%, rgba(252, 198, 82, 0.14), transparent 28%),
    radial-gradient(circle at 10% 24%, rgba(112, 214, 255, 0.1), transparent 26%),
    var(--rv-paper);
  color: var(--rv-ink-600);
}

.posts-hero {
  padding: clamp(72px, 10vw, 120px) 0 64px;
  overflow: hidden;
}

.posts-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: clamp(28px, 5vw, 68px);
  align-items: end;
}

.posts-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rv-pink-400);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.posts-pill::before {
  content: "";
  width: 28px;
  height: 2px;
  background: currentColor;
}

.posts-hero h1,
.article-hero h1 {
  max-width: 13ch;
  margin: 18px 0 20px;
  color: var(--rv-ink-700);
  font-family: var(--rv-font-display);
  font-size: clamp(40px, 6.2vw, 78px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.posts-hero p,
.article-hero p {
  max-width: 62ch;
  margin: 0;
  color: var(--rv-ink-500);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 550;
  line-height: 1.58;
}

.posts-hero-note {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--rv-radius-2xl);
  background: var(--rv-ink-700);
  color: var(--rv-paper);
  box-shadow: var(--rv-shadow-md);
}

.posts-hero-note::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: rgba(112, 214, 255, 0.16);
}

.posts-hero-note strong {
  display: block;
  position: relative;
  z-index: 1;
  margin-bottom: 8px;
  color: var(--rv-sun-300);
  font-family: var(--rv-font-display);
  font-size: clamp(30px, 3vw, 44px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.posts-hero-note span {
  display: block;
  position: relative;
  z-index: 1;
  color: var(--rv-ink-100);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
}

.posts-list-section {
  padding: 76px 0 96px;
}

.posts-preview {
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 112, 166, 0.12), transparent 28%),
    linear-gradient(180deg, var(--rv-paper), var(--rv-paper-tint));
}

.posts-preview-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.posts-list,
.post-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.post-list-card,
.post-preview-card {
  display: flex;
  min-width: 0;
  min-height: 300px;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-xl);
  background: var(--rv-paper-card);
  color: inherit;
  text-decoration: none;
  box-shadow: var(--rv-shadow-sm);
  transition: transform 220ms var(--rv-ease-out), box-shadow 220ms var(--rv-ease-out);
}

.post-list-card:hover,
.post-preview-card:hover {
  box-shadow: var(--rv-shadow-md);
  transform: translateY(-3px);
}

.post-card-meta,
.post-card-foot,
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--rv-ink-400);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.post-card-meta span,
.article-meta span:first-child {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: var(--rv-radius-pill);
  background: var(--rv-sun-200);
  color: var(--rv-ink-600);
}

.post-list-card h2,
.post-preview-card h3 {
  margin: 0;
  color: var(--rv-ink-700);
  font-family: var(--rv-font-body);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.22;
}

.post-list-card p,
.post-preview-card p {
  margin: 0;
  color: var(--rv-ink-400);
  font-size: 15px;
  font-weight: 520;
  line-height: 1.58;
}

.post-card-foot {
  justify-content: space-between;
  margin-top: auto;
  letter-spacing: 0;
  text-transform: none;
}

.post-card-foot span:last-child {
  color: var(--rv-ink-600);
}

.posts-empty {
  max-width: 680px;
  padding: 34px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-xl);
  background: var(--rv-paper-card);
}

.posts-empty h2 {
  margin: 0 0 10px;
  color: var(--rv-ink-600);
}

.posts-empty p {
  margin: 0;
  color: var(--rv-ink-400);
}

.article-hero {
  padding: clamp(72px, 10vw, 112px) 0 64px;
  background:
    radial-gradient(circle at 84% 14%, rgba(252, 198, 82, 0.22), transparent 30%),
    linear-gradient(180deg, var(--rv-paper-tint), var(--rv-paper));
}

.article-hero-inner {
  max-width: 920px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--rv-ink-500);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
}

.article-back:hover {
  color: var(--rv-pink-500);
}

.article-author {
  margin-top: 22px;
  color: var(--rv-ink-400);
  font-size: 14px;
  font-weight: 750;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
  padding-top: 72px;
  padding-bottom: 96px;
}

.article-content {
  color: var(--rv-ink-600);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.72;
}

.article-content .article-lede {
  margin-top: 0;
  color: var(--rv-ink-500);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.58;
}

.article-content h2 {
  margin: 42px 0 12px;
  color: var(--rv-ink-700);
  font-family: var(--rv-font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  text-transform: uppercase;
}

.article-content p {
  margin: 0 0 20px;
}

.article-content blockquote {
  margin: 42px 0;
  padding: 26px 30px;
  border-left: 6px solid var(--rv-sun-300);
  border-radius: var(--rv-radius-lg);
  background: var(--rv-paper-tint);
}

.article-content blockquote p {
  margin: 0;
  color: var(--rv-ink-700);
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.25;
}

.statement-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  gap: 22px;
  align-items: center;
  margin: 34px 0 42px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-xl);
  background: var(--rv-ink-700);
  color: var(--rv-paper);
  box-shadow: var(--rv-shadow-md);
}

.statement-feature .statement-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--rv-sun-300);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-content .statement-feature h2 {
  margin: 0 0 12px;
  color: var(--rv-paper);
}

.article-content .statement-feature p {
  margin: 0;
  color: var(--rv-ink-100);
}

.statement-actions {
  display: grid;
  gap: 12px;
}

.statement-primary-btn,
.statement-secondary-link,
.statement-source-list a,
.statement-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: var(--rv-radius-pill);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.statement-primary-btn {
  border: 0;
  background: var(--rv-sun-300);
  color: var(--rv-ink-700);
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(252, 198, 82, 0.32);
}

.statement-primary-btn:hover {
  background: var(--rv-sun-400);
}

.statement-secondary-link {
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--rv-paper);
}

.statement-source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 38px;
}

.statement-source-list a {
  border: 1px solid var(--rv-border);
  background: var(--rv-paper-card);
  color: var(--rv-ink-700);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0 42px;
}

.statement-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-xl);
  background: var(--rv-paper-card);
  box-shadow: var(--rv-shadow-sm);
}

.statement-card span {
  color: var(--rv-pink-500);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-content .statement-card h3 {
  margin: 0;
  color: var(--rv-ink-700);
  font-size: 20px;
  line-height: 1.22;
}

.article-content .statement-card p {
  margin: 0;
  color: var(--rv-ink-500);
  font-size: 15px;
  line-height: 1.58;
}

.statement-card a {
  align-self: flex-start;
  margin-top: auto;
  background: var(--rv-sun-200);
  color: var(--rv-ink-700);
}

html.modal-open {
  overflow: hidden;
}

.petition-modal[hidden] {
  display: none;
}

.petition-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 20px;
}

.petition-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 28, 0.72);
  backdrop-filter: blur(8px);
}

.petition-modal__panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto minmax(260px, 1fr) auto;
  width: min(1040px, 96vw);
  height: min(860px, 92vh);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.petition-modal__head,
.petition-modal__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--rv-border);
}

.petition-modal__actions {
  border-top: 1px solid var(--rv-border);
  border-bottom: 0;
}

.petition-modal__actions .site-header-cta {
  display: inline-flex;
}

.petition-modal__head h2 {
  margin: 4px 0 0;
  color: var(--rv-ink-700);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  text-transform: uppercase;
}

.petition-modal__close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: var(--rv-ink-700);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.petition-modal__pdf {
  width: 100%;
  height: 100%;
  border: 0;
  background: #f4f6f8;
}

.petition-modal__fallback {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 320px;
  padding: 24px;
  text-align: center;
}

.article-aside {
  position: sticky;
  top: 96px;
}

.article-cta {
  padding: 26px;
  border: 1px solid var(--rv-border);
  border-radius: var(--rv-radius-xl);
  background: var(--rv-ink-600);
  color: var(--rv-paper);
  box-shadow: var(--rv-shadow-md);
}

.article-cta strong {
  display: block;
  margin-bottom: 10px;
  color: var(--rv-sun-300);
  font-size: 20px;
  font-weight: 900;
}

.article-cta p {
  margin: 0 0 20px;
  color: var(--rv-ink-100);
  font-size: 14px;
  line-height: 1.6;
}

.article-cta .btn-primary {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: center;
  min-height: 50px;
  padding: 15px 20px;
  border-radius: var(--rv-radius-pill);
  background: var(--rv-sun-300);
  color: var(--rv-ink-700);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(252, 198, 82, 0.32);
}

.article-cta .btn-primary:hover {
  background: var(--rv-sun-400);
}

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

  .statement-feature,
  .statement-grid {
    grid-template-columns: 1fr;
  }

  .posts-list,
  .post-preview-grid {
    grid-template-columns: 1fr 1fr;
  }

  .article-aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .posts-hero,
  .article-hero {
    padding: 58px 0 48px;
  }

  .posts-pill,
  .post-card-meta,
  .post-card-foot,
  .article-meta {
    max-width: 100%;
    flex-wrap: wrap;
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .posts-hero h1,
  .article-hero h1 {
    max-width: 100%;
    font-size: clamp(29px, 8vw, 38px);
    line-height: 1.03;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .posts-hero p,
  .article-hero p {
    max-width: 100%;
  }

  .posts-list,
  .post-preview-grid {
    grid-template-columns: 1fr;
  }

  .post-list-card,
  .post-preview-card {
    min-width: 0;
    min-height: 0;
  }

  .article-grid {
    padding-top: 46px;
    padding-bottom: 64px;
  }

  .article-content {
    font-size: 16px;
  }

  .article-content .article-lede {
    font-size: 18px;
  }

  .statement-feature,
  .statement-card {
    min-width: 0;
    padding: 22px;
  }

  .statement-card {
    min-height: 0;
  }

  .statement-primary-btn,
  .statement-secondary-link,
  .statement-source-list a,
  .statement-card a {
    width: 100%;
  }

  .petition-modal {
    padding: 10px;
  }

  .petition-modal__panel {
    width: 100%;
    height: 94vh;
    border-radius: 12px;
  }

  .petition-modal__head,
  .petition-modal__actions {
    display: grid;
  }

  .petition-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .petition-modal__head h2 {
    font-size: clamp(24px, 6vw, 32px);
  }

  .petition-modal__close {
    flex: 0 0 42px;
  }
}
