/* Broadsheet Editorial Theme — MerkaPulse */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.paper-body {
  margin: 0;
  background: #E8E4DA;
  color: #141413;
  font-family: 'Noto Sans', Georgia, serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.hidden { display: none !important; }

.read-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: #A61C1C; z-index: 1000; transition: width 0.08s linear;
}

.paper-sheet {
  width: 100%;
  max-width: 1200px;
  margin: 18px auto;
  background: #F6F4EE;
  border: 1px solid #CFC9BC;
  box-shadow: 0 12px 38px rgba(15, 14, 12, 0.14);
  padding: 20px 28px 28px;
}

/* Faixa superior 4 colunas */
.top-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #C8C2B5;
  padding-bottom: 12px;
  margin-bottom: 14px;
}
.top-strip-col {
  padding: 0 14px;
  border-right: 1px solid #C8C2B5;
}
.top-strip-col:first-child { padding-left: 0; }
.top-strip-col:last-child { border-right: none; padding-right: 0; }
.strip-cat {
  display: block;
  font-family: 'Noto Serif', 'Liberation Serif', Georgia, serif;
  font-weight: 700;
  font-size: 0.92rem;
  color: #121212;
  margin-bottom: 3px;
}
.strip-cat:hover { color: #A61C1C; }
.strip-teaser {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.35;
  color: #4D4B46;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.edition-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.edition-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #121212;
}
.yt-inline { color: #A61C1C; font-weight: 700; }
.yt-inline:hover { text-decoration: underline; }

.lang-switch {
  display: inline-flex;
  border: 1px solid #141413;
  background: #FDFCF9;
}
.lang-switch a {
  padding: 2px 8px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #141413;
}
.lang-switch a.active {
  background: #141413;
  color: #F6F4EE;
}

/* Cabeçalho monumental (Masthead) */
.masthead { text-align: center; margin-bottom: 16px; }
.masthead-title {
  display: inline-block;
  font-family: 'Noto Serif', 'Liberation Serif', 'DejaVu Serif', Georgia, serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 6.2vw, 4.7rem);
  letter-spacing: 0.02em;
  line-height: 1.02;
  color: #111111;
}
.masthead-sub {
  margin: 4px 0 14px;
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-size: 0.92rem;
  color: #3E3D39;
}
.dateline-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 2px solid #141413;
  border-bottom: 2px solid #141413;
  padding: 6px 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1A1A19;
}
.dateline-center { font-weight: 800; }

