:root {
  --yellow: #ffc107;
  --yellow-alt: #ffd700;
  --black: #000000;
  --white: #ffffff;
  --red: #d32f2f;
  --background: #f9f9f9;
  --text: #1a1a1a;
  --muted: #4f4f4f;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  --radius: 18px;
  --transition: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (max-width: 600px) {
  body {
    font-size: 15px;
  }
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.is-hidden {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
  line-height: 1.1;
}

p {
  margin: 0;
}

.section-header {
  margin-bottom: 1.75rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--yellow);
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: 0.06em;
  margin-top: 0.8rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  color: var(--white);
  border-bottom: 3px solid var(--yellow);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
}

@media (max-width: 600px) {
  .site-header {
    border-bottom-width: 2px;
  }

  .header-content {
    padding: 0.5rem 0;
    gap: 0.75rem;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 8px;
  background: var(--yellow);
  color: var(--black);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
}

.brand-text h1 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  letter-spacing: 0.12em;
}

@media (max-width: 600px) {
  .brand-text h1 {
    font-size: clamp(1.1rem, 4vw, 1.4rem);
    letter-spacing: 0.1em;
  }
}

.tagline {
  margin-top: 0.05rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

.main-nav {
  position: relative;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.main-nav a {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 0.2rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform-origin: right;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.main-nav a:focus-visible,
.main-nav a:hover {
  color: var(--yellow);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform-origin: left;
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  transition: background var(--transition);
}

.nav-toggle span {
  width: 1.4rem;
  height: 2px;
  background: var(--white);
  border-radius: 999px;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

.actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.search-toggle svg {
  width: 1.4rem;
  height: 1.4rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.search-toggle:hover,
.search-toggle:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(255, 193, 7, 0.4);
}

.search-bar {
  display: none;
  background: rgba(0, 0, 0, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem 0;
}

.search-bar.active {
  display: block;
  animation: slideDown 0.4s ease forwards;
}

.search-bar .container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

#search-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 1rem;
}

#search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

#search-clear {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  transition: background var(--transition), transform var(--transition);
}

#search-clear:hover,
#search-clear:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  transform: rotate(90deg);
}

.hero {
  padding: 3rem 0 2rem;
  background: linear-gradient(140deg, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.8));
  color: var(--white);
}

@media (max-width: 600px) {
  .hero {
    padding: 1.5rem 0 1rem;
  }
}

.hero-card {
  position: relative;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--black);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .hero-card {
    border-radius: 12px;
  }
}

@media (max-width: 600px) {
  .hero-card {
    border-radius: 10px;
    min-height: auto;
  }
}

.hero-card.featured-news {
  max-width: 100%;
  margin: 0 auto;
}

.hero-card img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.hero-content {
  padding: clamp(2rem, 5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  overflow: hidden;
}

.hero-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  letter-spacing: 0.08em;
  line-height: 1.2;
  word-wrap: break-word;
}

.hero-content p {
  font-size: clamp(0.95rem, 1.1vw, 1.1rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 0.5rem;
}

.hero-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.hero-link:hover,
.hero-link:focus-visible {
  transform: translateX(6px);
  box-shadow: 0 10px 30px rgba(255, 193, 7, 0.35);
}


.category-label {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  color: var(--yellow-alt);
  align-self: flex-start;
}

.category-label.alert {
  background: var(--red);
  color: var(--white);
}

.latest-news {
  padding: 4rem 0;
}

.news-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

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

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

  .news-grid.compact {
    gap: 1rem;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-card img {
    max-height: 200px;
    min-height: 200px;
  }

  .news-body {
    padding: 0.875rem;
  }

  .news-actions {
    padding: 0.75rem 0.875rem 0.875rem;
  }

  .opinion-card {
    padding: 1rem;
  }

  .category-section {
    padding: 1.75rem 0;
  }

  .section-header {
    margin-bottom: 1.25rem;
  }

  .section-header h2 {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
}

.news-grid.compact {
  gap: 1.5rem;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  width: 100%;
  min-height: 0;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 600px) {
  .news-card {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.08);
  }
}

.news-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
  transition: box-shadow var(--transition);
}

.news-card:hover,
.news-card:focus-within {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
}

.news-card:hover::before,
.news-card:focus-within::before {
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.4);
}

.news-image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f0f0f0;
  width: 100%;
}

@media (max-width: 600px) {
  .news-image {
    height: 180px;
  }
}

@media (max-width: 480px) {
  .news-image {
    height: 160px;
  }
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}


.news-card:hover .news-image img,
.news-card:focus-within .news-image img {
  transform: scale(1.05);
}

.news-body {
  padding: 1.4rem 1.6rem 1.2rem;
  display: grid;
  gap: 0.75rem;
}

.news-body h3 {
  font-size: 1.6rem;
  letter-spacing: 0.06em;
}

.news-body p {
  color: var(--muted);
  font-size: 0.98rem;
}

.news-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.6rem 1.4rem;
  gap: 1rem;
}

