/*
Theme Name: Redactor24h News Portal
Theme URI: https://redactor24h.com/
Author: Su Nombre / Redactor24h Team
Author URI: https://redactor24h.com
Description: Un tema profesional de portal de noticias para Redactor24h, diseñado con CSS puro y JavaScript, con un diseño moderno y estilizado.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redactor24h-news-portal
*/

/* --- Paleta de Colores: Modern News Fusion (con refinamientos) --- */
:root {
  --color-background-light: #f5f5f5; /* Off-white background */
  --color-primary-text: #1a1a1a; /* Deep charcoal for main text and headings */
  --color-secondary-text: #666666; /* Medium gray for secondary info, lighter text */
  --color-primary-accent: #cc0000; /* Vibrant Red for highlights, branding, active states */
  --color-secondary-accent: #0066cc; /* Blue for link hovers, subtle interactive elements */
  --color-border-light: #e0e0e0; /* Light gray for subtle borders and dividers */
  --color-white: #ffffff;
  --color-gray-100: #f0f0f0; /* A lighter gray for backgrounds of subtle elements */
  --color-gray-200: #e5e7eb; /* For back buttons etc. */
  --color-gray-900: #1a1a1a; /* Reusing primary-text for dark headers/footers */
}

/* --- Base Styles --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: var(--color-background-light);
  color: var(--color-primary-text);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography Hierarchy */
h1,
h2,
h3,
h4,
.news-title {
  font-family: 'Noto Serif', serif;
  color: var(--color-primary-text);
  margin-top: 0;
  margin-bottom: 0.5em; /* Adjusted for better flow */
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.1;
} /* Base for main logo */
h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.3;
} /* Base for section titles like "Última Hora" */
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
} /* Base for news titles in cards */
h4 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
} /* Base for smaller titles like side news */

p {
  margin-bottom: 1em;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* --- Layout & Spacing Utilities (Inspired by Tailwind, implemented in pure CSS) --- */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem; /* px-4 equivalent for small screens */
  padding-right: 1rem; /* px-4 equivalent for small screens */
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem; /* px-6 equivalent for larger screens */
    padding-right: 1.5rem; /* px-6 equivalent for larger screens */
  }
}

.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.flex-grow {
  flex-grow: 1;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}

/* Gap utility classes */
.gap-1 {
  gap: 0.25rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}