.paper-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  border-bottom: 1px solid #C8C2B5;
  padding: 8px 0;
}
.paper-nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.paper-nav-links a:hover { color: #A61C1C; }
.paper-nav-links .nav-red { color: #A61C1C; }

.paper-search input {
  background: #FDFCF9;
  border: 1px solid #BEB7A8;
  color: #141413;
  padding: 5px 11px;
  font-size: 0.8rem;
  min-width: 210px;
  outline: none;
}
.paper-search input:focus { border-color: #141413; }

.paper-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.paper-pill {
  background: #FDFCF9;
  border: 1px solid #C8C2B5;
  color: #2B2A27;
  padding: 4px 12px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.paper-pill:hover { border-color: #141413; }
.paper-pill.active { background: #141413; border-color: #141413; color: #F6F4EE; }

.section-bar-dark {
  background: #141413;
  color: #F6F4EE;
  font-family: 'Noto Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 10px;
  margin-bottom: 14px;
}

.red-link {
  color: #A61C1C;
  font-size: 0.8rem;
  font-weight: 700;
}
.red-link:hover { text-decoration: underline; }

.byline {
  font-size: 0.78rem;
  color: #46443F;
  margin: 4px 0 10px;
}
.paper-photo {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #C8C2B5;
  background: #DFDBD0;
}
.photo-caption {
  margin: 5px 0 10px;
  font-size: 0.72rem;
  font-style: italic;
  color: #55534D;
}

/* Grid principal 3 colunas estilo jornal */
.frontpage-grid {
  display: grid;
  grid-template-columns: 1fr 2.25fr 1.05fr;
  gap: 0;
  border-bottom: 2px solid #141413;
  padding-bottom: 22px;
}
.col-left {
  padding-right: 18px;
  border-right: 1px solid #C8C2B5;
}
.col-center {
  padding: 0 22px;
  border-right: 1px solid #C8C2B5;
}
.col-right {
  padding-left: 18px;
}

.left-story {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #D5CFC2;
}
.left-story h3, .left-feature h3 {
  font-family: 'Noto Serif', 'Liberation Serif', Georgia, serif;
  font-size: 1.06rem;
  line-height: 1.22;
  margin: 0 0 6px;
}
.left-story h3 a:hover, .left-feature h3 a:hover,
.lead-headline a:hover, .secondary-story h2 a:hover,
.right-story h2 a:hover, .paper-card h3 a:hover { color: #A61C1C; }

.left-story p, .left-feature p {
  font-size: 0.82rem;
  line-height: 1.45;
  color: #2E2D2A;
  margin: 0 0 6px;
}
.left-feature .paper-photo { margin-bottom: 10px; }

.lead-headline {
  font-family: 'Noto Serif', 'Liberation Serif', Georgia, serif;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.08;
  margin: 0 0 12px;
  color: #111111;
}
.lead-deck {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.32;
  color: #1A1A19;
  margin: 0 0 8px;
}
.news-columns.cols-3 {
  column-count: 3;
  column-gap: 18px;
  column-rule: 1px solid #DDD7CA;
  font-size: 0.82rem;
  line-height: 1.48;
  color: #242320;
  text-align: justify;
}
.news-columns p { margin: 0 0 10px; }
.story-cta { margin-top: 8px; text-align: right; }

.secondary-story {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 2px solid #141413;
}
.secondary-story h2 {
  font-family: 'Noto Serif', 'Liberation Serif', Georgia, serif;
  font-size: 1.52rem;
  line-height: 1.16;
  margin: 0 0 6px;
}

.right-story {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #C8C2B5;
}
.right-story .paper-photo { margin-bottom: 10px; }
.right-story h2 {
  font-family: 'Noto Serif', 'Liberation Serif', Georgia, serif;
  font-size: 1.36rem;
  line-height: 1.15;
  margin: 0 0 8px;
}
.right-deck {
  font-family: 'Noto Serif', Georgia, serif;
  font-style: italic;
  font-size: 0.86rem;
  line-height: 1.35;
  color: #2B2A27;
  margin: 0 0 6px;
}
.right-copy {
  font-size: 0.81rem;
  line-height: 1.46;
  color: #2A2926;
  margin: 0 0 8px;
}

.contents-box {
  background: #FAF8F2;
  border: 1px solid #C8C2B5;
  padding: 12px;
  margin-bottom: 16px;
}
.contents-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contents-list li { margin-bottom: 6px; font-size: 0.8rem; font-weight: 600; }
.contents-list a { display: flex; align-items: baseline; gap: 6px; }
.contents-list a:hover { color: #A61C1C; }
.contents-list .dots { flex: 1; border-bottom: 1px dotted #9A9589; }

.edition-callout {
  border-left: 3px solid #A61C1C;
  padding: 4px 0 4px 12px;
  margin-bottom: 18px;
}
.edition-callout h4 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 0.94rem;
  margin: 0 0 4px;
}
.edition-callout p {
  font-size: 0.78rem;
  color: #46443F;
  margin: 0 0 6px;
}

.press-stamp {
  border-top: 1px solid #C8C2B5;
  padding-top: 14px;
  text-align: center;
}
.stamp-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-align: left;
  margin-bottom: 8px;
}
.stamp-head img { border-radius: 6px; }
.stamp-head strong { display: block; font-family: 'Noto Serif', Georgia, serif; font-size: 0.92rem; line-height: 1.1; }
.stamp-head span { font-size: 0.66rem; letter-spacing: 0.08em; color: #55534D; }
.barcode { display: block; margin: 0 auto; }

/* Faixa panorâmica inferior */
.skyline-banner {
  position: relative;
  margin-top: 18px;
  border: 1px solid #BEB7A8;
  overflow: hidden;
  min-height: 155px;
  background: #0D1C2E;
}
.skyline-banner img {
  width: 100%;
  height: 175px;
  object-fit: cover;
  display: block;
}
.skyline-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 17, 29, 0.25) 0%, rgba(8, 17, 29, 0.84) 68%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 28px;
  color: #F8FAFC;
  flex-wrap: wrap;
}
.skyline-overlay h3 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.45rem;
  margin: 0 0 4px;
}
.skyline-overlay p { margin: 0; font-size: 0.86rem; color: #DCE6F2; }
.skyline-btn {
  background: #FDFCF9;
  color: #141413;
  padding: 9px 16px;
  font-size: 0.8rem;
  font-weight: 800;
  border: 1px solid #141413;
}
.skyline-btn:hover { background: #A61C1C; color: #FFFFFF; border-color: #A61C1C; }

/* Grade filtrada e Leia Também */
.filtered-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.paper-card {
  background: #FDFCF9;
  border: 1px solid #C8C2B5;
  padding: 16px;
}
.mini-cat {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #A61C1C;
  margin-bottom: 6px;
}
.paper-card h3 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0 0 8px;
}
.paper-card p { font-size: 0.84rem; color: #353430; margin: 0 0 10px; }

/* Página de Artigo */
.paper-breadcrumb {
  font-size: 0.78rem;
  color: #55534D;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.paper-breadcrumb a:hover { color: #A61C1C; }
.paper-article { max-width: 800px; margin: 0 auto 36px; }
.paper-art-header h1 {
  font-family: 'Noto Serif', 'Liberation Serif', Georgia, serif;
  font-size: clamp(1.8rem, 3.6vw, 2.75rem);
  line-height: 1.1;
  margin: 4px 0 12px;
}
.paper-art-figure { margin: 0 0 22px; }
.paper-takeaways {
  background: #FDFCF9;
  border: 1px solid #C8C2B5;
  border-top: 3px solid #141413;
  padding: 16px 20px;
  margin-bottom: 24px;
}
.paper-takeaways ul { margin: 0; padding-left: 20px; font-size: 0.94rem; }
.paper-takeaways li { margin-bottom: 6px; }
.paper-article-prose p { font-size: 1.04rem; line-height: 1.72; margin: 0 0 18px; color: #191917; }
.paper-article-prose p:first-of-type::first-letter {
  float: left;
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 3.3rem;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  font-weight: 700;
  color: #141413;
}
.paper-page-prose h2 {
  font-family: 'Noto Serif', Georgia, serif;
  font-size: 1.35rem;
  border-bottom: 1px solid #C8C2B5;
  padding-bottom: 4px;
  margin: 26px 0 10px;
}
.paper-art-footer {
  border-top: 2px solid #141413;
  padding-top: 14px;
  margin-top: 24px;
  font-size: 0.86rem;
}
.kw-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.kw-chip {
  font-size: 0.74rem;
  background: #EAE6DC;
  border: 1px solid #C8C2B5;
  padding: 2px 8px;
}
.paper-related { border-top: 2px solid #141413; padding-top: 18px; }

.paper-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 2px solid #141413;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: #46443F;
}
.empty-state { text-align: center; padding: 24px; border: 1px dashed #B5AEA0; color: #46443F; }

@media (max-width: 960px) {
  .top-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .top-strip-col { border-right: none; padding: 0; border-bottom: 1px solid #D8D2C5; padding-bottom: 8px; }
  .frontpage-grid { grid-template-columns: 1fr; gap: 22px; }
  .col-left, .col-center, .col-right { border-right: none; padding: 0; }
  .news-columns.cols-3 { column-count: 1; text-align: left; }
  .filtered-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .paper-sheet { margin: 0; padding: 14px 16px 22px; border: none; }
  .top-strip { grid-template-columns: 1fr; padding-bottom: 8px; }
  .top-strip-col:not(.top-strip-edition) { display: none; }
  .paper-search, .paper-search input { width: 100%; }
  .skyline-banner img { height: 220px; }
}
