/*
Theme Name: Lido Olgarino
Theme URI: https://olgarino.it/
Author: Barbanera Studio
Description: Tema WordPress custom per Lido Olgarino, Scalea. Landing fotografica e menu digitale a tab.
Version: 1.2.0
Text Domain: lido-olgarino
*/

:root {
	--ink: #17393b;
	--ink-deep: #102d30;
	--sea: #327b88;
	--sand: #ecd7b1;
	--sun: #d79d59;
	--paper: #f7f1e5;
	--white: #fffdf7;
	--muted: #65716b;
	--line: rgba(85, 60, 28, .17);
	--serif: Georgia, "Times New Roman", serif;
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.5; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--sun); outline-offset: 4px; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.screen-reader-text:focus { z-index: 10000; top: 10px; left: 10px; width: auto; height: auto; padding: .7rem 1rem; clip: auto; color: var(--ink-deep); background: var(--sun); border-radius: 6px; }
.skip-link { position: fixed; }

/* Intestazione e navigazione */
.site-header { position: sticky; top: 0; z-index: 40; color: var(--ink); background: rgba(255, 253, 247, .97); border-bottom: 1px solid var(--line); box-shadow: 0 4px 18px rgba(45, 38, 20, .04); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; max-width: 1480px; margin: 0 auto; padding: .8rem clamp(1.1rem, 5vw, 5.5rem); gap: 1rem; }
.site-branding { display: flex; flex: 0 0 auto; align-items: center; min-width: 118px; }
.ol-brand { display: inline-flex; align-items: center; gap: .58rem; color: inherit; text-decoration: none; }
.ol-brand__mark { position: relative; width: 35px; height: 35px; overflow: hidden; border: 2px solid currentColor; border-radius: 18px 18px 2px 2px; }
.ol-brand__mark::before { position: absolute; right: -2px; bottom: -7px; left: -2px; height: 25px; border-top: 2px solid currentColor; border-radius: 50%; content: ""; transform: rotate(-5deg); }
.ol-brand__mark::after { position: absolute; right: 4px; bottom: 5px; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); content: ""; }
.ol-brand__word { display: flex; align-items: baseline; gap: .35rem; }
.ol-brand__word b { font: 600 1.28rem/1 var(--serif); letter-spacing: -.055em; }
.ol-brand__word small { color: var(--sun); font: 700 .56rem/1 var(--sans); letter-spacing: .12em; }
.ol-official-logo { display: block; width: 140px; line-height: 0; text-decoration: none; }
.ol-official-logo img { display: block; width: 100%; max-width: none; height: auto; }
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo { display: block; max-width: 175px; max-height: 52px; width: auto; }
.primary-navigation { display: flex; align-items: center; gap: 1rem; }
.ol-nav-list { display: flex; align-items: center; gap: .2rem; margin: 0; padding: 0; list-style: none; }
.ol-nav-list a { display: block; padding: .48rem .64rem; border-radius: 999px; color: inherit; font-size: .76rem; font-weight: 750; text-decoration: none; transition: background .2s ease, color .2s ease; }
.ol-nav-list a:hover, .ol-nav-list .current-menu-item > a { color: var(--white); background: var(--ink); }
.header-cta { display: inline-flex; align-items: center; gap: .85rem; min-height: 40px; padding: .55rem .7rem .55rem .95rem; border-radius: 999px; color: var(--white); background: var(--ink); font-size: .73rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.header-cta span { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; color: var(--ink); background: var(--sun); }
.header-cta:hover { background: var(--sea); transform: translateY(-1px); }
.menu-toggle { display: none; width: 40px; height: 40px; padding: 0; border: 1px solid currentColor; border-radius: 50%; color: inherit; background: transparent; }
.menu-toggle span:not(.screen-reader-text) { display: block; width: 16px; height: 1px; margin: 4px auto; background: currentColor; transition: transform .2s ease; }

.home .site-header { position: absolute; right: 0; left: 0; color: var(--white); background: linear-gradient(180deg, rgba(7, 25, 29, .48), transparent); border: 0; box-shadow: none; }
.home .ol-brand__word small { color: #f3cf97; }
.home .ol-nav-list a:hover, .home .ol-nav-list .current-menu-item > a { color: var(--ink); background: var(--white); }
.home .header-cta { color: var(--ink); background: var(--white); }
.home .header-cta:hover { color: var(--white); background: var(--sea); }
body.admin-bar .site-header { top: 32px; }

/* Home */
.ol-landing { overflow: hidden; color: var(--ink); background: var(--paper); }
.ol-hero { position: relative; display: flex; align-items: end; min-height: min(865px, 100svh); padding: clamp(8.5rem, 15vw, 11rem) clamp(1.25rem, 8vw, 9.5rem) clamp(3.2rem, 7vw, 6.2rem); color: var(--white); background: var(--ink); isolation: isolate; }
.ol-hero__photo, .ol-sunset > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ol-hero__photo { object-position: center 54%; filter: saturate(.96) contrast(1.04); }
.ol-hero__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(7, 25, 29, .79) 0%, rgba(7, 25, 29, .43) 44%, rgba(7, 25, 29, .08) 77%), linear-gradient(0deg, rgba(7, 25, 29, .37), transparent 48%); }
.ol-hero__content { max-width: 770px; animation: ol-rise .8s ease both; }
.ol-kicker { display: inline-flex; align-items: center; gap: .6rem; color: #f6d29c; font-size: .66rem; font-weight: 800; letter-spacing: .17em; line-height: 1; text-transform: uppercase; }
.ol-kicker::before { width: 32px; height: 1px; background: currentColor; content: ""; }
.ol-kicker--dark { color: #96612f; }
.ol-hero h1, .ol-intro h2, .ol-section-head h2, .ol-menu-teaser h2, .ol-sunset h2, .ol-menu-page__hero h1, .ol-entry h1, .ol-not-found h1 { margin: 1rem 0 1.25rem; font-family: var(--serif); font-weight: 500; letter-spacing: -.075em; line-height: .92; }
.ol-hero h1 { max-width: 760px; font-size: clamp(3.25rem, 7.4vw, 7.4rem); }
.ol-hero h1 em, .ol-intro h2 em, .ol-menu-page__hero h1 em { color: #f4cf98; font-style: italic; }
.ol-hero p { max-width: 520px; margin: 0; color: rgba(255, 253, 248, .88); font-size: clamp(.99rem, 1.45vw, 1.14rem); }
.ol-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; margin-top: 2rem; }
.ol-button { display: inline-flex; align-items: center; justify-content: center; gap: 1.35rem; min-height: 47px; padding: .68rem .8rem .68rem 1.15rem; border: 1px solid transparent; border-radius: 999px; font-size: .78rem; font-weight: 800; text-decoration: none; transition: transform .2s ease, color .2s ease, background .2s ease; }
.ol-button:hover { transform: translateY(-2px); }
.ol-button span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; font-size: .97rem; }
.ol-button--light { color: var(--ink); background: var(--white); }
.ol-button--light span { color: var(--white); background: var(--ink); }
.ol-button--dark { color: var(--white); background: var(--ink); }
.ol-button--dark span { color: var(--ink); background: #f1cc91; }
.ol-button--dark:hover { background: var(--sea); }
.ol-text-link { padding: .35rem 0; border-bottom: 1px solid rgba(255, 253, 247, .65); color: var(--white); font-size: .78rem; font-weight: 750; text-decoration: none; }
.ol-text-link span { margin-left: .35rem; color: #f4cf98; }
.ol-hero__sign { position: absolute; right: clamp(1.25rem, 5vw, 5rem); bottom: clamp(2rem, 5vw, 4.2rem); display: grid; gap: .07rem; padding: .72rem .85rem; border: 1px solid rgba(255, 255, 255, .6); color: rgba(255, 255, 255, .92); font-size: .5rem; font-weight: 800; letter-spacing: .13em; line-height: 1.05; text-align: center; }
.ol-hero__sign b { font: 600 .86rem/1 var(--serif); letter-spacing: -.03em; }
.ol-hero__sign small { color: #f4cf98; font-size: .5rem; letter-spacing: .13em; }
.ol-action-rail { position: relative; z-index: 5; display: flex; justify-content: center; max-width: 1050px; margin: -26px auto 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 252, 246, .98); box-shadow: 0 12px 28px rgba(70, 50, 20, .15); }
.ol-action-rail a { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: .45rem; min-height: 56px; padding: 0 .65rem; border-right: 1px solid var(--line); color: var(--ink); font-size: .67rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.ol-action-rail a:last-child { border: 0; }
.ol-action-rail a:hover { background: #f4e7d2; }
.ol-action-rail span { color: #a16431; font: 1rem var(--serif); }
.ol-intro { display: grid; grid-template-columns: minmax(260px, .9fr) minmax(310px, 1fr); align-items: center; gap: clamp(2rem, 8vw, 8rem); max-width: 1240px; margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 5vw, 3rem); }
.ol-intro__photo { position: relative; min-height: 520px; overflow: hidden; border-radius: 2px 120px 2px 2px; box-shadow: 16px 16px 0 #e5c592; }
.ol-intro__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ol-intro__photo::after { position: absolute; right: 9%; bottom: 7%; width: 58px; height: 58px; border: 1px solid var(--white); border-radius: 50%; box-shadow: 0 0 0 8px rgba(255, 253, 247, .2); content: ""; }
.ol-intro h2, .ol-section-head h2, .ol-menu-teaser h2, .ol-sunset h2 { font-size: clamp(2.65rem, 5vw, 5rem); }
.ol-intro h2 { color: var(--ink); }
.ol-intro h2 em { color: #ad7040; }
.ol-intro p { max-width: 500px; margin: 0; color: var(--muted); font-size: 1rem; }
.ol-intro__details { display: grid; gap: .25rem; margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.ol-intro__details span { color: #476151; font-size: .7rem; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.ol-intro__details b { display: inline-block; width: 29px; color: #b07239; font-weight: 500; }
.ol-image-story { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(220px, .74fr); grid-template-rows: 1fr 1fr; gap: .75rem; max-width: 1440px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3.2rem) clamp(5rem, 10vw, 9rem); }
.ol-image-story figure { position: relative; min-height: 270px; margin: 0; overflow: hidden; background: #d8c7aa; }
.ol-image-story img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.ol-image-story figure:hover img { transform: scale(1.035); }
.ol-image-story__main { grid-row: 1 / span 2; min-height: 680px !important; }
.ol-image-story__main figcaption { position: absolute; bottom: 0; left: 0; max-width: 390px; padding: 1.2rem 1.45rem; color: var(--white); background: rgba(23, 54, 58, .87); font: 500 1.18rem/1.15 var(--serif); }
.ol-moments { padding: clamp(5rem, 10vw, 8.5rem) clamp(1.25rem, 8vw, 9.5rem); color: var(--white); background: var(--ink); }
.ol-section-head, .ol-moment-grid { max-width: 1240px; margin: 0 auto; }
.ol-section-head h2 { color: var(--white); }
.ol-moment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2.2rem; }
.ol-moment-grid article { min-height: 185px; padding: 1rem 0; border-top: 1px solid rgba(255, 253, 247, .35); }
.ol-moment-grid span { color: #e3b46f; font-size: .65rem; font-weight: 800; letter-spacing: .13em; }
.ol-moment-grid h3 { margin: 1.2rem 0 .45rem; color: var(--white); font: 500 1.52rem var(--serif); }
.ol-moment-grid p { max-width: 270px; margin: 0; color: rgba(255, 253, 247, .68); font-size: .83rem; }
.ol-menu-teaser { display: grid; grid-template-columns: 1fr 1fr; min-height: 600px; background: var(--sand); }
.ol-menu-teaser__photo { min-height: 520px; }
.ol-menu-teaser__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ol-menu-teaser__copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(3rem, 7vw, 7rem); }
.ol-menu-teaser__copy .ol-kicker { color: #96612f; }
.ol-menu-teaser__copy h2 { color: var(--ink); }
.ol-menu-teaser__copy p { max-width: 400px; margin: 0 0 1.8rem; color: #5e665e; font-size: .95rem; }
.ol-sunset { position: relative; display: flex; align-items: end; min-height: 720px; padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 8vw, 9.5rem); color: var(--white); background: var(--ink); isolation: isolate; }
.ol-sunset__shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(24, 26, 28, .72), rgba(24, 26, 28, .07)), linear-gradient(0deg, rgba(10, 20, 22, .52), transparent 60%); }
.ol-sunset h2 { color: var(--white); }
.ol-sunset p { margin: -.3rem 0 1.7rem; color: rgba(255, 253, 247, .8); }

/* Menu digitale */
.ol-menu-page { max-width: 1330px; margin: 0 auto; padding: clamp(3.5rem, 8vw, 7rem) clamp(1.25rem, 5vw, 3.2rem) clamp(5rem, 8vw, 8rem); }
.ol-menu-page__hero { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.ol-menu-page__hero h1 { margin-bottom: .8rem; color: var(--ink); font-size: clamp(3.3rem, 7vw, 6.4rem); }
.ol-menu-page__hero h1 em { color: #ae7041; }
.ol-menu-page__hero p { max-width: 410px; margin: 0; color: var(--muted); }
.ol-menu-notice { display: flex; align-items: start; gap: .8rem; margin-bottom: 1.2rem; padding: .92rem 1rem; border: 1px solid #ead2ab; border-radius: 10px; color: #70532e; background: #fff8ec; font-size: .77rem; }
.ol-menu-notice strong { flex: 0 0 auto; color: #7a481f; text-transform: uppercase; font-size: .67rem; letter-spacing: .07em; }
.ol-menu-tabs { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1rem; }
.ol-menu-tabs__list { display: grid; align-content: start; gap: .45rem; padding: .6rem; border: 1px solid var(--line); border-radius: 13px; background: var(--white); }
.ol-menu-tab { display: grid; grid-template-columns: 29px 1fr; align-items: center; gap: .55rem; width: 100%; padding: .9rem .76rem; border: 0; border-radius: 9px; color: var(--ink); background: transparent; font: 600 .96rem var(--serif); text-align: left; transition: background .2s ease, color .2s ease; cursor: pointer; }
.ol-menu-tab span { color: var(--sea); font: 700 .58rem var(--sans); letter-spacing: .1em; }
.ol-menu-tab:hover { background: #ecf4f0; }
.ol-menu-tab.is-active { color: var(--white); background: var(--ink); box-shadow: 0 5px 13px rgba(6, 50, 74, .16); }
.ol-menu-tab.is-active span { color: #f4bb80; }
.ol-menu-panel { position: relative; min-height: 540px; overflow: hidden; padding: clamp(1.45rem, 4vw, 3rem); border-radius: 13px; color: var(--white); background: var(--ink); }
.ol-menu-panel::before { position: absolute; top: -450px; right: -150px; width: 650px; height: 650px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; content: ""; }
.ol-menu-panel::after { position: absolute; right: 6%; bottom: -55px; width: 155px; height: 155px; border: 24px solid var(--sun); border-radius: 50%; content: ""; opacity: .9; }
.ol-menu-panel__header, .ol-menu-panel__sections { position: relative; z-index: 1; }
.ol-menu-panel__header { max-width: 530px; margin-bottom: 2rem; }
.ol-menu-panel__header .ol-kicker { color: #f4bb80; }
.ol-menu-panel__header h2 { margin: .75rem 0 .6rem; font: 500 clamp(2.3rem, 4vw, 4.3rem)/.95 var(--serif); letter-spacing: -.065em; }
.ol-menu-panel__header p { margin: 0; color: rgba(255, 255, 255, .68); font-size: .85rem; }
.ol-menu-panel__sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: .75rem; }
.ol-menu-section { padding: .85rem; border: 1px solid rgba(255, 255, 255, .17); border-radius: 9px; background: rgba(255, 255, 255, .06); }
.ol-menu-section h3 { margin: 0 0 .5rem; padding-bottom: .55rem; border-bottom: 1px solid rgba(255, 255, 255, .15); color: #f4bb80; font: 600 1.12rem var(--serif); }
.ol-menu-section ul { margin: 0; padding: 0; list-style: none; }
.ol-menu-section li { display: flex; align-items: start; justify-content: space-between; gap: .65rem; padding: .48rem 0; border-bottom: 1px solid rgba(255, 255, 255, .11); }
.ol-menu-section li:last-child { border-bottom: 0; }
.ol-menu-section li > span { min-width: 0; }
.ol-menu-section b { display: block; font-size: .76rem; font-weight: 650; line-height: 1.25; }
.ol-menu-section small { display: block; margin-top: .15rem; color: #f4bb80; font-size: .57rem; }
.ol-menu-section em { display: block; margin-top: .16rem; color: rgba(255, 255, 255, .57); font-size: .56rem; font-style: normal; line-height: 1.3; }
.ol-menu-section .has-note b::after { margin-left: .16rem; color: #f4bb80; content: "*"; }
.ol-menu-section strong { flex: 0 0 auto; color: var(--white); font-size: .72rem; font-weight: 700; white-space: nowrap; }

/* Contenuti WordPress standard */
.ol-content-shell { width: min(910px, calc(100% - 2.5rem)); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.ol-entry__header { max-width: 760px; margin-bottom: 2rem; }
.ol-entry h1, .ol-not-found h1 { color: var(--ink); font-size: clamp(3rem, 6vw, 5.8rem); }
.ol-entry__content { max-width: 760px; color: #4f5d58; font-size: 1.03rem; }
.ol-entry__content > * + * { margin-top: 1.2em; }
.ol-entry__content h2, .ol-entry__content h3 { color: var(--ink); font-family: var(--serif); line-height: 1.1; }
.ol-entry__content a { color: var(--sea); font-weight: 700; }
.ol-entry__featured { margin: 0 0 2rem; overflow: hidden; border-radius: 4px 80px 4px 4px; }
.ol-entry__featured img { display: block; width: 100%; }
.ol-post-list { display: grid; gap: 1rem; }
.ol-post-card { display: grid; grid-template-columns: 220px 1fr; gap: 1.25rem; padding: 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.ol-post-card__image { min-height: 150px; overflow: hidden; border-radius: 5px; }
.ol-post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.ol-post-card span { color: #9a6737; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ol-post-card h2 { margin: .4rem 0; font: 600 1.55rem/1 var(--serif); letter-spacing: -.04em; }
.ol-post-card h2 a { color: var(--ink); text-decoration: none; }
.ol-post-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.ol-not-found { min-height: 55vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.ol-not-found p { max-width: 430px; margin: 0 0 1.6rem; color: var(--muted); }
.ol-comments { max-width: 760px; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.ol-comments h2 { font: 600 1.7rem var(--serif); }
.ol-comments ol { padding-left: 1.2rem; }
.ol-comments .comment { margin-bottom: 1.3rem; }
.ol-comments input, .ol-comments textarea { max-width: 100%; padding: .65rem; border: 1px solid var(--line); border-radius: 4px; background: var(--white); }
.ol-comments input[type="submit"] { color: var(--white); background: var(--ink); cursor: pointer; }

/* Footer */
.ol-footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem clamp(1.25rem, 8vw, 9.5rem); color: rgba(255, 253, 247, .69); background: var(--ink-deep); font-size: .7rem; }
.ol-footer__brand { display: flex; align-items: baseline; gap: .45rem; }
.ol-footer__brand b { color: var(--white); font: 500 1.38rem var(--serif); letter-spacing: -.05em; }
.ol-footer__brand span { color: #e3b46f; font-size: .57rem; font-weight: 700; letter-spacing: .11em; }
.ol-footer p { margin: 0; }
.ol-footer__links { display: flex; gap: 1rem; }
.ol-footer a { color: var(--white); font-size: .72rem; font-weight: 700; text-decoration: none; }
.ol-footer a:hover { color: #f3cf97; }

/* Carta pubblica: tab permanenti e finestra di consultazione interna. */
.ol-public-menu { position: relative; isolation: isolate; overflow: hidden; padding: clamp(5.8rem, 11vw, 10rem) clamp(1.25rem, 8vw, 9rem); color: var(--white); background: #0b292d; }
.ol-public-menu::before { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 11% 21%, rgba(208, 142, 72, .2), transparent 27%), radial-gradient(circle at 88% 78%, rgba(62, 133, 125, .2), transparent 31%), linear-gradient(135deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: auto, auto, 18px 18px; content: ""; }
.ol-public-menu__heading { max-width: 1240px; margin: 0 auto 2.9rem; }
.ol-public-menu__heading h2 { margin: .9rem 0 1.1rem; color: var(--white); font: 500 clamp(3.35rem, 5.8vw, 6.35rem)/.88 var(--serif); letter-spacing: -.08em; }
.ol-public-menu__heading h2 em { color: #eab272; font-style: italic; }
.ol-public-menu__heading > p:not(.ol-kicker) { max-width: 465px; margin: 0; color: rgba(255, 253, 247, .72); font-size: .94rem; }
.ol-public-menu__tabs { position: relative; z-index: 8; display: flex; gap: .38rem; max-width: 1240px; margin: 0 auto 1rem; padding: .5rem; overflow-x: auto; border: 1px solid rgba(244, 213, 164, .2); border-radius: 15px; background: rgba(9, 37, 40, .8); box-shadow: 0 18px 36px rgba(0,0,0,.22); backdrop-filter: blur(14px); scrollbar-width: none; }
.ol-public-menu__tabs::-webkit-scrollbar { display: none; }
.ol-public-menu__tabs button { position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: .48rem; border: 0; padding: .72rem .83rem; border-radius: 10px; color: rgba(255,253,248,.7); background: transparent; font-size: .7rem; font-weight: 800; letter-spacing: .015em; white-space: nowrap; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s ease; }
.ol-public-menu__tabs button span { color: #dfa267; font-size: .55rem; font-weight: 700; letter-spacing: .08em; }
.ol-public-menu__tabs button:hover { color: var(--white); background: rgba(255,255,255,.1); transform: translateY(-1px); }
.ol-public-menu__tabs button.is-active { color: var(--ink-deep); background: linear-gradient(135deg, #fffdf7, #ebd8bb); box-shadow: 0 5px 16px rgba(0,0,0,.18); }
.ol-public-menu__tabs button.is-active span { color: #a9633a; }
.ol-public-menu__panel { position: relative; display: grid; grid-template-columns: minmax(220px, .58fr) minmax(0, 1.32fr); gap: clamp(1.7rem, 5.5vw, 5.8rem); max-width: 1240px; height: clamp(495px, 62svh, 660px); margin: 0 auto; padding: clamp(1.35rem, 3vw, 2.6rem); overflow: hidden; border: 1px solid rgba(255,255,255,.14); border-radius: 17px; color: var(--white); background: linear-gradient(132deg, rgba(25,65,66,.96), rgba(8,34,38,.98)); box-shadow: 0 28px 60px rgba(0,0,0,.2); }
.ol-public-menu__panel::before { position: absolute; top: -62%; left: -12%; width: 510px; height: 510px; border: 1px solid rgba(240,193,132,.16); border-radius: 50%; box-shadow: 0 0 0 70px rgba(240,193,132,.025), 0 0 0 140px rgba(240,193,132,.018); content: ""; }
.ol-public-menu__panel::after { position: absolute; right: -80px; bottom: -115px; width: 280px; height: 280px; border: 32px solid rgba(229,161,93,.33); border-radius: 50%; content: ""; }
.ol-public-menu__panel.is-entering { animation: ol-menu-panel-in .52s cubic-bezier(.22, .9, .28, 1) both; }
.ol-public-menu__intro, .ol-public-menu__viewport { position: relative; z-index: 1; }
.ol-public-menu__intro { align-self: center; max-width: 315px; }
.ol-public-menu__intro h3 { margin: .85rem 0; color: var(--white); font: 500 clamp(2.25rem, 3.35vw, 3.8rem)/.92 var(--serif); letter-spacing: -.068em; }
.ol-public-menu__intro > p:not(.ol-kicker) { margin: 0; color: rgba(255,253,248,.67); font-size: .84rem; }
.ol-public-menu__intro::after { display: block; width: 52px; height: 52px; margin-top: 2.1rem; border: 1px solid rgba(244, 213, 164, .62); border-radius: 50%; box-shadow: 0 0 0 8px rgba(244, 213, 164, .055); content: ""; }
.ol-public-menu__viewport { height: 100%; min-width: 0; padding: .4rem 1.25rem .4rem 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-color: rgba(236, 185, 119, .7) rgba(255,255,255,.08); scrollbar-width: thin; }
.ol-public-menu__viewport:focus-visible { outline: 2px solid #f0bd7e; outline-offset: 4px; }
.ol-public-menu__viewport::-webkit-scrollbar { width: 7px; }
.ol-public-menu__viewport::-webkit-scrollbar-track { border-radius: 99px; background: rgba(255,255,255,.08); }
.ol-public-menu__viewport::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(236, 185, 119, .72); }
.ol-public-menu__list { display: grid; align-content: start; gap: 1.85rem; min-height: 100%; padding-right: .1rem; }
.ol-public-menu__list h4 { margin: 0; padding-bottom: .82rem; border-bottom: 1px solid rgba(255,255,255,.3); color: #f0bd7e; font: 600 1.12rem var(--serif); letter-spacing: .035em; text-transform: uppercase; }
.ol-public-menu__list ul { margin: 0; padding: 0; list-style: none; }
.ol-public-menu__list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1.25rem; padding: .88rem 0; border-bottom: 1px solid rgba(255,255,255,.13); transition: padding .2s ease, border-color .2s ease; }
.ol-public-menu__list li:hover { padding-right: .35rem; padding-left: .35rem; border-color: rgba(240,189,126,.48); }
.ol-public-menu__list li > span { min-width: 0; }
.ol-public-menu__list b { display: block; color: var(--white); font-size: .9rem; font-weight: 650; }
.ol-public-menu__list small { display: block; margin-top: .13rem; color: rgba(255,253,248,.58); font-size: .64rem; }
.ol-public-menu__list strong { flex: 0 0 auto; color: #f5ca98; font-size: .79rem; font-weight: 750; white-space: nowrap; }

/* Sequenza fotografica completa, dal giorno alla sera. */
.ol-photo-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; max-width: 1440px; margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) clamp(1.25rem, 4vw, 3.4rem); }
.ol-photo-gallery figure { position: relative; min-height: 330px; margin: 0; overflow: hidden; background: var(--ink-deep); }
.ol-photo-gallery__wide { grid-column: 1 / -1; min-height: 640px !important; }
.ol-photo-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ol-photo-gallery__wide::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,31,33,.7), transparent 58%); content: ""; }
.ol-photo-gallery figcaption { position: absolute; z-index: 1; bottom: 2rem; left: clamp(1.25rem, 4vw, 4rem); max-width: 450px; color: var(--white); font: 500 clamp(1.8rem, 3vw, 3.1rem)/.98 var(--serif); letter-spacing: -.055em; }

/* Profondità fotografica e movimento sobrio. */
.ol-hero__photo { animation: ol-hero-breathe 18s ease-in-out infinite alternate; transform-origin: 52% 50%; }
.ol-hero__shade { background: radial-gradient(circle at 74% 20%, rgba(225, 154, 76, .2), transparent 26%), linear-gradient(90deg, rgba(7, 25, 29, .83) 0%, rgba(7, 25, 29, .43) 45%, rgba(7, 25, 29, .08) 78%), linear-gradient(0deg, rgba(7, 25, 29, .44), transparent 51%); }
.ol-action-rail { border-color: rgba(181, 128, 72, .29); box-shadow: 0 18px 42px rgba(53, 37, 16, .15); }
.ol-action-rail a { transition: color .22s ease, background .22s ease, transform .22s ease; }
.ol-action-rail a:hover { transform: translateY(-2px); }
.ol-intro { position: relative; }
.ol-intro__photo::before { position: absolute; z-index: 1; inset: 13px; border: 1px solid rgba(255,253,247,.55); border-radius: 1px 104px 1px 1px; content: ""; pointer-events: none; }
.ol-image-story figure { border-radius: 3px; box-shadow: 0 16px 34px rgba(30, 37, 30, .09); }
.ol-image-story figure:nth-child(2) { border-radius: 58px 3px 3px 3px; }
.ol-image-story figure:nth-child(3) { border-radius: 3px 3px 58px 3px; }
.ol-moments { position: relative; overflow: hidden; }
.ol-moments::before { position: absolute; top: -1.25rem; right: clamp(1rem, 7vw, 8rem); color: rgba(255,253,247,.045); content: "1959"; font: 600 clamp(7rem, 20vw, 22rem)/1 var(--serif); letter-spacing: -.12em; pointer-events: none; }
.ol-section-head, .ol-moment-grid { position: relative; z-index: 1; }
.ol-moment-grid article { transition: transform .28s ease, border-color .28s ease; }
.ol-moment-grid article:hover { border-color: #e3b46f; transform: translateY(-5px); }
.ol-menu-teaser { background: linear-gradient(124deg, #efd9b2 0%, #e4c18a 100%); }
.ol-menu-teaser__photo { overflow: hidden; }
.ol-menu-teaser__photo img { transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.ol-menu-teaser:hover .ol-menu-teaser__photo img { transform: scale(1.04); }
.ol-photo-gallery figure { border-radius: 4px; box-shadow: 0 16px 30px rgba(20, 33, 34, .1); }
.ol-photo-gallery figure:not(.ol-photo-gallery__wide):nth-child(2) { border-radius: 72px 4px 4px 4px; }
.ol-photo-gallery figure:not(.ol-photo-gallery__wide):nth-child(3) { border-radius: 4px 4px 72px 4px; }
.ol-photo-gallery img { transition: transform 1s cubic-bezier(.2,.8,.2,1), filter 1s ease; }
.ol-photo-gallery figure:hover img { filter: saturate(1.08); transform: scale(1.035); }

@keyframes ol-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ol-hero-breathe { from { transform: scale(1.01); } to { transform: scale(1.055); } }
@keyframes ol-menu-panel-in { from { opacity: 0; transform: translateY(12px) scale(.992); } to { opacity: 1; transform: translateY(0) scale(1); } }

html.ol-motion-ready .ol-reveal { opacity: 0; transform: translateY(28px); transition: opacity .72s ease var(--reveal-delay, 0ms), transform .82s cubic-bezier(.2,.72,.2,1) var(--reveal-delay, 0ms); }
html.ol-motion-ready .ol-reveal.is-visible { opacity: 1; transform: translateY(0); }
html.ol-motion-ready .ol-image-story figure.ol-reveal, html.ol-motion-ready .ol-photo-gallery figure.ol-reveal { transform: translateY(22px) scale(.985); }
html.ol-motion-ready .ol-image-story figure.ol-reveal.is-visible, html.ol-motion-ready .ol-photo-gallery figure.ol-reveal.is-visible { transform: translateY(0) scale(1); }

@media (max-width: 900px) {
	.ol-menu-tabs { grid-template-columns: 190px minmax(0, 1fr); }
	.ol-menu-panel__sections { grid-template-columns: 1fr; }
	.ol-menu-page__hero { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 760px) {
	.site-header__inner { min-height: 66px; padding: .7rem 1rem; }
	.ol-official-logo { width: 121px; }
	.menu-toggle { z-index: 2; display: block; }
	.primary-navigation { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: .7rem; padding: 1rem; color: var(--ink); background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 25px rgba(30, 31, 20, .12); }
	.menu-open .primary-navigation { display: flex; }
	.menu-open .menu-toggle span:not(.screen-reader-text):first-of-type { transform: translateY(2.5px) rotate(45deg); }
	.menu-open .menu-toggle span:not(.screen-reader-text):last-of-type { transform: translateY(-2.5px) rotate(-45deg); }
	.ol-nav-list { display: grid; gap: .2rem; }
	.ol-nav-list a { padding: .7rem .75rem; }
	.home .site-header.menu-open { color: var(--ink); background: var(--white); }
	.home .site-header.menu-open .ol-brand__word small { color: var(--sun); }
	.home .site-header.menu-open .ol-nav-list a:hover, .home .site-header.menu-open .ol-nav-list .current-menu-item > a { color: var(--white); background: var(--ink); }
	.home .site-header.menu-open .header-cta { color: var(--white); background: var(--ink); }
	.header-cta { justify-content: space-between; }
	.ol-hero { min-height: 720px; padding: 10rem 1.25rem 3.5rem; }
	.ol-hero__photo { object-position: 54% center; }
	.ol-hero h1 { font-size: clamp(3.3rem, 14vw, 5.35rem); }
	.ol-hero__sign { right: 1.25rem; bottom: 1.7rem; }
	.ol-action-rail { width: calc(100% - 2rem); margin-top: -23px; overflow-x: auto; justify-content: start; }
	.ol-action-rail a { flex: 0 0 auto; padding: 0 .95rem; }
	.ol-intro { grid-template-columns: 1fr; gap: 2.3rem; padding: 5rem 1.25rem; }
	.ol-intro__photo { min-height: 440px; border-radius: 2px 95px 2px 2px; }
	.ol-intro h2, .ol-section-head h2, .ol-menu-teaser h2, .ol-sunset h2 { font-size: clamp(3rem, 13vw, 4.55rem); }
	.ol-image-story { grid-template-columns: 1fr; grid-template-rows: none; padding: 0 1.25rem 5rem; }
	.ol-image-story__main { grid-row: auto; min-height: 470px !important; }
	.ol-image-story figure { min-height: 300px; }
	.ol-moment-grid { grid-template-columns: 1fr; gap: 0; }
	.ol-moment-grid article { min-height: auto; padding: 1.3rem 0; }
	.ol-menu-teaser { grid-template-columns: 1fr; }
	.ol-menu-teaser__photo { min-height: 360px; }
	.ol-menu-teaser__copy { padding: 4rem 1.25rem 5rem; }
	.ol-sunset { min-height: 650px; padding: 3rem 1.25rem; }
	.ol-menu-page { padding: 4.2rem 1.25rem 5rem; }
	.ol-menu-tabs { grid-template-columns: 1fr; }
	.ol-menu-tabs__list { display: flex; overflow-x: auto; padding: .45rem; }
	.ol-menu-tab { display: flex; flex: 0 0 auto; align-items: center; width: auto; padding: .7rem .75rem; white-space: nowrap; }
	.ol-menu-panel { min-height: auto; padding: 1.45rem 1rem; }
	.ol-menu-panel__header h2 { font-size: 2.8rem; }
	.ol-menu-notice { flex-direction: column; }
	.ol-content-shell { width: min(100% - 2.5rem, 910px); }
	.ol-post-card { grid-template-columns: 1fr; }
	.ol-post-card__image { min-height: 210px; }
	.ol-footer { align-items: flex-start; flex-direction: column; gap: .65rem; padding: 1.5rem 1.25rem; }
	.ol-public-menu { padding: 5.5rem 1.25rem; }
	.ol-public-menu__heading h2 { font-size: clamp(3.3rem, 13vw, 5.1rem); }
	.ol-public-menu__tabs { top: 8px; margin-right: -1.25rem; border-radius: 12px 0 0 12px; }
	.ol-public-menu__panel { grid-template-columns: 1fr; gap: 1.8rem; padding-top: 1.5rem; }
	.ol-public-menu__intro { position: static; }
	.ol-public-menu__intro::after { display: none; }
	.ol-public-menu__list b { font-size: .86rem; }
	.ol-photo-gallery { grid-template-columns: 1fr; padding: 5.5rem 1.25rem; }
	.ol-photo-gallery figure, .ol-photo-gallery__wide { grid-column: auto; min-height: 390px !important; }
	.ol-photo-gallery__wide { min-height: 540px !important; }
}

@media (max-width: 600px) {
	body.admin-bar .site-header { top: 46px; }
	.ol-hero__actions { gap: .85rem; }
	.ol-button { width: auto; }
	.ol-menu-section li { gap: .45rem; }
	.ol-menu-section b { font-size: .74rem; }
}

@media (max-width: 900px) {
	.ol-public-menu__panel { grid-template-columns: minmax(180px, .5fr) minmax(0, 1.2fr); gap: 2rem; }
}

@media (max-width: 760px) {
	.ol-public-menu__tabs { position: relative; top: auto; }
	.ol-public-menu__panel { display: block; height: auto; min-height: 0; padding: 1.3rem 1rem 1rem; border-radius: 14px; }
	.ol-public-menu__intro { max-width: 100%; margin-bottom: 1.55rem; }
	.ol-public-menu__intro h3 { font-size: clamp(2.45rem, 10vw, 3.55rem); }
	.ol-public-menu__intro::after { display: none; }
	.ol-public-menu__viewport { height: min(57svh, 500px); min-height: 350px; padding-right: .8rem; }
	.ol-public-menu__list { gap: 1.55rem; }
	.ol-public-menu__list li { padding: .8rem 0; }
	.ol-public-menu__list li:hover { padding-right: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
