/*
Theme Name: Revista Tempo Digital
Theme URI: https://revistatempodigital.com.br/
Author: T3 Comunicação
Author URI: https://t3comunicacao.com/
Description: Tema oficial da Revista Tempo Digital — portal de notícias de Goiás, Itumbiara e região.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: revista-tempo-digital
Tags: news, magazine, custom-colors, custom-logo, featured-images, flexible-header, full-width-template
*/

/* ─── Neutraliza interferências de plugins ─── */
body { margin: 0 !important; padding: 0 !important; }
body.home { background: #fff !important; }

/* Fonte padrão do Elementor não deve sobrescrever o tema */
body, p, h1, h2, h3, h4, h5, h6, a {
  font-family: var(--sans, 'Inter', system-ui, sans-serif);
}

/* ─── Variables ─── */
:root {
  --gold: #FF5200;
  --gold-light: #CC4200;
  --gold-pale: #fff3ee;
  --black: #111111;
  --dark: #1a1a1a;
  --dark2: #222222;
  --gray: #555;
  --gray-light: #888;
  --border: #e5e5e5;
  --white: #ffffff;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Inter', system-ui, sans-serif;
}

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

body { font-family: var(--sans); background: #fff; color: var(--black); font-size: 15px; line-height: 1.6; }

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

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

/* ─── HEADER ─── */
.rtd-header-top {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 8px rgba(0,0,0,.06);
}
.rtd-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.rtd-header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 12px;
  width: 220px;
  color: var(--gray);
  font-size: 13px;
  transition: border-color .2s;
}
.rtd-header-search:focus-within { border-color: var(--gold); }
.rtd-header-search input { border: none; outline: none; background: none; font-size: 13px; width: 100%; color: var(--black); }
.rtd-header-search svg { flex-shrink: 0; color: var(--gray-light); }

.rtd-header-logo {
  text-align: center;
  flex: 1;
}
.rtd-header-logo .custom-logo-link,
.rtd-header-logo a {
  display: inline-block;
  line-height: 0;
}
.rtd-header-logo .custom-logo,
.rtd-header-logo img {
  height: 52px !important;
  width: auto !important;
  max-width: 240px !important;
  display: block;
}

.rtd-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-entrar {
  font-size: 13px;
  font-weight: 500;
  color: var(--black);
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: all .2s;
}
.btn-entrar:hover { border-color: var(--gold); color: var(--gold); }

.btn-assine {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  padding: 7px 18px;
  border-radius: 6px;
  letter-spacing: .5px;
  transition: background .2s;
}
.btn-assine:hover { background: var(--gold-light); }

/* ─── NAVBAR ─── */
.rtd-navbar {
  background: var(--black);
  position: sticky;
  top: 73px;
  z-index: 99;
}
.rtd-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rtd-navbar-inner::-webkit-scrollbar { display: none; }
.rtd-navbar-inner a,
.rtd-navbar-inner .menu-item a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  padding: 13px 13px;
  white-space: nowrap;
  transition: color .2s;
  border-bottom: 2px solid transparent;
  display: block;
}
.rtd-navbar-inner a:hover,
.rtd-navbar-inner .menu-item a:hover { color: #fff; }
.rtd-navbar-inner .current-menu-item > a,
.rtd-navbar-inner a.active { color: var(--gold); border-bottom-color: var(--gold); }
/* WordPress menu ul reset */
.rtd-navbar-inner ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 2px; }
.rtd-navbar-inner ul li { display: flex; }
.rtd-navbar-inner > ul { flex-shrink: 0; }

/* ─── PROMO BANNER ─── */
.rtd-promo-banner {
  background: var(--gold);
  text-align: center;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.rtd-promo-banner p {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  letter-spacing: .3px;
}
.rtd-promo-banner p span { font-weight: 400; }
.btn-ghost {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
  padding: 5px 16px;
  border-radius: 6px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: all .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.15); border-color: #fff; }

/* ─── CONTAINER ─── */
.rtd-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ─── SECTION HEADERS ─── */
.section-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--black);
  border-bottom: 3px solid var(--gold);
  padding-bottom: 10px;
  margin-bottom: 24px;
  display: inline-block;
}
.section-title.white { color: #fff; border-bottom-color: var(--gold); }

/* ─── CATEGORY BADGE ─── */
.cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}
.cat.white { color: var(--gold); }
.cat-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: var(--gold);
  color: #fff;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-block;
}

