/*
Theme Name: Calligrafe Editoriale
Version: 3.3.0
License: GNU General Public License v2 or later
Text Domain: calligrafe-editoriale
*/
:root{--paper:#fcfbf8;--ink:#11110f;--gold:#96621f;--line:#cbaa76}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--paper);font:17px/1.25 Georgia,'Times New Roman',serif}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}img{max-width:100%;height:auto}button,input{font:inherit}a:focus-visible,summary:focus-visible,input:focus-visible,button:focus-visible{outline:2px solid var(--gold);outline-offset:5px}.skip{position:absolute;top:-100px}.skip:focus{top:0;background:white;z-index:20}.picture{display:block;position:relative;overflow:hidden}.picture img{position:absolute;max-width:none;height:auto;display:block}.site-header{height:160px;background:#fdfcf9}.header-inner{max-width:1320px;margin:auto;padding:0 5.8%;height:100%;display:flex;align-items:center;gap:6%;position:relative}.brand{display:block;flex:0 0 142px}.brand img,.custom-logo{width:142px;height:142px;object-fit:contain;display:block;mix-blend-mode:multiply}.header-bottom{display:flex;gap:24px;align-items:center;align-self:flex-end;margin-bottom:27px;flex:1}.desktop-nav{display:flex;gap:24px;align-items:center;flex-wrap:wrap}.desktop-nav a{font-size:11px;letter-spacing:.08em;white-space:nowrap}.tools{margin-left:auto}.tools svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7}.handwriting{width:140px;flex:none;align-self:flex-start;margin-top:12px}.mobile-menu{display:none}.hero{max-width:1440px;margin:auto;position:relative;min-height:440px;overflow:hidden;background:#f8f5ee}.hero-art{position:absolute;right:0;top:0;width:66%;height:100%}.hero-art .picture{width:100%;height:100%;aspect-ratio:auto!important}.hero-art .picture img{height:auto;min-height:100%}.hero-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#fcfbf8 0%,rgba(252,251,248,.7) 10%,transparent 33%)}.hero-copy{position:relative;z-index:1;max-width:1320px;margin:auto;padding:32px 5.8% 12px;pointer-events:none}.hero-copy a{pointer-events:auto}.kicker{font-size:12px;letter-spacing:.1em;color:var(--gold);margin:0 0 10px;display:flex;align-items:center;gap:20px}.kicker i{width:36px;height:1px;background:var(--line)}h1,h2,h3,p{margin-top:0}h1{font-weight:400;font-size:clamp(55px,6.8vw,91px);line-height:.88;letter-spacing:-.045em;margin-bottom:13px}.hero-copy>p:not(.kicker){font-size:19px;line-height:1.1;letter-spacing:.015em;max-width:430px;margin-bottom:18px}.pill{display:inline-flex;border:1px solid var(--line);color:#885318;border-radius:30px;font-size:12px;letter-spacing:.035em;align-items:center;gap:25px;padding:8px 26px;line-height:1}.pill:hover{background:#f0e7d5}.pill span{font-size:19px;line-height:.5}.hero-number{display:block;color:var(--gold);font-size:16px;letter-spacing:.1em;margin-top:22px}.hero-number small{font-size:8px;color:#777;margin-left:22px}.section{max-width:1320px;margin:auto;padding:0 5.8%}.section-heading{display:flex;align-items:center;gap:18px;padding:20px 0 14px}.section-heading h2{font-size:13px;letter-spacing:.12em;font-weight:400;white-space:nowrap;margin:0}.section-heading>span{height:1px;background:var(--line);flex:1}.section-heading>a{font-size:13px;color:var(--gold);white-space:nowrap;letter-spacing:.02em}.section-heading b{font-weight:400;margin-left:10px}.stories-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.story-photo{width:100%}.story-copy{padding-top:8px}.category{color:#745124;font-size:10px;letter-spacing:.1em;margin-bottom:3px}.story h3{font-size:22px;font-weight:400;line-height:1.03;letter-spacing:-.035em;margin:0 0 7px}.excerpt{font-size:15px;line-height:1.1;color:#55534e;margin-bottom:10px}.story time{font-size:10px;letter-spacing:.06em;color:#777}.latest{padding-bottom:22px}.voices{max-width:1440px;min-height:290px;margin:auto;display:grid;grid-template-columns:41% 30% 29%;background:#f5f0e5;overflow:hidden;position:relative}.voices-art{align-self:stretch;overflow:hidden}.voices-art>.picture{height:100%;width:100%;aspect-ratio:auto!important}.voices-art img{min-height:100%;width:150%!important;left:-10%!important;top:0!important}.voices-copy{padding:21px 0 18px;z-index:1}.voices h2{font-size:60px;line-height:.89;font-weight:400;letter-spacing:-.04em;margin:0 0 6px}.voices-copy>p:not(.kicker){font-size:16px;line-height:1.15;margin:10px 0}.gold-stroke{display:block;width:95%;height:4px;background:#bb8a36;transform:rotate(-1.7deg)}.voices-quote{align-self:center;padding-right:20px}.voices-quote .picture{width:100%}.reading{padding-bottom:18px}.reading-grid{display:grid;grid-template-columns:1.9fr repeat(5,1fr);gap:26px}.reading-intro h2{font-weight:400;font-size:32px;line-height:.94;letter-spacing:-.035em;margin:0 0 12px}.reading-intro p{font-size:13px;line-height:1.08;color:#666;margin-bottom:10px}.reading-intro .pill{font-size:10px;padding:6px 16px;gap:10px}.book{min-width:0}.cover{width:100%;max-width:115px;box-shadow:2px 3px 6px #0002}.book h3{font-weight:400;font-size:15px;line-height:1.05;margin:6px 0 3px}.book p{font-size:12px;line-height:1.1;color:#666}.bottom-features{max-width:1440px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:24px;padding:0 0 20px}.bottom-features article{display:grid;grid-template-columns:45% 1fr;gap:24px}.bottom-photo{width:100%;align-self:stretch;aspect-ratio:auto!important;min-height:160px}.bottom-photo img{min-height:100%;width:160%!important;top:-1230%!important}.bottom-features article>div{padding-top:6px}.bottom-features .kicker{font-size:11px;margin-bottom:3px}.bottom-features h2{font-weight:400;font-size:24px;line-height:1;margin-bottom:5px}.bottom-features p:not(.kicker){font-size:13px;color:#666;line-height:1.05;margin-bottom:7px}.bottom-features .pill{font-size:10px;padding:6px 14px}.site-footer{border-top:1px solid #ddd2bd;padding:28px 6%;color:#666;font-size:12px}.site-footer form{max-width:500px;margin:auto}.site-footer label{display:block;margin-bottom:10px}.site-footer form>div{display:flex}.site-footer input{min-width:0;flex:1;background:transparent;border:1px solid #bba77e;padding:10px}.site-footer button{border:1px solid #bba77e;background:transparent;color:var(--gold);padding:10px;cursor:pointer}.site-footer>p{text-align:center;margin:24px 0 0}.content,.wrap{max-width:1120px;margin:40px auto;padding:0 5%}.content{max-width:820px;line-height:1.65}.content h1{font-size:50px;line-height:1.1}.content a{text-decoration:underline}.content img{height:auto}.content iframe{max-width:100%}.grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.card{min-width:0}.card h2{font-weight:400}.card img{width:100%;height:auto}.meta{font-size:12px;color:var(--gold)}.pagination{margin:25px 0}.searchbar{margin:30px 0}.home-story .story-photo{aspect-ratio:1.9;overflow:hidden}.home-story .story-photo img{position:static;width:100%;height:100%;object-fit:cover}.home-story h3{font-size:21px}.home-story .excerpt p{margin:0}.voices-copy .pill{white-space:nowrap}@media(min-width:1500px){.hero{min-height:460px}}@media(max-width:1150px) and (min-width:701px){.handwriting{display:none}.header-inner{gap:4%}.desktop-nav{gap:16px}.header-bottom{gap:12px}.hero{min-height:370px}.hero-copy>p:not(.kicker){font-size:17px}.voices h2{font-size:48px}.voices{min-height:250px}.reading-grid{gap:18px}.story h3{font-size:20px}}@media(max-width:700px){body{font-size:16px}.site-header{height:125px}.header-inner{justify-content:space-between;padding:0 20px}.brand{flex-basis:115px}.brand img,.custom-logo{width:115px;height:115px}.header-bottom,.handwriting{display:none}.mobile-menu{display:block}.mobile-menu summary{cursor:pointer;list-style:none;width:34px;padding:8px 0}.mobile-menu summary::-webkit-details-marker{display:none}.mobile-menu summary span{display:block;height:1.5px;background:#111;margin:6px 0;width:29px}.mobile-menu nav{position:absolute;top:115px;left:0;right:0;z-index:10;background:#fcfbf8;box-shadow:0 7px 9px #0002;padding:20px;display:grid;gap:18px;font-size:12px;letter-spacing:.08em}.hero{display:flex;flex-direction:column;min-height:0;background:#fcfbf8}.hero-art{position:relative;order:0;width:100%;height:auto;aspect-ratio:1.73;overflow:hidden}.hero-art .picture img{width:227%!important;left:-343%!important;top:-70%!important}.hero-art .picture img{width:227%!important;left:-59%!important;top:-70%!important}.hero-art:after{background:linear-gradient(0deg,#fcfbf8 0%,transparent 20%)}.hero-copy{order:1;width:100%;padding:12px 24px 20px}.kicker{font-size:11px;margin-bottom:8px}.hero-copy .kicker i{display:none}h1{font-size:43px;line-height:.94;letter-spacing:-.04em;margin-bottom:12px}.hero-copy>p:not(.kicker){font-size:16px;line-height:1.16;max-width:350px;margin-bottom:16px}.desktop-break{display:none}.hero-copy .pill{min-width:225px;justify-content:space-between;padding:9px 23px}.hero-number{font-size:0;text-align:center;margin:22px 0 0}.hero-number:before{content:'●';font-size:13px;color:#a77a29}.hero-number:after{content:'● ●';font-size:13px;letter-spacing:10px;margin-left:10px;color:#d4d1ca}.hero-number small{display:none}.section{padding-inline:20px}.section-heading{gap:14px;padding:12px 0 14px}.section-heading h2{font-size:12px;letter-spacing:.09em}.section-heading>a{font-size:12px}.section-heading b{margin-left:4px}.latest .section-heading>a{font-size:0}.latest .section-heading>a:before{content:'Vedi tutti';font-size:12px}.latest .section-heading>a b{font-size:16px}.stories-grid{display:block}.story{display:grid;grid-template-columns:100px 1fr;gap:15px;padding:8px 0;border-bottom:1px solid #ece7dd}.story-photo{aspect-ratio:1.15!important;height:86px}.story-photo img{width:235%!important}.story:nth-child(1) .story-photo img{left:-65.8%!important;top:-537.2%!important}.story:nth-child(2) .story-photo img{left:-319.6%!important;top:-537.2%!important}.story:nth-child(3) .story-photo img{left:-574.5%!important;top:-537.2%!important}.story:nth-child(4) .story-photo img{left:-833.5%!important;top:-537.2%!important}.story-photo img{width:1543.53%!important}.story-copy{display:flex;flex-direction:column;padding:2px 0}.story h3{font-size:18px;line-height:1.08;margin-bottom:5px;order:0;letter-spacing:-.025em}.category{order:1;font-size:10px;margin:0 0 5px}.story time{order:2;font-size:10px}.excerpt{display:none}.latest{padding-bottom:18px}.voices{min-height:300px;display:block;background:#1b1a15;color:#fff}.voices-art{position:absolute;inset:0 0 0 20%;opacity:.72}.voices-art .picture img{filter:sepia(.4);width:210%!important;left:-27%!important;top:0!important}.voices-art:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#171610,transparent 90%)}.voices-copy{padding:30px 22px;position:relative}.voices .kicker{color:#d5b570}.voices h2{font-size:40px}.gold-stroke{width:180px;height:2px;background:#c9a24e}.voices-copy>p:not(.kicker){font-size:16px;max-width:215px}.voices .pill{color:#f5d991;border-color:#c9a24e;margin-top:5px}.voices-quote{display:none}.reading{padding-top:10px}.reading .section-heading>a{font-size:0}.reading .section-heading>a:before{content:'Vedi tutte';font-size:12px}.reading .section-heading>a b{font-size:16px}.reading-grid{grid-template-columns:repeat(2,1fr);gap:22px}.reading-intro{grid-column:1/-1}.reading-intro h2{font-size:33px}.reading-intro h2 br{display:none}.reading-intro p{font-size:15px}.cover{max-width:120px}.book h3{font-size:17px}.book p{font-size:13px}.bottom-features{display:block;padding:20px}.bottom-features article{grid-template-columns:35% 1fr;gap:17px;margin-bottom:20px}.bottom-photo{min-height:145px}.bottom-photo img{width:280%!important;top:-1290%!important}.bottom-features h2{font-size:23px}.grid{grid-template-columns:1fr}.content h1{font-size:36px}.home-story .story-photo img{width:100%!important;left:auto!important;top:auto!important}.site-footer{padding-inline:20px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.desktop-nav li,.mobile-menu nav li{list-style:none}.desktop-nav .sub-menu{padding:8px;margin:0}.desktop-nav li a{display:block}.mobile-menu nav ul{padding-left:14px}

/* Preserve the photographic windows at their original proportions. */
.hero-art .picture{aspect-ratio:578/292!important;height:auto;min-height:100%}
.hero-art .picture img{width:226.99%!important;left:-66.263%!important;top:-44.521%!important;min-height:0}
.voices-art>.picture{height:auto;aspect-ratio:385/202!important}
.voices-art .picture img{width:340.779%!important;left:0!important;top:-347.525%!important;min-height:0}
.bottom-photo{aspect-ratio:194/90!important;min-height:0;align-self:start}
.bottom-photo img{width:676.289%!important;left:0!important;top:-1231.111%!important;min-height:0}
.bottom-features article:nth-child(2) .bottom-photo{aspect-ratio:207/90!important}
.bottom-features article:nth-child(2) .bottom-photo img{width:633.816%!important;left:-216.908%!important;top:-1231.111%!important}
@media(max-width:700px){.hero-art{aspect-ratio:578/292}.hero-art .picture img{width:226.99%!important;left:-66.263%!important;top:-44.521%!important}.voices-art{inset:0 0 0 38%}.voices-art>.picture{height:100%;aspect-ratio:auto!important}.voices-art .picture img{width:957.664%!important;left:-844.526%!important;top:-440.758%!important;filter:none}.voices-copy{position:relative}.bottom-photo{min-height:0}.home-story .story-photo img{position:static!important;width:100%!important;height:100%!important;object-fit:cover}}

@media(max-width:700px){.story:not(.home-story) .story-photo img{width:1312%!important;top:-537.209%!important}.story:not(.home-story):nth-child(1) .story-photo img{left:-106%!important}.story:not(.home-story):nth-child(2) .story-photo img{left:-322%!important}.story:not(.home-story):nth-child(3) .story-photo img{left:-539%!important}.story:not(.home-story):nth-child(4) .story-photo img{left:-759%!important}.voices-art>.picture{height:auto;aspect-ratio:137/211!important}.reading-intro h2 br{display:initial}.reading-intro h2{font-size:32px}}

.article-full{max-width:850px;margin:40px auto;padding:0 25px;line-height:1.65;font-size:19px;overflow-wrap:anywhere}.article-full h1{font-size:clamp(32px,4vw,56px);line-height:1.05;letter-spacing:-.035em}.article-full h2{font-size:30px;line-height:1.2}.article-full img{height:auto;max-width:100%}.article-full figure{margin:25px 0}.article-full a{text-decoration:underline;text-underline-offset:3px;color:#885318}.article-full blockquote{border-left:2px solid #bca16b;margin:25px 0;padding-left:24px}.article-full iframe{max-width:100%}.article-full table{display:block;overflow:auto}.archive-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}.archive-list .story{display:block}.archive-list h3{font-size:24px}.archive-list img{width:100%;aspect-ratio:1.9;object-fit:contain;background:white}.archive-search{display:flex;gap:10px;margin:25px 0}.archive-search input{padding:12px;min-width:0;flex:1}.archive-search button{padding:12px;border:1px solid #cbaa76;background:transparent}.archive-list .excerpt{display:block}.archive-count{font-size:13px;color:#777}@media(max-width:700px){.archive-list{grid-template-columns:1fr}.article-full{font-size:18px}.article-full h1{font-size:36px}.home-story{grid-template-columns:100px 1fr}.home-story h3{font-size:17px}.home-story .category{font-size:9px}.hero-copy>p:not(.kicker){max-width:345px}}

.vetrina-note{grid-column:span 5;align-self:center;padding:25px 30px;border-block:1px solid #cbaa76;max-width:650px}.vetrina-note h3{font-size:27px;font-weight:400}.vetrina-note p{font-size:16px;color:#655c4b;line-height:1.4}.article-full .meta{font-family:Arial,sans-serif;letter-spacing:.05em;font-size:12px;border-bottom:1px solid #d7c5a4;padding-bottom:24px;margin-bottom:30px}.article-full>h1{font-weight:400;margin-top:16px}.article-full .wp-block-heading{font-weight:400}.article-full>p{margin-bottom:24px}.article-full .wp-block-image{text-align:center}.article-full .wp-block-image img{max-height:900px;width:auto}.article-full figcaption{font-size:14px;color:#666}.article-full .wp-block-separator{border:0;border-top:1px solid #cbaa76;margin:35px 0}@media(max-width:700px){.vetrina-note{grid-column:1/-1;padding:20px 0}.article-full>h1{font-size:35px;line-height:1.12}.article-full{margin-top:28px}}

/* Instagram — collegamento ufficiale Calligrafe */
.tools{display:flex;align-items:center;gap:15px}.instagram-link{display:inline-flex;align-items:center;gap:7px;color:#8b6227}.instagram-link svg{width:21px;height:21px;flex:none}.instagram-link span{font:10px/1.4 Arial,sans-serif;letter-spacing:.08em;text-transform:uppercase}.instagram-link:hover{color:#161512}.instagram-note{padding:36px 20px 40px;text-align:center;border-top:1px solid #d7c4a0;background:#f8f4eb}.instagram-mark{color:#a47832;font-size:30px;line-height:1;margin-bottom:12px}.instagram-note .kicker{justify-content:center;font-size:10px;letter-spacing:.16em}.instagram-note h2{font:400 35px/1.1 Georgia,serif;letter-spacing:-.025em;margin:10px 0}.instagram-note>p:not(.kicker){font-size:16px;color:#62594d;margin:0 0 20px}.instagram-button{display:inline-flex;align-items:center;gap:12px;border:1px solid #ae874c;border-radius:30px;padding:12px 22px;color:#795219;font-size:15px;transition:background .18s,color .18s}.instagram-button svg{height:21px;width:21px;flex:none}.instagram-button:hover{background:#ece1ce;color:#211a10}.instagram-button:focus-visible,.instagram-link:focus-visible{outline:2px solid #8b6227;outline-offset:5px}@media(max-width:1150px){.instagram-link span{display:none}}@media(max-width:700px){.site-header .header-bottom{display:flex;position:absolute;right:70px;top:47px;margin:0;align-self:auto;flex:none}.header-bottom .desktop-nav,.header-bottom .tools>a:not(.instagram-link){display:none}.header-bottom .tools{margin:0}.instagram-link{padding:5px}.instagram-link svg{width:23px;height:23px}.instagram-note{padding:30px 20px}.instagram-note h2{font-size:29px}.instagram-button{padding:11px 18px;font-size:14px}}@media(prefers-reduced-motion:reduce){.instagram-button{transition:none}}

/* Mobile: mostra tutta la fotografia originale dell’articolo. */
@media(max-width:700px){.home-story .story-photo{height:auto!important;aspect-ratio:auto!important;align-self:start;overflow:visible;background:transparent}.home-story .story-photo img{display:block;position:static!important;width:100%!important;height:auto!important;max-width:100%;object-fit:contain!important;aspect-ratio:auto;left:auto!important;top:auto!important}.archive-list .story-photo img{height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}}



/* CalliShop: copertine sopra il testo sui telefoni */
@media (max-width:700px) {
  .page-id-1021 .article-full .wp-block-image { clear:both; display:flow-root; margin:24px 0; }
  .page-id-1021 .article-full .wp-block-image figure.alignleft,
  .page-id-1021 .article-full .wp-block-image figure.alignright { float:none!important; display:block!important; width:fit-content; max-width:100%; margin:0 auto!important; }
  .page-id-1021 .article-full .wp-block-image + .wp-block-group { clear:both; display:block; width:100%; }
  .page-id-1021 .article-full h2 { clear:both; }
}

@media (max-width:700px) {
  .page-id-1021 .article-full p { text-align:left; }
}


/* Nessun carosello nella testata: elimina i pallini decorativi */
@media (max-width:700px) {
  .hero .hero-number { display:none!important; }
}


/* Intestazione senza la decorazione Parole, Storie, Persone, Mondi */
.site-header .handwriting { display:none!important; }

/* Fotografie Pexels fornite dall’utente: ritagli responsive senza alterazioni. */
.hero-art .stock-photo,.voices-art .stock-photo{width:100%;height:100%;aspect-ratio:auto!important}
.hero-art .stock-photo img,.voices-art .stock-photo img,.bottom-features .stock-photo img{position:absolute!important;display:block;left:0!important;top:0!important;width:100%!important;height:100%!important;min-height:0!important;max-width:100%;object-fit:cover;filter:none}
.hero-art .stock-photo img{object-position:42% 62%}
.voices-art .stock-photo img{object-position:35% 60%}
.bottom-features .stock-photo{aspect-ratio:auto!important;align-self:stretch;min-height:160px}
.bottom-features article:first-child .stock-photo img{object-position:52% 62%}
.bottom-features article:last-child .stock-photo img{object-position:38% 34%}
.voices-quote p{color:#96621f;font:italic 27px/1.5 Georgia,serif;transform:rotate(-5deg);max-width:280px;margin:0 auto;padding:20px}
@media(max-width:700px){
.hero-art .stock-photo{position:absolute;inset:0}
.hero-art .stock-photo img{object-position:42% 72%}
.voices-art .stock-photo{position:absolute;inset:0}
.voices-art .stock-photo img{object-position:38% 60%}
.bottom-features .stock-photo{min-height:170px}
}
