/* Little Book Club — tema dal logo: lime #c9e167, bianco, nero */
:root {
  --brand: #c9e167;
  --brand-soft: #dce9a8;
  --leaf: #1f3310;
  --ink: #0d0d0d;
  --paper: #ffffff;
  --bg: #fafcf8;
  --bg-alt: #eef4d8;
  --muted: #2e2e2c;
  --muted-soft: #4a4a44;
  --line: rgba(31, 51, 16, 0.2);
  --line-strong: #000000;
  --shadow: rgba(31, 51, 16, 0.14);
  --accent-coral: #c45050;
  --accent-sun: #c9e167;
  --accent-sky: #7a9e88;
  --newsletter-gold: #aabf3a;
  --newsletter-gold-hover: #97aa32;
  --newsletter-page-bg: #eef3e0;
  /* Ritaglio iframe Instagram: nasconde barra profilo + didascalia (regola se taglia troppo) */
  --ig-crop-shift: 54px;
  --ig-crop-height-card: 448px;
  --ig-crop-height-gallery: 468px;
  --ig-embed-inner-height: 980px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

h1,
h2,
h3 {
  font-family: "Patrick Hand", "Source Sans 3", cursive;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 720px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 252, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--line);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1.25rem;
}

.brand .logo-img {
  display: block;
  height: auto;
  width: auto;
  max-height: 76px;
  max-width: 76px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 2px 14px var(--shadow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.nav a {
  color: var(--leaf);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero-mosaic {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.hero-mosaic__row {
  display: flex;
  flex: 1;
  min-height: 0;
}

.hero-mosaic__row img {
  flex: 1;
  width: 0;
  min-height: 120px;
  object-fit: cover;
  display: block;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(250, 252, 248, 0.7) 0%,
    rgba(250, 252, 248, 0.82) 38%,
    rgba(250, 252, 248, 0.9) 100%
  );
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 100% 80% at 0% 0%, rgba(201, 225, 103, 0.45), transparent 58%),
    radial-gradient(ellipse 75% 55% at 100% 25%, rgba(201, 225, 103, 0.14), transparent 50%),
    radial-gradient(ellipse 55% 45% at 85% 92%, rgba(31, 51, 16, 0.06), transparent 52%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 55%),
    url("/images/hero-pattern.svg") center / cover no-repeat;
  opacity: 0.36;
  pointer-events: none;
}

.hero-split {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: 2rem 3rem;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.hero-logo-col {
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: min(300px, 78vw);
  height: auto;
  border-radius: 50%;
  box-shadow:
    0 10px 36px rgba(31, 51, 16, 0.2),
    0 0 0 2px rgba(0, 0, 0, 0.07);
  background: transparent;
}

.hero-copy {
  text-align: left;
}

.hero--landing {
  padding: 3rem 0 4.5rem;
}

.hero-content,
.hero-inner {
  position: relative;
  max-width: 720px;
}

.tagline {
  font-family: "Patrick Hand", cursive;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  color: var(--leaf);
  margin: 0 0 1rem;
  line-height: 1.3;
}

.tagline-emoji {
  letter-spacing: 0.08em;
}

.hero--landing .eyebrow {
  margin-bottom: 0.35rem;
}

.hero--landing h1 {
  margin-bottom: 1.25rem;
}

.lead--hero {
  max-width: 36rem;
  margin-left: 0;
  margin-right: auto;
}

.lead--hero a {
  color: var(--leaf);
  font-weight: 600;
}

.hero-copy .hero-actions {
  justify-content: flex-start;
}

.wave-divider {
  height: 48px;
  margin-top: -1px;
  background: linear-gradient(
    to bottom,
    rgba(187, 214, 123, 0.25),
    transparent
  );
  border-bottom: 1px solid var(--line);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--leaf);
  margin: 0 0 0.5rem;
  font-family: "Source Sans 3", sans-serif;
  font-weight: 600;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.6rem);
  margin: 0 0 1rem;
  color: var(--ink);
}

.lead {
  margin: 0 0 1.5rem;
  color: var(--muted-soft);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  background: var(--leaf);
  color: var(--paper);
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.btn.primary:hover {
  background: #2a4516;
  filter: none;
}

.btn.ghost {
  border-color: var(--line-strong);
  color: var(--ink);
  background: var(--paper);
}

.btn.large {
  padding: 0.9rem 1.65rem;
  font-size: 1.05rem;
}

.section {
  padding: 3.25rem 0;
}

.section--intro {
  padding-top: 2.5rem;
}

.section--intro h2 {
  text-align: center;
}

.section--chi-sono h2 {
  text-align: left;
  margin-top: 0;
}

.chi-sono-wrap {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(0, 1fr);
  gap: 2.5rem 3rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.chi-sono-photo {
  margin: 0;
}

.chi-sono-photo img {
  width: 100%;
  height: auto;
  vertical-align: middle;
  border-radius: 14px;
  box-shadow:
    0 12px 40px var(--shadow),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.chi-sono-text p:last-child {
  margin-bottom: 0;
}

.intro-text {
  font-size: 1.12rem;
  color: var(--muted);
}

.email-link {
  color: var(--leaf);
  font-weight: 700;
  word-break: break-word;
}

.section--events .section-head {
  margin-bottom: 2.25rem;
}

.events-subhead {
  font-family: "Patrick Hand", cursive;
  font-size: 1.85rem;
  color: var(--leaf);
  margin: 2rem 0 1rem;
  text-align: center;
}

.events-subhead:first-of-type {
  margin-top: 0.5rem;
}

.events-subhead--past {
  margin-top: 2.75rem;
  color: var(--muted-soft);
}

.sub--past {
  margin: -0.5rem auto 1.25rem;
  font-size: 0.92rem;
}

.sub--upcoming {
  margin: -0.35rem auto 1.25rem;
  font-size: 0.92rem;
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  margin-bottom: 2rem;
  text-align: center;
}

.section-head h2 {
  font-size: 2.35rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.sub {
  margin: 0 auto;
  max-width: 560px;
  color: var(--muted-soft);
}

.event-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--paper);
  border: 2px solid var(--line-strong);
  border-radius: 18px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 8px 0 rgba(31, 51, 16, 0.12);
}

.event-card--highlight {
  border-color: var(--leaf);
  background: linear-gradient(145deg, #fafcf8 0%, #e8f0d4 100%);
  box-shadow:
    4px 4px 0 rgba(31, 51, 16, 0.1),
    inset 0 0 0 1px rgba(192, 224, 120, 0.35);
}

.event-card--highlight .event-date {
  color: var(--ink);
  background: rgba(192, 224, 120, 0.45);
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  width: fit-content;
}

/* Anteprima Instagram: iframe /embed/ ritagliato (solo zona media) */
.event-embed-wrap {
  width: 100%;
  margin: 0.35rem 0 0.25rem;
}

.ig-crop {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  background: #ececec;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.ig-crop--card {
  height: var(--ig-crop-height-card);
}

.ig-crop--gallery {
  height: var(--ig-crop-height-gallery);
}

.ig-crop__frame {
  position: absolute;
  left: 50%;
  top: calc(-1 * var(--ig-crop-shift));
  transform: translateX(-50%);
  width: min(540px, 100%);
  height: var(--ig-embed-inner-height);
  border: 0;
  max-width: none;
}

.ig-crop-fallback {
  display: block;
  margin-top: 0.65rem;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--leaf);
}

.event-date {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--leaf);
  font-weight: 700;
  font-family: "Source Sans 3", sans-serif;
}

.event-title {
  font-size: 1.45rem;
  margin: 0;
  color: var(--ink);
}

.muted-title {
  color: var(--muted);
  font-weight: 500;
}

.event-meta,
.event-lettura {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted-soft);
}

.event-meta--collab {
  font-weight: 600;
  color: var(--leaf);
}

.event-meta--ora {
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.event-ig {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--leaf);
}

.empty-box {
  background: var(--paper);
  border: 2px dashed var(--leaf);
  padding: 1.5rem;
  border-radius: 18px;
  color: var(--muted-soft);
}

.cta-box {
  text-align: center;
}

.cta-box p {
  color: var(--muted-soft);
  margin-bottom: 1.5rem;
}

.muted {
  color: var(--muted-soft);
  font-size: 0.95rem;
}

.section--newsletter {
  padding: 3.5rem 0;
  background: var(--newsletter-page-bg);
}

.newsletter-wrap {
  max-width: 560px;
  margin: 0 auto;
}

.newsletter-card {
  text-align: center;
  background: var(--paper);
  border-radius: 16px;
  padding: 2.35rem 2rem 2.5rem;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.04);
}