/* ─── IMAGE WRAPPER (zoom hover) ─── */
.img-wrap { overflow: hidden; }
.img-wrap img { transition: transform .4s ease; width: 100%; height: 100%; object-fit: cover; }
.img-wrap:hover img { transform: scale(1.05); }

/* ─── SECTION 0: EDIÇÃO ATUAL ─── */
.edicao-atual {
  background: var(--dark);
  padding: 36px 0 44px;
}

/* Cabeçalho da seção */
.edicao-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.edicao-titulo-wrap { display: flex; align-items: center; gap: 8px; }
.edicao-titulo-num {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}
.edicao-titulo-data {
  font-size: 14px;
  color: var(--gold);
  font-weight: 400;
}
.edicao-anteriores-link {
  font-size: 13px;
  color: rgba(255,255,255,.7);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color .2s;
}
.edicao-anteriores-link:hover { color: #fff; }

/* Swiper container */
.rtd-edicao-swiper { overflow: hidden; padding-bottom: 36px; }

/* Slide: Capa */
.edicao-capa-slide { width: 180px !important; flex-shrink: 0; }
.edicao-capa-link {
  display: block;
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
  height: 260px;
}
.edicao-capa-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.edicao-capa-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dark2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.4);
  font-family: var(--serif);
  font-size: 14px;
  text-align: center;
  padding: 16px;
}
.edicao-capa-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .5px;
  opacity: 0;
  transition: opacity .25s;
}
.edicao-capa-link:hover .edicao-capa-overlay { opacity: 1; }

/* Slide: Card artigo */
.edicao-card-slide { width: 220px !important; flex-shrink: 0; }
.edicao-article-card {
  display: flex;
  flex-direction: column;
  background: #2D3239;
  border-radius: 6px;
  overflow: hidden;
  height: 260px;
  transition: transform .2s;
  cursor: pointer;
}
.edicao-article-card:hover { transform: translateY(-3px); }
.edicao-card-img {
  position: relative;
  flex: 1;
  overflow: hidden;
}
.edicao-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.edicao-article-card:hover .edicao-card-img img { transform: scale(1.05); }
.edicao-card-body {
  padding: 12px 14px 14px;
  background: #2D3239;
}
.edicao-card-body h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}
.edicao-article-card:hover .edicao-card-body h3 { color: var(--gold); }
.edicao-card-author {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.55);
  letter-spacing: .5px;
  text-transform: uppercase;
}

/* Badge Gratuito */
.rtd-badge-gratuito {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px 3px 7px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

/* Dots de paginação */
.rtd-edicao-dots {
  text-align: center;
  margin-top: 4px;
}
.rtd-edicao-dots .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255,255,255,.3);
  opacity: 1;
  border-radius: 50%;
  transition: background .2s, width .2s;
}
.rtd-edicao-dots .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
  .edicao-capa-slide { width: 140px !important; }
  .edicao-card-slide { width: 170px !important; }
  .edicao-capa-link, .edicao-article-card { height: 210px; }
}

/* ─── (CSS legado da grid estática — mantido para compatibilidade) ─── */
.edicao-grid {
  display: grid;
  grid-template-columns: 200px repeat(4, 1fr);
  gap: 20px;
  align-items: start;
}
.edicao-capa .img-wrap {
  height: 280px;
  border-radius: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,.5);
}
.edicao-capa-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.edicao-card {
  border-left: 1px solid rgba(255,255,255,.1);
  padding-left: 20px;
}
.edicao-card .img-wrap {
  height: 130px;
  border-radius: 3px;
  margin-bottom: 12px;
}
.edicao-card h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-bottom: 8px;
}
.edicao-card h3:hover { color: var(--gold); }
.edicao-card .author { font-size: 12px; color: var(--gold); }

/* ─── SECTION 2: DESTAQUE + SIDEBAR ─── */
.destaque-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding: 44px 0;
  align-items: start;
}
.destaque-main .img-wrap {
  height: 360px;
  border-radius: 6px;
  margin-bottom: 16px;
}
.destaque-main h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 12px;
  color: var(--black);
}
.destaque-main h2:hover { color: var(--gold); cursor: pointer; }
.destaque-main p { font-size: 15px; color: var(--gray); line-height: 1.7; }