/* Responsive Grid System */
.grid {
  display: grid;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px) {
  /* md: breakpoint */
  .md-grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .md-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .md-col-span-1 {
    grid-column: span 1 / span 1;
  }
  .md-col-span-2 {
    grid-column: span 2 / span 2;
  }
  .md-flex-row {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  /* lg: breakpoint */
  .lg-grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Padding & Margin Utilities */
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.mb-0 {
  margin-bottom: 0;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-16 {
  margin-top: 4rem;
}

.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-4 {
  padding-bottom: 1rem;
}

.max-w-xs {
  max-width: 20rem;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-xl {
  max-width: 36rem;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Text Sizing */
.text-sm {
  font-size: 0.875rem;
}
.text-base {
  font-size: 1rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}

@media (min-width: 768px) {
  .md-text-sm {
    font-size: 0.875rem;
  }
  .md-text-base {
    font-size: 1rem;
  }
  .md-text-lg {
    font-size: 1.125rem;
  }
  .md-text-xl {
    font-size: 1.25rem;
  }
  .md-text-2xl {
    font-size: 1.5rem;
  }
  .md-text-3xl {
    font-size: 1.875rem;
  }
  .md-text-4xl {
    font-size: 2.25rem;
  }
  .md-text-5xl {
    font-size: 3rem;
  }
}

/* --- Colors & Backgrounds --- */
.bg-dark {
  background-color: var(--color-primary-text);
} /* #1A1A1A */
.bg-white {
  background-color: var(--color-white);
}
.bg-gray-100 {
  background-color: var(--color-gray-100);
}
.bg-gray-200 {
  background-color: var(--color-gray-200);
}
.bg-primary-accent {
  background-color: var(--color-primary-accent);
}

.text-white {
  color: var(--color-white);
}
.text-primary-text {
  color: var(--color-primary-text);
}
.text-secondary-text {
  color: var(--color-secondary-text);
}
.text-primary-accent {
  color: var(--color-primary-accent);
}
.text-secondary-accent {
  color: var(--color-secondary-accent);
}
.text-gray-400 {
  color: var(--color-gray-400);
}

/* --- Borders & Shadows --- */
.border-b {
  border-bottom: 1px solid var(--color-border-light);
}
.border-b-2 {
  border-bottom: 2px solid var(--color-border-light);
}
.border-light {
  border: 1px solid var(--color-border-light);
}

.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-md-top {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.1);
}
.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.shadow-sm {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.06);
}

/* --- Transitions & Hover Effects --- */
.transition-colors {
  transition-property: color, background-color, border-color,
    text-decoration-color, fill, stroke;
  transition-duration: 0.2s;
}
.transition-shadow {
  transition-property: box-shadow;
  transition-duration: 0.2s ease-in-out;
}

/* --- Specific Components --- */
/* Top Header Bar */
header.header-top-bar {
  background-color: var(--color-primary-text); /* #1A1A1A */
  color: var(--color-white);
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.5rem; /* py-2 */
}
header.header-top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header.header-top-bar span.text-xs {
  font-size: 0.75rem; /* text-xs */
}
@media (min-width: 768px) {
  header.header-top-bar span.text-xs {
    font-size: 0.875rem; /* md:text-sm */
  }
  header.header-top-bar .hidden-md {
    display: none;
  }
}
header.header-top-bar .separator {
  font-size: 0.75rem; /* text-xs */
  color: var(--color-gray-400);
}
header.header-top-bar a {
  font-size: 0.75rem;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.2s;
}
header.header-top-bar a:hover {
  color: var(--color-secondary-accent);
}

/* Main Header Bar (Logo & Main Nav) */
.main-header-bar {
  background-color: var(--color-white);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1); /* shadow-lg */
  padding-top: 1rem; /* py-4 */
  padding-bottom: 1rem; /* py-4 */
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--color-border-light);
}
.main-header-bar .container {
  display: flex;
  flex-direction: column; /* Default to column for mobile */
  justify-content: space-between;
  align-items: center;
}
@media (min-width: 768px) {
  .main-header-bar .container {
    flex-direction: row; /* Row for desktop */
  }
}

.main-header-bar h1 {
  font-size: 2.25rem; /* text-4xl */
  font-weight: 800; /* font-extrabold */
  color: var(--color-primary-text);
  margin-bottom: 1rem; /* mb-4 for mobile spacing */
}
@media (min-width: 768px) {
  .main-header-bar h1 {
    font-size: 3rem; /* md:text-5xl */
    margin-bottom: 0; /* No bottom margin on desktop */
  }
}
.main-header-bar h1 a {
  /* Style for the logo link */
  text-decoration: none;
  color: var(--color-primary-text);
}
.main-header-bar h1 span {
  color: var(--color-primary-accent); /* Red accent for "OR" */
}

/* Main Navigation */
.main-nav {
  width: 100%; /* Full width for mobile nav */
}
@media (min-width: 768px) {
  .main-nav {
    width: auto; /* Auto width for desktop */
  }
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column; /* Default to column for mobile */
  gap: 0.5rem; /* gap-2 for mobile links */
  text-align: center;
}
@media (min-width: 768px) {
  .main-nav ul {
    flex-direction: row; /* Row for desktop */
    gap: 2rem; /* md:space-x-8 */
  }
}

.main-nav ul:not(.show-mobile-nav) {
  display: none; /* Hide by default on mobile unless toggled */
}
@media (min-width: 768px) {
  .main-nav ul {
    display: flex !important; /* Always show on desktop */
  }
}

.main-nav ul.show-mobile-nav {
  display: flex;
  margin-top: 1rem; /* For mobile spacing when open */
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.main-nav ul li a {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  color: var(--color-primary-text);
  text-decoration: none;
  transition: color 0.2s;
  display: block; /* Make links clickable across their full area */
  padding: 0.5rem 0; /* Add some padding for touch targets */
}
.main-nav ul li a:hover {
  color: var(--color-primary-accent);
}
/* Active state for current page - WordPress adds 'current-menu-item' class */
.main-nav ul li.current-menu-item a {
  color: var(--color-primary-accent);
  position: relative;
}
.main-nav ul li.current-menu-item a::after {
  content: '';
  position: absolute;
  bottom: -3px; /* Adjust to sit below the link */
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--color-primary-accent);
}

.mobile-menu-toggle {
  display: block; /* Always show hamburger on mobile */
  font-size: 2.25rem; /* text-3xl */
  color: var(--color-primary-text);
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto; /* Push to the right */
}
@media (min-width: 768px) {
  .mobile-menu-toggle {
    display: none; /* Hide on desktop */
  }
}

/* --- Section Common Styles --- */
.section-padding {
  padding-top: 2rem;
  padding-bottom: 2rem;
  width: 100%;
}
@media (min-width: 768px) {
  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* --- Public Home - Main Grid --- */
.public-home-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}
@media (min-width: 768px) {
  .public-home-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Left Column - Live Updates / Side Featured */
.left-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.live-updates-box {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
}
.live-updates-box h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color-border-light);
  padding-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.live-updates-box h2::before {
  content: '🚨'; /* Emoji icon */
  font-size: 1.2em; /* Adjust size of emoji */
  line-height: 1; /* Align with text */
}
@media (min-width: 768px) {
  .live-updates-box h2 {
    font-size: 1.5rem;
  }
}
.live-updates-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.live-updates-box li {
  display: flex;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--color-secondary-text);
  padding-left: 0.5rem; /* Indent slightly */
}
@media (min-width: 768px) {
  .live-updates-box li {
    font-size: 1rem;
  }
}
.live-updates-box li span {
  /* For the bullet point */
  color: var(--color-primary-accent);
  margin-right: 0.5rem;
  font-size: 1.2em;
  line-height: 1;
}
.live-updates-box li a {
  color: var(--color-secondary-text);
  text-decoration: none;
  transition: color 0.2s;
}
.live-updates-box li a:hover {
  color: var(--color-primary-accent);
}
.live-updates-box > a {
  /* "Ver todas las actualizaciones" link */
  color: var(--color-secondary-accent);
  text-decoration: none;
  font-size: 0.875rem;
  margin-top: 1rem;
  display: block;
  text-align: right; /* Align to right */
  font-weight: 600;
}
@media (min-width: 768px) {
  .live-updates-box > a {
    font-size: 1rem;
  }
}