.newsletter-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.15rem;
  border-radius: 50%;
  background: var(--newsletter-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.newsletter-card__envelope {
  display: block;
}

.newsletter-card__title {
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 1.85rem);
  margin: 0 0 1rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.newsletter-card__text {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

.newsletter-flash {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-size: 0.98rem;
  line-height: 1.45;
}

.newsletter-flash--ok {
  background: rgba(197, 232, 109, 0.35);
  color: var(--leaf);
  font-weight: 600;
}

.newsletter-flash--err {
  background: rgba(233, 84, 84, 0.12);
  color: #8b1a1a;
  font-weight: 600;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: stretch;
}

.newsletter-input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 0.8rem 1rem;
  border: 1px solid #c8c8c4;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
}

.newsletter-input::placeholder {
  color: #888;
}

.newsletter-input:focus {
  outline: 2px solid var(--leaf);
  outline-offset: 1px;
  border-color: var(--leaf);
}

.newsletter-submit {
  flex: 0 0 auto;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  background: var(--newsletter-gold);
  color: var(--ink);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.12);
  transition: background 0.15s ease, transform 0.1s ease;
}

.newsletter-submit:hover {
  background: var(--newsletter-gold-hover);
}

.newsletter-submit:active {
  transform: translateY(1px);
}

.newsletter-divider {
  border: none;
  border-top: 1px solid #d8d6d0;
  margin: 1.85rem 0 1.35rem;
}