/* sidebar */
.rtd-sidebar { display: flex; flex-direction: column; gap: 24px; }

.newsletter-widget {
  background: var(--gold-pale);
  border: 1px solid #ffd6c0;
  border-radius: 8px;
  padding: 20px;
}
.newsletter-widget h4 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.newsletter-widget p { font-size: 13px; color: var(--gray); margin-bottom: 14px; line-height: 1.5; }
.newsletter-widget input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 9px 12px;
  font-size: 13px;
  margin-bottom: 8px;
  outline: none;
  transition: border-color .2s;
}
.newsletter-widget input:focus { border-color: var(--gold); }
.newsletter-widget button {
  width: 100%;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.newsletter-widget button:hover { background: var(--gold-light); }

.sidebar-news h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  border-bottom: 2px solid var(--border);
  padding-bottom: 8px;
  margin-bottom: 14px;
}
.sidebar-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item .img-wrap { width: 72px; height: 56px; flex-shrink: 0; border-radius: 4px; }
.sidebar-item-text .cat { display: block; margin-bottom: 3px; }
.sidebar-item-text h5 {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--black);
}
.sidebar-item-text h5:hover { color: var(--gold); }
.sidebar-item-text .time { font-size: 11px; color: var(--gray-light); margin-top: 4px; }

/* ─── SECTION 3: FEED ─── */
.feed-row {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  padding-bottom: 44px;
  align-items: start;
}
.feed-card-big {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}
.feed-card-big .img-wrap { height: 220px; border-radius: 6px; }
.feed-card-big-text { display: flex; flex-direction: column; justify-content: center; }
.feed-card-big-text h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  margin: 8px 0 12px;
  cursor: pointer;
}
.feed-card-big-text h3:hover { color: var(--gold); }
.feed-card-big-text p { font-size: 14px; color: var(--gray); line-height: 1.7; }

.feed-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  cursor: pointer;
}
.feed-card .img-wrap { height: 160px; border-radius: 5px; margin-bottom: 12px; }
.feed-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0 8px;
}
.feed-card h3:hover { color: var(--gold); }
.feed-card .meta { font-size: 12px; color: var(--gray-light); }

/* ─── SECTION 4: GRID 4 COLUNAS ─── */
.grid-4 {
  padding: 44px 0;
  background: #f9f9f9;
}
.grid-4-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.article-card { cursor: pointer; }
.article-card .img-wrap { height: 180px; border-radius: 5px; margin-bottom: 12px; }
.article-card h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 6px 0 8px;
  color: var(--black);
}
.article-card h3:hover { color: var(--gold); }
.article-card .author { font-size: 12px; color: var(--gray); }
.article-card .date { font-size: 11px; color: var(--gray-light); margin-top: 3px; }

/* ─── SECTION 5: NO PONTO ─── */
.no-ponto {
  background: var(--dark);
  padding: 44px 0;
}
.no-ponto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.np-card {
  background: var(--dark2);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s;
}
.np-card:hover { transform: translateY(-3px); }
.np-card .img-wrap { height: 160px; }
.np-card-body { padding: 16px; }
.np-card-body h3 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin-top: 8px;
}
.np-card-body h3:hover { color: var(--gold); }
.np-card-body .author { font-size: 12px; color: rgba(255,255,255,.5); margin-top: 8px; }

/* ─── SECTION 6: COLUNISTAS ─── */
.colunistas {
  background: var(--dark);
  padding: 44px 0;
}
.colunistas-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: none;
  margin-top: 28px;
}
.colunistas-scroll::-webkit-scrollbar { display: none; }
.colunista-card {
  flex-shrink: 0;
  width: 160px;
  text-align: center;
  cursor: pointer;
}
.colunista-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 12px;
  border: 2px solid var(--gold);
  filter: grayscale(100%);
  transition: filter .3s;
}
.colunista-card:hover .colunista-avatar { filter: grayscale(0%); }
.colunista-avatar img { width: 100%; height: 100%; object-fit: cover; }
.colunista-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.colunista-bio { font-size: 11px; color: rgba(255,255,255,.5); line-height: 1.5; }

