/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #f8f7f4;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --primary: #1d4ed8;
  --primary-dark: #1e40af;
  --accent: #dc2626;
  --sidebar-bg: #ffffff;
  --header-bg: #1e293b;
  --header-text: #f1f5f9;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 6px rgba(0,0,0,.07);
  --radius: 8px;
  --font: 'Roboto Serif', 'Georgia', serif;
  --font-ui: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

[data-theme="dark"] {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border: #334155;
  --primary: #60a5fa;
  --primary-dark: #3b82f6;
  --sidebar-bg: #1e293b;
  --header-bg: #0f172a;
  --header-text: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,.25);
}

html { font-size: 18px; scroll-behavior: smooth; }
body { font-family: 'Roboto', -apple-system, BlinkMacSystemFont, sans-serif; background: var(--bg); color: var(--text); line-height: 1.75; transition: background .3s, color .3s; }

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
.g1-hero-img img, .g1-thumb img { max-width: none; }

/* ===== HEADER ===== */
.site-header {
  background: var(--header-bg);
  color: var(--header-text);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 1rem;
}
.site-logo {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--header-text);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
}
.site-logo:hover { text-decoration: none; color: var(--header-text); }
.logo-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #60a5fa;
  display: inline-block;
}

.main-nav { display: flex; gap: .25rem; align-items: center; }
.main-nav a {
  color: #cbd5e1;
  font-family: var(--font-ui);
  font-size: .85rem;
  font-weight: 500;
  padding: .4rem .7rem;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { background: rgba(255,255,255,.1); color: #fff; text-decoration: none; }

.header-actions { display: flex; gap: .5rem; align-items: center; }
.dark-toggle {
  background: rgba(255,255,255,.1);
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: .4rem .6rem;
  border-radius: var(--radius);
  font-size: 1rem;
  transition: background .2s;
}
.dark-toggle:hover { background: rgba(255,255,255,.2); }

.hamburger { display: none; background: none; border: none; color: #cbd5e1; font-size: 1.3rem; cursor: pointer; padding: .3rem; }

/* ===== AD SLOT HEADER ===== */
.ad-header { text-align: center; padding: .5rem; background: var(--bg); border-bottom: 1px solid var(--border); }

/* ===== LAYOUT ===== */
.site-main { max-width: 1200px; margin: 2rem auto; padding: 0 1rem; display: grid; grid-template-columns: 1fr 320px; gap: 2rem; }
.site-main.no-sidebar { grid-template-columns: 1fr; max-width: 780px; }

/* ===== CONTENT ===== */
.content-area { min-width: 0; }

/* ===== SIDEBAR ===== */
.sidebar { min-width: 0; }
.sidebar-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}
.sidebar-block h3 {
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  border-bottom: 2px solid var(--primary);
  padding-bottom: .5rem;
  margin-bottom: 1rem;
}

/* ===== AUTHOR BLOCK ===== */
.author-block { text-align: center; }
.author-block .author-photo {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto .75rem;
  border: 3px solid var(--primary);
}
.author-block .author-name { font-family: var(--font-ui); font-weight: 700; font-size: 1rem; margin-bottom: .25rem; }
.author-block .author-desc { font-size: .78rem; color: var(--text-muted); margin-bottom: .5rem; font-family: var(--font-ui); line-height: 1.4; }
.author-block .author-bio { font-size: .85rem; color: var(--text-muted); font-style: italic; margin-bottom: .75rem; line-height: 1.5; }
.author-socials { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.author-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: var(--bg);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: .85rem;
  transition: background .2s, color .2s;
  text-decoration: none;
}
.author-socials a:hover { background: var(--primary); color: #fff; }

/* ===== SEARCH ===== */
.search-form { display: flex; gap: .5rem; }
.search-form input {
  flex: 1; padding: .5rem .75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: .9rem;
  font-family: var(--font-ui);
}
.search-form button {
  padding: .5rem .75rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: .9rem;
}
.search-form button:hover { background: var(--primary-dark); }

/* ===== POST CARDS ===== */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s;
}
.post-card:hover { box-shadow: var(--shadow-md); }
.post-card-img { width: 100%; height: 200px; object-fit: cover; }
.post-card-body { padding: 1.25rem; }
.post-card-category {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: .4rem;
}
.post-card-title { font-size: 1.2rem; font-weight: 700; line-height: 1.35; margin-bottom: .4rem; }
.post-card-title a { color: var(--text); }
.post-card-title a:hover { color: var(--primary); text-decoration: none; }
.post-card-subtitle { font-size: .9rem; color: var(--text-muted); margin-bottom: .75rem; font-family: var(--font-ui); line-height: 1.5; }
.post-card-meta { font-family: var(--font-ui); font-size: .78rem; color: var(--text-light); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.post-badge { display: inline-block; padding: .15rem .5rem; border-radius: 4px; font-size: .7rem; font-weight: 600; font-family: var(--font-ui); }
.badge-featured { background: #fef3c7; color: #92400e; }
.badge-yousee { background: #dbeafe; color: #1e40af; }

/* ===== FEATURED POST ===== */
.featured-post {
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  margin-bottom: 2rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-md);
}
.featured-post .post-card-body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.featured-post .post-card-title { font-size: 1.6rem; }
.featured-label { font-family: var(--font-ui); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--primary); margin-bottom: .5rem; }

/* ===== POST PAGE ===== */
.post-header { margin-bottom: 2rem; }
.post-header .post-category { font-family: var(--font-ui); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); }
.post-header h1 { font-size: 2rem; line-height: 1.25; margin: .5rem 0; }
.post-header .post-subtitle { font-size: 1.15rem; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; line-height: 1.5; }
.post-header .post-meta { font-family: var(--font-ui); font-size: .82rem; color: var(--text-muted); display: flex; gap: 1rem; flex-wrap: wrap; }
.post-featured-img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius); margin-bottom: .5rem; }
.post-img-caption { font-family: var(--font-ui); font-size: .78rem; color: var(--text-muted); text-align: center; font-style: italic; margin-bottom: 1.5rem; }

