* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Sora', sans-serif;
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1a1f3a;
  line-height: 1.6;
}

.js .prerender-fallback {
  display: none !important;
}

:focus-visible {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

body.dark :focus-visible {
  outline-color: #60a5fa;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0, 102, 204, 0.15);
  position: relative;
  overflow: hidden;
}

.header-perfil {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 170px;
  height: 170px;
  border-radius: 0;
  margin: 0;
  border: none;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.header-perfil img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header h1 {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5em;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.header-subtitle {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 300;
  margin-bottom: 16px;
}

/* REDES SOCIAIS */
.social-media {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.social-media a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.social-media a:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.social-media i {
  font-size: 1.2em;
}

/* STATS COUNTERS */
.header-stats {
  position: absolute;
  top: 50%;
  left: 20px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 10;
}

.stat-counter {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 164px;
}

.stat-counter:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 1.6em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon.youtube {
  color: #FF0000;
}

.stat-icon.twitch {
  color: #9146FF;
}

.stat-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 1.2em;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 2px;
}

.stat-label {
  font-size: 0.7em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* NAVEGAÇÃO */
nav {
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 102, 204, 0.12);
  padding: 0 20px;
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav a {
  color: #1a1f3a;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95em;
  padding: 20px 0;
  border-bottom: 3px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a:hover {
  color: #0066cc;
  border-bottom-color: #0066cc;
}

/* DROPDOWN MENU */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown > a::after {
  content: '▼';
  font-size: 0.65em;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid rgba(0, 102, 204, 0.15);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
  min-width: 160px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 12px 20px;
  color: #1a1f3a;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9em;
  border-bottom: none;
  padding: 12px 20px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-menu a:hover {
  background: #e3f2fd;
  color: #0066cc;
  padding-left: 24px;
}

/* Dark mode dropdown */
body.dark .dropdown-menu {
  background: #1a2332;
  border-color: rgba(96, 165, 250, 0.2);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

body.dark .dropdown-menu a {
  color: #d1d5db;
}

body.dark .dropdown-menu a:hover {
  background: rgba(96, 165, 250, 0.2);
  color: #60a5fa;
  padding-left: 24px;
}

/* CAMPO DE PESQUISA */
.search-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px 0;
}

.search-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border: 2px solid #e0e8f5;
  border-radius: 12px;
  font-size: 1em;
  font-family: 'Sora', sans-serif;
  background: #ffffff;
  color: #1a1f3a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.05);
}

body.dark .search-input {
  background: #1a2332;
  color: #d1d5db;
  border-color: #2d3748;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.search-input:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.15);
}

body.dark .search-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.2);
}

.search-input::placeholder {
  color: #5a6b7f;
}

body.dark .search-input::placeholder {
  color: #a0aec0;
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #0066cc;
  font-size: 1.2em;
  pointer-events: none;
}

.search-results {
  margin-top: 20px;
  text-align: center;
  font-size: 0.95em;
  color: #5a6b7f;
}

.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border: 2px solid #e0e8f5;
  border-top: none;
  border-radius: 0 0 12px 12px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
  z-index: 1000;
  display: none;
}

body.dark .search-dropdown {
  background: #1a2332;
  border-color: #2d3748;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.search-dropdown.active {
  display: block;
}

.search-result-item {
  padding: 15px 20px;
  border-bottom: 1px solid #e0e8f5;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

body.dark .search-result-item {
  color: #d1d5db;
  border-bottom-color: #2d3748;
}

body.dark .search-result-item:hover {
  background: rgba(96, 165, 250, 0.15);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background: #e3f2fd;
}

.search-result-title {
  font-weight: 600;
  color: #1a1f3a;
  margin-bottom: 5px;
  font-size: 0.95em;
}

.search-result-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8em;
  color: #5a6b7f;
  margin-bottom: 5px;
}

.search-result-category {
  background: #0066cc;
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75em;
  font-weight: 600;
}

.search-result-excerpt {
  font-size: 0.85em;
  color: #5a6b7f;
  line-height: 1.4;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: #5a6b7f;
}

body.dark .search-dropdown {
  background: #0b1220;
  border-color: #1f2937;
}

body.dark .search-result-item {
  border-bottom-color: #1f2937;
}

body.dark .search-result-item:hover {
  background: #1f2937;
}

body.dark .search-result-title {
  color: #ffffff;
}

body.dark .search-result-meta {
  color: #9ca3af;
}

body.dark .search-result-category {
  background: #0ea5e9;
}

body.dark .search-result-excerpt {
  color: #cbd5e1;
}

body.dark .search-no-results {
  color: #9ca3af;
}

body.dark .search-input {
  background: #0b1220;
  border-color: #1f2937;
  color: #e5e7eb;
}

body.dark .search-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 4px 16px rgba(14, 165, 233, 0.15);
}

body.dark .search-input::placeholder {
  color: #9ca3af;
}

body.dark .search-icon {
  color: #0ea5e9;
}

body.dark .search-results {
  color: #9ca3af;
}

/* MAIN */
main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 20px;
  display: grid;
  grid-template-columns: 280px 1fr 280px;
  gap: 40px;
  align-items: start;
}