/* ─── SECTION 7: CATEGORIAS ─── */
.cat-section {
  padding: 44px 0;
  border-bottom: 1px solid var(--border);
}
.cat-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}
.btn-ver-todas {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 7px 18px;
  border-radius: 6px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: all .2s;
}
.btn-ver-todas:hover { background: var(--gold); color: #fff; }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.cat-card { cursor: pointer; }
.cat-card .img-wrap { height: 170px; border-radius: 5px; margin-bottom: 12px; }
.cat-card h3 {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
}
.cat-card h3:hover { color: var(--gold); }
.cat-card .meta { font-size: 12px; color: var(--gray-light); margin-top: 6px; }

/* ─── SECTION 8: NEWSLETTER CTA ─── */
.newsletter-cta {
  background: var(--gold-pale);
  border-top: 3px solid var(--gold);
  padding: 56px 0;
  text-align: center;
}
.newsletter-cta h2 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
}
.newsletter-cta p {
  font-size: 15px;
  color: var(--gray);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--gold-light); }

/* ─── FOOTER ─── */
.rtd-footer {
  background: var(--black);
  padding: 56px 0 32px;
  color: rgba(255,255,255,.7);
}
.rtd-footer-top {
  display: grid;
  grid-template-columns: 280px 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.rtd-footer-brand p {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
  margin-top: 10px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  transition: all .2s;
}
.footer-social a:hover { border-color: var(--gold); background: rgba(255,82,0,.15); }
.rtd-footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.rtd-footer-col ul { list-style: none; }
.rtd-footer-col ul li { margin-bottom: 10px; }
.rtd-footer-col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.rtd-footer-col ul li a:hover { color: #fff; }
.rtd-footer-bottom {
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,.3);
}

/* ─── SCROLL UP ─── */
.rtd-scroll-up {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px; height: 42px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: background .2s, opacity .2s;
  z-index: 200;
  opacity: 0;
}
.rtd-scroll-up.visible { opacity: 1; }
.rtd-scroll-up:hover { background: var(--gold-light); }

/* ─── SINGLE POST ─── */
.rtd-breadcrumb {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.rtd-breadcrumb a { color: var(--gold); }
.rtd-breadcrumb a:hover { text-decoration: underline; }
.rtd-breadcrumb .sep { color: var(--border); }

.rtd-single-title {
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 16px;
}

.rtd-single-meta {
  font-size: 13px;
  color: var(--gray-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.rtd-single-meta .sep { color: var(--border); }

.rtd-single-thumb {
  margin-bottom: 32px;
}
.rtd-thumb-caption {
  font-size: 12px;
  color: var(--gray-light);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.rtd-single-content {
  font-size: 17px;
  line-height: 1.8;
  color: #222;
}
.rtd-single-content p { margin-bottom: 20px; }
.rtd-single-content h2 { font-family: var(--serif); font-size: 24px; font-weight: 700; margin: 32px 0 14px; }
.rtd-single-content h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; margin: 28px 0 12px; }
.rtd-single-content img { border-radius: 6px; margin: 24px 0; max-width: 100%; }
.rtd-single-content a { color: var(--gold); text-decoration: underline; }
.rtd-single-content ul, .rtd-single-content ol { padding-left: 24px; margin-bottom: 20px; }
.rtd-single-content li { margin-bottom: 8px; }
.rtd-single-content blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--gold-pale);
  border-radius: 0 6px 6px 0;
  font-style: italic;
  font-size: 18px;
}

.rtd-single-tags {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.rtd-tag {
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  transition: background .2s;
}
.rtd-tag:hover { background: var(--gold); color: #fff; }

.rtd-related {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.rtd-related-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.sidebar-newsletter {
  background: var(--gold-pale);
  border: 1px solid rgba(255,82,0,.2);
  border-radius: 8px;
  padding: 20px;
}
.sidebar-newsletter h5 {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.sidebar-newsletter p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

/* ─── PAYWALL ─── */
.rtd-paywall {
  position: relative;
  margin-top: -80px;
}
.rtd-paywall-fade {
  height: 120px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff);
  pointer-events: none;
}
.rtd-paywall-box {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 12px;
  padding: 40px 36px;
  text-align: center;
  box-shadow: 0 8px 40px rgba(255,82,0,.1);
}
.rtd-paywall-badge {
  display: inline-block;
  background: var(--gold);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.rtd-paywall-box h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
}
.rtd-paywall-box > p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 28px;
}
.rtd-paywall-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}
.rtd-pw-btn-primary {
  display: block;
  background: var(--gold);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 15px;
  border-radius: 8px;
  transition: background .2s;
}
.rtd-pw-btn-primary:hover { background: var(--gold-light); }
.rtd-pw-btn-secondary {
  display: block;
  background: #fff;
  color: var(--gold) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 13px;
  border-radius: 8px;
  border: 2px solid var(--gold);
  transition: all .2s;
}
.rtd-pw-btn-secondary:hover { background: var(--gold-pale); }
.rtd-paywall-note {
  font-size: 12px;
  color: var(--gray-light);
  margin-top: 16px !important;
}

/* ─── MOBILE MENU ─── */
.rtd-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--black);
  flex-shrink: 0;
}
.rtd-mobile-search-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--black);
  flex-shrink: 0;
}
.rtd-mobile-search-bar {
  display: none;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 16px;
}
.rtd-mobile-search-bar.open { display: flex; }
.rtd-mobile-search-bar form {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
}
.rtd-mobile-search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: none;
}
.rtd-mobile-search-bar button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-light);
  padding: 0;
  display: flex;
}