.post-content { font-size: 1rem; line-height: 1.85; }
.post-content p { margin-bottom: 1.25rem; }
.post-content h2 { font-size: 1.35rem; margin: 2rem 0 .75rem; }
.post-content h3 { font-size: 1.15rem; margin: 1.5rem 0 .5rem; }
.post-content blockquote { border-left: 4px solid var(--primary); padding: .75rem 1rem; margin: 1.5rem 0; background: var(--bg); color: var(--text-muted); font-style: italic; }
.post-content ul, .post-content ol { margin: 1rem 0 1rem 1.5rem; }
.post-content li { margin-bottom: .4rem; }

/* Share */
.share-block { margin: 2rem 0; padding: 1rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); }
.share-block h4 { font-family: var(--font-ui); font-size: .85rem; font-weight: 600; margin-bottom: .75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }
.share-btns { display: flex; gap: .5rem; flex-wrap: wrap; }
.share-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem .9rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity .2s;
  text-decoration: none;
  color: #fff;
}
.share-btn:hover { opacity: .85; text-decoration: none; color: #fff; }
.share-whatsapp { background: #25d366; }
.share-twitter { background: #000; }
.share-telegram { background: #0088cc; }
.share-linkedin { background: #0077b5; }
.share-copy { background: var(--text-muted); }

/* Author bio box */
.author-bio-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin: 2rem 0;
}
.author-bio-box img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.author-bio-box .author-info h4 { font-size: .95rem; font-family: var(--font-ui); font-weight: 700; margin-bottom: .25rem; }
.author-bio-box .author-info p { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }

/* Ad slots in post */
.ad-slot { margin: 1.5rem 0; text-align: center; }

/* ===== SIDEBAR LIST ===== */
.sidebar-list { list-style: none; }
.sidebar-list li { border-bottom: 1px solid var(--border); padding: .6rem 0; }
.sidebar-list li:last-child { border-bottom: none; }
.sidebar-list a { font-family: var(--font-ui); font-size: .88rem; color: var(--text); font-weight: 500; }
.sidebar-list a:hover { color: var(--primary); text-decoration: none; }
.sidebar-list .meta { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }

/* Categories list */
.cat-list { list-style: none; }
.cat-list li { display: flex; justify-content: space-between; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--border); }
.cat-list li:last-child { border-bottom: none; }
.cat-list a { font-family: var(--font-ui); font-size: .9rem; color: var(--text); font-weight: 500; }
.cat-list a:hover { color: var(--primary); text-decoration: none; }
.cat-list .count { font-family: var(--font-ui); font-size: .75rem; color: var(--text-muted); background: var(--bg); padding: .1rem .4rem; border-radius: 10px; }

/* Alert list */
.alert-list { list-style: none; }
.alert-list li { padding: .6rem 0; border-bottom: 1px solid var(--border); }
.alert-list li:last-child { border-bottom: none; }
.alert-list a { font-family: var(--font-ui); font-size: .85rem; color: var(--text); font-weight: 500; line-height: 1.4; display: block; }
.alert-list a:hover { color: var(--primary); text-decoration: none; }
.alert-list .alert-date { font-size: .72rem; color: var(--text-muted); }
.alert-pin { color: var(--accent); margin-right: .3rem; }

/* ===== PAGINATION ===== */
.pagination { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin: 2rem 0; }
.pagination a, .pagination span {
  font-family: var(--font-ui);
  font-size: .88rem;
  padding: .4rem .8rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background .2s, color .2s;
}
.pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); text-decoration: none; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== PAGE HEADERS ===== */
.page-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--border); }
.page-header h1 { font-size: 1.75rem; }
.page-header p { color: var(--text-muted); font-family: var(--font-ui); font-size: .9rem; margin-top: .5rem; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-family: var(--font-ui); font-size: .85rem; font-weight: 600; color: var(--text); margin-bottom: .4rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: .6rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  color: var(--text);
  font-size: .95rem;
  font-family: var(--font-ui);
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); }
.form-group textarea { min-height: 140px; resize: vertical; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: .7rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s;
}
.btn-primary:hover { background: var(--primary-dark); }

