/*
Theme Name: La Bautta
Author: Webmanager
Description: Tema full ACF per associazione teatrale. Hero spettacolo, galleria separata, programma per edizione.
Version: 1.1
*/

:root{
  --bg:#171717;
  --text:#f6f2ea;
  --text-dark:#1a1a1a;
  --accent:#9d2333;
  --muted:#6d6d6d;
  --border:rgba(0,0,0,.08);
  --container:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,sans-serif;
  color:var(--text-dark);
  background:#faf8f4;
  line-height:1.6;
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}
.container{width:min(calc(100% - 32px), var(--container));margin:0 auto}

/* ===== HEADER / LOGO ===== */
.site-header{
  background:#000;
  color:#fff;
  position:sticky;
  top:0;
  z-index:1000;
  transition:all .3s ease;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px 0;
}

.site-logo{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  flex-shrink:0;
}

.site-logo-img{
  height:64px;
  width:auto;
  display:block;
  transition:all .3s ease;
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.logo-title{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:2rem;
  font-weight:700;
  color:#fff;
  margin:0;
}

.logo-tagline{
  font-size:.72rem;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:rgba(255,255,255,.72);
  margin-top:2px;
}

.main-nav{margin-left:auto}

.main-menu,
.main-menu ul,
.footer-menu{
  list-style:none;
  margin:0;
  padding:0;
}

.main-menu{
  display:flex;
  align-items:center;
  gap:28px;
}

.main-menu li{position:relative}

.main-menu a{
  color:#fff;
  text-decoration:none;
  display:block;
  padding:10px 0;
  font-weight:600;
}

.main-menu .sub-menu{
  position:absolute;
  top:100%;
  left:0;
  min-width:260px;
  background:#2a2a2a;
  border-radius:10px;
  padding:10px 0;
  display:none;
  box-shadow:0 12px 30px rgba(0,0,0,.24);
  z-index:999;
}

.main-menu .sub-menu a{
  padding:10px 16px;
  font-weight:500;
  color:#fff;
}

.main-menu li:hover > .sub-menu,
.main-menu li:focus-within > .sub-menu{
  display:block;
}

.main-menu .menu-item-has-children > a::after{
  content:" ▾";
  font-size:.8em;
}

.menu-item-archive-link a{
  font-weight:700;
  border-top:1px solid rgba(255,255,255,.15);
  margin-top:4px;
  padding-top:12px;
}

.menu-toggle{
  display:none;
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
  border-radius:8px;
  padding:8px 12px;
}

.site-header.scrolled .site-logo-img{height:44px}

/* ===== HERO ===== */
.hero{
  color:var(--text);
  padding:110px 0;
}

.hero.hero-has-bg{
  position:relative;
  background-size:cover;
  background-position:center;
  min-height:72vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding:0;
}

.hero-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  display:flex;
  align-items:center;
  background:rgba(0,0,0,.65);
}

.hero .container{
  position:relative;
  z-index:2;
  color:#fff;
}

.hero h1{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(2.4rem,6vw,4.8rem);
  line-height:1;
  margin:0 0 14px;
}

.hero.hero-has-bg h1{
  font-size:clamp(3rem,6vw,5rem);
  line-height:.96;
  margin:0 0 16px;
}

.hero p{
  max-width:700px;
  font-size:1.1rem;
}

.hero.hero-has-bg p{
  max-width:640px;
  font-size:1.1rem;
  line-height:1.6;
  margin:0 0 22px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:24px;
}

/* ===== BOTTONI ===== */
.button,
.wp-block-button__link{
  display:inline-block;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  padding:14px 18px;
  border-radius:10px;
  font-weight:700;
}

.button.secondary{
  background:transparent;
  border:1px solid rgba(255,255,255,.4);
}

/* ===== LAYOUT GENERALE ===== */
.section{padding:52px 0}
.section.alt{background:#fff}

.section h2,
.page-title{
  font-family:"Cormorant Garamond", Georgia, serif;
}

.section h2{
  font-size:2.3rem;
  margin:0 0 16px;
}

.page-hero{padding:52px 0 24px}
.page-title{font-size:3rem;margin:0 0 12px}
.page-content{padding-bottom:48px}
.page-content-body{padding-bottom:0}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:20px;
}

.section-link{
  text-decoration:none;
}

.cards,
.simple-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

/* ===== CARD BASE CHIARE ===== */

