/* ================================
   HOMEPAGE
   ================================ */

/* =========================
   HOME — HERO SLIDER
========================= */

.hero-slider {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #111;
}

.hero-slide {
  position: absolute;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background-size: cover;
  background-position: center;

  opacity: 0;
  visibility: hidden;

  transform: scale(1.04);

  transition:
    opacity 1.2s ease,
    visibility 1.2s ease,
    transform 6.8s ease;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      rgba(0,0,0,.42),
      rgba(0,0,0,.42)
    );

  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;

  width: min(920px, calc(100% - 48px));
  margin: 0 auto;

  text-align: center;
  color: #fff;
}

.hero-eyebrow {
  display: inline-block;

  margin-bottom: 22px;

  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;

  color: rgba(255,255,255,.82);
}

.hero h1 {
  font-family: 'Playfair Display', serif;

  font-size: clamp(48px, 5vw, 78px);
  line-height: .98;

  margin: 0 0 24px;

  color: #fff;
}

.hero-sub {
  font-size: 20px;
  line-height: 1.75;

  color: rgba(255,255,255,.9);

  max-width: 760px;
  margin: 0 auto 42px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-slide .hero-eyebrow,
.hero-slide h1,
.hero-slide .hero-sub,
.hero-slide .hero-cta {
  transform: translateY(10px);
  opacity: 0;

  transition:
    transform .9s ease,
    opacity .9s ease;
}

.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active h1,
.hero-slide.is-active .hero-sub,
.hero-slide.is-active .hero-cta {
  transform: translateY(0);
  opacity: 1;
}

.hero-slide.is-active h1 {
  transition-delay: .08s;
}

.hero-slide.is-active .hero-sub {
  transition-delay: .16s;
}

.hero-slide.is-active .hero-cta {
  transition-delay: .24s;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 210px;
  height: 56px;

  padding: 0 28px;

  background: #8a010c;
  color: #fff;

  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;

  border-radius: 4px;

  text-decoration: none;

  transition:
    background .25s ease,
    transform .25s ease;
}

.btn-primary:hover {
  background: #6a0109;
  transform: translateY(-2px);
}

.btn-outline-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 210px;
  height: 56px;

  padding: 0 28px;

  border: 1px solid rgba(255,255,255,.52);

  color: #fff;

  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;

  border-radius: 4px;

  text-decoration: none;

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.btn-outline-hero:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.78);

  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .hero-slider {
    min-height: 680px;
  }

  .hero h1 {
    line-height: 1.02;
  }

  .hero-sub {
    font-size: 17px;
  }

}

/* HERO FULL WIDTH */

.hero-slider {
  width: 100vw;
  max-width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}

/* ESPERIENZE GRID */
.esperienze-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.exp-card {
  text-decoration: none;
  color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}

.exp-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.exp-card-img img,
.exp-card-placeholder {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
  background: #f0ece8;
}

.exp-card-body {
  padding: 14px;
background-color: #fff !important;
}

.exp-card-body .tag-tipologia {
  display: inline-block;
  background: #8a010c;
  color: #fff;
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.exp-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 6px;
  line-height: 1.3;
}

.exp-card-body .localita {
  font-size: 0.85rem;
  color: #888;
  font-family: 'Inter', sans-serif;
}

/* ITINERARI GRID */
.itinerari-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.itin-card {
  text-decoration: none;
  color: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
  background: #fff;
  transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}

.itin-card--grande {
  border: 2px solid #c8a96e !important;
  border-top-width: 3px !important;
}

.itin-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

.itin-card-img img,
.itin-card-placeholder {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
  background: #f0ece8;
}

.itin-card-body {
  padding: 20px;
}

.itin-card-body .tag-durata {
  display: inline-block;
  background: #8a010c;
  color: #fff;
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.itin-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
  line-height: 1.3;
}