.side-featured-news-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.side-featured-news-item {
  background-color: var(--color-white);
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out;
}
.side-featured-news-item:hover {
  box-shadow: var(--shadow-md);
}
.side-featured-news-item .category-tag {
  color: var(--color-primary-accent);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.side-featured-news-item h4.news-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: 0.25rem;
  transition: color 0.2s;
}
.side-featured-news-item h4.news-title:hover {
  color: var(--color-secondary-accent);
}
.side-featured-news-item p.meta-info {
  color: var(--color-secondary-text);
  font-size: 0.75rem;
}

/* Main News Card (Grid Item) */
.main-news-card {
  grid-column: span 1 / span 1; /* Default for mobile */
  background-color: var(--color-white);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out;
}
.main-news-card:hover {
  box-shadow: var(--shadow-xl);
}
@media (min-width: 768px) {
  .main-news-card {
    grid-column: span 2 / span 2; /* md:col-span-2 */
  }
}
.news-card-image {
  width: 100%;
  height: 16rem; /* h-64 */
  object-fit: cover;
  border-radius: 0.5rem 0.5rem 0 0; /* Rounded top corners */
}
@media (min-width: 768px) {
  .news-card-image {
    height: 24rem; /* md:h-96 */
  }
}
.news-card-content {
  padding: 1.5rem; /* p-6 */
}
@media (min-width: 768px) {
  .news-card-content {
    padding: 2rem; /* md:p-8 */
  }
}
.category-tag {
  color: var(--color-primary-accent);
  font-size: 0.875rem; /* text-sm */
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.news-title {
  font-size: 1.875rem; /* text-3xl */
  font-weight: 800;
  color: var(--color-primary-text);
  margin-bottom: 1rem;
  transition: color 0.2s;
}
@media (min-width: 768px) {
  .news-title {
    font-size: 2.25rem; /* md:text-4xl */
  }
}
.news-title:hover {
  color: var(--color-secondary-accent);
}
.meta-info {
  color: var(--color-secondary-text);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .meta-info {
    font-size: 1rem;
  }
}
.summary-text {
  color: var(--color-primary-text);
  font-size: 1rem;
  line-height: 1.625;
  margin-bottom: 1.5rem;
}
@media (min-width: 768px) {
  .summary-text {
    font-size: 1.125rem;
  }
}
.read-more-button {
  background-color: var(--color-primary-accent);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  display: inline-block; /* Ensure padding applies correctly */
}
.read-more-button:hover {
  background-color: rgba(204, 0, 0, 0.9); /* A slightly darker red for hover */
}

/* More News Section */
.more-news-section {
  margin-top: 3rem;
}
.more-news-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--color-border-light);
  padding-bottom: 0.5rem;
}
@media (min-width: 768px) {
  .more-news-section h2 {
    font-size: 1.5rem;
  }
}
.more-news-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}
@media (min-width: 768px) {
  .more-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .more-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.more-news-card {
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  cursor: pointer;
  transition: box-shadow 0.2s ease-in-out;
}
.more-news-card:hover {
  box-shadow: var(--shadow-lg);
}
.more-news-card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
}
.more-news-card .category-tag {
  color: var(--color-primary-accent);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.more-news-card .news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-text);
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}
.more-news-card .news-title:hover {
  color: var(--color-secondary-accent);
}
.more-news-card .meta-info {
  color: var(--color-secondary-text);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}
