/* ============================================================
   PD Zola Predosa — Design System
   Tono: civico, di prossimità. Rosso PD come accento.
   Variante slider: B (Editorial) come default unico in produzione.
   ============================================================ */

:root {
  --pd-red: #E2001A;
  --pd-red-dark: #B00014;
  --pd-red-deep: #7A000E;
  --pd-red-soft: #FFE8EA;

  --ink: #1A1A1A;
  --ink-2: #3A3A3A;
  --ink-3: #6B6B6B;
  --line: #E6E3DE;
  --paper: #FAF7F2;
  --paper-2: #F2EEE7;
  --white: #FFFFFF;

  --accent-blue: #0B4C8C;
  --accent-green: #2E7D32;
  --accent-yellow: #F4C430;

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, system-ui, sans-serif;

  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06), 0 1px 3px rgba(0,0,0,.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --shadow-lg: 0 12px 32px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);

  --container-max: 1240px;
  --container-narrow: 860px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll { overflow: hidden; }

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* Accessibilità: focus visibile globale */
:focus-visible {
  outline: 3px solid var(--pd-red);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--ink);
  color: white;
  font-weight: 600;
  border-radius: 0 0 var(--r-md) 0;
}
.skip-link:focus { left: 0; }

/* ============ TIPOGRAFIA ============ */
.t-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.t-eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pd-red);
}
.t-meta {
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* ============ LAYOUT ============ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,247,242,.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
/* Top bar nera rimossa — regole tenute per compat futura, sezione non renderizzata */
.site-header__top { display: none; }

.site-header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}
.brand__logo {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.brand__logo-img {
  max-height: 54px;
  max-width: 90px;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand__party {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.brand__party::before { display: none; }
.brand__place {
  font-size: 13px;
  color: var(--ink-2);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav__link, .nav a {
  padding: 10px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-md);
  transition: all .15s ease;
  position: relative;
  display: inline-block;
}
.nav__link:hover, .nav a:hover {
  color: var(--pd-red);
  background: var(--pd-red-soft);
}
.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav__link--active {
  color: var(--pd-red);
  font-weight: 600;
}
.nav .current-menu-item > a::after,
.nav .current_page_item > a::after,
.nav__link--active::after {
  content: "";
  position: absolute;
  bottom: -22px;
  left: 16px;
  right: 16px;
  height: 3px;
  background: var(--pd-red);
}

/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--ink);
}
.nav-toggle:hover { border-color: var(--pd-red); color: var(--pd-red); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
.drawer.is-open { pointer-events: auto; visibility: visible; }
.drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,.55);
  opacity: 0;
  transition: opacity .2s ease;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 86vw);
  background: var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .25s ease;
  display: flex;
  flex-direction: column;
}
.drawer.is-open .drawer__panel { transform: translateX(0); }
.drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.drawer__close {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--ink);
  border-radius: var(--r-md);
}
.drawer__close:hover { background: var(--pd-red-soft); color: var(--pd-red); }
.drawer__nav {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
}
.drawer__nav a {
  display: block;
  padding: 14px 22px;
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.drawer__nav a:hover, .drawer__nav .current-menu-item > a { color: var(--pd-red); background: var(--pd-red-soft); }
.drawer__cta { padding: 22px; margin-top: auto; }
.drawer__cta .btn { width: 100%; justify-content: center; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-md);
  transition: all .15s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
  text-align: center;
  line-height: 1.2;
}
.btn--primary {
  background: var(--pd-red);
  color: white;
}
.btn--primary:hover {
  background: var(--pd-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  color: white;
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: white; }
.btn--white {
  background: white;
  color: var(--pd-red);
}
.btn--white:hover { background: var(--paper-2); }
.btn--ink { background: var(--ink); color: white; border-radius: 0; }
.btn--ink:hover { background: var(--pd-red); color: white; }
.btn--sm { padding: 8px 14px; font-size: 13px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--full { width: 100%; justify-content: center; }

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,.85);
  padding: 64px 0 28px;
  margin-top: 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.site-footer h4 {
  color: white;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 18px;
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: white; }
.site-footer__brand-desc {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 360px;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  flex-wrap: wrap;
  gap: 16px;
}
.site-footer__bottom a:hover { color: white; }

/* ============ CARDS ============ */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: all .2s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(226,0,26,.2);
}

