/* Newsletter archive and issue presentation. */
.newsletter-page {
  background:
    radial-gradient(circle at 12% 10%, rgba(245, 197, 24, 0.16), transparent 28rem),
    var(--bg);
}

.newsletter-page .nav-link[aria-current="page"] {
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
}

.newsletter-hero {
  padding: 92px 22px 76px;
  border-bottom: 1px solid var(--border);
}

.newsletter-hero__inner {
  width: min(100%, 940px);
  margin: 0 auto;
  text-align: center;
}

.newsletter-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.newsletter-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yellow-brand);
}

.newsletter-hero h1 {
  max-width: 820px;
  margin: 0 auto 22px;
  color: var(--text);
  font-size: clamp(38px, 7vw, 70px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.newsletter-hero p {
  max-width: 700px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.85;
}

.newsletter-hero__actions,
.newsletter-issue__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.newsletter-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 84px 22px 96px;
}

.newsletter-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.newsletter-section-head h2 {
  margin: 4px 0 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.newsletter-section-head p {
  max-width: 440px;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.75;
}

.newsletter-issue {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.newsletter-cover {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #f5f0e5;
  color: inherit;
  box-shadow: 0 22px 60px rgba(28, 26, 23, 0.22);
  transform: rotate(-1.2deg);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.newsletter-cover:hover {
  color: inherit;
  transform: rotate(0) translateY(-5px);
  box-shadow: 0 28px 70px rgba(28, 26, 23, 0.28);
}

.newsletter-cover img {
  width: 100%;
  height: auto;
}

.newsletter-cover__label {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.newsletter-issue__eyebrow {
  color: var(--accent-hover);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.newsletter-issue h3 {
  margin: 12px 0 18px;
  color: var(--text);
  font-size: clamp(30px, 5vw, 50px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.newsletter-issue__lede {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.85;
}

.newsletter-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 28px;
}

.newsletter-stat {
  padding: 15px 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface-2);
  text-align: center;
}

.newsletter-stat strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 22px;
}

.newsletter-stat span {
  color: var(--text-muted);
  font-size: 12px;
}

.newsletter-note {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 3px solid var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.newsletter-legacy {
  margin-top: 72px;
  padding-top: 68px;
  border-top: 1px solid var(--border);
}

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

.newsletter-legacy-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), border-color .25s var(--ease);
}

.newsletter-legacy-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
  color: var(--text);
}

.newsletter-legacy-card > span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--coral-deep);
}

.newsletter-legacy-card h3 {
  margin: 14px 0 9px;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.4;
}

.newsletter-legacy-card p {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

.newsletter-legacy-card strong {
  margin-top: auto;
  font-size: 14px;
  color: var(--link);
}

.newsletter-issue__actions {
  justify-content: flex-start;
}

.newsletter-subscribe {
  margin-top: 34px;
  padding: clamp(32px, 6vw, 58px);
  overflow: hidden;
  border-radius: 30px;
  background:
    radial-gradient(circle at 95% 15%, rgba(245, 197, 24, 0.26), transparent 16rem),
    var(--navy);
  color: #fff;
  text-align: center;
}

.newsletter-subscribe h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(28px, 4.5vw, 44px);
  letter-spacing: -0.03em;
}

.newsletter-subscribe p {
  max-width: 620px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.8;
}

.newsletter-subscribe .btn-primary {
  background: var(--yellow-brand);
  color: var(--navy) !important;
  box-shadow: none;
}


/* 代禱與通訊電子報 (Newsleopard) — separate from the 青年幕僚 subscribe band above. */
.newsletter-prayer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: start;
  margin-top: 28px;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.newsletter-prayer h2 { margin: 10px 0 12px; font-size: clamp(24px, 3.6vw, 34px); letter-spacing: -0.02em; line-height: 1.2; }
.newsletter-prayer p { margin: 0 0 10px; color: var(--text-muted); line-height: 1.8; }
.newsletter-prayer__form { display: grid; gap: 8px; }
.newsletter-prayer__form label { font-weight: 700; font-size: 14px; color: var(--text); }
.newsletter-prayer__form input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}
.newsletter-prayer__form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.newsletter-prayer__form .btn { margin-top: 8px; justify-self: start; }
.newsletter-prayer__state h3 { margin: 0 0 8px; font-size: 20px; }

@media (max-width: 800px) {
  .newsletter-hero { padding: 68px 22px 58px; }
  .newsletter-main { padding-top: 60px; }
  .newsletter-section-head { align-items: start; flex-direction: column; }
  .newsletter-issue { grid-template-columns: 1fr; }
  .newsletter-cover { width: min(100%, 440px); margin: 0 auto; }
  .newsletter-legacy { margin-top: 56px; padding-top: 50px; }
  .newsletter-legacy-grid { grid-template-columns: 1fr; }
  .newsletter-legacy-card { min-height: 0; }
  .newsletter-prayer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .newsletter-hero__actions .btn,
  .newsletter-issue__actions .btn { width: 100%; }
  .newsletter-stats { grid-template-columns: 1fr; }
  .newsletter-stat { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
  .newsletter-stat strong { margin: 0; }
  .newsletter-issue { padding: 22px; border-radius: 22px; }
  .newsletter-subscribe { border-radius: 22px; }
  .newsletter-prayer { border-radius: 22px; }
  .newsletter-prayer__form .btn { width: 100%; }
}