.more-news-card .summary-text {
  color: var(--color-primary-text);
  font-size: 1rem;
  line-height: 1.625;
}

/* News Detail Section */
.news-detail-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .news-detail-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
.news-detail-content-box {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}
@media (min-width: 768px) {
  .news-detail-content-box {
    padding: 2rem;
  }
}
.back-button {
  background-color: var(--color-gray-200);
  color: var(--color-secondary-text);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}
.back-button:hover {
  background-color: #d1d5db;
}
.detail-title {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-primary-text);
  margin-bottom: 1rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .detail-title {
    font-size: 2.25rem;
  }
}
.detail-meta {
  color: var(--color-secondary-text);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 1rem;
}
.detail-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border-radius: 0.375rem;
}
@media (min-width: 768px) {
  .detail-image {
    height: 24rem;
  }
}
.detail-content p {
  font-size: 1rem;
  line-height: 1.625;
  color: var(--color-primary-text);
}
@media (min-width: 768px) {
  .detail-content p {
    font-size: 1.125rem;
  }
}

/* About Section */
.about-section {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
@media (min-width: 768px) {
  .about-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}
.about-content-box {
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--color-white);
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-light);
}
@media (min-width: 768px) {
  .about-content-box {
    padding: 2rem;
  }
}
.about-content-box h2 {
  font-size: 1.875rem;
  font-weight: 800;
  color: var(--color-primary-text);
  margin-bottom: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .about-content-box h2 {
    font-size: 2.25rem;
  }
}
.about-content-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-text);
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.about-content-box p {
  margin-bottom: 1.5rem;
  color: var(--color-primary-text);
  line-height: 1.625;
}
.about-content-box ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--color-primary-text);
}
.about-content-box ul li strong {
  font-weight: 700;
}
.about-content-box .mt-6 {
  margin-top: 1.5rem;
}

