/*
Theme Name: Cibòn Theme
Theme URI: https://cibon.it
Description: Tema Elementor-first per Cibòn – Il cibo racconta. Rassegna culturale, Fano 2026.
Author: Plurale
Author URI: https://pluralecom.it
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
Text Domain: cibon
*/

/* ============================================================
   IMPORT FONT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Parkinsans:wght@300;400;500&display=swap');

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  --blu:    #1d3337;
  --az-d:   #4f8b97;
  --az-l:   #5ca2b2;
  --vd-d:   #b2c249;
  --vd-l:   #98a53f;
  --ar:     #da8f33;
  --cream:  #f5f3ee;
  --border: rgba(29,51,55,0.12);
  --muted:  rgba(29,51,55,0.5);
  --font:   'Parkinsans', sans-serif;
  --max-w:  980px;
  --gutter: 32px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--cream);
  color: var(--blu);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.site-nav {
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  height: 60px;
  border-bottom: 0.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-nav-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.site-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.site-nav-links a {
  color: var(--blu);
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  opacity: 0.65;
  transition: opacity 0.2s;
}

.site-nav-links a:hover,
.site-nav-links a.active {
  opacity: 1;
  font-weight: 500;
}

.site-nav-links .nav-cta {
  background: var(--blu) !important;
  color: #fff !important;
  font-weight: 500 !important;
  border-radius: 999px !important;
  opacity: 1 !important;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blu);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   TAG LABEL (sovratitolo sezione)
   ============================================================ */
.tag {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--az-d);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tag::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--az-d);
  border-radius: 1px;
  flex-shrink: 0;
}

.tag.wh {
  color: rgba(255,255,255,0.65);
}

.tag.wh::before {
  background: rgba(255,255,255,0.65);
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.sec-title {
  font-size: 30px;
  font-weight: 500;
  color: var(--blu);
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

.sec-title em {
  font-style: italic;
  color: var(--az-d);
}

.sec-body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.82;
}

.sec-body p + p {
  margin-top: 10px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-blu {
  background: var(--blu);
  color: #fff;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  display: inline-block;
  font-family: var(--font);
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn-ar {
  background: var(--ar);
  color: var(--blu);
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  display: inline-block;
  font-family: var(--font);
  cursor: pointer;
  border: none;
}

.btn-az {
  background: var(--az-d);
  color: #fff;
  padding: 11px 24px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 13px;
  display: inline-block;
  font-family: var(--font);
  cursor: pointer;
  border: none;
}

.btn-outline {
  background: transparent;
  color: var(--blu);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 13px;
  border: 1.5px solid rgba(29,51,55,0.2);
  display: inline-block;
  font-family: var(--font);
  cursor: pointer;
}

.btn-outline-dark {
  background: transparent;
  color: var(--blu);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 13px;
  border: 1.5px solid rgba(29,51,55,0.25);
  display: inline-block;
  font-family: var(--font);
  cursor: pointer;
}

/* ============================================================
   QUOTE CARD
   ============================================================ */
.quote-card {
  background: var(--blu);
  border-radius: 14px;
  padding: 28px 26px;
}

.quote-card-accent {
  width: 28px;
  height: 3px;
  background: var(--ar);
  border-radius: 2px;
  margin-bottom: 14px;
}

.quote-card p {
  font-size: 17px;
  font-style: italic;
  font-weight: 500;
  color: #fff;
  line-height: 1.55;
}

.quote-card-by {
  font-size: 11px;
  color: rgba(255,255,255,0.38);
  margin-top: 12px;
  letter-spacing: 0.06em;
}

.quote-line {
  border-left: 3px solid var(--az-d);
  padding-left: 16px;
  margin: 18px 0;
}

.quote-line p {
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  color: var(--az-d);
  line-height: 1.5;
}

/* ============================================================
   HERO HOMEPAGE
   ============================================================ */
.site-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.site-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1d3337;
}

.site-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,38,42,0.42);
}

.site-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 52px 32px;
  gap: 14px;
}

