/*
Theme Name: Capute
Author: Capute
Description: Tema editorial próprio para o site Capute, com notícias, análises, calendário eleitoral e páginas institucionais.
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: capute
*/

:root {
  --ink: #0a0a0a;
  --white: #ffffff;
  --paper: #ffffff;
  --paper-cream: #f7f7f5;
  --gold: #7fa8c9;
  --gold-deep: #1a3a52;
  --navy: #1a3a52;
  --navy-soft: #eef2f6;
  --navy-light: #7fa8c9;
  --grey-700: #3d3d3a;
  --grey-600: #555555;
  --grey-500: #6b6b66;
  --grey-400: #9a9a95;
  --grey-300: #c8c8c4;
  --grey-200: #e5e5e3;
  --grey-100: #f0f0ee;
  --grey-50: #f7f7f5;
  --display: Georgia, "Times New Roman", serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

.wrap {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid var(--grey-200);
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: var(--s4);
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--ink);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
  padding: var(--s4) 0;
}

.brand {
  font-family: var(--display);
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.brand .reg {
  color: var(--grey-400);
  font-size: 11px;
  font-style: normal;
  vertical-align: super;
}

.menu,
.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  gap: var(--s5);
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links .menu {
  flex-wrap: wrap;
}

.menu a,
.nav-links a,
.footer-links a,
.nav-cta,
.btn {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.menu a,
.nav-links a,
.footer-links a {
  color: var(--grey-600);
}

.menu a:hover,
.nav-links a:hover,
.footer-links a:hover {
  color: var(--ink);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid currentColor;
  padding: 13px 22px;
  transition: all .2s;
}

.nav-cta:hover,
.btn:hover,
.btn-solid {
  background: var(--ink);
  color: var(--white);
}

.btn-solid:hover {
  background: var(--white);
  color: var(--ink);
}

.hero {
  padding: var(--s8) 0 var(--s7);
  border-bottom: 1px solid var(--grey-200);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .9fr);
  gap: var(--s8);
}

.featured-cover,
.card-cover,
.article-cover {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}

.featured-cover {
  display: flex;
  min-height: 420px;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s7);
}

.watermark,
.glyph {
  position: absolute;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  line-height: .8;
  pointer-events: none;
}

.watermark {
  top: -8%;
  right: -2%;
  color: rgba(255, 255, 255, .06);
  font-size: clamp(160px, 22vw, 300px);
}

.kicker,
.meta-cat,
.meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.kicker {
  position: relative;
  z-index: 1;
  margin-bottom: var(--s4);
  color: var(--navy-light);
  letter-spacing: .28em;
}

h1,
h2,
h3,
.section-title,
.archive-title,
.page-title {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.025em;
}

.featured-cover h1,
.featured-cover h2 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.02;
}

.dek {
  max-width: 680px;
  margin: var(--s4) 0 0;
  color: var(--grey-700);
  font-size: 17px;
  line-height: 1.5;
}

.go {
  display: inline-flex;
  gap: var(--s2);
  margin-top: var(--s5);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.trending-title {
  margin-bottom: var(--s4);
  border-bottom: 1px solid var(--ink);
  padding-bottom: var(--s3);
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.trending a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--s3);
  border-bottom: 1px solid var(--grey-200);
  padding: var(--s4) 0;
}

.trending .num {
  color: var(--grey-300);
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  font-weight: 600;
  line-height: 1;
}

.trending h3 {
  margin: 3px 0 0;
  font-size: 17px;
  line-height: 1.2;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin: var(--s8) 0 var(--s6);
  border-bottom: 1px solid var(--ink);
  padding-bottom: var(--s3);
}

.section-title {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.08;
}

.section-more {
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s7) var(--s6);
}

.post-card {
  display: flex;
  flex-direction: column;
}

.card-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  margin-bottom: var(--s4);
  padding: var(--s5);
}