.itin-intro {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

/* ARTICOLI GRID */
.articoli-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.articolo-card {
  text-decoration: none;
  color: #1a1a1a;
  display: block;
  transition: opacity 0.2s;
}

.articolo-card:hover {
  opacity: 0.8;
}

.articolo-card-img img,
.articolo-placeholder {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  margin-bottom: 14px;
  background: #f0ece8;
}

.articolo-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

.articolo-excerpt {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.6;
}

/* CHI SIAMO */
.sezione-about {
  background: #1a1a1a;
  padding: 100px 20px;
  text-align: center;
}

.about-content {
  max-width: 640px;
  margin: 0 auto;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #fff;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}

.sezione-about .btn-secondary {
  border-color: rgba(255,255,255,0.4);
}

/* RESPONSIVE */
/* Label separatrice grandi rotte / itinerari */
.hp-section-label {
  margin: 0 0 20px;
    font-family: cormorant garamond;
    font-size: 30px;
    font-style: italic;
    font-weight: 700;
}

.hp-section-label--brevi {
  margin-top: 40px;
}

/* Griglia 2 colonne grandi rotte homepage */
.itinerari-grid--hp-grandi {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 0;
}

/* Immagine più alta nelle card grandi rotte */
.itin-card--grande .itin-card-img img,
.itin-card--grande .itin-card-placeholder {
  height: 280px;
}


@media (max-width: 900px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .esperienze-grid,
  .articoli-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .itinerari-grid {
    grid-template-columns: 1fr;
  }

  .itinerari-grid--hp-grandi {
  grid-template-columns: 1fr;
}

.itin-card--grande .itin-card-img img {
  height: 220px;
}
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 80px 20px;
  }

  .esperienze-grid,
  .articoli-grid {
    grid-template-columns: 1fr;
  }

  .sezione-header {
    flex-direction: column;
    gap: 8px;
  }
}


/* INTRO EDITORIALE */
.intro-editoriale {
  width: min(720px, calc(100% - 48px));
  margin: 64px auto 0;
  text-align: center;
}

/* =========================
   HOME — SEZIONI BASE
========================= */


.intro-editoriale p {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.75;
  color: #4a4540;
  margin: 0;
}

.sezione-storie,
.sezione-itinerari,
.sezione-esperienze {
  background: #fbf8f3;
  padding: 60px 0;
}

.sezione-inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.sezione-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 38px;
}

.sezione-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 2.4vw, 48px);
  line-height: 1.08;
  margin: 0;
  color: #1f2933;
}

.vedi-tutti {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #a30d18;
  text-decoration: none;
  white-space: nowrap;
}

/* =========================
   HOME — STORIE
========================= */

.storie-grid-uniform {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.storia-card {
  display: block;
  text-decoration: none;
  color: #1f2933;
}

.storia-card-img {
  height: 230px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 22px;
  background: #e9e4dc;
}

.storia-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.storia-card:hover .storia-card-img img {
  transform: scale(1.035);
}

.storia-card-body {
  padding: 0;
}

.storia-cat {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  color: #a30d18;
  margin-bottom: 14px;
}

.storia-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  line-height: 1.22;
  margin: 0 0 10px;
  color: #1f2933;
}

.storia-card-featured .storia-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 3vw, 60px) !important;
  line-height: 0.98;
  letter-spacing: -0.035em;
  max-width: 760px;
  margin: 0 0 14px;
  color: #fff !important;
}

.storia-meta {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #8a8f98;
  margin: 0;
}

@media (max-width: 900px) {
  .storie-grid-uniform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .sezione-storie,
  .sezione-itinerari,
  .sezione-esperienze {
    padding: 72px 0;
  }

  .sezione-header {
    display: block;
  }

  .sezione-header h2 {
    margin-bottom: 18px;
  }

  .storie-grid-uniform {
    grid-template-columns: 1fr;
  }
}

/* HOME — STORIE FEATURED LAYOUT */

.storie-featured-layout {
  display: grid;
  grid-template-columns: 1.55fr .95fr;
  gap: 38px;
  align-items: stretch;
}

.storia-card-featured {
  position: relative;
  min-height: 560px;
  border-radius: 10px;
  overflow: hidden;
  background: #1f2933;
}

.storia-card-featured .storia-card-img {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
  border-radius: 0;
}

.storia-card-featured .storia-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.storia-card-featured .storia-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.38) 42%,
    rgba(0,0,0,.08) 100%
  );
}

.storia-card-featured .storia-card-body {
  position: absolute;
  left: 44px;
  right: 44px;
  bottom: 44px;
  z-index: 2;
}

.storia-card-featured h3,
.storia-card-featured .storia-meta {
  color: #fff !important;
}

.storia-card-featured .storia-cat {
  color: #d7b46a !important;
}

.storie-side-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