/* ===== CARD BASE CHIARE / LOCANDINE ===== */
.archive-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease;
  box-shadow:0 8px 20px rgba(0,0,0,.05);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  margin-bottom:24px;
}

.archive-card:hover{
  transform:translateY(-4px);
  box-shadow:0 14px 30px rgba(0,0,0,.10);
}

/* immagine / locandina */
.archive-card > a:first-child{
  display:block;
  background:#f5f3ef;
  overflow:hidden;
  line-height:0;
}

.archive-card > a:first-child img{
  width:100%;
  height:auto;
  display:block;
  object-fit:contain;
  object-position:center top;
  padding:0;
  margin:0;
}

/* contenuto */
.archive-card .content{
  padding:14px 16px 16px;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.archive-card h3{
  margin:0;
  line-height:1.15;
}

.archive-card h3 a{
  text-decoration:none;
  color:var(--text-dark);
}

.archive-card h3 a:hover{
  color:var(--accent);
}

.archive-card .meta{
  margin:0;
  font-size:14px;
  color:#666;
  line-height:1.3;
}

.archive-card p{
  margin:2px 0 0;
  font-size:15px;
  line-height:1.4;
  color:#444;
}

/* bottoni */
.spettacolo-card-actions{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.archive-card .button{
  margin-top:0;
  border-radius:999px;
  padding:8px 16px;
  font-size:14px;
}

.archive-card .button.secondary{
  background:transparent;
  border:1px solid rgba(0,0,0,.2);
  color:var(--text-dark);
}

.archive-card .button.secondary:hover{
  border-color:var(--accent);
  color:var(--accent);
}

.archive-card .eventbrite-button{
  background:#f05537 !important;
  color:#fff !important;
}

.archive-card .eventbrite-button:hover{
  background:#d94428 !important;
}

/* ===== HIGHLIGHT CARD ===== */
.highlight-card{
  display:grid;
  grid-template-columns:minmax(280px,420px) 1fr;
  gap:28px;
  align-items:center;
}

.highlight-card-media img,
.highlight-card > img{
  width:100%;
  height:auto;
  display:block;
}

.highlight-card-content h3{
  margin-top:0;
}

/* ===== EDIZIONE ===== */
.edition-grid{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:36px;
  align-items:start;
}

.poster{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.poster-image{
  width:100%;
  border-radius:14px;
  box-shadow:0 8px 26px rgba(0,0,0,.12);
}

.poster-zoom-link{
  display:block;
  cursor:zoom-in;
}

.edition-period{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:12px 14px;
  font-size:.98rem;
  color:#333;
}

.event-list{
  display:grid;
  gap:18px;
  margin-top:24px;
}

.event-card{padding:20px}
.eventbrite-link-wrap{margin-top:14px}
.eventbrite-embed{margin-top:16px;overflow:auto}

/* ===== LIGHTBOX ===== */
.poster-lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.86);
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  z-index:9999;
}

.poster-lightbox.is-open{display:flex}

.poster-lightbox img{
  max-width:min(92vw,1100px);
  max-height:88vh;
  width:auto;
  height:auto;
  box-shadow:0 12px 40px rgba(0,0,0,.35);
  border-radius:10px;
}

.poster-lightbox-close,
.poster-lightbox-prev,
.poster-lightbox-next{
  position:absolute;
  background:rgba(0,0,0,.35);
  color:#fff;
  border:0;
  cursor:pointer;
  line-height:1;
  border-radius:999px;
}

.poster-lightbox-close{
  top:18px;
  right:22px;
  font-size:42px;
  width:52px;
  height:52px;
}

.poster-lightbox-prev,
.poster-lightbox-next{
  top:50%;
  transform:translateY(-50%);
  font-size:46px;
  width:56px;
  height:56px;
}

.poster-lightbox-prev{left:24px}
.poster-lightbox-next{right:24px}

.poster-lightbox-close:hover,
.poster-lightbox-prev:hover,
.poster-lightbox-next:hover{
  background:rgba(255,255,255,.18);
}

/* ===== FOOTER ===== */
.site-footer{
  background:var(--bg);
  color:var(--text);
  margin-top:60px;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:24px;
  padding:24px 0;
  align-items:center;
}

.footer-menu{display:flex;gap:18px}

.footer-menu a{
  color:var(--text);
  text-decoration:none;
}

/* ===== SPETTACOLO ===== */
.spettacolo-hero{
  position:relative;
  background:#111;
  color:#fff;
  margin-bottom:12px;
}

.spettacolo-hero-media{min-height:460px}

.spettacolo-hero-image{
  width:100%;
  height:460px;
  object-fit:cover;
  object-position:center top;
  display:block;
  filter:brightness(.66);
}

.spettacolo-hero-overlay{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;
}

.spettacolo-hero-inner{padding-bottom:44px}

.spettacolo-kicker{
  margin:0 0 6px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.78rem;
  color:#e9b6be;
  font-weight:700;
}

.spettacolo-hero-title{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(2.4rem,5vw,4.4rem);
  line-height:1.02;
  margin:0 0 8px;
}

.spettacolo-hero-meta{
  max-width:760px;
  font-size:1rem;
}

.spettacolo-hero-meta a{color:#fff}

.spettacolo-hero-badges{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:0;
}

.spettacolo-hero-badge{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.badge-separator{
  margin:0 8px;
  color:rgba(255,255,255,.6);
  font-weight:600;
}

.spettacolo-body-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:28px;
  align-items:start;
}

.spettacolo-side-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:22px;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  position:sticky;
  top:94px;
}

.spettacolo-side-card h2{
  margin-top:0;
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:2rem;
}

.spettacolo-edizioni-list{
  margin:8px 0 0;
  padding-left:18px;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}

.gallery-grid img{
  width:100%;
  height:260px;
  object-fit:cover;
  object-position:center top;
  border-radius:12px;
}

.section-gallery{padding-top:20px;padding-bottom:28px}
.section-gallery h2{margin-bottom:10px}

.edizione-linked-list{display:grid;gap:16px}

.edizione-linked-card{
  display:grid;
  grid-template-columns:140px 1fr;
  gap:18px;
  align-items:center;
  background:#fff;
  border:1px solid rgba(0,0,0,.08);
  border-radius:14px;
  overflow:hidden;
}

.edizione-linked-thumb img{
  width:100%;
  height:100%;
  min-height:160px;
  object-fit:cover;
  object-position:top;
}

.edizione-linked-content{padding:16px 18px 16px 0}
.edizione-linked-content h3{margin:0 0 10px;font-size:1.1rem}
.edizione-linked-link{font-weight:700;text-decoration:none}

/* ===== TRAILER ===== */
.section-trailer{
  padding-top:20px;
  padding-bottom:20px;
}

.video-embed-wrap{
  position:relative;
  width:100%;
  padding-bottom:56.25%;
  height:0;
  overflow:hidden;
  border-radius:14px;
  background:#000;
}

.video-embed-wrap iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
}