.card-cover.line {
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.card-cover.paper {
  border: 1px solid var(--grey-200);
  background: var(--grey-50);
  color: var(--ink);
}

.card-cover.white {
  border: 1px solid var(--grey-200);
  background: var(--grey-50);
  color: var(--ink);
}

.card-cover.navy {
  background: var(--navy);
  color: var(--white);
}

.card-cover.gold {
  background: var(--navy-light);
  color: var(--ink);
}

.glyph {
  right: -8px;
  bottom: -30px;
  opacity: .07;
  font-size: 200px;
}

.fragment {
  position: relative;
  z-index: 1;
  text-align: center;
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 40px);
  font-style: italic;
  font-weight: 500;
  line-height: 1.02;
}

.post-card h3 {
  margin: var(--s2) 0 0;
  font-size: 21px;
  line-height: 1.12;
}

.meta {
  margin-top: var(--s4);
  color: var(--grey-400);
}

.strip {
  margin: var(--s9) 0;
  background: var(--ink);
  color: var(--white);
}

.strip.dark {
  background: var(--ink);
  color: var(--white);
}

.strip.soft {
  border-top: 1px solid #d6e0ea;
  border-bottom: 1px solid #d6e0ea;
  background: var(--navy-soft);
  color: var(--ink);
}

.strip .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s6);
  padding-top: var(--s7);
  padding-bottom: var(--s7);
}

.strip-label {
  margin-bottom: var(--s3);
  opacity: .65;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.strip h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.05;
}

.strip p {
  max-width: 560px;
  margin: var(--s3) 0 0;
  color: var(--grey-300);
}

.strip.soft p {
  color: var(--grey-700);
}

.strip.dark .btn {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.strip.dark .btn:hover {
  background: transparent;
  color: var(--white);
}

.strip.soft .btn {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.strip.soft .btn:hover {
  background: transparent;
  color: var(--navy);
}

.article,
.page-content,
.archive-hero {
  padding: var(--s8) 0;
}

.article-head,
.article-body,
.author-box,
.article-cover {
  max-width: 760px;
  margin: 0 auto;
}

.crumb {
  max-width: 760px;
  margin: 0 auto var(--s6);
  color: var(--grey-400);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.article-head h1,
.archive-title,
.page-title {
  margin: 0;
  font-size: clamp(34px, 5vw, 68px);
  line-height: 1.04;
}

.article-dek,
.archive-description,
.page-description {
  max-width: 700px;
  color: var(--grey-700);
  font-size: 19px;
  line-height: 1.55;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s4);
  margin-top: var(--s6);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  padding: var(--s5) 0;
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.article-body {
  margin-top: var(--s7);
}

.article-cover {
  display: flex;
  min-height: 340px;
  align-items: center;
  justify-content: center;
  margin-top: var(--s7);
  padding: var(--s7);
  background: var(--ink);
  color: var(--white);
}

.article-cover.line {
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
}

.article-cover.paper {
  border: 1px solid var(--grey-200);
  background: var(--paper-cream);
  color: var(--ink);
}

.article-cover.gold {
  background: var(--gold);
  color: var(--ink);
}

.article-cover.has-image {
  display: block;
  min-height: 0;
  padding: 0;
  background: transparent;
}

.article-cover.has-image img {
  width: 100%;
}

.article-body p,
.entry-content p {
  margin: 0 0 var(--s5);
  color: #26251f;
  font-size: 18px;
  line-height: 1.8;
}

.article-body p.lead2 {
  color: var(--ink);
  font-size: 21px;
  line-height: 1.7;
}

.article-body p.lead2::first-letter {
  float: left;
  margin: 7px 14px 0 0;
  color: var(--navy);
  font-family: var(--display);
  font-size: 4.2em;
  font-style: italic;
  font-weight: 600;
  line-height: .72;
}

.article-body .pull,
.article-body .closer {
  margin: var(--s7) 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(26px, 3.5vw, 40px);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.02em;
  line-height: 1.18;
}

.article-body .pull {
  border-left: 3px solid var(--navy);
  padding-left: var(--s5);
}

.article-body .stat {
  display: flex;
  align-items: baseline;
  gap: var(--s5);
  margin: var(--s7) 0;
  border-left: 3px solid var(--navy);
  background: var(--navy-soft);
  padding: var(--s5) var(--s6);
}

.article-body .stat .num {
  color: var(--navy);
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 72px);
  font-style: italic;
  font-weight: 600;
  line-height: .9;
}

.article-body .stat .lbl {
  color: var(--grey-700);
  font-size: 15px;
  line-height: 1.5;
}

.article-body .fonte {
  margin-top: var(--s7);
  border-top: 1px solid var(--grey-200);
  padding-top: var(--s5);
  color: var(--grey-400);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .04em;
  line-height: 1.7;
}

.author-box {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s5);
  margin-top: var(--s7);
  border: 1px solid var(--grey-200);
  background: var(--grey-50);
  padding: var(--s6);
}

.author-avatar {
  display: flex;
  width: 64px;
  height: 64px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: var(--white);
  font-family: var(--display);
  font-size: 30px;
  font-style: italic;
  font-weight: 600;
}

.content-list {
  display: grid;
  gap: var(--s4);
}

.content-row {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr auto;
  gap: var(--s5);
  align-items: baseline;
  border-bottom: 1px solid var(--grey-200);
  padding: var(--s5) 0;
}

.content-row h3 {
  margin: 0;
  font-size: clamp(21px, 2.5vw, 30px);
  line-height: 1.1;
}

.pagination {
  margin: var(--s7) 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer {
  margin-top: var(--s9);
  border-top: 1px solid var(--grey-200);
}

.site-follow {
  margin-top: var(--s9);
  background: var(--paper-cream);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
}

.category-rack {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s3);
}

.category-rack a {
  display: flex;
  min-height: 88px;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s4);
  border: 1px solid var(--grey-200);
  background: var(--grey-50);
  padding: var(--s4);
}

