/* ==========================================
   EhJapa Portal - Tema Revista Digital
   Google Fonts & Global Reset
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

:root {
  /* Fontes */
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;

  /* Cores Base (Dark Theme) */
  --bg-main: #0a0a0f;
  --bg-surface: #12121a;
  --bg-card: rgba(20, 22, 36, 0.85);
  --bg-card-hover: rgba(30, 32, 50, 0.95);
  --bg-elevated: #1a1a2e;

  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);

  --text-primary: #f1f1f7;
  --text-secondary: #a8a8b8;
  --text-muted: #6a6a7a;

  /* Cores da Marca EhJapa */
  --brand-red: #e8354a;
  --brand-red-dark: #c41e33;
  --brand-red-glow: rgba(232, 53, 74, 0.25);
  --brand-gold: #f5c842;
  --brand-gold-glow: rgba(245, 200, 66, 0.15);

  --gradient-primary: linear-gradient(135deg, #e8354a 0%, #f5c842 100%);
  --gradient-red: linear-gradient(135deg, #e8354a 0%, #c41e33 100%);
  --gradient-gold: linear-gradient(135deg, #f5c842 0%, #e8a820 100%);

  --accent-color: #e8354a;
  --accent-glow: rgba(232, 53, 74, 0.3);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(232, 53, 74, 0.1);

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --header-height: 72px;
  --max-width: 1280px;
}

/* ==========================================
   Light Theme
   ========================================== */
body.light-theme {
  --bg-main: #f5f3f0;
  --bg-surface: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-elevated: #f0ede8;

  --border-color: rgba(0, 0, 0, 0.06);
  --border-hover: rgba(0, 0, 0, 0.12);

  --text-primary: #1a1a24;
  --text-secondary: #5a5a6a;
  --text-muted: #8a8a9a;

  --brand-red: #d42a3e;
  --brand-red-dark: #b01e30;
  --brand-red-glow: rgba(212, 42, 62, 0.1);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(212, 42, 62, 0.04);

  --bg-card: rgba(255, 255, 255, 0.92);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: clip;
  padding-top: var(--header-height);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--brand-red);
  border-radius: 99px;
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

/* ==========================================
   HEADER - Navbar Estilo Revista
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, border-color 0.4s ease;
}

body.light-theme .header {
  background: rgba(245, 243, 240, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-icon {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: scale(1.08) rotate(-3deg);
}

.logo-icon img,
.logo-icon .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.logo-text .red {
  color: var(--brand-red);
}
.logo-text .gold {
  color: var(--brand-gold);
}

.logo-text .jp {
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 0.8rem;
  opacity: 0.5;
  letter-spacing: 0;
}

/* Navegação Principal */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-item {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: color var(--transition);
  position: relative;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width var(--transition);
}

.nav-item:hover {
  color: var(--text-primary);
}
.nav-item:hover::after {
  width: 100%;
}

.nav-item.active {
  color: var(--text-primary);
}
.nav-item.active::after {
  width: 100%;
}

.nav-item .badge {
  background: var(--brand-red);
  color: #fff;
  font-size: 0.6rem;
  padding: 0.1rem 0.4rem;
  border-radius: 99px;
  margin-left: 0.25rem;
  vertical-align: top;
}

/* Ações do Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.theme-toggle:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

body.light-theme .sun-icon {
  display: none;
}
body.light-theme .moon-icon {
  display: block;
}
body:not(.light-theme) .sun-icon {
  display: block;
}
body:not(.light-theme) .moon-icon {
  display: none;
}

/* Search Button */
.search-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  border-radius: 99px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.search-btn:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

/* Menu Mobile Toggle */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.25rem;
}

/* ==========================================
   MOBILE MENU OVERLAY
   ========================================== */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.mobile-overlay.open {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  padding: 80px 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1050;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu .nav-item {
  font-size: 1.1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu .nav-item::after {
  display: none;
}

.mobile-menu .nav-item:hover {
  color: var(--brand-red);
}

/* ==========================================
   BREAKING NEWS TICKER
   ========================================== */
.breaking-news {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  position: relative;
  z-index: 10;
}

.breaking-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
}

.breaking-label {
  background: var(--gradient-red);
  color: #fff;
  font-weight: 800;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  flex-shrink: 0;
}

.breaking-track {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  display: flex;
}

.breaking-track-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: ticker-scrolling 40s linear infinite;
}

.breaking-track-content:hover {
  animation-play-state: paused;
}

@keyframes ticker-scrolling {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.breaking-track a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}
.breaking-track a:hover {
  color: var(--brand-red);
}

/* ==========================================
   HERO / DESTAQUE PRINCIPAL
   ========================================== */
.hero-featured {
  padding: 2rem 0 3rem;
  position: relative;
}

.hero-featured-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

/* Card Destaque Principal */
.hero-main-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: all var(--transition);
}

.hero-main-card:hover {
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.hero-main-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: transform 0.4s ease;
}

.hero-main-card:hover .hero-main-image-wrap {
  transform: scale(1.02);
}

.hero-main-card .card-bg {
  display: none;
}

.hero-main-card .card-content {
  position: relative;
  padding: 1.5rem 1.75rem 1.75rem;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.hero-main-card .category-tag {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.hero-main-card h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  transition: color var(--transition);
}

.hero-main-card:hover h2 {
  color: var(--brand-red);
}

.hero-main-card .meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 0.5rem;
}

.hero-main-card .meta .author {
  color: var(--text-secondary);
  font-weight: 600;
}

/* Sidebar Destaques Secundários */
.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-side-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition);
  flex: 1;
}

.hero-side-card:hover {
  border-color: var(--brand-red);
  background: var(--bg-card-hover);
  transform: translateX(4px);
}

.hero-side-card .thumb {
  width: 110px;
  height: 80px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  flex-shrink: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.hero-side-card .info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.25rem;
}

.hero-side-card .info .tag {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-red);
  letter-spacing: 0.3px;
}

.hero-side-card .info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-side-card .info .time {
  font-size: 0.65rem;
  color: var(--text-muted);
}

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--gradient-primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title .jp {
  font-family: var(--font-jp);
  font-size: 0.8rem;
  font-weight: 400;
  opacity: 0.4;
}

.section-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.section-link:hover {
  color: var(--brand-red);
}