.storia-card-small {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  align-items: start;
}

.storia-card-small .storia-card-img {
  height: 132px;
  margin-bottom: 0;
}

.storia-card-small h3 {
  font-size: 20px;
  line-height: 1.22;
}

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

  .storia-card-featured .storia-card-img {
    height: 320px;
  }

  .storia-card-small {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 640px) {
  .storia-card-small {
    grid-template-columns: 1fr;
  }

  .storia-card-small .storia-card-img {
    height: 220px;
  }
}


/* ================================
   STORIA FEATURED (overlay card)
   ================================ */
.storie-single { width: 100%; }

.storia-featured {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  aspect-ratio: 16 / 7;
  background: #1a1a1a;
}

.storia-featured-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.storia-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.storia-featured::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.2) 55%,
    rgba(0,0,0,0) 100%
  );
}

.storia-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 40px;
  color: #fff;
}

.storia-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.7rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.storia-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 8px;
}

.storia-meta {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: rgba(255,255,255,0.85);
  margin: 0;
}

/* ================================
   HEADER trasparente sopra HERO
   ================================ */
body.home #masthead,
body.home .ast-primary-header-bar,
body.home .main-header-bar {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding-top: 10px;
}

body.home .site-title a,
body.home .site-title,
body.home .site-description,
body.home .main-header-menu a,
body.home .main-header-menu .menu-item > a,
body.home .main-navigation a,
body.home .ast-builder-menu-1 .menu-item > a {
  color: #fff !important;
}

body.home .main-header-menu a:hover,
body.home .main-header-menu .current-menu-item > a,
body.home .ast-builder-menu-1 .current-menu-item > a {
  color: rgba(255,255,255,0.75) !important;
}

/* ================================
   MOBILE: header assoluto sopra la hero
   ================================ */
@media (max-width: 921px) {
  body.home #masthead {
    position: absolute !important;
    width: 100%;
    left: 0;
    right: 0;
    top: 0;
    z-index: 999;
    overflow: visible !important;
  }

  body.home #ast-mobile-header,
  body.home #ast-mobile-header .ast-main-header-wrap {
    overflow: visible !important;
  }

  /* Separatore visivo: sfumatura scura sul fondo dell'header */
  body.home #ast-mobile-header .ast-primary-header-bar {
    border-bottom: 1px solid rgba(255,255,255,0.25) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18) !important;
  }

  /* Hamburger bianco sulla home (override della regola globale scura) */
  body.home [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
    fill: #fff;
  }
}

/* Menu mobile aperto sulla home: sfondo scuro */
@media (max-width: 921px) {
  body.home .ast-builder-menu-mobile .main-navigation .main-header-menu,
  body.home .ast-builder-menu-mobile .main-navigation .main-header-menu .menu-link,
  body.home .ast-builder-menu-mobile .main-navigation .main-header-menu .sub-menu {
    background-color: #1a1008;
  }

  body.home #masthead #ast-hf-mobile-menu .menu-link {
    color: #fff !important;
  }
}

body.home #ast-mobile-header #ast-hf-mobile-menu .menu-link:hover {
  color: rgba(255,255,255,0.75) !important;
}

/* ================================
   FIX BOTTONI nella HERO
   ================================ */
.hero a.btn-primary,
.entry-content .hero a.btn-primary {
  color: #fff !important;
  text-decoration: none !important;
}

.hero a.btn-secondary,
.entry-content .hero a.btn-secondary {
  color: #fff !important;
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.6) !important;
  text-decoration: none !important;
  padding: 14px 28px !important;
  border-radius: 4px !important;
  display: inline-block !important;
  font-weight: 500 !important;
}

.hero a.btn-secondary:hover {
  border-color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
}

/* ================================
   BTN OUTLINE su HERO scura
   ================================ */
.hero a.btn-outline-hero,
.entry-content .hero a.btn-outline-hero {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.6);
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s;
}

.hero a.btn-outline-hero:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

/* ================================
   SEZIONE MANIFESTO
   ================================ */
.sezione-manifesto {
    position: relative;
    background: #1a1a1a;
    padding: 100px 20px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.sezione-manifesto::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://thelandofvenice.com/wp-content/uploads/2026/05/footer.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.18; /* regola qui la trasparenza */
    z-index: 0;
}

