/*
Theme Name: Tubelight
Description: Tema claro e moderno para sites de vídeo com design invertido e foco em performance
Author: Rodrigo Marques
Author URI: https://rodrigomarques.click
Developer: rodrigomarques.click
Version: 1.0.0
Text Domain: tubelight
Requires at least: 5.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* Tubelight v1.0.0 - DESIGN CLARO E MODERNO */

/* Corrigir API de fonte obsoleta - APENAS FRONTEND */
body:not(.wp-admin) html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* CSS CRÍTICO OTIMIZADO - TUBELIGHT DESIGN CLARO */
body:not(.wp-admin){background:#f8fafc;color:#1e293b;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;margin:0;padding:0;contain:layout style paint}
body:not(.wp-admin) p{color:#1e293b;line-height:1.6;margin:0 0 16px 0}
body:not(.wp-admin) h1,body:not(.wp-admin) h2,body:not(.wp-admin) h3,body:not(.wp-admin) h4,body:not(.wp-admin) h5,body:not(.wp-admin) h6{color:#1e293b;font-weight:700;line-height:1.3;margin:0 0 16px 0}
body:not(.wp-admin) .site-header{position:sticky;top:0;z-index:1000;background:linear-gradient(135deg,#0f172a 0%,#1e293b 50%,#0f172a 100%);color:#fff;contain:layout style paint;box-shadow:0 4px 12px rgba(0,0,0,0.4);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px)}
body:not(.wp-admin) .header-content{display:flex;align-items:center;justify-content:space-between;gap:16px;contain:layout style paint}
body:not(.wp-admin) .loading{opacity:0.6;pointer-events:none}
body:not(.wp-admin) .mobile-menu-btn{display:none;background:none;border:none;color:#fff;font-size:24px;cursor:pointer;min-height:48px;min-width:48px;flex-direction:column;gap:4px;contain:layout style paint}
body:not(.wp-admin) .main-menu{display:flex;gap:20px;list-style:none;margin:0;padding:0;contain:layout style paint}
body:not(.wp-admin) .main-menu a{color:#fff;text-decoration:none;font-weight:700;padding:10px 18px;border-radius:8px;transition:all 0.2s ease;background:rgba(0,0,0,0.3);border:1px solid rgba(255,255,255,0.3);text-shadow:0 2px 4px rgba(0,0,0,0.7);box-shadow:0 2px 4px rgba(0,0,0,0.2)}
body:not(.wp-admin) .main-menu a:hover{color:#fff;background:rgba(255,255,255,0.25);border-color:rgba(255,255,255,0.4);transform:translateY(-2px);box-shadow:0 4px 8px rgba(0,0,0,0.2)}
body:not(.wp-admin) .main-menu a.current{background:rgba(220,38,38,0.9);color:#fff;border-color:rgba(220,38,38,1);box-shadow:0 2px 4px rgba(220,38,38,0.3)}

/* Campo de pesquisa melhorado */
body:not(.wp-admin) .search-container input[type="search"]{background:#fff;border:2px solid #e2e8f0;border-radius:8px;padding:10px 16px;color:#1e293b;font-size:16px;width:300px;transition:all 0.2s ease;box-shadow:0 2px 4px rgba(0,0,0,0.1)}
body:not(.wp-admin) .search-container input[type="search"]:focus{outline:none;border-color:#dc2626;box-shadow:0 0 0 3px rgba(220,38,38,0.1);background:#fff}
body:not(.wp-admin) .search-container input[type="search"]::placeholder{color:#64748b;font-weight:400}
body:not(.wp-admin) .search-container button{background:#dc2626;color:#fff;border:none;border-radius:8px;padding:10px 20px;margin-left:8px;font-weight:600;cursor:pointer;transition:all 0.2s ease}
body:not(.wp-admin) .search-container button:hover{background:#b91c1c;transform:translateY(-1px)}

/* CSS do video player movido para assets/css/single.css */

/* Classe removida - agora usa o sistema global */

/* Estilos de comentários e relacionados movidos para assets/css/single.css */

/* Estilos do single movidos para assets/css/single.css */

/* POST ACTIONS - Definição principal está mais abaixo */
body:not(.wp-admin) .like-btn{background:#dc2626!important;color:#fff!important;border:none!important;padding:12px 20px!important;border-radius:8px!important;font-weight:600!important;cursor:pointer!important;transition:all 0.2s ease!important}
body:not(.wp-admin) .like-btn:hover{background:#b91c1c!important;transform:translateY(-1px)!important}
body:not(.wp-admin) .share-btn{background:#059669!important;color:#fff!important;border:none!important;padding:12px 20px!important;border-radius:8px!important;font-weight:600!important;cursor:pointer!important;transition:all 0.2s ease!important}
body:not(.wp-admin) .share-btn:hover{background:#047857!important;transform:translateY(-1px)!important}

/* CSS CRÍTICO PARA GRID PAGES - TUBELIGHT DESIGN CLARO */
body:not(.wp-admin) .grid-posts{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;padding:20px;max-width:1400px;margin:0 auto;width:100%;box-sizing:border-box;contain:layout style paint;will-change:auto;background:#f8fafc}
body:not(.wp-admin) .grid-post{background:#fff;border-radius:12px;overflow:hidden;contain:layout style paint;box-shadow:0 4px 6px rgba(0,0,0,0.15);transition:transform 0.2s ease,box-shadow 0.2s ease;display:flex;flex-direction:column;min-height:fit-content}

/* ===== GRID POST CONTENT - RECRIADO DO ZERO ===== */
body:not(.wp-admin) .grid-post-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 0;
  box-sizing: border-box;
  position: relative;
}

body:not(.wp-admin) .grid-post-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
  gap: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* THUMBNAIL - FORMATO WIDE OTIMIZADO */
body:not(.wp-admin) .video-thumbnail {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  background: #f1f5f9;
  contain: layout style paint;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body:not(.wp-admin) .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  contain: layout style paint;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Proporções específicas - TUBELIGHT WIDE FORMAT */
body:not(.wp-admin) .video-thumbnail-portrait { aspect-ratio: 16/9 !important; }
body:not(.wp-admin) .video-thumbnail-wide { aspect-ratio: 16/9 !important; }
body:not(.wp-admin) .video-thumbnail-square { aspect-ratio: 16/9 !important; }

/* FORÇAR ASPECT RATIO 16:9 PARA TODAS AS THUMBNAILS */
body:not(.wp-admin) .video-thumbnail {
  aspect-ratio: 16/9 !important;
}

/* CORREÇÃO DEFINITIVA - FORÇAR 16:9 EM TODOS OS ELEMENTOS */
.grid-post .video-thumbnail,
.video-thumbnail,
.video-thumbnail-wide,
.video-thumbnail-portrait,
.video-thumbnail-square {
  aspect-ratio: 16/9 !important;
  width: 100% !important;
  height: auto !important;
}

/* Garantir que imagens dentro das thumbnails também sejam 16:9 */
.video-thumbnail img,
.grid-post .video-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 16/9 !important;
}

/* TÍTULO - ESPAÇAMENTO MÍNIMO */
body:not(.wp-admin) .grid-post h2 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 6px 8px 8px 8px;
  padding: 0;
  text-decoration: none;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  box-sizing: border-box;
}

body:not(.wp-admin) .grid-post a {
  text-decoration: none;
  color: inherit;
}

body:not(.wp-admin) .grid-post a:hover h2 {
  color: #dc2626;
}

/* RESPONSIVE CRÍTICO OTIMIZADO - TUBELIGHT */
@media (max-width:768px){
  body:not(.wp-admin) .grid-posts{grid-template-columns:repeat(1,1fr)!important;gap:12px;padding:12px;contain:layout style}
  body:not(.wp-admin){contain:layout style;background:#f8fafc}
  body:not(.wp-admin) .header-container{gap:4px;padding:8px 12px;contain:layout style}
  body:not(.wp-admin) .logo{min-width:120px;max-width:120px}
  body:not(.wp-admin) .logo img{height:42px}
  .video-player-container{height:70vh!important;min-height:500px!important;max-height:80vh!important;aspect-ratio:unset!important;width:100%!important}
  .video-player-container.portrait{height:75vh!important;min-height:550px!important;max-height:85vh!important}
  .video-player-container.landscape{height:65vh!important;min-height:450px!important;max-height:75vh!important}
  .video-player-container video{min-height:500px!important;height:100%!important;object-fit:contain!important;padding-bottom:50px!important}
  
  /* MOBILE - GARANTIR 1 COLUNA */
  body:not(.wp-admin) .grid-post-content{width:100%!important;max-width:100%!important}
  body:not(.wp-admin) .grid-post-link{width:100%!important;max-width:100%!important}
  body:not(.wp-admin) .video-thumbnail{width:100%!important;max-width:100%!important}
}

/* Grid responsivo para vídeos relacionados */
@media (max-width: 1024px) {
  body:not(.wp-admin) .grid-posts{grid-template-columns:repeat(3,1fr)!important}
}

@media (max-width: 768px) {
  body:not(.wp-admin) .grid-posts{grid-template-columns:repeat(1,1fr)!important}
  
  /* ANÚNCIO RESPONSIVO NO GRID - MOBILE */
  .ad-banner-wrapper{height:120px!important;min-height:120px!important}
  .ad-banner-post{min-height:120px!important;height:auto!important}
  
  /* MOBILE - FORÇAR 1 COLUNA E CENTRALIZAÇÃO */
  body:not(.wp-admin) .grid-post{width:100%!important;max-width:100%!important}
  body:not(.wp-admin) .grid-post-content{width:100%!important;max-width:100%!important}
  body:not(.wp-admin) .grid-post-link{width:100%!important;max-width:100%!important}
  body:not(.wp-admin) .video-thumbnail{width:100%!important;max-width:100%!important;aspect-ratio:16/9!important}
  
  /* MOBILE - FORÇAR ASPECT RATIO 16:9 */
  .video-thumbnail,
  .video-thumbnail-wide,
  .video-thumbnail-portrait,
  .video-thumbnail-square,
  .grid-post .video-thumbnail {
    aspect-ratio: 16/9 !important;
    width: 100% !important;
    height: auto !important;
  }
  
  /* BANNERS MOBILE - CENTRALIZAÇÃO GARANTIDA */
  .banner-container,
  .footer-banner-container,
  .ad-banner-wrapper,
  .ad-banner-post {
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
  }
  
  /* MOBILE - CENTRALIZAÇÃO SIMPLES DOS BANNERS */
  .banner-container,
  .footer-banner-container,
  .ad-banner-wrapper {
    text-align: center !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  
  .banner-container iframe,
  .footer-banner-container iframe,
  .ad-banner-wrapper iframe,
  .banner-iframe,
  .banner-ad-iframe {
    display: inline-block !important;
    margin: 0 auto !important;
    width: auto !important;
    max-width: 100% !important;
  }
}

/* Estilos para embeds de vídeo no conteúdo */
body:not(.wp-admin) .embed-video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  margin: 20px 0;
}

/* Links e elementos de destaque - VERMELHO */
body:not(.wp-admin) a{color:#dc2626;text-decoration:none;transition:color 0.2s ease}
body:not(.wp-admin) a:hover{color:#b91c1c;text-decoration:underline}
body:not(.wp-admin) .section-header h2{color:#1e293b;border-bottom:3px solid #dc2626;padding-bottom:8px;margin-bottom:20px}
body:not(.wp-admin) .external-links-title{color:#dc2626!important}
body:not(.wp-admin) .external-link{background:#374151!important;transition:all 0.2s ease!important}
body:not(.wp-admin) .external-link:hover{background:#4b5563!important;transform:translateY(-1px)!important}
body:not(.wp-admin) .link-arrow{color:#dc2626!important}

body:not(.wp-admin) .embed-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

/* Responsivo para embeds */
@media (max-width: 768px) {
  body:not(.wp-admin) .embed-video-container {
    margin: 15px 0;
    border-radius: 8px;
  }
  
  body:not(.wp-admin) .embed-video-container iframe {
    border-radius: 8px;
  }
  
  /* Menu mobile responsivo */
  body:not(.wp-admin) .mobile-menu-btn{display:flex}
  body:not(.wp-admin) .main-menu{display:none}
  body:not(.wp-admin) .search-container input[type="search"]{width:200px;font-size:14px}
  body:not(.wp-admin) .search-container button{padding:8px 16px;font-size:14px}
  
  /* Links de parceiros responsivos */
  body:not(.wp-admin) .external-links-container{grid-template-columns:1fr!important;gap:10px!important}
  body:not(.wp-admin) .partner-link{padding:10px 12px!important;font-size:14px!important}
}

@media (max-width: 480px) {
  .video-player-container {
    height: 65vh !important;
    min-height: 400px !important;
  }
  
  .video-player-container.portrait {
    height: 70vh !important;
    min-height: 450px !important;
  }
  
  .video-player-container.landscape {
    height: 60vh !important;
    min-height: 350px !important;
  }
  
  .video-player-container video {
    min-height: 350px !important;
    padding-bottom: 60px !important;
  }
}

:root {
  --bg: #f8fafc;
  --fg: #1e293b;
  --accent: #cccccc;
  --card: transparent;
  --gap: 14px;
  --radius: 8px;
  --text-muted: #999;
  --text-light: #ccc;
}

/* RESET E BASE - APENAS FRONTEND */
body:not(.wp-admin) * {
  box-sizing: border-box;
}

body:not(.wp-admin) {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
}

/* Tema puro - sem interações com plugins */

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

/* Corrigir posicionamento da barra de ferramentas do WordPress */
#wpadminbar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: auto !important;
  z-index: 999999 !important;
  background: #23282d !important;
  border-bottom: 1px solid #32373c !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2) !important;
}

/* Garantir que a barra de administração mantenha sua formatação padrão */
#wpadminbar * {
  box-sizing: border-box !important;
}

#wpadminbar .ab-item,
#wpadminbar .ab-empty-item {
  color: #a7aaad !important;
  text-decoration: none !important;
  padding: 0 8px !important;
  line-height: 32px !important;
  height: 32px !important;
  display: inline-block !important;
  vertical-align: top !important;
}

#wpadminbar .ab-item:hover,
#wpadminbar .ab-empty-item:hover {
  color: #00a0d2 !important;
  background: #32373c !important;
}

#wpadminbar .ab-icon,
#wpadminbar .ab-icon:before {
  font-family: dashicons !important;
  font-size: 20px !important;
  line-height: 32px !important;
  width: 20px !important;
  height: 32px !important;
  text-align: center !important;
  vertical-align: top !important;
}

a {
  color: #ff4081;
  text-decoration: none;
  font-weight: 500;
}

a:hover {
  color: #fff;
  text-decoration: underline;
}

a:focus {
  outline: 2px solid #ff4081;
  outline-offset: 2px;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
  color: var(--fg);
}

h1 { 
  font-size: clamp(1rem, 2.5vw, 1.5rem); 
  line-height: 1.2;
}

/* H1 mobile */
@media (max-width: 768px) {
  h1 { 
    font-size: clamp(1rem, 2.5vw, 1.5rem); 
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  h1 { 
    font-size: clamp(0.875rem, 2vw, 1.25rem); 
    line-height: 1.2;
  }
}
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

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

/* LAYOUT PRINCIPAL */
#main {
  min-height: 100vh;
  padding: 20px 0;
}

#site-header {
  background: var(--card);
  border-bottom: 1px solid #333;
  position: sticky;
  top: 0;
  z-index: 100;
}

#site-footer {
  background: var(--card);
  margin-top: 40px;
}

/* HEADER */
.archive-header {
  max-width: 1280px;
  margin: 20px auto;
  color: #fff;
  padding: 0 20px;
  contain: layout style;
}

.archive-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.archive-header .desc {
  color: var(--text-muted);
  font-size: 1rem;
}

/* PAGE HEADER */
.page-header {
  max-width: 1280px;
  margin: 20px auto;
  color: #fff;
  padding: 0 20px;
  text-align: center;
}

.page-header .page-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--fg);
  font-weight: 600;
}

/* PÁGINA 404 */
.error-404 {
  text-align: center;
  padding: 40px 20px;
}

.error-404 .page-title {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--fg);
}

.error-404 .page-content {
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .search-box {
  margin: 30px 0;
  padding: 20px;
  background: var(--card);
  border-radius: 8px;
}

.error-404 .search-box h2 {
  margin-bottom: 15px;
  color: var(--fg);
}

.error-404 .recent-posts {
  margin-top: 30px;
}

.error-404 .recent-posts h2 {
  margin-bottom: 20px;
  color: var(--fg);
}
.header-container {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
  contain: layout style;
  will-change: auto;
  flex-wrap: nowrap;
}

.logo {
  flex-shrink: 0;
  min-width: 160px;
}

.logo img {
  height: 45px;
  width: auto;
  max-width: none;
  object-fit: contain;
}

.search-container {
  flex: 1;
  max-width: 350px;
  margin-left: 0;
  margin-right: 20px;
  min-width: 280px;
}

.search-form {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
}

.search-form input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #444;
  border-radius: 20px;
  background: #222;
  color: var(--fg);
  font-size: 15px;
}

.search-form button {
  padding: 12px 18px;
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  min-height: 50px;
  min-width: 50px;
  flex-shrink: 0;
  margin-left: 8px;
}

.main-menu {
  display: flex !important;
  gap: 15px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  margin-left: 10px;
}

.main-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu a {
  color: var(--fg);
  font-weight: 500;
  padding: 8px 0;
}

/* Classes reflow */
.mobile-view #main-menu {
    display: none !important;
}

.mobile-view .mobile-menu-btn {
    display: flex !important;
}

.desktop-view #main-menu {
    display: flex !important;
}

.desktop-view .mobile-menu-btn {
    display: none !important;
}

/* ===== MENU MOBILE - NOVO SISTEMA ===== */

/* Botão do menu mobile */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 24px;
  cursor: pointer;
  min-height: 48px;
  min-width: 48px;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-btn span {
  width: 20px;
  height: 2px;
  background: var(--fg);
  display: block;
  transition: all 0.3s ease;
  border-radius: 1px;
}

/* Overlay do menu mobile */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.mobile-menu-overlay.active {
  display: block;
  visibility: visible;
  opacity: 1;
}

/* Conteúdo do menu mobile */
.mobile-menu-content {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: 100%;
  background: var(--bg);
  border-left: 1px solid #333;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  z-index: 10000;
}

.mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

/* Cabeçalho do menu */
.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid #333;
  background: var(--card);
}

.mobile-menu-title {
  color: var(--fg);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-menu-close {
  background: none;
  border: none;
  color: var(--fg);
  font-size: 24px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #ff4081;
}

/* Navegação do menu */
.mobile-menu-nav {
  padding: 20px 0;
}

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-menu-list li {
  margin: 0;
  padding: 0;
}

.mobile-menu-list a {
  color: var(--fg);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  padding: 16px 20px;
  display: block;
  border-left: 3px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-list a:hover,
.mobile-menu-list a:focus {
  background-color: rgba(255, 64, 129, 0.1);
  border-left-color: #ff4081;
  color: #ff4081;
  padding-left: 30px;
}

.mobile-menu-list a:active {
  background-color: rgba(255, 64, 129, 0.2);
}

/* Animação do botão hambúrguer */
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}




/* ===== MENU STICKY ===== */

/* Menu sticky que aparece quando o usuário rola */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.sticky-header.visible {
  transform: translateY(0);
}

/* Ajustar logo no menu sticky */
.sticky-header .logo img {
  max-height: 35px;
  width: auto;
}

/* Ajustar container do header sticky */
.sticky-header .header-container {
  padding: 8px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Menu sticky em mobile */
@media (max-width: 768px) {
  .sticky-header .header-container {
    padding: 6px 15px;
  }
  
  .sticky-header .logo img {
    max-height: 30px;
  }
  
  .sticky-header .search-container {
    display: none; /* Ocultar busca no mobile sticky */
  }
  
  .sticky-header .main-menu {
    display: none; /* Ocultar menu desktop no mobile sticky */
  }
}

/* Botão "Voltar ao Topo" */
.back-to-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Botão "Voltar ao Topo" em mobile */
@media (max-width: 768px) {
  .back-to-top-btn {
    width: 45px;
    height: 45px;
    bottom: 15px;
    right: 15px;
    font-size: 18px;
  }
}

/* ===== SISTEMA DE GRID GLOBAL - REUTILIZÁVEL ===== */

/* Container principal do item */
.grid-post {
  display: flex;
  flex-direction: column;
  background: transparent;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: auto;
  contain: layout style;
}

/* Container da thumbnail - GLOBAL OTIMIZADO */
.grid-post .video-thumbnail {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9; /* Formato wide padrão */
  background: transparent;
  overflow: hidden;
  border-radius: 8px;
  contain: layout style;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Garantir que todas as thumbnails tenham o mesmo comportamento */
.grid-post .video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
}

/* CORREÇÃO DEFINITIVA - GRID PRINCIPAL IGUAL AOS RELACIONADOS */
#posts-grid .grid-post,
.grid-posts .grid-post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  contain: layout style paint;
  box-shadow: 0 4px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  min-height: fit-content;
}

#posts-grid .grid-post-content,
.grid-posts .grid-post-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
  gap: 0;
  box-sizing: border-box;
  position: relative;
}

#posts-grid .grid-post-link,
.grid-posts .grid-post-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  text-decoration: none;
  color: inherit;
  gap: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

#posts-grid .video-thumbnail,
.grid-posts .video-thumbnail {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: auto;
  background: #f1f5f9;
  contain: layout style paint;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#posts-grid .grid-post h2,
.grid-posts .grid-post h2 {
  color: #1e293b;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 6px 8px 8px 8px;
  padding: 0;
  text-decoration: none;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  box-sizing: border-box;
}

/* Imagens - GLOBAL OTIMIZADO */
.grid-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
  margin: 0;
  padding: 0;
}

.grid-post:hover img {
  transform: scale(1.05);
}

/* Títulos - GLOBAL UNIFICADO OTIMIZADO - REMOVIDO DUPLICAÇÃO */

/* Duração - GLOBAL */
.thumb-duration,
.video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 2;
  font-weight: 500;
}

/* VÍDEOS EM ALTA */
.videos-em-alta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  margin: 20px 0;
  padding: 0 20px;
}

.video-item {
  background: transparent;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
    gap: 12px;
  }

.video-thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
}

.video-title {
  padding: 0;
  font-size: 11px;
  margin: 0;
  line-height: 1.2;
  color: #fff;
  font-weight: 500;
  flex: 1;
}

/* Performance vídeo */
video {
  contain: layout style paint;
  will-change: transform;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}

/* Remover poster quando vídeo estiver tocando */
video:not([poster]),
video.playing {
  background: transparent !important;
}

/* Forçar remoção do poster no mobile quando vídeo está tocando */
@media (max-width: 768px) {
  video.playing {
    background: transparent !important;
  }
  
  video.playing[poster] {
    background-image: none !important;
  }
}

/* Botões movidos para assets/css/single.css */

/* Player mobile movido para assets/css/single.css */

/* FOOTER */
.footer-logo-container {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  height: 45px;
  width: auto;
  filter: grayscale(100%) brightness(0.7);
  transition: all 0.3s ease;
  display: block;
  margin: 0 auto;
}

.footer-logo:hover {
  filter: grayscale(50%) brightness(1);
}

.footer-logo-text {
  font-size: 28px;
  font-weight: bold;
  color: #666;
  margin: 0;
  letter-spacing: 2px;
}
.footer-widgets-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-widget {
  background: var(--card);
  padding: 20px;
  border-radius: var(--radius);
  font-size: 18px; /* Aumentado de 16px para 18px */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h3,
.footer-widget-title {
  color: var(--fg);
  font-size: 24px; /* Aumentado de 22px para 24px */
  font-weight: 600;
  margin-bottom: 16px;
  text-align: center;
}

.footer-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.footer-post-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-post-thumb {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  border: none;
}

.footer-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.footer-post-thumb:hover img {
  transform: scale(1.1);
}

.footer-post-thumb .footer-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd700;
  transition: color 0.3s ease;
  font-size: 32px;
  font-weight: bold;
}

.footer-post-thumb .footer-icon svg {
  width: 32px;
  height: 32px;
}

.footer-post-thumb:hover .footer-icon {
  color: #fff;
}

.footer-post-title {
  flex: 1;
  font-size: 16px;
  line-height: 1.4;
  color: #ccc;
}

.footer-post-link {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-post-link:hover {
  color: #ff4081;
  text-decoration: none;
}

.footer-banner-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 15px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.footer-link {
  margin-bottom: 8px;
  color: #ff69b4;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}

.footer-copyright {
  text-align: center;
  padding: 4px;
  color: #ccc;
  font-size: 16px;
}

.developer-credits {
  font-size: 14px;
  margin-top: 8px;
  color: #999;
}

.developer-credits a {
  color: #ff4081;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.developer-credits a:hover {
  color: #fff;
  text-decoration: underline;
}

/* LINKS EXTERNOS RODAPÉ - ESTILO ATRATIVO */
.footer-external-links {
  max-width: 1280px;
  margin: 30px auto 20px;
  padding: 20px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 64, 129, 0.1), rgba(156, 39, 176, 0.1));
  border-radius: 12px;
  border: 1px solid rgba(255, 64, 129, 0.2);
}

.external-links-title {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.external-links-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.external-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  background: linear-gradient(135deg, #ff4081, #e91e63);
  color: #fff;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 16px;
  text-transform: capitalize;
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-width: 160px;
  justify-content: center;
}

.external-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.external-link:hover::before {
  left: 100%;
}

.external-link:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 64, 129, 0.5);
  background: linear-gradient(135deg, #e91e63, #ad1457);
  text-decoration: none;
}

.external-link:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 15px rgba(255, 64, 129, 0.4);
}

.link-icon {
  font-size: 18px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.link-text {
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.link-arrow {
  font-size: 16px;
  font-weight: bold;
  opacity: 0.8;
  transition: transform 0.3s ease;
}

.external-link:hover .link-arrow {
  transform: translateX(3px);
  opacity: 1;
}

/* RESPONSIVO PARA LINKS EXTERNOS */
@media (max-width: 768px) {
  .footer-external-links {
    margin: 20px auto 15px;
    padding: 15px;
  }
  
  .external-links-title {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .external-links-container {
    gap: 15px;
  }
  
  .external-link {
    padding: 12px 20px;
    font-size: 15px;
    min-width: 140px;
    gap: 10px;
  }
  
  .link-icon {
    font-size: 16px;
  }
  
  .link-arrow {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .footer-external-links {
    margin: 15px auto 10px;
    padding: 12px;
  }
  
  .external-links-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .external-links-container {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .external-link {
    width: 100%;
    max-width: 200px;
    padding: 10px 18px;
    font-size: 14px;
    min-width: unset;
  }
}

/* BANNERS - CENTRALIZAÇÃO FORÇADA */
.banner-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  width: 100%;
  box-sizing: border-box;
}

/* FORÇAR CENTRALIZAÇÃO DE TODOS OS BANNERS */
.banner-container,
.footer-banner-container,
.ad-banner-wrapper {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 auto !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Centralização forçada dos banners */
.banner-container iframe,
.banner-iframe,
.banner-ad-iframe {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto !important;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* FORÇAR CENTRALIZAÇÃO DE TODOS OS IFRAMES DE BANNER */
.banner-container iframe,
.footer-banner-container iframe,
.ad-banner-wrapper iframe,
.banner-iframe,
.banner-ad-iframe {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* BANNERS NO GRID - CENTRALIZAÇÃO GARANTIDA */
.ad-banner-post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ad-banner-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* CENTRALIZAÇÃO SIMPLES E EFICAZ DOS BANNERS */
.banner-container {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.banner-container iframe {
  display: inline-block !important;
  margin: 0 auto !important;
}

.footer-banner-container {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.footer-banner-container iframe {
  display: inline-block !important;
  margin: 0 auto !important;
}

.ad-banner-wrapper {
  text-align: center !important;
  width: 100% !important;
  margin: 0 auto !important;
}

.ad-banner-wrapper iframe {
  display: inline-block !important;
  margin: 0 auto !important;
}

/* CENTRALIZAÇÃO DEFINITIVA - MÉTODO DIRETO */
.banner-container,
.footer-banner-container,
.ad-banner-wrapper {
  text-align: center !important;
  display: block !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.banner-container iframe,
.footer-banner-container iframe,
.ad-banner-wrapper iframe,
.banner-iframe,
.banner-ad-iframe {
  display: inline-block !important;
  margin: 0 auto !important;
  text-align: center !important;
  vertical-align: middle !important;
}

/* FORÇAR CENTRALIZAÇÃO COM MÉTODO ALTERNATIVO */
.banner-container {
  position: relative !important;
  text-align: center !important;
}

.banner-container iframe {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
}

.footer-banner-container {
  position: relative !important;
  text-align: center !important;
}

.footer-banner-container iframe {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
}

.ad-banner-wrapper {
  position: relative !important;
  text-align: center !important;
}

.ad-banner-wrapper iframe {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
}

.ad-banner-wrapper iframe {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Aviso de vídeo indisponível */
.no-video-notice {
  background: #fef3c7;
  padding: 20px;
  border-radius: 12px;
  border: 2px dashed #f59e0b;
  text-align: center;
  margin: 20px 0;
  color: #92400e;
}

.no-video-notice h3 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
}

.no-video-notice p {
  margin: 0;
  font-size: 14px;
}

/* Estilos para single.php - removendo inline */
.embed-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  margin: 20px 0;
  contain: layout style;
}

/* Embeds responsivos - iframes */
.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
  background: #000;
}

/* Garantir que embeds tenham aspect ratio correto */
.embed-container embed,
.embed-container object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
  object-fit: cover;
}

/* Corrigir espaços pretos em embeds específicos */
.embed-container iframe[src*="xvideos"],
.embed-container iframe[src*="pornhub"],
.embed-container iframe[src*="redtube"],
.embed-container iframe[src*="youporn"] {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  background: #000 !important;
}

/* Forçar aspect ratio correto para todos os embeds */
.embed-container * {
  max-width: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
  height: 100% !important;
}

/* Responsividade para embeds */
@media (max-width: 1024px) {
  .embed-container {
    margin: 15px 0;
  }
}

@media (max-width: 768px) {
  .embed-container {
    margin: 10px 0;
    border-radius: 8px;
  }
  
  .embed-container iframe {
    border-radius: 8px;
  }
}

@media (max-width: 480px) {
  .embed-container {
    margin: 8px 0;
    border-radius: 6px;
  }
  
  .embed-container iframe {
    border-radius: 6px;
  }
}

.photo-post-notice {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  margin: 20px 0;
  border: 2px dashed #e2e8f0;
}

.photo-post-notice h3 {
  color: #1e293b;
  margin: 0 0 10px 0;
  font-size: 18px;
}

.photo-post-notice p {
  color: #64748b;
  margin: 0;
  font-size: 14px;
}

.post-title {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin: 20px 0;
  line-height: 1.3;
}

.post-actions {
  display: flex;
  gap: 15px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.post-content {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 20px 0;
}

.post-meta-info {
  background: #f8fafc;
  padding: 20px;
  border-radius: 12px;
  margin: 20px 0;
}

.post-category {
  margin-bottom: 15px;
}

.post-category strong {
  color: #1e293b;
}

.post-category a {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
}

.post-tags strong {
  color: #1e293b;
}

.post-tags a {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
}

.comments-section {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  margin: 20px auto;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.comments-title {
  color: #1e293b;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.comments-icon {
  color: #3b82f6;
}

/* Centralizar formulário de comentários */
.comments-container {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.comments-container form {
  text-align: left;
  max-width: 100%;
}

.comments-container .comment-form-comment,
.comments-container .comment-form-author,
.comments-container .comment-form-email {
  margin: 15px 0;
}

.comments-container textarea,
.comments-container input[type="text"],
.comments-container input[type="email"] {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.comments-container textarea:focus,
.comments-container input[type="text"]:focus,
.comments-container input[type="email"]:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.comments-container .form-submit {
  text-align: center;
  margin-top: 20px;
}

.comments-container .submit {
  background: #dc2626;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.comments-container .submit:hover {
  background: #b91c1c;
}

/* Centralizar lista de comentários */
.comments-container .comment-list {
  text-align: left;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comments-container .comment {
  background: #f8fafc;
  padding: 15px;
  margin: 15px 0;
  border-radius: 8px;
  border-left: 4px solid #dc2626;
}

.comments-container .comment-author {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 5px;
}

.comments-container .comment-meta {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 10px;
}

.comments-container .comment-content {
  color: #374151;
  line-height: 1.6;
}

/* Responsividade para comentários */
@media (max-width: 768px) {
  .comments-section {
    margin: 15px;
    padding: 15px;
  }
  
  .comments-container {
    max-width: 100%;
  }
}

/* DIFERENCIAÇÃO DE LINKS NO RODAPÉ */
/* Links de Acompanhantes - Estilo especial */
.footer-post-link.acompanhante-highlight {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff !important;
  padding: 8px 12px;
  border-radius: 6px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-post-link.acompanhante-highlight::before {
  content: "🔥";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  animation: pulse 2s infinite;
}

.footer-post-link.acompanhante-highlight:hover {
  background: linear-gradient(135deg, #ff5252, #d63031);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
}

/* Links de Parceiros - Estilo diferenciado */
.partner-link {
  background: #374151 !important;
  border: 1px solid #4b5563 !important;
  color: #fff !important;
  transition: all 0.2s ease !important;
  position: relative;
  overflow: hidden;
}

.partner-link::before {
  content: "🤝";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  z-index: 1;
}

.partner-link span {
  margin-left: 20px !important;
  font-weight: 500 !important;
}

.partner-link:hover {
  background: #4b5563 !important;
  border-color: #dc2626 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(220, 38, 38, 0.2) !important;
}

/* Links de Acompanhantes nos Parceiros - Estilo especial */
.partner-link[title*="acompanhante"],
.partner-link[href*="acompanhante"] {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
  border: 1px solid #ff5252 !important;
  color: #fff !important;
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3) !important;
}

.partner-link[title*="acompanhante"]::before,
.partner-link[href*="acompanhante"]::before {
  content: "🔥";
  font-size: 16px;
  animation: pulse 2s infinite;
}

.partner-link[title*="acompanhante"]:hover,
.partner-link[href*="acompanhante"]:hover {
  background: linear-gradient(135deg, #ff5252, #d63031) !important;
  border-color: #ff1744 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4) !important;
}

/* Animação para acompanhantes */
@keyframes pulse {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.1); }
  100% { transform: translateY(-50%) scale(1); }
}

/* CONTEÚDO PROMOCIONAL NO RODAPÉ */
.footer-promotional-content {
  background: #0f172a;
  padding: 40px 20px;
  margin-top: 20px;
}

.footer-promotional-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-promotional-wrapper h2 {
  color: #ffffff !important;
  font-size: 28px;
  font-weight: 700 !important;
  margin: 0 0 10px 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.footer-promotional-wrapper h3 {
  color: #f1f5f9;
  font-size: 22px;
  font-weight: 600;
  margin: 30px 0 20px 0;
}

.footer-promotional-wrapper p {
  color: #ffffff !important;
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 20px 0;
  text-align: justify;
  font-weight: 500 !important;
}

.footer-promotional-wrapper a {
  color: #60a5fa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-promotional-wrapper a:hover {
  color: #93c5fd;
  text-decoration: underline;
}

.footer-promotional-wrapper img {
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s ease;
}

.footer-promotional-wrapper img:hover {
  transform: scale(1.05);
}

/* Responsividade para conteúdo promocional */
@media (max-width: 768px) {
  .footer-promotional-content {
    padding: 30px 15px;
  }
  
  .footer-promotional-wrapper h2 {
    font-size: 24px;
  }
  
  .footer-promotional-wrapper h3 {
    font-size: 20px;
  }
  
  .footer-promotional-wrapper p {
    font-size: 15px;
    text-align: left;
  }
}

/* CATEGORIAS ESPECÍFICAS NO RODAPÉ */
.footer-specific-categories {
  background: #1e293b;
  padding: 30px 20px;
  margin-top: 20px;
}

.footer-categories-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.footer-category-section {
  background: #374151;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.footer-category-title {
  margin: 0 0 15px 0;
  font-size: 18px;
  font-weight: 600;
}

.footer-category-link {
  color: #fbbf24 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  font-weight: 700 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.footer-category-link:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

.footer-category-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-category-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.footer-category-item:hover {
  background: rgba(255,255,255,0.05);
}

.footer-category-thumb {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #4b5563;
}

.footer-category-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.no-thumb-small {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #4b5563;
  color: #9ca3af;
  font-size: 20px;
}

.footer-category-content {
  flex: 1;
  min-width: 0;
}

.footer-category-post-link {
  color: #e5e7eb !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 14px;
  line-height: 1.4;
  display: block;
  margin-bottom: 4px;
  transition: color 0.2s ease;
}

.footer-category-post-link:hover {
  color: #fbbf24 !important;
  text-decoration: none !important;
}

/* Data removida - não é mais necessária */

/* Responsividade para categorias específicas */
@media (max-width: 768px) {
  .footer-categories-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .footer-category-section {
    padding: 15px;
  }
  
  .footer-category-thumb {
    width: 50px;
    height: 50px;
  }
  
  .footer-category-post-link {
    font-size: 13px;
  }
}

/* DESCRIÇÃO DA CATEGORIA ABAIXO DA LISTAGEM */
.category-description-below {
  background: #f8fafc;
  padding: 30px;
  margin: 40px 0;
  border-radius: 12px;
  border-left: 4px solid #dc2626;
}

.category-description-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
}

.category-description-content p {
  margin: 0 0 15px 0;
}

.category-description-content p:last-child {
  margin-bottom: 0;
}

/* Responsividade para descrição da categoria */
@media (max-width: 768px) {
  .category-description-below {
    padding: 20px;
    margin: 30px 0;
  }
  
  .category-description-content {
    font-size: 15px;
  }
}

.related-videos {
  background: #f8fafc;
  padding: 30px;
  border-radius: 12px;
  margin: 30px 0;
}

.related-videos h2 {
  color: #1e293b;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 30px 0;
  text-align: center;
}

/* Classes de vídeos relacionados removidas - usando grid-post unificado */

.ad-banner-post {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
}

.ad-banner-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Anúncio responsivo no grid */
@media (max-width: 1024px) {
  .ad-banner-wrapper {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .ad-banner-wrapper {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .ad-banner-wrapper {
    height: 140px;
  }
}

.no-related-message {
  text-align: center;
  color: #64748b;
  padding: 40px;
}

/* DESTAQUE PARA LINKS COM "ACOMPANHANTE" NO RODAPÉ */
.footer-post-link.acompanhante-highlight {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff !important;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  text-decoration: none !important;
  position: relative;
  display: inline-block;
}

.footer-post-link.acompanhante-highlight:hover {
  background: linear-gradient(135deg, #ff5252, #d63031);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
  color: #fff !important;
}

/* Ícone de fogo para links com "acompanhante" */
.footer-post-link.acompanhante-highlight::before {
  content: "🔥";
  position: absolute;
  left: -25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  animation: pulse 2s infinite;
  z-index: 1;
}

/* Fallback para seletores CSS avançados */
.footer-post-link:contains("acompanhante"),
.footer-post-link[href*="acompanhante"] {
  background: linear-gradient(135deg, #ff6b6b, #ee5a24);
  color: #fff !important;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
  transition: all 0.3s ease;
  text-decoration: none !important;
}

.footer-post-link:contains("acompanhante"):hover,
.footer-post-link[href*="acompanhante"]:hover {
  background: linear-gradient(135deg, #ff5252, #d63031);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(255, 107, 107, 0.4);
  color: #fff !important;
}

@keyframes pulse {
  0% { transform: translateY(-50%) scale(1); }
  50% { transform: translateY(-50%) scale(1.1); }
  100% { transform: translateY(-50%) scale(1); }
}

.banner-iframe,
.banner-ad-iframe {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
  display: block;
  margin: 0 auto;
}

.banner-ad-iframe {
  position: absolute;
  top: 0;
  left: 0;
}

/* Título páginas */
.home-title {
  font-size: 16px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 12px 0 !important;
  color: var(--fg) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  padding: 0 20px !important;
}

/* Banner grid */
.ad-banner-post {
  position: relative !important;
  border-radius: 12px !important;
  background: #1a1a1a !important;
  aspect-ratio: 16/9 !important;
  min-height: 200px !important;
}

.ad-banner-wrapper {
  position: relative !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  padding: 8px !important;
  box-sizing: border-box !important;
}

/* PLACEHOLDERS */
.grid-thumb.no-thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1c1c;
  color: #ccc;
  font-size: 14px;
  text-align: center;
  aspect-ratio: 3/4;
  width: 100%;
  min-height: 200px;
}

.grid-thumb.no-thumb span {
  text-align: center;
  padding: 10px;
}

.footer-post-thumb.no-thumb {
  border-radius: 0;
  border: none;
  color: #ffd700;
  font-size: 32px;
  text-align: center;
  font-weight: bold;
}

/* PAGINAÇÃO */
/* Paginação tradicional - agora visível para SEO */
.pagination,
.pagination-container,
.page-numbers,
.nav-links,
.wp-pagenavi {
  display: block !important;
}

/* Infinite Scroll */
.load-more-container {
  text-align: center;
  padding: 30px 20px;
  margin: 20px 0;
}

.load-more-btn {
  background: #dc2626;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 200px;
  min-height: 50px;
}

.load-more-btn:hover {
  background: #ad1457;
  transform: translateY(-2px);
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.load-more-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Responsive para botão carregar mais */
@media (max-width: 768px) {
  .load-more-container {
    padding: 20px 15px;
    margin: 15px 0;
  }
  
  .load-more-btn {
    padding: 12px 24px;
    font-size: 15px;
    min-width: 180px;
    min-height: 48px;
    width: 100%;
    max-width: 300px;
  }
}

/* Post actions movidos para assets/css/single.css */

/* Mobile responsivo */
@media (max-width: 768px) {
  .video-thumbnail img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Post meta e breadcrumbs movidos para assets/css/single.css */

/* PERFORMANCE */

/* Estados de carregamento de imagens */
img.loading {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

img.loaded {
  opacity: 1;
  transition: opacity 0.3s ease;
}

img.error {
  opacity: 0.5;
  background: #333;
  display: flex;
  align-items: center;
  justify-content: center;
}

img.error::after {
  content: "Erro ao carregar";
  color: #999;
  font-size: 12px;
  text-align: center;
}

/* Otimização de layout para evitar CLS */
.video-thumbnail {
  position: relative;
  overflow: hidden;
  background: #222;
}

.video-thumbnail img {
  transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

/* Melhorar performance de animações */
.grid-post {
  will-change: transform;
  transform: translateZ(0);
}

/* Otimização para dispositivos móveis */

/* RESPONSIVIDADE */

/* Mobile - 1 coluna (CORRIGIDO) */
@media (max-width: 768px) {
  /* Forçar 1 coluna no mobile */
  .grid-posts,
  #posts-grid.grid-posts,
  .related-videos .grid-posts {
    grid-template-columns: repeat(1, 1fr) !important;
    gap: 12px !important;
    padding: 12px !important;
  }
  
  .mobile-menu-btn {
    display: flex !important;
    margin-left: 0 !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
    min-width: 42px !important;
    width: 42px !important;
    height: 40px !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    z-index: 10 !important;
    order: 1 !important;
  }
  
  .mobile-menu-content {
    width: 260px !important;
    max-width: 80vw !important;
  }
  
  .main-menu {
    display: none !important;
  }
  
  
  .header-container {
    gap: 4px !important;
    padding: 8px 12px !important;
    flex-wrap: nowrap !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .logo {
    min-width: 120px !important;
    max-width: 120px !important;
    flex-shrink: 0 !important;
    order: 2 !important;
    margin-right: 6px !important;
  }
  
  .logo img {
    height: 42px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
  }
  
  .search-container {
    flex: 1 !important;
    max-width: calc(100% - 200px) !important;
    margin: 0 !important;
    margin-right: 15px !important;
    min-width: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    order: 3 !important;
  }
  
  .search-form {
    gap: 0 !important;
    display: flex !important;
    align-items: center !important;
    width: 40% !important;
    max-width: 130px !important;
    flex: 0 0 auto !important;
    margin-left: 8px !important;
  }
  
  .search-form input {
    font-size: 13px !important;
    padding: 8px 10px !important;
    border-radius: 13px 0 0 13px !important;
    min-width: 0 !important;
    flex: 1 !important;
    height: 34px !important;
    box-sizing: border-box !important;
    max-width: none !important;
    border-right: none !important;
  }
  
  .search-form button {
    font-size: 10px !important;
    padding: 7px 8px !important;
    border-radius: 0 13px 13px 0 !important;
    min-width: 34px !important;
    min-height: 34px !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    border-left: none !important;
  }
  
  .grid-posts,
  .related-videos .grid-posts {
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    padding: 12px;
  }
  
  .related-videos h2 {
    font-size: 1.25rem;
    padding: 0 12px;
    margin-bottom: 16px;
  }
  
  /* Thumbnails mobile - GLOBAL */
  .grid-post .video-thumbnail {
    min-height: 120px !important;
  }
  
  /* Títulos mobile - GLOBAL */
  .grid-post h2 {
    font-size: 14px;
    line-height: 1.2;
    margin: 4px 8px 8px 8px !important;
    min-height: 2.4em;
  }
  
  /* Duração mobile - GLOBAL */
  .thumb-duration,
  .video-duration {
    font-size: 10px;
    padding: 3px 6px;
    right: 6px;
    bottom: 6px;
  }
  
.videos-em-alta {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 0 4px;
  }
  
  .video-thumb {
    width: 60px;
    height: 45px;
  }
  
  .video-title {
    font-size: 10px;
    padding: 4px 0;
  }
  
  .footer-widgets-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px 16px;
  }
  
  .footer-widget {
    padding: 16px;
  }
  
  .footer-widget h3,
  .footer-widget-title {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .footer-post-item {
    gap: 10px;
    margin-bottom: 10px;
    padding: 6px;
  }
  
  .footer-post-thumb {
    width: 50px;
    height: 50px;
  }
  
  .footer-post-thumb .footer-icon {
    font-size: 24px;
  }
  
  .footer-post-thumb .footer-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .footer-post-title {
    font-size: 14px;
  }
}

/* Telas médias - evitar sobreposição */
@media (max-width: 1024px) and (min-width: 769px) {
  .header-container {
    gap: 15px !important;
    padding: 10px 15px !important;
  }
  
  .search-container {
    max-width: 300px !important;
    margin-right: 15px !important;
  }
  
  .main-menu {
    gap: 10px !important;
    margin-left: 5px !important;
  }
  
  .main-menu a {
    padding: 8px 12px !important;
    font-size: 14px !important;
  }
}

/* Mobile pequeno - 2 colunas */
@media (max-width: 480px) {
  .header-container {
    gap: 2px !important;
    padding: 6px 8px !important;
  }
  
  .mobile-menu-btn {
    min-width: 38px !important;
    width: 38px !important;
    height: 38px !important;
    margin-right: 4px !important;
  }
  
  .logo {
    min-width: 95px !important;
    max-width: 95px !important;
    margin-right: 2px !important;
  }
  
  .logo img {
    height: 32px !important;
  }
  
  .search-container {
    max-width: calc(100% - 135px) !important;
  }
  
  .search-form {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
  }
  
  .search-form input {
    font-size: 12px !important;
    padding: 7px 8px !important;
    height: 32px !important;
  }
  
  .search-form button {
    font-size: 9px !important;
    padding: 6px 7px !important;
    min-width: 32px !important;
    min-height: 32px !important;
  }
  
  .grid-posts,
  .related-videos .grid-posts {
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    padding: 8px;
  }
  
  .related-videos h2 {
    font-size: 1.125rem;
    padding: 0 8px;
    margin-bottom: 12px;
  }
  
  /* Thumbnails mobile pequeno - GLOBAL */
  .grid-post .video-thumbnail {
    min-height: 150px !important;
  }
  
  /* Títulos mobile pequeno - GLOBAL */
  .grid-post h2 {
    font-size: 13px;
    margin: 3px 6px 6px 6px !important;
    min-height: 2.2em;
  }
  
  /* Duração mobile pequeno - GLOBAL */
  .thumb-duration,
  .video-duration {
    font-size: 9px;
    padding: 2px 4px;
  }
  
  .video-thumb {
    width: 50px;
    height: 38px;
    aspect-ratio: 4/3;
  }
  
  .video-title {
    font-size: 9px;
    padding: 3px 0;
  }
  
  /* Player mobile pequeno */
  .video-player-container {
    height: 50vh !important;
    min-height: 250px !important;
    max-height: 65vh !important;
  }
  
  .video-player-container.portrait {
    max-width: 280px !important;
    height: 55vh !important;
    min-height: 300px !important;
    max-height: 70vh !important;
    aspect-ratio: unset !important;
  }
  
  .video-player-container.landscape {
    height: 50vh !important;
    min-height: 250px !important;
    max-height: 60vh !important;
    aspect-ratio: unset !important;
  }
  
  /* Video mobile pequeno */
  .video-player-container video {
    min-height: 250px !important;
  }
}

/* Tablet - 3 colunas */
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-posts,
  .related-videos .grid-posts {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    padding: 16px;
  }
  
  .videos-em-alta {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

/* Desktop médio - 4 colunas */
@media (min-width: 1025px) and (max-width: 1400px) {
  .grid-posts,
  .related-videos .grid-posts {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* Desktop grande - 4 colunas */
@media (min-width: 1401px) {
  .grid-posts,
  .related-videos .grid-posts {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* DESKTOP GRANDE */
@media (min-width: 1200px) {
  .grid-posts,
  .related-videos .grid-posts {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
  }
}

/* PAGINAÇÃO */
.pagination-container {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
}

.pagination-wrapper {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pagination-wrapper ul {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pagination-wrapper a,
.pagination-wrapper span {
  display: inline-block;
  padding: 10px 16px;
  min-width: 44px;
  text-align: center;
  background: #4b5563;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #6b7280;
}

/* Estilos específicos para botões de paginação */
.pagination-btn {
  display: inline-block;
  padding: 12px 16px;
  margin: 0 4px;
  background: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-width: auto;
  text-align: center;
}

.pagination-btn:hover {
  background: #dc2626;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.pagination-current {
  background: #dc2626 !important;
  color: #fff !important;
  font-weight: 700;
  border-color: #dc2626;
  cursor: default;
}

.pagination-first,
.pagination-last {
  background: #444;
  font-weight: 600;
}

.pagination-first:hover,
.pagination-last:hover {
  background: #dc2626;
}

.pagination-prev,
.pagination-next {
  background: #333;
  font-weight: 600;
}

.pagination-prev:hover,
.pagination-next:hover {
  background: #dc2626;
}

.pagination-number {
  background: #222;
}

.pagination-number:hover {
  background: #dc2626;
}

.pagination-wrapper a:hover {
  background: #fbbf24;
  color: #1f2937;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.pagination-wrapper .current {
  background: #fbbf24;
  color: #1f2937;
  font-weight: 700;
  border-color: #fbbf24;
  cursor: default;
}

.pagination-wrapper .prev,
.pagination-wrapper .next {
  font-weight: 600;
  padding: 10px 20px;
}

.pagination-wrapper .dots {
  background: transparent;
  color: #666;
  cursor: default;
  padding: 10px 8px;
}

/* Mobile */
@media (max-width: 768px) {
  .pagination-container {
    margin: 30px 0;
    padding: 15px;
  }
  
  .pagination-wrapper {
    gap: 6px;
  }
  
  .pagination-wrapper a,
  .pagination-wrapper span {
    padding: 8px 12px;
    min-width: 38px;
    font-size: 14px;
  }
  
  .pagination-wrapper .prev,
  .pagination-wrapper .next {
    padding: 8px 14px;
  }
}

/* CORREÇÃO TEMPORÁRIA: Esconder header duplicado no footer */
#site-footer .header-container,
#site-footer .main-menu,
#site-footer .logo,
#site-footer .search-container {
  display: none !important;
}

/* Garantir que paginação apareça */
.pagination-container {
  display: block !important;
  visibility: visible !important;
}

/* Cache busting - Forçar atualização */
/* v=13 - IDs CORRETOS: 3323, 3329, 3322 - Cores forçadas com !important - CACHE BUST DEFINITIVO */