.site-hero-logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.site-hero-payoff {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ============================================================
   PAGE HERO (chi siamo, eventi, contattaci)
   ============================================================ */
.page-hero {
  padding: 56px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-hero-text {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-eyebrow::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--ar);
  border-radius: 1px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 500;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}

.page-hero h1 em {
  font-style: italic;
  color: var(--ar);
}

.hero-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
  max-width: 400px;
}

.hero-img-ph {
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0.5px solid rgba(255,255,255,0.12);
  position: relative;
  z-index: 2;
}

/* ============================================================
   HOMEPAGE: IL PROGETTO
   ============================================================ */
.progetto {
  background: var(--cream);
  padding: 60px var(--gutter);
}

.progetto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ============================================================
   HOMEPAGE: SEZIONE EVENTI
   ============================================================ */
.eventi-section {
  background: #fff;
  padding: 60px 0;
}

.eventi-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eventi-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 26px;
}

.evento-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 14px;
  overflow: hidden;
  border: 0.5px solid var(--border);
}

.evento-img {
  background: #2a4a50;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.evento-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.evento-body {
  background: var(--cream);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.evento-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--az-d);
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.evento-label::before {
  content: '';
  width: 14px;
  height: 1.5px;
  background: var(--az-d);
  border-radius: 1px;
}

.evento-date-pill {
  display: inline-block;
  background: rgba(218,143,51,0.15);
  color: #7a4d10;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.evento-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--blu);
  line-height: 1.2;
  margin-bottom: 10px;
}

.evento-title em {
  font-style: italic;
  color: var(--az-d);
}

.evento-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.78;
  margin-bottom: 20px;
}

.evento-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}

.evento-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--az-d);
  font-weight: 500;
}

.evento-meta-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--az-d);
  flex-shrink: 0;
}

.evento-menu-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.evento-menu-items {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 24px;
}

.evento-menu-item {
  font-size: 12.5px;
  color: var(--blu);
  display: flex;
  align-items: center;
  gap: 7px;
}

.evento-menu-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--vd-d);
  flex-shrink: 0;
}

.evento-btns {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* ============================================================
   HOMEPAGE: MANIFESTO ARANCIONE
   ============================================================ */
.manifesto {
  background: var(--ar);
  padding: 56px var(--gutter);
}

.manifesto-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.manifesto-q {
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: var(--blu);
  line-height: 1.45;
}

.manifesto-by {
  font-size: 11px;
  color: rgba(29,51,55,0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 14px;
}

.manifesto-right p {
  font-size: 13.5px;
  color: rgba(29,51,55,0.68);
  line-height: 1.82;
  margin-bottom: 18px;
}

.manifesto-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ============================================================
   HOMEPAGE: PARTNER
   ============================================================ */
.partner {
  background: var(--cream);
  padding: 56px 0;
}

.partner-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.partner-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

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

.logo-box {
  background: #fff;
  border-radius: 8px;
  border: 0.5px solid var(--border);
  aspect-ratio: 3/2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 12px;
}

.logo-box img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

.logo-ph {
  width: 40px;
  height: 26px;
  background: #e0ddd6;
  border-radius: 3px;
}

.logo-box span {
  font-size: 9.5px;
  color: #bbb;
  text-align: center;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ============================================================
   CHI SIAMO — SEZIONI
   ============================================================ */
.origine-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}

.img-tall {
  background: #c5d8dc;
  border-radius: 14px;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  overflow: hidden;
}

.img-tall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-wide {
  background: #dde9eb;
  border-radius: 14px;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  overflow: hidden;
}

.img-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Numeri */
.numeri {
  background: var(--az-d);
  padding: 52px var(--gutter);
}

.numeri-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.numeri-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 28px;
}

.numero {
  text-align: center;
  padding: 22px 12px;
}

.numero-val {
  font-size: 52px;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  letter-spacing: -2px;
}

.numero-val em {
  font-style: normal;
  font-size: 30px;
  color: var(--ar);
}

.numero-label {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-top: 6px;
  line-height: 1.45;
  font-weight: 300;
}

/* Visione */
.visione-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: start;
}

/* Obiettivi */
.obiettivi-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--gutter);
}

.obj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}