/* Footer */
.site-footer {
  background-color: var(--color-primary-text); /* #1A1A1A */
  color: var(--color-white);
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  margin-top: auto;
}
.site-footer p.mt-2 {
  margin-top: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

/* Mobile specific overrides */
@media (max-width: 767px) {
  h1 {
    font-size: 1.875rem;
  } /* text-3xl */
  h2 {
    font-size: 1.25rem;
  } /* text-xl */
  h3 {
    font-size: 1.125rem;
  } /* text-lg */
  .main-header-bar h1 {
    font-size: 2.25rem;
  } /* text-4xl */
  .news-title {
    font-size: 1.5rem;
  } /* text-2xl */
  .detail-title {
    font-size: 1.875rem;
  } /* text-3xl */
  .detail-content p {
    font-size: 0.9375rem;
  } /* Slightly smaller for readability */
  .summary-text {
    font-size: 0.9375rem;
  }
  .more-news-card .news-title {
    font-size: 1.125rem;
  } /* text-lg */
}

/* --- Analysis Section Styles --- */
.analysis-section-wrapper {
    margin-top: 3rem; /* Espacio superior */
    padding-top: 2rem; /* Espacio interno superior */
    border-top: 1px solid var(--color-border-light); /* Separador visual */
}

.analysis-content {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
}

.analysis-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-accent); /* Color de acento para el título del análisis */
    margin-bottom: 1.5rem;
    text-align: center;
}

.analysis-box {
    background-color: var(--color-gray-100); /* Fondo sutil para agrupar indicadores */
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--color-border-light);
    margin-bottom: 1rem; /* Espacio entre cajas de análisis */
}
.analysis-box:last-child {
    margin-bottom: 0; /* No margin-bottom on the last one */
}

.analysis-box h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 0.75rem;
    border-bottom: 1px dashed var(--color-border-light); /* Separador para subtítulos */
    padding-bottom: 0.5rem;
}

.analysis-box p {
    font-size: 0.9375rem; /* slightly smaller text for analysis details */
    color: var(--color-secondary-text);
    margin-bottom: 0.5rem; /* tighter spacing for list-like paragraphs */
}
.analysis-box p strong {
    color: var(--color-primary-text); /* stronger contrast for labels */
}


/* --- Subscription Gate Styles --- */
.analysis-blurred {
    position: relative;
    overflow: hidden; /* Important for blur to work within bounds */
    border-radius: 0.5rem;
}

.analysis-blurred .analysis-content {
    filter: blur(8px); /* Aplica un desenfoque al contenido */
    -webkit-filter: blur(8px); /* Compatibilidad con Safari */
    pointer-events: none; /* Evita que el usuario interactúe con el contenido borroso */
    user-select: none; /* Evita selección de texto */
    padding: 1.5rem; /* Matching padding of non-blurred content */
}

.analysis-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9); /* Fondo blanco semitransparente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10; /* Asegura que esté por encima del contenido borroso */
    text-align: center;
    padding: 1rem; /* Adjust padding for mobile text wrap */
}

.overlay-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    margin-bottom: 0.5rem;
}

.overlay-subtext {
    font-size: 1.125rem;
    color: var(--color-primary-text);
    margin-bottom: 1rem;
}

.subscribe-button {
    background-color: var(--color-secondary-accent); /* Un azul para el botón de suscripción */
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem; 
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.subscribe-button:hover {
    background-color: #004d99; /* Tono más oscuro del azul */
}

/* --- Styles for Analysis Teaser (when not logged in) --- */

.analysis-teaser {
    /* No blur here, content is partially visible */
    position: relative; /* Para el CTA overlay dentro */
    padding-bottom: 7rem; /* Espacio para el CTA flotante */
    min-height: 250px; /* Asegura que haya suficiente altura para el teaser y el CTA */
    overflow: hidden; /* Para que el gradiente de fade out funcione bien */
    border: 1px solid var(--color-border-light); /* Borde similar al normal */
    border-radius: 0.5rem; /* Bordes redondeados */
    box-shadow: var(--shadow-md); /* Sombra sutil */
    background-color: var(--color-white); /* Fondo blanco */
}

/* Efecto de desvanecimiento en la parte inferior del teaser */
.analysis-teaser::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7rem; /* Altura del degradado */
    background: linear-gradient(to top, var(--color-white) 40%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none; /* Permite hacer clic en el botón de suscripción */
    z-index: 5;
}

.teaser-call-to-action {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-white); /* Fondo sólido para el CTA */
    z-index: 10; /* Asegura que esté por encima del contenido y el degradado */
    box-shadow: 0 -10px 15px -3px rgba(0,0,0,0.05); /* Sombra superior */
    border-top: 1px solid var(--color-border-light); /* Borde superior para separarlo */
    border-radius: 0 0 0.5rem 0.5rem; /* Redondeado solo abajo */
}