.news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.news-card__image {
  aspect-ratio: 16/10;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
}
.news-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.news-card__image-placeholder svg { width: 56%; height: 56%; opacity: .9; }
.news-card__image img { width: 100%; height: 100%; object-fit: cover; }
.news-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--pd-red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--r-sm);
}
.news-card__body {
  padding: 22px 22px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.news-card__date {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.news-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.news-card a:hover .news-card__title { color: var(--pd-red); }
.news-card__excerpt {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}

/* ============ SLIDER (Variante B Editorial come default) ============ */
.slider {
  position: relative;
  height: 680px;
  overflow: hidden;
  background: var(--paper);
}
.slider__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
  pointer-events: none;
}
.slider__slide--active { opacity: 1; pointer-events: auto; }
.slider__image {
  position: absolute;
  inset: 0;
  left: 50%;
  background-size: cover;
  background-position: center;
  filter: saturate(.85) contrast(1.05);
  overflow: hidden;
}
.slider__image svg,
.slider__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}
.slider__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.05) 100%);
  pointer-events: none;
}
.slider__content {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 50%;
  display: flex;
  align-items: center;
  background: var(--paper);
  color: var(--ink);
  z-index: 2;
}
.slider__inner {
  padding: 0 48px 0 56px;
  width: 100%;
}
.slider__idx {
  position: absolute;
  top: 40px;
  left: 56px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-3);
}
.slider__tag {
  display: inline-block;
  background: transparent;
  color: var(--pd-red);
  padding: 0 0 0 18px;
  position: relative;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.slider__tag::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 12px; height: 2px;
  background: var(--pd-red);
  transform: translateY(-50%);
}
.slider__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  max-width: 620px;
  text-wrap: balance;
}
.slider__excerpt {
  font-size: 17px;
  line-height: 1.5;
  max-width: 520px;
  color: var(--ink-2);
  margin: 0 0 28px;
}
.slider__controls {
  position: absolute;
  bottom: 32px;
  left: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 3;
}
.slider__dots {
  display: flex;
  gap: 10px;
  margin-right: 14px;
}
.slider__dot {
  width: 32px;
  height: 3px;
  background: rgba(0,0,0,.15);
  transition: all .2s ease;
  border-radius: 2px;
  cursor: pointer;
  padding: 0;
  border: none;
}
.slider__dot--active { background: var(--pd-red); width: 48px; }
.slider__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--ink);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .15s ease;
}
.slider__arrow:hover { background: var(--pd-red); border-color: var(--pd-red); }
.slider__arrow svg { width: 18px; height: 18px; }

/* ============ SECTIONS ============ */
.section { padding: 80px 0; }
.section--paper { background: var(--paper); }
.section--white { background: white; }
.section--ink { background: var(--ink); color: white; }
.section--red { background: var(--pd-red); color: white; }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  gap: 32px;
  flex-wrap: wrap;
}
.section__title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 8px 0 0;
  max-width: 640px;
  text-wrap: balance;
}
.section__subtitle {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 460px;
  line-height: 1.5;
  margin: 0;
}
.section--ink .section__subtitle { color: rgba(255,255,255,.7); }

