/*
Theme Name: MirtiArt
Description: Portfolio Mirti Art, tema classico WordPress.
Version: 1.1.11
Author: Zen Software
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: mirtiart
*/
:root{--paper:#f5f2ea;--paper-dark:#e9e5dc;--ink:#20231f;--muted:#696b62;--line:#d3d1c6;--dark:#141715;--accent:#887653}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 Arial,Helvetica,sans-serif}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.08;letter-spacing:-.045em}h1{font-size:clamp(3.4rem,6.8vw,7rem)}h2{font-size:clamp(2.5rem,4.6vw,4.8rem)}h3{font-size:1.65rem;letter-spacing:-.025em}em{font-weight:400}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}img{display:block;max-width:100%}button,a,input,textarea{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:6px}.skip-link{position:fixed;top:-80px;left:16px;z-index:100;background:var(--paper);padding:12px}.skip-link:focus{top:12px}.draft{background:#e6e2d9;color:#63645c;text-align:center;font-size:10px;letter-spacing:.05em;padding:6px 16px}header{position:relative;z-index:20;background:var(--dark);color:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:30px;padding:15px 6%;min-height:102px}.brand,.footer-brand{display:flex;align-items:center;gap:18px;flex-shrink:0}.brand img{height:68px;width:47px;object-fit:contain}.wordmark{font-family:Georgia,serif;font-size:clamp(23px,2.5vw,35px);letter-spacing:.17em;white-space:nowrap}nav{display:flex;gap:32px;align-items:center}nav a{font-size:10px;text-transform:uppercase;letter-spacing:.16em;padding:12px 0;position:relative}nav a:after{content:'';position:absolute;bottom:5px;left:0;right:100%;height:1px;background:#d5c9af;transition:right .25s}nav a:hover:after,nav a[aria-current=page]:after{right:0}.menu{display:none}.eyebrow{font-size:10px;font-weight:600;letter-spacing:.19em;line-height:1.5;margin-bottom:25px;text-transform:uppercase}.hero{display:grid;grid-template-columns:minmax(0,.46fr) minmax(0,.54fr);min-height:610px}.hero-background{grid-column:2;grid-row:1;width:100%;height:100%;min-height:610px;object-fit:cover}.hero-content{grid-column:1;grid-row:1;align-self:center;padding:65px 12% 65px 15%}.hero h1{font-size:clamp(3.5rem,6.3vw,6.5rem);margin-bottom:30px}.hero h1 em{color:#68654f}.hero-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:32px}.hero-bottom p{font-family:Georgia,serif;font-style:italic;font-size:19px;line-height:1.6;color:#595b52}.button,.text-link{display:inline-flex;align-items:center;justify-content:space-between;gap:26px;min-height:44px;font-size:10px;text-transform:uppercase;font-weight:600;letter-spacing:.14em;border:0;border-bottom:1px solid #939487;padding:12px 0;background:transparent;color:inherit}.button:after,.text-link:after{content:'⟶';font-size:22px;font-weight:400;line-height:1}.button:hover,.text-link:hover{color:var(--accent)}.section{padding:85px 7%}.selected{border-top:1px solid var(--line)}.section-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:12%;align-items:end;margin-bottom:50px}.section-heading h2{max-width:650px}.heading-aside p{max-width:330px;margin-bottom:20px;color:var(--muted);font-family:Georgia,serif;font-style:italic;font-size:19px}.art-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:6%;row-gap:56px;align-items:start}.art-card{min-width:0}.art-card[hidden]{display:none}.art-card:nth-child(2){padding-top:0}.art-open{border:0;padding:24px;width:100%;background:#e9e5dc;display:block;position:relative;overflow:hidden}.art-open img{width:100%;height:410px;object-fit:contain;transition:transform .5s;filter:drop-shadow(0 6px 8px #20231f18)}.art-open:hover img{transform:scale(1.025)}.view{position:absolute;bottom:12px;right:14px;background:var(--paper);font-size:10px;padding:7px 12px;opacity:0;transition:opacity .2s}.art-open:hover .view,.art-open:focus-visible .view{opacity:1}.art-caption{display:flex;gap:20px;margin-top:20px}.art-caption .index{font-size:10px;color:var(--muted);padding-top:5px}.art-caption h3{font-size:23px;margin-bottom:7px}.art-caption p{font-family:Georgia,serif;font-size:13px;color:var(--muted)}.artist-teaser{display:grid;grid-template-columns:1fr 1fr;background:var(--paper-dark)}.artist-symbol{background:#151615;display:flex;align-items:center;justify-content:center;padding:35px}.artist-symbol img{width:100%;height:100%;max-height:550px;object-fit:contain}.artist-copy{padding:75px 14%;align-self:center}.artist-copy h2{margin-bottom:28px}.artist-copy p:not(.eyebrow){color:#5c5e55;max-width:440px;margin-bottom:28px}.contact-band{padding:80px 7%;display:grid;grid-template-columns:1fr auto;gap:20px;align-items:end}.contact-band .eyebrow{grid-column:1/-1;margin-bottom:4px}.contact-band .button{margin-bottom:4px;justify-self:start}.contact-band h2{font-size:clamp(2.5rem,4.6vw,4.8rem)}footer{background:var(--dark);color:#e5e2d8;padding:45px 7% 22px}.footer-top{display:grid;grid-template-columns:1fr 1fr auto;gap:40px;align-items:center;padding-bottom:36px}.footer-brand img{height:80px;width:56px;object-fit:contain}.footer-brand .wordmark{font-size:28px}.footer-top p{border-left:1px solid #64665c;padding-left:30px;font-size:11px;letter-spacing:.1em;line-height:1.8}.footer-link{font-size:10px;text-transform:uppercase;letter-spacing:.16em;border-bottom:1px solid #77786d;padding:12px 0}.footer-link:after{content:' ⟶';padding-left:30px}.footer-bottom{border-top:1px solid #ffffff22;padding-top:20px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#a9aca1}.page-title{padding:70px 7% 65px;border-bottom:1px solid var(--line)}.page-title>p:last-child{font-family:Georgia,serif;font-size:20px;color:var(--muted);margin-top:24px}.page-title h1 span,.artist-opening h1 span{color:#8d8169}.artist-opening{display:grid;grid-template-columns:42% 58%;min-height:440px}.artist-opening-copy{padding:65px 16%;align-self:center}.artist-opening h1{font-size:clamp(3.7rem,6.6vw,7rem);margin-bottom:25px}.opening-description{font-family:Georgia,serif;font-style:italic;font-size:20px;max-width:340px;line-height:1.55}.signature{display:block;font:italic 40px/1.3 Georgia,serif;letter-spacing:-.08em;color:#797b6d;margin-top:32px}.signature:before{content:'';display:block;width:48px;height:1px;background:#8d8e83;margin-bottom:20px}.artist-opening-image img{width:100%;height:100%;max-height:560px;object-fit:cover}.artist-layout{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.65fr) minmax(0,.6fr);column-gap:4%;row-gap:26px;align-items:start}.biography-label{grid-column:2/-1;margin:0}.artist-layout>.artist-symbol{grid-column:1;grid-row:2;position:sticky;top:25px;padding:15px}.artist-layout .bio{grid-column:2;grid-row:2;min-width:0}.bio>.eyebrow{display:none}.bio h2{font-size:clamp(1.8rem,2.5vw,2.7rem);line-height:1.2;margin-bottom:28px;letter-spacing:-.035em}.bio>p{font:16px/1.8 Georgia,serif;margin-bottom:22px;color:#505349}.bio .text-link{margin-top:12px}.biography-quote{grid-column:3;grid-row:2;border-left:1px solid var(--line);padding-left:25px;position:sticky;top:25px}.biography-quote blockquote{font:italic 24px/1.5 Georgia,serif;margin:0;color:#66695d}.biography-quote blockquote:before{content:'“';font-size:70px;line-height:.8;display:block;color:#bbbcb0;margin-bottom:18px}.quote-panel{padding:75px 7%;background:var(--paper-dark);display:grid;grid-template-columns:1.4fr .8fr;gap:32px 8%;align-items:center}.quote-panel .eyebrow{grid-column:1/-1;margin-bottom:0}.quote-panel h2{font-size:clamp(2.4rem,4vw,4.25rem)}.research-description{font:18px/1.7 Georgia,serif;color:#585c51;border-left:1px solid #c7c8bc;padding-left:30px}.gallery-section{padding-top:40px}.gallery-toolbar{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:38px}.filters{display:flex;gap:25px}.filters button{font-size:11px;letter-spacing:.1em;text-transform:uppercase;background:none;color:var(--muted);border:0;border-bottom:1px solid transparent;padding:10px 0}.filters .active{color:var(--ink);border-bottom-color:var(--ink)}#art-count{font-size:12px;color:var(--muted)}.gallery-disclaimer{border-top:1px solid var(--line);padding-top:25px;margin-top:55px;max-width:700px;color:var(--muted);font-size:13px}.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:12%;padding-top:65px}.contact-info h2{font-size:clamp(2.6rem,4vw,4.4rem);margin-bottom:28px}.contact-info>p:not(.eyebrow){max-width:430px;color:var(--muted)}.contact-detail{padding:23px 0;border-bottom:1px solid var(--line)}.contact-detail:first-of-type{margin-top:30px}.contact-detail span{font-size:10px;letter-spacing:.15em}.contact-detail p{font:18px Georgia,serif;margin-top:10px}form{padding:35px;background:var(--paper-dark)}form h2{font-size:35px;margin-bottom:30px}form label{display:block;font-size:12px;margin-bottom:6px}input,textarea{width:100%;border:0;border-bottom:1px solid #b9bbad;background:transparent;color:var(--ink);padding:12px 0;margin-bottom:22px;border-radius:0}textarea{resize:vertical}.form-note,#form-result{font-size:12px;color:#62665a;margin-bottom:20px}dialog{border:0;padding:0;background:var(--paper);color:var(--ink);max-width:min(92vw,1000px);max-height:90dvh}dialog::backdrop{background:#0b100deb}.close{position:absolute;right:12px;top:12px;border:0;background:var(--paper);color:var(--ink);width:44px;height:44px;font-size:28px;z-index:1}#art-image{max-height:70dvh;width:100%;object-fit:contain;background:#121512}.dialog-caption{padding:22px}.dialog-caption h2{font-size:28px}.dialog-caption p{font-size:12px;margin-top:8px}
@media(min-width:1700px){main,header,footer,.draft{padding-left:max(7%,calc((100vw - 1550px)/2));padding-right:max(7%,calc((100vw - 1550px)/2))}.hero,.artist-opening{padding:0}}
@media(max-width:1000px){nav{gap:20px}.wordmark{font-size:25px}.hero{min-height:530px}.hero-background{min-height:530px}.hero-content{padding:45px 12%}.hero h1{font-size:clamp(3rem,7vw,4.8rem)}.artist-layout{grid-template-columns:minmax(0,.7fr) minmax(0,1.7fr)}.biography-label{grid-column:2}.biography-quote{grid-column:2;grid-row:3;position:static}.artist-opening-copy{padding:50px 15%}.footer-top{grid-template-columns:1fr 1fr}.footer-link{justify-self:start}.art-open img{height:330px}}
@media(max-width:700px){header{padding:13px 6%;min-height:87px}.brand{gap:12px}.brand img{height:58px;width:39px}.wordmark{font-size:24px;letter-spacing:.12em}.draft{font-size:9px;padding:7px 15px}.menu{display:flex;align-items:center;gap:12px;border:0;background:none;color:var(--paper);font-size:11px;min-height:44px;padding:8px}.menu-lines{width:20px;height:12px;border-top:1px solid currentColor;border-bottom:1px solid currentColor}.menu[aria-expanded=true] .menu-lines{transform:rotate(45deg);height:0;border-bottom:0}nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--dark);padding:20px 7% 30px;border-top:1px solid #ffffff22;flex-direction:column;align-items:stretch;gap:4px}nav.open{display:flex}nav a{padding:14px 0;font-size:12px}nav a:after{display:none}nav a[aria-current=page]{color:#d2c3a5}.hero{grid-template-columns:minmax(0,1fr);min-height:0}.hero-content{grid-column:1;grid-row:1;padding:45px 7%}.hero h1{font-size:clamp(3.5rem,15vw,5.6rem);margin-bottom:22px}.hero .eyebrow{margin-bottom:20px}.hero-bottom{gap:20px}.hero-bottom p{font-size:18px}.hero-background{grid-column:1;grid-row:2;height:360px;min-height:0;object-position:55% center}.section{padding:50px 7%}.section-heading{grid-template-columns:1fr;gap:25px;margin-bottom:32px}.section-heading h2{font-size:clamp(2.8rem,11vw,4rem)}.heading-aside p{font-size:18px;margin-bottom:12px}.art-grid{grid-template-columns:minmax(0,1fr);gap:32px}.art-card:nth-child(2){padding-top:0}.art-open{padding:18px}.art-open img{height:auto;max-height:410px;object-fit:contain}.view{opacity:1;bottom:9px;right:9px}.art-caption{margin-top:15px}.artist-teaser{grid-template-columns:minmax(0,1fr)}.artist-symbol{padding:25px}.artist-symbol img{max-height:360px}.artist-copy{padding:45px 7%}.artist-copy h2{font-size:clamp(3rem,12vw,4.2rem)}.contact-band{padding:50px 7%;grid-template-columns:1fr;gap:25px}.contact-band h2{font-size:clamp(2.6rem,10vw,4rem)}.contact-band .eyebrow{margin-bottom:0}.contact-band .button{justify-self:start}footer{padding:35px 7% 20px}.footer-top{grid-template-columns:1fr;gap:25px;padding-bottom:30px}.footer-brand img{height:70px;width:47px}.footer-top p{padding-left:18px}.footer-bottom{flex-wrap:wrap;gap:10px}.footer-bottom>span:first-child{width:100%}.footer-bottom>a{margin-left:auto}.page-title{padding:45px 7%}.page-title h1{font-size:clamp(3.2rem,13vw,4.8rem)}.page-title>p:last-child{font-size:18px}.artist-opening{grid-template-columns:minmax(0,1fr)}.artist-opening-copy{padding:45px 7%}.artist-opening h1{font-size:clamp(3.7rem,15vw,5.7rem)}.artist-opening-image img{height:300px}.artist-opening .signature{margin-top:25px}.artist-layout{grid-template-columns:minmax(0,1fr);gap:28px}.biography-label{grid-column:1;grid-row:1}.artist-layout>.artist-symbol{grid-column:1;grid-row:2;position:static;padding:22px}.artist-layout .artist-symbol img{max-height:280px}.artist-layout .bio{grid-column:1;grid-row:3}.bio h2{font-size:clamp(2rem,8vw,3rem)}.bio>p{font-size:17px;line-height:1.8}.biography-quote{grid-column:1;grid-row:4;padding:20px 0 20px 25px}.biography-quote blockquote{font-size:25px}.quote-panel{padding:50px 7%;grid-template-columns:1fr;gap:25px}.quote-panel h2{font-size:clamp(2.5rem,10vw,3.6rem)}.research-description{padding-left:20px;font-size:17px}.gallery-toolbar{align-items:flex-start;flex-direction:column;gap:16px}.filters{gap:25px}.gallery-disclaimer{margin-top:35px}.contact-layout{grid-template-columns:1fr;gap:40px}.contact-info h2{font-size:clamp(2.7rem,10vw,4rem)}form{padding:28px 22px}.dialog-caption{padding:20px}.dialog-caption h2{font-size:25px}#art-image{max-height:65dvh}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Le opere mantengono le proporzioni originali. */
.hero-background{object-fit:contain;background:#e9e5da;padding:24px}.artist-opening-image img{object-fit:contain;padding:24px}.artist-opening-image{background:#e9e5da}.art-caption h3{font-size:22px}.artist-symbol{background:#e9e5da}

.art-description{white-space:pre-line;line-height:1.65;margin-top:18px;max-width:70ch}.art-description:empty,.art-details:empty{display:none}

.art-sold{font-weight:700;color:#813b2b;margin-top:8px}

.artist-opening-image .artist-portrait{width:100%;height:100%;max-height:680px;object-fit:contain;padding:0}.artist-contacts .contact-detail{margin-top:24px}.contact-detail a{overflow-wrap:anywhere}.footer-top{grid-template-columns:1fr auto}.contact-channels{align-self:center}@media(max-width:700px){.footer-top{grid-template-columns:1fr}.artist-opening-image .artist-portrait{max-height:560px}}

.gallery-section{padding-bottom:80px}.gallery-section .art-grid{row-gap:56px}.art-caption{min-width:0}.art-caption h3{overflow-wrap:anywhere}@media(max-width:700px){.gallery-section{padding-bottom:50px}.gallery-section .art-grid{row-gap:36px}}

/* Griglia regolare: opere e didascalie allineate per riga. */
.art-card:nth-child(2){padding-top:0}.art-grid{align-items:start}.art-open{width:100%}

.mirti-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#contact-form{max-width:680px;margin:0 auto}#contact-form h2{margin-bottom:24px}#contact-form .button{margin-top:20px}body.admin-bar header{scroll-margin-top:32px}

/* Titoli: pigmenti ripresi dalle opere, senza immagini o gradienti. */
.painted-word{display:inline;white-space:nowrap}
h1 .painted-word,h2 .painted-word{color:inherit}
h1 .painted-word .paint-ink,h2 .painted-word .paint-ink{display:inline}
h1 .painted-word .paint-ink-0,h2 .painted-word .paint-ink-0{color:#227b78}
h1 .painted-word .paint-ink-1,h2 .painted-word .paint-ink-1{color:#b65316}
h1 .painted-word .paint-ink-2,h2 .painted-word .paint-ink-2{color:#78529a}
h1 .painted-word .paint-ink-3,h2 .painted-word .paint-ink-3{color:#b53637}
h1 .painted-word .paint-ink-4,h2 .painted-word .paint-ink-4{color:#52783c}
h1 .painted-word .paint-ink-5,h2 .painted-word .paint-ink-5{color:#a06d13}
@media(forced-colors:active){.painted-word .paint-ink{color:CanvasText!important}}

.brand .mirti-custom-logo{width:auto;height:auto;max-width:240px;max-height:72px;object-fit:contain}.footer-brand .mirti-custom-logo{width:auto;height:auto;max-width:240px;max-height:80px;object-fit:contain}@media(max-width:700px){.brand .mirti-custom-logo{max-width:180px;max-height:56px}}

/* Biografia senza immagine laterale. */
.artist-layout{grid-template-columns:minmax(0,2.2fr) minmax(220px,1fr)}
.artist-layout .biography-label{grid-column:1/-1;grid-row:1}
.artist-layout .bio{grid-column:1;grid-row:2}
.artist-layout .biography-quote{grid-column:2;grid-row:2}
.biography-quote .quote-painted{white-space:normal}
@media(max-width:900px){.artist-layout{grid-template-columns:minmax(0,1fr)}.artist-layout .bio{grid-column:1;grid-row:2}.artist-layout .biography-quote{grid-column:1;grid-row:3;position:static}}

.legal-copy{max-width:1050px;margin:auto}.legal-copy h2{font-size:28px;margin:32px 0 12px}.legal-copy p{margin-bottom:18px}.legal-copy a{text-decoration:underline;overflow-wrap:anywhere}.footer-bottom{flex-wrap:wrap}

/* Tre barre reali; i due tratti esterni formano la X. */
.menu .menu-lines{display:block;position:relative;width:24px;height:2px;border:0;background:currentColor;transform:none;transition:background .18s}
.menu .menu-lines::before,.menu .menu-lines::after{content:"";position:absolute;left:0;width:24px;height:2px;background:currentColor;transition:transform .2s,top .2s}
.menu .menu-lines::before{top:-7px}.menu .menu-lines::after{top:7px}
.menu[aria-expanded=true] .menu-lines{height:2px;border:0;transform:none;background:transparent}
.menu[aria-expanded=true] .menu-lines::before{top:0;transform:rotate(45deg)}
.menu[aria-expanded=true] .menu-lines::after{top:0;transform:rotate(-45deg)}
.developer-credit{white-space:nowrap}
@media(prefers-reduced-motion:no-preference){
 main{animation:mirti-page-enter .25s ease-out both;transition:opacity .14s ease}
 html.mirti-page-leaving main{opacity:0}
 @keyframes mirti-page-enter{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
}
@media(prefers-reduced-motion:reduce){.menu .menu-lines,.menu .menu-lines::before,.menu .menu-lines::after{transition:none}}