/* SIDEBAR */
.sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5em;
  font-weight: 700;
  color: #1a1f3a;
  margin-bottom: 10px;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 3px solid #0066cc;
}

.social-widget {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid #e0e8f5;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

body.dark .social-widget {
  background: #1a2332;
  border-color: #2d3748;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.social-widget:hover {
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
  transform: translateY(-4px);
}

.social-widget-icon {
  font-size: 3em;
  margin-bottom: 16px;
}

.social-widget-icon.youtube {
  color: #FF0000;
}

.social-widget-icon.twitch {
  color: #9146FF;
}

.social-widget-icon.spotify {
  color: #1DB954;
}

.social-widget h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2em;
  margin-bottom: 8px;
  color: #1a1f3a;
  font-weight: 700;
}

.social-widget p {
  font-size: 0.85em;
  color: #5a6b7f;
  margin-bottom: 16px;
  line-height: 1.4;
}

.social-widget-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.social-widget-btn.youtube {
  background: #FF0000;
  color: #ffffff;
}

.social-widget-btn.youtube:hover {
  background: #cc0000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

.social-widget-btn.twitch {
  background: #9146FF;
  color: #ffffff;
}

.social-widget-btn.twitch:hover {
  background: #7728cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(145, 70, 255, 0.3);
}

.social-widget-btn.spotify {
  background: #1DB954;
  color: #ffffff;
}

.social-widget-btn.spotify:hover {
  background: #169c46;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(29, 185, 84, 0.3);
}

/* WIDGET ARTIGOS MAIS LIDOS */
.artigos-mais-lidos-widget {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.artigos-mais-lidos-widget::-webkit-scrollbar {
  width: 6px;
}

.artigos-mais-lidos-widget::-webkit-scrollbar-track {
  background: transparent;
}

.artigos-mais-lidos-widget::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 204, 0.28);
  border-radius: 999px;
}

.artigos-mais-lidos-widget::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 102, 204, 0.5);
}

/* Barra fina de scroll na lista (apenas desktop, onde a sidebar é sticky) */
@media (min-width: 993px) {
  .artigos-mais-lidos-widget {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    padding-right: 6px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 102, 204, 0.32) transparent;
  }
}

.artigo-mais-lido-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border-radius: 12px;
  padding: 10px;
  border: 1px solid #e0e8f5;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.05);
}

.artigo-mais-lido-item:hover {
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
  transform: translateY(-2px);
  border-color: rgba(0, 102, 204, 0.25);
}

.artigo-mais-lido-thumb {
  flex: 0 0 100px;
  width: 100px;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #e3f2fd;
  display: block;
}

.artigo-mais-lido-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.artigo-mais-lido-conteudo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.artigo-mais-lido-titulo {
  font-family: 'Outfit', sans-serif;
  font-size: 0.98em;
  font-weight: 700;
  color: #1a1f3a;
  line-height: 1.35;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.artigo-mais-lido-meta {
  font-size: 0.78em;
  color: #5a6b7f;
  margin-bottom: 0;
  line-height: 1.4;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.artigo-mais-lido-meta .artigo-categoria-badge {
  font-size: 1em;
}


.artigo-categoria-badge {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85em;
}

body.dark .artigo-mais-lido-item {
  background: #1a2332;
  border-color: #2d3748;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

body.dark .artigo-mais-lido-item:hover {
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.35);
}

body.dark .artigo-mais-lido-thumb {
  background: #0f172a;
}

body.dark .artigos-mais-lidos-widget {
  scrollbar-color: rgba(96, 165, 250, 0.4) transparent;
}

body.dark .artigos-mais-lidos-widget::-webkit-scrollbar-thumb {
  background: rgba(96, 165, 250, 0.35);
}

body.dark .artigos-mais-lidos-widget::-webkit-scrollbar-thumb:hover {
  background: rgba(96, 165, 250, 0.55);
}

body.dark .artigo-mais-lido-titulo {
  color: #f3f4f6;
}

body.dark .artigo-mais-lido-meta {
  color: #a0aec0;
}

@media (max-width: 992px) {
  .artigos-mais-lidos-widget {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .artigos-mais-lidos-widget {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .artigo-mais-lido-thumb {
    flex-basis: 84px;
    width: 84px;
  }
}


/* SIDEBAR DIREITA */
.sidebar-right {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-video-section {
  background: #ffffff;
  border-radius: 16px;
  padding: 26px;
  margin-bottom: 40px;
  box-shadow: 0 12px 30px rgba(0, 82, 163, 0.12);
  border: 1px solid rgba(0, 102, 204, 0.08);
}

.highlight-video-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 18px;
}

.highlight-video-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.7em;
  font-weight: 700;
  color: #1a1f3a;
  flex: 1;
  text-align: center;
}

.highlight-video-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  font-size: 0.9em;
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0, 82, 163, 0.2);
  text-align: center;
  margin: 0 auto;
}

.highlight-video-badge {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  font-size: 0.75em;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 6px 14px rgba(0, 82, 163, 0.2);
}

.highlight-video-card {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.highlight-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000000;
}

.highlight-video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.highlight-video-cover {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.highlight-video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.highlight-video-play,
.featured-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.68);
  color: #ffffff;
  font-size: 1.5em;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.highlight-video-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff;
  text-align: center;
  padding: 20px;
}