.read-link {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  padding-bottom: 0.35rem;
}

.read-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.read-link:hover::after,
.read-link:focus-visible::after {
  transform-origin: left;
  transform: scaleX(1);
}

.share-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.share-buttons button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.08);
  color: var(--text);
  border: 2px solid rgba(0, 0, 0, 0.1);
  transition: all var(--transition);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Botones en fondos oscuros (carrusel) */
.hero-card .share-buttons button,
.hero-actions .share-buttons button {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.share-buttons button svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: currentColor;
  display: block;
  flex-shrink: 0;
  pointer-events: none;
}

.share-buttons button svg path {
  fill: currentColor;
}

.share-buttons button[data-network="facebook"]:hover,
.share-buttons button[data-network="facebook"]:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

.share-buttons button[data-network="whatsapp"]:hover,
.share-buttons button[data-network="whatsapp"]:focus-visible {
  background: #25d366;
  border-color: #25d366;
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.share-buttons button[data-network="twitter"]:hover,
.share-buttons button[data-network="twitter"]:focus-visible {
  background: #000000;
  border-color: #000000;
  color: var(--white);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.search-results-message {
  margin-top: 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--red);
  display: none;
}

.search-results-message.visible {
  display: block;
}

.category-section {
  padding: 4rem 0;
  background: var(--background);
}

@media (max-width: 600px) {
  .category-section {
    background: var(--background);
  }
}

.opinion-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.opinion-card {
  padding: 2rem;
  background: linear-gradient(135deg, var(--white), #f3f3f3);
  border-radius: var(--radius);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.09);
  display: grid;
  gap: 1.2rem;
  position: relative;
  overflow: hidden;
}

.opinion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.2), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.opinion-card:hover::after,
.opinion-card:focus-within::after {
  opacity: 1;
}

.opinion-card h3 {
  font-size: 2rem;
  letter-spacing: 0.08em;
}

.opinion-card p {
  color: var(--muted);
  font-size: 1rem;
}

.opinion-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.contact-section {
  padding: 4rem 0;
  background: #111111;
  color: var(--white);
}

.facebook-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.4rem;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--black);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition);
}

.facebook-button:hover,
.facebook-button:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(255, 193, 7, 0.35);
}

.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-content nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-content a:hover,
.footer-content a:focus-visible {
  color: var(--yellow);
}