.newsletter-social-label {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  color: var(--muted-soft);
}

.newsletter-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-size: 1rem;
}

.newsletter-ig-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.newsletter-ig-icon {
  flex-shrink: 0;
}

.section--contact {
  padding-bottom: 3.5rem;
}

.contact-panel {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--paper);
  border: 2px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 12px 40px var(--shadow);
}

.contact-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 2.1rem;
}

.contact-lead {
  margin: 0 0 0.75rem;
  color: var(--muted-soft);
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Email solo testo (nessun mailto) per limitare raccolta automatica */
.email-plain {
  font-weight: 700;
  color: var(--leaf);
  word-break: break-word;
  cursor: text;
  user-select: all;
}

.email-plain--block {
  display: block;
  margin-top: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-alt);
  border-radius: 10px;
  border: 1px dashed var(--line);
  font-size: 1.02rem;
}

.contact-hint {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted-soft);
}

.site-footer {
  background: var(--leaf);
  color: #e8f0d4;
  padding: 3rem 0 0;
  margin-top: 0;
  border-top: 3px solid var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem 2.5rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

.footer-brand {
  font-family: "Patrick Hand", cursive;
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  display: block;
  margin-bottom: 0.35rem;
}

.footer-tagline {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  opacity: 0.95;
}

.footer-heading {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 0.75rem;
  font-weight: 700;
  opacity: 0.85;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
}

.footer-list a,
.footer-col > p a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.footer-list a:hover,
.footer-col > p a:hover {
  text-decoration: underline;
}

.footer-email {
  margin: 0 0 0.75rem;
  word-break: break-word;
  font-size: 0.95rem;
}

.footer-email .email-plain {
  color: #fff;
  font-weight: 600;
  cursor: text;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0 1.5rem;
  text-align: center;
}

.small {
  font-size: 0.9rem;
  margin: 0.25rem 0 0;
  opacity: 0.92;
}

.copyright {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

/* Post Instagram incorporati (embed ufficiali) */
.ig-feed-section {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
  border-top: 2px solid var(--line);
  background: var(--bg);
}

.ig-embed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 326px), 1fr));
  gap: 1.75rem;
  justify-items: center;
  align-items: start;
  margin-top: 0.5rem;
}

.ig-embed-cell {
  width: 100%;
  max-width: 540px;
}

.ig-embed-cell[hidden] {
  display: none !important;
}