/* ===== LABORATORIO ===== */
.laboratorio-sidebar-dates{margin:16px 0}
.laboratorio-date-list{margin:8px 0 0;padding-left:20px}
.laboratorio-date-list li{margin-bottom:6px}

.spettacolo-side-card a{text-decoration:none}
.spettacolo-side-card a:hover{text-decoration:underline}

.single-laboratorio .page-hero{
  padding:15px 0 5px;
  margin-bottom:5px;
}

.single-laboratorio .page-title{margin-bottom:8px}
.single-laboratorio .page-hero + .section{margin-top:0}

/* ===== PAGINA LABORATORI ===== */
.page-template-page-laboratori .section{
  padding-top:8px !important;
  padding-bottom:10px;
}

.page-template-page-laboratori .page-content-body{
  padding-bottom:8px;
}

.laboratori-header{margin:0 0 14px}
.laboratori-title{margin:0 0 2px}

.laboratori-filter-wrap{
  display:flex;
  flex-direction:column;
  gap:0;
}

.laboratori-filter-heading{
  margin:0 0 6px;
  font-size:12px;
  letter-spacing:.5px;
  text-transform:uppercase;
  color:#888;
  font-weight:600;
}

.laboratori-filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.laboratori-filter-link,
.laboratori-filter-reset,
.laboratori-page-link{
  display:inline-block;
  padding:8px 12px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  text-decoration:none;
  background:#fff;
}

.laboratori-filter-link.is-active,
.laboratori-page-link.is-active{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

.laboratori-filter-reset{background:transparent}

.laboratori-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}

/* ===== PAGINA SPETTACOLI ===== */
.spettacoli-filter-wrap{
  display:flex;
  flex-direction:column;
  gap:0;
  margin:0 0 10px;
  position:sticky;
  top:80px;
  background:#fff;
  z-index:10;
  padding-top:10px;
}