.overlay-text { /* Reutilizado para el título del CTA */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    margin-bottom: 0.5rem;
}

.overlay-subtext { /* Reutilizado para el subtítulo del CTA */
    font-size: 1.125rem;
    color: var(--color-primary-text);
    margin-bottom: 1rem;
}

.subscribe-button { /* Reutilizado para el botón de suscripción */
    background-color: var(--color-secondary-accent);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.subscribe-button:hover {
    background-color: #004d99; /* Tono más oscuro del azul */
    box-shadow: 0 6px 10px -2px rgba(0,0,0,0.15), 0 3px 5px -3px rgba(0,0,0,0.1);
}

/* --- New: Quick Analysis Bar (Visible to all) --- */
.quick-analysis-bar {
    background-color: var(--color-gray-100); /* Un gris más claro para el fondo */
    padding: 1rem 1.5rem; /* Espacio interno */
    border-radius: 0.5rem; /* Bordes redondeados */
    margin-top: 1.5rem; /* Margen superior para separarlo del meta-info */
    margin-bottom: 1.5rem; /* Margen inferior para separarlo de la imagen/contenido */
    border: 1px solid var(--color-border-light); /* Borde sutil */
    display: flex;
    flex-wrap: wrap; /* Permite que los ítems se envuelvan en pantallas pequeñas */
    justify-content: space-around; /* Distribuye los ítems uniformemente */
    gap: 0.75rem; /* Espacio entre los ítems de análisis */
    font-size: 0.875rem; /* Tamaño de fuente más pequeño */
    color: var(--color-secondary-text); /* Color de texto secundario */
}

.quick-analysis-bar div {
    display: flex;
    align-items: center;
    gap: 0.25rem; /* Pequeño espacio entre etiqueta y valor */
    white-space: nowrap; /* Evita saltos de línea dentro de cada indicador */
}

.quick-analysis-bar strong {
    color: var(--color-primary-text); /* Etiqueta en color de texto principal */
    font-weight: 700; /* Negrita */
}

/* --- Adjusted: detail-meta styles --- */
/* Aseguramos que el detail-meta tenga un margen inferior que lo separe de la nueva barra */
.detail-meta {
    color: var(--color-secondary-text);
    font-size: 0.875rem; /* Reafirmamos el tamaño de fuente */
    margin-bottom: 1rem; /* Margen inferior para separarse de la nueva barra */
    border-bottom: 1px solid var(--color-border-light); /* Mantener el separador */
    padding-bottom: 0.75rem; /* Relleno inferior */
}

/* --- Analysis Section Styles (mantienen los estilos del blur/teaser) --- */
/* Asegúrate que los estilos para .analysis-content, .analysis-teaser,
   .teaser-call-to-action, .overlay-text, .overlay-subtext, .subscribe-button
   estén definidos como en la última versión que te di. */

/* Ej. (para referencia, ya deberías tener estos en tu style.css) */
/*
.analysis-section-wrapper { ... }
.analysis-content { ... }
.analysis-title { ... }
.analysis-box { ... }
.analysis-box h4 { ... }
.analysis-box p { ... }
.analysis-box p strong { ... }
*/

/* Styles for Analysis Teaser (when not logged in) */
.analysis-teaser {
    position: relative;
    padding-bottom: 7rem;
    min-height: 250px;
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
    padding: 1.5rem; /* Ensure padding is applied to the teaser content */
}

.analysis-teaser::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 7rem;
    background: linear-gradient(to top, var(--color-white) 40%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 5;
}

.teaser-call-to-action {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: var(--color-white);
    z-index: 10;
    box-shadow: 0 -10px 15px -3px rgba(0,0,0,0.05);
    border-top: 1px solid var(--color-border-light);
    border-radius: 0 0 0.5rem 0.5rem;
}

.overlay-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-accent);
    margin-bottom: 0.5rem;
}

