.newsletter-section {
  padding: 4.5rem 1.5rem;
}

.newsletter-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.85fr);
  gap: 2rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.16), transparent 32%),
    rgba(8, 24, 43, 0.78);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.2);
}

.newsletter-title {
  margin: 0 0 0.75rem;
  color: #f8fafc;
  font-family: "Outfit", "Barlow", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.5rem);
  line-height: 1.08;
}

.newsletter-copy {
  max-width: 600px;
  margin: 0;
  color: #b8c7d8;
  line-height: 1.7;
}

.newsletter-form {
  display: grid;
  gap: 0.75rem;
}

.newsletter-row {
  display: flex;
  gap: 0.65rem;
}

.newsletter-input {
  min-width: 0;
  flex: 1;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.newsletter-input::placeholder {
  color: #9fb0c2;
}

.newsletter-button {
  flex: 0 0 auto;
  padding: 0.85rem 1.05rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #0056a3);
  color: #ffffff;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.newsletter-button:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.newsletter-consent {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: #a9bbcd;
  font-size: 0.78rem;
  line-height: 1.45;
}

.newsletter-consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.1rem;
  accent-color: #0ea5e9;
}

.newsletter-status {
  min-height: 1.25rem;
  margin: 0;
  color: #7dd3fc;
  font-size: 0.86rem;
}

.newsletter-status.error {
  color: #fda4af;
}

.newsletter-status.success {
  color: #86efac;
}

.newsletter-issue-cta {
  max-width: 1100px;
  margin: 1rem auto 0;
  text-align: center;
}

.newsletter-issue-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid rgba(14, 165, 233, 0.32);
  border-radius: 999px;
  color: #7dd3fc;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.newsletter-issue-link:hover {
  background: rgba(14, 165, 233, 0.12);
  border-color: rgba(125, 211, 252, 0.62);
}

html[data-theme="light"] .newsletter-card {
  border-color: rgba(0, 121, 184, 0.16);
  background:
    radial-gradient(circle at 90% 10%, rgba(125, 211, 252, 0.22), transparent 32%),
    linear-gradient(145deg, #ffffff, #eaf6fb);
  box-shadow: 0 22px 55px rgba(16, 42, 67, 0.11);
}

html[data-theme="light"] .newsletter-title {
  color: #102a43;
}

html[data-theme="light"] .newsletter-copy,
html[data-theme="light"] .newsletter-consent {
  color: #5c7188;
}

html[data-theme="light"] .newsletter-input {
  border-color: rgba(16, 42, 67, 0.15);
  background: #ffffff;
  color: #102a43;
}

html[data-theme="light"] .newsletter-input::placeholder {
  color: #7890a7;
}

html[data-theme="light"] .newsletter-status {
  color: #0079b8;
}

html[data-theme="light"] .newsletter-issue-link {
  border-color: rgba(0, 121, 184, 0.24);
  color: #0079b8;
}

html[data-theme="light"] .newsletter-issue-link:hover {
  background: #e5f4fb;
  border-color: rgba(0, 121, 184, 0.46);
}

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

@media (max-width: 520px) {
  .newsletter-row {
    flex-direction: column;
  }
}