.spettacoli-filter-heading{
  margin:0 0 6px;
  font-size:12px;
  line-height:1.2;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:#888;
  font-weight:600;
}

.spettacoli-filter-bar{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin:0;
}

.spettacoli-filter-link,
.spettacoli-filter-reset,
.spettacoli-page-link{
  display:inline-block;
  padding:8px 12px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:999px;
  text-decoration:none;
  background:#fff;
  color:inherit;
}

.spettacoli-filter-link.is-active,
.spettacoli-page-link.is-active{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

.spettacoli-filter-reset{background:transparent}

.spettacoli-pagination{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:24px;
}

.spettacoli-status-badge{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
}

.spettacoli-status-badge.is-open{
  background:rgba(29,163,74,.12);
  color:#1d7a3b;
}

.spettacoli-status-badge.is-past{
  background:rgba(0,0,0,.06);
  color:#666;
}

/* ===== FORM RICERCA SPETTACOLI ===== */
.spettacoli-search-form{
  display:flex;
  align-items:stretch;
  gap:10px;
  margin:0 0 12px;
  flex-wrap:wrap;
}

.spettacoli-search-form input[type="text"]{
  flex:1 1 280px;
  min-width:220px;
  height:56px;
  padding:0 16px;
  border:1px solid rgba(0,0,0,.18);
  border-radius:10px;
  background:#fff;
  font-size:16px;
  line-height:1;
}

.spettacoli-search-form .button,
.spettacoli-search-form button{
  height:56px;
  padding:0 28px;
  border-radius:10px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:1;
  margin:0;
}

#load-more{
  margin:40px auto;
  display:block;
}

/* ===== NEWS ===== */
.breadcrumb{
  font-size:13px;
  color:#8a8a8a;
  margin-bottom:10px;
}

.breadcrumb a{
  color:#777;
  text-decoration:none;
}

.breadcrumb a:hover{color:var(--accent)}

.news-back{margin-bottom:12px}

.back-button{
  display:inline-block;
  font-size:14px;
  color:#666;
  text-decoration:none;
}

.back-button:hover{color:var(--accent)}

.news-hero{
  max-width:900px;
  margin:0 auto 18px;
}

.news-title{
  font-family:"Cormorant Garamond", Georgia, serif;
  font-size:clamp(2.2rem,5vw,4rem);
  line-height:1.02;
  margin:0 0 10px;
  color:#111;
}

.news-meta{
  margin:0;
  font-size:14px;
  color:#777;
  letter-spacing:.02em;
}

.news-single{
  max-width:900px;
  margin:0 auto;
}

.news-featured-image{
  max-width:900px;
  margin:0 auto 24px;
}

.news-featured-image img{
  width:100%;
  height:auto;
  display:block;
  border-radius:6px;
}

.single-post .page-content-body{
  max-width:900px;
  margin:0 auto;
}

.single-post .page-content-body p{
  font-size:1.08rem;
  line-height:1.75;
}

/* ===== RESPONSIVE ===== */
@media (max-width:991px){
  .menu-toggle{display:inline-block}
  .header-inner{flex-wrap:wrap}

  .main-nav{
    display:none;
    width:100%;
    margin-left:0;
  }

  .main-nav.is-open{display:block}

  .main-menu{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    width:100%;
    margin-top:12px;
  }

  .main-menu li{width:100%}

  .main-menu a{
    width:100%;
    padding:12px 0;
  }

  .main-menu .sub-menu{
    position:static;
    display:block;
    min-width:auto;
    background:transparent;
    box-shadow:none;
    padding:0 0 0 14px;
  }

  .menu-item-archive-link a{
    border-top:none;
    margin-top:0;
    padding-top:12px;
  }

  .cards,
  .simple-grid,
  .edition-grid,
  .gallery-grid,
  .spettacolo-body-grid,
  .highlight-card{
    grid-template-columns:1fr;
  }

  .spettacolo-hero-media,
  .spettacolo-hero-image{
    height:360px;
    min-height:360px;
  }

  .spettacolo-side-card{position:static}

  .edizione-linked-card{grid-template-columns:1fr}
  .edizione-linked-content{padding:0 16px 16px}

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .footer-menu{flex-wrap:wrap}

  .site-logo-img{height:44px}
  .logo-title{font-size:1.7rem}
  .logo-tagline{display:none}
}