/* ==========================================
   NOTÍCIAS RECENTES - Grid 3 colunas
   ========================================== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.news-card .card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-card .card-image .category-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.news-card .card-body .region-tag {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.news-card .card-body .region-tag.jp {
  color: var(--brand-red);
}
.news-card .card-body .region-tag.br {
  color: #34a853;
}
.news-card .card-body .region-tag.world {
  color: var(--brand-gold);
}

.news-card .card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .card-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.news-card .card-footer .author {
  color: var(--text-secondary);
  font-weight: 600;
}

/* ==========================================
   ARTIGO EM DESTAQUE (Feature Article)
   ========================================== */
.featured-article {
  margin: 3rem 0;
}

.featured-article-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.featured-article-wrapper:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.featured-article .article-image {
  aspect-ratio: 4/3;
  background: var(--bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}

.featured-article .article-image .featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 99px;
  letter-spacing: 0.5px;
}

.featured-article .article-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.featured-article .article-content .meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.featured-article .article-content .meta-top .category {
  color: var(--brand-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.featured-article .article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

.featured-article .article-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.featured-article .article-content .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-red);
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  margin-top: 0.5rem;
  transition: gap var(--transition);
}

.featured-article .article-content .read-more:hover {
  gap: 0.75rem;
}

/* ==========================================
   ÚLTIMOS ARTIGOS - Grid
   ========================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition);
  cursor: pointer;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
}

.article-card .article-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--brand-gold);
  letter-spacing: 0.3px;
  margin-bottom: 0.75rem;
}

.article-card h4 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card .article-meta {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ==========================================
   SIDEBAR / Categorias Populares
   ========================================== */
.sidebar-section {
  width: 100%;
  margin: 2.5rem 0;
}

.popular-categories {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}

.popular-categories .section-header {
  margin-bottom: 1rem;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.category-pill {
  padding: 0.4rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--border-color);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.category-pill:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: var(--brand-red-glow);
}

.category-pill .count {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.65rem;
}

/* Newsletter Signup */
.newsletter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.newsletter-box h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

.newsletter-box p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.newsletter-box .input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-box .input-group input {
  flex: 1;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-box .input-group input:focus {
  border-color: var(--brand-red);
}

.newsletter-box .input-group button {
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  border: none;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all var(--transition);
}

.newsletter-box .input-group button:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px var(--brand-red-glow);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer-brand .social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-brand .social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition);
}

.footer-brand .social a:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
  background: var(--brand-red-glow);
}

.footer-col h5 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.footer-bottom .lang-select {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  cursor: pointer;
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-featured-grid {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid,
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-article-wrapper {
    grid-template-columns: 1fr;
  }

  .featured-article .article-image {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .search-form-header {
    display: none !important;
  }

  /* News Categories Wrap Layout for Mobile & Tablet */
  .news-editorial-categories-inner {
    justify-content: center !important;
    overflow-x: visible !important;
    flex-wrap: wrap !important;
    gap: 1rem 1.5rem !important;
    padding: 0.75rem 0.5rem !important;
  }

  .news-editorial-dropdown {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
    display: flex !important; /* Ensure flex is used when visible */
  }

  .news-editorial-cat-item.is-open .news-editorial-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .hero-featured-grid {
    grid-template-columns: 1fr;
  }

  .hero-main-card:hover {
    transform: none;
  }

  .hero-main-card:hover .hero-main-image-wrap {
    transform: none;
  }

  .hero-main-card .card-content {
    padding: 1.25rem 1.25rem 1.5rem;
  }

  .hero-main-card h2 {
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
  }

  .hero-sidebar {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding: 0.25rem 0.25rem 0.75rem 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .hero-sidebar::-webkit-scrollbar {
    display: none;
  }

  .hero-side-card {
    flex: 0 0 74%;
    max-width: 280px;
    min-width: 220px;
    scroll-snap-align: start;
    padding: 0.75rem 0.85rem;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    box-sizing: border-box;
  }

  .hero-side-card .thumb {
    width: 80px;
    height: 65px;
    min-width: 80px;
    border-radius: var(--radius-sm);
  }

  .hero-side-card .info {
    min-width: 0;
  }

  .hero-side-card .info h4 {
    font-size: 0.85rem;
    line-height: 1.25;
    margin: 0.15rem 0;
  }

  .hero-side-card .info .tag {
    font-size: 0.6rem;
  }

  .hero-side-card .info .time {
    font-size: 0.65rem;
  }

  .news-grid,
  .articles-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .featured-article .article-content {
    padding: 1.5rem;
  }

  .featured-article .article-content h2 {
    font-size: 1.4rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .newsletter-box .input-group {
    flex-direction: column;
  }

  .newsletter-box .input-group button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero-main-card .card-content {
    padding: 1rem 1rem 1.25rem;
  }

  .hero-main-card h2 {
    font-size: 1.15rem;
  }

  .hero-side-card {
    flex: 0 0 76%;
    max-width: 250px;
    min-width: 190px;
    padding: 0.65rem 0.75rem;
    gap: 0.65rem;
  }

  .hero-side-card .thumb {
    width: 72px;
    height: 58px;
    min-width: 72px;
  }

  .hero-side-card .info h4 {
    font-size: 0.8rem;
    line-height: 1.25;
  }

  .news-card .card-body {
    padding: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
  .footer-brand {
    grid-column: 1 / -1;
    margin-bottom: 0.5rem;
  }
}

/* ==========================================
   PORTAL TABS SECTION (Blog, Notícias, Manchete)
   ========================================== */

/* ==========================================
   ARTICLE PAGE STYLING
   ========================================== */
.article-page {
  padding-bottom: 5rem;
}

.article-header {
  position: relative;
  background-size: cover;
  background-position: center top;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0;
  margin-bottom: 3rem;
  color: #ffffff;
}

.article-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(10, 10, 15, 0.3) 0%, rgba(10, 10, 15, 0.9) 100%);
  z-index: 1;
}

.article-header-content {
  position: relative;
  z-index: 2;
}

.category-tag-link {
  display: inline-block;
  background: var(--brand-red);
  color: #ffffff;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px var(--brand-red-glow);
  transition: transform var(--transition), opacity var(--transition);
}

.category-tag-link:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.article-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  max-width: 900px;
}

.article-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  max-width: 800px;
}

.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.meta-separator {
  opacity: 0.3;
}

@media (max-width: 576px) {
  .meta-separator {
    display: none;
  }
}

/* Container & Layout */
.article-body-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
}