.obj-item {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  border: 0.5px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.obj-num {
  font-size: 24px;
  font-weight: 500;
  color: var(--az-d);
  line-height: 1;
  min-width: 30px;
  font-style: italic;
}

.obj-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blu);
  margin-bottom: 4px;
}

.obj-desc {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.55;
}

/* Ente promotore */
.ente {
  background: var(--vd-d);
  padding: 56px var(--gutter);
}

.ente-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}

.ente-logo-box {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1;
}

.ente-logo-box img {
  max-width: 100px;
  max-height: 70px;
  object-fit: contain;
}

.ente-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--blu);
  line-height: 1.2;
  margin-bottom: 12px;
}

.ente-body {
  font-size: 13.5px;
  color: rgba(29,51,55,0.7);
  line-height: 1.82;
}

.ente-body p + p {
  margin-top: 10px;
}

.ente-contacts {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ente-contact {
  font-size: 13px;
  color: var(--blu);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ente-contact-label {
  font-size: 11px;
  color: rgba(29,51,55,0.5);
  min-width: 60px;
}

/* CTA sezione */
.cta-section {
  background: var(--ar);
  padding: 52px var(--gutter);
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 28px;
  font-weight: 500;
  color: var(--blu);
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.cta-desc {
  font-size: 13.5px;
  color: rgba(29,51,55,0.65);
  margin-bottom: 24px;
  line-height: 1.7;
}

.cta-btns {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ============================================================
   ARCHIVIO EVENTI
   ============================================================ */
.page-hero.eventi-hero {
  padding: 48px var(--gutter) 0;
}

.page-hero.eventi-hero .hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding-bottom: 3rem;
}

.mesi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding-bottom: 48px;
}

.mese-card {
  background: rgba(255,255,255,0.1);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}

.mese-card.active {
  background: #fff;
  border-color: #fff;
}

.mese-card-n {
  font-size: 32px;
  font-weight: 500;
  color: rgba(255,255,255,0.07);
  position: absolute;
  top: 8px;
  right: 12px;
  line-height: 1;
  font-style: italic;
}

.mese-card.active .mese-card-n {
  color: rgba(79,139,151,0.12);
}

.mese-card-name {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  line-height: 1;
  margin-bottom: 4px;
}

.mese-card.active .mese-card-name {
  color: var(--blu);
}

.mese-card-info {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
}

.mese-card.active .mese-card-info {
  color: var(--az-d);
  font-weight: 500;
}

/* Filtri */
.filters {
  background: #fff;
  border-bottom: 0.5px solid var(--border);
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 10px;
  color: rgba(29,51,55,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 4px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11.5px;
  background: var(--cream);
  color: var(--muted);
  border: 0.5px solid var(--border);
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, color 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--az-d);
  color: #fff;
  border-color: var(--az-d);
  font-weight: 500;
}

/* Lista + sidebar */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 272px;
  background: #fff;
  min-height: 60vh;
}

.eventi-list {
  padding: 28px var(--gutter);
  border-right: 0.5px solid var(--border);
}

.month-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(29,51,55,0.4);
  padding-bottom: 10px;
  border-bottom: 0.5px solid var(--border);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}