@media (max-width:768px){
  .page-template-page-laboratori .section{
    padding-top:12px;
    padding-bottom:24px;
  }

  .laboratori-filter-bar{margin-top:0}

  .news-hero,
  .news-single,
  .news-featured-image,
  .single-post .page-content-body{
    max-width:100%;
  }

  .news-title{line-height:1.08}
}
/* =====================================================
   BOTTONI GLOBALI UNIFICATI (FIX DEFINITIVO)
===================================================== */

/* BASE */
.button,
.wp-block-button__link,
button.button,
input[type="submit"].button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: auto !important;
  max-width: max-content !important;

  min-height: 46px;
  padding: 10px 18px !important;

  border-radius: 999px !important;
  border: none;

  background: var(--accent);
  color: #fff !important;

  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;

  text-align: center !important;
  white-space: nowrap;

  text-decoration: none !important;
  cursor: pointer;

  transition: all .25s ease;
}

/* HOVER */
.button:hover,
.wp-block-button__link:hover {
  background: #7f1c28;
  color: #fff;
  transform: translateY(-1px);
}

/* SECONDARI */
.button.secondary {
  background: transparent !important;
  color: var(--accent) !important;
  border: 1px solid var(--accent) !important;
}

.button.secondary:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* HERO (bianco su scuro) */
.hero .button.secondary,
.hero-actions .button.secondary {
  color: #fff !important;
  border-color: rgba(255,255,255,.5) !important;
}

.hero .button.secondary:hover,
.hero-actions .button.secondary:hover {
  background: rgba(255,255,255,.15) !important;
  border-color: #fff !important;
}

/* CARD */
.archive-card .button {
  margin-top: 6px;
}

/* ACTION WRAPPER */
.spettacolo-card-actions {
  margin-top: auto;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.spettacolo-card-actions .button {
  flex: 0 0 auto;
}

/* EVENTBRITE */
.archive-card .eventbrite-button {
  background: #f05537 !important;
  color: #fff !important;
}

.archive-card .eventbrite-button:hover {
  background: #d94428 !important;
}

/* FORM / SEARCH */
.spettacoli-search-form button,
.spettacoli-search-form .button {
  height: 46px !important;
  padding: 0 18px !important;
}

/* FIX GLOBALI (override temi/plugin) */
.button,
.archive-card .button,
.spettacolo-card-actions .button,
.hero-actions .button {
  width: auto !important;
  max-width: max-content !important;
  text-align: center !important;
}

/* MULTILINE (se serve) */
.button.multiline {
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}
/* ===== RIDUZIONE SPAZIATURE CARD ===== */

.archive-card .content {
  gap: 6px; /* prima era ~10 */
  padding: 16px 18px; /* leggermente più compatto */
}

/* Titolo */
.archive-card h3 {
  margin: 0 0 4px;
  line-height: 1.2;
}

/* Meta (data, luogo) */
.archive-card .meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

/* Testo descrizione */
.archive-card p {
  margin: 4px 0 6px;
  line-height: 1.45;
}

/* Bottoni */
.spettacolo-card-actions {
  margin-top: 10px;
  gap: 8px;
}
.page-intro{
  max-width:760px;
  font-size:1.05rem;
  color:#555;
  margin:0;
}

.error404 .page-title{
  font-size:clamp(3rem, 8vw, 6rem);
  line-height:1;
}

.error404 .highlight-card{
  align-items:start;
}

.page-template-page-contatti .page-content-body p,
.page-template-page-contatti .page-content-body li{
  font-size:1.02rem;
  line-height:1.7;
}

.page-template-page-contatti .spettacolo-side-card p{
  margin:0 0 16px;
}
.contact-map {
  margin-top: 24px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

/* ===== PAGINA LANDING TEATRALE ===== */

.landing-page {
  background: #161716;
  color: #fff;
}

/* logo */
.landing-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 30px;
}

.landing-hero img {
  max-width: 240px;
  height: auto;
  filter: brightness(1.1);
}

/* contenuto */
.landing-content {
  text-align: center;
  max-width: 680px;
  padding: 20px 0 80px;
}

/* titolo */
.landing-content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  margin-bottom: 16px;
  color: #fff;
}

/* testo */
.landing-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.8);
}

/* link */
.landing-content a {
  color: #fff;
  text-decoration: underline;
}

/* bottoni */
.landing-content .button {
  background: #fff;
  color: #000;
  margin-top: 20px;
}

.landing-content .button.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
}

.landing-content .button.secondary:hover {
  border-color: #fff;
}