.article-content-wrapper {
  padding: 2.5rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.card-glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.article-main-image-wrap {
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.article-main-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Post Content Formatting */
.post-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: var(--text-primary);
}

.post-content span {
  color: inherit !important;
}

.post-content p {
  margin-bottom: 1.5rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  margin: 2rem 0;
}

.post-content h2, .post-content h3 {
  color: var(--text-primary);
  margin: 2.5rem 0 1rem 0;
  font-weight: 700;
}

.post-content h2 {
  font-size: 1.8rem;
  border-left: 4px solid var(--brand-red);
  padding-left: 1rem;
}

/* Share Buttons */
.article-share {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.article-share h5 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffffff;
  transition: transform var(--transition), opacity var(--transition);
}

.share-btn:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.share-btn.twitter {
  background: #1da1f2;
}
.share-btn.facebook {
  background: #1877f2;
}
.share-btn.whatsapp {
  background: #25d366;
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-block {
  padding: 1.75rem;
  border-radius: var(--radius-md);
}

.sidebar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--brand-red);
  padding-bottom: 0.5rem;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.related-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.related-cover {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

.related-info h4 {
  font-size: 0.9rem;
  line-height: 1.3;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.related-info h4 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.related-info h4 a:hover {
  color: var(--brand-red);
}

.related-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.banner-cta {
  background: linear-gradient(135deg, rgba(232, 53, 74, 0.1) 0%, rgba(245, 200, 66, 0.05) 100%);
  border: 1px solid rgba(232, 53, 74, 0.15);
}

.social-links-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition);
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* ==========================================
   CATEGORY & SEARCH PAGES
   ========================================== */
.category-page, .search-page {
  padding-bottom: 5rem;
}

.category-hero-header, .search-hero-header {
  background: linear-gradient(180deg, rgba(232, 53, 74, 0.08) 0%, rgba(10, 10, 15, 0) 100%);
  padding: 4rem 0 3rem 0;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
}

.category-eyebrow, .search-eyebrow {
  display: inline-block;
  color: var(--brand-red);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.category-page-title, .search-page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.category-page-desc, .search-page-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 700px;
}

.posts-grid-category {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.post-card-grid {
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform var(--transition), border-color var(--transition);
}

.post-card-grid:hover {
  transform: translateY(-6px);
  border-color: var(--brand-red);
}

.post-card-image-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
}

.post-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

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

.post-card-body-grid {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.post-card-meta {
  margin-bottom: 0.75rem;
}

.post-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.post-card-title-grid {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.post-card-title-grid a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.post-card-title-grid a:hover {
  color: var(--brand-red);
}

.post-card-subtitle-grid {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.post-card-author {
  font-weight: 600;
  color: var(--text-secondary);
}

.read-more-link {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 700;
  transition: transform var(--transition);
}

.read-more-link:hover {
  transform: translateX(3px);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius-md);
  max-width: 600px;
  margin: 0 auto;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.empty-state p {
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.btn-back {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity var(--transition);
}

.btn-back:hover {
  opacity: 0.9;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .article-body-container {
    grid-template-columns: 1fr;
  }
  .article-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 576px) {
  .article-header {
    min-height: 300px;
    padding: 2.5rem 0;
  }
  .article-title {
    font-size: 1.8rem;
  }
  .article-content-wrapper {
    padding: 1.5rem;
  }
}

/* ==========================================
   DEDICATED EVENTS PAGE & CAROUSEL
   ========================================== */
.events-section {
  padding: 3rem 0;
  background: rgba(255, 255, 255, 0.01);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 3rem;
  overflow: hidden;
  width: 100%;
}

.events-section .section-header {
  margin-bottom: 2rem;
}

.events-section .section-title {
  font-size: 1.4rem;
  font-weight: 800;
}

.events-section .section-title .jp {
  font-size: 0.8rem;
  opacity: 0.5;
  margin-left: 0.5rem;
}

.events-scroll-container {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none; /* Hide scrollbar in Firefox */
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  max-width: 100%;
}

.events-scroll-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar in Chrome/Safari/Webkit */
}

.events-carousel-wrapper {
  position: relative;
  width: 100%;
}

.events-carousel-wrapper .carousel-control-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(15, 15, 25, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.events-carousel-wrapper .carousel-control-btn.prev {
  left: -23px;
}

.events-carousel-wrapper .carousel-control-btn.next {
  right: -23px;
}

.events-carousel-wrapper .carousel-control-btn:hover:not(:disabled) {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
  transform: translateY(-50%) scale(1.1);
}

.events-carousel-wrapper .carousel-control-btn:active:not(:disabled) {
  transform: translateY(-50%) scale(0.95);
}

.events-carousel-wrapper .carousel-control-btn:disabled {
  opacity: 0.25 !important;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

/* Responsividade dos controles do carrossel em tablets e celulares */
@media (max-width: 992px) {
  .events-carousel-wrapper .carousel-control-btn {
    display: flex;
    width: 40px;
    height: 40px;
    background: rgba(15, 15, 25, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
  }

  .events-carousel-wrapper .carousel-control-btn svg {
    width: 20px;
    height: 20px;
  }

  .events-carousel-wrapper .carousel-control-btn.prev {
    left: -12px;
  }

  .events-carousel-wrapper .carousel-control-btn.next {
    right: -12px;
  }
}

@media (max-width: 576px) {
  .events-carousel-wrapper .carousel-control-btn {
    width: 36px;
    height: 36px;
  }

  .events-carousel-wrapper .carousel-control-btn svg {
    width: 18px;
    height: 18px;
  }

  .events-carousel-wrapper .carousel-control-btn.prev {
    left: -8px;
  }

  .events-carousel-wrapper .carousel-control-btn.next {
    right: -8px;
  }
}

.event-card {
  flex: 0 0 320px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: 400px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
}

.event-banner-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.event-banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.event-card:hover .event-banner-wrap img,
.event-card-full:hover .event-banner-wrap img {
  transform: scale(1.05);
}

.event-banner-wrap.fallback {
  background: linear-gradient(135deg, rgba(255, 51, 102, 0.1) 0%, rgba(255, 153, 51, 0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-banner-wrap.fallback i {
  font-size: 3rem;
  color: #ff3366;
}

.event-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.event-name {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.event-slogan {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin: 0 0 1rem 0;
  line-height: 1.4;
}

.event-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.event-meta span {
  display: flex;
  align-items: center;
}

.event-meta i.bi-calendar3 {
  color: #ff3366;
  margin-right: 0.5rem;
}

.event-meta i.bi-calendar3-fill {
  color: #ff9933;
  margin-right: 0.5rem;
}

.event-meta i.bi-geo-alt-fill {
  color: #ff9933;
  margin-right: 0.5rem;
}

.event-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  max-height: 120px;
  overflow-y: auto;
  padding: 0;
  line-height: 1.5;
}

.btn-event-link {
  display: block;
  text-align: center;
  background: #ff3366;
  color: #ffffff;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

.btn-event-link:hover {
  background: #e62254;
}

/* Dedicated Page List elements */
.events-grid-full {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  width: 100%;
}

.event-card-full {
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.event-card-full:hover {
  transform: translateY(-6px);
  border-color: var(--brand-red);
}

.event-card-full .event-banner-wrap.fallback {
  background: linear-gradient(135deg, rgba(232, 53, 74, 0.1) 0%, rgba(245, 200, 66, 0.1) 100%);
}

.event-card-full .event-banner-wrap.fallback i {
  font-size: 3.5rem;
  color: var(--brand-red);
}

.event-card-full .event-card-body {
  padding: 2rem;
}

.event-card-full .event-name {
  font-size: 1.4rem;
  margin: 0 0 0.5rem 0;
  font-weight: 800;
}

.event-card-full .event-slogan {
  font-size: 0.95rem;
  margin: 0 0 1.5rem 0;
}

.event-card-full .event-meta {
  color: var(--text-primary);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.event-card-full .event-meta i.bi-calendar3 {
  color: var(--brand-red);
  margin-right: 0.75rem;
}

.event-card-full .event-meta i.bi-calendar3-fill {
  color: var(--brand-gold);
  margin-right: 0.75rem;
}

.event-card-full .event-meta i.bi-geo-alt-fill {
  color: var(--brand-gold);
  margin-right: 0.75rem;
}

.event-card-full .event-description {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-height: 150px;
}

.event-card-full .btn-event-link {
  background: var(--brand-red);
  padding: 0.75rem 1rem;
  border-radius: 30px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px var(--brand-red-glow);
}

.event-card-full .btn-event-link:hover {
  background: var(--brand-red-hover);
}

/* ==========================================
   EVENT DETAIL MODAL
   ========================================== */
.event-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.event-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.event-modal-card {
  background: #111116;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  width: 95%;
  max-width: 650px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.event-modal-overlay.open .event-modal-card {
  transform: translateY(0);
}

.event-modal-header {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center top;
}

.event-modal-header-fallback {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1f1c2c 0%, #928dab 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}

.event-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  font-size: 1.2rem;
  line-height: 1;
}

.event-modal-close:hover {
  background: var(--brand-red);
}

.event-modal-body {
  padding: 1.75rem;
}

.event-modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.event-modal-slogan {
  font-size: 1rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.event-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.event-modal-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.event-modal-meta span i {
  color: var(--brand-gold);
}

.event-modal-description {
  color: var(--text-primary);
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 2rem;
}

.event-modal-description p {
  margin-bottom: 1rem;
}

.event-modal-footer {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.event-modal-btn {
  background: var(--brand-red);
  color: #fff;
  padding: 0.6rem 1.75rem;
  border-radius: 99px;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.2s;
  box-shadow: 0 4px 12px var(--brand-red-glow);
}

.event-modal-btn:hover {
  opacity: 0.9;
}

/* ==========================================
   DIGITAL NEWSPAPER LAYOUT (NYT/WSJ STYLE)
   ========================================== */
.news-editorial-header {
  text-align: center;
  margin-bottom: 2.5rem;
  padding: 1.5rem 0 1rem;
}

.news-editorial-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  font-family: 'Outfit', sans-serif;
}

.news-editorial-title-block {
  padding: 1.5rem 0;
  border-bottom: 4px double var(--text-primary);
}

.news-editorial-title {
  font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}

.news-editorial-title span.red {
  color: var(--brand-red);
}

.news-editorial-title span.gold {
  color: var(--brand-gold);
}

.news-editorial-sub {
  font-family: 'Georgia', serif;
  font-style: italic;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  letter-spacing: 0.05em;
}

/* Category Filter Tabs - Newspaper Style */
/* Categories Navigation bar - Sticky & Full-width background */
.news-editorial-categories {
  position: sticky;
  top: var(--header-height);
  z-index: 999;
  width: 100%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 2px solid var(--text-primary);
  border-bottom: 2px solid var(--text-primary);
  margin-bottom: 2.5rem;
  transition: background 0.4s ease, border-color 0.4s ease;
}

body.light-theme .news-editorial-categories {
  background: rgba(245, 243, 240, 0.95);
}

.news-editorial-categories-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  padding: 0.75rem 0;
  flex-wrap: wrap;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.news-editorial-categories-inner::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 768px) {
  .news-editorial-categories-inner {
    justify-content: flex-start;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }
}

.news-editorial-cat-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: all 0.2s;
  padding: 0.25rem 0.75rem;
  white-space: nowrap;
  display: inline-block;
}

.news-editorial-cat-link:hover {
  color: var(--brand-red);
}

.news-editorial-cat-link.active {
  color: var(--bg-main) !important;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Newspaper Grid */
.newspaper-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Columns borders */
.news-col-main {
  padding-right: 2rem;
  border-right: 1px solid var(--border-color);
}

.news-col-secondary {
  padding-right: 2rem;
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-col-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Column Header / Section Labels */
.newspaper-col-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--brand-gold);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Main Featured Article (Newspaper style) */
.editorial-lead-article {
  display: flex;
  flex-direction: column;
}

.editorial-lead-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.editorial-lead-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-lead-article:hover .editorial-lead-img {
  transform: scale(1.03);
}

.editorial-lead-title {
  font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.editorial-lead-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.editorial-lead-title a:hover {
  color: var(--brand-red);
}

.editorial-lead-excerpt {
  font-family: 'Georgia', serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.editorial-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  border-top: 1px dashed var(--border-color);
  padding-top: 0.75rem;
  margin-top: auto;
}

.editorial-meta-author {
  font-weight: 600;
  color: var(--text-primary);
}

/* Secondary Editorial Article */
.editorial-sec-article {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.editorial-sec-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.editorial-sec-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}

.editorial-sec-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.editorial-sec-title {
  font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.editorial-sec-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.editorial-sec-title a:hover {
  color: var(--brand-red);
}

.editorial-sec-excerpt {
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

/* Text-only Sidebar Article */
.editorial-text-article {
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 1rem;
}

.editorial-text-article:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.editorial-text-title {
  font-family: 'Cinzel', 'Playfair Display', 'Georgia', serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.editorial-text-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.editorial-text-title a:hover {
  color: var(--brand-red);
}

.editorial-text-excerpt {
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* Newspaper Bottom Grid (Seção de Arquivo/Mais Notícias) */
.newspaper-section-divider {
  border: 0;
  height: 4px;
  border-top: 4px double var(--text-primary);
  margin: 3rem 0 2rem;
}

.newspaper-section-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--text-primary);
  padding-bottom: 0.5rem;
  margin: 2rem 0 1.5rem;
}

.newspaper-bottom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.editorial-bottom-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 3px solid var(--text-primary);
  padding-top: 0.75rem;
}

.editorial-bottom-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.editorial-bottom-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.editorial-bottom-card:hover .editorial-bottom-img {
  transform: scale(1.03);
}

.editorial-bottom-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.editorial-bottom-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.editorial-bottom-title a:hover {
  color: var(--brand-red);
}

.editorial-bottom-excerpt {
  font-family: 'Georgia', serif;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsividade para o grid inferior */
@media (max-width: 1024px) {
  .newspaper-bottom-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .newspaper-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
/* Sub-grid dentro da coluna principal (Estilo NYT) */
.newspaper-internal-divider {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 1.5rem 0;
}

.lead-sub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.lead-sub-article {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.lead-sub-img-wrap {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.lead-sub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.lead-sub-article:hover .lead-sub-img {
  transform: scale(1.03);
}

.lead-sub-title {
  font-family: 'Cinzel', 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.lead-sub-title a {
  color: var(--text-primary);
  text-decoration: none;
}

.lead-sub-title a:hover {
  color: var(--brand-red);
}

.lead-sub-excerpt {
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Responsividade do sub-grid */
@media (max-width: 768px) {
  .lead-sub-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsiveness for Editorial Newspaper Layout */
@media (max-width: 1024px) {
  .newspaper-grid {
    grid-template-columns: 1.5fr 1fr;
  }
  .news-col-secondary {
    border-right: none;
    padding-right: 0;
  }
  .news-col-sidebar {
    grid-column: 1 / -1;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
  }
}

@media (max-width: 768px) {
  .news-editorial-title {
    font-size: 2.2rem;
  }
  .newspaper-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .news-col-main {
    border-right: none;
    padding-right: 0;
  }
  .news-col-secondary {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
  }
}

/* Video Play Badge */
.video-play-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  background: rgba(232, 53, 74, 0.9); /* Brand Red */
  color: #ffffff;
  padding: 0.3rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  z-index: 2;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.video-play-badge i {
  font-size: 0.85rem;
  line-height: 1;
}

/* Category Hover Dropdown Styles */
.news-editorial-categories-inner {
  gap: 2.5rem; /* Space between categories on desktop */
}

.news-editorial-cat-item {
  position: relative;
}

.news-editorial-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  min-width: 190px;
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

/* Hover trigger */
.news-editorial-cat-item:hover .news-editorial-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.news-editorial-dropdown-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  padding: 0.6rem 1.2rem;
  transition: background 0.2s, color 0.2s;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  text-align: left;
  line-height: 1.2;
}

.news-editorial-dropdown-link:hover,
.news-editorial-dropdown-link.active {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

body.light-theme .news-editorial-dropdown-link:hover,
body.light-theme .news-editorial-dropdown-link.active {
  background: rgba(0, 0, 0, 0.03);
}

.news-editorial-dropdown-link.active {
  border-left: 3px solid var(--brand-red);
  padding-left: calc(1.2rem - 3px);
}

/* Sidebar Short Articles Styles */
.editorial-text-article {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.editorial-text-article:last-child {
  margin-bottom: 0;
}

.editorial-text-img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius-sm);
  position: relative;
}

.editorial-text-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.editorial-text-content {
  flex-grow: 1;
}

.editorial-text-title {
  margin-top: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.editorial-text-excerpt {
  font-size: 0.8rem;
  line-height: 1.4;
  margin-top: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text-secondary);
}

/* Mini play badge overlay */
.mini-play-badge {
  bottom: 0.25rem;
  left: 0.25rem;
  padding: 0.15rem 0.3rem;
  font-size: 0.55rem;
  border: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  gap: 0;
}

.mini-play-badge i {
  font-size: 0.65rem;
  line-height: 1;
}

/* Responsive adjustment for short articles */
@media (max-width: 576px) {
  .editorial-text-article {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .editorial-text-img-wrap {
    width: 100%;
    aspect-ratio: 16/9;
  }
}

/* Home Bottom Grid Layout */
.home-bottom-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  width: 100%;
  align-items: stretch;
}

.home-bottom-grid.single-column {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .home-bottom-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile menu header & search elements */
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
}
.mobile-menu-close-btn {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
}
.search-form-mobile {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.search-input-mobile {
  width: 100%;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
  outline: none;
  font-size: 0.9rem;
}
.search-btn-mobile {
  background: var(--brand-red);
  border: none;
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Event Detail Page Styles */
.event-detail-page {
  padding: 2rem 0;
}
.event-detail-banner-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}
.event-detail-banner-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.event-detail-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}
.event-detail-header .category-tag {
  background: var(--brand-red);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
  margin-bottom: 0.75rem;
}
.event-detail-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}
.event-detail-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-top: 0.5rem;
  font-style: italic;
}
.event-detail-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
}
.event-detail-share {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}
.event-detail-share-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--text-secondary);
}
.event-detail-share-list {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.event-detail-share-btn {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.event-detail-share-btn.twitter {
  background: #1da1f2;
}
.event-detail-share-btn.facebook {
  background: #1877f2;
}
.event-detail-share-btn.whatsapp {
  background: #25d366;
}

/* Event Detail Sidebar */
.event-detail-sidebar {
  padding: 1.8rem;
  border-radius: var(--radius-md);
  position: sticky;
  top: calc(var(--header-height) + 2rem);
}
.event-detail-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
  color: var(--text-primary);
}
.event-detail-meta-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.event-detail-meta-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.event-detail-meta-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(232, 53, 74, 0.1);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.event-detail-meta-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}
.event-detail-meta-value {
  font-size: 0.95rem;
  color: var(--text-primary);
}

/* Event Ticket Buttons */
.btn-event-ticket-buy {
  display: block;
  width: 100%;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, var(--brand-red) 0%, #ff5263 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(232, 53, 74, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-event-ticket-buy:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 53, 74, 0.4);
}
.btn-event-ticket-disabled {
  display: block;
  width: 100%;
  padding: 0.8rem 1.5rem;
  text-align: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-weight: 700;
  border-radius: 8px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: not-allowed;
}

/* Header Search Form */
.search-form-header {
  display: flex;
  align-items: center;
  position: relative;
}
.search-input-header {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem 0.4rem 2.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
  outline: none;
  width: 120px;
}
.search-input-header:focus {
  width: 180px;
  border-color: var(--brand-red);
}
.search-form-header .search-btn {
  position: absolute;
  left: 8px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Mobile Menu Header Logo */
.mobile-menu-header .logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.mobile-menu-header .logo-icon {
  width: 34px;
  height: 34px;
}
.mobile-menu-header .logo-text {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Footer Brand Logo */
.footer-brand .logo-icon {
  width: 36px;
  height: 36px;
}
.footer-brand .logo-text {
  font-size: 1.2rem;
}

/* Event description container */
.event-description-html {
  display: none;
}

/* Post/Article video container */
.article-video-wrap {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto 2rem;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}
.article-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Category page styling */
.category-page {
  padding: 2rem 0;
}
.empty-state.card-glass {
  margin-top: 2rem;
}
.news-empty-placeholder {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: italic;
}
.news-empty-placeholder.recent {
  font-size: 0.85rem;
}
.editorial-sec-img-wrap {
  position: relative;
}
.editorial-meta-row.no-border {
  border-top: none;
  padding-top: 0;
  margin-top: 0.4rem;
  font-size: 0.72rem;
}

/* Refactoring inline styles classes */
.breaking-track-separator {
  margin: 0 1rem;
  opacity: 0.3;
}

.empty-msg-centered {
  text-align: center;
  color: #a0a0b0;
  padding: 2rem 0;
  width: 100%;
}

.empty-msg-grid {
  grid-column: 1 / -1;
  text-align: center;
  color: #a0a0b0;
  padding: 2rem 0;
  width: 100%;
}

.event-link-block {
  display: block;
  text-align: center;
  text-decoration: none;
}

.article-thumb-preview {
  width: 100px;
  height: 70px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.news-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.featured-article-wrapper-clickable {
  cursor: pointer;
}

.featured-article-image-bg {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
}

.article-card-clickable {
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.article-card-image-bg {
  aspect-ratio: 16/9;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  width: 100%;
  transition: transform 0.5s ease;
}

.article-card-title-margin {
  margin-top: 0.5rem;
}

.article-card-meta-margin {
  margin-top: auto;
  padding-top: 1rem;
}

.section-title-sm {
  font-size: 1.1rem;
}

.blog-filter-margin {
  margin-bottom: 2rem;
}

.blog-filter-container {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}

.blog-filter-tag-all {
  background: var(--brand-red);
  box-shadow: var(--shadow-sm);
}

.blog-filter-tag-inactive {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  box-shadow: none;
}

/* ==========================================
   SEÇÃO DE COMENTÁRIOS (Comments Section)
   ========================================== */
.article-comments-wrapper {
  margin-top: 2.5rem;
  padding: 2.5rem;
  border-radius: 16px;
}

.article-comments-wrapper h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-primary);
  border-left: 4px solid var(--brand-red);
  padding-left: 12px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.empty-comments {
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  padding: 1.5rem 0;
}

.comment-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.comment-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--brand-red) 0%, #ff5252 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.comment-content {
  flex: 1;
}

.comment-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.comment-author {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
}

.comment-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.comment-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.comment-form-wrapper {
  border-top: 2px solid rgba(255, 255, 255, 0.05);
  padding-top: 2.5rem;
}

.comment-form-wrapper h4 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comment-form .form-row {
  display: flex;
  gap: 1.25rem;
}

.comment-form .form-group-comment {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.comment-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.comment-form input,
.comment-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--brand-red);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.btn-submit-comment {
  align-self: flex-start;
  background: var(--brand-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.btn-submit-comment:hover {
  background: #e62f3a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-submit-comment:active {
  transform: translateY(0);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.alert-success {
  background: rgba(52, 168, 83, 0.1);
  color: #34a853;
  border: 1px solid rgba(52, 168, 83, 0.2);
}

.alert-error {
  background: rgba(230, 57, 70, 0.1);
  color: var(--brand-red);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

@media (max-width: 768px) {
  .comment-form .form-row {
    flex-direction: column;
    gap: 1.25rem;
  }
  .article-comments-wrapper {
    padding: 1.5rem;
  }
}

/* Auth commented styles */
.login-to-comment {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 1rem;
}

.login-to-comment p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.btn-login-comment {
  display: inline-block;
  background: var(--brand-red);
  color: #fff;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.btn-login-comment:hover {
  background: #e62f3a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.comment-as-info {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================
   COBERTURAS DE EVENTOS (Gallery Coverage)
   ========================================== */
.coberturas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 1.5rem;
}

.cobertura-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cobertura-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.cobertura-banner-wrap {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}

.cobertura-banner-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s;
}

.cobertura-card:hover .cobertura-banner-wrap img {
  transform: scale(1.05);
}

.cobertura-banner-wrap.fallback {
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.1);
}

.cobertura-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.cobertura-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cobertura-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

.photos-count-badge {
  background: rgba(230, 57, 70, 0.1);
  color: var(--brand-red);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-weight: 600;
}

.cobertura-slogan {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-clamp: 2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.btn-cobertura-link {
  display: block;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cobertura-card:hover .btn-cobertura-link {
  background: var(--brand-red);
  border-color: var(--brand-red);
  color: #fff;
}

.btn-cobertura-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s;
}

.btn-cobertura-back:hover {
  color: var(--brand-red);
}

/* ==========================================
   COBERTURA HERO HEADER & DETAILS PAGE
   ========================================== */
.cobertura-hero-header {
  position: relative;
  padding: 6rem 0 5rem 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 3.5rem;
  overflow: hidden;
  background-color: #0b0b0f;
}

.cobertura-hero-header:not([style*="background-image"]) {
  background: linear-gradient(135deg, #0f0c20 0%, #15102a 50%, #0b0b0f 100%);
}

.cobertura-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 15, 0.5) 0%, rgba(11, 11, 15, 0.95) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1;
}

.cobertura-hero-content {
  position: relative;
  z-index: 2;
}

.cobertura-header-nav {
  margin-bottom: 1.5rem;
}

.btn-cobertura-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-cobertura-back:hover {
  color: #fff;
  background: rgba(232, 53, 74, 0.1);
  border-color: var(--brand-red);
  transform: translateX(-3px);
  box-shadow: 0 4px 15px rgba(232, 53, 74, 0.15);
}

.cobertura-page-title {
  font-size: 3rem;
  font-weight: 850;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.6);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
  line-height: 1.2;
}

.cobertura-page-desc {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 800px;
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.6;
}

.cobertura-meta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.meta-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 0.6rem 1.25rem;
  font-size: 0.95rem;
  color: #e0e0e6;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.meta-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 53, 74, 0.5);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 53, 74, 0.15);
}

.meta-badge i {
  color: var(--brand-red);
  font-size: 1.1rem;
}

/* ==========================================
   BENTO GRID PHOTO GALLERY & NIGHTCLUB LIGHTS
   ========================================== */
.club-light-1 {
  position: absolute;
  top: 10%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 53, 74, 0.12) 0%, rgba(232, 53, 74, 0) 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: pulseLight 8s infinite alternate ease-in-out;
}

.club-light-2 {
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 45vw;
  height: 45vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(142, 68, 173, 0.12) 0%, rgba(142, 68, 173, 0) 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  animation: pulseLight 12s infinite alternate-reverse ease-in-out;
}

@keyframes pulseLight {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.2) translate(5%, 5%); opacity: 0.9; }
}

.gallery-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  grid-auto-flow: dense;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(255, 255, 255, 0.01);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* Bento grid aspect ratio spans */
.gallery-item:nth-child(7n+1) {
  grid-column: span 2;
  grid-row: span 2;
}
.gallery-item:nth-child(7n+3) {
  grid-column: span 1;
  grid-row: span 2;
}
.gallery-item:nth-child(7n+4) {
  grid-column: span 2;
  grid-row: span 1;
}
.gallery-item:nth-child(7n+6) {
  grid-column: span 1;
  grid-row: span 2;
}

/* Laser sweep light effect */
.gallery-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(30deg);
  transition: transform 0.8s ease;
  z-index: 4;
  pointer-events: none;
}

.gallery-item:hover::after {
  transform: translate(600%, 0) rotate(30deg);
}

/* Flashing neon laser borders on hover */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 2px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  pointer-events: none;
  z-index: 3;
}

/* Red neon laser */
.gallery-item:nth-child(4n+1):hover::before {
  border-color: #ff2d55;
  box-shadow: inset 0 0 15px rgba(255, 45, 85, 0.4), 0 0 25px rgba(255, 45, 85, 0.3);
}
.gallery-item:nth-child(4n+1) .gallery-item-overlay {
  background: linear-gradient(135deg, rgba(255, 45, 85, 0.25) 0%, rgba(11, 11, 15, 0.85) 100%);
}

/* Purple strobe */
.gallery-item:nth-child(4n+2):hover::before {
  border-color: #a020f0;
  box-shadow: inset 0 0 15px rgba(160, 32, 240, 0.4), 0 0 25px rgba(160, 32, 240, 0.3);
}
.gallery-item:nth-child(4n+2) .gallery-item-overlay {
  background: linear-gradient(135deg, rgba(160, 32, 240, 0.25) 0%, rgba(11, 11, 15, 0.85) 100%);
}

/* Cyan laser */
.gallery-item:nth-child(4n+3):hover::before {
  border-color: #00f0ff;
  box-shadow: inset 0 0 15px rgba(0, 240, 255, 0.4), 0 0 25px rgba(0, 240, 255, 0.3);
}
.gallery-item:nth-child(4n+3) .gallery-item-overlay {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(11, 11, 15, 0.85) 100%);
}

/* Gold strobe */
.gallery-item:nth-child(4n+4):hover::before {
  border-color: #ffcc00;
  box-shadow: inset 0 0 15px rgba(255, 204, 0, 0.4), 0 0 25px rgba(255, 204, 0, 0.3);
}
.gallery-item:nth-child(4n+4) .gallery-item-overlay {
  background: linear-gradient(135deg, rgba(255, 204, 0, 0.25) 0%, rgba(11, 11, 15, 0.85) 100%);
}

.gallery-item:hover {
  transform: translateY(-6px);
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 1rem 1rem;
  background: linear-gradient(to top, rgba(11, 11, 15, 0.95) 0%, rgba(11, 11, 15, 0) 100%);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 5;
}

.gallery-item:hover .gallery-item-caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  opacity: 0;
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.gallery-item-overlay i {
  font-size: 2.2rem;
  color: #fff;
  transform: scale(0.8);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.gallery-item-overlay-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-item-overlay i {
  transform: scale(1);
}

/* Responsive grid overrides */
@media (max-width: 1200px) {
  .gallery-bento {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
}

@media (max-width: 768px) {
  .gallery-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
    gap: 1rem;
  }
  /* Reset spans for narrower screens */
  .gallery-item:nth-child(7n+1),
  .gallery-item:nth-child(7n+3),
  .gallery-item:nth-child(7n+4),
  .gallery-item:nth-child(7n+6) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .gallery-item:nth-child(5n+1) {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 480px) {
  .gallery-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }
  .gallery-item:nth-child(5n+1) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* ==========================================
   PREMIUM LIGHTBOX (Zoom Viewer)
   ========================================== */
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.3s;
}

.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--brand-red);
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  transition: all 0.3s;
}

.lightbox-arrow:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-arrow.prev {
  left: 24px;
}

.lightbox-arrow.next {
  right: 24px;
}

.lightbox-content {
  max-width: 85%;
  max-height: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: lightboxZoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ccc;
  font-size: 0.95rem;
  text-align: center;
  max-width: 600px;
}

.lightbox-controls {
  position: absolute;
  top: 24px;
  right: 80px; /* Leave space for the close button */
  display: flex;
  gap: 0.75rem;
  z-index: 10001;
}

.lightbox-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.lightbox-btn:hover {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(232, 53, 74, 0.3);
}

@media (max-width: 768px) {
  .lightbox-arrow {
    width: 40px;
    height: 40px;
  }
  .lightbox-arrow.prev {
    left: 8px;
  }
  .lightbox-arrow.next {
    right: 8px;
  }
  .lightbox-content {
    max-width: 95%;
  }
  .lightbox-controls {
    top: auto;
    bottom: 24px;
    right: 50%;
    transform: translateX(50%);
    gap: 1.5rem;
  }
  .lightbox-close {
    top: 16px;
    right: 16px;
  }
}

/* ==========================================
   VEJA OUTRAS GALERIAS SECTION
   ========================================== */
.other-coberturas-section {
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.other-coberturas-title {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: -0.5px;
}

.other-coberturas-subtitle {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  text-align: center;
}

/* ==========================================
   NEWS PAGE IMPROVED VIDEO & LIGHTBOX STYLES
   ========================================== */

/* Inline video containers for News page */
.editorial-lead-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.editorial-sec-video-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.editorial-lead-video-wrap iframe,
.editorial-sec-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================
   LIGHT THEME ADJUSTMENTS & CORRECTIONS
   ========================================== */
body.light-theme .other-coberturas-title {
  color: var(--text-primary);
}

body.light-theme .other-coberturas-subtitle {
  color: var(--text-secondary);
}

body.light-theme .btn-cobertura-back {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

body.light-theme .btn-cobertura-back:hover {
  color: var(--brand-red);
  background: rgba(212, 42, 62, 0.08);
  border-color: var(--brand-red);
}

/* ==========================================
   404 ERROR PAGE STYLES
   ========================================== */
.error-page-wrapper {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1.5rem 5rem;
  overflow: hidden;
  background: radial-gradient(circle at 50% 15%, rgba(232, 53, 74, 0.08) 0%, transparent 65%);
}

.error-bg-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
}

.error-bg-glow-red {
  width: 380px;
  height: 380px;
  background: var(--brand-red);
  top: 5%;
  left: 50%;
  transform: translateX(-65%);
}

.error-bg-glow-gold {
  width: 300px;
  height: 300px;
  background: var(--brand-gold);
  top: 25%;
  left: 50%;
  transform: translateX(25%);
  opacity: 0.35;
}

.error-watermark-kanji {
  position: absolute;
  font-family: var(--font-jp);
  font-size: clamp(12rem, 24vw, 22rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.02);
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

.error-container {
  position: relative;
  z-index: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
}

.error-card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem 2.5rem;
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.error-card-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gradient-primary);
  opacity: 0.85;
}

.error-visual-header {
  margin-bottom: 1.5rem;
  position: relative;
}

.error-portal-ring {
  width: 88px;
  height: 88px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 53, 74, 0.18) 0%, rgba(20, 22, 36, 0.6) 70%);
  border: 1px solid rgba(232, 53, 74, 0.35);
  box-shadow: 0 0 30px rgba(232, 53, 74, 0.2);
  animation: floatPortal 4s ease-in-out infinite;
}

@keyframes floatPortal {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.error-torii-svg {
  width: 52px;
  height: 52px;
  filter: drop-shadow(0 4px 10px rgba(232, 53, 74, 0.4));
}

.error-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(232, 53, 74, 0.12);
  border: 1px solid rgba(232, 53, 74, 0.3);
  color: var(--brand-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.error-badge-pill .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-red);
  box-shadow: 0 0 8px var(--brand-red);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.error-glitch-code {
  font-family: var(--font-heading);
  font-size: clamp(5.5rem, 13vw, 8.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -3px;
  margin: 0.25rem 0 0.75rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-red) 55%, var(--brand-gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 20px rgba(232, 53, 74, 0.25));
  user-select: none;
}

.error-content-box {
  margin-bottom: 2rem;
}

.error-headline {
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  letter-spacing: -0.5px;
}

.error-subheadline {
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.65;
}

.error-search-bar {
  max-width: 520px;
  margin: 0 auto 2.25rem;
}

.error-search-input-group {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 6px 6px 6px 18px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.error-search-input-group:focus-within {
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(232, 53, 74, 0.18), var(--shadow-sm);
}

.error-search-icon {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.error-search-input {
  flex: 1;
  border: none;
  background: transparent;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  min-width: 0;
}

.error-search-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.error-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.error-search-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 4px 15px rgba(232, 53, 74, 0.35);
}

.error-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-error-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: #ffffff !important;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(232, 53, 74, 0.28);
  transition: var(--transition);
}

.btn-error-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(232, 53, 74, 0.45);
  filter: brightness(1.08);
}

.btn-error-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
  padding: 13px 26px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-error-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  transform: translateY(-2px);
}

.error-suggestions-section {
  padding-top: 2.25rem;
  border-top: 1px solid var(--border-color);
}

.error-suggestions-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.error-suggestions-title .line {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border-color);
}

.error-hubs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.error-hub-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  text-decoration: none !important;
  text-align: left;
  transition: var(--transition);
}

.error-hub-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-red);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-md);
}

.hub-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hub-news {
  background: rgba(232, 53, 74, 0.14);
  color: var(--brand-red);
}

.hub-blog {
  background: rgba(245, 200, 66, 0.16);
  color: var(--brand-gold);
}

.hub-events {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.hub-coverage {
  background: rgba(168, 85, 247, 0.15);
  color: #a855f7;
}

.hub-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hub-text strong {
  font-size: 0.88rem;
  color: var(--text-primary);
  margin-bottom: 2px;
  transition: color 0.2s;
}

.hub-text small {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hub-arrow {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: transform 0.2s, color 0.2s;
}

.error-hub-card:hover .hub-arrow {
  transform: translateX(4px);
  color: var(--brand-red);
}

.error-hub-card:hover .hub-text strong {
  color: var(--brand-red);
}

/* Light Theme Overrides */
body.light-theme .error-watermark-kanji {
  color: rgba(0, 0, 0, 0.025);
}

body.light-theme .error-card-glass {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.07);
}

body.light-theme .error-portal-ring {
  background: radial-gradient(circle, rgba(232, 53, 74, 0.1) 0%, rgba(245, 243, 240, 0.8) 70%);
  border-color: rgba(232, 53, 74, 0.2);
}

body.light-theme .error-glitch-code {
  background: linear-gradient(135deg, #1a1a24 0%, var(--brand-red) 55%, var(--brand-gold) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-theme .error-search-input-group {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
}

body.light-theme .btn-error-secondary {
  background: #ffffff;
  color: var(--text-primary) !important;
  border-color: rgba(0, 0, 0, 0.12);
}

body.light-theme .btn-error-secondary:hover {
  background: #f7f6f4;
  border-color: var(--brand-red);
  color: var(--brand-red) !important;
}

body.light-theme .error-hub-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.07);
}

body.light-theme .error-hub-card:hover {
  background: #ffffff;
  border-color: var(--brand-red);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .error-hubs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .error-card-glass {
    padding: 2.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }

  .error-hubs-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .error-actions-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-error-primary,
  .btn-error-secondary {
    width: 100%;
    justify-content: center;
  }

  .error-search-input-group {
    padding: 4px 4px 4px 14px;
  }

  .error-search-btn {
    padding: 9px 16px;
    font-size: 0.82rem;
  }
}

