:root {
  color-scheme: dark;
}

.newsletter-shell {
  background: #111418;
}

.newsletter-hero {
  width: 100%;
  padding: 80px 20px 40px;
  display: flex;
  justify-content: center;
}

.newsletter-hero-copy {
  max-width: 920px;
  width: 100%;
  text-align: left;
}

.newsletter-hero-label {
  display: inline-block;
  margin-bottom: 18px;
  color: #a3e635;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.newsletter-hero h1 {
  margin: 0;
  color: #d4af37;
  font-size: clamp(3rem, 4vw, 4.8rem);
  line-height: 1.02;
  font-weight: 900;
  max-width: 10ch;
}

.newsletter-hero-subtitle {
  margin: 24px 0 0;
  color: #e8edf7;
  font-size: clamp(1.15rem, 1.5vw, 1.45rem);
  line-height: 1.75;
  max-width: 780px;
}

.newsletter-hero-description {
  margin: 20px 0 0;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.9;
  max-width: 760px;
}

.newsletter-grid-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.newsletter-grid-header {
  margin-bottom: 40px;
  padding: 30px 30px;
  background: #14181f;
  border: 1px solid #2e3645;
  border-radius: 28px;
}

.newsletter-grid-header h2 {
  margin: 0 0 14px;
  color: #d4af37;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.1;
  font-weight: 900;
}

.newsletter-grid-header p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.newsletter-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 28px;
  background: rgba(20, 24, 31, 0.95);
  border: 1px solid rgba(46, 54, 69, 0.95);
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.newsletter-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.newsletter-card-content {
  display: grid;
  gap: 18px;
}

.newsletter-card-category {
  display: inline-flex;
  padding: 0.75em 1.1em;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.12);
  color: #d4af37;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.newsletter-card h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.45rem;
  line-height: 1.2;
  font-weight: 700;
}

.newsletter-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.75;
  max-width: 46ch;
}

.newsletter-card-link {
  align-self: flex-start;
  margin-top: 12px;
  padding: 14px 20px;
  border-radius: 14px;
  background: #d4af37;
  color: #111418;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.newsletter-card-link:hover {
  background: #f0c95f;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .newsletter-hero {
    padding: 60px 16px 30px;
  }

  .newsletter-hero h1 {
    font-size: 2.9rem;
    max-width: 100%;
  }

  .newsletter-grid-header {
    padding: 24px;
  }
}

/* Estilos de página de artículo */
.newsletter-article {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px 80px;
}

.article-hero {
  margin-bottom: 40px;
  padding: 40px 36px;
  background: #14181f;
  border: 1px solid #2e3645;
  border-radius: 28px;
}

.article-category {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 0.85em 1.2em;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.13);
  color: #d4af37;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.article-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.4rem);
  line-height: 1.08;
  color: #d4af37;
  font-weight: 900;
}

.article-subtitle {
  margin: 24px 0 0;
  color: #e8edf7;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 820px;
}

.article-body {
  padding: 0 0 0 0;
  color: #cbd5e1;
  font-size: 1.03rem;
  line-height: 1.85;
}

.article-body p {
  max-width: 70ch;
  margin: 0 0 28px;
}

.article-body h2,
.article-body h3 {
  color: #ffffff;
  margin: 0 0 16px;
  line-height: 1.3;
}

.article-body h2 {
  font-size: 1.75rem;
  margin-top: 36px;
}

.article-body h3 {
  font-size: 1.25rem;
  margin-top: 28px;
}

.article-footer {
  margin-top: 50px;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  padding: 14px 22px;
  border-radius: 16px;
  background: #14181f;
  color: #d4af37;
  border: 1px solid #2e3645;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.article-back-link:hover {
  transform: translateY(-1px);
  border-color: rgba(212, 175, 55, 0.45);
  background: rgba(212, 175, 55, 0.05);
}

@media (max-width: 760px) {
  .newsletter-article {
    padding: 40px 16px 60px;
  }

  .article-hero {
    padding: 28px 24px;
  }

  .article-hero h1 {
    font-size: 2.7rem;
  }

  .article-body p,
  .article-body h2,
  .article-body h3 {
    max-width: 100%;
  }
}