.category-rack span {
  font-family: var(--display);
  font-size: 22px;
  font-style: italic;
  line-height: 1.05;
}

.category-rack em {
  color: var(--grey-400);
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .14em;
}

.category-rack a:hover {
  border-color: var(--ink);
}

.news-cta {
  margin-top: var(--s9);
  background: var(--ink);
  color: var(--white);
  padding: var(--s10) var(--s7);
}

.news-cta .news-in {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.news-cta .k {
  margin-bottom: var(--s5);
  color: rgba(255, 255, 255, .55);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.news-cta h2 {
  margin: 0 0 var(--s4);
  color: var(--white);
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
}

.news-cta p {
  max-width: 540px;
  margin: 0 auto var(--s7);
  color: var(--grey-300);
  font-size: 16.5px;
  line-height: 1.65;
}

.news-cta .btn {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.news-cta .btn:hover {
  background: transparent;
  color: var(--white);
}

.calendar-page {
  background: var(--white);
}

.calendar-hero {
  max-width: 1080px;
  margin: 0 auto;
  padding: var(--s9) var(--s7) var(--s8);
  text-align: center;
}

.calendar-kicker {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  margin-bottom: var(--s6);
  color: var(--navy);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.calendar-kicker .dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--navy);
}

.calendar-hero h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1;
}

.calendar-hero h1 em {
  font-style: normal;
}

.calendar-hero p {
  max-width: 620px;
  margin: var(--s6) auto 0;
  color: var(--grey-700);
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.55;
}

.calendar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s4);
  margin-top: var(--s7);
}

.calendar-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s8);
  margin-top: var(--s8);
  border-top: 1px solid var(--grey-200);
  padding-top: var(--s6);
}

.calendar-stats div {
  display: grid;
  gap: 4px;
}

.calendar-stats strong {
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-style: italic;
  line-height: 1;
}

.calendar-stats span {
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.calendar-alert {
  display: flex;
  max-width: 1080px;
  gap: var(--s4);
  margin: 0 auto var(--s8);
  border: 1px solid #d6e0ea;
  border-left: 3px solid var(--navy);
  background: var(--navy-soft);
  padding: var(--s5) var(--s6);
}

.calendar-alert strong {
  flex: 0 0 auto;
  color: var(--navy);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.calendar-alert p {
  margin: 0;
  color: var(--grey-700);
  font-size: 14px;
  line-height: 1.6;
}

.calendar-section,
.calendar-rules {
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--s8) var(--s7);
}

.calendar-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  margin-bottom: var(--s7);
  border-bottom: 1px solid var(--ink);
  padding-bottom: var(--s4);
}