/* ============ VALORI ============ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: white;
  padding: 36px 32px 32px;
  transition: background .2s ease;
  display: flex;
  flex-direction: column;
}
.value-card:hover { background: var(--pd-red-soft); }
.value-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pd-red);
  background: var(--pd-red-soft);
  border-radius: 50%;
  margin-bottom: 24px;
  flex-shrink: 0;
  transition: all .2s ease;
}
.value-card:hover .value-card__icon {
  background: var(--pd-red);
  color: white;
  transform: scale(1.05);
}
.value-card__icon svg { width: 28px; height: 28px; }
.value-card__title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.value-card__desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}

/* ============ NEWS GRID ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-grid--2 { grid-template-columns: repeat(2, 1fr); }
.news-grid__empty {
  grid-column: 1 / -1;
  padding: 56px 32px;
  text-align: center;
  color: var(--ink-3);
  font-size: 15px;
  background: var(--paper-2);
  border-radius: var(--r-md);
}

/* ============ CTA BAR ============ */
.cta-bar {
  background: var(--ink);
  color: white;
  padding: 72px 0;
  position: relative;
  overflow: hidden;
}
.cta-bar::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--pd-red);
}
.cta-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-bar__text h3 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 10px;
  line-height: 1.05;
  max-width: 680px;
  text-wrap: balance;
}
.cta-bar__text p { margin: 0; opacity: .75; font-size: 17px; max-width: 560px; line-height: 1.5; }
.cta-bar .btn--primary { background: var(--pd-red); color: white; }
.cta-bar .btn--primary:hover { background: white; color: var(--ink); }

/* ============ INSTAGRAM ============ */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}
.insta-cell {
  aspect-ratio: 1;
  background: var(--paper-2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: opacity .15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.insta-cell:hover { opacity: .95; }
.insta-cell__bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--pd-red);
  font-weight: 600;
  background: linear-gradient(135deg, var(--pd-red-soft) 0%, var(--paper-2) 100%);
}
.insta-cell__overlay {
  position: absolute;
  inset: 0;
  background: rgba(226,0,26,.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  opacity: 0;
  transition: opacity .2s ease;
  font-weight: 600;
  font-size: 13px;
  gap: 10px;
}
.insta-cell:hover .insta-cell__overlay { opacity: 1; }
.insta-grid + .insta-cta { text-align: center; margin-top: 32px; }

/* ============ INSTAGRAM FEED (Smash Balloon wrapper) ============ */
.insta-feed-wrap { width: 100%; }
.insta-feed-wrap #sb_instagram,
.insta-feed-wrap .sb_instagram_header,
.insta-feed-wrap .sbi_load { margin: 0 !important; padding: 0 !important; }
.insta-feed-wrap #sb_instagram .sbi_photo_wrap { border-radius: var(--r-sm); overflow: hidden; }
.insta-feed-wrap #sbi_load .sbi_load_btn { background: var(--pd-red) !important; border-radius: var(--r-md) !important; }

/* ============ FORM (CF7-friendly) ============ */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.form-field label,
.form-card label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.form-field input,
.form-field textarea,
.form-field select,
.form-card input[type="text"],
.form-card input[type="email"],
.form-card input[type="tel"],
.form-card textarea,
.form-card select,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea,
.wpcf7 select {
  border: 1px solid var(--line);
  background: white;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  transition: all .15s ease;
  width: 100%;
  color: var(--ink);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: none;
  border-color: var(--pd-red);
  box-shadow: 0 0 0 3px rgba(226,0,26,.12);
}
.wpcf7 textarea { min-height: 140px; resize: vertical; }
.wpcf7-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.wpcf7-form p { margin: 0 0 18px; }
.wpcf7-form .privacy-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 400;
  cursor: pointer;
  line-height: 1.5;
}
.wpcf7-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--pd-red);
  margin-top: 2px;
}
.wpcf7-form input[type="submit"] {
  background: var(--pd-red);
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: var(--r-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: all .15s ease;
}
.wpcf7-form input[type="submit"]:hover { background: var(--pd-red-dark); }
.wpcf7 .wpcf7-not-valid-tip {
  color: var(--pd-red);
  font-size: 13px;
  margin-top: 4px;
}
.wpcf7-response-output {
  margin: 18px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: var(--r-md);
  border: 1px solid var(--line) !important;
  font-size: 14px;
}
.wpcf7 form.sent .wpcf7-response-output {
  background: var(--pd-red-soft);
  border-color: var(--pd-red) !important;
  color: var(--pd-red-deep);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
  background: #FFF8E1;
  border-color: var(--accent-yellow) !important;
}
.wpcf7-spinner { display: none; }

/* ============ PAGE HERO ============ */
.page-hero {
  background: var(--paper);
  color: var(--ink);
  padding: 88px 0 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 6px;
  background: var(--pd-red);
}
.page-hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pd-red);
  margin-bottom: 18px;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 0.98;
  margin: 0;
  max-width: 900px;
  text-wrap: balance;
}
.page-hero__sub {
  font-size: 19px;
  color: var(--ink-2);
  max-width: 640px;
  margin: 28px 0 0;
  line-height: 1.55;
}

