/*
Theme Name: Blog Theme Sabrine
Theme URI: https://example.com
Author: Sabrine
Author URI: https://example.com
Description: Um tema de blog moderno e responsivo
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blog-theme-sabrine
Domain Path: /languages
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
  --primary-color: #F2378E;
  --accent-color: #F2378E;
  --text-color: #333;
  --light-text: #666;
  --border-color: #e0e0e0;
  --bg-light: #fafafa;
  --white: #ffffff;
}

html {
  scroll-behavior: smooth;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4, h5, h6 {
  margin: 20px 0;
  color: #222;
  line-height: 1.2;
  font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 15px;
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

/* Ticker de Notícias */
.news-ticker {
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 36px;
  overflow: hidden;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 110;
  width: 100%;
}

.ticker-inner {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  padding: 0 80px;
  gap: 12px;
}

.ticker-label {
  background-color: var(--white);
  color: var(--primary-color);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.ticker-wrapper {
  flex: 1;
  overflow: hidden;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
  animation-delay: -10s;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  color: var(--white);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  padding: 0 32px;
  transition: color 0.2s ease;
}

.ticker-item:hover {
  color: rgba(255,255,255,0.75);
}

.ticker-dot {
  margin-right: 12px;
  opacity: 0.6;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Header */
.site-header {
  background-color: var(--white);
  border-bottom: 0.5px solid var(--border-color);
  padding: 6px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  position: fixed;
  top: 36px;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
}

/* Categories Navigation */
.categories-nav {
  background-color: #111111;
  border-bottom: none;
  padding: 0;
  position: fixed;
  top: calc(36px + 102px);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 99;
}

.categories-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 40px;
  overflow-x: auto;
  padding: 0 20px;
  margin: 0;
  flex-wrap: nowrap;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.categories-list li {
  margin: 0;
  white-space: nowrap;
}

.categories-list a {
  display: block;
  padding: 16px 0;
  color: var(--white);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.categories-list a:hover {
  color: var(--white);
  border-bottom-color: var(--primary-color);
}

.categories-list a.active {
  color: var(--white);
  border-bottom-color: var(--primary-color);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 80px;
}

.site-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.site-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  width: 180px;
  height: 180px;
  display: block;
  object-fit: contain;
  margin: -45px auto;
  pointer-events: none;
}

.site-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

/* Menu Toggle Button */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  z-index: 101;
  transition: all 0.3s ease;
  color: #999999;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.menu-toggle:hover {
  transform: scale(1.1);
}

.menu-toggle i {
  width: 32px;
  height: 32px;
  stroke-width: 2;
}

/* Search Header */
.search-header {
  flex-shrink: 0;
}

.search-header .search-form {
  display: flex;
  gap: 0;
  margin: 0;
  position: relative;
  align-items: center;
}

.search-header .search-form input {
  width: 320px;
  height: 48px;
  padding: 12px 16px 12px 52px;
  border: 0.5px solid var(--border-color);
  border-radius: 25px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: var(--white);
}

.search-header .search-form input::placeholder {
  color: #999;
}

.search-header .search-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(242, 55, 142, 0.1);
}

.search-icon {
  position: absolute;
  left: 12px;
  width: 24px;
  height: 24px;
  color: var(--primary-color);
  stroke-width: 2;
  pointer-events: none;
}

/* Botão toggle (só aparece no mobile) */
.search-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--primary-color);
  align-items: center;
  justify-content: center;
}

.search-toggle svg {
  width: 26px;
  height: 26px;
  stroke-width: 2;
}

/* Botão X dentro do form (só aparece no mobile ativo) */
.search-form button.search-close {
  display: none;
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: #666;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  box-shadow: none;
}

.search-form button.search-close:hover {
  background: transparent;
  transform: translateY(-50%);
  color: #000;
}

.search-form button.search-close svg {
  width: 22px;
  height: 22px;
  stroke-width: 2;
}

/* Sidebar Menu */
.sidebar-menu {
  position: fixed;
  left: -100%;
  top: 0;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  padding: 60px 20px 20px;
  overflow-y: auto;
  transition: left 0.3s ease;
  z-index: 120;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar-menu.active {
  left: 0;
}

.menu-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999999;
  z-index: 121;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.menu-close:hover {
  transform: scale(1.1);
}

.menu-close i {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.sidebar-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: block;
  padding: 15px 0;
  color: var(--text-color);
  font-weight: 500;
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.sidebar-menu a:hover,
.sidebar-menu a.current {
  color: var(--primary-color);
  padding-left: 10px;
}

.sidebar-socials {
  list-style: none;
  display: flex !important;
  flex-direction: row !important;
  gap: 14px;
  padding: 10px 0 0;
  margin: 0;
}

.sidebar-socials li {
  margin: 0;
}

.sidebar-socials .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #f7f7f7;
  transition: transform 0.25s ease, background 0.25s ease;
}

.sidebar-socials .social-link:hover {
  transform: translateY(-2px);
  padding-left: 0;
  background: #efefef;
}

.sidebar-socials .social-link svg {
  display: block;
}

.sidebar-menu-title {
  margin-top: 25px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--light-text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-color);
}