.calendar-section-head h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.calendar-section-head span {
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.calendar-timeline-full {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
}

.calendar-timeline-full::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 148px;
  width: 1px;
  background: var(--grey-200);
  content: "";
}

.timeline-item {
  display: grid;
  position: relative;
  grid-template-columns: 128px 1fr;
  gap: var(--s7);
  padding: var(--s5) 0;
}

.timeline-date {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  text-align: right;
}

.timeline-date span {
  color: var(--grey-400);
}

.timeline-body {
  position: relative;
}

.timeline-body::before {
  position: absolute;
  top: 6px;
  left: -26px;
  width: 9px;
  height: 9px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  content: "";
}

.timeline-item.past .timeline-date,
.timeline-item.past h3,
.timeline-item.past p,
.timeline-item.past .timeline-rule {
  opacity: .55;
}

.timeline-item.next .timeline-body::before {
  border-color: var(--navy);
  background: var(--navy);
  box-shadow: 0 0 0 4px var(--navy-soft);
}

.timeline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s2);
}

.timeline-chips span {
  border: 1px solid var(--grey-300);
  padding: 3px 8px;
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.timeline-item.next .timeline-chips span:first-child,
.timeline-chips span:first-child {
  border-color: var(--ink);
  color: var(--ink);
}

.timeline-body h3 {
  margin: var(--s1, 4px) 0 var(--s2);
  font-size: 21px;
  line-height: 1.12;
}

.timeline-body p {
  max-width: 620px;
  margin: 0;
  color: var(--grey-700);
  font-size: 14.5px;
  line-height: 1.6;
}

.timeline-rule {
  max-width: 620px;
  margin-top: var(--s3);
  border-left: 2px solid var(--grey-200);
  padding-left: var(--s4);
  color: var(--grey-700);
  font-size: 13.5px;
  line-height: 1.55;
}

.timeline-rule span {
  display: block;
  margin-bottom: 2px;
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.calendar-band {
  background: var(--ink);
  color: var(--white);
  padding: var(--s9) var(--s7);
}

.calendar-band div {
  max-width: 1000px;
  margin: 0 auto;
}

.calendar-band span {
  display: block;
  margin-bottom: var(--s5);
  color: rgba(255, 255, 255, .55);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
}

.calendar-band p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 4.2vw, 54px);
  font-style: italic;
  letter-spacing: -.025em;
  line-height: 1.22;
}

.rule-card {
  border-bottom: 1px solid var(--grey-200);
}

.rule-card summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5) 0;
  cursor: pointer;
  list-style: none;
}

.rule-card summary::-webkit-details-marker {
  display: none;
}

.rule-card summary span {
  font-family: var(--display);
  font-size: clamp(20px, 2.3vw, 28px);
  font-style: italic;
  line-height: 1.12;
}

.rule-card summary em {
  flex: 0 0 auto;
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 10.5px;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s6);
  padding: 0 0 var(--s7);
}