/* ============ TIMELINE ============ */
.timeline {
  position: relative;
  padding-left: 36px;
  list-style: none;
  margin: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--line);
}
.timeline__item {
  position: relative;
  padding-bottom: 40px;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--pd-red);
}
.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--pd-red);
  margin: 0 0 6px;
}
.timeline__title {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 600;
}
.timeline__desc {
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
  max-width: 620px;
}

/* ============ PEOPLE ============ */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.person { text-align: left; }
.person__photo {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  background: var(--paper-2);
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}
.person__photo img { width: 100%; height: 100%; object-fit: cover; }
.person__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--pd-red);
  font-weight: 600;
  background: linear-gradient(135deg, var(--pd-red-soft) 0%, #FFF5F6 100%);
}
.person__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.person__role {
  font-size: 13px;
  color: var(--pd-red);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.person__bio {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin: 0;
}

/* ============ FILTER CHIPS ============ */
.filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.chip {
  padding: 8px 16px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: all .15s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.chip:hover { border-color: var(--pd-red); color: var(--pd-red); }
.chip--active {
  background: var(--pd-red);
  border-color: var(--pd-red);
  color: white;
}

/* ============ PROGRAMMA ============ */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.program-item {
  padding: 28px;
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--pd-red);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.program-item h4 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 10px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.program-item p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
}
.program-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--pd-red-soft);
  color: var(--pd-red);
  border-radius: var(--r-md);
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 18px;
  font-family: var(--font-display);
}

/* ============ ISCRIZIONE BAR ============ */
.iscrizione-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.iscrizione__claim {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-wrap: balance;
}
.iscrizione__sub {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  line-height: 1.55;
  margin: 0 0 28px;
  max-width: 520px;
}
.iscrizione__buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.quote-card {
  background: white;
  color: var(--ink);
  border-radius: var(--r-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.quote-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 22px;
  font-weight: 600;
}
.quote-table {
  width: 100%;
  border-collapse: collapse;
}
.quote-table th, .quote-table td {
  text-align: left;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}
.quote-table th {
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.quote-table td:last-child {
  text-align: right;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pd-red);
  font-size: 18px;
}
.quote-table tr:last-child td { border-bottom: none; }

/* ============ SINGLE NOTIZIA ============ */
.news-detail-hero {
  position: relative;
  padding: 64px 0 88px;
  color: white;
  overflow: hidden;
  background: var(--pd-red);
}
.news-detail-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
  opacity: .85;
  margin-bottom: 28px;
}
.news-detail-hero__back:hover { opacity: 1; }
.news-detail-hero__tag {
  display: inline-block;
  background: rgba(255,255,255,.18);
  color: white;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.news-detail-hero__title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 18px;
  max-width: 820px;
  text-wrap: balance;
}
.news-detail-hero__meta {
  font-size: 14px;
  opacity: .85;
  letter-spacing: 0.02em;
}
.article-wrap {
  max-width: 860px;
  margin: -60px auto 80px;
  padding: 56px;
  background: white;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}
