/*
Theme Name: Mammut
Description: Tema personalizzato per Sulle Tracce del Mammut, con gestione guidata dei contenuti.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mammut
*/

:root{--yellow:#f8e62a;--ink:#151715;--paper:#f3f1e9}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:95px}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Barlow',Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit}header{background:#121512;color:white;position:sticky;top:0;z-index:10;border-bottom:1px solid #ffffff20}.nav{max-width:1400px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:10px 5%;gap:20px}.brand{display:flex;align-items:center;gap:13px;font-size:12px;letter-spacing:1px;font-weight:900;line-height:1.4}.brand img{width:66px}nav{display:flex;gap:28px;align-items:center;font-size:13px;font-weight:bold}.btn{display:inline-flex;align-items:center;justify-content:center;gap:25px;background:var(--yellow);color:var(--ink);padding:17px 23px;font-weight:800;font-size:13px;border:1px solid var(--yellow);transition:.2s}.btn:hover{background:#fff}.btn.line{background:transparent;color:inherit;border-color:#ffffff65}.btn.line:hover{background:#ffffff20}.hero{min-height:690px;height:calc(100svh - 89px);max-height:920px;position:relative;color:white;display:flex;align-items:center;background:#161b19 url('assets/foto-16.jpg') center/cover}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#080e0dc9,transparent 80%),linear-gradient(0deg,#0d141bc0,transparent 35%)}.hero-inner{position:relative;width:90%;max-width:1260px;margin:auto;padding:70px 0 100px}.eyebrow{text-transform:uppercase;font-size:11px;font-weight:800;letter-spacing:2.6px;display:block;margin-bottom:24px}.hero .eyebrow{color:var(--yellow)}h1,h2,h3,p{margin-top:0}h1{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-weight:900;font-size:clamp(66px,7.6vw,110px);line-height:.95;letter-spacing:-1.5px;text-transform:uppercase;margin-bottom:27px;max-width:780px}h1 span{color:var(--yellow)}.hero p{max-width:400px;color:#e2e4e1;font-size:17px;line-height:1.7}.actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}.hero-bottom{position:absolute;bottom:23px;left:5%;right:5%;display:flex;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;color:#ddd}.strip{background:var(--yellow);padding:19px 5%;display:flex;justify-content:space-between;gap:15px;font-size:12px;font-weight:900;letter-spacing:1px}.section{padding:95px 5%;max-width:1400px;margin:auto}h2{font-family:'Barlow Condensed','Arial Narrow',sans-serif;font-size:clamp(42px,5vw,67px);font-weight:900;text-transform:uppercase;line-height:1.04;letter-spacing:-1px}.intro{display:grid;grid-template-columns:1.2fr 1fr;gap:10%;align-items:center}.intro p{font-size:17px;line-height:1.8;color:#555950}.textlink{display:inline-block;padding-bottom:9px;border-bottom:2px solid #9a931c;font-size:13px;font-weight:bold}.routes{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:45px}.route{padding:35px;background:#e7e5dc;border-top:3px solid var(--ink)}.route .num{font-size:11px;letter-spacing:2px;color:#64665e}.route h3{font-size:30px;margin:35px 0 14px}.route p{font-size:15px;line-height:1.7;max-width:440px;color:#555950}.dark{background:#181c19;color:var(--paper)}.dark .eyebrow{color:var(--yellow)}.community{display:grid;grid-template-columns:1fr 1fr;gap:10%;align-items:center}.emblem{min-height:300px;display:flex;align-items:center;justify-content:center;background:repeating-radial-gradient(ellipse at center,transparent 0,transparent 32px,#f8e62a15 33px,#f8e62a15 34px)}.emblem img{width:65%;max-width:340px;transform:rotate(-6deg)}.community p{line-height:1.8;color:#bfc4bc}.socials{display:flex;gap:25px;margin-top:30px}.socials a{border-bottom:1px solid #777;padding-bottom:8px;font-size:13px}.faq{max-width:850px}details{border-bottom:1px solid #ccc;padding:23px 0}summary{cursor:pointer;font-size:18px;font-weight:bold}details p{line-height:1.8;color:#555;margin:20px 0 0}.contact{background:var(--yellow)}.contact .section{display:grid;grid-template-columns:1.1fr 1fr;gap:10%;align-items:center;padding-top:65px;padding-bottom:65px}.contact p{line-height:1.8}.contact .btn{background:var(--ink);color:white;border-color:var(--ink)}footer{padding:35px 5%;background:#101411;color:#adb3aa;font-size:11px;line-height:1.8}.foot{max-width:1260px;margin:auto;display:flex;justify-content:space-between;gap:30px}.foot-links{display:flex;gap:20px;flex-wrap:wrap}.menu{display:none;border:1px solid #777;background:transparent;color:white;padding:10px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #b98b00;outline-offset:5px}@media(max-width:760px){.nav{padding:9px 5%}.brand img{width:52px}.brand{font-size:10px}.menu{display:block}nav{display:none;position:absolute;top:74px;left:0;right:0;background:#121512;padding:24px;flex-direction:column;align-items:stretch}nav.open{display:flex}.hero{min-height:660px;height:86svh;background-position:65% center}.hero:before{background:linear-gradient(90deg,#080e0dd9,#080e0d20),linear-gradient(0deg,#080e0da0,transparent)}h1{font-size:65px}.hero-inner{padding:55px 0 95px}.hero p{font-size:15px;max-width:300px}.hero-bottom{font-size:8px}.strip{font-size:9px;flex-wrap:wrap}.section{padding:60px 6%}.intro,.community,.contact .section{grid-template-columns:1fr;gap:25px}.routes{grid-template-columns:1fr;margin-top:25px}.route{padding:26px}.emblem{min-height:260px}.emblem img{max-width:250px}.foot{flex-direction:column}.contact .section{padding:50px 6%}.socials{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

h1{font-weight:800;letter-spacing:3px;line-height:1.1;font-size:clamp(62px,7vw,100px)}h2{font-weight:700;letter-spacing:2px;line-height:1.16}h3{font-family:'Barlow Condensed',sans-serif;letter-spacing:1px}.hero{background-image:none;overflow:hidden}.hero:after{content:'';position:absolute;inset:-2%;background:url('assets/hero.png') center/cover;z-index:0;animation:slowZoom 18s ease-in-out infinite alternate}.hero:before{z-index:1;background:linear-gradient(90deg,#06100ce8 0%,#06100c80 50%,#06100c10 100%),linear-gradient(0deg,#06100cbb,transparent 55%)}.hero-inner,.hero-bottom{z-index:2}.hero-inner{max-width:1260px}.hero-bottom{flex-wrap:wrap}.group-photo img{width:100%;height:430px;object-fit:cover}.gallery-head{display:flex;justify-content:space-between;align-items:end;gap:35px}.gallery-head p{max-width:370px;line-height:1.7}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin-top:30px}.shot{border:0;padding:0;background:#171d18;cursor:zoom-in;overflow:hidden;color:white;text-align:left}.shot img{width:100%;height:285px;object-fit:cover;display:block;transition:transform .3s}.shot:hover img{transform:scale(1.025)}.shot span{display:block;padding:14px 18px;font-size:12px;letter-spacing:1px}.wa-block{margin-top:30px;padding-top:25px;border-top:1px solid #ffffff30}.wa-block p{margin:0 0 18px}.wa{background:#f8e62a;color:#151715}.lightbox{border:0;background:#101511;color:white;width:min(1100px,96vw);padding:20px;max-height:95vh}.lightbox::backdrop{background:#000d}.lightbox img{display:block;max-width:100%;max-height:76vh;object-fit:contain;margin:15px auto}.lightbox button{background:#f8e62a;border:0;padding:12px 20px;cursor:pointer}.lb-top{display:flex;justify-content:space-between;align-items:center}.motion{position:absolute;right:5%;bottom:62px;z-index:3;background:#101511b0;color:white;border:1px solid #ffffff70;padding:8px 12px;cursor:pointer;font-size:11px}.hero.paused:after{animation-play-state:paused}@keyframes slowZoom{from{transform:scale(1)}to{transform:scale(1.07)}}@media(max-width:760px){h1{font-size:58px;letter-spacing:2px;line-height:1.12}h2{letter-spacing:1.5px}.hero:after{background-position:60% center}.gallery{grid-template-columns:1fr 1fr}.shot img{height:190px}.gallery-head{display:block}.group-photo img{height:auto}.hero{min-height:720px}.hero-inner{padding-bottom:140px}}@media(max-width:420px){h1{font-size:49px}.gallery{grid-template-columns:1fr}.shot img{height:260px}}@media(prefers-reduced-motion:reduce){.hero:after{animation:none}.motion{display:none}.shot img{transition:none}}
.aerial{padding-bottom:0}.aerial-grid{grid-template-columns:1.35fr 1fr}.aerial-grid .shot:first-child{grid-row:span 2}.aerial-grid .shot:first-child img{height:520px}.aerial-grid .shot img{height:230px}.aerial-grid .shot{background:#172018}@media(max-width:760px){.aerial-grid{grid-template-columns:1fr}.aerial-grid .shot:first-child img,.aerial-grid .shot img{height:260px}}
.edition{display:grid;grid-template-columns:1.2fr 1fr;gap:8%;align-items:center;border-bottom:1px solid #d6d4ca}.edition h2 span{color:#857b00}.edition p{font-size:18px;line-height:1.7}.edition-form{background:#181c19;color:#f3f1e9;padding:38px}.edition-form h3{font-size:38px;line-height:1.15}.edition-form p{font-size:16px;color:#c3c8bf}.edition-form .eyebrow{color:#f8e62a}.edition-form .textlink{display:block;margin-top:20px;width:fit-content}.edition-form button:disabled{opacity:.7;cursor:default}.merch{border-top:1px solid #d6d4ca}.merch-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:35px}.product{background:#fff}.product img{width:100%;height:290px;object-fit:contain;padding:12px}.product h3{font-size:23px;padding:18px;margin:0;border-top:1px solid #eee}.merch-actions{display:flex;align-items:center;gap:30px;margin-top:30px;flex-wrap:wrap}nav{gap:17px;font-size:12px}@media(max-width:1000px){nav{gap:10px}.brand span{display:none}.product img{height:220px}}@media(max-width:760px){.edition{grid-template-columns:1fr;gap:20px}.edition-form{padding:28px}.merch-grid{grid-template-columns:1fr 1fr}.product img{height:210px}.product h3{font-size:21px}.brand span{display:block}}@media(max-width:380px){.merch-grid{grid-template-columns:1fr}}.moments-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px;margin-top:30px}.moments figure{margin:0;background:#171d18;color:white}.moments video,.moments .shot img{width:100%;height:480px;object-fit:contain;background:#171d18;display:block}.moments .shot{display:block;width:100%}.moments figcaption{padding:16px 20px;font-size:14px}@media(max-width:760px){.moments-grid{grid-template-columns:1fr}.moments video,.moments .shot img{height:430px}}.merch-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.product{display:flex;flex-direction:column}.product-photo{background:#fff}.product-photo img{height:330px;object-fit:contain;padding:20px}.product-info{padding:24px;display:flex;flex-direction:column;flex:1}.product-info h3{padding:0;border:0;font-size:29px;margin-bottom:15px}.product-info p{font-size:16px;line-height:1.7;color:#4d554e}.product-info details{padding:14px 0;margin-bottom:20px}.product-info summary{font-size:15px}.product-info ul{padding-left:20px;font-size:14px;line-height:1.8;color:#4d554e}.product-info .textlink{margin-top:auto;align-self:flex-start}.merch-actions p{font-size:16px;line-height:1.7;overflow-wrap:anywhere}@media(max-width:650px){.merch-grid{grid-template-columns:1fr}.product-photo img{height:300px}}.hero-flash{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:0;background:radial-gradient(ellipse at 76% 24%,rgba(255,250,224,.65) 0%,rgba(255,255,255,.28) 40%,transparent 78%);mix-blend-mode:screen}@media(prefers-reduced-motion:reduce){.hero-flash{display:none}}
.header-wa{background:#b9f5c9;border-color:#b9f5c9}.community-top{background:#121a16;color:#f3f1e9;padding:55px 5%;border-bottom:1px solid #ffffff20}.community-wrap{max-width:1260px;margin:auto}.community-heading{display:grid;grid-template-columns:1.2fr 1fr;column-gap:35px;align-items:center}.community-heading .eyebrow{grid-column:1/-1;color:#f8e62a;margin-bottom:12px}.community-heading h2{font-size:43px;letter-spacing:1px;margin-bottom:10px}.community-heading p{font-size:18px;line-height:1.6;color:#c6cec7;max-width:330px}.community-links{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:18px;margin-top:25px}.social-card{display:flex;gap:17px;padding:26px 22px;border:1px solid #ffffff30;background:#1e2822;transition:transform .2s,border-color .2s}.social-card:hover{transform:translateY(-3px);border-color:#f8e62a}.social-wa{background:#b9f5c9;color:#12261a;border-color:#b9f5c9}.social-icon{display:flex;align-items:center;justify-content:center;width:43px;height:43px;flex-shrink:0;border:1px solid currentColor;border-radius:12px}.social-icon svg{width:27px;height:27px}.social-card h3{font-size:28px;margin:0 0 10px}.social-card p{font-size:15px;line-height:1.55;margin-bottom:20px}.social-cta{display:flex;align-items:center;justify-content:space-between;gap:18px;font-weight:700;font-size:15px}.social-fb .social-icon{color:#93bdff}.social-ig .social-icon{color:#f9b9dc}@media(max-width:1000px){.community-links{grid-template-columns:1fr 1fr}.social-wa{grid-column:1/-1}.header-wa{padding:14px 12px;font-size:11px}}@media(max-width:650px){.community-heading{grid-template-columns:1fr}.community-heading .eyebrow{grid-column:auto}.community-heading h2{font-size:38px}.community-heading p{max-width:none}.community-links{grid-template-columns:1fr}.social-wa{grid-column:auto}.social-card{padding:25px}.community-top{padding:42px 6%}.header-wa{font-size:13px}}@media(prefers-reduced-motion:reduce){.social-card{transition:none}.social-card:hover{transform:none}}
/* Mobile e pannello amministrativo */
img,video{max-width:100%}body{overflow-wrap:break-word}.btn{min-height:44px}.menu{min-width:44px;min-height:44px}.social-card,.product,.intro>*,.community>*,.edition>*{min-width:0}.admin-bar header{top:32px}
@media(max-width:1000px){nav{display:none;position:absolute;top:100%;left:0;right:0;background:#121512;padding:24px;flex-direction:column;align-items:stretch;max-height:calc(100svh - 90px);overflow:auto}nav.open{display:flex}.menu{display:block}}
@media(max-width:782px){.admin-bar header{top:46px}}
@media(max-width:600px){.admin-bar header{top:0}.hero{height:auto;max-height:none;min-height:730px}.hero-inner{padding-top:55px;padding-bottom:170px}.hero h1{font-size:clamp(38px,10.8vw,58px);letter-spacing:1.4px}.hero-bottom{bottom:15px}.motion{bottom:90px}.actions .btn{width:100%;gap:12px}.community-links{grid-template-columns:1fr}.community-heading{display:block}.foot-links{gap:18px} .moments video,.moments .shot img{height:auto;max-height:460px} .socials a{min-height:44px} .edition-form{padding:24px} .lightbox{padding:12px}}

.mammut-document h1{font-size:clamp(34px,6vw,65px)}
