/* ==========================================================================
   CMS - Estilos para el portal de noticias
   ========================================================================== */

/* ==========================================================================
   BREAKING NEWS BANNER
   ========================================================================== */

.breaking-banner {
  background: var(--red);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: breakingPulse 2s ease-in-out infinite;
}

.breaking-banner__text {
  display: inline-block;
}

@keyframes breakingPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* ==========================================================================
   WEATHER CARD - Sidebar clima
   ========================================================================== */

.weather-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  margin-bottom: 1.5rem;
  text-align: center;
}

.weather-card__header {
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.65rem 1rem;
}

.weather-card__current {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.25rem 1rem 0.25rem;
}

.weather-card__icon {
  font-size: 2.8rem;
  line-height: 1;
}

.weather-card__temp {
  font-family: 'Oswald', sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1;
}

.weather-card__desc {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.25rem;
}

.weather-card__minmax {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  color: var(--gray);
  padding-bottom: 0.5rem;
}

.weather-card__details {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--gray);
  padding: 0.5rem 1rem;
  border-top: 1px solid #f0f0f0;
}

.weather-forecast {
  border-top: 1px solid #f0f0f0;
  padding: 0.5rem 0 0;
}

.weather-forecast__title {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
  padding: 0 1rem 0.4rem;
}

.weather-forecast__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.25rem;
  border-top: 1px solid #f7f7f7;
}

.weather-forecast__day {
  font-size: 0.8rem;
  font-weight: 600;
  color: #333;
  min-width: 32px;
}

.weather-forecast__icon {
  font-size: 1.1rem;
  min-width: 24px;
  text-align: center;
}

.weather-forecast__desc {
  font-size: 0.75rem;
  color: #777;
  flex: 1;
  padding: 0 0.4rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-forecast__range {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--black);
  min-width: 65px;
  text-align: right;
}

/* ==========================================================================
   HERO / APERTURA - Nota principal a pantalla completa
   ========================================================================== */

.hero-apertura {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}

.hero-apertura__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: opacity 0.3s;
}

.hero-apertura:hover .hero-apertura__img {
  opacity: 0.4;
}

.hero-apertura__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem 2rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
}

.hero-apertura__category {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.hero-apertura__title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 0.75rem;
  max-width: 800px;
}

.hero-apertura__summary {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
  max-width: 650px;
  margin-bottom: 0.5rem;
}