.article-wrap__excerpt {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -0.01em;
}
.article-wrap p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 22px;
}
.article-wrap blockquote {
  border-left: 4px solid var(--pd-red);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
  font-style: italic;
}
.article-wrap h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 36px 0 14px;
}
.article-wrap h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 28px 0 12px;
}
.article-wrap a {
  color: var(--pd-red);
  border-bottom: 1px solid currentColor;
}
.article-wrap a:hover { color: var(--pd-red-dark); }
.article-wrap ul, .article-wrap ol {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  padding-left: 24px;
  margin: 0 0 22px;
}
.article-wrap img {
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: var(--r-md);
  margin: 24px 0;
  display: block;
}

/* ============ CONTATTI ============ */
.contatti-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.form-card {
  background: white;
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.form-card h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 24px;
}
.info-stack { display: flex; flex-direction: column; gap: 22px; }
.info-card {
  border-radius: var(--r-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.info-card--ink { background: var(--ink); color: white; }
.info-card--ink h3 { color: white; }
.info-card--white { background: white; border: 1px solid var(--line); }
.info-card--gradient {
  background: linear-gradient(135deg, var(--pd-red) 0%, var(--accent-yellow) 100%);
  color: white;
}
.info-card--gradient h3, .info-card--gradient p { color: white; }

.info-card--facebook {
  background: linear-gradient(135deg, #1877F2 0%, #0866FF 100%);
  color: white;
}
.info-card--facebook h3, .info-card--facebook p { color: white; }
.info-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 0 0 18px;
  font-weight: 600;
}
.info-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
}
.info-row:last-child { margin-bottom: 0; }
.info-row__icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(255,255,255,.1);
  border-radius: var(--r-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.info-card--white .info-row__icon { background: var(--pd-red-soft); color: var(--pd-red); }
.info-row__icon svg { width: 18px; height: 18px; }
.info-row strong { display: block; font-weight: 600; margin-bottom: 2px; }

/* Google Maps embed nella pagina contatti */
.map-card { padding: 32px; }
.map-card h2 { margin-bottom: 20px; }
.map-embed {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.map-embed iframe { display: block; width: 100%; }

/* Mappa stilizzata */
.map-stylized {
  width: 100%;
  height: 360px;
  background: var(--paper-2);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  margin-top: 56px;
}
.map-stylized svg { width: 100%; height: 100%; display: block; }
@keyframes pinPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}
.map-stylized__pin { animation: pinPulse 2.4s ease-in-out infinite; transform-origin: center; }

/* ============ 404 / SEARCH ============ */
.empty-state {
  padding: 96px 0;
  text-align: center;
}
.empty-state__title {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--pd-red);
}
.empty-state__sub {
  font-size: 17px;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 auto 28px;
  line-height: 1.55;
}

/* ============ GUTENBERG / ALIGN ============ */
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
figure.wp-caption, figure.wp-block-image { margin: 24px 0; }
figcaption { font-size: 13px; color: var(--ink-3); margin-top: 8px; text-align: center; }

/* ============ UTILITIES ============ */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .slider__title { font-size: 60px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .article-wrap { padding: 44px; }
}

@media (max-width: 900px) {
  .nav, .pdz-nav-wrap, .pdz-header-cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .site-header__main { padding: 14px 20px; }
  .site-header__top-inner { padding: 6px 20px; font-size: 11px; }
  .site-header__top-links { gap: 12px; }
  .container, .container-narrow { padding: 0 20px; }

  .section { padding: 56px 0; }
  .section__title, .cta-bar__text h3, .iscrizione__claim { font-size: 32px; }
  .section__head { margin-bottom: 32px; flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 56px 0 48px; }
  .page-hero__title { font-size: 44px; }
  .page-hero__sub { font-size: 17px; }

  .slider { height: 620px; }
  .slider__content { right: 0; padding: 32px 0; }
  .slider__inner { padding: 0 24px; }
  .slider__title { font-size: 40px; }
  .slider__excerpt { font-size: 15px; }
  .slider__image { left: 0; opacity: .15; }
  .slider__idx { left: 24px; top: 24px; }
  .slider__controls { left: 24px; bottom: 24px; }

  .values-grid, .news-grid, .program-grid { grid-template-columns: 1fr; }
  .people-grid { grid-template-columns: repeat(2, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .iscrizione-grid { grid-template-columns: 1fr; gap: 32px; }
  .contatti-grid { grid-template-columns: 1fr; gap: 28px; }

  .news-detail-hero { padding: 48px 0 72px; }
  .news-detail-hero__title { font-size: 36px; }
  .article-wrap { margin: -40px 20px 56px; padding: 32px 24px; }
  .article-wrap__excerpt { font-size: 19px; }
  .article-wrap p, .article-wrap ul, .article-wrap ol { font-size: 16px; }
  .form-card { padding: 28px 22px; }
  .wpcf7-form .form-row { grid-template-columns: 1fr; }

  .cta-bar { padding: 48px 0; }
  .cta-bar__inner { flex-direction: column; align-items: flex-start; }

  .empty-state__title { font-size: 40px; }
  .map-stylized { height: 260px; margin-top: 32px; }
}

@media (max-width: 480px) {
  .site-header__top-inner { font-size: 10px; flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 16px; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__party { font-size: 17px; }
  .brand__place { font-size: 12px; }
  .container, .container-narrow { padding: 0 16px; }

  .page-hero__title { font-size: 34px; }
  .section__title, .cta-bar__text h3, .iscrizione__claim { font-size: 26px; }
  .slider { height: 560px; }
  .slider__title { font-size: 32px; }
  .slider__idx { display: none; }

  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .people-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }

  .news-detail-hero__title { font-size: 28px; }
  .article-wrap { padding: 24px 18px; }
  .form-card { padding: 22px 18px; }
  .form-card h2 { font-size: 22px; }
}

/* ============================================================
   ADDITIONS — Storia editoriale / Leader card / Council /
   Direttivo intro / Tessera / Section cream / Value-card alt
   ============================================================ */

/* Variant for Zola themes — sfondo paper (deprecato in home, lascio per backwards compat) */
.value-card--alt { background: var(--paper); }

/* Section cream — più caldo del paper */
.section--cream { background: #F5EFE4; }

/* ============ STORIA EDITORIAL ============ */
.storia-editorial { max-width: 760px; margin: 0 auto; }
.storia-editorial .t-eyebrow { margin-bottom: 18px; }
.storia-editorial__title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 40px;
  text-wrap: balance;
}
.storia-editorial__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink);
}
.storia-editorial__body p {
  margin: 0 0 22px;
  text-wrap: pretty;
}
.storia-editorial__body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  float: left;
  line-height: 0.9;
  margin: 6px 10px 0 0;
  color: var(--pd-red);
  letter-spacing: -0.04em;
}
.storia-source-link {
  color: var(--pd-red);
  font-weight: 600;
  font-size: 0.85em;
  vertical-align: super;
  line-height: 0;
  text-decoration: none;
  margin-left: 1px;
}
.storia-source-link:hover { text-decoration: underline; }
.storia-editorial__notes {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-3);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.storia-editorial__note { display: flex; gap: 10px; }
.storia-editorial__note-num { color: var(--pd-red); font-weight: 700; flex-shrink: 0; }
.storia-editorial__note a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
}
.storia-editorial__note a:hover { color: var(--pd-red); text-decoration-color: var(--pd-red); }

