/*
Theme Name: FV Video Theme
Description: Tema otimizado para sites de video com foco em performance e velocidade
Author: Rodrigo Marques
Author URI: https://rodrigomarques.click
Developer: rodrigomarques.click
Version: 4.0.0
Text Domain: fv-video-theme
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
*/

/* FV Video Theme v4.0.0 - APENAS FRONTEND */

/* 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 MÍNIMO - APENAS FRONTEND */
body:not(.wp-admin) .site-header{position:sticky;top:0;z-index:1000;contain:layout style}
body:not(.wp-admin) .header-container{display:flex;align-items:center;gap:20px;padding:12px 20px;background:#000;border:none}
body:not(.wp-admin) .logo{flex-shrink:0}
body:not(.wp-admin) .logo img{max-width:100%;height:auto;width:320px;height:55px;object-fit:contain}
body:not(.wp-admin) .main-nav{display:flex;gap:20px;list-style:none;margin:0;padding:0;flex:1;justify-content:center}
body:not(.wp-admin) .search-container{flex-shrink:0;min-width:200px}
body:not(.wp-admin) .load-more-container{text-align:center;padding:30px 20px;margin:20px 0;height:90px;display:flex;align-items:center;justify-content:center;contain:layout}
body:not(.wp-admin) .load-more-btn,body:not(.wp-admin) .load-more-btn-inline{background:#FFD700;color:#333;border:none;padding:15px 30px;border-radius:8px;cursor:pointer;font-size:16px;font-weight:600;transition:background-color 0.3s ease;display:inline-block}
body:not(.wp-admin) .video-thumbnail{position:relative;overflow:hidden;width:100%;background:transparent;contain:layout style;aspect-ratio:16/9}
body:not(.wp-admin) .video-thumbnail img{width:100%;height:100%;object-fit:cover;display:block;contain:layout style paint}

/* 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 */

/* CSS CRÍTICO PARA GRID PAGES - OTIMIZADO PARA LCP */
body:not(.wp-admin) .grid-posts{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px;padding:8px 20px 20px;max-width:1400px;margin:0 auto;width:100%;box-sizing:border-box;contain:layout style paint;will-change:auto;content-visibility:auto;min-height:400px}
body:not(.wp-admin) .grid-post{background:transparent;border-radius:8px;overflow:hidden;contain:layout style;min-height:200px}
/* Estilos base para thumbnails - OTIMIZADO PARA LCP */
body:not(.wp-admin) .video-thumbnail{position:relative;overflow:hidden;width:100%;background:transparent;contain:layout style;aspect-ratio:16/9}
body:not(.wp-admin) .video-thumbnail img{width:100%;height:100%;object-fit:cover;display:block;contain:layout style paint}

/* Proporções específicas - FORÇADO COM !IMPORTANT */
body:not(.wp-admin) .video-thumbnail{aspect-ratio:16/9 !important;height:auto !important}
body:not(.wp-admin) .video-thumbnail-portrait{aspect-ratio:16/9 !important} /* 16:9 wide */
body:not(.wp-admin) .video-thumbnail-wide{aspect-ratio:16/9 !important} /* 16:9 landscape */
body:not(.wp-admin) .video-thumbnail-square{aspect-ratio:1/1 !important} /* 1:1 quadrado */

/* FORÇAR THUMBNAILS PORTRAIT - REGRAS ESPECÍFICAS */
.video-thumbnail{aspect-ratio:16/9 !important;height:auto !important;max-height:none !important}
.video-thumbnail img{aspect-ratio:16/9 !important;height:auto !important;object-fit:cover !important}
.grid-post .video-thumbnail{aspect-ratio:16/9 !important;height:auto !important}

/* Imagens wide podem ocupar mais espaço no grid */
body:not(.wp-admin) .grid-post:has(.video-thumbnail-wide){grid-column:span 2}

/* Fallback para navegadores que não suportam :has() */
@media (min-width: 769px) {
  body:not(.wp-admin) .grid-post.wide-layout{grid-column:span 2}
}

/* RESPONSIVE CRÍTICO OTIMIZADO */
@media (max-width:768px){
  body:not(.wp-admin) .grid-posts{grid-template-columns:repeat(2,1fr);gap:8px;contain:layout style}
  body:not(.wp-admin){contain:layout style}
  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}
}

@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: #111;
  --fg: #eee;
  --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: none !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: #333;
  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: 10px 0;
}

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

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

