/* Paper collage identity requested 9 October. UI stays semantic and localized. */
:root{--deep:#003d2e;--blue:#075139;--gold:#efbd23;--border:#d6d0bf;background:#f3f0e6;color:#07372a}
body{background:#f3f0e6;color:#07372a}h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:800;letter-spacing:-.045em}header{background:#003d2e}.field-home{background:#003d2e;max-width:980px}.comuni-cover{position:relative;max-width:760px;margin:auto;background:#f3f0e6}.comuni-art-window{max-width:none;aspect-ratio:auto;overflow:visible}.comuni-art-window img{width:100%;height:auto;transform:none}.collage-title{position:absolute;left:8%;top:29%;width:48%;text-align:left;transform:rotate(-5deg);color:#071e16;font-family:Impact,'Arial Narrow',Arial,sans-serif;font-weight:900;line-height:.94;text-transform:uppercase;letter-spacing:-.055em;font-size:clamp(34px,9vw,78px);margin:0}.collage-title small{display:block;font:600 clamp(11px,2.6vw,22px)/1.5 'Courier New',monospace;letter-spacing:0;text-transform:none;margin-top:14px}
.field-home>.home-intro{max-width:760px;padding:22px 24px 30px;background:#003d2e}.home-intro .languages{gap:10px}.home-intro .languages button{background:#fffdf6;color:#003d2e;border:1px solid #d8e0d2;font-size:15px;padding:12px 10px;box-shadow:0 4px 7px #001c2526}.home-intro .languages button[aria-pressed=true]{background:#ffd02c;border-color:#ffd02c;color:#003d2e}.home-intro .reference-play{background:#ffd02c;color:#003d2e;width:78px;height:78px;border-radius:50%;font-size:31px;box-shadow:0 6px 12px #001c2540}
.home-content{background:#003d2e;padding:20px 22px 32px}.home-content>h2{background:#f5f1e5;color:#003d2e;padding:22px 20px;font-size:clamp(28px,5vw,45px);line-height:1.12;position:relative;border-radius:3px 15px 4px 12px;box-shadow:0 3px 0 #e4decd;margin:24px 0 20px}.home-content>h2:after{content:'';display:block;width:42%;max-width:180px;height:4px;background:#e8b629;transform:rotate(-2deg);margin-top:12px;border-radius:50%}
.field-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.field-actions button,.field-actions button:nth-child(n){position:relative;display:flex;flex-direction:column;align-items:flex-start;isolation:isolate;min-height:188px;padding:22px 17px 18px;text-align:left;border-radius:22px;border:1px solid #d5cebb;background:#f5f1e5;box-shadow:0 5px 10px #001c2530;overflow:hidden}.field-actions .action-picture{position:absolute;z-index:-1;right:0;top:0;width:48%;height:100%;object-fit:cover;opacity:.7;mask-image:linear-gradient(90deg,transparent,#000 45%);border-radius:0 22px 22px 0}.field-actions .reference-icon{width:36px;height:36px;margin:0 0 22px;color:#003d2e}.field-actions strong{font-family:Arial,sans-serif;font-size:clamp(18px,2.7vw,28px);font-weight:850;line-height:1.13;max-width:94%;text-shadow:0 1px 5px #fffdf6,0 0 12px #fffdf6}.field-actions small{font-size:15px;line-height:1.3;font-weight:500;color:#254b3e;max-width:90%;text-shadow:0 1px 4px #fffdf6,0 0 10px #fffdf6;margin-top:9px}.field-actions button:hover{border-color:#efbd23;background:#fffdf6}.search-field{background:#f5f1e5;border-color:#dfd7c4;border-radius:24px;padding:8px;box-shadow:0 3px 0 #e6dfcc}.search-field button{background:#d3e5e7;border-radius:50%;min-width:48px;color:#003d2e}.search-field input{background:transparent}.map-entry{background:#efbd23;color:#003d2e;padding:18px 22px;border-radius:999px;min-height:65px}.map-entry strong{font-size:20px}.home-pois button{background:#f5f1e5;border-color:#dfd7c4;border-radius:22px;box-shadow:0 5px 10px #001c2530}.home-pois strong{font-family:Georgia,serif;font-size:22px;font-weight:700;color:#003d2e}.home-pois small{color:#425448}.home-motto{color:#f5f1e5}
.bottom-nav{background:#fffef8;border:0;border-radius:24px 24px 0 0;box-shadow:0 -5px 24px #003d2e15}.bottom-nav button.selected{background:#e9ede3;box-shadow:inset 0 3px #d5aa2b;color:#003d2e}.page>h1{font-size:clamp(34px,6vw,50px)}.route-card,.guide-group{background:#fffcf3;border-color:#dbd3bf;box-shadow:0 4px 10px #063b2610}.route-card h2,.guide-group h2{font-family:Georgia,serif}.route-modes button{background:#fffcf3}.route-modes button[aria-pressed=true]{background:#003d2e}.primary{background:#efbd23;border-color:#efbd23;color:#003d2e}.guide-item button{background:#efbd23}.page .languages button[aria-pressed=true]{background:#003d2e}
@media(min-width:760px){.home-content{padding:28px 40px}.field-actions button{min-height:215px;padding:26px}.field-actions .reference-icon{width:44px;height:44px}.home-intro .languages button{flex:1 1 18%}}
@media(max-width:380px){.home-content{padding:16px 12px}.field-actions{gap:10px}.field-actions button{min-height:180px;padding:17px 12px}.field-actions strong{font-size:18px}.field-actions small{font-size:14px}.home-content>h2{padding:18px 14px}.field-home>.home-intro{padding:18px 14px 24px}}
html:not([lang=it]) .collage-title{font-size:clamp(27px,7.2vw,60px);overflow-wrap:anywhere}html:not([lang=it]) .collage-title small{font-size:clamp(10px,2.3vw,19px)}
/* Final shared botanical/contour backdrop. Text panels remain opaque enough outdoors. */
:root{background-color:#003d2e}body{background:#003d2e url('assets/comuni/botanical-background.png') center top/100% auto repeat-y;background-attachment:fixed;min-height:100vh}.field-home,.home-content,.field-home>.home-intro{background:transparent}.page{margin:24px auto 0;padding-left:32px;padding-right:32px;background:linear-gradient(#f8f5ebf5,#f8f5ebf5) center top/calc(100% - 32px) 100% no-repeat;border-radius:24px}.navigation-page{background:transparent}.nav-content{background:#fffdf2f5;border:12px solid #003d2e;border-image:none;border-radius:24px}.comuni-cover{background:transparent}.home-intro .languages button{background:#fffdf6}.home-intro .languages button[aria-pressed=true]{background:#ffd02c}.home-motto{color:#fffdf2}.bottom-nav{background:#fffef8}
@media(min-width:760px){body{background-size:1000px auto}.page{padding-left:46px;padding-right:46px;background-size:calc(100% - 48px) 100%}}