.highlight-video-empty i {
  font-size: 2em;
}

.highlight-video-info h3 {
  font-size: 1.4em;
  font-weight: 700;
  margin-bottom: 0;
  line-height: 1.3;
  color: #1a1f3a;
}

.highlight-video-info p {
  color: #5a6b7f;
  margin-bottom: 0;
  line-height: 1.7;
}

.highlight-video-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlight-video-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: center;
}

.highlight-video-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 82, 163, 0.25);
}

.highlight-video-cta i {
  color: #ffffff;
}

.featured-section {
  margin-bottom: 50px;
}

.featured-content {
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 10px 28px rgba(0, 82, 163, 0.25);
}

.featured-content.text-only {
  gap: 0;
}

.main-content > h2 {
  margin-top: 18px;
}

.featured-video {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  margin: 0 auto 28px;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.featured-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}

.featured-video-error {
  text-align: center;
  color: #ffffff;
  padding: 40px 20px;
}

.featured-video-error h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #ffffff;
}

.featured-video-error p {
  font-size: 0.95em;
  color: rgba(255, 255, 255, 0.8);
}

.featured-video img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
}

.featured-video-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.featured-video-link:hover img,
.featured-video-link:focus-visible img,
.highlight-video-cover:hover img,
.highlight-video-cover:focus-visible img {
  transform: scale(1.03);
}

.featured-info-box {
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.podcast-promo {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) 1.05fr;
  gap: 28px;
  align-items: center;
  margin: 0 0 28px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, #062e49 0%, #075985 100%);
  box-shadow: 0 18px 40px rgba(7, 89, 133, 0.2);
  color: #ffffff;
}

.podcast-promo-media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: #020617;
}

.podcast-promo-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.podcast-promo-media:hover img,
.podcast-promo-media:focus-visible img {
  transform: scale(1.03);
}

