/*
Theme Name: Nicola Tagliafierro - Clean
Author: Lemon Hub SRL
Description: Tema indipendente per la ricostruzione del sito Nicola Tagliafierro.
Version: 1.0.0
Requires at least: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: nt-clean
*/
:root{--lime:#e3f387;--orange:#f77716;--ink:#262626;--muted:#777;--header:70px;--footer:40px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:white;font:16px/1.8 'Roboto',Arial,sans-serif}button,input,textarea{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit}button{cursor:pointer}img{max-width:100%;height:auto}body.dialog-open{overflow:hidden}.site-frame{margin:0 40px;height:100dvh;display:flex;flex-direction:column}.site-header{height:var(--header);display:flex;align-items:center;gap:24px;flex:none}.wordmark{font-family:'Oswald','Arial Narrow',sans-serif;letter-spacing:2px;text-transform:uppercase;text-decoration:none;font-size:24px;font-weight:700;color:#080808;white-space:nowrap}.desktop-nav{display:flex;gap:7px;margin-left:auto;align-items:center;font:500 14px 'Oswald',sans-serif}.desktop-nav a{padding:12px 17px;text-decoration:none}.desktop-nav a[aria-current],.desktop-nav a:hover{background:#333;color:#fff}.menu-toggle{border:0;background:transparent;padding:10px 0 10px 10px;width:42px;display:flex;flex-direction:column;gap:5px;align-items:flex-end}.menu-toggle span{display:block;width:28px;height:1px;background:#252525}.menu-toggle span:nth-child(2){width:22px}.main-layout{display:grid;grid-template-columns:40% 60%;height:calc(100dvh - var(--header) - var(--footer));min-height:0}.portrait-panel{position:relative;overflow:hidden}.portrait-panel>img{width:100%;height:100%;display:block;object-fit:cover;object-position:center top}.particles{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.35}.content-panel{overflow-y:auto;background:var(--lime);scrollbar-width:thin;scrollbar-color:#b5c45d var(--lime)}.page-content{padding:90px 90px 70px;max-width:1080px;margin:auto;color:#777;font-size:16px;line-height:1.8}.nt-section{margin:0 0 25px}.nt-section:empty{display:none}.nt-column{min-width:0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:28px}.book-section:has(.book-cover){background:#f3f3f3;padding:30px;align-items:center}.book-section .book-cover{margin:0}.book-section img{max-height:230px;width:auto}.page-insostenibile .book-section:first-of-type{background:transparent;padding:0;align-items:center}.page-insostenibile .book-section:first-of-type img{max-height:390px}.page-content p{margin:0 0 14px}.copy{margin-bottom:10px}.copy:empty{display:none}.copy p:empty{display:none}.page-content strong,.page-content b{font-weight:700}.page-content ul{padding-left:22px}.page-content li{margin:5px 0}.eyebrow{font:500 14px/1.6 'Oswald',sans-serif;text-transform:uppercase;letter-spacing:4px;display:flex;align-items:center;gap:25px;margin:40px 0 30px;color:#333}.eyebrow:after{content:'';height:1px;background:#adb482;flex:1;min-width:20px}.content-heading{font:700 18px/1.45 'Poppins',sans-serif;text-transform:uppercase;margin:25px 0 18px;color:#333}.name-title{font:700 clamp(38px,4vw,66px)/1.15 'Poppins',sans-serif;text-transform:uppercase;color:#292929;max-width:680px;margin:30px auto 20px}.home-content{text-align:center;padding-top:90px}.home-content>.nt-section:first-child>.nt-column>.content-heading:first-child{font:500 14px 'Poppins',sans-serif;letter-spacing:3px;margin-bottom:25px}.home-content .socials{margin:20px auto}.home-content>.nt-section:first-child{padding-bottom:30px}.home-content .book-section{text-align:left}.short-rule{width:65px;height:4px;border:0;background:#303418;margin:28px auto}.socials{display:flex;gap:8px;justify-content:center;flex-wrap:wrap;margin-bottom:25px}.socials a{height:42px;width:42px;background:var(--orange);display:grid;place-items:center;color:white;border-radius:0;text-decoration:none;transition:background .2s}.socials a:hover{background:#dc6510}.socials img{width:20px;height:20px;filter:brightness(0) invert(1)}.orange-button{display:inline-flex;align-items:center;justify-content:center;border:0;background:#eb7829;color:white;font:600 13px/1.5 'Poppins',sans-serif;text-decoration:none;padding:14px 26px;min-height:44px}.orange-button:hover{background:#d86617}.button-row{margin:20px 0!important}.partners{display:flex;align-items:center;gap:26px;margin:30px 0 45px}.partners img{width:calc((100% - 52px)/3);height:115px;object-fit:contain}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin:25px 0}.gallery-link{display:block;overflow:hidden;aspect-ratio:1}.photo-grid img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}.gallery-link:hover img{transform:scale(1.04)}.photo-grid .gallery-link:first-child:nth-last-child(n+8){grid-row:span 2;grid-column:span 2}.content-image{margin:25px 0}.content-image img{width:100%;display:block}.book-cover{margin:20px auto;text-align:center}.book-cover img{max-width:230px;width:100%;height:auto}video{display:block;width:100%;max-height:340px;background:#222;margin:14px 0}.nt-section:has(video) .nt-column{display:grid;grid-template-columns:1fr 1fr;gap:12px}.nt-section:has(video) .nt-column>*:not(video){grid-column:1/-1}.youtube-placeholder{aspect-ratio:16/9;background:#333;margin:25px 0;position:relative;overflow:hidden}.youtube-placeholder[data-youtube="G2c36q5LWy8"]{background:linear-gradient(#0003,#0007),url('assets/media/youtube-ecosost.jpg') center/cover}.youtube-placeholder button{display:flex;flex-direction:column;align-items:center;justify-content:center;position:absolute;inset:0;width:100%;border:0;color:white;background:#0003;gap:10px}.play-symbol{font-size:35px;line-height:1}.youtube-placeholder small{font:12px/1.4 'Roboto',sans-serif;max-width:80%;text-shadow:0 1px 3px #000}.youtube-placeholder iframe{width:100%;height:100%;border:0}.site-footer{height:var(--footer);display:flex;align-items:center;justify-content:space-between;font-size:13px;flex:none}.site-footer .socials{margin:0;gap:15px}.site-footer .socials a{width:15px;height:22px;background:transparent}.site-footer .socials img{width:13px;height:13px;filter:brightness(0);opacity:.75}.contact-title{font:700 36px/1.2 'Poppins',sans-serif;text-transform:uppercase;text-align:center;margin:25px 0 15px}.contact-intro{text-align:center;font-size:14px}.contact-form{margin-top:35px}.contact-form>label{display:block;margin:20px 0;font-size:13px;color:#666}.contact-form input:not([type=checkbox]),.contact-form textarea{display:block;background:transparent;border:0;border-bottom:1px solid #bdc77c;border-radius:0;width:100%;padding:10px 0;color:#222;outline-offset:4px}.contact-form textarea{resize:vertical}.privacy-check{display:flex!important;gap:8px;align-items:flex-start}.privacy-check input{margin-top:5px;accent-color:#333}.privacy-check a{font-weight:700}.honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-status{border:1px solid #7f883f;padding:15px;margin-top:20px!important}.drawer-backdrop{position:fixed;inset:0;background:#0005;z-index:50}.site-drawer{position:fixed;z-index:51;right:0;top:0;bottom:0;width:min(500px,90vw);background:var(--lime);overflow:auto;box-shadow:-5px 0 30px #0002;padding-top:0}.site-drawer[hidden],.drawer-backdrop[hidden]{display:none}.drawer-close{position:absolute;right:15px;top:3px;border:0;background:none;color:white;font-size:30px;z-index:1}.search-form{height:60px;background:#333;display:flex;align-items:center;padding:10px 55px 10px 26px}.search-form input{border:0;color:white;background:none;min-width:0;width:100%;outline-offset:2px}.search-form button{border:0;background:none;font-size:30px;color:#ddd}.drawer-section{padding:25px 28px 35px;border-bottom:1px solid #fff3}.drawer-section .eyebrow{font-size:12px;letter-spacing:2px;margin:12px 0 22px}.drawer-section a{display:block;font:600 16px/1.5 'Poppins',sans-serif;text-decoration:none;margin:15px 0}.drawer-section p{font-size:15px;line-height:1.6;margin:8px 0}.lightbox{max-width:95vw;width:1100px;max-height:95dvh;height:85dvh;border:0;background:#161616ed;color:white;padding:45px 60px;text-align:center}.lightbox::backdrop{background:#000d}.lightbox img{height:calc(100% - 30px);width:100%;object-fit:contain}.lightbox button{position:absolute;border:0;background:#0005;color:white;font-size:42px;width:45px;height:55px;line-height:1}.lightbox-close{right:6px;top:0}.lightbox-prev{left:5px;top:45%}.lightbox-next{right:5px;top:45%}.lightbox-caption{font-size:12px}.sr-only{position:absolute;width:1px;height:1px;clip:rect(0,0,0,0);overflow:hidden}.skip-link{position:fixed;left:12px;top:-100px;background:#fff;padding:10px;z-index:99}.skip-link:focus{top:5px}:focus-visible{outline:2px solid #303c09;outline-offset:4px}
@media(min-width:1800px){.site-frame{margin:0 70px}.page-content{padding-left:110px;padding-right:110px}}
@media(max-width:1100px) and (min-width:769px){.site-frame{margin:0 20px}.page-content{padding:60px 38px}.desktop-nav a{padding:10px}.wordmark{font-size:20px}.desktop-nav{gap:0}.two-col{gap:15px}}
@media(max-width:768px){:root{--header:48px;--footer:46px}.site-frame{height:auto;min-height:100svh;margin:0;padding-top:var(--header);padding-bottom:var(--footer)}.site-header{position:fixed;left:0;right:0;top:0;background:white;z-index:20;padding:0 17px;justify-content:space-between}.wordmark{font-size:24px;letter-spacing:2.2px}.desktop-nav{display:none}.menu-toggle{width:35px}.menu-toggle span{width:32px}.main-layout{display:block;height:auto}.portrait-panel{height:calc(100svh - var(--header) - var(--footer));min-height:420px}.portrait-panel>img{object-position:center top}.content-panel{overflow:visible;min-height:calc(100svh - var(--header) - var(--footer));scroll-margin-top:48px}.page-content{padding:85px 20px 65px;font-size:18px;line-height:1.75}.home-content{padding-top:100px}.home-content .name-title{display:none}.home-content .copy{text-align:center}.home-content .socials{margin:35px 0 45px}.home-content>.nt-section:first-child>.nt-column>.content-heading:first-child{font-size:21px;letter-spacing:3px;line-height:1.5}.socials a{height:50px;width:50px;border-radius:5px}.socials img{width:24px;height:24px}.socials{gap:10px}.site-footer{position:fixed;bottom:0;left:0;right:0;background:white;z-index:20;padding:0 16px;font-size:17px}.site-footer .socials{gap:17px}.site-footer .socials a{width:15px;height:25px;border-radius:0}.site-footer .socials img{width:14px;height:14px}.two-col{display:block}.book-section:has(.book-cover){display:grid;grid-template-columns:40% 60%;padding:22px;gap:15px}.page-insostenibile .book-section:first-of-type{display:block;padding:0}.page-insostenibile .book-section:first-of-type .book-cover{max-width:240px;margin:auto}.content-heading{font-size:20px}.eyebrow{font-size:14px;letter-spacing:3px}.partners{gap:15px}.partners img{height:100px;width:calc((100% - 30px)/3)}.book-section .content-heading{font-size:16px}.book-section p{font-size:13px}.orange-button{font-size:14px;padding:16px 22px}.book-section .orange-button{font-size:11px;padding:12px 15px}.drawer-section{padding-top:30px}.lightbox{padding:40px 30px;width:96vw;max-width:96vw}.lightbox button{font-size:32px;width:30px}.contact-title{font-size:30px}.contact-form>label{font-size:16px}.privacy-check{font-size:13px!important}.photo-grid{gap:4px}.nt-section:has(video) .nt-column{gap:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}.particles{display:none}}

@media(max-width:768px){.site-drawer{width:100vw;max-width:none}}