/* ===== ALERT MESSAGES ===== */
.alert { padding: .75rem 1rem; border-radius: var(--radius); margin-bottom: 1rem; font-family: var(--font-ui); font-size: .9rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }

/* ===== SOBRE PAGE ===== */
.about-photo { width: 200px; height: 200px; object-fit: cover; border-radius: 50%; border: 4px solid var(--primary); float: left; margin: 0 2rem 1rem 0; }
.about-content { overflow: hidden; }
.about-section { margin-bottom: 2rem; }
.about-section h2 { font-size: 1.3rem; border-bottom: 2px solid var(--primary); padding-bottom: .4rem; margin-bottom: 1rem; font-family: var(--font-ui); }

/* ===== MARKET ALERT PAGE ===== */
.alert-page-header { margin-bottom: 1.5rem; }
.alert-page-header h1 { font-size: 1.6rem; margin-bottom: .5rem; }

/* ===== FOOTER ===== */
.site-footer { background: var(--header-bg); color: #94a3b8; font-family: var(--font-ui); font-size: .85rem; margin-top: 3rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 2rem 1rem; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; }
.footer-block h4 { color: #e2e8f0; font-size: .9rem; margin-bottom .75rem; }
.footer-bottom { text-align: center; padding: 1rem; border-top: 1px solid #334155; }
.footer-nav a { color: #94a3b8; margin: 0 .5rem; }
.footer-nav a:hover { color: #e2e8f0; }

/* ===== MOBILE NAV ===== */
.mobile-nav { display: none; background: var(--header-bg); padding: .75rem 1rem; border-top: 1px solid rgba(255,255,255,.1); }
.mobile-nav a { display: block; color: #cbd5e1; padding: .5rem; font-family: var(--font-ui); font-size: .9rem; border-radius: 4px; }
.mobile-nav a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.mobile-nav.open { display: block; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-main { grid-template-columns: 1fr; }
  .featured-post { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .hamburger { display: block; }
}
@media (max-width: 600px) {
  html { font-size: 16px; }
  .post-header h1 { font-size: 1.5rem; }
  .about-photo { float: none; margin: 0 auto 1rem; display: block; }
}

/* ===== UTILITIES ===== */
.text-muted { color: var(--text-muted); }
.font-ui { font-family: var(--font-ui); }
.mb-1 { margin-bottom: .5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; }
.section-label { font-family: var(--font-ui); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
.divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* Columnist featured section */
.columnist-featured { margin-bottom: 2rem; }
.columnist-featured-header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; padding-bottom: .5rem; border-bottom: 2px solid var(--accent); }
.columnist-featured-header img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.columnist-featured-header .name { font-family: var(--font-ui); font-weight: 700; font-size: .95rem; }
.columnist-featured-header .role { font-family: var(--font-ui); font-size: .78rem; color: var(--text-muted); }



/* ===================================================
   HOME ESTILO G1 — LISTA EDITORIAL
   =================================================== */

/* HERO — notícia grande do topo: imagem esquerda + texto direita */
.g1-hero {
  display: flex;
  flex-direction: row;
  gap: 1.25rem;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  padding: 1.25rem 0;
}
.g1-hero:hover { text-decoration: none; }
.g1-hero:hover .g1-hero-title { color: var(--primary); }

.g1-hero-img {
  flex: 0 0 380px;
  width: 380px;
  height: 240px;
  overflow: hidden;
  border-radius: 4px;
}
.g1-hero-img img {
  width: 380px !important;
  height: 240px !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.g1-hero:hover .g1-hero-img img { transform: scale(1.04); }

.g1-hero-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  padding-top: .1rem;
}
.g1-hero-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
  margin: 0;
  transition: color .15s;
}
.g1-hero-sub {
  font-family: 'Roboto', sans-serif;
  font-size: .95rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* ITEM DA LISTA — imagem esquerda 200px + texto direita */
.g1-news-item {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: flex-start;
  text-decoration: none;
  color: var(--text);
  padding: 1rem 0;
}
.g1-news-item:hover { text-decoration: none; }
.g1-news-item:hover .g1-item-title { color: var(--primary); }

.g1-thumb {
  flex: 0 0 200px;
  width: 200px;
  height: 130px;
  overflow: hidden;
  border-radius: 4px;
}
.g1-thumb img {
  width: 200px !important;
  height: 130px !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
  transition: transform .35s;
}
.g1-news-item:hover .g1-thumb img { transform: scale(1.04); }

.g1-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.g1-item-title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin: 0;
  transition: color .15s;
}
.g1-item-sub {
  font-family: 'Roboto', sans-serif;
  font-size: .85rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* KICKER — editoria acima do título */
.g1-kicker {
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}

/* META — data/hora */
.g1-meta {
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  color: var(--text-light);
}

/* BYLINE — avatar + nome + data */
.g1-byline {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: .3rem;
}

/* DIVISOR */
.g1-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* SECTION LABEL */
.g1-section-label {
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: .4rem;
  margin: 1.5rem 0 0;
}

/* RESPONSIVE */
@media (max-width: 700px) {
  .g1-hero { flex-direction: column; }
  .g1-hero-img { flex: none; width: 100%; height: 200px; }
  .g1-hero-img img { width: 100% !important; height: 200px !important; }
  .g1-hero-title { font-size: 1.2rem; }
  .g1-news-item { flex-direction: column; }
  .g1-thumb { flex: none; width: 100%; height: 180px; }
  .g1-thumb img { width: 100% !important; height: 180px !important; }
}

/* ===== WEATHER WIDGET ===== */
.weather-location {
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .6rem;
}
.weather-loading {
  font-family: 'Roboto', sans-serif;
  font-size: .82rem;
  color: var(--text-muted);
  padding: .5rem 0;
}
.weather-now {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .2rem;
}
.weather-icon { font-size: 2rem; line-height: 1; }
.weather-temp {
  font-family: 'Roboto', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.weather-desc {
  font-family: 'Roboto', sans-serif;
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .4rem;
}
.weather-details {
  display: flex;
  gap: .8rem;
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
}
.weather-forecast {
  display: flex;
  gap: .4rem;
  border-top: 1px solid var(--border);
  padding-top: .65rem;
}
.forecast-day {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  font-family: 'Roboto', sans-serif;
}
.fc-day { font-size: .68rem; font-weight: 700; text-transform: uppercase; color: var(--text-muted); }
.fc-icon { font-size: 1.1rem; }
.fc-temps { font-size: .75rem; color: var(--text-muted); }
.fc-temps strong { color: var(--text); }
.rain { font-size: .65rem; color: #3b82f6; font-weight: 600; }

/* sidebar-title override */
.sidebar-title {
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: .4rem;
  margin-bottom: .85rem;
}

/* Post author byline (abaixo do título) */
.post-author-byline {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
}
.post-author-avatar {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  min-width: 28px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border);
  display: inline-block;
  vertical-align: middle;
}
.post-author-initial {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  flex-shrink: 0;
  border: 2px solid var(--border);
}

/* ===== COLUMNISTS LISTING PAGE ===== */
.columnists-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.columnist-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--bg-card);
  padding: 1.25rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  transition: background .15s;
}
.columnist-card:hover { background: color-mix(in srgb, var(--bg-card) 93%, var(--primary)); text-decoration: none; }
.columnist-card-photo {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--border);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
.columnist-card-photo img {
  width: 72px !important;
  height: 72px !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}
.columnist-card-photo span {
  color: #fff;
  font-size: 1.6rem;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
}
.columnist-card-body { flex: 1; min-width: 0; }
.columnist-card-name {
  font-family: 'Roboto', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .2rem;
  color: var(--text);
}
.columnist-card-role {
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: .3rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.columnist-card-bio {
  font-family: 'Roboto', sans-serif;
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: .5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.columnist-card-link {
  font-family: 'Roboto', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
}
@media (max-width: 600px) {
  .columnists-grid { grid-template-columns: 1fr; }
}

/* ===== PREMIUM / PAYWALL ===== */
.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  font-family: 'Roboto', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .2rem .7rem;
  border-radius: 20px;
  margin-bottom: .6rem;
}
[data-theme="dark"] .premium-badge {
  background: #451a03;
  border-color: #92400e;
  color: #fde68a;
}
.paywall-block {
  position: relative;
  margin: 0 -1rem;
  padding: 0 1rem;
}
.paywall-block::before {
  content: '';
  display: block;
  height: 80px;
  margin-top: -80px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.paywall-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin-top: 0;
}
.paywall-inner h3 {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text);
}
.paywall-inner p {
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.paywall-btn-primary {
  display: inline-block;
  padding: .7rem 1.5rem;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  transition: opacity .2s;
}
.paywall-btn-primary:hover { opacity: .85; text-decoration: none; color: #fff; }
.paywall-btn-secondary {
  display: inline-block;
  padding: .7rem 1.5rem;
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Roboto', sans-serif;
  font-size: .9rem;
  text-decoration: none;
  transition: background .2s;
}
.paywall-btn-secondary:hover { background: var(--bg); text-decoration: none; }

/* Premium icon on home listing */
.g1-premium-icon {
  display: inline-block;
  font-size: .65rem;
  background: #fef9c3;
  border: 1px solid #fde047;
  color: #854d0e;
  border-radius: 4px;
  padding: 0 .35rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  vertical-align: middle;
  margin-left: .3rem;
}

/* Pagination dots and arrows */
.pagination .pg-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-muted);
  font-size: .9rem;
  cursor: default;
}
.pagination .pg-prev,
.pagination .pg-next {
  font-size: .95rem;
  font-weight: 700;
}