.podcast-promo-copy { max-width: 460px; }
.podcast-promo-kicker { margin: 0 0 4px; color: #bae6fd; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; }
.podcast-promo-episode { margin: 0 0 8px; color: #ffffff; font-size: .85rem; font-weight: 700; }
.podcast-promo-copy h2 { margin: 0 0 10px; color: #ffffff; font-family: 'Outfit', sans-serif; font-size: 2rem; line-height: 1.15; }
.podcast-promo-copy p:not(.podcast-promo-kicker) { margin: 0 0 20px; color: rgba(255,255,255,.82); line-height: 1.7; }
.podcast-promo-link { display: inline-flex; align-items: center; gap: 8px; color: #ffffff; font-weight: 700; text-decoration: none; }
.podcast-promo-link:hover { text-decoration: underline; }

body.dark .podcast-promo { background: linear-gradient(135deg, #082f49 0%, #0c4a6e 100%); }

/* Theme toggle */
.theme-toggle { position:absolute; top:16px; right:16px; background:transparent; border:1px solid rgba(0,0,0,.1); color:#1a1f3a; padding:8px 10px; border-radius:8px; cursor:pointer; z-index: 150; }
.theme-toggle i { pointer-events:none; }

/* Dark mode base overrides */
body.dark { background: linear-gradient(135deg, #0f172a 0%, #111827 100%); color:#d1d5db !important; }
body.dark * { color:#d1d5db !important; }
body.dark header { background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%); }
body.dark header, body.dark header * { color: #ffffff !important; }
body.dark .stat-counter { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.3); }
body.dark .stat-counter:hover { background: rgba(255, 255, 255, 0.3); }
body.dark nav { background: #111827; border-bottom-color: rgba(255,255,255,.08); }
body.dark nav a { color: #d1d5db !important; }
body.dark .highlight-video-section { background: #0f172a; border-color: rgba(96, 165, 250, 0.2); box-shadow: 0 12px 28px rgba(2,6,23,.6); }
body.dark .highlight-video-header h2 { color: #f3f4f6 !important; }
body.dark .highlight-video-title { background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%); color: #ffffff; }
body.dark .highlight-video-badge { background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%); color: #ffffff; }
body.dark .highlight-video-info h3 { color: #f3f4f6 !important; }
body.dark .highlight-video-info p { color: #cbd5e1 !important; }
body.dark .featured-section { box-shadow: 0 8px 32px rgba(2,6,23,.6); }
body.dark .featured-content { background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%); }
body.dark h1, body.dark h2, body.dark h3, body.dark h4, body.dark h5, body.dark h6 { color:#f3f4f6 !important; }
body.dark .featured-titulo { color: #ffffff !important; }
body.dark .featured-link { background: #ffffff !important; color: #0369a1 !important; }
body.dark .noticia-item { background:#1a222f; border-color:#2d3748; }
body.dark .noticia-item:hover { box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25); }
body.dark .noticia-conteudo h3 { color: #ffffff !important; }
body.dark .noticia-conteudo p { color: #cbd5e1 !important; }
body.dark .noticia-data { color: #9ca3af !important; }
body.dark .noticia-link { color: #ffffff !important; background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%); }
body.dark footer { background:#0b1220; color:#e5e7eb !important; }
body.dark footer * { color:#e5e7eb !important; }
body.dark .footer-contacts a { color:#e5e7eb !important; }
body.dark .theme-toggle { border-color: rgba(255,255,255,.2); color:#e5e7eb !important; }
body.dark p { color: #e5e7eb !important; }
body.dark span { color: #e5e7eb !important; }

.featured-info-box h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2em;
  margin-bottom: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
}

.featured-info-box .featured-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.85);
}

.featured-info-box p {
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.9);
}

.featured-link {
  display: inline-block;
  background: #ffffff;
  color: #0052a3;
  text-decoration: none;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: fit-content;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-link:hover {
  background: #e3f2fd;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.featured-categoria {
  display: inline-block;
  background: rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  width: fit-content;
  letter-spacing: 0.5px;
}

/* LISTA DE NOTÒCIAS */
.article-spotlight-stack {
  position: relative;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94) 0%, rgba(232, 242, 255, 0.92) 100%);
  border: 1px solid rgba(0, 102, 204, 0.12);
  box-shadow: 0 18px 45px rgba(0, 102, 204, 0.08);
  overflow: hidden;
}

.article-spotlight-stack::before {
  content: '';
  position: absolute;
  inset: auto -80px -120px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 102, 204, 0.14) 0%, rgba(0, 102, 204, 0) 72%);
  pointer-events: none;
}

.article-spotlight-grid {
  position: relative;
  display: grid;
  gap: 22px;
}

.article-spotlight-section {
  position: relative;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(244, 248, 255, 0.92) 100%);
  border: 1px solid rgba(0, 102, 204, 0.08);
  box-shadow: 0 10px 28px rgba(0, 102, 204, 0.06);
}

.article-spotlight-header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-bottom: 22px;
}

.article-spotlight-copy {
  max-width: 640px;
  text-align: center;
}

.article-spotlight-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.08);
  color: #0052a3;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.article-spotlight-copy h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 2em;
  color: #10213a;
  margin-bottom: 10px;
}

.article-spotlight-subtitle {
  color: #4f6480;
  max-width: 56ch;
  font-size: 0.98em;
}

.article-spotlight-lead {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(240, 246, 255, 0.9) 100%);
  border: 1px solid rgba(0, 102, 204, 0.08);
  text-align: center;
}

.article-spotlight-lead strong {
  display: block;
  color: #10213a;
  font-size: 1em;
  margin-bottom: 4px;
}

.article-spotlight-lead p {
  color: #5a6b7f;
  font-size: 0.92em;
}

.noticias-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.article-spotlight-section .noticias-list {
  margin-bottom: 0;
}

.noticias-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 34px 20px;
  border-radius: 16px;
  border: 1px dashed rgba(90, 107, 127, 0.35);
  background: rgba(255, 255, 255, 0.7);
  color: #5a6b7f;
  font-weight: 600;
}

.prerender-card {
  padding-bottom: 18px;
}

.noticia-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  padding-bottom: 56px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #e0e8f5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.05);
  align-items: stretch;
  position: relative;
}

.noticia-thumb-link {
  display: block;
  width: 100%;
  margin-bottom: 0;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  height: auto;
}

.noticia-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #e3f2fd;
  position: relative;
}

.noticia-item.read {
  opacity: 0.85;
}

.noticia-item.read .noticia-thumb::before {
  content: '\2713';
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(34, 197, 94, 0.92);
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95em;
  font-weight: 700;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.noticia-read-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05em;
  transition: all 0.3s;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  color: #0f172a;
}

.noticia-read-btn:hover {
  transform: scale(1.08);
  background: #ffffff;
}

.noticia-read-btn.read {
  background: #22c55e;
  color: #ffffff;
}

.noticia-item.compacto {
  padding-bottom: 16px;
}

.noticia-item.compacto .noticia-conteudo {
  gap: 8px;
}

.noticia-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.noticia-thumb-play {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75em;
}

.noticia-thumb-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #5a6b7f;
  gap: 6px;
  font-size: 0.9em;
}

.noticia-thumb-fallback i {
  font-size: 1.4em;
  color: #0066cc;
}

body.dark .noticia-item {
  background: #1a2332;
  border-color: #2d3748;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.noticia-item:hover {
  border-color: #0066cc;
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.15);
  transform: translateY(-4px);
}

.noticia-meta-badge {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.noticia-categoria {
  display: inline-block;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7em;
  font-weight: 700;
  text-transform: uppercase;
  width: fit-content;
  letter-spacing: 0.5px;
}

.noticia-data {
  font-size: 0.8em;
  color: #5a6b7f;
  font-weight: 600;
}

.noticia-conteudo {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  height: auto;
}

.noticia-conteudo h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.2em;
  margin: 0;
  color: #1a1f3a;
  line-height: 1.35;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.noticia-conteudo p {
  font-size: 0.95em;
  color: #5a6b7f;
  margin: 0;
  line-height: 1.65;
}

.noticia-link {
  display: inline-block;
  color: #ffffff;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85em;
  transition: all 0.3s;
  padding: 10px 16px;
  border-radius: 6px;
  text-align: center;
  width: fit-content;
  margin-top: 2px;
  align-self: flex-start;
}

.noticia-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.noticias-more-wrap {
  display: flex;
  justify-content: center;
  margin: 18px 0 0;
}

.noticias-more-btn {
  border: none;
  color: #ffffff;
  background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9em;
  transition: all 0.3s;
  padding: 11px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Sora', sans-serif;
}

.noticias-more-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 102, 204, 0.35);
}

body.dark .noticias-more-btn {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
}

/* Dark mode para lista de notÒ­cias */
body.dark .noticias-list .noticia-item {
  background: #0b1220;
  border-color: #1f2937;
}

body.dark .noticias-list .noticia-item:hover {
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
}

body.dark .article-spotlight-stack {
  background: linear-gradient(145deg, rgba(18, 28, 43, 0.96) 0%, rgba(22, 37, 58, 0.96) 100%);
  border-color: rgba(14, 165, 233, 0.18);
  box-shadow: 0 18px 45px rgba(2, 8, 23, 0.35);
}

body.dark .article-spotlight-section {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 41, 59, 0.92) 100%);
  border-color: rgba(125, 211, 252, 0.12);
}

body.dark .article-spotlight-kicker {
  background: rgba(14, 165, 233, 0.15);
  color: #7dd3fc;
}

body.dark .article-spotlight-copy h2 {
  color: #f8fafc;
}

body.dark .article-spotlight-subtitle {
  color: #c0d2e8;
}

body.dark .article-spotlight-lead {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(30, 41, 59, 0.92) 100%);
  border-color: rgba(125, 211, 252, 0.12);
}

body.dark .article-spotlight-lead strong {
  color: #f8fafc;
}

body.dark .article-spotlight-lead p {
  color: #b7c7dd;
}

body.dark .noticias-empty-state {
  background: rgba(15, 23, 42, 0.72);
  border-color: rgba(125, 211, 252, 0.22);
  color: #c0d2e8;
}

body.dark .noticia-conteudo h3 {
  color: #ffffff !important;
}

body.dark .noticia-conteudo p {
  color: #cbd5e1 !important;
}

body.dark .noticia-data {
  color: #9ca3af !important;
}

body.dark .noticia-thumb {
  background: #0f172a;
}

body.dark .noticia-read-btn {
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

body.dark .noticia-read-btn.read {
  color: #ffffff;
}

body.dark .noticia-thumb-fallback {
  color: #cbd5e1;
}

body.dark .noticia-thumb-fallback i {
  color: #60a5fa;
}

body.dark .social-widget {
  background: #0b1220;
  border-color: #1f2937;
}

body.dark .social-widget:hover {
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.25);
}

body.dark .social-widget h3 {
  color: #ffffff !important;
}

body.dark .social-widget p {
  color: #cbd5e1 !important;
}

body.dark .sidebar-title {
  color: #ffffff !important;
  border-bottom-color: #0ea5e9;
}

/* Responsivo */
@media (max-width: 992px) {
  .article-spotlight-stack {
    padding: 22px;
  }

  .article-spotlight-section {
    padding: 18px;
  }

  .article-spotlight-header {
    flex-direction: column;
    align-items: center;
  }

  .noticias-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .article-spotlight-stack {
    padding: 18px;
    border-radius: 20px;
  }

  .article-spotlight-copy h2 {
    font-size: 1.7em;
  }

  .article-spotlight-lead {
    flex-direction: column;
    align-items: center;
  }

  .noticias-list {
    grid-template-columns: 1fr;
  }

  .noticia-item {
    padding: 12px;
  }
}

/* CONTACTOS */
.contactos-section {
  background: linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
  border-radius: 12px;
  padding: 40px;
  margin: 60px 0;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.1);
  border: 1px solid #e0e8f5;
}

.contactos-section h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8em;
  font-weight: 700;
  color: #1a1f3a;
  margin-bottom: 30px;
  text-align: center;
}

.contactos-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contacto-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e0e8f5;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contacto-item:hover {
  transform: translateX(6px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.15);
  border-color: #0066cc;
}

.contacto-icon {
  font-size: 1.8em;
  color: #0066cc;
  min-width: 40px;
  display: flex;
  justify-content: center;
}

.contacto-info {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.editorial-section {
  background: linear-gradient(135deg, #ffffff 0%, #f5f8fc 100%);
  border-radius: 12px;
  padding: 32px;
  margin: 32px 0 40px;
  box-shadow: 0 4px 16px rgba(0, 102, 204, 0.1);
  border: 1px solid #e0e8f5;
}

.editorial-section h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8em;
  font-weight: 700;
  color: #1a1f3a;
  margin-bottom: 16px;
}

.editorial-section p {
  margin-bottom: 14px;
  color: #334155;
}

.editorial-section p:last-child {
  margin-bottom: 0;
}

.editorial-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 102, 204, 0.08);
  color: #0052a3;
  font-size: 0.82em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.editorial-card {
  padding: 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 102, 204, 0.12);
}

.editorial-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05em;
  color: #1a1f3a;
  margin-bottom: 8px;
}

.editorial-card p {
  margin-bottom: 0;
  font-size: 0.96em;
}

.editorial-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.editorial-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 102, 204, 0.16);
  background: #ffffff;
  color: #0052a3;
  font-weight: 700;
  text-decoration: none;
}

