/* ViviQui Magazine — foglio di stile del sito
   Palette dal logo: blu ViviQui, rosso della Q, filo tricolore. */

@font-face { font-family: 'Bodoni Moda'; src: url('/assets/fonts/BodoniModa.ttf') format('truetype'); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('/assets/fonts/InstrumentSans.ttf') format('truetype'); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: 'Bodoni Moda'; src: url('/assets/fonts/BodoniModa-Italic.ttf') format('truetype'); font-weight: 400 900; font-style: italic; font-display: swap; }

:root {
  --navy: #212D70;
  --ink: #161D4A;
  --red: #E02420;
  --red-dark: #B81A17;
  --green: #3E9B5C;
  --paper: #FFFFFF;
  --mist: #EEF1F7;
  --line: #D9DEEA;
  --muted: #5B6386;
  --serif: 'Bodoni Moda', 'Didot', 'Bodoni 72', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --band: #F4F5F8;
  --text: #2B2F45;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --header-h: 150px;
  --radius: 0px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 .4em; font-variation-settings: 'opsz' 72; }
h2 { font-size: clamp(32px, 4.4vw, 56px); }
h3 { font-size: 24px; line-height: 1.15; font-variation-settings: 'opsz' 28; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

/* ---------------------------------------------------------- bottoni */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid var(--navy); background: var(--navy); color: #fff; font: 600 16px/1 var(--sans); text-decoration: none; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); border-color: #fff; }
.btn-light:hover { background: var(--red); border-color: var(--red); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost-light:hover { background: #fff; color: var(--navy); border-color: #fff; }
.link-more { font-weight: 600; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 6px; white-space: nowrap; }

/* ----------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s; }
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.brand { flex: 0 0 auto; display: block; width: 258px; }
.brand img { width: 100%; height: auto; }
.brand-white { display: none; }
.main-nav { display: flex; gap: 26px; margin-left: auto; }
.main-nav a { font-weight: 500; font-size: 16px; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a[aria-current] { border-color: var(--red); }
.header-cta { flex: 0 0 auto; }
.menu-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; cursor: pointer; color: inherit; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 24px; height: 2px; background: currentColor; margin: 0 auto; position: relative; transition: transform .25s; }
.menu-icon::before, .menu-icon::after { content: ''; position: absolute; left: 0; }
.menu-icon::before { top: -7px; } .menu-icon::after { top: 7px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }

/* header sopra la copertina */
.site-header.is-overlay { position: fixed; left: 0; right: 0; background: transparent; backdrop-filter: none; border-color: transparent; color: #fff; }
.site-header.is-overlay .brand-color { display: none; }
.site-header.is-overlay .brand-white { display: block; }
.site-header.is-overlay .header-cta { background: transparent; border-color: rgba(255,255,255,.7); }
.site-header.is-overlay .header-cta:hover { background: #fff; color: var(--navy); }
.site-header.is-overlay.is-solid { background: rgba(255,255,255,.97); color: var(--ink); border-color: var(--line); backdrop-filter: saturate(1.4) blur(10px); }
.site-header.is-overlay.is-solid .brand-color { display: block; }
.site-header.is-overlay.is-solid .brand-white { display: none; }
.site-header.is-overlay.is-solid .header-cta { background: var(--navy); border-color: var(--navy); color: #fff; }

.menu-panel { position: fixed; inset: 0; z-index: 45; background: var(--navy); color: #fff; padding: calc(var(--header-h) + 24px) var(--gut) 40px; overflow-y: auto; display: flex; flex-direction: column; gap: 32px; }
.menu-panel[hidden] { display: none; }
.menu-panel nav { display: flex; flex-direction: column; }
.menu-panel nav a { font: 500 clamp(34px, 9vw, 52px)/1.15 var(--serif); text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.menu-panel nav a:nth-last-child(-n+2) { font: 500 20px/1.4 var(--sans); padding: 14px 0; }
.menu-open .site-header { color: #fff; background: var(--navy); border-color: transparent; }
.menu-open .site-header .brand-color { display: none; }
.menu-open .site-header .brand-white { display: block; }
.install-btn { align-self: flex-start; background: #fff; color: var(--navy); border: 0; border-radius: 999px; min-height: 48px; padding: 0 22px; font: 600 16px var(--sans); }

@media (max-width: 1080px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .brand { width: 200px; }
}

/* social */
.header-social, .menu-social, .footer-social { display: flex; align-items: center; gap: 6px; }
.header-social a, .menu-social a, .footer-social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: inherit; text-decoration: none; transition: background .2s, color .2s; }
.header-social a:hover { background: var(--mist, #EEF1F7); color: var(--red); }
.site-header.is-overlay:not(.is-solid) .header-social a:hover { background: rgba(255,255,255,.16); color: #fff; }
.header-social { margin-left: -8px; }
.menu-social a { width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.3); }
.menu-social svg { width: 24px; height: 24px; }
.footer-social { margin: 6px 0 18px -10px; }
.site-footer .footer-social a { display: inline-grid; padding: 0; color: #fff; }
.site-footer .footer-social a:hover { background: rgba(255,255,255,.12); text-decoration: none; }
@media (max-width: 1240px) { .header-social { display: none; } }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: min(100svh, 920px); min-height: min(100vh, 920px); color: #fff; background: var(--navy); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img, .hero-slide video { width: 100%; height: 100%; object-fit: cover; }
.hero-slide img { transform: scale(1.08); transform-origin: 50% 40%; }
.hero-slide.is-active img { animation: drift 16s ease-out forwards; }
@keyframes drift { from { transform: scale(1.14) translate3d(1.5%, 1%, 0); } to { transform: scale(1.02) translate3d(0, 0, 0); } }
.hero-shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(14,20,58,.55) 0%, rgba(14,20,58,0) 22%),
  linear-gradient(0deg, rgba(14,20,58,.88) 0%, rgba(14,20,58,.35) 45%, rgba(14,20,58,.05) 70%); }
.hero-content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 28px; }
.hero-title { font-size: clamp(76px, 15.5vw, 236px); line-height: .86; letter-spacing: -0.035em; margin: 0 0 28px; font-weight: 400; font-variation-settings: 'opsz' 96; }
.hero-vivi { display: block; font-size: .42em; letter-spacing: -0.01em; margin-bottom: .08em; font-style: italic; }
.hero-city { display: inline-block; transition: opacity .5s, transform .5s; }
.hero-city.is-out { opacity: 0; transform: translateY(.12em); }
.hero-around { display: inline-block; font-size: .4em; font-style: italic; letter-spacing: -0.01em; white-space: nowrap; }
.hero-around::after { content: ''; display: inline-block; width: .3em; height: .3em; border-radius: 50%; background: var(--red); margin-left: .08em; }
.hero-lede { font-size: clamp(18px, 1.7vw, 22px); max-width: 34ch; margin-bottom: 28px; color: rgba(255,255,255,.92); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-index { display: flex; gap: 28px; padding-bottom: 28px; }
.hero-index button { background: none; border: 0; color: rgba(255,255,255,.65); font: 500 15px var(--sans); padding: 10px 0; cursor: pointer; min-width: 96px; text-align: left; }
.hero-index button[aria-selected="true"] { color: #fff; }
.hero-index i { display: block; height: 2px; background: rgba(255,255,255,.3); margin-top: 8px; position: relative; overflow: hidden; }
.hero-index i::after { content: ''; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-index button[aria-selected="true"] i::after { animation: progress var(--slide-ms, 8000ms) linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.hero-credit { position: absolute; right: var(--gut); bottom: 12px; margin: 0; font-size: 12px; color: rgba(255,255,255,.6); }
@media (max-width: 640px) { .hero-credit { right: auto; left: var(--gut); bottom: 6px; } .hero-index { padding-bottom: 30px; } }

/* --------------------------------------------------------- province */
.provinces { border-bottom: 1px solid var(--line); }
.provinces-row { display: flex; align-items: baseline; gap: 28px; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.provinces-label { margin: 0; color: var(--muted); font-size: 15px; }
.provinces ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 32px; align-items: baseline; }
.provinces li a { font: 500 clamp(22px, 2.4vw, 30px)/1.2 var(--serif); text-decoration: none; }
.provinces li.soon { font: italic 400 clamp(18px, 1.8vw, 22px)/1.2 var(--serif); color: var(--muted); }

/* --------------------------------------------------------- sezioni */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section + .section { padding-top: 0; }
.section-head { margin-bottom: 36px; }
.section-head p { color: var(--muted); max-width: 46ch; margin: 0 0 14px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head.row h2 { margin: 0; }
.sub-head { font-size: clamp(28px, 3vw, 38px); margin: 0 0 24px; }
.kicker { font-size: 15px; font-weight: 600; color: var(--red); margin: 0 0 8px; }

/* agenda */
.agenda-grid { display: grid; grid-template-columns: minmax(240px, 4fr) 8fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.section-head.sticky { position: sticky; top: calc(var(--header-h) + 24px); }
@media (max-width: 860px) { .agenda-grid { grid-template-columns: 1fr; } .section-head.sticky { position: static; } }
.event-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.event-row { border-bottom: 1px solid var(--line); }
.event-row a { display: grid; grid-template-columns: 76px 1fr 136px; gap: 24px; align-items: center; padding: 22px 0; text-decoration: none; color: inherit; }
.event-row a:hover h3 { color: var(--red); }
.event-date { display: flex; flex-direction: column; align-items: flex-start; font-family: var(--serif); line-height: 1; }
.event-date .d { font-size: 52px; font-variation-settings: 'opsz' 96; letter-spacing: -0.03em; }
.event-date .m { font: 600 14px/1 var(--sans); color: var(--red); margin-top: 6px; }
.event-text h3 { margin: 0 0 6px; transition: color .2s; }
.event-where, .event-when { margin: 0; font-size: 15px; color: var(--muted); }
.event-when { color: var(--ink); }
.event-thumb { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px) { .event-row a { grid-template-columns: 60px 1fr 84px; gap: 14px; } .event-date .d { font-size: 40px; } .event-text h3 { font-size: 20px; } }

/* storie */
.stories-grid { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(28px, 4vw, 56px); }
.stories-side { display: flex; flex-direction: column; gap: 28px; }
@media (max-width: 860px) { .stories-grid { grid-template-columns: 1fr; } }
.story a { text-decoration: none; color: inherit; display: block; }
.story a:hover h3 { color: var(--red); }
.story h3 { transition: color .2s; }
.story-img { overflow: hidden; border-radius: var(--radius); background: var(--mist); aspect-ratio: 3 / 2; margin-bottom: 18px; }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story a:hover .story-img img { transform: scale(1.03); }
.story-section { font-size: 14px; font-weight: 600; color: var(--red); margin: 0 0 8px; }
.story-partner { color: var(--muted); font-weight: 500; }
.story-excerpt { color: var(--muted); margin: 0; }
.story-l h3 { font-size: clamp(32px, 3.6vw, 48px); }
.story-l .story-img { aspect-ratio: 16 / 11; }
.story-s a { display: grid; grid-template-columns: 1fr 150px; gap: 20px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.story-s .story-img { order: 2; margin: 0; aspect-ratio: 1; }
.story-s h3 { font-size: 23px; margin: 0; }
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 44px 32px; }

/* territori */
.places-scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gut) 12px; scroll-padding: 0 var(--gut); scrollbar-width: thin; }
@media (min-width: 1240px) { .places-scroller { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.place-card { position: relative; flex: 0 0 auto; width: clamp(220px, 24vw, 300px); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; scroll-snap-align: start; background: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; isolation: isolate; }
.place-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.place-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,20,58,.85), rgba(14,20,58,0) 60%); }
.place-card:hover { color: #fff; }
.place-card:hover img { transform: scale(1.04); }
.place-name { font: 500 34px/1.05 var(--serif); font-variation-settings: 'opsz' 72; }
.place-meta { font-size: 14px; color: rgba(255,255,255,.82); margin-top: 6px; }
.place-card.no-img { background: var(--navy) repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px); }
.place-initial { position: absolute; top: 4px; right: 14px; font: italic 400 180px/1 var(--serif); color: rgba(255,255,255,.1); z-index: -1; }
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.place-grid .place-card { width: auto; }

/* attività */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { border: 1px solid var(--line); padding: 8px 16px; border-radius: 999px; text-decoration: none; font-size: 15px; font-weight: 500; }
.chips a:hover, .chips a[aria-current] { border-color: var(--navy); background: var(--navy); color: #fff; }
.chips .chip-promo { border-color: var(--red); color: var(--red); }
.chips .chip-promo:hover { background: var(--red); color: #fff; }
.sponsor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 36px 24px; }
.sponsor-link { display: block; text-decoration: none; color: inherit; }
.sponsor-visual { aspect-ratio: 4 / 5; background: var(--mist); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; padding: 18px; overflow: hidden; margin-bottom: 14px; }
.sponsor-visual img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; box-shadow: 0 1px 2px rgba(22,29,74,.12), 0 10px 24px -12px rgba(22,29,74,.35); transition: transform .4s ease; }
.sponsor-link:hover .sponsor-visual img { transform: translateY(-4px) rotate(-.6deg); }
.sponsor-link:hover h3 { color: var(--red); }
.sponsor-body h3 { font-size: 22px; margin: 0 0 4px; transition: color .2s; }
.sponsor-cat { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.sponsor-place { margin: 0; font-size: 15px; }
.sponsor-place span { color: var(--muted); }
.promo-tag { display: inline-block; margin: 10px 0 0; font-size: 13px; font-weight: 700; color: var(--red); padding-left: 16px; position: relative; }
.promo-tag::before { content: ''; position: absolute; left: 0; top: 50%; width: 9px; height: 9px; border-radius: 50%; background: var(--red); transform: translateY(-50%); }

/* magazine in home */
.magazine-home { background: var(--mist); }
.magazine-home + .ad-band { margin-top: 0; }
.mag-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .mag-grid { grid-template-columns: 1fr; } }
.mag-cover { max-width: 420px; aspect-ratio: 210 / 297; box-shadow: 0 30px 60px -30px rgba(22,29,74,.55); transform: rotate(-2deg); background: #fff; }
.mag-cover img { width: 100%; height: 100%; object-fit: cover; }
.mag-cover.is-empty { position: relative; overflow: hidden; background: var(--navy); display: flex; flex-direction: column; justify-content: space-between; padding: 9% 8%; color: #fff; isolation: isolate; }
.mag-cover.is-empty > img.cover-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.mag-cover.is-empty::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,20,58,.55), rgba(14,20,58,0) 35%, rgba(14,20,58,.75)); }
.mag-cover.is-empty .cover-logo { width: 100%; height: auto; }
.mag-cover.is-empty .cover-lines { font: italic 400 clamp(20px, 2.2vw, 28px)/1.2 var(--serif); }
.mag-cover.is-empty .cover-lines small { display: block; font: 600 13px var(--sans); font-style: normal; margin-top: 10px; opacity: .85; }
.mag-period { color: var(--muted); }
.mag-print { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* banda pubblicità */
.ad-band { background: var(--navy); color: #fff; padding: clamp(56px, 7vw, 96px) 0; }
.ad-grid { display: grid; grid-template-columns: 6fr 5fr auto; gap: 40px; align-items: end; }
.ad-band h2 { margin-bottom: 16px; }
.ad-band p { color: rgba(255,255,255,.85); max-width: 46ch; margin: 0; }
.ad-points { list-style: none; margin: 0; padding: 0; }
.ad-points li { padding: 12px 0; border-top: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); }
.ad-points strong { color: #fff; font-weight: 600; }
@media (max-width: 960px) { .ad-grid { grid-template-columns: 1fr; align-items: start; } }

/* --------------------------------------------------- pagine interne */
.page-head { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(28px, 4vw, 48px); }
.page-head h1 { font-size: clamp(48px, 8vw, 104px); letter-spacing: -0.03em; margin: 0 0 16px; font-variation-settings: 'opsz' 96; }
.lede { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; margin-bottom: 18px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs.light, .crumbs.light a { color: rgba(255,255,255,.85); }
.empty { color: var(--muted); padding: 40px 0; }

.prose { max-width: 68ch; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(26px, 2.6vw, 34px); margin: 1.6em 0 .5em; }
.prose h3 { margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 24px; border-left: 3px solid var(--red); }
.prose blockquote p { font: italic 400 clamp(22px, 2.2vw, 28px)/1.35 var(--serif); color: var(--navy); }
.prose a { color: var(--navy); text-decoration-color: var(--red); }
.credit { font-size: 13px; color: var(--muted); }
.tick-list { list-style: none; padding: 0; margin: 0 0 28px; }
.tick-list li { padding: 10px 0 10px 22px; border-bottom: 1px solid var(--line); position: relative; }
.tick-list li::before { content: ''; position: absolute; left: 0; top: 19px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.tick-list.cols { columns: 2 260px; column-gap: 32px; }
.tick-list.cols li { break-inside: avoid; }

/* territorio */
.place-hero { position: relative; min-height: 64vh; display: flex; align-items: flex-end; color: #fff; background: var(--navy); isolation: isolate; margin-top: calc(-1 * var(--header-h)); padding-top: var(--header-h); }
.place-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.place-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,20,58,.85), rgba(14,20,58,.1) 65%); }
.place-hero.no-img { min-height: 46vh; }
.place-hero.no-img::before { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px); }
.place-hero-text { padding-bottom: 48px; }
.place-hero h1 { font-size: clamp(64px, 11vw, 160px); letter-spacing: -0.035em; line-height: .9; margin: 0 0 16px; font-variation-settings: 'opsz' 96; }
.place-hero p { font-size: clamp(19px, 1.8vw, 23px); max-width: 40ch; margin: 0; }
.place-body { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 6vw, 96px); padding-top: clamp(40px, 6vw, 80px); padding-bottom: 40px; }
.place-aside h2 { font-size: 24px; margin-bottom: 12px; }
@media (max-width: 860px) { .place-body { grid-template-columns: 1fr; } }
.place-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding-bottom: 40px; }
.place-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius); }
@media (max-width: 640px) { .place-gallery { grid-template-columns: 1fr 1fr; } }
.is-overlay-page .site-header { position: fixed; }
.prov-group { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 20px); }
.prov-group h2 { font-size: clamp(26px, 3vw, 36px); border-top: 1px solid var(--ink); padding-top: 16px; }
.soon-block p { color: var(--muted); max-width: 60ch; }

/* eventi */
.month { margin-bottom: 56px; }
.month h2 { font-size: clamp(26px, 3vw, 36px); }
.past { margin: 24px 0 80px; }
.past summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
.event-page { padding-bottom: 40px; }
.event-page .page-head { padding-left: 0; padding-right: 0; }
.event-layout { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.event-figure { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; }
.event-figure img { width: 100%; max-height: 560px; object-fit: cover; }
.event-facts { position: sticky; top: calc(var(--header-h) + 24px); border-top: 1px solid var(--ink); padding-top: 8px; display: flex; flex-direction: column; gap: 12px; }
.event-facts dl { margin: 0 0 12px; }
.event-facts dt { font-size: 14px; color: var(--muted); margin-top: 16px; }
.event-facts dd { margin: 4px 0 0; font: 500 21px/1.3 var(--serif); }
.event-facts small { font: 400 15px var(--sans); color: var(--muted); }
@media (max-width: 860px) { .event-layout { grid-template-columns: 1fr; } .event-facts { position: static; } }

/* elenco attività */
.filters { display: grid; grid-template-columns: 2fr 1.4fr 1.4fr auto auto; gap: 14px; align-items: end; padding: 20px; background: var(--mist); border-radius: var(--radius); margin-bottom: 18px; }
.filters label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.filters .check.inline { display: flex; align-items: center; gap: 8px; min-height: 48px; }
.filters .check.inline span { margin: 0; font-weight: 500; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters label:first-child { grid-column: 1 / -1; } }
input, select, textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: 400 16px var(--sans); color: var(--ink); }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 0; border-color: var(--navy); }
input[type=checkbox] { width: 20px; min-height: 20px; height: 20px; accent-color: var(--navy); }
.result-count { color: var(--muted); font-size: 15px; margin-bottom: 32px; }

/* scheda attività */
.sponsor-page { padding-bottom: 40px; }
.sponsor-page .page-head { padding-left: 0; padding-right: 0; }
.sponsor-layout { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.sponsor-figure { margin: 0 0 36px; background: var(--mist); padding: clamp(16px, 4vw, 48px); border-radius: var(--radius); }
.sponsor-figure img { margin: 0 auto; max-height: 820px; width: auto; box-shadow: 0 20px 40px -24px rgba(22,29,74,.5); }
.sponsor-gallery { display: grid; gap: 16px; margin-top: 32px; }
.sponsor-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.sponsor-aside h2 { font-size: 26px; border-top: 1px solid var(--ink); padding-top: 14px; }
.contact-list { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-list li { padding: 10px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 16px; }
.contact-list .k { color: var(--muted); font-size: 14px; padding-top: 2px; }
.contact-list a { word-break: break-word; }
.sponsor-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.promo-box { background: var(--mist); border-left: 3px solid var(--red); padding: 16px 18px; margin-bottom: 28px; }
.promo-box .promo-tag { margin-top: 0; }
.promo-box p:last-child { margin: 6px 0 0; }
.share-btn { background: none; border: 0; padding: 8px 0; font: 600 15px var(--sans); color: var(--navy); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
@media (max-width: 860px) { .sponsor-layout { grid-template-columns: 1fr; } .sponsor-aside { position: static; } }

/* articolo */
.article-head { padding-top: clamp(40px, 6vw, 80px); }
.article-head h1 { max-width: 20ch; }
.article-head .lede { max-width: 52ch; }
.article-head h1 { font-size: clamp(42px, 6.4vw, 84px); letter-spacing: -0.03em; font-variation-settings: 'opsz' 96; }
.byline { font-size: 15px; color: var(--muted); }
.article-figure { margin: 24px auto 0; }
.article-figure img { width: 100%; max-width: 880px; max-height: 620px; object-fit: cover; border-radius: var(--radius); }
.article-body { display: grid; grid-template-columns: minmax(0, 68ch) minmax(240px, 320px); gap: clamp(32px, 6vw, 96px); padding-top: 48px; padding-bottom: 32px; justify-content: space-between; }
.article-body > .prose > p:first-child::first-letter { font: 400 4.2em/.8 var(--serif); float: left; margin: .06em .08em 0 0; color: var(--navy); }
.partner-box { align-self: start; position: sticky; top: calc(var(--header-h) + 24px); border-top: 1px solid var(--ink); padding-top: 14px; }
.partner-box .kicker { color: var(--muted); font-weight: 500; }
.partner-box h2 { font-size: 26px; }
.partner-box h2 a { text-decoration: none; }
@media (max-width: 900px) { .article-body { grid-template-columns: 1fr; } .partner-box { position: static; } }

/* magazine e lettore */
.issue-hero { display: grid; grid-template-columns: minmax(220px, 380px) 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; margin-bottom: 72px; }
.issue-hero-cover { display: block; box-shadow: 0 30px 60px -30px rgba(22,29,74,.55); aspect-ratio: 210 / 297; background: var(--mist); }
.issue-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) { .issue-hero { grid-template-columns: 1fr; } .issue-hero-cover { max-width: 300px; } }
.issue-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 24px; margin-bottom: 80px; }
.issue-card a { text-decoration: none; }
.issue-cover { aspect-ratio: 210 / 297; background: var(--mist); margin-bottom: 12px; box-shadow: 0 16px 30px -20px rgba(22,29,74,.5); }
.issue-cover img { width: 100%; height: 100%; object-fit: cover; }
.issue-card h3 { font-size: 20px; margin: 0 0 2px; }
.issue-card p { font-size: 14px; color: var(--muted); margin: 0; }
.issue-placeholder { display: flex; height: 100%; align-items: center; justify-content: center; text-align: center; font: 400 28px/1.1 var(--serif); color: var(--navy); }
.empty-state { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; padding-bottom: 96px; }
.empty-state .mag-cover { transform: none; }
@media (max-width: 760px) { .empty-state { grid-template-columns: 1fr; } .empty-state .mag-cover { max-width: 240px; } }

.is-reader { background: #1B2150; }
.is-reader .site-footer { display: none; }
.reader { color: #fff; min-height: calc(100vh - var(--header-h)); display: flex; flex-direction: column; }
.reader-bar { display: flex; align-items: center; gap: 16px; padding: 10px var(--gut); border-bottom: 1px solid rgba(255,255,255,.12); flex-wrap: wrap; }
.reader-bar h1 { font-size: 20px; margin: 0; flex: 1; min-width: 160px; }
.reader-back { text-decoration: none; font-weight: 600; }
.reader-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.reader-tools button, .reader-tools a { min-height: 40px; min-width: 40px; padding: 0 12px; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; border-radius: 999px; font: 600 14px var(--sans); text-decoration: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.reader-tools button:hover, .reader-tools a:hover { background: #fff; color: var(--navy); }
.reader-tools button.is-saved { border-color: #7FD39C; color: #7FD39C; }
.reader-count { font-size: 14px; color: rgba(255,255,255,.75); margin-right: 8px; min-width: 90px; }
.reader-stage { flex: 1; position: relative; display: flex; align-items: center; justify-content: center; padding: 20px 64px; overflow: auto; touch-action: pan-y pinch-zoom; }
.reader-spread { display: flex; justify-content: center; align-items: flex-start; gap: 0; transition: opacity .25s; }
.reader-spread canvas { display: block; background: #fff; box-shadow: 0 20px 50px -20px rgba(0,0,0,.6); max-width: 100%; height: auto; }
.reader-spread.is-loading { opacity: .4; }
.reader-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 72px; border: 0; background: rgba(255,255,255,.08); color: #fff; font-size: 34px; cursor: pointer; border-radius: var(--radius); z-index: 2; }
.reader-nav:hover { background: rgba(255,255,255,.2); }
.reader-nav.prev { left: 8px; } .reader-nav.next { right: 8px; }
.reader-nav:disabled { opacity: .2; cursor: default; }
.reader-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px var(--gut) 16px; border-top: 1px solid rgba(255,255,255,.12); }
.reader-thumbs button { flex: 0 0 auto; border: 2px solid transparent; padding: 0; background: rgba(255,255,255,.1); cursor: pointer; width: 54px; height: 76px; border-radius: 2px; color: rgba(255,255,255,.7); font-size: 12px; }
.reader-thumbs button[aria-current] { border-color: var(--red); }
.reader-thumbs canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 640px) { .reader-stage { padding: 12px 8px; } .reader-nav { display: none; } .reader-bar h1 { font-size: 17px; } }

/* moduli */
.lead-form { background: var(--mist); padding: clamp(20px, 3vw, 36px); border-radius: var(--radius); align-self: start; }
.lead-form h2 { font-size: clamp(26px, 2.6vw, 34px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.form-grid label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-grid label em { font-weight: 400; color: var(--muted); font-style: normal; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; margin-bottom: 18px; }
.check input { flex: 0 0 auto; margin-top: 2px; }
.notice { padding: 12px 16px; border-radius: var(--radius); }
.notice.ok { background: #E3F2E8; color: #1C5A33; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-bottom: 96px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.magazine-home .lead-form { background: #fff; margin-top: 20px; }

/* chi siamo */
.about { padding-bottom: 80px; }
.about-figures { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); margin-bottom: 56px; }
.about-figures div { padding: 20px 20px 20px 0; }
.about-figures strong { display: block; font: 400 clamp(56px, 7vw, 96px)/1 var(--serif); color: var(--navy); letter-spacing: -0.03em; }
.about-figures span { color: var(--muted); }
@media (max-width: 640px) { .about-figures { grid-template-columns: 1fr; } }
.not-found { padding: 120px var(--gut); max-width: 760px; }
.not-found h1 { font-size: clamp(44px, 7vw, 88px); }

/* ----------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 72px 0 28px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; }
.footer-brand img { width: 280px; max-width: 100%; height: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.site-footer h2 { font: 600 15px var(--sans); color: #fff; margin: 0 0 14px; }
.site-footer a { display: block; text-decoration: none; padding: 4px 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 22px; font-size: 14px; color: rgba(255,255,255,.6); }
.footer-base p { margin: 0; display: flex; gap: 20px; }
.footer-base a { display: inline; padding: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* toast installazione / offline */
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: 15px; z-index: 60; box-shadow: 0 10px 30px -10px rgba(0,0,0,.5); }

/* guida alle attività */
.guide-browse { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(28px, 5vw, 72px); margin-bottom: 56px; }
.guide-browse h2 { font-size: clamp(26px, 3vw, 36px); border-top: 1px solid var(--ink); padding-top: 14px; }
@media (max-width: 900px) { .guide-browse { grid-template-columns: 1fr; } }
.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.cat-tiles a { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; min-height: 96px; padding: 16px 18px; background: var(--mist); border-radius: var(--radius); text-decoration: none; transition: background .2s, color .2s; }
.cat-tiles a:hover { background: var(--navy); color: #fff; }
.cat-name { font: 500 22px/1.15 var(--serif); font-variation-settings: 'opsz' 28; }
.cat-count { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.cat-tiles a:hover .cat-count { color: rgba(255,255,255,.75); }
.zone-list { list-style: none; margin: 0; padding: 0; }
.zone-list a { display: flex; justify-content: space-between; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; font-weight: 500; }
.zone-list a:hover { color: var(--red); }
.guide-home { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(28px, 5vw, 64px); margin-bottom: 64px; align-items: start; }
.guide-home-zones h3 { font-size: 24px; margin-bottom: 8px; }
.guide-home-zones .link-more { display: inline-block; margin-top: 20px; }
@media (max-width: 900px) { .guide-home { grid-template-columns: 1fr; } }
.featured-head { margin-bottom: 20px; }
.filters { grid-template-columns: 2fr repeat(3, 1.3fr) auto auto; }
@media (max-width: 1000px) { .filters { grid-template-columns: 1fr 1fr; } .filters label:first-child { grid-column: 1 / -1; } }
.wrap > .sponsor-grid:last-child, .wrap > .story-grid:last-child, .wrap > .empty:last-child { margin-bottom: clamp(64px, 8vw, 104px); }
@media (max-width: 600px) {
  .cat-tiles { grid-template-columns: 1fr 1fr; gap: 8px; }
  .cat-tiles a { min-height: 76px; padding: 12px 14px; flex-direction: column; align-items: flex-start; justify-content: space-between; }
  .cat-name { font-size: 19px; }
  .sponsor-grid { grid-template-columns: 1fr 1fr; gap: 28px 14px; }
  .sponsor-visual { padding: 10px; }
  .sponsor-body h3 { font-size: 18px; }
  .sponsor-cat, .sponsor-place { font-size: 13px; }
  .hero-title { margin-bottom: 20px; }
}

/* ------------------------------------------------------- vicino a te */
.near-band { background: var(--navy); color: #fff; }
.near-band-row { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.near-band h2 { font: 400 clamp(26px, 3vw, 36px)/1.1 var(--serif); margin: 0 0 4px; color: #fff; }
.near-band p { margin: 0; color: rgba(255,255,255,.82); max-width: 60ch; }
.near-pin { color: var(--red); }
@media (max-width: 720px) { .near-band-row { grid-template-columns: auto 1fr; } .near-band .btn { grid-column: 1 / -1; justify-self: start; } }
.near { padding-bottom: 80px; }
.near-panel { border-top: 1px solid var(--ink); padding-top: 18px; margin-bottom: 26px; }
.near-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.near [hidden] { display: none !important; }
.near-settings { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; margin-top: 18px; font-size: 16px; }
.near-settings label { display: inline-flex; align-items: center; gap: 8px; }
.near-settings .link-more { background: none; border: 0; padding: 0; font: 600 15px var(--sans); color: var(--ink); cursor: pointer; }
.near-settings select { min-height: 40px; border: 1px solid var(--line); border-radius: 8px; padding: 6px 10px; font: inherit; background: #fff; }
.near-status { color: var(--muted); margin: 14px 0 0; min-height: 1.4em; }
.near-ios { background: var(--mist, #EEF1F7); border-radius: 12px; padding: 12px 16px; max-width: 70ch; }
.near-filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 500 15px var(--sans); cursor: pointer; color: var(--ink); }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.near-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.near-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.near-km { font: 400 30px/1 var(--serif); color: var(--navy); text-align: right; }
.near-km small { display: block; font: 500 12px var(--sans); color: var(--muted); margin-top: 4px; }
.near-kind { font: 600 12px var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--red); }
.near-item h3 { font: 400 22px/1.2 var(--serif); margin: 2px 0 4px; }
.near-item h3 a { text-decoration: none; }
.near-item p { margin: 0; color: var(--muted); font-size: 15px; }
.near-item .btn { white-space: nowrap; }
@media (max-width: 640px) { .near-item { grid-template-columns: 56px 1fr; } .near-item .btn { grid-column: 2; justify-self: start; } .near-km { font-size: 24px; } }


/* =====================================================================
   IMPIANTO DA RIVISTA DI SETTORE
   titoli in maiuscolo bastone leggero, testo in graziato, firme in corsivo,
   filetti sottili, molto bianco e bande grigie. Identità ViviQui: logo,
   Bodoni per città e copertina, blu e rosso.
   ===================================================================== */
body { font: 400 17px/1.6 var(--sans); }
.h-small { font-size: clamp(22px, 2.4vw, 28px) !important; }
.byline { font: italic 400 14px/1.4 var(--serif); font-variation-settings: 'opsz' 11; color: var(--muted); margin: 10px 0 0; }
/* l'identità resta in Bodoni */
.hero-title, .place-hero h1, .place-name, .event-date, .about-figures strong, .near-km, .issue-placeholder, .prose blockquote p, .cover-lines { text-transform: none; }
.hero-title { font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em; font-variation-settings: 'opsz' 96; }

/* bottoni e campi arrotondati */
.btn { border-radius: 999px; min-height: 46px; padding: 0 26px; }
.btn-small { min-height: 40px; padding: 0 20px; font-size: 15px; }
.btn-ghost { border-color: var(--ink); color: var(--ink); }
.chips a, .chip, .install-btn, .reader-tools button, .reader-tools a, .toast { border-radius: 999px; }
input, select, textarea { border-radius: 14px; font-family: var(--sans); }
input[type="search"] { border-radius: 999px; }

/* etichette e occhielli */
.story-section, .sponsor-cat, .kicker, .near-kind, .provinces-label, .week-kicker, .popular-place, .mag-period, .event-facts dt, .contact-list .k, .crumbs {
  font: 600 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--ink); }
.story-section { margin: 0 0 10px; }
.is-sponsored .story-section { color: var(--muted); }
.story-partner { color: var(--muted); font-weight: 500; letter-spacing: .08em; }
.kicker { color: var(--red); }

/* ----------------------------------------------------------- testata */
.topbar { background: var(--ink); color: rgba(255,255,255,.82); font: 400 12px/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 36px; }
.topbar-cities { display: flex; flex-wrap: wrap; gap: 4px 26px; }
.topbar a { color: inherit; text-decoration: none; padding: 10px 0; }
.topbar a:hover { color: #fff; }
.topbar-cities a { position: relative; }

.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-social { display: flex; gap: 2px; }
.topbar-social a { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; }
.topbar-social svg { width: 16px; height: 16px; }

.site-header { position: sticky; top: 0; background: #fff; backdrop-filter: none; border-bottom: 1px solid var(--line); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 104px; }
.brand { width: 350px; justify-self: center; }
.header-left, .header-utils { display: flex; align-items: center; gap: 0; font: 500 13px/1 var(--sans); text-transform: uppercase; letter-spacing: .12em; }
.header-utils { justify-self: end; }
.header-left a, .header-utils a:not(.btn) { text-decoration: none; padding: 6px 14px; white-space: nowrap; }
.header-utils .btn { white-space: nowrap; }
.header-utils a:not(.btn) + a:not(.btn) { border-left: 1px solid var(--line); }
.header-utils .btn { margin-left: 14px; }
.header-near { display: inline-flex; align-items: center; gap: 8px; padding-left: 0 !important; }
.header-near svg { color: var(--red); }
.main-nav { display: block; margin: 0; border-top: 1px solid var(--line); }
.main-nav .wrap { display: flex; justify-content: center; gap: 34px; }
.main-nav a { font: 500 16px/1 var(--sans); padding: 13px 0 12px; border-bottom: 2px solid transparent; text-decoration: none; }
.main-nav a[aria-current] { border-color: var(--red); }
.main-nav a:hover { color: var(--red); }
.header-social { display: none; }
@media (max-width: 1080px) {
  :root { --header-h: 68px; }
  .topbar { display: none; }
  .header-row { display: flex; height: 68px; }
  .header-left, .header-utils, .main-nav { display: none; }
  .brand { width: 190px; }
}
.menu-panel { padding-top: calc(var(--header-h) + 24px); }

/* ------------------------------------------------------------ copertina */
.hero { min-height: min(78svh, 760px); min-height: min(78vh, 760px); }
.hero-content { padding-top: 64px; padding-bottom: 48px; }
.hero-kicker { font: 500 13px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .2em; margin: 0 0 18px; color: rgba(255,255,255,.9); max-width: 60ch; }
.hero-title { font-size: clamp(72px, 13vw, 200px); margin-bottom: 30px; color: #fff; }
.hero-shade { background: linear-gradient(0deg, rgba(14,20,58,.82) 0%, rgba(14,20,58,.3) 45%, rgba(14,20,58,.08) 75%); }
.place-hero { margin-top: 0; padding-top: 0; }

/* province sotto la copertina */
.provinces-row { justify-content: center; text-align: center; padding-top: 18px; padding-bottom: 18px; }
.provinces ul { justify-content: center; gap: 6px 28px; }

/* --------------------------------------------------------- sezioni */
.section { padding: clamp(48px, 6vw, 80px) 0; }
.section-head { margin-bottom: 32px; }
.section-head.row { align-items: center; }

/* schede (stile griglia a 4 colonne) */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
@media (max-width: 1000px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }
.story-img { border-radius: 0; aspect-ratio: 4 / 3; margin-bottom: 16px; position: relative; }
.story h3 { font-size: 23px; line-height: 1.15; margin: 0 0 8px; }
.story-excerpt { font-size: 15.5px; line-height: 1.55; color: var(--text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.story a:hover h3 { color: var(--red); }
.story-l h3 { font-size: clamp(32px, 3.4vw, 46px); }
.story-l .story-img { aspect-ratio: 4 / 3; }
.event-badge { position: absolute; left: 0; bottom: 0; background: #fff; color: var(--ink); padding: 8px 12px 6px; font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; text-align: center; }
.event-badge b { display: block; font: 400 30px/1 var(--serif); letter-spacing: -0.02em; margin-bottom: 3px; }

/* in primo piano: tre colonne */
.feature { padding-top: clamp(40px, 5vw, 64px); }
.feature-grid { display: grid; grid-template-columns: 3fr 5fr 3.2fr; gap: 0; align-items: start; }
.feature-grid > * { padding: 0 28px; }
.feature-grid > * + * { border-left: 1px solid var(--line); }
.feature-grid > :first-child { padding-left: 0; }
.feature-grid > :last-child { padding-right: 0; }
.feature-side { display: flex; flex-direction: column; gap: 36px; }
.feature-side .story-img { aspect-ratio: 3 / 2; }
.feature-side .story h3 { font-size: 22px; }
.feature-side .story-excerpt { display: none; }
@media (max-width: 1000px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .feature-lead { grid-column: 1 / -1; grid-row: 1; padding: 0 !important; border: 0 !important; }
  .feature-side { padding-left: 0 !important; border: 0 !important; }
}
@media (max-width: 640px) { .feature-grid { grid-template-columns: 1fr; } .feature-grid > * { padding: 0 !important; border: 0 !important; } }

/* riquadri "della settimana" con foto rotonda */
.week-box { text-align: center; }
.week-title { font: 400 15px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .16em; margin: 0 0 22px; color: var(--ink); }
.week-media { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 20px; }
.week-photo { display: block; width: min(210px, 62%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--band); border: 1px solid var(--line); }
.week-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.week-photo:hover img { transform: scale(1.05); }
.week-arrow { border: 0; background: none; font: 400 24px/1 var(--sans); color: var(--ink); width: 40px; height: 40px; cursor: pointer; }
.week-arrow.prev { color: var(--muted); }
.week-arrow:hover { color: var(--red); }
.week-kicker { margin: 0 0 8px; color: var(--red) !important; }
.week-box h3 { font-size: 26px; margin: 0 0 10px; }
.week-box h3 a { text-decoration: none; }
.week-text { font-size: 15.5px; line-height: 1.55; margin: 0 auto 20px; max-width: 34ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.week-row { background: #fff; }
.week-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.week-grid > * { padding: 0 28px; }
.week-grid > * + * { border-left: 1px solid var(--line); }
@media (max-width: 900px) { .week-grid { grid-template-columns: 1fr; gap: 56px; } .week-grid > * + * { border: 0; } }

/* popolari: banda grigia con fila numerata */
.popular { background: var(--band); padding: clamp(44px, 5vw, 64px) 0 36px; }
.popular-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 28px) / 3); gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
.popular-track::-webkit-scrollbar { display: none; }
.popular-item { scroll-snap-align: start; display: grid; grid-template-columns: 132px 1fr; grid-template-rows: auto auto; gap: 0 18px; text-decoration: none; color: inherit; padding-right: 28px; border-right: 1px solid var(--line); }
.popular-img { grid-row: 1 / 3; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.popular-img img { width: 100%; height: 100%; object-fit: cover; }
.popular-text { display: flex; flex-direction: column; gap: 6px; }
.popular-name { font: 500 23px/1.15 var(--serif); font-variation-settings: 'opsz' 28; }
.popular-item:hover .popular-name { color: var(--red); }
.popular-num { grid-column: 2; justify-self: start; margin-top: 18px; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 14px var(--sans); }
.popular .promo-tag { margin-top: 2px; }
.track-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 26px; font: 500 14px var(--sans); color: var(--muted); }
.track-nav button { border: 0; background: none; font: 400 26px/1 var(--sans); width: 44px; height: 44px; cursor: pointer; color: var(--ink); }
.track-nav button:hover { color: var(--red); }
@media (max-width: 900px) { .popular-track { grid-auto-columns: 82%; } .popular-item { grid-template-columns: 110px 1fr; } }

/* territori e guida */
.place-card { border-radius: 0; }
.cat-tiles a { border-radius: 0; background: var(--band); }

/* magazine in home: banda grigia, copertina dritta a destra */
.magazine-home { background: var(--band); padding: clamp(56px, 7vw, 96px) 0; }
.mag-grid { grid-template-columns: 7fr 5fr; }
.mag-grid h2 { font-size: clamp(34px, 4.2vw, 54px); margin-bottom: 18px; }
.mag-cover { transform: none; justify-self: center; width: 100%; max-width: 360px; box-shadow: 0 24px 50px -30px rgba(22,29,74,.6); }
@media (max-width: 860px) { .mag-grid { grid-template-columns: 1fr; } .mag-cover { order: -1; max-width: 260px; } }

/* vicino a te e banda pubblicità */

.ad-band h2 { color: #fff; }
.ad-points strong { font-weight: 600; }

/* attività: schede */
.sponsor-visual { border-radius: 0; background: var(--band); }
.sponsor-visual img { box-shadow: 0 1px 2px rgba(22,29,74,.1), 0 10px 22px -14px rgba(22,29,74,.35); }

/* pagine interne */
.event-facts dd { font: 400 20px/1.3 var(--serif); font-variation-settings: 'opsz' 20; }
.event-figure, .article-figure img, .sponsor-figure, .place-gallery img, .event-thumb, .lead-form, .filters, .notice, .near-ios { border-radius: 0; }


/* ------------------------------------------- testata trasparente sulla foto */
/* in home (e sulle pagine con foto d'apertura) la barra è trasparente; appena si scorre diventa bianca */
.site-header { padding-top: env(safe-area-inset-top); }
.has-overlay .topbar { position: absolute; top: 0; left: 0; right: 0; z-index: 51; background: transparent; border-bottom: 1px solid rgba(255,255,255,.18); }
.site-header.is-overlay { position: fixed; top: 36px; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; transition: background .3s, color .3s, top .25s, border-color .3s, box-shadow .3s; }
.site-header.is-overlay .main-nav { border-top-color: rgba(255,255,255,.22); }
.site-header.is-overlay .header-utils a:not(.btn) + a:not(.btn) { border-left-color: rgba(255,255,255,.35); }
.site-header.is-overlay .main-nav a:hover, .site-header.is-overlay .header-utils a:not(.btn):hover, .site-header.is-overlay .header-near:hover { color: #fff; opacity: .8; }
.site-header.is-overlay.is-solid { top: 0; background: #fff; color: var(--ink); border-color: var(--line); backdrop-filter: none; box-shadow: 0 6px 24px -18px rgba(22,29,74,.5); }
.site-header.is-overlay.is-solid .main-nav { border-top-color: var(--line); }
.site-header.is-overlay.is-solid .header-utils a:not(.btn) + a:not(.btn) { border-left-color: var(--line); }
.site-header.is-overlay.is-solid .main-nav a:hover, .site-header.is-overlay.is-solid .header-utils a:not(.btn):hover { color: var(--red); opacity: 1; }
.has-overlay .hero { min-height: min(100svh, 940px); min-height: min(100vh, 940px); }
.has-overlay .hero-shade { background:
  linear-gradient(180deg, rgba(14,20,58,.62) 0%, rgba(14,20,58,0) 32%),
  linear-gradient(0deg, rgba(14,20,58,.82) 0%, rgba(14,20,58,.3) 45%, rgba(14,20,58,.05) 75%); }
.has-overlay .hero-content { padding-top: 220px; }
.has-overlay .place-hero { padding-top: 200px; }
@media (max-width: 1080px) {
  .site-header.is-overlay { top: 0; }
  .has-overlay .hero-content { padding-top: 110px; }
  .has-overlay .place-hero { padding-top: 90px; }
}

/* ------------------------------------------- ricerca nella copertina */
.hero-search { display: flex; align-items: center; gap: 0; max-width: 640px; background: #fff; color: var(--ink); padding: 6px 6px 6px 20px; border-radius: 999px; box-shadow: 0 18px 40px -24px rgba(0,0,0,.6); }
.hero-search svg { flex: 0 0 auto; color: var(--muted); }
.hero-search input { border: 0; min-height: 50px; font-size: 17px; padding: 0 14px; background: transparent; outline: none; flex: 1; min-width: 0; }
.hero-search input:focus { outline: none; }
.hero-search:focus-within { box-shadow: 0 0 0 3px var(--red), 0 18px 40px -24px rgba(0,0,0,.6); }
.hero-search .btn { flex: 0 0 auto; min-height: 50px; }
.hero-search.is-page { border: 1px solid var(--line); box-shadow: none; margin-top: 8px; }
.hero-search.is-page:focus-within { box-shadow: 0 0 0 2px var(--navy); }
.hero-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 18px 0 0; font-size: 15px; }
.hero-links a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 5px; }
.hero-links a:hover { color: #fff; text-decoration-color: var(--red); }
@media (max-width: 560px) { .hero-search { padding-left: 12px; } .hero-search input { padding: 0 8px; font-size: 16px; } .hero-search .btn { padding: 0 16px; } }
.topbar-search { display: inline-flex; align-items: center; gap: 6px; }
.search-head h1 { margin-bottom: 18px; }
.search-head .hero-search { max-width: 760px; }
.search-head .result-count { margin: 16px 0 0; }
.search-block { margin-bottom: 64px; }
.search-n { font: 600 14px var(--sans); color: var(--muted); vertical-align: middle; margin-left: 6px; }
.search-results { padding-bottom: 40px; }

/* ------------------------------------------- banner a rotazione sotto la copertina */
.adbanner { background: var(--band); padding: 22px 0 18px; border-bottom: 1px solid var(--line); }
.adbanner-label { font: 600 11px/1 var(--sans); text-transform: uppercase; letter-spacing: .18em; color: var(--muted); margin: 0 0 10px; text-align: right; }
.adbanner-viewport { overflow: hidden; }
.adbanner-track { display: flex; transition: transform .7s cubic-bezier(.6,.05,.2,1); touch-action: pan-y; }
.adbanner-track.is-drag { transition: none; }
@media (prefers-reduced-motion: reduce) { .adbanner-track { transition: none; } }
.adbanner-slide { flex: 0 0 100%; display: grid; grid-template-columns: 1.15fr 1fr; min-height: 230px; background: #141A45; color: #fff; text-decoration: none; position: relative; overflow: hidden; }
.adbanner-slide:hover { color: #fff; }
.adbanner-text { display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 26px 34px; position: relative; z-index: 1; }
.adbanner-kicker { font: 600 12px/1.3 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: #C9A24A; }
.adbanner-name { font: 500 clamp(28px, 3.4vw, 44px)/1.05 var(--serif); font-variation-settings: 'opsz' 72; letter-spacing: -0.01em; }
.adbanner-bars { display: flex; gap: 10px; width: 180px; margin: 4px 0 2px; }
.adbanner-bars i { flex: 1; height: 3px; background: var(--green); }
.adbanner-bars i + i { background: var(--red); }
.adbanner-tag { font: italic 400 18px/1.4 var(--serif); font-variation-settings: 'opsz' 20; color: rgba(255,255,255,.9); max-width: 46ch; }
.adbanner-contacts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.8); }
.adbanner-cta { color: #fff; font-weight: 600; }
.adbanner-slide:hover .adbanner-cta { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.adbanner-photo { position: relative; background: #20285c; }
.adbanner-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adbanner-photo::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #141A45 0%, rgba(20,26,69,0) 45%); }
.adbanner-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.adbanner-dots button { width: 28px; height: 24px; border: 0; background: none; cursor: pointer; padding: 0; position: relative; }
.adbanner-dots button::after { content: ''; position: absolute; left: 4px; right: 4px; top: 50%; height: 3px; background: var(--line); }
.adbanner-dots button[aria-selected="true"]::after { background: var(--red); }
@media (max-width: 760px) {
  .adbanner-slide { grid-template-columns: 1fr; grid-template-rows: 150px auto; min-height: 0; }
  .adbanner-photo { grid-row: 1; }
  .adbanner-photo::before { background: linear-gradient(0deg, #141A45 0%, rgba(20,26,69,0) 60%); }
  .adbanner-text { padding: 18px 20px 22px; }
  .adbanner-tag { font-size: 16px; }
}
.popular-cat { font-size: 14px; color: var(--muted); }

/* territori: curiosità "Lo sapevi che?" */
.curiosita { background: #F3F4F7; }
.curio-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; counter-reset: c; }
.curio-list li { counter-increment: c; position: relative; padding-top: 48px; }
.curio-list li::before { content: counter(c); position: absolute; top: 0; left: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--red, #E02420); color: #fff; display: grid; place-items: center; font-weight: 700; }
.curio-list h3 { margin: 0 0 6px; font-size: 1.1rem; }
.curio-list p { margin: 0; line-height: 1.6; }
.prose .sources { font-size: .85rem; color: #5B6386; margin-top: 2rem; border-top: 1px solid #D9DEEA; padding-top: 12px; }
.info-box { background: #F3F4F7; border-top: 3px solid var(--red, #E02420); padding: 18px 20px 8px; margin-bottom: 28px; }
.info-box h2 { margin-top: 0; }
.info-list { margin: 0; }
.info-list > div { padding: 9px 0; border-bottom: 1px solid #D9DEEA; }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--red, #E02420); margin-bottom: 2px; }
.info-list dd { margin: 0; line-height: 1.5; }
.info-list .muted { font-size: .88em; }

/* ------------------------------------------- ricerca sotto la barra di navigazione */
.header-search { border-top: 1px solid var(--line); padding: 10px 0 12px; }
.search-pill { display: flex; align-items: center; max-width: 680px; margin: 0 auto; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 4px 4px 4px 18px; transition: box-shadow .2s, border-color .2s; }
.search-pill svg { flex: 0 0 auto; color: var(--muted); }
.search-pill input { flex: 1; min-width: 0; border: 0; background: transparent; min-height: 40px; padding: 0 12px; font-size: 16px; outline: none; border-radius: 0; }
.search-pill:focus-within { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(33,45,112,.15); }
.search-pill .btn { flex: 0 0 auto; min-height: 40px; }
.site-header.is-overlay .header-search { border-top-color: rgba(255,255,255,.22); }
.site-header.is-overlay:not(.is-solid) .search-pill { border-color: transparent; box-shadow: 0 14px 34px -22px rgba(0,0,0,.7); }
.site-header.is-overlay:not(.is-solid) .search-pill .btn { background: var(--navy); border-color: var(--navy); color: #fff; }
.has-overlay .hero-content { padding-top: 280px; }
.is-search .header-search { display: none; }
@media (max-width: 1080px) {
  .header-search { padding: 8px 0 10px; }
  .has-overlay .hero-content { padding-top: 170px; }
}
@media (max-width: 560px) { .search-pill { padding-left: 14px; } .search-pill input { padding: 0 8px; } .search-pill .btn { padding: 0 16px; } }

/* ------------------------------------------- territori in home, per provincia */
.places-provs { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 40px 24px; }
.places-prov { min-width: 0; }
.places-prov.n-2 { grid-column: span 2; }
.places-prov.n-3 { grid-column: 1 / -1; }
.places-prov-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.places-prov-head h3 { margin: 0; font: 500 clamp(20px, 2vw, 26px)/1.15 var(--serif); }
.places-prov-head h3 a { text-decoration: none; }
.places-prov-head h3 a:hover { color: var(--red); }
.places-prov-head span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.places-row { display: grid; grid-template-columns: repeat(var(--n, 1), 1fr); gap: 16px; }
.places-prov.n-2 .places-row { --n: 2; }
.places-row .place-card { width: auto; aspect-ratio: 4 / 3; }
.places-prov.n-3 .places-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 10px; }
.places-prov.n-3 .place-card { flex: 0 0 clamp(200px, 21vw, 260px); aspect-ratio: 3 / 4; }
@media (max-width: 900px) {
  .places-provs { grid-template-columns: 1fr 1fr; }
  .places-prov.n-2, .places-prov.n-3 { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .places-provs { grid-template-columns: 1fr; }
  .places-prov.n-2 .places-row { --n: 1; display: flex; overflow-x: auto; }
  .places-prov.n-2 .place-card { flex: 0 0 78%; }
  .places-prov.n-3 .place-card { flex-basis: 64%; }
}
.place-card { border-radius: 18px; }
.place-card img { object-position: 50% 45%; }
.place-card.no-img .place-initial { position: absolute; top: 18px; left: 20px; font: 400 64px/1 var(--serif); opacity: .25; }
.event-prov { margin-bottom: 28px; }
.places-prov { display: flex; flex-direction: column; } .places-prov .places-row { margin-top: auto; }
/* menu mobile: le voci partono sotto la barra di ricerca */
.menu-panel { padding-top: calc(var(--header-h) + 92px); }
.menu-open .header-search { border-top-color: rgba(255,255,255,.14); }
/* loghi dei clienti */
.sponsor-visual { position: relative; }
.sponsor-logo { position: absolute; left: 10px; bottom: 10px; background: #fff; border-radius: 10px; padding: 6px 10px; max-width: 60%; height: 54px; display: flex; align-items: center; box-shadow: 0 6px 16px -10px rgba(0,0,0,.5); }
.sponsor-logo img { max-height: 42px; max-width: 100%; width: auto; height: auto; object-fit: contain; box-shadow: none !important; }
.sponsor-page-logo { margin: 0 0 18px; }
.sponsor-page-logo img { max-height: 90px; max-width: 280px; width: auto; height: auto; object-fit: contain; }
.adbanner-logo { position: absolute; z-index: 2; right: 16px; top: 16px; background: #fff; border-radius: 12px; padding: 8px 12px; height: 70px; max-width: 45%; display: flex; align-items: center; }
.adbanner-logo img { position: static !important; max-height: 54px; max-width: 100%; width: auto !important; height: auto !important; object-fit: contain; }

/* titolo della copertina più robusto: filetti meno sottili */
/* opsz basso = filetti più spessi (Bodoni Moda va da 6 a 96), così le parti sottili restano leggibili anche sul telefono */
.hero-title { font-weight: 520; font-variation-settings: 'opsz' 14; letter-spacing: -0.025em; -webkit-text-stroke: 0.005em currentColor; paint-order: stroke fill; }
.hero-vivi, .hero-around { font-weight: 480; font-variation-settings: 'opsz' 14; }
/* città ed "e dintorni" sempre sulla stessa riga: sul telefono il titolo si adatta alla larghezza */
.hero-line { display: inline-block; white-space: nowrap; }
@media (max-width: 700px) { .hero-title { font-size: 14.2vw; } }
.place-hero h1, .page-head h1, .section-head h2 { font-weight: 500; font-variation-settings: 'opsz' 40; }

/* pulsante indietro (solo telefono e tablet) */
.back-btn { display: none; }
@media (max-width: 1080px) {
  .back-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; margin: 0 6px 0 -8px; border: 0; border-radius: 50%; background: transparent; color: inherit; cursor: pointer; flex: 0 0 auto; }
  .back-btn:active { background: rgba(0,0,0,.08); }
  .back-btn[hidden] { display: none; }
  .header-row .brand { margin-right: auto; }
  .header-row { gap: 6px; }
}

/* attività consigliate */
.recommended-badge { display: inline-flex; align-items: center; gap: 8px; margin: 28px 0 -8px; padding: 7px 14px; border-radius: 999px; background: #FFF4D6; color: #7A5A00; font: 600 13px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.recommended-badge svg { color: #C9A24A; }
.rec-tag { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #FFF4D6; color: #7A5A00; font-size: 10.5px; letter-spacing: .08em; vertical-align: 1px; }

/* loghi dei clienti più grandi */
.sponsor-logo { height: 76px; max-width: 72%; padding: 8px 14px; border-radius: 12px; }
.sponsor-logo img { max-height: 60px; }
.sponsor-page-logo img { max-height: 140px; max-width: 360px; }
.adbanner-logo { height: 100px; max-width: 55%; padding: 10px 16px; }
.adbanner-logo img { max-height: 80px !important; }

/* loghi e foto non disponibili: si nascondono senza lasciare il riquadro vuoto */
.sponsor-logo[hidden], .adbanner-logo[hidden], .sponsor-page-logo[hidden] { display: none !important; }
img.img-missing { object-fit: cover; }

/* loghi bianchi (campo "logo chiaro"): su fondo blu */
.sponsor-logo.dark, .adbanner-logo.dark { background: var(--navy, #1d2a6b); }
.sponsor-page-logo.dark { display: inline-block; background: var(--navy, #1d2a6b); border-radius: 12px; padding: 10px 16px; }
