/*
Theme Name: Il Pretotto — Casa aperta
Author: Il Pretotto
Description: Un tema personale per raccontare casa, incontri e cose belle. Homepage editoriale, articoli e archivi responsive.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: ilpretotto
*/
:root{--paper:#f7f4ee;--ink:#202521;--red:#ca351f;--line:#d7d6cd;--muted:#5b6259;--green:#243b30;--display:Georgia,'Times New Roman',serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 Arial,Helvetica,sans-serif}a{color:inherit;text-decoration:none}img{max-width:100%;display:block;height:auto}button,input,textarea{font:inherit}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid var(--red);outline-offset:6px}.skip{position:fixed;top:-100px;left:20px;background:white;padding:12px;z-index:100}.skip:focus{top:10px}.wrap{width:min(1320px,calc(100% - 96px));margin:auto}.header{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:10}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:25px;min-height:106px}.brand{display:flex;align-items:center;gap:13px;font-weight:900;font-size:23px;letter-spacing:-1px;white-space:nowrap}.brand img{width:48px;height:48px;object-fit:contain}.brand small{font-weight:400;font-size:11px;letter-spacing:1.3px;display:block;line-height:1.2}.nav{display:flex;gap:28px;align-items:center;font-size:14px;font-weight:600}.nav a:hover{color:var(--red)}.nav a:last-child{border-bottom:1px solid var(--ink);padding-bottom:4px}.menu-toggle{display:none;background:none;border:1px solid var(--line);padding:9px 14px}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:2px;font-weight:700;margin:0 0 22px;color:var(--muted)}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:400}h1{font:clamp(58px,6.4vw,96px)/.98 var(--display);letter-spacing:-4px;margin-bottom:30px}h1 em,h2 em{font-weight:400;color:var(--red)}h2{font:clamp(42px,4.8vw,69px)/1.07 var(--display);letter-spacing:-2px;margin-bottom:25px}h3{font:30px/1.14 var(--display);letter-spacing:-.6px}.hero{padding:62px 0 55px}.hero-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.hero-top .eyebrow{margin:0}.edition{font-size:12px;letter-spacing:1.3px}.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.hero-copy p{max-width:420px;color:var(--muted);font-size:18px;line-height:1.7}.actions{display:flex;align-items:center;gap:27px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;padding:14px 25px;background:var(--red);color:#fff;font-size:14px;font-weight:700;border:0;cursor:pointer}.button:hover{background:#a92b18}.text-link{font-size:14px;font-weight:700;border-bottom:1px solid;padding:4px 0}.hero-photo{position:relative;padding-bottom:35px}.hero-photo img{width:100%;aspect-ratio:1.05;object-fit:cover;object-position:50% 45%;border-radius:160px 0 0 0}.photo-caption{font-size:12px;color:var(--muted);margin-top:12px;letter-spacing:.4px}.seal{position:absolute;right:-20px;bottom:4px;background:var(--red);color:#fff;width:124px;height:124px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(9deg);font:italic 30px/1 var(--display);box-shadow:0 0 0 7px var(--paper)}.seal small{font:10px Arial;letter-spacing:1.8px;margin-bottom:8px}.strip{border-block:1px solid var(--line);padding:17px 0}.strip .wrap{display:flex;justify-content:space-between;align-items:center;gap:20px;font:italic 24px var(--display)}.strip span:first-child{font:12px Arial;letter-spacing:1.5px;text-transform:uppercase}.section{padding:100px 0;scroll-margin-top:30px}.about{display:grid;grid-template-columns:.8fr 1.2fr;gap:100px;align-items:start}.about-text{font-size:20px;max-width:660px}.about-text p:last-child{color:var(--muted);font-size:17px}.about-mark{font-size:120px;color:var(--red);font-family:var(--display);line-height:1;height:70px}.house{background:var(--green);color:var(--paper)}.house-grid{display:grid;grid-template-columns:1fr 1fr;gap:85px;align-items:center}.house .eyebrow{color:#c3cfbf}.house h2 em{color:#f7b29f}.house p{color:#d5dbd1;max-width:440px}.house-photo img{width:100%;height:510px;object-fit:cover;object-position:center 60%}.house-photo .photo-caption{color:#c3cfbf}.house .text-link{display:inline-block;margin-top:15px}.section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:45px}.section-head h2{margin-bottom:0;max-width:650px}.section-head p{max-width:300px;color:var(--muted);font-size:16px;margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.card img{aspect-ratio:1.25;object-fit:cover;width:100%;margin-bottom:22px}.card .meta{font-size:11px;letter-spacing:1.2px;text-transform:uppercase;color:var(--red);margin-bottom:10px}.card h3{margin-bottom:14px}.card p{font-size:15px;color:var(--muted);line-height:1.6}.card a:hover h3{color:var(--red)}.card.text-card{border-top:2px solid var(--ink);padding-top:28px;display:flex;flex-direction:column}.card.text-card .big-number{font:100px/1 var(--display);color:var(--red);margin:5px 0 28px}.contact{background:var(--red);color:white}.contact .eyebrow{color:#ffdfd5}.contact h2{font-size:clamp(52px,7vw,100px);max-width:820px}.contact-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:90px;align-items:end}.contact p{max-width:390px}.contact .button{background:var(--paper);color:var(--ink)}.contact-note{font-size:14px;border-top:1px solid #ffffff60;padding-top:20px}.footer{padding:30px 0}.footer .wrap{display:flex;align-items:center;justify-content:space-between;gap:30px}.footer small{color:var(--muted);font-size:12px}.footer-links{display:flex;gap:20px;font-size:13px}.article{max-width:850px;margin:65px auto 100px}.article h1{font-size:clamp(45px,5vw,72px);line-height:1.1}.article .entry-content{font-size:19px}.entry-content a{color:var(--red);text-decoration:underline}.entry-content p{margin-bottom:1.5em}.entry-content img{height:auto}.entry-content iframe{max-width:100%}.entry-content h2{font-size:38px}.entry-content h3{font-size:30px}.entry-content ul,.entry-content ol{padding-left:1.5em}.entry-content blockquote{border-left:3px solid var(--red);margin:30px 0;padding-left:25px}.article-cover{max-height:600px;object-fit:cover;width:100%;margin:35px 0}.pagination{margin-top:40px;display:flex;gap:14px}.pagination .page-numbers{padding:8px 14px;border:1px solid var(--line)}.pagination .current{background:var(--ink);color:white}.empty{padding:25px;border:1px solid var(--line)}.wp-caption{max-width:100%}.wp-caption-text{font-size:14px}.alignwide{max-width:1100px}.aligncenter{margin-inline:auto}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.comment-form input:not([type=checkbox]),.comment-form textarea{width:100%;padding:12px;background:white;border:1px solid var(--line)}.comment-form input[type=submit]{background:var(--red);color:white;width:auto;border:0}.comment-list{padding-left:20px}.gallery{display:flex;flex-wrap:wrap;gap:15px}.gallery-item{max-width:100%}body.admin-bar .header{margin-top:0}
@media(min-width:1600px){.hero{padding-top:85px;padding-bottom:80px}}@media(max-width:1000px){.wrap{width:calc(100% - 50px)}.nav{gap:16px;font-size:13px}.hero-grid{gap:35px}h1{letter-spacing:-2px}.about{gap:50px}.house-grid{gap:40px}.contact-grid{gap:40px}.house-photo img{height:430px}.cards{gap:22px}.brand{font-size:20px}.brand img{width:38px;height:38px}}
@media(max-width:760px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:85px;flex-wrap:wrap;gap:0}.brand{font-size:20px}.menu-toggle{display:block}.nav{display:none;width:100%;padding:20px 0 25px;flex-direction:column;align-items:start;gap:18px;font-size:16px}.nav.open{display:flex}.hero{padding:32px 0 40px}.hero-top{margin-bottom:30px}.edition{display:none}.hero-grid,.about,.house-grid,.contact-grid{grid-template-columns:1fr;gap:35px}h1{font-size:clamp(54px,12vw,80px);letter-spacing:-2.5px}.hero-copy p{font-size:17px}.hero-photo{margin-top:12px;margin-right:12px}.hero-photo img{aspect-ratio:1.15;border-radius:90px 0 0 0}.seal{width:100px;height:100px;font-size:25px;right:-12px;bottom:2px}.strip .wrap{font-size:19px;flex-wrap:wrap;justify-content:center;gap:7px}.strip span:first-child{font-size:10px}.section{padding:65px 0}.about-text{font-size:19px}.about-mark{display:none}.house-photo{order:2}.house-photo img{height:390px}.section-head{display:block;margin-bottom:32px}.section-head p{margin-top:22px;max-width:none}.cards{grid-template-columns:1fr;gap:40px}.card img{aspect-ratio:1.5}.card.text-card .big-number{font-size:70px;margin-bottom:20px}.contact h2{letter-spacing:-2px}.footer .wrap{flex-direction:column;align-items:start;gap:18px}.article{margin-top:40px}.article h1{letter-spacing:-1px}.article .entry-content{font-size:18px}}
.card--logo img,.card img[src$="ignis.png"]{object-fit:contain;background:#fff;padding:25px}
.home-doors{border-top:1px solid var(--line)}.doors{display:grid;grid-template-columns:1fr 1fr;gap:70px}.doors>a{display:block;border-top:2px solid var(--ink);padding:28px 0}.doors span{font-size:12px;letter-spacing:1.5px}.doors h2{font-size:50px;margin:25px 0}.doors p{max-width:430px;color:var(--muted)}.doors b{font-size:14px;border-bottom:1px solid;padding-bottom:5px}.doors>a:hover b{color:var(--red)}.page-lead{max-width:760px;font-size:19px;margin-bottom:55px}.project-feature{display:grid;grid-template-columns:1fr 1fr;gap:65px;border-top:1px solid var(--line);padding-top:45px;align-items:center}.project-feature img{background:#fff;object-fit:contain;width:100%;height:400px;padding:40px}.project-feature p{max-width:490px}.project-logo{width:100%;height:280px;object-fit:contain;background:white;padding:25px;margin-bottom:40px}.product-contact{padding:35px;background:#eee9df;margin:45px 0}.product-contact h3{font-size:34px}.product-lines{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:35px 0}.product-line{border-top:1px solid var(--line);padding:25px 0}.product-line h3{font-size:28px}.product-line p{font-size:17px}.product-line small{font-size:13px;color:var(--muted)}
@media(max-width:760px){.doors,.project-feature,.product-lines{grid-template-columns:1fr;gap:25px}.doors h2{font-size:43px}.project-feature img{height:280px}.product-contact{padding:25px}.section-head h1{font-size:clamp(49px,11vw,72px);letter-spacing:-2px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.house h1{font-size:clamp(42px,4.8vw,69px);line-height:1.07;letter-spacing:-2px}.house h1 em{color:#f7b29f}.contact h1{font-size:clamp(52px,7vw,100px);line-height:1.07;letter-spacing:-2px}

.contact-phone{margin-top:30px}.contact-phone span{display:block;font-size:14px;margin-bottom:5px}.contact-phone a{font-size:26px;border-bottom:1px solid #ffffff80;display:inline-block;letter-spacing:.5px}

.contact-phone strong{font-size:26px;font-weight:400;letter-spacing:.5px;overflow-wrap:anywhere}

.contact .whatsapp-badge{background:#25d366;color:#123b24;font-size:14px;font-weight:700;letter-spacing:normal;cursor:default;user-select:all}.contact .whatsapp-badge:hover{background:#25d366}