/* ============ LEADER CARD ============ */
.leader-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.leader-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--pd-red);
}
.leader-card--alt { background: var(--paper); }
.leader-card__photo {
  aspect-ratio: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, var(--pd-red-soft) 0%, #FFF5F6 100%);
}
.leader-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.leader-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--pd-red);
}
.leader-card__badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: var(--pd-red);
  color: white;
  padding: 6px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.leader-card__badge--alt { background: var(--ink); }
.leader-card__name {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 8px 0 14px;
}
.leader-card__bio {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
  max-width: 56ch;
}

/* ============ COUNCIL GRID ============ */
.council-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}
.council-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px;
  transition: all .15s;
}
.council-card:hover {
  border-color: var(--pd-red);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.council-card__photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--pd-red-soft) 0%, #FFF5F6 100%);
}
.council-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.council-card__photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--pd-red);
  letter-spacing: -0.02em;
}
.council-card__name {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 2px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.council-card__role {
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.3;
}
.council-note {
  font-size: 13px;
  color: var(--ink-3);
  text-align: center;
  margin-top: 24px;
}
.council-note a { color: var(--pd-red); text-decoration: underline; }

/* ============ DIRETTIVO INTRO ============ */
.direttivo-intro {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-2);
}
.direttivo-intro p { margin: 0 0 22px; }
.direttivo-intro .direttivo-names {
  font-size: 17px;
  color: var(--ink);
  padding: 24px 28px;
  background: var(--paper);
  border-left: 3px solid var(--pd-red);
  border-radius: var(--r-sm);
  margin-top: 12px;
}
.direttivo-intro .direttivo-names strong {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ============ TESSERA CARD ============ */
.tessera-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.tessera-card img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.25)) drop-shadow(0 8px 16px rgba(0,0,0,.15));
  transform: rotate(-1.5deg);
  transition: transform .4s ease;
}
.tessera-card:hover img { transform: rotate(0deg) scale(1.02); }
.tessera-card__caption {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-align: center;
  padding-top: 8px;
}