.overlay-subtext {
    font-size: 1.125rem;
    color: var(--color-primary-text);
    margin-bottom: 1rem;
}

.subscribe-button {
    background-color: var(--color-secondary-accent);
    color: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
}

.subscribe-button:hover {
    background-color: #004d99;
    box-shadow: 0 6px 10px -2px rgba(0,0,0,0.15), 0 3px 5px -3px rgba(0,0,0,0.1);
}


/* --- New: Main Categories Box --- */
.main-categories-box {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
    /* No margin-top here, controlled by parent's gap */
}

.main-categories-box h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-border-light);
    padding-bottom: 0.5rem;
}

.main-categories-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap; /* Permite que los ítems se envuelvan */
    gap: 0.75rem; /* Espacio entre los ítems */
}

.main-categories-box li {
    /* No margin-bottom needed if gap is used on ul */
}

.main-categories-box li a {
    display: block; /* Hace que toda el área sea clicable */
    background-color: var(--color-gray-100); /* Fondo claro para la etiqueta */
    color: var(--color-secondary-text);
    padding: 0.5rem 1rem;
    border-radius: 9999px; /* Forma de píldora */
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent; /* Para evitar un salto al añadir borde en hover */
}

.main-categories-box li a:hover {
    background-color: var(--color-primary-accent); /* Fondo rojo en hover */
    color: var(--color-white); /* Texto blanco en hover */
    border-color: var(--color-primary-accent); /* Borde rojo en hover */
}

/* Ajustes para el gap de la columna izquierda (ya debería existir) */
.left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Este gap controla el espacio entre live-updates-box, destacado y main-categories-box */
}


/* --- New: Main Categories Section (Top of Content) --- */
.main-categories-section {
    background-color: var(--color-white); /* Fondo blanco para esta sección */
    padding-top: 1.5rem; /* py-6 for this specific section */
    padding-bottom: 1.5rem; /* py-6 for this specific section */
    border-bottom: 1px solid var(--color-border-light); /* Separador visual */
    margin-bottom: 2rem; /* Espacio antes de la cuadrícula principal de noticias */
}
@media (min-width: 768px) {
    .main-categories-section {
        padding-top: 2rem; /* md:py-8 */
        padding-bottom: 2rem; /* md:py-8 */
        margin-bottom: 3rem; /* md:mb-12 */
    }
}

.main-categories-box {
    /* No box-shadow or border needed here as it's part of a clean section */
    /* background-color: var(--color-white); /* Already set by parent .main-categories-section */
    padding: 0; /* Remove internal padding, container handles it */
    border-radius: 0; /* No explicit border-radius for the box itself */
    box-shadow: none; /* No shadow */
    border: none; /* No border */
    text-align: center; /* Centrar el título */
}

.main-categories-box h2 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 1.5rem; /* mb-6 */
    border-bottom: 2px solid var(--color-border-light);
    padding-bottom: 0.5rem;
    display: inline-block; /* Para que el borde se ajuste al texto */
    padding-left: 0.5rem; /* Espacio a los lados del título */
    padding-right: 0.5rem;
}
@media (min-width: 768px) {
    .main-categories-box h2 {
        font-size: 2rem; /* md:text-3xl */
    }
}

.main-categories-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrar las píldoras de categorías */
    gap: 0.75rem; /* gap-3 */
}

.main-categories-box li a {
    display: block;
    background-color: var(--color-gray-100);
    color: var(--color-secondary-text);
    padding: 0.5rem 1rem;
    border-radius: 9999px; /* rounded-full */
    font-size: 0.875rem; /* text-sm */
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.main-categories-box li a:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-white);
    border-color: var(--color-primary-accent);
}

/* Ajustes a la sección principal de contenido para que no tenga doble padding superior */
.section#public-home {
    padding-top: 0; /* Elimina el padding superior duplicado */
}