.ev-row {
  display: grid;
  grid-template-columns: 60px 1fr 80px;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 0.5px solid rgba(29,51,55,0.06);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.ev-row:last-child {
  border-bottom: none;
}

.ev-date-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ev-day {
  font-size: 28px;
  font-weight: 500;
  color: var(--blu);
  line-height: 1;
  font-style: italic;
}

.ev-weekday {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
}

.ev-meta-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.ev-pill {
  font-size: 10px;
  font-weight: 500;
  padding: 2px 9px;
  border-radius: 999px;
}

.ev-pill.am { background: rgba(218,143,51,0.15); color: #7a4d10; }
.ev-pill.fr { background: rgba(79,139,151,0.1); color: #2a5a66; }
.ev-pill.ed { background: rgba(79,139,151,0.1); color: #2a5a66; }
.ev-pill.cu { background: rgba(79,139,151,0.1); color: #2a5a66; }
.ev-pill.sp { background: rgba(178,194,73,0.15); color: #3d4d10; }

.ev-ora {
  font-size: 11px;
  color: var(--muted);
}

.ev-row-title {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--blu);
  line-height: 1.3;
  margin-bottom: 3px;
}

.ev-location {
  font-size: 11.5px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.ev-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--az-d);
  flex-shrink: 0;
}

.ev-thumb {
  width: 80px;
  height: 68px;
  border-radius: 8px;
  background: #dde9eb;
  overflow: hidden;
  border: 0.5px solid var(--border);
}

.ev-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ev-empty {
  padding: 28px 0;
  text-align: center;
}

.ev-empty-month {
  font-size: 15px;
  font-weight: 500;
  color: rgba(29,51,55,0.22);
  font-style: italic;
  margin-bottom: 4px;
}

.ev-empty-label {
  font-size: 12px;
  color: rgba(29,51,55,0.3);
}

/* Sidebar eventi */
.eventi-sidebar {
  padding: 22px 18px;
  background: var(--cream);
}

.s-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(29,51,55,0.4);
  margin-bottom: 14px;
}

.mini-cal {
  background: #fff;
  border-radius: 10px;
  border: 0.5px solid var(--border);
  overflow: hidden;
  margin-bottom: 18px;
}

.mini-cal-h {
  background: var(--az-d);
  padding: 9px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-cal-m {
  font-size: 12px;
  font-weight: 500;
  color: #fff;
}

.mini-cal-nav {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0 2px;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  padding: 6px 4px;
}

.cal-wd {
  font-size: 9px;
  text-align: center;
  padding: 4px 0;
  color: var(--muted);
  font-weight: 500;
  text-transform: uppercase;
}

.cal-d {
  font-size: 11px;
  text-align: center;
  padding: 5px 2px;
  color: var(--muted);
  border-radius: 4px;
}

.cal-d.ev { background: rgba(218,143,51,0.15); color: #7a4d10; font-weight: 500; }
.cal-d.tod { background: var(--az-d); color: #fff; font-weight: 500; }
.cal-d.oth { color: rgba(29,51,55,0.2); }

.next-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.next-item {
  background: #fff;
  border-radius: 8px;
  padding: 11px 12px;
  border: 0.5px solid var(--border);
}

.next-item-date {
  font-size: 10px;
  font-weight: 500;
  color: #7a4d10;
  background: rgba(218,143,51,0.15);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  margin-bottom: 5px;
}

.next-item-title {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blu);
  line-height: 1.3;
}

.next-item-loc {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

.sidebar-cta {
  background: var(--blu);
  border-radius: 10px;
  padding: 14px;
  text-align: center;
}

.sidebar-cta p {
  font-size: 11.5px;
  color: rgba(255,255,255,0.5);
  line-height: 1.55;
  margin-bottom: 10px;
}

.sidebar-cta a {
  display: block;
  background: var(--ar);
  color: var(--blu);
  padding: 8px 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
}

/* ============================================================
   SINGOLO EVENTO
   ============================================================ */
.single-evento {
  background: var(--cream);
  padding: 60px var(--gutter);
}

.single-evento-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 48px;
  align-items: start;
}

.single-evento-featured {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 28px;
}

.single-evento-featured img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}

.single-evento-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.evento-info-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 0.5px solid var(--border);
  position: sticky;
  top: 80px;
}

.evento-info-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0;
  border-bottom: 0.5px solid var(--border);
}

.evento-info-item:last-child {
  border-bottom: none;
}

.evento-info-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.evento-info-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--blu);
}

/* ============================================================
   CONTATTACI
   ============================================================ */
.body-section {
  background: #fff;
  padding: 60px 0;
}

.body-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.form-title {
  font-size: 26px;
  font-weight: 500;
  color: var(--blu);
  letter-spacing: -0.3px;
  margin-bottom: 6px;
}

.form-title em {
  font-style: italic;
  color: var(--az-d);
}

.form-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.form-field {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--blu);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  opacity: 0.65;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--blu);
  background: var(--cream);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--az-d);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