/* ============ ISCRIVITI (chi-siamo, sfondo cream) ============ */
.iscrizione-cream-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.iscrizione-cream__buttons {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .storia-editorial__title { font-size: 34px; }
  .storia-editorial__body { font-size: 16px; }
  .storia-editorial__body p:first-of-type::first-letter { font-size: 52px; }
  .leader-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
  .leader-card__photo { max-width: 220px; }
  .leader-card__name { font-size: 30px; }
  .iscrizione-cream-grid { grid-template-columns: 1fr; gap: 32px; }
  .tessera-card img { transform: none; }
}

/* ============ NEWSLETTER (sfondo cream sotto lo slider) ============ */
.newsletter__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.newsletter__text { padding-right: 16px; }
.newsletter__text .section__title { margin: 12px 0 0; }
.newsletter__sub {
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.6;
  margin: 18px 0 0;
  max-width: 460px;
}
.newsletter__form {
  background: white;
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.newsletter__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.newsletter__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}
.newsletter__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.newsletter__form input[type="text"],
.newsletter__form input[type="email"] {
  border: 1px solid var(--line);
  background: white;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-family: inherit;
  font-size: 15px;
  transition: all .15s ease;
  width: 100%;
  color: var(--ink);
}
.newsletter__form input[type="text"]:focus,
.newsletter__form input[type="email"]:focus {
  outline: none;
  border-color: var(--pd-red);
  box-shadow: 0 0 0 3px rgba(226,0,26,.12);
}
.newsletter__gdpr {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.5;
  margin-bottom: 20px;
  cursor: pointer;
}
.newsletter__gdpr input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--pd-red);
  margin-top: 2px;
  cursor: pointer;
}
.newsletter__gdpr a { color: var(--pd-red); text-decoration: underline; }
.newsletter__submit { width: 100%; justify-content: center; }
.newsletter__legal {
  font-size: 11px;
  color: var(--ink-3);
  margin: 14px 0 0;
  text-align: center;
  line-height: 1.5;
}
.newsletter__legal a { color: var(--ink-2); text-decoration: underline; }
.newsletter__legal a:hover { color: var(--pd-red); }

@media (max-width: 900px) {
  .newsletter__grid { grid-template-columns: 1fr; gap: 28px; }
  .newsletter__row { grid-template-columns: 1fr; }
  .newsletter__form { padding: 24px 20px; }
  .newsletter__text { padding-right: 0; }
}
