/*
Theme Name: Uammamì
Description: Tema del sito di Uammamì, birreria artigianale e pub bistrot di Casalnuovo di Napoli: pergamena e manifesti WANTED a tema pirati, leggero, senza page builder. Il menu è quello di Oste.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Author: ironblaster
License: GPL-2.0-or-later
Text Domain: uammami
*/

/* Font locali (licenza SIL OFL, vedi assets/fonts/LICENSE.md): nessuna richiesta a Google. */
@font-face{font-family:"Pirata One";src:url("assets/fonts/pirata-one.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Prompt";src:url("assets/fonts/prompt-300.woff2") format("woff2");font-weight:300;font-display:swap}
@font-face{font-family:"Prompt";src:url("assets/fonts/prompt-400.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Prompt";src:url("assets/fonts/prompt-600.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Antonio";src:url("assets/fonts/antonio.woff2") format("woff2");font-weight:100 700;font-display:swap}

:root{
--ink:#2a1a0c;--red:#8c1c13;--red-2:#741710;--red-3:#4f0c06;
--paper:#eed8a4;--paper-2:#f6e9c8;--cream:#fbeed2;--gold:#e2a72a;--focus:#14467f;
--rope:repeating-linear-gradient(-55deg,#6e4520 0 2px,#b78a4e 2px 5px,#d9b273 5px 6px,#8a5a2b 6px 8px);
--shadow:0 1px 1px rgba(42,26,12,.22),0 12px 22px -8px rgba(42,26,12,.55);
--title:"Pirata One",Georgia,serif;--serif:Georgia,"Times New Roman",serif;--cond:Antonio,"Arial Narrow",sans-serif;
--gutter:clamp(16px,4vw,32px);--wide:1140px;
--grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .18 0 0 0 0 .06 0 0 0 .16 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
--anchor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233b2414' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='4.6' r='1.9'/%3E%3Cpath d='M12 6.5V20.5M8.2 10h7.6M4.8 14c.4 3.8 3.4 6.5 7.2 6.5s6.8-2.7 7.2-6.5M3.4 15.6L4.8 14l1.9.9M20.6 15.6L19.2 14l-1.9.9'/%3E%3C/svg%3E");
--jolly:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Cpath d='M7 20.5L41 41M7 41L41 20.5' stroke='%232a1a0c' stroke-width='6.6' stroke-linecap='round'/%3E%3Cpath d='M7 20.5L41 41M7 41L41 20.5' stroke='%23f6ecd4' stroke-width='3.3' stroke-linecap='round'/%3E%3Cpath d='M24 13.5c-6 0-10.5 4.3-10.5 10 0 3.6 1.9 6.4 4.8 8V35a1.6 1.6 0 0 0 1.6 1.6h8.2a1.6 1.6 0 0 0 1.6-1.6v-3.5c2.9-1.6 4.8-4.4 4.8-8 0-5.7-4.5-10-10.5-10z' fill='%23f6ecd4' stroke='%232a1a0c' stroke-width='1.8'/%3E%3Cellipse cx='20' cy='26' rx='2.6' ry='2.9' fill='%232a1a0c'/%3E%3Cellipse cx='28' cy='26' rx='2.6' ry='2.9' fill='%232a1a0c'/%3E%3Cellipse cx='24' cy='19' rx='15.6' ry='3.4' fill='%23e2a72a' stroke='%232a1a0c' stroke-width='1.6'/%3E%3Cpath d='M15.4 18.8c0-6.2 3.9-9.8 8.6-9.8s8.6 3.6 8.6 9.8z' fill='%23e2a72a' stroke='%232a1a0c' stroke-width='1.6'/%3E%3Cpath d='M15.7 15.6h16.6v2.9H15.7z' fill='%23a3241a'/%3E%3C/svg%3E");
--bt:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-19 7 38 90'%3E%3Cellipse cx='0' cy='94' rx='18' ry='2.6' fill='%232a1a0c' fill-opacity='.28'/%3E%3Cg stroke='%232a1a0c' stroke-width='2' stroke-linejoin='round'%3E%3Cpath fill='%233c4a22' d='M-4 10h8v22c0 6 11 9 11 18v40a3 3 0 0 1-3 3h-24a3 3 0 0 1-3-3v-40c0-9 11-12 11-18z'/%3E%3Cpath fill='%23c99a3b' d='M-4.6 8h9.2v16h-9.2z'/%3E%3Cpath fill='%23f3e3bd' d='M-9.5 58h19v17h-19z'/%3E%3C/g%3E%3C/svg%3E");
--frame:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 240 128'%3E%3Crect x='1.5' y='1.5' width='237' height='97' fill='%23dcbc82' stroke='%232a1a0c' stroke-width='3'/%3E%3Cpath stroke='%232a1a0c' stroke-opacity='.13' stroke-width='4' d='M120 58L4 4M120 58L62 4M120 58L120 4M120 58L178 4M120 58L236 4M120 58L4 52M120 58L236 52M120 58L4 96M120 58L236 96'/%3E%3Ctext x='120' y='123' text-anchor='middle' font-family='Georgia,serif' font-weight='700' font-size='17' textLength='206' lengthAdjust='spacingAndGlyphs' fill='%232a1a0c'%3EDEAD OR ALIVE%3C/text%3E%3C/svg%3E");
--aged:radial-gradient(ellipse at 50% 50%,rgba(0,0,0,0) 56%,rgba(122,70,22,.42) 100%);
}

/* Base */
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-width:320px;color:var(--ink);font:400 1.0625rem/1.6 Prompt,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;background:#e8c684 url("assets/pergamena.jpg") 0 0/768px repeat}
img{max-width:100%;height:auto}
a{color:var(--red);text-decoration-thickness:1px;text-underline-offset:.18em}
a:hover{color:var(--red-2)}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
h1,h2,h3,h4{font-weight:400;overflow-wrap:break-word}
p{margin:0 0 1em}
.screen-reader-text{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:8px;top:-80px;z-index:100000;padding:.7rem 1rem;border-radius:4px;background:var(--ink);color:var(--cream)}
.skip-link:focus{top:8px;color:var(--cream)}

/* Testata */
.site-header{position:relative;background:linear-gradient(rgba(255,244,214,.45),rgba(255,244,214,.1))}
.site-header::after{content:"";position:absolute;right:0;bottom:0;left:0;height:7px;background:var(--rope);box-shadow:0 2px 3px rgba(42,26,12,.35)}
.site-header__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem .75rem;max-width:calc(var(--wide) + 2*var(--gutter));margin:0 auto;padding:10px var(--gutter) 17px}
.site-logo{display:block;flex:none;width:clamp(96px,27vw,188px)}
.site-logo img{display:block;width:100%;height:auto}
.site-logo__text{font:400 2rem/1 var(--title);color:var(--ink);text-decoration:none}
.site-nav ul{display:flex;align-items:center;gap:.15rem;margin:0;padding:0;list-style:none}
.site-nav a{display:flex;align-items:center;min-height:44px;padding:0 .55rem;border-radius:3px;color:var(--ink);font:400 1.25rem/1 var(--title);letter-spacing:.02em;text-decoration:none}
.site-nav a:hover{color:var(--red)}
.site-nav a[aria-current="page"]{background:linear-gradient(var(--red),var(--red)) 50% calc(100% - 8px)/calc(100% - 1.1rem) 2px no-repeat}
.site-nav .nav-cta a,.site-nav a.nav-cta{margin-left:.3rem;padding:0 .75rem;border:2px solid var(--red);color:var(--red)}
.site-nav .nav-cta a:hover,.site-nav a.nav-cta:hover{background:var(--red);color:var(--cream)}

/* Contenuto */
.site-main{display:block;overflow-x:hidden;overflow-x:clip}
.uam-section{padding-top:clamp(2.75rem,6vw,4rem);padding-bottom:clamp(2.75rem,6vw,4rem)}
.uam-section+.uam-section{padding-top:1rem}
.entry-content>*+*{margin-top:0}
.uam-hero .wp-block-columns,.uam-section .wp-block-columns{display:grid;gap:2rem;margin:0}
.uam-hero .wp-block-column,.uam-section .wp-block-column{min-width:0}
.wp-block-list{padding-left:1.2em}
.wp-block-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.4rem}
.wp-block-button__link,.wp-element-button{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:48px;padding:.55rem 1.3rem .5rem;border:0;border-radius:4px;background:var(--red);color:var(--cream);font:400 1.35rem/1.1 var(--title);letter-spacing:.03em;text-align:center;text-decoration:none;box-shadow:0 3px 0 var(--red-3),inset 0 0 0 2px rgba(255,220,180,.22)}
.wp-block-button__link:hover,.wp-element-button:hover{background:var(--red-2);color:var(--cream)}
.wp-block-button__link[target="_blank"]::after,.uam-arrow .wp-block-button__link::after{content:"";flex:none;width:1em;height:1em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fbeed2' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") 50%/contain no-repeat}
.wp-block-button__link[target="_blank"]::after{width:.85em;transform:rotate(-45deg)}
.uam-arrow .wp-block-button__link{min-height:54px;padding:.6rem 1.6rem .55rem;font-size:1.55rem}

/* Titolo con la corda e l'ancora */
.is-style-rope{position:relative;margin:0 auto 2.8rem;padding-bottom:1.35rem;font:400 clamp(2.5rem,1.7rem + 3.4vw,3.6rem)/1.02 var(--title);text-align:center;text-wrap:balance;text-shadow:0 1px 0 rgba(255,240,205,.6)}
.is-style-rope::after{content:"";position:absolute;bottom:.3rem;left:50%;width:min(80%,26rem);height:6px;border-radius:3px;background:var(--rope);box-shadow:0 1px 1px rgba(42,26,12,.3);transform:translateX(-50%)}
.is-style-rope::before{content:"";position:absolute;bottom:-.62rem;left:50%;z-index:1;width:2.2rem;height:2.2rem;margin-left:-1.1rem;border-radius:50%;background:var(--anchor) 50%/72% no-repeat,#ead39f;box-shadow:0 0 0 2px #8a5a2b,0 2px 3px rgba(42,26,12,.35)}
hr.is-style-rope{display:block;width:calc(100% - 2*var(--gutter));max-width:var(--wide);height:7px;margin:2rem auto;padding:0;border:0;border-radius:4px;background:var(--rope);box-shadow:0 1px 2px rgba(42,26,12,.35);opacity:1;overflow:visible}
hr.is-style-rope::after{display:none}
hr.is-style-rope::before{bottom:auto;top:50%;width:60px;height:60px;margin:-30px 0 0 -30px;background:var(--jolly) 50% 55%/80% no-repeat,#ead39f;box-shadow:0 0 0 3px #8a5a2b,0 3px 6px rgba(42,26,12,.4)}

/* Apertura */
.uam-hero{padding-top:1.1rem;padding-bottom:.5rem}
.uam-hero>.wp-block-columns{gap:1rem;align-items:center}
.uam-hero h1{margin:.2rem 0 .75rem;font:400 clamp(2.5rem,1.45rem + 4.6vw,4.3rem)/.98 var(--title);letter-spacing:.005em;text-wrap:balance;text-shadow:0 1px 0 rgba(255,240,205,.6)}
.uam-hero__text>p{max-width:36em}
.is-style-tagline{display:flex;align-items:center;gap:.7rem;margin-bottom:1.3rem;color:var(--red);font:600 1.15rem/1.25 var(--cond);letter-spacing:.12em;text-transform:uppercase;text-wrap:balance}
.is-style-tagline::before{content:"";flex:none;width:2.6rem;height:6px;border-radius:3px;background:var(--rope)}
.has-drop-cap:not(:focus)::first-letter{float:left;margin:.07em .12em 0 0;color:var(--red);font:400 3.5em/.8 var(--title)}
.is-style-crew{display:flex;justify-content:center;align-items:flex-start;padding:.4rem 0 1rem}
.is-style-mini-wanted{--tilt:-6deg;position:relative;flex:none;width:28%;max-width:9.5rem;margin:1.2rem -1.5% 0;padding:15px 6px 22px;container-type:inline-size;background:linear-gradient(var(--ink),var(--ink)) 50% calc(100% - 10px)/56% 3px no-repeat,var(--aged),var(--grain),var(--paper);box-shadow:var(--shadow);transform:rotate(var(--tilt))}
.is-style-mini-wanted:nth-child(2){--tilt:1.5deg;z-index:1;width:33%;max-width:11rem;margin-top:0}
.is-style-mini-wanted:nth-child(3){--tilt:6deg;margin-top:1.6rem}
.is-style-mini-wanted::before{content:"WANTED";content:"WANTED"/"";display:block;margin:0 0 .3rem;font:700 1.05rem/1 var(--serif);font-size:17cqi;letter-spacing:.04em;text-align:center;transform:scaleY(1.2)}
.is-style-mini-wanted img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border:2px solid var(--ink)}

/* Manifesto WANTED */
.is-style-wanted{--tilt:-1.1deg;--shift:-3%;--stain:none;position:relative;container-type:inline-size;padding:2.3rem 1.1rem 1.4rem;text-align:center;background:var(--stain),radial-gradient(ellipse at 50% 30%,rgba(255,249,228,.72),rgba(255,249,228,0) 62%),var(--aged),var(--grain),var(--paper);outline:1.5px solid rgba(42,26,12,.5);outline-offset:-8px;box-shadow:var(--shadow);transform:translateX(var(--shift)) rotate(var(--tilt))}
.is-style-wanted:nth-child(even){--tilt:1deg;--shift:3%}
.is-style-wanted::before{content:"WANTED";content:"WANTED"/"";display:block;margin:.1rem 0 .85rem;padding-left:.06em;font:700 2.2rem/1 var(--serif);font-size:min(3.3rem,16cqi);letter-spacing:.06em;transform:scaleY(1.22)}
.is-style-wanted::after,.is-style-mini-wanted::after{content:"";position:absolute;top:8px;left:50%;width:13px;height:13px;margin-left:-6.5px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#d8cbb6 0 10%,#8b7b67 34%,#3a2e25 75%);box-shadow:0 2px 2px rgba(0,0,0,.45),2px 4px 5px rgba(42,26,12,.25)}
.is-style-mini-wanted::after{top:4px;width:9px;height:9px;margin-left:-4.5px}
.is-pinned-tape::after{top:-13px;width:118px;height:30px;margin-left:-59px;border-radius:1px;background:rgba(233,222,190,.82);box-shadow:0 1px 3px rgba(42,26,12,.3);transform:rotate(-3deg)}
.is-pinned-tape:nth-child(even)::after{transform:rotate(4deg)}
.has-stain{--stain:radial-gradient(circle at 84% 90%,rgba(0,0,0,0) 0 28px,rgba(122,70,22,.24) 29px 31px,rgba(122,70,22,.1) 32px 35px,rgba(0,0,0,0) 36px)}
.is-style-wanted .wp-block-image{margin:0}
.is-style-wanted .wp-block-image img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border:3px solid var(--ink);background:#3a2a1c;filter:sepia(.18) saturate(.92) contrast(1.04)}
.is-style-wanted .wp-block-image::after{content:"DEAD OR ALIVE";content:"DEAD OR ALIVE"/"";display:block;margin-top:.55rem;padding-left:.2em;font:700 .95rem/1.1 var(--serif);font-size:min(1.35rem,6.4cqi);letter-spacing:.2em}
.uam-focus-25 img{object-position:50% 25%}
.uam-focus-65 img{object-position:50% 65%}
.uam-focus-70 img{object-position:50% 70%}
.is-style-wanted>.wp-block-heading{margin:.5rem 0 .4rem;font:400 2.1rem/1.02 var(--title);font-size:min(2.75rem,14cqi);text-wrap:balance}
.is-style-wanted>p{max-width:30ch;margin:0 auto;font-size:1rem;line-height:1.5}
.is-style-wanted .wp-block-buttons{justify-content:center;margin-top:1.1rem}
.is-style-wanted .wp-block-button__link{padding:.5rem 1rem .45rem;font-size:1.25rem}
.uam-section .is-style-wall{grid-template-columns:minmax(0,1fr);gap:2.6rem;align-items:start;padding-top:.6rem}
.is-style-wall>.is-style-wanted{justify-self:center;width:min(94%,23rem)}
.is-wanted-event>.wp-block-heading{width:fit-content;max-width:100%;margin:1rem auto .6rem;padding:.3rem .8rem .25rem;border:3px double var(--red);border-radius:3px;color:var(--red);font:700 1.2rem/1.15 var(--cond);letter-spacing:.14em;text-transform:uppercase;transform:rotate(-3deg)}
.is-style-wanted>.is-style-event{max-width:none;margin:0;font:500 1.1rem/1.35 var(--cond);letter-spacing:.08em;text-transform:uppercase}
.is-style-event strong{display:block;margin-bottom:.2rem;font:400 2.2rem/1 var(--title);font-size:min(2.6rem,13cqi);letter-spacing:0;text-transform:none}
.is-style-wanted>.is-style-taglia{max-width:none;margin:1rem 0 0;padding:.5rem 0 .65rem;border-top:3px double var(--ink);border-bottom:3px double var(--ink);line-height:1.35}
.is-style-taglia strong{display:block;color:var(--red);font:400 2.9rem/1.1 var(--title);font-size:min(3.3rem,17cqi)}
.is-style-taglia strong::before,.is-wanted-package>.wp-block-heading::after{content:"Taglia";content:"Taglia"/"";color:var(--ink);font:600 .95rem/1 var(--cond);letter-spacing:.22em;text-transform:uppercase}
.is-style-taglia strong::before{margin-right:.5rem;vertical-align:.6em}
.is-style-perks{display:grid;gap:.55rem;width:fit-content;max-width:100%;margin:1.1rem auto 0;padding:0;list-style:none;text-align:left}
.is-style-perks li{display:flex;align-items:center;gap:.75rem;font-weight:600;line-height:1.3}
.is-style-perks li::before{content:"";flex:none;width:46px;height:46px;border:2px solid var(--ink);border-radius:50%;background:var(--paper-2) var(--icon) 50%/26px no-repeat;box-shadow:inset 0 0 0 3px var(--paper-2),inset 0 0 0 4px rgba(42,26,12,.3)}
.is-style-perks li{--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E")}
.is-perks-wed li:nth-child(1){--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a0c' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M5 9.5h10.5V20a1.5 1.5 0 0 1-1.5 1.5H6.5A1.5 1.5 0 0 1 5 20z'/%3E%3Cpath d='M15.5 11.5h2a2.5 2.5 0 0 1 2.5 2.5v1.5a2.5 2.5 0 0 1-2.5 2.5h-2'/%3E%3Cpath d='M4.6 9.5C3.6 7 5.4 5.4 7.3 6c.8-2 4.6-2.4 5.6-.3 1.9-.4 3.6 1.4 2.6 3.8'/%3E%3Cpath d='M8.3 12.5v6M12.2 12.5v6'/%3E%3C/svg%3E")}
.is-perks-wed li:nth-child(2){--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a0c' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8 14.2c1 1.6 2.4 2.4 4 2.4s3-.8 4-2.4'/%3E%3Cpath d='M9 9.4v1M15 9.4v1' stroke-width='2.4'/%3E%3C/svg%3E")}
.is-perks-thu li:nth-child(1){--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a0c' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 11.5c0-4 3.6-6.8 8-6.8s8 2.8 8 6.8z'/%3E%3Cpath d='M3.5 14.5h17'/%3E%3Cpath d='M4.5 17.5h15v.5a2.5 2.5 0 0 1-2.5 2.5H7A2.5 2.5 0 0 1 4.5 18z'/%3E%3Cpath d='M9 8.4h.01M12.4 7.5h.01M15.2 8.7h.01' stroke-width='2.2'/%3E%3C/svg%3E")}
.is-perks-thu li:nth-child(2){--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a0c' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M6 8.5h12l-1.4 12a1.5 1.5 0 0 1-1.5 1.3H8.9a1.5 1.5 0 0 1-1.5-1.3z'/%3E%3Cpath d='M13 8.5l1.6-6h3'/%3E%3Cpath d='M6.6 13h10.8'/%3E%3Ccircle cx='10.5' cy='17' r='1'/%3E%3Ccircle cx='13.6' cy='15.8' r='.7'/%3E%3C/svg%3E")}
.is-perks-thu li:nth-child(3){--icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232a1a0c' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M7 3v5.5a2 2 0 0 0 4 0V3M9 3v18'/%3E%3Cpath d='M17 21V3c-2 1.3-3 3.8-3 7.2 0 1.6.9 2.6 3 2.6'/%3E%3C/svg%3E")}

/* Pacchetti festa */
.is-wanted-package{padding-bottom:1rem}
.is-wanted-package>.wp-block-heading{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:center;gap:0 .5rem;margin:0;color:var(--red);font-size:min(3.4rem,18cqi)}
.is-wanted-package>.wp-block-heading::before{--h:min(9.5rem,40cqi);--y:calc(var(--h)*.0547);content:"";order:-2;flex:0 0 100%;height:var(--h);margin-bottom:.5rem;background:var(--bt) 50% var(--y)/auto 70.3% no-repeat,var(--frame) 50%/auto 100% no-repeat}
.is-bottles-2>.wp-block-heading::before{background-image:var(--bt),var(--bt),var(--frame);background-position:calc(50% - var(--h)*.1484) var(--y),calc(50% + var(--h)*.1484) var(--y),50%;background-size:auto 70.3%,auto 70.3%,auto 100%}
.is-bottles-3>.wp-block-heading::before{background-image:var(--bt),var(--bt),var(--bt),var(--frame);background-position:calc(50% - var(--h)*.2969) var(--y),50% var(--y),calc(50% + var(--h)*.2969) var(--y),50%;background-size:auto 70.3%,auto 70.3%,auto 70.3%,auto 100%}
.is-wanted-package>.wp-block-heading::after{order:-1}
.is-wanted-package>ul{margin:.7rem 0 0;padding:.45rem 0 0;border-top:3px double var(--ink);list-style:none}
.is-wanted-package li{padding:.4rem 0;font-weight:600;line-height:1.35}
.is-wanted-package li+li{border-top:1px dashed rgba(42,26,12,.4)}
.is-wanted-package li:first-child{font:400 1.65rem/1.15 var(--title)}
.uam-section>.is-style-note{position:relative;max-width:46rem;margin:3.2rem auto 0;padding:1.7rem 1.25rem 1.4rem;text-align:center;background:var(--grain),linear-gradient(170deg,#f7ecd0,#ebdab0);box-shadow:var(--shadow);transform:rotate(-.6deg)}
.is-style-note::before,.is-style-note::after,.is-style-snapshot::before{content:"";position:absolute;top:-9px;z-index:1;width:84px;height:26px;background:rgba(233,222,190,.85);box-shadow:0 1px 2px rgba(42,26,12,.25)}
.is-style-note::before{left:-8px;transform:rotate(-30deg)}
.is-style-note::after{right:-8px;transform:rotate(28deg)}
.is-style-note>.wp-block-heading{margin:0 0 .6rem;font:400 2rem/1.1 var(--title)}
.is-style-note>ul{display:grid;gap:.3rem;margin:0;padding:0;font-weight:600;list-style:none}
.is-style-note li{display:flex;align-items:center;justify-content:center;gap:.55rem}
.is-style-note li::before{content:"×";content:"×"/"";color:var(--red);font:700 1.3rem/1 Prompt}

/* Brindiamo insieme */
.uam-brindisi>.wp-block-columns{align-items:center}
.is-style-snapshots{display:grid;grid-template-columns:1fr 1fr;gap:.9rem;align-items:start;padding:.8rem .4rem 0}
.is-style-snapshot{position:relative;margin:0;padding:7px 7px 24px;background:#f8f0db;box-shadow:var(--shadow);transform:rotate(-3deg)}
.is-style-snapshot+.is-style-snapshot{z-index:1;margin-top:2.2rem;transform:rotate(2.5deg)}
.is-style-snapshot img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;filter:sepia(.12) saturate(.95) contrast(1.03)}
.is-style-snapshot::before{top:-11px;left:50%;width:78px;height:24px;margin-left:-39px;transform:rotate(-4deg)}
.is-style-snapshot+.is-style-snapshot::before{transform:rotate(5deg)}
.uam-brindisi__text>p:first-child{font-size:1.15rem}

/* Pagine normali (privacy, cookie…) */
.uam-page{padding:clamp(2rem,5vw,3.5rem) var(--gutter)}
.uam-paper{position:relative;max-width:52rem;margin:0 auto;padding:clamp(1.5rem,4vw,3rem) clamp(1.1rem,4vw,3rem);background:var(--grain),radial-gradient(ellipse at 50% 20%,rgba(255,249,228,.7),rgba(255,249,228,0) 70%),var(--aged),var(--paper-2);box-shadow:var(--shadow)}
.uam-paper>h1{margin:0 0 1.5rem;font:400 clamp(2.3rem,1.7rem + 2.6vw,3.4rem)/1.05 var(--title);text-wrap:balance}
.uam-paper h2{margin:2rem 0 .6rem;font:400 1.6rem/1.2 var(--title)}
.uam-paper h3,.uam-paper h4{margin:1.6rem 0 .5rem;font:600 1.1rem/1.35 Prompt,sans-serif}
.uam-paper table{width:100%;border-collapse:collapse;font-size:.95rem}
.uam-paper th,.uam-paper td{padding:.45rem .5rem;border-bottom:1px solid rgba(42,26,12,.25);text-align:left;vertical-align:top}
.uam-paper .table-wrap,.uam-paper .cmplz-cookies-overview,.uam-paper #cmplz-cookies-overview{overflow-x:auto}
.uam-paper .cookies-per-purpose>div{min-width:0;overflow-wrap:anywhere}
.uam-404{text-align:center}
.uam-404 .is-style-wanted{max-width:24rem;margin:0 auto 2rem;--shift:0%}
.uam-404 .is-style-wanted p{max-width:none}
.uam-404 .wp-block-buttons{justify-content:center}

/* Piede con il modulo */
.site-footer{--focus:#ffd27a;position:relative;color:var(--paper-2);background:#26170b;background-image:radial-gradient(ellipse at 50% 0,rgba(140,28,19,.3),rgba(140,28,19,0) 60%);scroll-margin-top:1rem}
.site-footer::before{content:"";display:block;height:9px;background:var(--rope);box-shadow:0 2px 4px rgba(0,0,0,.4)}
.site-footer a{color:var(--paper-2)}
.site-footer a:hover{color:#ffd27a}
.site-footer__inner{display:grid;grid-template-columns:minmax(0,1fr);gap:2.5rem;max-width:calc(var(--wide) + 2*var(--gutter));margin:0 auto;padding:3.25rem var(--gutter) 2.5rem}
.site-footer__title{margin:0 0 .8rem;color:var(--paper-2);font:400 clamp(2.3rem,1.6rem + 3vw,3.3rem)/1.02 var(--title);text-wrap:balance}
.site-footer__intro p{max-width:32em;margin:0;color:#ecdcb8}
.site-footer__form .wpcf7,.uam-form-fallback{--focus:#14467f;position:relative;max-width:40rem;padding:1.9rem 1.1rem 1.3rem;border-radius:2px;color:var(--ink);background:var(--grain),radial-gradient(ellipse at 50% 35%,rgba(255,249,228,.6),rgba(255,249,228,0) 65%),var(--aged),var(--paper);box-shadow:0 20px 36px -14px rgba(0,0,0,.75)}
.site-footer__form .wpcf7::before{content:"";position:absolute;top:-22px;right:14px;width:64px;height:64px;border-radius:48% 52% 50% 50%/52% 47% 53% 48%;background:var(--anchor) 50%/56% no-repeat,radial-gradient(circle at 38% 32%,#c0392b,#8c1c13 55%,#5e100a);box-shadow:0 3px 6px rgba(0,0,0,.45),inset 0 0 0 5px rgba(94,16,10,.55),inset 0 0 0 7px rgba(255,190,170,.18);transform:rotate(-12deg)}
.site-footer__form .wpcf7 a,.site-footer__form .wpcf7 a:hover,.uam-form-fallback a{color:var(--red)}
.wpcf7 .screen-reader-response{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.wpcf7 .hidden-fields-container{display:none}
.wpcf7-form p{margin:0 0 1rem}
.wpcf7-form label{display:block;font-weight:600}
.wpcf7-form label>br{display:none}
.wpcf7-form-control-wrap{display:block;margin-top:.35rem}
.wpcf7-text,.wpcf7-textarea{width:100%;min-height:48px;padding:.65rem .8rem;border:2px solid #7a5532;border-radius:3px;background:#fbf4e2;color:var(--ink);font:400 1rem/1.4 Prompt,system-ui,sans-serif}
.wpcf7-textarea{min-height:8.5rem;resize:vertical}
.wpcf7-text:focus,.wpcf7-textarea:focus{border-color:var(--ink)}
.wpcf7-acceptance{display:block}
.wpcf7-acceptance .wpcf7-list-item{margin:0}
.wpcf7-acceptance label{display:flex;align-items:flex-start;gap:.75rem;min-height:44px;padding:.1rem 0;font-weight:400;line-height:1.45;cursor:pointer}
.wpcf7-acceptance input{flex:none;width:24px;height:24px;margin:.05rem 0 0;accent-color:var(--red)}
.wpcf7-submit{width:100%;min-height:52px;padding:.55rem 1.6rem;border:0;border-radius:4px;background:var(--red);color:var(--cream);font:400 1.45rem/1.1 var(--title);letter-spacing:.03em;box-shadow:0 3px 0 var(--red-3),inset 0 0 0 2px rgba(255,220,180,.22);cursor:pointer;-webkit-appearance:none;appearance:none}
.wpcf7-submit:hover{background:var(--red-2)}
.wpcf7-submit:disabled{opacity:.6;cursor:wait}
.wpcf7-spinner{display:none}
.wpcf7-form.submitting .wpcf7-spinner{display:inline-block;width:24px;height:24px;margin:0 0 0 .75rem;vertical-align:middle;border:3px solid rgba(42,26,12,.25);border-top-color:var(--red);border-radius:50%;animation:uam-spin 1s linear infinite}
@keyframes uam-spin{to{transform:rotate(1turn)}}
.wpcf7-not-valid-tip{display:block;margin-top:.3rem;color:#8c1c13;font-size:.95rem;font-weight:600}
.wpcf7-text.wpcf7-not-valid,.wpcf7-textarea.wpcf7-not-valid{border-color:#8c1c13}
.wpcf7 form .wpcf7-response-output{margin:1rem 0 0;padding:.7rem .9rem;border:2px solid var(--ink);border-radius:3px;background:#fbf4e2;font-weight:600}
.wpcf7 form.init .wpcf7-response-output,.wpcf7 form.resetting .wpcf7-response-output,.wpcf7 form.submitting .wpcf7-response-output{display:none}
.wpcf7 form.sent .wpcf7-response-output{border-color:#2f6b2a;background:#e8f2dc;color:#1f4a1b}
.wpcf7 form.invalid .wpcf7-response-output,.wpcf7 form.unaccepted .wpcf7-response-output,.wpcf7 form.payment-required .wpcf7-response-output,.wpcf7 form.failed .wpcf7-response-output,.wpcf7 form.aborted .wpcf7-response-output,.wpcf7 form.spam .wpcf7-response-output{border-color:#8c1c13;background:#f8e3df;color:#6d140e}
.uam-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.contact-list{display:grid;gap:.1rem;margin:0;padding:0;list-style:none}
.contact-list li{display:flex;align-items:center;gap:.75rem;min-height:44px}
.contact-list a{display:inline-flex;align-items:center;min-height:44px}
.contact-list svg{flex:none;width:22px;height:22px;color:var(--gold)}
.social{display:flex;gap:.75rem;margin:1.1rem 0 0;padding:0;list-style:none}
.social a{display:grid;place-items:center;width:48px;height:48px;border:2px solid rgba(246,233,200,.5);border-radius:50%}
.social a:hover{border-color:var(--red);background:var(--red);color:var(--cream)}
.social svg{width:22px;height:22px}
.site-footer__bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:0 1.5rem;max-width:calc(var(--wide) + 2*var(--gutter));margin:0 auto;padding:.6rem var(--gutter) 88px;border-top:1px solid rgba(246,233,200,.2);color:#dccaa2}
.site-footer__bottom p{margin:0}
.site-footer__bottom ul{display:flex;flex-wrap:wrap;gap:0 1.25rem;margin:0;padding:0;list-style:none}
.site-footer__bottom a{display:inline-flex;align-items:center;min-height:44px}

@media (min-width:600px){
.wpcf7-submit{width:auto}
.is-style-note>ul{display:flex;flex-wrap:wrap;justify-content:center;gap:.4rem 1.6rem}
}
@media (min-width:700px){
.uam-section .is-wall-3{grid-template-columns:repeat(3,minmax(0,1fr));gap:2.2rem 1.5rem}
.uam-section .is-wall-2{grid-template-columns:repeat(2,minmax(0,1fr));gap:2.5rem}
.is-style-wall>.is-style-wanted{--shift:0%;justify-self:stretch;width:auto}
.is-wall-3>.is-style-wanted:nth-child(2){margin-top:1.6rem}
.is-wall-2>.is-style-wanted{width:100%;max-width:30rem}
.is-wall-2>.is-style-wanted:nth-child(odd){justify-self:end}
.is-wall-2>.is-style-wanted:nth-child(even){justify-self:start;margin-top:1.4rem}
.is-wall-3 .is-style-wanted{padding-right:1rem;padding-left:1rem}
}
@media (min-width:782px){
.site-header__inner{padding-top:14px;padding-bottom:20px}
.site-nav a{padding:0 .8rem;font-size:1.5rem}
.uam-hero{padding-top:2.6rem;padding-bottom:1rem}
.uam-hero>.wp-block-columns{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:3rem}
.uam-hero .is-style-crew{order:2;padding-top:1rem}
.is-style-mini-wanted{width:30%;max-width:12rem}
.is-style-mini-wanted:nth-child(2){width:36%;max-width:14rem}
.uam-brindisi>.wp-block-columns{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:3.5rem}
.is-style-snapshots{gap:0}
.is-style-snapshot+.is-style-snapshot{margin-left:-8%}
}
@media (min-width:900px){
.site-footer__inner{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:"intro form" "info form";grid-template-rows:auto 1fr;gap:2rem 4rem;align-items:start}
.site-footer__intro{grid-area:intro}
.site-footer__form{grid-area:form}
.site-footer__info{grid-area:info}
.site-footer__form .wpcf7{max-width:none;padding:2.2rem 1.75rem 1.6rem}
}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
.is-style-wanted,.is-style-snapshot{transition:transform .3s ease}
.is-style-wanted:hover{transform:translateX(var(--shift)) rotate(0deg) translateY(-4px)}
}
@media (prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}

/* GTranslate e Complianz: la bandierina non copre il banner dei cookie né la linguetta "Gestisci consenso". */
body:has(.cmplz-cookiebanner.cmplz-show) :is(#gt_float_wrapper,.gt_float_wrapper,.gt_float_switcher){display:none!important}
@media (min-width:769px){:is(#gt_float_wrapper,.gt_float_wrapper){bottom:72px!important}}