.hero-apertura__meta {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.hero-apertura__meta .byline {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.hero-apertura__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Breaking: hero ocupa todo el primer scroll */
.hero-apertura--breaking {
  min-height: 100vh;
}

.hero-apertura--breaking .hero-apertura__title {
  font-size: 3.5rem;
}

.hero-apertura--breaking .hero-apertura__category {
  font-size: 0.9rem;
  padding: 0.35rem 1rem;
  animation: breakingPulse 1.5s ease-in-out infinite;
}

/* ==========================================================================
   HOME MAIN CONTAINER
   ========================================================================== */

.home-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   FEATURED ROW - 2 notas destacadas
   ========================================================================== */

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

@media (min-width: 700px) {
  .featured-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

.featured-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.featured-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.featured-card__body {
  padding: 1.25rem;
}

.featured-card__category {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.featured-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.featured-card__summary {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.featured-card__meta {
  font-size: 0.75rem;
  color: var(--gray);
}

.featured-card__meta .byline {
  font-weight: 500;
  color: #555;
}

/* ==========================================================================
   CONTENT ROW - Grilla + Sidebar ranking
   ========================================================================== */

.home-content-row {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.home-content-row__main {
  flex: 1;
  min-width: 0;
}

.home-content-row__sidebar {
  width: 300px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .home-content-row {
    flex-direction: column;
  }
  .home-content-row__sidebar {
    width: 100%;
  }
}

/* ==========================================================================
   STANDARD GRID - cards con foto
   ========================================================================== */

.article-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-bottom: 2rem;
}

@media (min-width: 600px) {
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.article-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.article-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.article-card__image--placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark, #b71c1c) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
}

.article-card__body {
  padding: 1rem;
}

.article-card__category {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.article-card__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card__summary {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.article-card__meta {
  font-size: 0.75rem;
  color: var(--gray);
}

.article-card__meta .byline {
  font-weight: 500;
  color: #555;
}

/* ==========================================================================
   RANKING SIDEBAR - Mas leidas (estilo numeros grandes)
   ========================================================================== */

.ranking-sidebar {
  position: sticky;
  top: 1rem;
}

.ranking-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--red);
}

.ranking-header__icon {
  color: var(--red);
  font-size: 1.1rem;
}

.ranking-header__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  margin: 0;
}

.ranking-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ranking-item {
  position: relative;
}

.ranking-item__link {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.7rem 0;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eee;
  transition: padding-left 0.15s;
}

.ranking-item:last-child .ranking-item__link {
  border-bottom: none;
}

.ranking-item__link:hover {
  padding-left: 0.4rem;
}

.ranking-item__link:hover .ranking-item__title {
  color: var(--red);
}

.ranking-item__number {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  min-width: 28px;
  text-align: center;
  color: #e0e0e0;
}

.ranking-item:nth-child(1) .ranking-item__number { color: var(--red); }
.ranking-item:nth-child(2) .ranking-item__number { color: #e57373; }
.ranking-item:nth-child(3) .ranking-item__number { color: #ef9a9a; }

.ranking-item__content {
  flex: 1;
  min-width: 0;
  padding-top: 0.15rem;
}

.ranking-item__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
  transition: color 0.15s;
}

.ranking-item__reads {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--gray);
  margin-top: 0.25rem;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   SECTION TITLES
   ========================================================================== */

.section-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0 1rem;
}

.section-title h1,
.section-title h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  border-left: 4px solid var(--red);
  padding-left: 0.75rem;
  color: var(--black);
  margin: 0;
}

.section-title--sm {
  padding: 1rem 0 0.5rem;
}

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

/* ==========================================================================
   ARTICLE PAGE - Individual
   ========================================================================== */

.article-header {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 1.5rem 0;
}

.article-header__category {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}

.article-header h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

/* Byline / Firma del periodista */
.article-byline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
}

.article-byline__name {
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

.article-byline__sep {
  color: var(--gray);
}

.article-byline__bio {
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
}

.article-meta {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #eee;
}

.article-hero-image {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-hero-image img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.article-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.article-content p {
  margin-bottom: 1.2rem;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Context blocks / Recuadros informativos */
.context-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.context-block {
  border-left: 4px solid var(--red);
  background: #fafafa;
  padding: 1rem 1.25rem;
  margin-bottom: 1rem;
  border-radius: 0 6px 6px 0;
}

.context-block__icon {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  margin-bottom: 0.25rem;
}

.context-block__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.context-block__text {
  font-size: 0.9rem;
  color: #444;
  line-height: 1.6;
}

.article-source {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  font-size: 0.85rem;
  color: var(--gray);
  font-style: italic;
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.article-source a {
  color: var(--red);
}

/* Breadcrumb */
.breadcrumb {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem 1.5rem 0;
  font-size: 0.8rem;
  color: var(--gray);
}

.breadcrumb a {
  color: var(--gray);
}

.breadcrumb a:hover {
  color: var(--red);
}

/* ==========================================================================
   COMMENTS SECTION
   ========================================================================== */

.comments-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
}

.comments-header {
  border-bottom: 3px solid var(--red);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.comments-header__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin: 0;
}

.comments-count {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 400;
}

.comments-list {
  margin-bottom: 2rem;
}

/* Thread container */
.comment-thread {
  margin-bottom: 0.5rem;
}

/* Individual comment */
.comment {
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: #f7f7f7;
  margin-bottom: 0.4rem;
}

.comment__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.comment__name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--black);
}

.comment__time {
  font-size: 0.72rem;
  color: #999;
}

.comment__text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #333;
  margin: 0;
}

/* Sentiment indicators */
.comment--positivo {
  border-left: 3px solid #4caf50;
}

.comment--negativo {
  border-left: 3px solid var(--red);
}

/* Replies container - indented thread */
.comment__replies {
  margin-left: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid #ddd;
  margin-top: 0.2rem;
}

/* Reply style */
.comment--reply {
  background: #f0f0f0;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  margin-bottom: 0.3rem;
}

.comment--reply .comment__name::before {
  content: "↳ ";
  color: #aaa;
  font-size: 0.85rem;
}

.comment--reply .comment__text {
  font-size: 0.87rem;
}

.comment--reply.comment--negativo {
  border-left: 3px solid var(--red);
}

.comment--reply.comment--positivo {
  border-left: 3px solid #4caf50;
}

/* User-submitted comment */
.comment--user {
  border-left: 3px solid #2196f3;
  background: #f0f5ff;
}

/* Comment form */
.comment-form {
  background: #f9f9f9;
  border-radius: 8px;
  padding: 1.5rem;
}

.comment-form__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 1rem;
  color: var(--black);
}

.comment-form__input,
.comment-form__textarea {
  display: block;
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.comment-form__input:focus,
.comment-form__textarea:focus {
  outline: none;
  border-color: var(--red);
}

.comment-form__textarea {
  resize: vertical;
  min-height: 80px;
}

.comment-form__btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.7rem 1.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.comment-form__btn:hover {
  background: var(--red-dark, #c62828);
}

.comment-form__btn:disabled {
  background: #999;
  cursor: not-allowed;
}

.comment-form__msg {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  min-height: 1.2em;
}

.comment-form__msg--ok {
  color: #4caf50;
}

.comment-form__msg--error {
  color: var(--red);
}

/* ==========================================================================
   ADVERTISING
   ========================================================================== */

.ad-container {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background: #f9f9f9;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.ad-container--banner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  min-height: 90px;
}

.ad-container--sidebar {
  margin-bottom: 1.5rem;
  min-height: 250px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.ad-container--article {
  max-width: 800px;
  margin: 1rem auto;
  padding: 0.75rem 1.5rem;
  min-height: 90px;
}

.ad-container ins {
  display: block;
}

.ad-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #bbb;
  text-align: center;
  margin-bottom: 0.25rem;
}

/* ==========================================================================
   RADIO PLAYER
   ========================================================================== */

.radio-player {
  max-width: 800px;
  margin: 1.5rem auto;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border-radius: 10px;
  border-left: 4px solid var(--red);
}

.radio-player__label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.radio-player__audio {
  width: 100%;
  height: 40px;
  border-radius: 20px;
}

.radio-player__audio::-webkit-media-controls-panel {
  background: #333;
}

/* ==========================================================================
   RELATED ARTICLES
   ========================================================================== */

.related-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1.5rem;
}

.related-section__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--red);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.related-card {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  background: var(--card-bg, #fff);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  transition: box-shadow 0.2s, transform 0.2s;
}

.related-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.related-card__img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
}

.related-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.5rem 0.75rem 0.5rem 0;
  gap: 0.25rem;
}

