/**
 * @file
 * Paywall CTA gate (Option A — soft fade). Tokens per eMagazines handoff.
 *
 * Loaded only with templates/paywall-card.html.twig (etype/paywall_card
 * library). Structure and colours live here; each theme sets the UI font on
 * the card elements so it picks up the theme's own sans-serif.
 */

.paywall-preview {
  position: relative;
  overflow: hidden;
  max-width: 720px;
  margin: 0 auto;
}

.paywall-preview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 85%);
  pointer-events: none;
}

.paywall-card {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(52, 179, 235, 0.07);
}

.paywall-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #334155;
  margin: 0 0 14px 0;
}

.paywall-card__lock {
  flex: none;
}

.paywall-card__headline {
  font-size: 24px;
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.paywall-card__body {
  font-size: 14px;
  color: #555;
  line-height: 1.55;
  margin: 0 0 22px 0;
}

.paywall-card__body p {
  margin: 0 0 0.75em 0;
}

.paywall-card__body p:last-child {
  margin-bottom: 0;
}

.paywall-card__btn {
  display: block;
  background: #111111;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: none;
  border-radius: 100px;
  padding: 13px 28px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 150ms ease;
  margin-bottom: 14px;
}

.paywall-card__btn:hover {
  background: #333333;
  color: #fff;
  text-decoration: none;
}

.paywall-card__or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #aaa;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.paywall-card__or::before,
.paywall-card__or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e8e8e8;
}

.paywall-card__login {
  margin: 0;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.paywall-card__login a {
  color: #111111;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.paywall-card__login a:hover {
  text-decoration: underline;
}
