/* ==========================================================================
   Silvi Sabina Experience — stile auto-contenuto, scoped in .sce-page
   Non dipende dal tema: definisce i propri token e classi (prefisso sce-),
   così non entra in conflitto con Bootstrap/Cardinal (.btn, .container, .section).
   ========================================================================== */

.sce-page {
  --cream: #f7f5f2;
  --cream-2: #efece6;
  --black: #16150f;
  --ink: #16150f;
  --muted: #6b6a64;
  --line: #dcd8d0;
  --olive: #5c6b3f;
  --olive-dark: #3e4a2b;
  --gold: #a9873f;
  --white: #ffffff;
  --font-body: "Mulish", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-head: "Nunito Sans", var(--font-body);
  --font-logo: "Cinzel", "Times New Roman", serif;
  --radius: 3px;
  --ease: cubic-bezier(.22,.61,.36,1);

  font-family: var(--font-body);
  color: var(--black);
  background: var(--cream);
  font-size: 17px;
  line-height: 1.6;
}
.sce-page *, .sce-page *::before, .sce-page *::after { box-sizing: border-box; }
.sce-page img { max-width: 100%; height: auto; display: block; }
.sce-page h1, .sce-page h2, .sce-page h3, .sce-page h4 {
  font-family: var(--font-head); font-weight: 800; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--black);
}
.sce-page p { margin: 0 0 1em; }
.sce-page a { color: var(--olive); }

.sce-container { width: min(100% - 40px, 1180px); margin-inline: auto; }

.sce-section { padding: clamp(56px, 8vw, 120px) 0; }
.sce-section--tight { padding: clamp(40px, 6vw, 84px) 0; }

.sce-head { max-width: 760px; margin: 0 auto clamp(32px,5vw,60px); text-align: center; }
.sce-head h2 { font-size: clamp(28px, 4vw, 50px); text-transform: uppercase; margin: 0 0 .3em; }
.sce-head p { color: var(--muted); font-size: 18px; margin: 0; }
.sce-head--left { text-align: left; margin-left: 0; margin-right: 0; max-width: none; }

/* Buttons */
.sce-btn {
  display: inline-block; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  letter-spacing: .04em; text-decoration: none;
  padding: 14px 28px; border: 1px solid var(--black); color: var(--black);
  background: transparent; border-radius: var(--radius);
  transition: all .3s var(--ease);
}
.sce-btn:hover { background: var(--black); color: var(--cream); }
.sce-btn--light { border-color: var(--cream); color: var(--cream); }
.sce-btn--light:hover { background: var(--cream); color: var(--black); }
.sce-btn--solid { background: var(--black); color: var(--cream); }
.sce-btn--solid:hover { background: var(--olive-dark); border-color: var(--olive-dark); color: #fff; }

/* Placeholder immagine */
.sce-ph { width: 100%; height: 100%; min-height: 200px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-dark) 100%); position: relative; }
.sce-ph::after { content: "Silvi Sabina"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-logo); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); font-size: 13px; }

/* HERO */
.sce-hero { background: var(--olive-dark); background-size: cover; background-position: center;
  color: var(--cream); text-align: center; padding: clamp(80px,12vw,150px) 0 clamp(70px,9vw,100px); }
.sce-hero__kicker { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .22em; font-size: 13px; font-weight: 800; color: var(--gold); margin: 0 0 14px; }
.sce-hero__title { color: var(--cream); font-size: clamp(36px, 6vw, 72px); text-transform: uppercase; margin: 0 0 18px; }
.sce-hero__sub { max-width: 620px; margin: 0 auto 30px; font-size: clamp(16px,2vw,20px); color: rgba(255,255,255,.88); }

/* INTRO */
.sce-intro__text { max-width: 780px; margin: 0 auto; text-align: center; font-size: 18px; color: var(--muted); }

/* INFO */
.sce-info__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(18px,3vw,38px) clamp(24px,4vw,56px); }
.sce-info__item { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; font-size: 16px; }
.sce-ico { flex: 0 0 auto; width: 40px; height: 40px; color: var(--olive); }
.sce-ico svg { width: 100%; height: 100%; }