.form-select {
  appearance: none;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-submit {
  width: 100%;
  background: var(--blu);
  color: #fff;
  padding: 13px 0;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  margin-top: 4px;
  transition: opacity 0.2s;
}

.form-note {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 8px;
}

.info-block {
  margin-bottom: 30px;
}

.info-block-title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--blu);
  margin-bottom: 10px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.info-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--az-d);
  flex-shrink: 0;
  margin-top: 4px;
}

.info-item-label {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 1px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.info-item-value {
  font-size: 13.5px;
  color: var(--blu);
  font-weight: 500;
}

.mappa-ph {
  background: #dde9eb;
  border-radius: 12px;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0.5px solid var(--border);
  margin-top: 10px;
}

.partner-cta {
  background: var(--az-d);
  padding: 52px var(--gutter);
}

.partner-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.partner-cta-title {
  font-size: 28px;
  font-weight: 500;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
}

.partner-cta-title em {
  font-style: italic;
  color: var(--ar);
}

.partner-cta-desc {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  line-height: 1.8;
}

.partner-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.partner-benefit {
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  border: 0.5px solid rgba(255,255,255,0.12);
}

.partner-benefit-title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 3px;
}

.partner-benefit-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* Contatti hero */
.contatti-diretti {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.contatto-item {
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 18px 20px;
  border: 0.5px solid rgba(255,255,255,0.1);
}

.contatto-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 6px;
}

.contatto-value {
  font-size: 15px;
  font-weight: 500;
  color: #fff;
}

.contatto-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--vd-d);
  padding: 40px var(--gutter) 24px;
  border-top: 0.5px solid rgba(29,51,55,0.12);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 22px;
}

.footer-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
  margin-bottom: 8px;
}

.footer-tagline {
  font-size: 12px;
  font-style: italic;
  color: rgba(29,51,55,0.55);
  margin-bottom: 8px;
}

.footer-about {
  font-size: 12px;
  color: rgba(29,51,55,0.5);
  line-height: 1.65;
}

.footer-col-title {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(29,51,55,0.4);
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  font-size: 13px;
  color: rgba(29,51,55,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--blu);
}

.footer-bottom {
  border-top: 0.5px solid rgba(29,51,55,0.12);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
}

.footer-copy,
.footer-org {
  font-size: 11px;
  color: rgba(29,51,55,0.38);
}

/* ============================================================
   ELEMENTOR INTEGRATION
   ============================================================ */
.elementor-page #main-content,
body.is-elementor-page main {
  padding: 0;
  margin: 0;
  max-width: 100%;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  :root { --gutter: 20px; }

  .site-nav-links { display: none; }
  .nav-toggle { display: flex; }

  .site-nav-links.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 60px 0 0 0;
    background: #fff;
    padding: 24px var(--gutter);
    gap: 8px;
    z-index: 99;
  }

  .progetto-inner,
  .manifesto-inner,
  .page-hero,
  .origine-inner,
  .visione-inner,
  .ente-inner,
  .body-inner,
  .partner-cta-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .evento-card { grid-template-columns: 1fr; }
  .evento-img { min-height: 220px; }

  .logos-grid { grid-template-columns: repeat(3, 1fr); }

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

  .main-layout { grid-template-columns: 1fr; }
  .eventi-sidebar { display: none; }

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

  .site-hero { min-height: 360px; }
  .site-hero-logo img { height: 60px; }

  .sec-title { font-size: 24px; }
  .page-hero h1 { font-size: 28px; }

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

/* ── PATCH v3: layout boxed, sidebar eventi, hero bg ── */
.main-layout-wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  background: #fff;
}
.eventi-sidebar {
  overflow-y: auto;
  max-height: 90vh;
  position: sticky;
  top: 60px;
  align-self: start;
}
.sidebar-eventi-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 20px;
}
.sidebar-eventi-item {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 8px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 0.5px solid rgba(29,51,55,0.07);
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}
.sidebar-eventi-item:last-child { border-bottom: none; }
.sidebar-eventi-item:hover { opacity: 0.7; }
.sidebar-ev-date {
  font-size: 10px;
  color: var(--az-d);
  font-weight: 500;
  white-space: nowrap;
}
.sidebar-ev-title {
  font-size: 12px;
  color: var(--blu);
  font-weight: 500;
  line-height: 1.35;
}