.on-scroll {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .main-nav ul {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 0;
    border-bottom: 2px solid var(--yellow);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    min-width: 100%;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
  }

  .main-nav ul.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-toggle {
    display: flex;
  }

  @media (max-width: 600px) {
    .main-nav ul {
      top: 55px;
      padding: 1.25rem 1rem;
    }

    .main-nav ul li {
      margin-bottom: 0.5rem;
    }

    .main-nav ul a {
      font-size: 0.9rem;
      padding: 0.75rem 0;
      display: block;
    }
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card img {
    max-height: 280px;
    min-height: 280px;
  }

  .hero-content {
    padding: 1.8rem;
  }

  .hero-content h2 {
    font-size: clamp(1.4rem, 4vw, 1.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .news-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .opinion-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .latest-news,
  .category-section {
    padding: 3rem 0;
  }

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

  .news-grid.compact {
    gap: 1.5rem;
  }

  .opinion-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .header-content {
    flex-direction: row;
    align-items: center;
    padding: 0.5rem 0;
    gap: 0.5rem;
  }

  .brand {
    flex: 1;
    min-width: 0;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
    font-size: 1.2rem;
  }

  .brand-text h1 {
    font-size: clamp(1.1rem, 4.5vw, 1.3rem);
    line-height: 1.2;
  }

  .tagline {
    display: none;
  }

  .section-header {
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.2;
    margin-top: 0.6rem;
  }

  .section-eyebrow {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
  }

  .latest-news,
  .category-section,
  .contact-section {
    padding: 2rem 0;
  }

  .category-section .container {
    padding: 0 1rem;
  }

  .hero {
    padding: 1.5rem 0 1rem;
  }

  .hero-card {
    border-radius: 10px;
  }

  .hero-card img {
    max-height: 220px;
    min-height: 220px;
  }

  .hero-content {
    padding: 1.25rem;
    gap: 0.75rem;
  }

  .hero-content h2 {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    margin-top: 0.75rem;
  }

  .hero-link {
    padding: 0.85rem 1.25rem;
    font-size: 0.75rem;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

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

  .news-grid.compact {
    gap: 1.25rem;
  }

  .news-card {
    border-radius: 12px;
  }

  .news-body {
    padding: 1rem;
  }

  .news-body h3 {
    font-size: clamp(1.15rem, 5vw, 1.3rem);
    line-height: 1.3;
  }

  .news-body p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-top: 0.5rem;
  }

  .news-actions {
    padding: 0.75rem 1rem 1rem;
    gap: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }

  .read-link {
    font-size: 0.75rem;
    padding-bottom: 0.3rem;
    align-self: flex-start;
  }

  .share-buttons {
    align-self: flex-start;
  }

  .share-buttons button {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 44px;
    min-height: 44px;
  }

  .share-buttons button svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .opinion-card {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .opinion-card h3 {
    font-size: clamp(1.25rem, 5vw, 1.5rem);
    line-height: 1.3;
  }

  .opinion-card p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .contact-section {
    padding: 2rem 0;
  }

  .facebook-button {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 0.75rem;
    border-radius: 12px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.5rem 0;
  }

  .footer-content p {
    font-size: 0.75rem;
  }

  .footer-content nav {
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
  }

  .footer-content nav a {
    padding: 0.4rem 0;
    font-size: 0.75rem;
  }

  .search-bar .container {
    padding: 0 1rem;
  }

  #search-input {
    font-size: 16px; /* Previene zoom en iOS */
    padding: 0.85rem 1rem;
    border-radius: 12px;
  }

  .category-label {
    font-size: 0.65rem;
    padding: 0.3rem 0.75rem;
  }
}

/* Estilos para página de noticia completa */
.article-full {
  padding: 2rem 0 4rem;
  background: var(--background);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--text);
  font-weight: 600;
  transition: color var(--transition);
}

.back-link:hover,
.back-link:focus-visible {
  color: var(--yellow);
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-top: 1rem;
  color: var(--black);
}

.article-image {
  margin-bottom: 3rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.article-image img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
}

.article-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .article-content {
    max-width: 100%;
  }
}

.article-body {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.article-body .lead {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.article-body p {
  margin-bottom: 1.5rem;
  text-align: left;
}

@media (max-width: 600px) {
  .article-body p {
    text-align: justify;
    text-justify: inter-word;
  }
}

.article-share {
  position: sticky;
  top: 100px;
  height: fit-content;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.article-share h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--black);
}

.article-share .share-buttons {
  flex-direction: column;
  gap: 1rem;
}

.article-share .share-buttons button {
  width: 100%;
  padding: 0.9rem 1.5rem;
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all var(--transition);
  border: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.article-share .share-buttons button svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.article-share .share-buttons button[data-network="facebook"]:hover,
.article-share .share-buttons button[data-network="facebook"]:focus-visible {
  background: #1877f2;
  border-color: #1877f2;
  color: var(--white);
  transform: translateX(4px);
  box-shadow: 0 6px 15px rgba(24, 119, 242, 0.3);
}

.article-share .share-buttons button[data-network="whatsapp"]:hover,
.article-share .share-buttons button[data-network="whatsapp"]:focus-visible {
  background: #25d366;
  border-color: #25d366;
  color: var(--white);
  transform: translateX(4px);
  box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.article-share .share-buttons button[data-network="twitter"]:hover,
.article-share .share-buttons button[data-network="twitter"]:focus-visible {
  background: #000000;
  border-color: #000000;
  color: var(--white);
  transform: translateX(4px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.brand-text h1 a {
  color: inherit;
  text-decoration: none;
}

.brand-text h1 a:hover {
  color: var(--yellow);
}

@media (max-width: 900px) {
  .article-full {
    padding: 1.5rem 0 3rem;
  }

  .article-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 100%;
  }

  .article-image {
    max-width: 100%;
    margin-bottom: 2rem;
    border-radius: 12px;
  }

  .article-image img {
    max-height: 300px;
  }

  .article-share {
    position: static;
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .article-share h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  .article-share .share-buttons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .article-share .share-buttons button {
    width: auto;
    flex: 1;
    min-width: 120px;
    padding: 0.85rem 1.2rem;
    font-size: 0.75rem;
  }

  .article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 100%;
  }

  .article-body .lead {
    font-size: 1.2rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }

  .article-body p {
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .back-link {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .article-header h1 {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    margin-top: 0.8rem;
    line-height: 1.25;
    word-wrap: break-word;
  }
}

@media (max-width: 600px) {
  .article-full {
    padding: 1rem 0 2.5rem;
  }

  .article-full .container {
    padding: 0 1.2rem;
  }

  .article-content {
    gap: 1.5rem;
    max-width: 100%;
  }

  .article-image {
    margin-bottom: 1.5rem;
    border-radius: 10px;
    width: 100%;
    max-width: 100%;
  }

  .article-image img {
    max-height: 250px;
    width: 100%;
    border-radius: 10px;
  }

  .article-header {
    margin-bottom: 1.5rem;
  }

  .article-header h1 {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .article-body {
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 100%;
    padding: 0;
  }

  .article-body .lead {
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--text);
  }

  .article-body p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
  }

  .article-share {
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
  }

  .article-share h3 {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
  }

  .article-share .share-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .article-share .share-buttons button {
    width: 100%;
    min-width: auto;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    min-height: 48px;
    justify-content: flex-start;
  }

  .article-share .share-buttons button span {
    display: inline-block;
  }

  .back-link {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 0;
    display: inline-block;
  }

  .category-label {
    font-size: 0.65rem;
    padding: 0.3rem 0.85rem;
  }
}