/* ESPERIENZE */
.sce-exp__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(22px,2.6vw,34px); }
.sce-exp-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sce-exp-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.sce-exp-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.sce-exp-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sce-exp-card__num { position: absolute; top: 14px; left: 14px; font-family: var(--font-logo); font-size: 15px; letter-spacing: .1em; color: var(--cream); background: rgba(0,0,0,.35); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; }
.sce-exp-card__season { position: absolute; top: 16px; right: 16px; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 10px; background: var(--gold); color: #fff; padding: 6px 10px; border-radius: 100px; }
.sce-exp-card__body { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.sce-exp-card__title { font-size: 22px; margin: 0; line-height: 1.15; }
.sce-exp-card__lead { color: var(--ink); margin: 0; font-size: 15px; }
.sce-exp-card__meta { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.sce-exp-card__meta span { display: block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 11px; color: var(--olive); margin-bottom: 3px; }
.sce-exp-card__meta--plus span { color: var(--gold); }
.sce-exp-card__btn { align-self: flex-start; margin-top: auto; }

/* MAPPA */
.sce-map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.sce-map iframe { display: block; }

/* BOOKING */
.sce-booking { background: var(--cream-2); }
.sce-booking__cal { max-width: 920px; margin: 0 auto; background: var(--white); padding: clamp(16px,3vw,32px); border-radius: var(--radius); border: 1px solid var(--line); }
.sce-notice { border: 1px dashed var(--line); background: var(--cream); padding: 24px; border-radius: var(--radius); color: var(--muted); }
.sce-notice p { margin: 0 0 .5em; }

/* EVENTI */
.sce-events__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(24px,3vw,40px); }
.sce-event-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.sce-event-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,.08); }
.sce-event-card__media { display: block; aspect-ratio: 16/10; overflow: hidden; }
.sce-event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.sce-event-card.is-past .sce-event-card__media img, .sce-event-card.is-past .sce-ph { filter: grayscale(.35) opacity(.9); }
.sce-event-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.sce-event-card__date { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-size: 12px; font-weight: 800; color: var(--gold); margin: 0; }
.sce-event-card__title { font-size: 22px; margin: 0; }
.sce-event-card__title a { color: var(--black); text-decoration: none; }
.sce-event-card__title a:hover { color: var(--olive); }
.sce-event-card__excerpt { color: var(--muted); font-size: 15px; margin: 0; }
.sce-link-more { font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--olive); margin-top: auto; }
.sce-link-more:hover { color: var(--olive-dark); }
.sce-events__cta { text-align: center; margin-top: clamp(32px,5vw,52px); }
.sce-events__pasthead { margin-top: clamp(52px,8vw,90px); }
.sce-empty { text-align: center; color: var(--muted); }

/* CTA */
.sce-cta__box { background: var(--olive); color: var(--cream); text-align: center; padding: clamp(40px,6vw,76px) clamp(24px,5vw,60px); border-radius: var(--radius); }
.sce-cta__box h2 { color: var(--cream); text-transform: uppercase; }
.sce-cta__box p { color: rgba(255,255,255,.9); max-width: 560px; margin: 0 auto 28px; }
.sce-cta__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* SINGLE EVENTO */
.sce-ev-hero { background: var(--cream-2); border-bottom: 1px solid var(--line); text-align: center; padding: clamp(60px,9vw,110px) 0 clamp(28px,4vw,44px); }
.sce-ev-hero h1 { font-size: clamp(32px,5vw,60px); text-transform: uppercase; margin: 10px 0 .2em; }
.sce-ev-hero__date { font-family: var(--font-head); font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin: 0; }
.sce-badge { display: inline-block; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; padding: 6px 12px; border-radius: 100px; background: var(--olive); color: var(--cream); }
.sce-badge.is-past { background: var(--muted); }
.sce-ev__grid { display: grid; grid-template-columns: 2fr 1fr; gap: clamp(32px,5vw,64px); align-items: start; }
.sce-ev__media { margin-bottom: 26px; border-radius: var(--radius); overflow: hidden; }
.sce-ev__content { font-size: 17px; }
.sce-ev__booking { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.sce-ev__box { background: var(--cream-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.sce-ev__box h4 { text-transform: uppercase; letter-spacing: .1em; font-size: 13px; margin-bottom: 16px; }
.sce-ev__meta { list-style: none; margin: 0 0 20px; padding: 0; }
.sce-ev__meta li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.sce-ev__meta li:last-child { border-bottom: 0; }
.sce-ev__meta span { color: var(--muted); }
.sce-ev__cta { width: 100%; text-align: center; }

/* RESPONSIVE */
@media (max-width: 1040px) { .sce-exp__grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) {
  .sce-info__grid { grid-template-columns: repeat(2,1fr); }
  .sce-events__grid { grid-template-columns: 1fr 1fr; }
  .sce-ev__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .sce-info__grid { grid-template-columns: 1fr; }
  .sce-events__grid, .sce-exp__grid { grid-template-columns: 1fr; }
  .sce-cta__actions { flex-direction: column; }
}