.sidebar-menu-title:first-of-type {
  margin-top: 0;
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 115;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main Layout */
main {
  padding: 80px 0 40px;
  min-height: calc(100vh - 200px);
  margin-top: calc(36px + 102px + 48px);
}

.row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.content {
  grid-column: 1;
}

.content-full {
  width: 100%;
  max-width: 1280px;
}

.sidebar {
  grid-column: 2;
}

/* Home Page Layout */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.section-header .home-section-title {
  margin-bottom: 0;
}

.ver-todos-link {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease;
}

.ver-todos-link::after {
  content: '→';
  font-size: 14px;
}

.ver-todos-link:hover {
  color: var(--primary-color);
}

.home-section-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 30px;
  margin-top: 0;
  font-weight: 600;
  padding-left: 0;
  border-left: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-section-title::before {
  content: '';
  width: 4px;
  height: 40px;
  background-color: var(--primary-color);
  flex-shrink: 0;
}

.home-layout {
  display: block;
}

.home-featured {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Linha topo: featured-post + mais lidos lado a lado */
.home-featured-top {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

/* Coluna esquerda: featured + sub-cards */
.main-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
}

/* 3 cards abaixo do featured */
.sub-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.sub-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 12px;
}

.sub-card-thumbnail {
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 8px;
}

.sub-card-placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.sub-card-img,
.featured-img,
.grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sub-card-link:hover .sub-card-img,
.featured-link:hover .featured-img,
.grid-link:hover .grid-img {
  transform: scale(1.06);
}

.sub-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sub-card-content .post-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.3;
}

.sub-card-content .post-date {
  font-size: 0.78rem;
  color: #999;
}

.sub-card-excerpt {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  margin: 4px 0 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured Post (Topo) */
.featured-post {
  margin-bottom: 0;
  grid-column: 1;
  grid-row: auto;
}

.featured-link {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  text-decoration: none;
  height: 100%;
}

.featured-thumbnail {
  flex-shrink: 0;
  width: 100%;
  height: 380px;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f0f0;
}

/* Container famosos + instagram lado a lado */
.secondary-sections {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.secondary-row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
  margin-top: 100px;
  width: 100%;
}

/* Bloco famosos ocupa o restante */
.famosos-section {
  flex: 1 1 auto;
  min-width: 0;
}

.famosos-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.famosos-link {
  flex-direction: row !important;
  gap: 20px;
  align-items: stretch;
}

.famosos-thumb {
  width: 220px !important;
  height: auto !important;
  min-height: 140px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  align-self: stretch;
}

.famosos-content-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 !important;
  min-width: 0;
  flex: 1;
}

.famosos-content-block .post-title {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 1.1rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.famosos-content-block .post-date {
  margin-top: 0;
  margin-bottom: 0;
}

.famosos-content-block .post-excerpt {
  margin-top: 12px;
  margin-bottom: 0;
}

.famosos-content-block .post-excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.85rem;
  line-height: 1.45;
}

.featured-placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 20px 0;
  background: var(--white);
}

.featured-post .post-title {
  font-size: 1.4rem;
  padding: 0;
  margin: 16px 0 0 0;
  color: #333;
  line-height: 1.4;
}

.featured-post .post-title a {
  color: #333;
}

.featured-post .post-title a:hover {
  color: #333;
}

.featured-post .post-date {
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 0;
  font-weight: 400;
}

.featured-post .post-excerpt {
  padding: 0;
  margin-top: 16px;
  margin-bottom: 0;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Header Mais Lidos */
.mais-lidos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -16px -16px 16px -16px;
  background-color: #f8f8f8;
  padding: 16px;
  border-radius: 8px 8px 0 0;
}

.mais-lidos-title {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0;
  text-transform: none;
  letter-spacing: 0;
}

/* Grid de Posts */
.featured-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  grid-column: 2;
  grid-row: auto;
  width: 380px;
  flex-shrink: 0;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 16px;
  position: sticky;
  top: calc(36px + 102px + 48px + 20px);
}

.featured-grid .post {
  padding: 0 0 16px 0;
  display: flex;
  flex-direction: row;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border-color);
  border-radius: 0;
  margin-bottom: 0;
  gap: 12px;
  align-items: flex-start;
}

.featured-grid .post:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.grid-link {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  width: 100%;
}

.grid-thumbnail {
  flex-shrink: 0;
  width: 100px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
}

.grid-placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.grid-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grid-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.featured-grid .post-title {
  font-size: 0.85rem;
  margin: 0 0 4px 0;
  color: #333;
  line-height: 1.2;
  font-weight: 600;
}