.rule-column h3 {
  margin: 0 0 var(--s3);
  border-bottom: 1px solid var(--grey-300);
  padding-bottom: var(--s2);
  font-family: var(--mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rule-column.ok h3 {
  color: #2c6b3f;
}

.rule-column.no h3 {
  color: #9a2c2c;
}

.rule-column.at h3 {
  color: var(--navy);
}

.rule-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rule-column li {
  position: relative;
  margin-bottom: var(--s3);
  padding-left: var(--s4);
  color: var(--grey-700);
  font-size: 13px;
  line-height: 1.5;
}

.rule-column li::before {
  position: absolute;
  top: 9px;
  left: 0;
  width: 5px;
  height: 1px;
  background: var(--grey-400);
  content: "";
}

.calendar-source {
  margin-top: var(--s6);
  color: var(--grey-400);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
}

.calendar-about {
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: var(--s7);
  align-items: center;
  background: var(--grey-100);
  padding: var(--s8) max(var(--s7), calc((100vw - 1240px) / 2 + var(--s7)));
}

.calendar-about div {
  border-top: 1px solid var(--ink);
  padding-top: var(--s3);
  color: var(--grey-500);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.calendar-about p {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(21px, 2.5vw, 30px);
  font-style: italic;
  letter-spacing: -.01em;
  line-height: 1.45;
}

.site-follow .wrap,
.institutional-band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--s6);
  align-items: center;
  padding-top: var(--s7);
  padding-bottom: var(--s7);
}

.site-follow h2,
.institutional-band h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.08;
}

.site-follow p,
.institutional-band p {
  max-width: 640px;
  margin: var(--s3) 0 0;
  color: var(--grey-700);
}

.follow-actions {
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.institutional-band {
  margin-top: var(--s9);
  border-top: 1px solid var(--grey-200);
  border-bottom: 1px solid var(--grey-200);
  background: var(--paper);
}

.archive-tools {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s6);
}

.search-form {
  display: flex;
  max-width: 560px;
  gap: var(--s2);
}

.search-field {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--grey-200);
  background: var(--white);
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.search-submit {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  padding: 13px 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  cursor: pointer;
}

.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.category-filter a {
  border: 1px solid var(--grey-200);
  background: var(--white);
  padding: 8px 10px;
  color: var(--grey-600);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.category-filter a:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.page-calendario-eleitoral-2026 .article-body {
  max-width: 920px;
}

.calendar-timeline {
  display: grid;
  gap: var(--s4);
  margin: var(--s6) 0;
}

.calendar-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: var(--s5);
  border-top: 1px solid var(--grey-200);
  padding-top: var(--s4);
}

.calendar-date {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.calendar-item h2,
.calendar-item h3 {
  margin: 0 0 var(--s2);
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1.1;
}

.site-footer .wrap {
  padding-top: var(--s8);
  padding-bottom: var(--s8);
}

.url {
  font-family: var(--display);
  font-style: italic;
}

@media (max-width: 880px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  .wrap {
    width: calc(100% - 48px);
  }

  .topbar,
  .main-menu {
    display: none;
  }

  .hero-grid,
  .grid3,
  .rule-grid,
  .calendar-about,
  .content-row,
  .strip .wrap,
  .site-follow .wrap,
  .institutional-band .wrap,
  .calendar-item,
  .timeline-item {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .category-rack {
    grid-template-columns: 1fr;
  }

  .news-cta,
  .calendar-hero,
  .calendar-section,
  .calendar-rules,
  .calendar-band,
  .calendar-about {
    padding-right: var(--s5);
    padding-left: var(--s5);
  }

  .calendar-alert {
    width: calc(100% - 48px);
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
  }

  .calendar-section-head,
  .rule-card summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .calendar-stats {
    gap: var(--s6);
  }

  .calendar-timeline-full::before {
    left: 7px;
  }

  .timeline-item {
    gap: var(--s2);
    padding-left: var(--s6);
  }

  .timeline-date {
    text-align: left;
  }

  .timeline-body::before {
    left: -33px;
  }

  .article-body .stat {
    flex-direction: column;
    gap: var(--s3);
  }

  .featured-cover {
    min-height: 340px;
    padding: var(--s5);
  }

  .glyph {
    right: 0;
    bottom: -18px;
    font-size: 140px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .article-head,
  .article-body,
  .author-box,
  .article-cover,
  .crumb {
    width: calc(100% - 48px);
  }

  .search-form,
  .follow-actions {
    width: 100%;
  }

  .search-submit,
  .follow-actions .btn {
    flex: 1;
  }

  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links,
  .footer-links .menu {
    width: 100%;
    flex-wrap: wrap;
    gap: var(--s3) var(--s4);
  }

  .url {
    max-width: 100%;
  }
}