.editorial-links a:hover {
  background: #e3f2fd;
}

body.dark .editorial-section {
  background: #0b1220;
  border-color: #1f2937;
}

body.dark .editorial-section h2 {
  color: #ffffff !important;
}

body.dark .editorial-section p {
  color: #cbd5e1 !important;
}

body.dark .editorial-kicker {
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
}

body.dark .editorial-card {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(96, 165, 250, 0.16);
}

body.dark .editorial-card h3 {
  color: #ffffff;
}

body.dark .editorial-links a {
  background: #0f172a;
  border-color: rgba(96, 165, 250, 0.2);
  color: #93c5fd;
}

/* FOOTER */
footer {
  background: #1a1f3a;
  padding: 40px 20px;
  margin-top: 80px;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contacts {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.footer-contacts a {
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.footer-contacts a:hover {
  text-decoration: underline;
}

.footer-contacts i {
  margin-right: 8px;
  color: #ffffff;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9em;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
  width: 100%;
}

/* RESPONSIVO */
@media (max-width: 1200px) {
  main {
    padding: 40px 20px;
  }

  .featured-info h2 {
    font-size: 1.8em;
  }
}

@media (max-width: 992px) {
  main {
    padding: 35px 20px;
    grid-template-columns: 1fr;
  }

  .sidebar {
    display: none;
  }

  .highlight-video-card {
    grid-template-columns: 1fr;
  }

  .highlight-video-section {
    padding: 22px;
  }

  .featured-content {
    padding: 25px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .featured-video {
    aspect-ratio: 16 / 9;
    margin-bottom: 25px;
  }

  .featured-info-box h2 {
    font-size: 1.7em;
    margin-bottom: 12px;
  }

  .podcast-promo { grid-template-columns: 1fr; }
  .podcast-promo-copy { max-width: none; }
}

@media (max-width: 768px) {
  header {
    padding: 24px 15px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .header-stats {
    display: none;
  }

  .header-perfil {
    width: 100px;
    height: 100px;
    position: relative;
    top: auto;
    right: auto;
    margin: 0 auto 4px;
  }

  header h1 {
    font-size: 2em;
    margin-bottom: 6px;
  }

  .header-subtitle {
    font-size: 0.85em;
    margin-bottom: 12px;
  }

  .social-media {
    gap: 10px;
  }

  .social-media a {
    width: 36px;
    height: 36px;
  }

  nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 10px 12px 12px;
    align-items: stretch;
  }

  nav a {
    padding: 12px 10px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 46px;
    border: 1px solid rgba(0, 102, 204, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
  }

  .nav-dropdown {
    display: block;
    grid-column: 1 / -1;
  }

  .nav-dropdown > a {
    padding: 12px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 46px;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    width: 100%;
    margin-top: 8px;
    border-radius: 14px;
    padding: 8px;
    box-shadow: none;
    transform: none;
    display: none;
    opacity: 1;
    visibility: visible;
  }

  .nav-dropdown.active .dropdown-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .dropdown-menu a {
    min-height: 44px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.12);
    background: rgba(227, 242, 253, 0.85);
  }

  main {
    padding: 25px 12px;
    max-width: 100%;
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .sidebar {
    display: flex;
    flex-direction: row;
    order: 5;
    gap: 12px;
    position: static;
    overflow-x: auto;
    padding: 4px 2px 8px;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar > .sidebar-title,
  .sidebar .social-widget p {
    display: none;
  }

  .sidebar-right {
    position: static;
  }

  .social-widget {
    flex: 0 0 auto;
    width: calc((100% - 24px) / 3);
    padding: 12px 8px;
  }

  .social-widget-icon {
    font-size: 1.6em;
    margin-bottom: 6px;
  }

  .social-widget h3 {
    font-size: 0.95em;
    margin-bottom: 6px;
  }

  .social-widget-btn {
    padding: 10px 5px;
    font-size: 0.8em;
    min-height: 44px;
  }

  .social-widget-btn i {
    display: none;
  }

  .search-section {
    padding: 0 12px;
  }

  .search-input {
    font-size: 16px;
    padding: 14px 42px 14px 14px;
  }

  .search-icon {
    right: 14px;
  }

  .search-dropdown {
    max-height: min(60vh, 420px);
  }

  main > h2 {
    font-size: 1.6em;
  }

  .featured-section {
    margin-bottom: 35px;
  }

  .highlight-video-section {
    padding: 18px;
    margin-bottom: 28px;
  }

  .highlight-video-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .highlight-video-header h2 {
    font-size: 1.4em;
  }

  .highlight-video-info h3 {
    font-size: 1.2em;
  }

  .featured-content {
    padding: 18px;
    gap: 15px;
  }

  .featured-video {
    aspect-ratio: 16 / 9;
    margin-bottom: 0;
  }

  .featured-info-box h2 {
    font-size: 1.4em;
    margin-bottom: 10px;
  }

  .featured-info-box p {
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .featured-categoria {
    font-size: 0.7em;
    padding: 5px 10px;
  }

  .featured-link {
    font-size: 0.9em;
    padding: 10px 20px;
  }

  .noticia-item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px;
  }

  .noticia-meta-badge {
    min-width: auto;
    margin: 0;
    gap: 8px;
    flex-wrap: wrap;
  }

  .noticia-categoria {
    padding: 5px 10px;
    font-size: 0.7em;
  }

  .noticia-data {
    font-size: 0.8em;
  }

  .noticia-conteudo h3 {
    font-size: 1.15em;
    margin-bottom: 8px;
  }

  .noticia-conteudo p {
    font-size: 0.9em;
  }

  .noticia-link {
    font-size: 0.85em;
  }

  .contacto-item {
    padding: 12px 16px;
    gap: 12px;
  }

  .contacto-icon {
    font-size: 1.5em;
    min-width: 32px;
  }

  footer {
    padding: 20px 12px;
    font-size: 0.85em;
  }

  .footer-links {
    gap: 10px 15px;
  }

  .footer-links a,
  .footer-contacts a,
  .editorial-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .footer-contacts {
    gap: 10px 12px;
    font-size: 0.85em;
  }
}

@media (max-width: 480px) {
  header {
    padding: 18px 10px 18px;
  }

  .header-perfil {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 10px;
  }

  header h1 {
    font-size: 1.6em;
    margin-bottom: 5px;
  }

  .header-subtitle {
    font-size: 0.8em;
    margin-bottom: 10px;
  }

  .social-media {
    gap: 8px;
  }

  .social-media a {
    width: 32px;
    height: 32px;
    font-size: 0.85em;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
    padding: 6px 8px;
    font-size: 0.9em;
    top: 10px;
    left: 10px;
    right: auto;
  }

  nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 8px;
  }

  nav a {
    padding: 10px 6px;
    font-size: 0.8em;
    min-height: 44px;
  }
  
  .nav-dropdown {
    display: block;
  }
  
  .nav-dropdown > a {
    padding: 10px 6px;
    min-height: 44px;
    justify-content: center;
    text-align: center;
    width: 100%;
  }

  .nav-dropdown .dropdown-menu {
    min-width: 0;
    left: auto;
    transform: none;
  }

  .nav-dropdown.active .dropdown-menu {
    grid-template-columns: 1fr;
  }

  main {
    padding: 16px 8px;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  main > h2 {
    font-size: 1.4em;
    margin-bottom: 20px;
  }

  .featured-section {
    margin-bottom: 25px;
  }

  .featured-content {
    padding: 14px;
    gap: 12px;
  }

  .featured-video {
    margin-bottom: 0;
  }

  .featured-info-box h2 {
    font-size: 1.2em;
    margin-bottom: 8px;
  }

  .featured-info-box .featured-meta {
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.8em;
  }

  .featured-info-box p {
    font-size: 0.8em;
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .featured-categoria {
    padding: 4px 8px;
    font-size: 0.65em;
  }

  .featured-link {
    padding: 8px 16px;
    font-size: 0.8em;
  }

  .noticias-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .noticia-item {
    padding: 12px;
    gap: 8px;
  }

  .noticia-meta-badge {
    display: flex;
    gap: 6px;
    min-width: auto;
    flex-wrap: wrap;
  }

  .noticia-categoria {
    padding: 3px 6px;
    font-size: 0.65em;
  }

  .noticia-data {
    font-size: 0.75em;
  }

  .noticia-conteudo h3 {
    font-size: 1.05em;
    margin-bottom: 6px;
  }

  .noticia-conteudo p {
    font-size: 0.85em;
    line-height: 1.4;
  }

  .noticia-link {
    font-size: 0.8em;
    padding: 8px 14px;
  }

  .contactos-section {
    padding: 20px 15px;
    margin: 30px 0;
  }

  .contactos-section h3 {
    font-size: 1.4em;
    margin-bottom: 20px;
  }

  .contacto-item {
    padding: 10px 12px;
    gap: 10px;
  }

  .contacto-icon {
    font-size: 1.3em;
    min-width: 28px;
  }

  footer {
    padding: 15px 10px;
    font-size: 0.75em;
  }

  .footer-links {
    gap: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .footer-contacts {
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.75em;
  }

  .footer-copy {
    font-size: 0.75em;
  }
}

@media (max-width: 360px) {
  header {
    padding: 52px 8px 14px;
  }

  .header-perfil {
    width: 70px;
    height: 70px;
    top: 8px;
    right: 8px;
  }

  header h1 {
    font-size: 1.4em;
  }

  .header-subtitle {
    font-size: 0.75em;
  }

  .social-media {
    gap: 6px;
  }

  .social-media a {
    width: 28px;
    height: 28px;
    font-size: 0.75em;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    padding: 5px 6px;
    font-size: 0.85em;
    top: 8px;
    left: 8px;
    right: auto;
  }

  nav {
    gap: 6px;
    padding: 0 6px;
    align-items: stretch;
  }

  nav a {
    padding: 8px 4px;
    font-size: 0.75em;
    min-height: 40px;
    flex: 1 1 120px;
    justify-content: center;
    text-align: center;
  }

  .nav-dropdown {
    flex: 1 1 120px;
    display: flex;
  }

  .nav-dropdown > a {
    padding: 8px 4px;
    min-height: 40px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .nav-dropdown .dropdown-menu {
    min-width: min(200px, calc(100vw - 20px));
    font-size: 0.75em;
    left: 50%;
    transform: translate(-50%, -10px);
  }

  main {
    padding: 14px 8px;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  main > h2 {
    font-size: 1.2em;
  }

  .featured-content {
    padding: 10px;
    gap: 10px;
  }

  .featured-info-box h2 {
    font-size: 1.1em;
    margin-bottom: 6px;
  }

  .featured-info-box p {
    font-size: 0.75em;
    margin-bottom: 8px;
  }

  .featured-categoria {
    font-size: 0.6em;
  }

  .featured-link {
    font-size: 0.75em;
    padding: 6px 12px;
  }

  .noticia-item {
    padding: 10px;
  }

  .noticia-conteudo h3 {
    font-size: 0.95em;
  }

  .noticia-conteudo p {
    font-size: 0.8em;
  }

  .contactos-section {
    padding: 16px 10px;
    margin: 20px 0;
  }

  .contactos-section h3 {
    font-size: 1.2em;
  }

  .contacto-item {
    padding: 8px 10px;
  }

  footer {
    padding: 12px 8px;
    font-size: 0.7em;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-contacts {
    font-size: 0.7em;
  }
}