.ig-carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.ig-carousel-btn {
  appearance: none;
  border: 2px solid var(--line);
  background: var(--card, #fffef9);
  color: var(--ink, #1a1a1a);
  font: inherit;
  font-size: 1.25rem;
  line-height: 1;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  cursor: pointer;
}

.ig-carousel-btn:hover:not(:disabled) {
  border-color: var(--accent, #2b4a1a);
}

.ig-carousel-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ig-carousel-status {
  margin: 0;
  min-width: 8rem;
  text-align: center;
  font-size: 0.95rem;
  color: var(--muted, #555);
}

.ig-empty code {
  font-size: 0.88em;
  word-break: break-word;
}

.ig-cta-footer {
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

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

  .footer-col:first-child {
    grid-column: 1 / -1;
    text-align: center;
  }

  .hero-split {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.75rem;
  }

  .hero-copy {
    text-align: center;
  }

  .lead--hero {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy .hero-actions {
    justify-content: center;
  }

  .hero-logo {
    width: min(260px, 76vw);
  }

  .chi-sono-wrap {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .section--chi-sono h2 {
    text-align: center;
  }

  .chi-sono-photo {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-mosaic__row img {
    min-height: 128px;
  }
}

@media (max-width: 640px) {
  .hero.hero--landing {
    min-height: min(52vh, 440px);
  }

  .hero-mosaic__row img {
    min-height: 148px;
  }

  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(255, 254, 249, 0.58) 0%,
      rgba(255, 254, 249, 0.74) 42%,
      rgba(255, 254, 249, 0.82) 100%
    );
  }

  .hero-bg {
    opacity: 0.42;
  }

  .header-inner {
    justify-content: center;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-list {
    padding: 0;
  }

  .newsletter-card {
    padding: 1.85rem 1.35rem 2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-submit {
    width: 100%;
  }
}

.event-iscrizione-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-start;
}

.event-iscrizione-btn {
  text-align: center;
}

.event-iscrizione-cap {
  font-size: 0.82rem;
  color: var(--muted-soft);
  max-width: 100%;
}

body.iscrizione-page {
  background: var(--bg);
  margin: 0;
  min-height: 100vh;
}

.iscrizione-shell {
  max-width: 520px;
  margin: 0 auto;
  padding: 1.25rem 1.1rem 2.5rem;
}

.iscrizione-back {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--leaf);
  font-weight: 600;
  text-decoration: none;
}

.iscrizione-back:hover {
  text-decoration: underline;
}

.iscrizione-h1 {
  font-family: "Patrick Hand", cursive;
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.iscrizione-meta {
  margin: 0 0 0.35rem;
  color: var(--muted);
  font-size: 1rem;
}

.iscrizione-meta--sub {
  font-weight: 600;
  color: var(--ink);
}

.iscrizione-capienza {
  margin: 0.75rem 0 1rem;
  padding: 0.65rem 0.85rem;
  background: var(--bg-alt);
  border-radius: 10px;
  font-size: 0.95rem;
  border: 1px dashed var(--line);
}

.iscrizione-flash {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.iscrizione-flash--ok {
  background: rgba(197, 232, 109, 0.35);
  color: var(--leaf);
}

.iscrizione-flash--err {
  background: rgba(233, 84, 84, 0.12);
  color: #8b1a1a;
}

.iscrizione-flash--info {
  background: rgba(31, 51, 16, 0.06);
  color: var(--muted);
  border: 1px solid var(--line);
}

.iscrizione-flash--coda {
  background: rgba(232, 190, 120, 0.28);
  color: var(--ink);
  border: 1px solid rgba(139, 90, 21, 0.35);
}

.iscrizione-form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.iscrizione-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.iscrizione-label {
  font-weight: 600;
  font-size: 0.92rem;
  margin-top: 0.5rem;
  color: var(--ink);
}

.iscrizione-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1.1rem;
  border: 2px solid var(--line-strong);
  border-radius: 12px;
  font-family: inherit;
  margin-bottom: 0.25rem;
}

.iscrizione-input:focus {
  outline: 2px solid var(--leaf);
  outline-offset: 1px;
}

.iscrizione-submit {
  margin-top: 1rem;
  padding: 0.95rem 1.25rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 999px;
  background: var(--leaf);
  color: var(--paper);
  cursor: pointer;
  box-shadow: 0 4px 0 rgba(0, 0, 0, 0.12);
}

.iscrizione-submit:active {
  transform: translateY(1px);
}

.iscrizione-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--muted-soft);
  line-height: 1.5;
}

.iscrizione-note code {
  font-size: 0.8em;
  word-break: break-all;
}