/* HEADER */
.archive-header {
  max-width: 1280px;
  margin: 20px auto;
  color: #333;
  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: 0 auto;
  color: #333;
  padding: 5px 20px;
  text-align: center;
}

.page-header .page-title {
  font-size: 1.2rem;
  margin: 5px 0;
  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: 16px;
  padding: 12px 20px;
  max-width: 1400px;
  margin: 0 auto;
  contain: layout style;
  will-change: auto;
}

.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: 320px;
  margin-left: 0;
}

.search-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.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: #FFD700;
  color: #333;
  border: none;
  border-radius: 20px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  min-height: 50px;
  min-width: 50px;
}

/* MENU RESPONSIVO ÚNICO - SEM DUPLICAÇÃO */
.main-nav {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.nav-menu a {
  color: var(--fg);
  font-weight: 500;
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Ícones para os itens do menu */
.nav-menu a::before {
  content: '';
  width: 16px;
  height: 16px;
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

/* Ícones específicos para cada item do menu */
.nav-menu a[href*="inicio"]::before {
  content: '🏠';
  font-size: 14px;
}

.nav-menu a[href*="categoria"]::before,
.nav-menu a[href*="category"]::before {
  content: '📁';
  font-size: 14px;
}

.nav-menu a[href*="tag"]::before {
  content: '🏷️';
  font-size: 14px;
}

.nav-menu a[href*="mais-acessados"]::before,
.nav-menu a[href*="most-viewed"]::before {
  content: '🔥';
  font-size: 14px;
}

.nav-menu a[href*="mais-curtidos"]::before,
.nav-menu a[href*="most-liked"]::before {
  content: '❤️';
  font-size: 14px;
}

.nav-menu a[href*="upload"]::before {
  content: '📤';
  font-size: 14px;
}

.nav-menu a[href*="contato"]::before {
  content: '📧';
  font-size: 14px;
}

.nav-menu a[href*="sobre"]::before {
  content: 'ℹ️';
  font-size: 14px;
}

/* Ícones adicionais para páginas específicas */
.nav-menu a[href*="busca"]::before,
.nav-menu a[href*="search"]::before {
  content: '🔍';
  font-size: 14px;
}

.nav-menu a[href*="galeria"]::before,
.nav-menu a[href*="gallery"]::before {
  content: '🖼️';
  font-size: 14px;
}

.nav-menu a[href*="video"]::before {
  content: '🎥';
  font-size: 14px;
}

.nav-menu a[href*="foto"]::before,
.nav-menu a[href*="photo"]::before {
  content: '📸';
  font-size: 14px;
}

.nav-menu a[href*="novo"]::before,
.nav-menu a[href*="new"]::before {
  content: '✨';
  font-size: 14px;
}

.nav-menu a[href*="popular"]::before {
  content: '⭐';
  font-size: 14px;
}

/* Ícone padrão para outros links */
.nav-menu a:not([href*="inicio"]):not([href*="categoria"]):not([href*="category"]):not([href*="tag"]):not([href*="mais-acessados"]):not([href*="most-viewed"]):not([href*="mais-curtidos"]):not([href*="most-liked"]):not([href*="upload"]):not([href*="contato"]):not([href*="sobre"]):not([href*="busca"]):not([href*="search"]):not([href*="galeria"]):not([href*="gallery"]):not([href*="video"]):not([href*="foto"]):not([href*="photo"]):not([href*="novo"]):not([href*="new"]):not([href*="popular"])::before {
  content: '🔗';
  font-size: 14px;
}

/* Efeito hover para os ícones */
.nav-menu a:hover::before {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

/* OTIMIZAÇÕES PARA LCP - VÍDEO PRINCIPAL */
.video-player-container {
  contain: layout style paint !important;
  will-change: auto !important;
}

.main-video {
  contain: layout style paint !important;
  will-change: auto !important;
  display: block !important;
}

/* Garantir que o vídeo não seja oculto inadvertidamente */
.main-video:not([style*="display: none"]) {
  display: block !important;
}

/* Mensagens de erro removidas para performance */

/* MELHORIA DE CONTRASTE - TEXTO DA DESCRIÇÃO */
p {
  color: #e0e0e0 !important;
  line-height: 1.6;
}

.post-content p,
.entry-content p,
.description p {
  color: #e0e0e0 !important;
}

/* MELHORIA DE CONTRASTE - SITES RECOMENDADOS */
.external-links-title {
  color: #fff !important;
  font-size: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-external-links {
  background: #2a2a2a !important;
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.footer-external-links .external-links-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 15px;
}

.footer-external-links .external-links-container a {
  background: #FFD700 !important;
  color: #333 !important;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid #FFA500;
}

.footer-external-links .external-links-container a:hover {
  background: #FFA500 !important;
  color: #000 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.3);
}

/* ===== SISTEMA RESPONSIVO ÚNICO ===== */

/* Botão toggle responsivo */
.menu-toggle {
  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;
}

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

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

/* CSS ANTIGO DO MENU MOBILE REMOVIDO - AGORA USA SISTEMA RESPONSIVO ÚNICO */




/* ===== 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-nav {
    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: #333;
  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,
.related-video-item {
  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 */
.grid-post .thumb,
.grid-post .video-thumbnail,
.related-video-item .video-thumbnail {
  position: relative;
  width: 100%;
  max-width: 250px; /* Limitar largura máxima para thumbnails adequadas */
  aspect-ratio: 5/9; /* Formato padrão 5:9 para todos - tamanho adequado */
  background: transparent; /* Remover fundo preto */
  overflow: hidden;
  border-radius: 8px;
  contain: layout style;
}

/* Imagens - GLOBAL */
.grid-post img,
.related-video-item img,
.related-video-thumb {
  width: 100%;
  max-width: 250px; /* Limitar largura máxima das imagens para thumbnails adequadas */
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.grid-post:hover img,
.related-video-item:hover img {
  transform: scale(1.05);
}

/* Tamanhos específicos para diferentes contextos */
.related-video-item .video-thumbnail {
  max-width: 300px; /* Vídeos relacionados um pouco maiores que o grid principal */
}

.related-video-item img {
  max-width: 300px; /* Vídeos relacionados um pouco maiores que o grid principal */
}

/* Títulos - GLOBAL UNIFICADO */
.grid-post h2,
.related-video-item h3 {
  font-size: 16px;
  line-height: 1.4;
  margin: 12px 8px 8px;
  font-weight: 500;
  color: var(--fg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em;
  flex-grow: 1;
}

/* Duração - GLOBAL */
.thumb-duration,
.video-duration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0, 0, 0, 0.8);
  color: #333;
  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: #333;
  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: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-widget h3,
.footer-widget-title {
  color: var(--fg);
  font-size: 22px;
  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: #333;
}

.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: 4px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.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: #333;
  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: #333;
  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: 10px;
  flex-wrap: wrap;
}

.external-links-container a {
  display: inline-block;
  padding: 8px 12px;
  background: #FFD700;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
}

/* Regras antigas removidas - consolidadas acima */

.external-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  background: linear-gradient(135deg, #ff4081, #e91e63);
  color: #333;
  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, #FFD700, #FFA500);
  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 */
.banner-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.banner-iframe,
.banner-ad-iframe {
  border: none;
  background: transparent;
  width: 100%;
  height: 100%;
}

.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: 9/16 !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: 9/16;
  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 - RESOLVIDO DEFINITIVAMENTE */
.load-more-container {
  text-align: center;
  padding: 30px 20px;
  margin: 20px 0;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  contain: layout;
}

.load-more-btn {
  background: #FFD700;
  color: #333;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.load-more-btn:hover {
  background: #FFA500;
}

.load-more-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: translate(-50%, -50%);
}

.load-more-btn:active {
  background: #FFA500;
}

/* Responsive para botão carregar mais - RECRIADO */
@media (max-width: 768px) {
  .load-more-container {
    padding: 20px 15px;
    margin: 15px 0;
    height: 85px; /* Altura fixa no mobile */
  }
  
  .load-more-btn {
    padding: 12px 24px;
    font-size: 15px;
    width: 180px; /* Largura fixa no mobile */
    height: 48px; /* Altura fixa no mobile */
  }
}

/* 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 - 2 colunas */
@media (max-width: 768px) {
  .menu-toggle {
    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;
  }
  
  .main-nav {
    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% - 170px) !important;
    margin: 0 !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(2, 1fr);
    gap: 8px;
    padding: 4px;
  }
  
  .related-videos h2 {
    font-size: 1.25rem;
    padding: 0 12px;
    margin-bottom: 16px;
  }
  
  /* Thumbnails mobile - GLOBAL */
  .grid-post .thumb,
  .grid-post .video-thumbnail,
  .related-video-item .video-thumbnail {
    min-height: 120px !important;
  }
  
  /* Títulos mobile - GLOBAL */
  .grid-post h2,
  .related-video-item h3,
  .related-video-item h2 {
    font-size: 14px;
    line-height: 1.2;
    margin: 8px 0 4px;
    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;
  }
}

/* Mobile pequeno - 2 colunas */
@media (max-width: 480px) {
  .header-container {
    gap: 2px !important;
    padding: 6px 8px !important;
  }
  
  .menu-toggle {
    min-width: 38px !important;
    width: 38px !important;
    height: 38px !important;
    margin-right: 4px !important;
  }
  
  .logo {
    min-width: 120px !important;
    max-width: 120px !important;
    margin-right: 2px !important;
  }
  
  .logo img {
    height: 42px !important;
    min-width: 120px !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(2, 1fr);
    gap: 6px;
    padding: 2px;
  }
  
  .related-videos h2 {
    font-size: 1.125rem;
    padding: 0 8px;
    margin-bottom: 12px;
  }
  
  /* Thumbnails mobile pequeno - GLOBAL */
  .grid-post .thumb,
  .grid-post .video-thumbnail,
  .related-video-item .video-thumbnail {
    min-height: 150px !important;
  }
  
  /* Títulos mobile pequeno - GLOBAL */
  .grid-post h2,
  .related-video-item h3,
  .related-video-item h2 {
    font-size: 13px;
    margin: 6px 0 3px;
    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 query removida - consolidada com @media (min-width: 1200px) */

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

/* PAGINAÇÃO - CONSOLIDADA */
.pagination-container {
  text-align: center;
  margin: 40px 0;
  padding: 20px;
  display: block !important;
  visibility: visible !important;
}

.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: #444;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 2px solid #666;
}

/* Estilos específicos para botões de paginação */
.pagination-btn {
  display: inline-block;
  padding: 12px 16px;
  margin: 0 4px;
  background: #222;
  color: #333;
  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: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.3);
}

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

.pagination-first,
.pagination-last {
  background: #555;
  color: #fff;
  font-weight: 600;
}

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

.pagination-prev,
.pagination-next {
  background: #555;
  color: #fff;
  font-weight: 600;
}

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

.pagination-number {
  background: #444;
  color: #fff;
}

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

.pagination-wrapper a:hover {
  background: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(194, 24, 91, 0.3);
}

.pagination-wrapper .current {
  background: #FFD700;
  color: #333;
  font-weight: 700;
  border-color: #FFD700;
  cursor: default;
}

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

.pagination-wrapper .dots {
  background: transparent;
  color: #ccc;
  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;
}

/* ===== SISTEMA RESPONSIVO ÚNICO - FINAL ===== */

/* Desktop: Menu horizontal visível, botão toggle oculto */
@media (min-width: 769px) {
  .main-nav {
    display: flex !important;
  }
  
  /* Menu toggle removido */
  
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    gap: 20px;
  }
  
  .header-container {
    flex-direction: row !important;
    justify-content: space-between !important;
  }
  
  .logo {
    order: 1;
  }
  
  .main-nav {
    order: 2;
    flex: 1;
    justify-content: center;
  }
  
  .search-container {
    order: 3;
  }
  
  .search-row {
    display: none !important;
  }
  
  .nav-arrow {
    display: none !important;
  }
}

/* Mobile: Menu inline com setas */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column !important;
    gap: 15px !important;
    padding: 15px 20px !important;
  }
  
  .logo {
    order: 1;
    text-align: center;
    width: 100%;
  }
  
  .main-nav {
    order: 2;
    display: flex !important;
    width: 100%;
    justify-content: center;
    position: relative;
  }
  
  .nav-menu {
    display: flex !important;
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 30px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .nav-menu::-webkit-scrollbar {
    display: none;
  }
  
  .nav-menu a {
    font-size: 14px;
    padding: 8px 12px;
    white-space: nowrap;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  
  /* Setas de navegação */
  .nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 64, 129, 0.8);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 10;
    transition: all 0.3s ease;
  }
  
  .nav-arrow:hover {
    background: rgba(255, 64, 129, 1);
    transform: translateY(-50%) scale(1.1);
  }
  
  .nav-arrow-left {
    left: 0;
  }
  
  .nav-arrow-right {
    right: 0;
  }
  
  .nav-arrow.hidden {
    opacity: 0;
    pointer-events: none;
  }
  
  .search-container {
    order: 3;
  display: block !important;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    text-align: center;
  }
  
  .search-container form {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  
  .search-container input[type="search"] {
    flex: 1;
    max-width: 200px;
  }
  
  /* Reduzir espaçamento no mobile */
  #main {
    padding: 5px 0 !important;
  }
  
  .page-header {
    margin: 0 auto !important;
    padding: 2px 20px !important;
  }
  
  .page-header .page-title {
    margin: 2px 0 !important;
  }
}

/* Animações do menu toggle removidas */

/* Definição duplicada removida - consolidada acima */

/* CLASSES REUTILIZÁVEIS - CSS INLINE CONSOLIDADO */
.pagination-inline {
  text-align: center;
  margin: 40px 0;
}

.load-more-btn-inline {
  background: #FFD700;
  color: #333;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  width: 200px; /* Largura fixa */
  height: 50px; /* Altura fixa */
  contain: layout style;
  display: inline-block;
  vertical-align: middle;
}

.load-more-btn-inline:hover {
  background: #FFA500;
}

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

/* CORREÇÃO FINAL - THUMBNAILS WIDE */
.video-thumbnail {
  aspect-ratio: 16/9 !important;
  height: auto !important;
  max-height: none !important;
}

.video-thumbnail img {
  aspect-ratio: 16/9 !important;
  height: auto !important;
  object-fit: cover !important;
}

.grid-post .video-thumbnail {
  aspect-ratio: 16/9 !important;
  height: auto !important;
}


/* VERIFICAÇÃO DE IDADE - RECRIADA PARA ELIMINAR LAYOUT SHIFT */
#age-verification-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.95) !important;
  z-index: 999999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  contain: layout style paint !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

#age-verification-modal {
  background: #1a1a1a !important;
  border: 2px solid #FFD700 !important;
  border-radius: 12px !important;
  padding: 40px !important;
  max-width: 500px !important;
  width: 90% !important;
  text-align: center !important;
  color: #333 !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
  contain: layout style paint !important;
  transform: scale(0.9) !important;
  transition: transform 0.3s ease !important;
}

#age-verification-overlay.show {
  opacity: 1 !important;
}

#age-verification-modal.show {
  transform: scale(1) !important;
}

/* SOLUÇÃO DEFINITIVA - CONTAINER SEM LAYOUT SHIFT */
.load-more-container {
  height: 90px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  contain: layout !important;
}