.sezione-manifesto > * {
    position: relative;
    z-index: 1;
}

.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}

.manifesto-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  margin: 0 0 24px;
}

.sezione-manifesto h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 28px;
}

.sezione-manifesto h2 em {
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
}

.manifesto-testo {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.8);
  margin: 0 0 36px;
}

.btn-outline-dark {
  display: inline-block;
  background: transparent;
  color: #fff !important;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 14px 32px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.4);
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s;
}

.btn-outline-dark:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 600px) {
  .sezione-manifesto { padding: 70px 20px; }
  .sezione-manifesto h2 { font-size: 1.8rem; }
}

/* ================================
   ALIAS classi (nuovi nomi del template)
   ================================ */

/* Eyebrow nella hero (sostituisce .hero-label) */
.hero-eyebrow {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
  font-weight: 500;
}

/* Badge durata sulle card itinerario */
.itin-card-body .badge-durata {
  display: inline-block;
  background: #8a010c;
  color: #fff;
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

/* Tipologia + località sulle card esperienza */
.exp-card-body .exp-tipo {
  display: inline-block;
  background: #8a010c;
  color: #fff;
  font-size: 0.65rem;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  font-weight: 500;
  margin-bottom: 10px;
}

.exp-card-body .exp-loc {
  font-size: 0.85rem;
  color: #888;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

/* Placeholder generico (sostituisce i vari -placeholder) */
.img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: #f0ece8;
  display: block;
}

/* ================================
   STORIE — layout 2 e 3 articoli
   ================================ */

/* 2 articoli: due card a fianco */
.storie-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.storie-grid-2 .storia-featured {
  aspect-ratio: 4 / 3;
}

/* 3 articoli: featured grande a sinistra + 2 piccole a destra */
.storie-grid-3 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.storie-grid-3 .storia-featured-large {
  aspect-ratio: 4 / 3;
}

.storie-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.storia-sm {
  flex: 1;
  aspect-ratio: 16 / 10;
}

.storia-sm .storia-overlay {
  padding: 24px;
}

.storia-sm .storia-title-sm {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  margin: 0 0 6px;
}

.storia-featured-large .storia-title-lg {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin: 0 0 8px;
}

@media (max-width: 800px) {
  .storie-grid-3,
  .storie-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* Storie — layout uniforme 3 colonne (3+ articoli) */
.storie-grid-uniform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.storia-card {
  text-decoration: none;
  color: #1a1a1a;
  display: block;
  transition: transform 0.2s;
}

.storia-card:hover {
  transform: translateY(-3px);
}

.storia-card-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 14px;
  background: #f0ece8;
}

.storia-card-img img,
.storia-card-img .img-placeholder {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.storia-card-body .storia-cat {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8a010c;
  font-weight: 500;
  margin-bottom: 8px;
}

.storia-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  margin: 0 0 6px;
}

.storia-card-body .storia-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #888;
  margin: 0;
}

@media (max-width: 900px) {
  .storie-grid-uniform { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .storie-grid-uniform { grid-template-columns: 1fr; }
}

/* =========================
   HOME — INTRO EDITORIALE
========================= */

.home-intro-editoriale {
  padding: 90px 0 40px;
  background: #fbf8f3;
}

.home-intro-editoriale__inner {
  width: min(820px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
}

.home-intro-editoriale__label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #a30d18;
  margin-bottom: 18px;
}

.home-intro-editoriale h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.08;
  color: #1f2933;
  margin: 0 0 24px;
}

.home-intro-editoriale__text {
  font-family: 'Inter', sans-serif;
  font-size: 19px;
  line-height: 1.8;
  color: #5c6670;
  margin: 0;
}

.sezione-intro {
  font-size: 18px;
  line-height: 1.7;
  color: #5d6670;
  max-width: 760px;
  margin-top: -12px;
  margin-bottom: 42px;
}




/* =========================
   BLOCCO IMMERSIVO - PARALLAX
========================= */

.blocco-immersivo {
  position: relative;
  min-height: 48vh;

  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;

  background-image: url('/wp-content/uploads/2026/05/collio-vigne.jpg');
  background-size: cover;
  background-position: center;

  background-attachment: fixed;

  overflow: hidden;
}

.immersivo-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(10,10,10,.45),
      rgba(10,10,10,.58)
    );

  z-index: 1;
}

