/* ==========================================================================
   Il Tempio della Luce – pagina EVENTI (carica dopo base.css)
   ========================================================================== */

.page-eventi em { font-style: italic; }

/* ---------- Intestazione ---------- */

.ev-hero { padding: 40px 24px 56px; text-align: center; background: #fefefc; }

.ev-title {
  font-family: var(--script);
  font-weight: 400;
  font-size: clamp(2.6rem, 6.2vw, 4.95rem);
  line-height: 1.15;
  color: var(--brown);
}

.ev-subtitle { margin-top: 30px; font-size: clamp(1.4rem, 2.8vw, 2.25rem); line-height: 1.2; color: #b97c6a; }

.ev-lead { max-width: 700px; margin: 36px auto 0; font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.5; color: var(--taupe); }

.ev-update {
  max-width: 660px;
  margin: 56px auto 0;
  padding: 36px 40px 40px;
  border-radius: 20px;
  background: #fcebe6;
  font-family: var(--sans-mont);
  color: var(--taupe);
}
.ev-update img { width: 54px; height: 54px; margin: 0 auto 26px; }
.ev-update h2 { font-weight: 400; font-size: 1.06rem; margin-bottom: 20px; }
.ev-update p { font-size: .875rem; line-height: 1.5; max-width: 520px; margin: 0 auto; }

.ev-update-btn {
  display: inline-block;
  margin-top: 30px;
  padding: 7px 24px;
  border-radius: 20px;
  background: #8a6a67;
  color: #fff;
  font-family: var(--sans-mont);
  font-size: .8rem;
  transition: background-color .25s ease;
}
.ev-update-btn:hover { background: var(--brown); }

.ev-heartquote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  font-family: var(--script);
  font-size: clamp(1.25rem, 2.3vw, 1.75rem);
  line-height: 1.35;
  color: var(--brown);
  text-align: left;
}
.ev-heartquote img { flex: 0 0 auto; width: 46px; height: auto; }

/* ---------- Blocchi colorati ---------- */

.ev-block { padding: 72px 24px; background: var(--bg); }

.ev--seminari   { --bg: #fbf5ea; --acc: #dd5966; --bd: #d9d3c3; --tag: #fbe0e3; --bar: #fbe1e4; --hl: #b97c6a; --hl2: #dd5966; }
.ev--solstizi   { --bg: #fbf5ea; --acc: #6b8717; --bd: #6b8717; --tag: #bfe3bf; --bar: #c4e6c4; --hl: #1c9d7d; }
.ev--fuoco      { --bg: #fff; --acc: #d23d29; --bd: #f2a58c; --tag: #f6a97e; --bar: #fac9a7; }
.ev--tempio     { --bg: #fff; --acc: #851711; --bd: #851711; --tag: #f69a9a; --bar: #f9d5c8; }
.ev--pleniluni { --bg: #f8f1f4; border-top: 1px solid var(--line-soft); }
.ev-moon--pasqua     { --acc: #2a82c5; --bd: #b9b2d9; --sub: #9991c5; --om: #8e87c8; }
.ev-moon--wesak      { --acc: #b97c6a; --bd: #e9d6a8; --sub: #ef7e4e; --om: #ef7e4e; }
.ev-moon--invocazione{ --acc: #f6a352; --bd: #e9c27c; --sub: #ff9f43; --om: #f6a352; }

.ev-card {
  display: grid;
  grid-template-columns: 400px minmax(0, 1fr);
  max-width: 1160px;
  margin: 0 auto;
  border: 2px solid var(--bd);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 14px rgba(71, 44, 33, .22);
}

.ev-card-img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

.ev-card-body { padding: 36px 48px 36px 44px; display: flex; flex-direction: column; }

.ev-when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-family: var(--sans-ui); font-size: 1.05rem; text-transform: uppercase; color: var(--brown-dark); }
.ev--fuoco .ev-when, .ev--tempio .ev-when { font-family: var(--sans-mont); font-size: 1rem; }

.ev-tag { padding: 3px 12px; border-radius: 8px; background: var(--tag); }

.ev-card-title {
  margin-top: 22px;
  font-weight: 400;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  line-height: 1.15;
  color: var(--acc);
}

.ev-sub { margin-top: 20px; font-family: var(--sans-mont); font-size: 1.15rem; line-height: 1.2; text-transform: uppercase; color: var(--brown); }

.ev-card-text { margin-top: 28px; }
.ev-card-text p { font-size: 1.6875rem; line-height: 1.22; color: var(--taupe); }
.ev-card-text p + p { margin-top: 1.2em; }
.ev-card-text strong { font-weight: 600; font-style: italic; }
.ev--solstizi .ev-card-text strong { font-style: normal; font-weight: 700; color: var(--hl); }
.ev--seminari .hl { color: var(--hl); font-weight: 600; font-style: italic; }
.ev--seminari .hl2 { color: var(--hl2); font-weight: 500; }

.ev-list { margin-top: 28px; font-family: var(--serif); font-size: 1.4rem; line-height: 1.5; color: #d23e29; display: grid; gap: 14px; }

.ev-fee {
  margin-top: auto;
  padding: 10px 18px;
  border-radius: 10px;
  background: var(--bar);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 20px;
  font-family: var(--sans-ui);
  font-size: 1.1rem;
  color: var(--taupe);
}
.ev--fuoco .ev-fee, .ev--tempio .ev-fee { color: var(--brown-dark); }
.ev-card-text + .ev-fee, .ev-list + .ev-fee { margin-top: 36px; }
@media (min-width: 861px) { .ev-card-body .ev-fee { margin-top: auto; } .ev-card-text, .ev-list { margin-bottom: 36px; } }

.ev-fee-label { display: inline-flex; align-items: center; gap: 10px; text-transform: uppercase; }
.ev-fee-label i { display: inline-block; flex: 0 0 auto; width: 28px; height: 24px; background: center / contain no-repeat; }
.ev--seminari .ev-fee-label i { background-image: url(../svg/mano-cuore-cf7a76.svg); }
.ev--solstizi .ev-fee-label i { background-image: url(../svg/mano-cuore-6b8717.svg); }
.ev--fuoco .ev-fee-label i { background-image: url(../svg/mano-cuore-d23d29.svg); }
.ev--tempio .ev-fee-label i { background-image: url(../svg/mano-cuore-851711.svg); }

/* ---------- Ritiri di meditazione + titoli sezione ---------- */

.ev-retreats { padding: 0 24px 80px; text-align: center; }
.ev-retreats .vline { height: 40px; }

.ev-h2 {
  font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--taupe);
}
.ev-retreats .ev-h2 { margin-top: 34px; }

.ev-quote { max-width: 1100px; margin: 44px auto 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.3; color: var(--brown); }
.ev-quote p + p { margin-top: 1.4em; }
.ev-quote .ev-quote-author { margin-top: 2em; }

/* ---------- Pleniluni (un solo contenitore) ---------- */

.ev--pleniluni { padding-top: 0; padding-bottom: 80px; text-align: center; }
.ev--pleniluni .vline { height: 56px; }
.ev--pleniluni .ev-h2 { margin: 34px 0 56px; color: #c586d1; font-weight: 600; }
.ev-moon + .ev-moon { margin-top: 56px; }

.ev-moon {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  max-width: 1160px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--bd);
  box-shadow: 0 3px 12px rgba(71, 44, 33, .18);
  text-align: center;
  scroll-margin-top: 20px;
}

.ev-moon-text { padding: 44px 48px; color: var(--taupe); align-self: center; }
.ev-moon-text p { font-size: 1.125rem; line-height: 1.28; }
.ev-moon-text p + p { margin-top: 1.4em; }

.ev-moon-title { font-family: var(--script); font-weight: 400; font-size: clamp(2.4rem, 4vw, 3.15rem); line-height: 1.1; color: var(--acc); }
.ev-moon-sub { margin: 10px 0 26px !important; font-weight: 600; font-size: 1.62rem !important; text-transform: uppercase; color: var(--sub); }
.ev-moon-text strong { font-weight: 700; }
.ev-moon--pasqua .hl { color: #2a82c5; }
.ev-moon--pasqua .hl--q { font-weight: 600; font-style: italic; }
.ev-moon--pasqua .ev-moon-text .hl { font-weight: 400; }
.ev-moon--pasqua .hl--q { font-weight: 600; }

.ev-moon--wesak .ev-moon-text p { font-size: 1.375rem; line-height: 1.3; }
.ev-moon--wesak .ev-moon-sub { font-weight: 400; }
.ev-moon--wesak .ev-moon-title { font-size: clamp(3rem, 5.2vw, 4.55rem); }
.ev-moon--wesak .ev-moon-intro { font-size: 1.625rem !important; }

.ev-moon--invocazione .ev-moon-title { font-size: clamp(2.6rem, 4.4vw, 3.4rem); }
.ev-moon--invocazione .ev-moon-sub { font-weight: 400; margin-bottom: 8px !important; }
.ev-moon-feast { font-weight: 600; font-style: italic; font-size: 1rem !important; color: #b97c6a; margin-bottom: 1.2em !important; }
.ev-moon--invocazione .ev-moon-text p { font-size: 1rem; line-height: 1.25; }
.ev-day { color: var(--brown-dark); }

.ev-moon-photo { position: relative; min-height: 340px; }
.ev-moon-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.ev-om {
  position: absolute;
  top: 26px;
  left: -34px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--om) url(../svg/om-bianco.svg) center / 44px no-repeat;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .25);
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .ev-block { padding: 40px 16px; }
  .ev-card { grid-template-columns: 1fr; }
  .ev-card-img { height: 280px; min-height: 0; }
  .ev-card-body { padding: 28px 24px; }
  .ev-card-text p { font-size: 1.3rem; }
  .ev-list { font-size: 1rem; }
  .ev-moon { grid-template-columns: 1fr; }
  .ev-moon-photo { order: -1; min-height: 260px; }
  .ev-moon-text { padding: 36px 24px; }
  .ev-om { left: 50%; top: auto; bottom: -34px; transform: translateX(-50%); z-index: 2; }
  .ev-moon-text { padding-top: 56px; }
  .ev-moon-photo { margin-bottom: 0; }
  .ev-fee { font-size: 1rem; }
  .ev--pleniluni { padding-bottom: 40px; }
  .ev-moon + .ev-moon { margin-top: 36px; }
}
.ev-moon--wesak .ev-moon-photo img { object-position: center 70%; }