/* Overlay */
.rtd-mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 9998;
}
.rtd-mobile-overlay.open { display: block; }

/* Drawer */
.rtd-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100dvh;
  width: 88vw;
  max-width: 360px;
  background: #fff;
  z-index: 9999;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
}
.rtd-mobile-drawer.open { transform: translateX(0); }

.rtd-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.rtd-drawer-logo {
  height: 36px;
  width: auto;
}
.rtd-drawer-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--black);
  display: flex;
}

.rtd-drawer-search {
  padding: 16px 20px 4px;
}
.rtd-drawer-search form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
}
.rtd-drawer-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: none;
  color: var(--black);
}
.rtd-drawer-search svg { color: var(--gray-light); flex-shrink: 0; }

.rtd-drawer-assine {
  display: block;
  background: var(--black);
  color: var(--gold) !important;
  text-align: center;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 2px;
  padding: 14px;
  border-radius: 6px;
  margin-top: 14px;
  transition: background .2s;
}
.rtd-drawer-assine:hover { background: var(--dark2); }

.rtd-drawer-section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-light);
  padding: 20px 20px 8px;
}

.rtd-mobile-nav {
  list-style: none;
  flex: 1;
}
.rtd-mobile-nav li {
  border-bottom: 1px solid var(--border);
}
.rtd-mobile-nav li a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  transition: color .15s, background .15s;
}
.rtd-mobile-nav li a:hover,
.rtd-mobile-nav li a.active {
  color: var(--gold);
  background: var(--gold-pale);
}
.rtd-nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gold-pale);
  color: var(--gold);
  flex-shrink: 0;
}

.rtd-mobile-nav-small li a {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray);
  padding: 13px 20px;
  gap: 0;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .edicao-grid { grid-template-columns: 1fr 1fr; }
  .destaque-row, .feed-row { grid-template-columns: 1fr; }
  .rtd-sidebar { display: none; }
  .grid-4-inner, .no-ponto-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
  .rtd-footer-top { grid-template-columns: 1fr 1fr; }
  .rtd-single-title { font-size: 26px; }
  .rtd-related > div { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  /* Mostrar hamburguer e ícone de busca; esconder desktop search e actions */
  .rtd-hamburger { display: flex; }
  .rtd-mobile-search-btn { display: flex; }
  .rtd-header-search { display: none; }
  .rtd-header-actions { display: none; }

  /* Header mobile: hamburguer | logo | busca */
  .rtd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
  }
  .rtd-header-logo .custom-logo,
  .rtd-header-logo img {
    height: 40px !important;
  }

  /* Navbar desktop some no mobile */
  .rtd-navbar { display: none; }

  /* Promo banner compacto */
  .rtd-promo-banner {
    flex-direction: column;
    gap: 10px;
    padding: 14px 16px;
    text-align: center;
  }
  .rtd-promo-banner p { font-size: 13px; }
}
@media (max-width: 600px) {
  .edicao-grid { grid-template-columns: 1fr; }
  .grid-4-inner, .no-ponto-grid, .cat-grid { grid-template-columns: 1fr; }
  .rtd-footer-top { grid-template-columns: 1fr; }
  .feed-card-big { grid-template-columns: 1fr; }
}