.related-card__category {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
  font-weight: 600;
}

.related-card__title {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */

.topbar {
  background: #1a1a1a;
  color: #ccc;
  font-size: 0.78rem;
  padding: 0.4rem 0;
}

.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar__date {
  color: #aaa;
}

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

.topbar__social a {
  color: #999;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}

.topbar__social a:hover {
  color: #fff;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.header {
  background: #fff;
  border-bottom: 3px solid var(--red);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  white-space: nowrap;
}

.logo-accent {
  color: var(--red);
}

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

.nav li a {
  font-family: 'Oswald', sans-serif;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #555;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.nav li a:hover,
.nav li a.nav--active {
  background: var(--red);
  color: #fff;
}

/* ==========================================================================
   TICKER - Ultimas noticias scrolling
   ========================================================================== */

.ticker {
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  font-size: 0.85rem;
  height: 36px;
}

.ticker__label {
  background: #1a1a1a;
  color: var(--red);
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.ticker__wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.ticker__content {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: tickerScroll 60s linear infinite;
}

.ticker__content a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.ticker__content a:hover {
  text-decoration: underline;
}

.ticker__content span.ticker__sep {
  color: rgba(255,255,255,0.5);
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   SHARE BAR
   ========================================================================== */

.share-bar {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.share-bar__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: #666;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.45rem 0.85rem;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}

.share-btn:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.share-btn--whatsapp {
  background: #25D366;
}

.share-btn--facebook {
  background: #1877F2;
}

.share-btn--x {
  background: #1a1a1a;
}

.share-btn--copy {
  background: #555;
  font-family: 'Inter', sans-serif;
}

.share-bar--bottom {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-top: 1px solid #eee;
}

/* ==========================================================================
   NEWSLETTER BOX
   ========================================================================== */

.newsletter-box {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  color: #fff;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.newsletter-box__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.newsletter-box__text {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.newsletter-box__form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-box__input {
  flex: 1;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: 'Inter', sans-serif;
}

.newsletter-box__input:focus {
  outline: 2px solid var(--red);
}

.newsletter-box__btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 0.6rem 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.newsletter-box__btn:hover {
  background: var(--red-dark, #c62828);
}

.newsletter-box__msg {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #4caf50;
  min-height: 1.2em;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */

.about-section {
  background: #f5f5f5;
  border-top: 3px solid var(--red);
  padding: 3rem 0;
  margin-top: 2rem;
}

.about-section__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-section__title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
  margin: 0 0 1rem;
  border-left: 4px solid var(--red);
  padding-left: 0.75rem;
}

.about-section__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1rem;
}

.about-section__team {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 1.5rem;
}

.team-card {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border-top: 3px solid var(--red);
}

.team-card__name {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.team-card__bio {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.5;
}

.about-section__contact {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.about-section__contact a {
  color: var(--red);
  text-decoration: none;
}

.about-section__contact a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 2.5rem 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-bottom: 2rem;
}

.footer__col {
}

.footer__logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 0.5rem;
}

.footer__logo .logo-accent {
  color: var(--red);
}

.footer__desc {
  font-size: 0.85rem;
  color: #999;
  line-height: 1.5;
  margin: 0;
}

.footer__heading {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #fff;
  margin: 0 0 0.75rem;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__list li {
  margin-bottom: 0.4rem;
}

.footer__list a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__list a:hover {
  color: var(--red);
}

.footer__social {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer__social a {
  color: #999;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer__social a:hover {
  color: var(--red);
}

.footer__bottom {
  border-top: 1px solid #333;
  padding: 1.25rem 0;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.8rem;
  color: #777;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav {
    gap: 0;
  }

  .nav li a {
    font-size: 0.78rem;
    padding: 0.4rem 0.5rem;
  }
}

@media (max-width: 600px) {
  .hero-apertura {
    min-height: 55vh;
  }

  .hero-apertura__title {
    font-size: 1.8rem;
  }

  .hero-apertura--breaking .hero-apertura__title {
    font-size: 2.2rem;
  }

  .hero-apertura__summary {
    font-size: 0.95rem;
  }

  .hero-apertura__overlay {
    padding: 2rem 1.25rem 1.5rem;
  }

  .article-header h1 {
    font-size: 1.6rem;
  }

  .article-content p {
    font-size: 1rem;
  }

  .featured-card__title {
    font-size: 1.1rem;
  }

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

  .related-card__img {
    width: 100px;
    height: 75px;
  }

  .comment__replies {
    margin-left: 0.75rem;
    padding-left: 0.75rem;
  }

  .topbar__inner {
    padding: 0 0.75rem;
    font-size: 0.7rem;
  }

  .topbar__social {
    gap: 0.5rem;
  }

  .topbar__social svg {
    width: 14px;
    height: 14px;
  }

  .header {
    padding: 0.5rem 0;
  }

  .header-inner {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.75rem;
  }

  .logo {
    font-size: 1.1rem;
  }

  .nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    justify-content: flex-start;
    gap: 0;
    padding: 0 0 2px 0.25rem;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav li {
    flex-shrink: 0;
  }

  .nav li a {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    white-space: nowrap;
  }

  .ticker {
    height: 30px;
    font-size: 0.78rem;
  }

  .ticker__label {
    font-size: 0.65rem;
    padding: 0 0.5rem;
    letter-spacing: 1px;
  }

  .hero-apertura__title {
    font-size: 1.5rem;
  }

  .hero-apertura__summary {
    font-size: 0.85rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-apertura__meta {
    font-size: 0.72rem;
  }

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

  .share-bar {
    padding: 0.5rem 1rem;
    gap: 0.4rem;
  }

  .share-btn {
    padding: 0.35rem 0.55rem;
    font-size: 0.7rem;
  }

  .share-bar__label {
    font-size: 0.75rem;
    width: 100%;
  }

  .newsletter-box {
    padding: 1.25rem;
  }

  .newsletter-box__form {
    flex-direction: column;
  }

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

  .about-section__team {
    grid-template-columns: 1fr;
  }

  .section-title h1,
  .section-title h2 {
    font-size: 1.3rem;
  }

  .home-main {
    padding: 0 0.75rem;
  }

  .article-grid {
    gap: 1rem;
  }
}