.immersivo-content {
  position: relative;
  z-index: 2;

  width: min(820px, calc(100% - 48px));
  margin: 0 auto;

  color: #fff;
}

.immersivo-eyebrow {
  display: inline-block;

  margin-bottom: 24px;

  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;

  font-family: 'Inter', sans-serif;

  color: rgba(255,255,255,.78);
}

.immersivo-content h2 {
  font-family: 'Playfair Display', serif;
  color: #fff;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.02;

  margin: 0 0 26px;
}

.immersivo-content p {
  font-size: 20px;
  line-height: 1.75;

  color: rgba(255,255,255,.88);

  max-width: 760px;
  margin: 0 auto 38px;
}

.immersivo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 210px;
  height: 56px;

  padding: 0 30px;

  border: 1px solid rgba(255,255,255,.42);

  color: #fff;
  text-decoration: none;

  font-family: 'Inter', sans-serif;
  font-weight: 500;

  transition:
    background .25s ease,
    border-color .25s ease,
    transform .25s ease;
}

.immersivo-btn:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.7);

  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .blocco-immersivo {
    min-height: 64vh;

    background-attachment: scroll;
  }

  .immersivo-content h2 {
    line-height: 1.02;
  }

  .immersivo-content p {
    font-size: 17px;
  }

}

.blocco-immersivo {
  margin-bottom: 40px;
  margin-top: 40px;
}

/* =========================
   HOME — QUOTE EDITORIALE
========================= */

.quote-editoriale {
  background: #fbf8f3;
  padding: 40px 0 60px;
}

.quote-editoriale__inner {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  text-align: center;
  border-top: 1px solid rgba(31,41,51,.10);
  border-bottom: 1px solid rgba(31,41,51,.10);
  padding: 76px 0;
}

.quote-editoriale__label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a30d18;
  margin: 0 0 22px;
}

.quote-editoriale blockquote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.14;
  color: #1f2933;
  margin: 0;
}

/* SEZIONI FULL WIDTH */

.hero-slider,
.blocco-immersivo,
.sezione-manifesto {
  width: 100vw;
  max-width: 100vw;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}

.badge-grande-rotta-hp {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1008;
  background: #c8a96e;
  padding: 3px 10px;
  margin-bottom: 8px;
}


/* Pulsante "Vedi tutti" a fine sezione */
.sezione-cta-footer {
  text-align: center;
  margin-top: 3.5rem;
}

.btn-sezione-vedi-tutti {
  display: inline-block;
  padding: 1rem 2rem;
  border: 1px solid #5d5d5d;
  color: #5d5d5d;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.btn-sezione-vedi-tutti:hover {
  background-color: #1a1a1a;
  color: #fff;
}


/* Miglioramento performance homepage */

.hero-slide.is-active:first-child {
  transition: none;
}

.hero-slide.is-active:first-child .hero-eyebrow,
.hero-slide.is-active:first-child h1,
.hero-slide.is-active:first-child .hero-sub,
.hero-slide.is-active:first-child .hero-cta {
  transition: none;
}

/* ---- SEZIONE VINO & TERRITORIO ---- */

.sezione-vino {
  width: var(--tlv-container, min(1120px, calc(100% - 48px)));
  margin: 60px auto;
}

.sezione-vino__inner {
  width: 100%;
}

.sezione-vino__box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  background-color: #4a3826;
  display: flex;
  align-items: flex-end;
  padding: 48px;
}

.sezione-vino__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 15, 10, 0.85) 0%,
    rgba(20, 15, 10, 0.35) 55%,
    rgba(20, 15, 10, 0.05) 100%
  );
  z-index: 1;
}

.sezione-vino__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.sezione-vino__eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tlv-gold, #d7b46a);
  margin: 0 0 12px;
  font-weight: 500;
}

.sezione-vino__box h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.2;
  color: #ffffff;
  margin: 0 0 14px;
  font-weight: 400;
}

.sezione-vino__testo {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
}

.sezione-vino__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  background: var(--tlv-red, #8a010c);
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.sezione-vino__btn:hover {
  background: var(--tlv-red-dark, #6a0109);
}

@media (max-width: 768px) {
  .sezione-vino__box {
    padding: 32px 24px;
    min-height: 320px;
  }

  .sezione-vino__content {
    max-width: 100%;
  }
}