.featured-grid .post-title a {
  color: #333;
}

.featured-grid .post-title a:hover {
  color: #333;
}

.featured-grid .post-date {
  font-size: 0.75rem;
  color: #999;
  display: block;
}

.featured-grid .post-excerpt {
  display: none;
}

/* Mais Populares Sidebar */
.home-popular {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  height: fit-content;
  position: sticky;
  top: 230px;
  width: 100%;
  grid-column: 3;
  grid-row: 1 / 4;
  padding-top: 80px;
}

.home-popular h3 {
  font-size: 0.75rem;
  color: var(--white);
  background-color: #000;
  margin: 0 0 25px 0;
  padding: 10px 20px;
  border-radius: 25px;
  display: inline-block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.home-popular ul {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: popular-count;
}

.home-popular li {
  padding: 0;
  border-bottom: none;
  margin-bottom: 0;
}

.home-popular li:last-child {
  border-bottom: none;
}

.popular-link {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  color: #666;
  font-weight: 400;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  line-height: 1.4;
  text-decoration: none;
}

.popular-link:hover {
  color: var(--primary-color);
}

.popular-thumbnail {
  flex-shrink: 0;
  width: 100px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  background: #f0f0f0;
}

.popular-placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.popular-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-content {
  flex: 1;
}

.popular-title {
  color: #333;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 4px;
  line-height: 1.4;
}

.popular-date {
  font-size: 0.8rem;
  color: #999;
  font-weight: 400;
}

/* Numeração Mais Populares */

.popular-item {
  counter-increment: popular-count;
  position: relative;
  padding-left: 45px;
  margin-bottom: 20px;
}

.popular-item::before {
  content: counter(popular-count);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.5rem;
  width: 40px;
  text-align: center;
}

/* Seção FAMOSOS */
.famosos-section {
  display: flex;
  flex-direction: column;
}

/* Badge + Data lado a lado */
.badge-date-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.badge-date-row .post-date {
  font-size: 10px;
  color: #999;
  line-height: 1;
}

/* Mais lidos */
.mais-lidos-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mais-lidos-content .post-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.mais-lidos-content .famosos-badge {
  font-size: 0.65rem;
  padding: 3px 8px;
  align-self: flex-start;
}

.mais-lidos-date {
  font-size: 10px;
  color: #999;
}

.famosos-badge {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 10px;
  width: fit-content;
}

.famosos-ver-mais {
  margin-top: 8px;
  text-align: center;
}

.btn-ver-mais {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 14px 48px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-ver-mais:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Instagram lateral (ao lado do famosos) */
.instagram-side {
  display: flex;
  flex-direction: column;
  width: 380px;
  flex-shrink: 0;
}

.instagram-side .home-section-title {
  margin-top: 0;
  margin-bottom: 16px;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.instagram-cell {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.instagram-placeholder {
  width: 100%;
  height: 100%;
  background: #d0d0d0;
}

.instagram-btn-wrap {
  text-align: center;
}

@media (max-width: 768px) {
  .row {
    grid-template-columns: 1fr;
  }

  .content {
    grid-column: 1;
  }

  .sidebar {
    grid-column: 1;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.2rem; }

  /* Header Mobile */
  .site-header {
    padding: 6px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 100;
  }

  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    padding: 0;
  }

  .menu-toggle {
    flex: 0 0 auto;
    margin-left: 10px;
  }

  .site-logo {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .search-header {
    flex: 0 0 auto;
    margin-right: 0;
  }

  .search-toggle {
    margin: 0;
    padding: 10px 12px;
  }

  main {
    margin-top: 82px;
  }

  .search-header {
    flex-shrink: 0;
    position: relative;
  }

  .search-toggle {
    display: flex;
  }

  /* Form escondido no mobile por padrão */
  .search-header .search-form {
    display: none;
  }

  /* Quando search ativa: esconde menu/logo, form ocupa toda a largura */
  .site-header.search-active .menu-toggle,
  .site-header.search-active .site-logo {
    display: none;
  }

  .site-header.search-active .search-header {
    flex: 1;
    width: 100%;
  }

  .site-header.search-active .search-toggle {
    display: none;
  }

  .site-header.search-active .search-header .search-form {
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
  }

  .site-header.search-active .search-header .search-form input {
    width: 100%;
    min-width: 0;
    height: 44px;
    padding: 10px 44px 10px 44px;
    font-size: 14px;
  }

  .site-header.search-active .search-form button.search-close {
    display: flex;
  }

  .search-icon {
    width: 20px;
    height: 20px;
  }

  /* Categories Nav escondida no mobile */
  .categories-nav {
    display: none;
  }

  /* Esconde "Artigos parecidos" na single no mobile */
  .single-sidebar {
    display: none;
  }

  /* Esconde "Mais lidos" na home no mobile */
  .home-featured-top > .featured-grid {
    display: none;
  }

  .container,
  .content-full {
    padding: 0 20px;
  }

  /* Single Mobile */
  .single-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-sidebar {
    position: static;
  }

  .single-img {
    height: 250px;
  }

  /* Home Page Mobile */
  .home-featured {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .featured-post {
    grid-column: auto;
    grid-row: auto;
  }

  .featured-grid {
    grid-column: auto;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .featured-grid .post:nth-child(6) {
    display: block;
  }

  .featured-link {
    flex-direction: column;
  }

  .featured-thumbnail {
    width: 100%;
    height: 250px;
  }

  .featured-post .post-title {
    font-size: 1.3rem;
  }

  .grid-thumbnail {
    width: 100%;
    height: 150px;
  }

  .home-popular {
    position: static;
    top: auto;
    grid-column: 1;
    grid-row: auto;
  }

  .famosos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Posts */
.post {
  background: var(--white);
  border: 0.5px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
  transition: box-shadow 0.3s ease;
}

.post:hover {
  box-shadow: none;
}

.post-title {
  margin: 0 0 15px 0;
  font-size: 1.8rem;
}

.post-title a {
  color: var(--primary-color);
}

.post-title a:hover {
  color: var(--primary-color);
}

.post-meta {
  font-size: 0.9rem;
  color: var(--light-text);
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.post-meta a {
  color: var(--primary-color);
}

.post-meta a:hover {
  color: var(--accent-color);
}

.post-author,
.post-date,
.post-category {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-thumbnail {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 20px;
}

.post-excerpt {
  color: var(--light-text);
  margin-top: 16px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.read-more {
  display: inline-block;
  padding: 12px 28px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
}

.read-more:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 55, 142, 0.2);
}

/* Single Post Layout */
.single-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: flex-start;
}

.single-main-column {
  min-width: 0;
}

.single-main {
  min-width: 0;
}

/* Breadcrumb */
.single-breadcrumb {
  font-size: 0.8rem;
  color: #999;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.single-breadcrumb a {
  color: #999;
  text-transform: none;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.single-breadcrumb a:hover {
  color: var(--primary-color);
}

.breadcrumb-current {
  color: #ccc;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 250px;
}

/* Article */
.single-article {
  background: none;
  border: none;
  padding: 0;
}

.single-article .badge-date-row {
  margin-bottom: 14px;
}

.single-title {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin: 0 0 16px 0;
  line-height: 1.25;
}

.single-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: #555;
  line-height: 1.55;
  margin: 0 0 24px 0;
}

.single-share {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 14px 0;
  margin: 0 0 24px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.single-share-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--light-text);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.single-share-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.single-share-list li {
  margin: 0;
}

.share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #555;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  padding: 0;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

.share-link svg {
  pointer-events: none;
}

.share-link:hover {
  transform: translateY(-2px);
  color: var(--white);
}

.share-facebook:hover { background: #1877F2; }
.share-x:hover { background: #000; }
.share-whatsapp:hover { background: #25D366; }
.share-telegram:hover { background: #0088CC; }
.share-copy:hover { background: var(--primary-color); }

.share-copy.copied {
  background: var(--primary-color);
  color: var(--white);
}

.share-copy {
  position: relative;
}

.share-copy::after {
  content: 'Copiado!';
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #222;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.share-copy.copied::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.single-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 24px;
}

.single-author {
  font-weight: 600;
  color: #666;
}

.single-meta-sep {
  color: #ccc;
}

.single-date {
  color: #999;
}

.single-thumbnail {
  width: 100%;
  margin-bottom: 24px;
}

.single-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.single-caption {
  font-size: 0.8rem;
  color: #999;
  margin-top: 8px;
  text-align: center;
}

/* Sidebar Artigos Recentes */
.single-sidebar {
  position: sticky;
  top: 200px;
}

.single-sidebar .featured-grid {
  position: static;
  max-height: none;
  overflow: visible;
  width: 100%;
}

/* Comentários */
.single-comments-section {
  margin-top: 50px;
  max-width: 800px;
}

.comments-area {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.comments-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
  display: inline-block;
  align-self: flex-start;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.comment-list .comment,
.comment-list .pingback {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 20px;
  list-style: none;
}

.comment-list .children {
  list-style: none;
  padding-left: 20px;
  margin-top: 16px;
  border-left: 2px solid var(--border-color);
}

.comment-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comment-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: #333;
}

.comment-author .avatar {
  border-radius: 50%;
}

.comment-metadata {
  font-size: 0.75rem;
  color: #999;
}

.comment-metadata a {
  color: #999;
}

.comment-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.reply a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.no-comments {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
}

/* Formulário de comentário */
.comment-respond {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
}

.comment-reply-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
}

.comment-reply-title small {
  margin-left: 10px;
  font-weight: 400;
  text-transform: none;
}

.comment-notes,
.logged-in-as {
  font-size: 0.85rem;
  color: #555;
  margin: 0 0 16px 0;
}

.comment-notes .required,
.required {
  color: var(--primary-color);
}

.comment-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.comment-form p {
  margin: 0;
}

.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.comment-form-comment {
  grid-column: 1 / -1;
}

.comment-form-cookies-consent {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #555;
}

.comment-form-cookies-consent label {
  font-weight: 400;
  color: #555;
  font-size: 0.85rem;
  margin: 0;
}

.comment-form .form-submit {
  grid-column: 1 / -1;
  margin: 0;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border-color);
  border-radius: 25px;
  font-size: 0.95rem;
  font-family: inherit;
  background: var(--white);
  color: #333;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form input::placeholder,
.comment-form textarea::placeholder {
  color: #a8a8a8;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(242, 55, 142, 0.1);
}

.comment-form textarea {
  resize: vertical;
  min-height: 140px;
  border-radius: 20px;
}

.comment-form .submit {
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 25px;
  padding: 14px 32px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.comment-form .submit:hover {
  background: #d92a7a;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(242, 55, 142, 0.3);
}

@media (max-width: 600px) {
  .comment-form {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   YOUTUBE SHORTS
   ============================================ */
.home-shorts-section {
  margin: 60px 0;
}

.shorts-header {
  margin-bottom: 24px;
}

.shorts-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shorts-yt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.shorts-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.short-card {
  position: relative;
  display: block;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.short-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.short-thumb {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.short-thumb img,
.short-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.short-card:hover .short-img {
  transform: scale(1.05);
}

.short-placeholder {
  background: linear-gradient(135deg, #2a2a2a, #555);
}

.short-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.short-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.short-play-btn svg {
  margin-left: 3px;
}

.short-card:hover .short-play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: #e60000;
}

.short-title-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px 14px;
}

.short-title {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Tablet: 4 colunas */
@media (max-width: 1024px) and (min-width: 769px) {
  .shorts-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile: scroll horizontal */
@media (max-width: 768px) {
  .home-shorts-section {
    margin: 40px 0;
  }

  .shorts-grid {
    display: flex;
    grid-template-columns: none;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 6px;
    margin: 0 -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .shorts-grid::-webkit-scrollbar {
    display: none;
  }

  .short-card {
    flex: 0 0 45%;
    scroll-snap-align: start;
  }

  .short-play-btn {
    width: 46px;
    height: 46px;
  }

  .short-title {
    font-size: 0.82rem;
  }
}

@media (max-width: 480px) {
  .short-card {
    flex: 0 0 55%;
  }
}

/* ============================================
   ENQUETES (POLLS)
   ============================================ */
.blog-poll-widget {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  margin: 40px 0;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.poll-question {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: var(--text-color);
  line-height: 1.4;
}

.poll-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.poll-option {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.poll-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
}

.poll-btn:hover:not(:disabled) {
  border-color: var(--primary-color);
  background: rgba(242, 55, 142, 0.05);
  transform: translateX(2px);
}

.poll-btn:disabled {
  cursor: not-allowed;
  background: #f5f5f5;
}

.poll-label {
  flex: 1;
  color: var(--text-color);
  word-break: break-word;
}

.poll-percent {
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 10px;
  min-width: 35px;
  text-align: right;
  font-size: 0.85rem;
}

.poll-bar {
  height: 5px;
  background: #efefef;
  border-radius: 2.5px;
  overflow: hidden;
}

.poll-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), #ff6ba6);
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.poll-total {
  text-align: center;
  font-size: 0.8rem;
  color: var(--light-text);
  margin: 0;
}

/* ENQUETE FLUTUANTE */
.blog-poll-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 300px;
  background: var(--white);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.12);
  z-index: 50;
  animation: slideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.blog-poll-floating.hidden {
  display: none !important;
}

.poll-float-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(242, 55, 142, 0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  color: var(--primary-color);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-weight: 700;
  line-height: 1;
}

.poll-float-close:hover {
  background: rgba(242, 55, 142, 0.25);
  transform: scale(1.15);
}

.blog-poll-floating .poll-question {
  font-size: 1rem;
  margin-bottom: 14px;
  padding-right: 30px;
  font-weight: 700;
  color: var(--text-color);
  line-height: 1.35;
}

.blog-poll-floating .poll-options {
  gap: 10px;
  margin-bottom: 12px;
}

.blog-poll-floating .poll-option {
  gap: 6px;
}

.blog-poll-floating .poll-btn {
  padding: 10px 12px;
  font-size: 0.82rem;
  font-weight: 500;
  background: #f8f9fb;
  border: 1.5px solid #e8eaed;
  border-radius: 10px;
}

.blog-poll-floating .poll-btn:hover:not(:disabled) {
  background: rgba(242, 55, 142, 0.08);
  border-color: var(--primary-color);
}

.blog-poll-floating .poll-btn:disabled {
  background: #f5f5f5;
}

.blog-poll-floating .poll-label {
  font-weight: 500;
  color: var(--text-color);
  font-size: 0.82rem;
}

.blog-poll-floating .poll-percent {
  display: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary-color);
  min-width: 32px;
}

.blog-poll-floating.voted .poll-percent {
  display: inline;
  animation: fadeIn 0.5s ease 0.1s both;
}

.blog-poll-floating .poll-bar {
  display: none;
  height: 6px;
  background: #e8eaed;
  border-radius: 3px;
}

.blog-poll-floating.voted .poll-bar {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.blog-poll-floating .poll-fill {
  height: 100%;
  background: linear-gradient(90deg, #F2378E 0%, #ff6ba6 100%);
  border-radius: 3px;
}

.blog-poll-floating .poll-total {
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  margin-top: 2px;
}

/* Mobile: muda pra bottom sheet */
@media (max-width: 768px) {
  .blog-poll-floating {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    border-radius: 24px 24px 0 0;
    padding: 24px 20px 28px;
    max-height: 75vh;
    overflow-y: auto;
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.1);
    animation: slideUpMobile 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  }

  @keyframes slideUpMobile {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  .blog-poll-floating .poll-question {
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-right: 28px;
  }

  .blog-poll-floating .poll-options {
    gap: 10px;
  }

  .blog-poll-floating .poll-btn {
    padding: 10px 12px;
    font-size: 0.82rem;
  }

  .blog-poll-floating .poll-label {
    font-size: 0.82rem;
  }

  .blog-poll-widget {
    padding: 18px;
    margin: 30px 0;
  }

  .poll-question {
    font-size: 1.1rem;
  }

  .poll-btn {
    padding: 11px 12px;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .blog-poll-floating {
    padding: 20px 16px 24px;
  }

  .blog-poll-floating .poll-question {
    font-size: 1rem;
    margin-bottom: 14px;
    padding-right: 26px;
  }

  .blog-poll-floating .poll-btn {
    padding: 9px 11px;
    font-size: 0.8rem;
  }

  .blog-poll-floating .poll-label {
    font-size: 0.8rem;
  }

  .poll-float-close {
    width: 26px;
    height: 26px;
    font-size: 14px;
  }
}


.single-recent-section {
  position: relative;
  margin-top: 60px;
  padding-top: 40px;
}

.single-recent-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: calc(50% - 50vw);
  width: 100vw;
  height: 1px;
  background: var(--border-color);
}

.home-latest-section {
  margin-top: 100px;
}

.single-recent-grid,
.home-latest-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
}

/* Políticas + Notícias lado a lado */
.home-split-sections {
  display: flex;
  flex-direction: row;
  gap: 32px;
  margin-top: 100px;
}

.home-split-section {
  flex: 1;
  min-width: 0;
}

.home-split-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
}

.archive-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 20px;
}

.archive-empty {
  padding: 40px 0;
  color: var(--light-text);
  text-align: center;
}

@media (max-width: 900px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .archive-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .home-split-sections {
    flex-direction: column;
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .single-recent-grid,
  .home-latest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .single-recent-grid,
  .home-latest-grid {
    grid-template-columns: 1fr;
  }
}

.single-sidebar-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #333;
  text-transform: none;
  letter-spacing: 0;
  margin: 0 0 20px 0;
  padding-bottom: 0;
  border-bottom: none;
}

.recent-post-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  padding: 10px 0;
}

.recent-thumbnail {
  flex-shrink: 0;
  width: 80px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
}

.recent-placeholder {
  background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.recent-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recent-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.recent-date {
  font-size: 0.75rem;
  color: #999;
}

.recent-post-link:hover .recent-title {
  color: var(--primary-color);
}

/* Single Post (legado) */
.single-post {
  background: var(--white);
  border: none;
  padding: 0;
}

.single-post-title {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.single-post .post-meta {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.single-post-content {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-color);
}

.single-post-content img {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 8px;
}

.single-post-content p {
  margin-bottom: 20px;
}

.single-post-content h2,
.single-post-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.single-post-content ul,
.single-post-content ol {
  margin-left: 20px;
  margin-bottom: 20px;
}

.single-post-content li {
  margin-bottom: 10px;
}

/* Tags e Categorias */
.post-tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.post-tags strong {
  display: block;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.tag {
  display: inline-block;
  padding: 8px 16px;
  background-color: var(--bg-light);
  border: 0.5px solid var(--border-color);
  border-radius: 25px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.tag:hover {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: scale(1.05);
}

/* Sidebar */
.widget {
  background: var(--bg-light);
  border: 0.5px solid var(--border-color);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
}

.widget-title {
  font-size: 1.2rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--primary-color);
}

.widget ul {
  list-style: none;
}

.widget li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.widget li:last-child {
  border-bottom: none;
}

.widget a {
  display: block;
  color: var(--text-color);
}

.widget a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
  flex-wrap: wrap;
  grid-column: auto;
}

.pagination a,
.pagination span {
  padding: 10px 12px;
  border: 0.5px solid var(--border-color);
  border-radius: 5px;
  text-align: center;
  min-width: 40px;
}

.pagination a {
  background-color: var(--white);
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.pagination .current {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* Footer */
.site-footer {
  background-color: var(--primary-color);
  margin-top: 80px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-copy {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-links span {
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 20px;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
  }

  .footer-links span {
    display: none;
  }
}

/* Search */
.search-form {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

.search-form input {
  flex: 1;
  padding: 12px 16px;
  border: 0.5px solid var(--border-color);
  border-radius: 20px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(242, 55, 142, 0.1);
}

.search-form button {
  padding: 12px 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.search-form button:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

/* Buttons */
button,
.btn {
  padding: 12px 28px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 55, 142, 0.2);
}

/* Comments */
.comments-area {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
}

.comment-respond {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
}

.comment-list {
  list-style: none;
  margin-bottom: 30px;
}

.comment {
  background: var(--white);
  border: 0.5px solid var(--border-color);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.comment-author {
  font-weight: 600;
  color: var(--primary-color);
}

.comment-date {
  font-size: 0.9rem;
  color: var(--light-text);
}

.comment-content {
  margin-top: 10px;
  color: var(--text-color);
}

/* ============================================
   MODAL BLOQUEADOR DE ANÚNCIOS
   ============================================ */
.adblock-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 199;
}

.adblock-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.adblock-content {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  max-width: 400px;
  width: 95%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  text-align: center;
  animation: slideDown 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.adblock-content h2 {
  font-size: 1.3rem;
  margin: 0 0 14px 0;
  color: #d32f2f;
  font-weight: 700;
}

.adblock-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.adblock-btn-skip {
  background: transparent;
  color: #999;
  border: 1px solid #ddd;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 0.85rem;
}

.adblock-btn-skip:hover:not(:disabled) {
  border-color: #999;
  color: #555;
  background: #fafafa;
}

.adblock-btn-skip:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f5f5f5;
}

.adblock-btn-skip.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  opacity: 1;
  cursor: pointer;
}

.adblock-btn-skip.active:hover {
  background: #d41a7a;
  border-color: #d41a7a;
}

/* ============================================
   BANNER DE COOKIES
   ============================================ */
.cookies-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--white);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.15);
  z-index: 100;
  max-width: 380px;
  display: none;
  flex-direction: column;
  gap: 16px;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cookies-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cookies-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.cookies-content p:first-child {
  font-weight: 700;
  color: #333;
  font-size: 0.9rem;
}

.cookies-content a {
  color: var(--primary-color);
  text-decoration: underline;
}

.cookies-btn,
.cookies-btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.cookies-btn {
  background: var(--primary-color);
  color: var(--white);
}

.cookies-btn:hover {
  background: #d92a7a;
}

.cookies-btn-secondary {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #e0e0e0;
}

.cookies-btn-secondary:hover {
  background: #e8e8e8;
}

/* ============================================
   RESPONSIVO — TABLET / MOBILE / PHONE
   ============================================ */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .container,
  .header-content,
  .ticker-inner,
  .footer-inner {
    padding-left: 32px;
    padding-right: 32px;
  }

  .single-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .single-sidebar {
    position: static;
    top: auto;
  }

  .single-sidebar .featured-grid {
    width: 100%;
    max-width: 100%;
  }

  .home-featured-top {
    flex-direction: column;
  }

  .featured-grid {
    width: 100%;
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .secondary-row {
    flex-direction: column;
    margin-top: 60px;
  }

  .instagram-side {
    width: 100%;
  }

  .single-recent-grid,
  .home-latest-grid,
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  .container,
  .header-content,
  .ticker-inner,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 { font-size: 1.6rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.15rem; }

  /* Ticker */
  .news-ticker {
    height: 32px;
  }

  .ticker-inner {
    gap: 8px;
  }

  .ticker-label {
    font-size: 9px;
    padding: 3px 8px;
  }

  .ticker-item {
    font-size: 12px;
    padding: 0 20px;
  }

  /* Header */
  .site-header {
    padding: 12px 0;
    top: 32px;
  }

  .header-content {
    gap: 10px;
  }

  .logo-img {
    width: 145px;
    height: 145px;
    margin: -37px auto;
  }

  .menu-toggle {
    width: 28px;
    height: 28px;
  }

  .menu-toggle i {
    width: 28px;
    height: 28px;
  }

  .search-header {
    flex: 0 0 auto;
    min-width: 0;
  }

  .site-header.search-active .search-header .search-form input {
    width: 100%;
    min-width: 0;
    height: 40px;
    font-size: 14px;
    padding: 8px 12px 8px 40px;
  }

  .search-icon {
    width: 18px;
    height: 18px;
    left: 12px;
  }

  /* Main offset (categories-nav escondida no mobile) */
  main {
    margin-top: calc(32px + 68px);
    padding: 24px 0 24px;
  }

  /* Section titles */
  .home-section-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .home-section-title::before {
    width: 3px;
    height: 28px;
  }

  /* Home featured */
  .featured-thumbnail {
    height: 220px;
  }

  .featured-post .post-title {
    font-size: 1.15rem;
  }

  .featured-post .post-excerpt {
    font-size: 0.85rem;
  }

  /* Sub-cards: 1 coluna em row para economizar altura */
  .sub-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sub-card-link {
    flex-direction: row;
    gap: 12px;
  }

  .sub-card-thumbnail {
    width: 130px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
  }

  .sub-card-content .post-title {
    font-size: 0.95rem;
  }

  .sub-card-excerpt {
    -webkit-line-clamp: 2;
    font-size: 0.8rem;
  }

  /* Featured grid (mais lidos) */
  .featured-grid {
    padding: 14px;
  }

  .grid-thumbnail {
    width: 90px;
    height: 70px;
  }

  /* Famosos */
  .famosos-link {
    flex-direction: column !important;
    gap: 12px;
  }

  .famosos-thumb {
    width: 100% !important;
    height: 200px !important;
    min-height: 0;
  }

  .famosos-content-block .post-title {
    font-size: 1rem;
    margin-top: 4px;
  }

  /* Instagram */
  .instagram-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }

  /* Home split (políticas/notícias) */
  .home-split-sections {
    flex-direction: column;
    gap: 32px;
    margin-top: 60px;
  }

  .home-split-grid {
    grid-template-columns: 1fr;
  }

  /* Recent / Latest grids */
  .single-recent-grid,
  .home-latest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .home-latest-section {
    margin-top: 60px;
  }

  /* Archive */
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* Single Post */
  .single-layout {
    gap: 32px;
  }

  .single-title {
    font-size: 1.5rem;
  }

  .single-subtitle {
    font-size: 0.95rem;
  }

  .single-img {
    height: auto;
    max-height: 280px;
  }

  .single-share {
    gap: 10px;
  }

  .single-share-label {
    font-size: 11px;
    letter-spacing: 0.5px;
  }

  .share-link {
    width: 36px;
    height: 36px;
  }

  .single-breadcrumb {
    font-size: 0.7rem;
  }

  .breadcrumb-current {
    max-width: 160px;
  }

  .single-post-content {
    font-size: 0.95rem;
  }

  .single-recent-section {
    margin-top: 40px;
    padding-top: 30px;
  }

  /* Comentários */
  .single-comments-section {
    margin-top: 32px;
  }

  .comment-list .children {
    padding-left: 12px;
  }

  /* Pagination */
  .pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  /* Sidebar menu na mobile (já cobre 100% até 300px) */
  .sidebar-menu {
    max-width: 280px;
    padding: 56px 18px 20px;
  }

  /* Footer */
  .site-footer {
    margin-top: 50px;
  }

  .footer-inner {
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* Phone pequeno (≤ 480px) */
@media (max-width: 480px) {
  .container,
  .header-content,
  .ticker-inner,
  .footer-inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.2rem; }

  /* Header ainda mais compacto */
  .logo-img {
    width: 115px;
    height: 115px;
    margin: -28px auto;
  }

  .header-content {
    gap: 8px;
  }

  .search-header .search-form input {
    height: 38px;
    padding: 8px 10px 8px 36px;
  }

  .search-icon {
    width: 16px;
    height: 16px;
    left: 10px;
  }

  /* Featured */
  .featured-thumbnail {
    height: 180px;
  }

  /* Sub-cards: voltar a vertical (mais limpo em telas muito pequenas) */
  .sub-card-link {
    flex-direction: column;
    gap: 10px;
  }

  .sub-card-thumbnail {
    width: 100%;
    height: 180px;
  }

  /* Recent / Latest / Archive: 1 coluna */
  .single-recent-grid,
  .home-latest-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  /* Famosos thumb menor */
  .famosos-thumb {
    height: 170px !important;
  }

  /* Single */
  .single-title {
    font-size: 1.3rem;
  }

  .single-img {
    max-height: 220px;
  }

  .single-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .share-link {
    width: 34px;
    height: 34px;
  }

  /* Comments */
  .comment-form {
    grid-template-columns: 1fr;
  }

  .comment-list .comment,
  .comment-list .pingback {
    padding: 12px 14px;
  }

  /* Sidebar menu */
  .sidebar-menu {
    max-width: 85%;
  }

  .sidebar-socials {
    gap: 10px;
  }

  .sidebar-socials .social-link {
    width: 38px;
    height: 38px;
  }
}