/* --- New: Main Tags Section (Bottom of Content) --- */
.main-tags-section {
    background-color: var(--color-white); /* Fondo blanco para esta sección */
    padding-top: 1.5rem; /* py-6 for this specific section */
    padding-bottom: 1.5rem; /* py-6 for this specific section */
    border-top: 1px solid var(--color-border-light); /* Separador visual */
    margin-top: 3rem; /* Espacio antes de la sección de etiquetas */
}
@media (min-width: 768px) {
    .main-tags-section {
        padding-top: 2rem; /* md:py-8 */
        padding-bottom: 2rem; /* md:py-8 */
        margin-top: 4rem; /* md:mt-16 */
    }
}

.main-tags-box {
    /* Reutiliza estilos de main-categories-box para el contenedor */
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    border: none;
    text-align: center;
}

.main-tags-box h2 {
    /* Reutiliza estilos de main-categories-box h2 */
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--color-border-light);
    padding-bottom: 0.5rem;
    display: inline-block;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
@media (min-width: 768px) {
    .main-tags-box h2 {
        font-size: 2rem;
    }
}

.main-tags-box ul {
    /* Reutiliza estilos de main-categories-box ul para las píldoras */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.main-tags-box li a {
    /* Reutiliza estilos de main-categories-box li a para las píldoras */
    display: block;
    background-color: var(--color-gray-100);
    color: var(--color-secondary-text);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.main-tags-box li a:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-white);
    border-color: var(--color-primary-accent);
}

/* Nota: Asegúrate de que los estilos para .main-categories-section, .main-categories-box, etc.
   estén ya en tu style.css y sirvan como base para estas nuevas clases. */
   
   
   /* --- New: Popular Persons Box --- */
.popular-persons-box {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border-light);
    /* No margin-top here, controlled by parent's gap */
}

.popular-persons-box h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-text);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-border-light);
    padding-bottom: 0.5rem;
    display: flex; /* Usar flex para alinear el ícono si lo pones */
    align-items: center;
    gap: 0.5rem;
}
.popular-persons-box h2::before {
    content: '👤'; /* Opcional: un icono de persona */
    font-size: 1.2em;
    line-height: 1;
}
@media (min-width: 768px) {
    .popular-persons-box h2 {
        font-size: 1.5rem;
    }
}

.popular-persons-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start; /* Alinear a la izquierda */
    gap: 0.75rem;
}

.popular-persons-box li {
    /* No margin-bottom needed if gap is used on ul */
}

.popular-persons-box li a {
    display: block;
    background-color: var(--color-gray-100);
    color: var(--color-secondary-text);
    padding: 0.5rem 1rem;
    border-radius: 9999px; /* Forma de píldora */
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
    border: 1px solid transparent;
}

.popular-persons-box li a:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-white);
    border-color: var(--color-primary-accent);
}

/* --- Styles for Category Archive Page --- */
.archive-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.archive-title {
    font-size: 2.5rem; /* Large title for category */
    font-weight: 800;
    color: var(--color-primary-text);
    margin-bottom: 0.5rem;
}
.archive-title span.category-highlight {
    color: var(--color-primary-accent); /* Highlight category name */
}

.archive-description {
    font-size: 1.125rem;
    color: var(--color-secondary-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Paginación de WordPress */
.navigation.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}

.nav-links {
    display: flex;
    gap: 0.5rem;
}

.page-numbers {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 2.5rem; /* Ancho mínimo para botones */
    height: 2.5rem; /* Altura mínima */
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--color-border-light);
    border-radius: 0.25rem;
    text-decoration: none;
    color: var(--color-primary-text);
    background-color: var(--color-white);
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.page-numbers:hover {
    background-color: var(--color-gray-100);
    color: var(--color-primary-accent);
    border-color: var(--color-primary-accent);
}

.page-numbers.current,
.page-numbers.current:hover {
    background-color: var(--color-primary-accent);
    color: var(--color-white);
    border-color: var(--color-primary-accent);
    font-weight: 700;
}

.screen-reader-text { /* Oculta texto para lectores de pantalla si no lo quieres visible */
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}