
/* V63 black fixed: tipografia sicura, niente tagli o sovrapposizioni */
:root {
  --only-black:#000000;
}

.hero,
.hero *,
.page-hero,
.page-hero *,
.door,
.door *,
.award,
.award *,
.journal-item,
.journal-item *,
.lightbox-copy,
.lightbox-copy * {
  overflow:visible !important;
}

.hero {
  padding-top:clamp(72px,8vw,128px) !important;
  padding-bottom:clamp(54px,7vw,104px) !important;
}

.hero-title {
  font-size:clamp(54px,9.8vw,138px) !important;
  line-height:1.12 !important;
  letter-spacing:-.075em !important;
  padding-top:.12em !important;
  padding-bottom:.24em !important;
  margin-top:clamp(22px,3vw,48px) !important;
  margin-bottom:clamp(18px,3vw,42px) !important;
  max-width:15ch !important;
}

.hero-title em,
.hero-title .illo-line,
.hero-title .illo-line em {
  line-height:1.12 !important;
  display:inline !important;
  padding:0 !important;
  margin:0 !important;
}

.hero-title .illo-line {
  display:block !important;
}

.page-hero h1 {
  font-size:clamp(48px,8.6vw,118px) !important;
  line-height:1.08 !important;
  letter-spacing:-.07em !important;
  padding-top:.1em !important;
  padding-bottom:.18em !important;
}

.door h2 {
  font-size:clamp(40px,6vw,84px) !important;
  line-height:1.02 !important;
  letter-spacing:-.07em !important;
  padding-top:.06em !important;
  padding-bottom:.12em !important;
}

.section-copy {
  font-size:clamp(20px,2.2vw,32px) !important;
  line-height:1.18 !important;
}

.bio-copy {
  font-size:clamp(20px,2.15vw,31px) !important;
  line-height:1.2 !important;
}

.quote-card blockquote {
  font-size:clamp(22px,2.3vw,34px) !important;
  line-height:1.12 !important;
}

.journal-item h3 {
  font-size:clamp(24px,3.1vw,44px) !important;
  line-height:1.08 !important;
  letter-spacing:-.055em !important;
  padding-top:.04em !important;
  padding-bottom:.08em !important;
}

.award-title,
.award h3.award-title,
.award h3 {
  font-size:21px !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  padding-top:.02em !important;
  padding-bottom:.06em !important;
}

.lightbox-copy h2 {
  font-size:clamp(34px,5vw,72px) !important;
  line-height:1.05 !important;
  letter-spacing:-.06em !important;
  padding-bottom:.12em !important;
}

.item-info b {
  line-height:1.08 !important;
  padding-bottom:.03em !important;
}

@media(max-width:860px) {
  .hero-title {
    font-size:clamp(52px,17vw,116px) !important;
    line-height:1.14 !important;
    letter-spacing:-.065em !important;
    max-width:9ch !important;
  }

  .page-hero h1 {
    font-size:clamp(46px,14vw,96px) !important;
    line-height:1.1 !important;
  }

  .door h2 {
    font-size:clamp(38px,12vw,72px) !important;
    line-height:1.06 !important;
  }
}

@media(max-width:520px) {
  .hero-title {
    font-size:clamp(48px,16vw,88px) !important;
    line-height:1.16 !important;
    letter-spacing:-.055em !important;
    max-width:8.5ch !important;
  }
}

/* Mantiene la prova tutta nera */
body,
body *,
body *:not(script),
body *::before,
body *::after {
  color:#000000 !important;
  -webkit-text-fill-color:#000000 !important;
  border-color:#000000 !important;
  text-decoration-color:#000000 !important;
}

/* V66: menu visibile anche da mobile */
@media(max-width:860px){
  .site-header{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    align-items:start !important;
  }
  .brand{
    font-size:16px !important;
    white-space:normal !important;
  }
  .main-nav{
    display:flex !important;
    flex-wrap:wrap !important;
    justify-content:flex-start !important;
    gap:8px 14px !important;
    font-size:13px !important;
    line-height:1.2 !important;
  }
  .main-nav a{
    display:inline-block !important;
    padding:4px 0 !important;
  }
}

/* V71: rimuove le righe interne nelle card, mantiene solo il perimetro esterno */
.work-item{
  overflow:hidden !important;
  border:2px solid #000000 !important;
}

.work-item .square-thumb-img,
.work-item .square-thumb{
  border:0 !important;
  border-bottom:0 !important;
}

.work-item .item-info{
  border-top:0 !important;
  border-bottom:0 !important;
  padding-bottom:18px !important;
}

.work-item .item-info *,
.work-item .item-info b,
.work-item .item-info small,
.work-item .item-info span,
.work-item .item-info em{
  border:0 !important;
}

.work-item::before,
.work-item::after,
.item-info::before,
.item-info::after{
  display:none !important;
  content:none !important;
  border:0 !important;
}

.lightbox-image.has-image,
.lightbox-image{
  border:0 !important;
}
.lightbox-card{
  border:2px solid #000000 !important;
}

/* V72: premi più compatti, meno spazio vuoto */
.awards-grid{
  gap:0 !important;
}
.award{
  min-height:0 !important;
  height:auto !important;
  padding:16px 18px 18px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:flex-start !important;
}
.award h3,
.award .award-title{
  margin:0 0 10px 0 !important;
}
.award .award-type,
.award strong{
  margin:0 0 8px 0 !important;
  display:block !important;
}
.award p{
  margin:0 !important;
  line-height:1.38 !important;
  max-width:72ch !important;
}
.award > * + *{
  margin-top:6px !important;
}
@media(max-width:860px){
  .award{
    padding:14px 14px 16px !important;
  }
}

/* V73: ADI nella sezione premi alla stessa dimensione degli altri titoli premio */
.award h3,
.award .award-title,
.award h3.award-title{
  font-size:21px !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  font-weight:720 !important;
  margin:0 0 10px 0 !important;
  padding:0 0 .06em 0 !important;
}
.award h3:only-child,
.award h3:first-child{
  font-size:21px !important;
  line-height:1.08 !important;
}

/* V75: premi uniformati e ADI territoriale come ultimo premio Design */
.award{
  min-height:0 !important;
  height:auto !important;
  padding:16px 18px 18px !important;
}
.award h3,
.award .award-title,
.award h3.award-title{
  font-size:21px !important;
  line-height:1.08 !important;
  letter-spacing:-.035em !important;
  font-weight:720 !important;
  margin:0 0 10px 0 !important;
  padding:0 !important;
}
.award-category{
  display:block !important;
  font-size:17px !important;
  line-height:1.25 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  margin:0 0 4px !important;
  font-weight:400 !important;
}
.award p{
  margin:0 !important;
  line-height:1.38 !important;
}


/* V76: premi uniformati, ADI sulla stessa riga come gli altri */
.award{
  min-height: 0 !important;
  height: auto !important;
  padding: 16px 18px 18px !important;
}
.award-title{
  font-size: 21px !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  font-weight: 720 !important;
  margin: 0 0 10px 0 !important;
}
.award-category{
  display: block !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  margin: 0 0 4px !important;
  font-weight: 400 !important;
}
.award p{
  margin: 0 !important;
  line-height: 1.38 !important;
}

/* V80: catalogo stampe con molte immagini */
.simple-catalogue{
  grid-template-columns:repeat(auto-fill,minmax(210px,1fr)) !important;
  gap:14px !important;
}
.square-thumb-img{
  display:block;
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
  border:0 !important;
  background:#ffffff !important;
}
.work-item{
  border:2px solid #000000 !important;
  overflow:hidden !important;
}
.work-item .item-info{
  padding:12px 12px 14px !important;
}
.work-item .item-info b{
  font-size:clamp(18px,1.35vw,23px) !important;
  line-height:1.06 !important;
}
.work-item .item-info small,
.work-item .item-info span{
  font-size:12px !important;
  line-height:1.24 !important;
}
.lightbox-image.has-image{
  background-size:contain !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
  min-height:min(72vh,760px);
  border:0 !important;
}
@media(max-width:760px){
  .simple-catalogue{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
  }
  .work-item .item-info{
    padding:10px !important;
  }
}

/* V81: blocco Come funziona nella pagina Stampe */
.how-section{
  padding-top:26px !important;
  padding-bottom:32px !important;
}
.how-section .meta-list{
  margin-bottom:12px !important;
}
.how-section .meta-list div{
  min-height:0 !important;
}

/* V82: Design e Illustrazioni tornano con card più grandi; Stampe resta compatta */
body.section-design .simple-catalogue,
body.section-illustrazioni .simple-catalogue{
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr)) !important;
  gap:18px !important;
}

body.section-design .work-item .item-info,
body.section-illustrazioni .work-item .item-info{
  padding:18px 18px 22px !important;
}

body.section-design .work-item .item-info b,
body.section-illustrazioni .work-item .item-info b{
  font-size:clamp(22px,2vw,32px) !important;
  line-height:1.06 !important;
}

body.section-design .work-item .item-info small,
body.section-illustrazioni .work-item .item-info small{
  font-size:13px !important;
  line-height:1.25 !important;
}

body.section-design .work-item .item-info span,
body.section-illustrazioni .work-item .item-info span{
  font-size:14px !important;
  line-height:1.32 !important;
}

/* Popup: mostra davvero l'immagine intera cliccata */
.lightbox-image.has-image{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:min(72vh,760px) !important;
  background:#ffffff !important;
  border:0 !important;
  overflow:hidden !important;
}

.lightbox-image.has-image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:min(72vh,760px) !important;
  object-fit:contain !important;
  background:#ffffff !important;
  border:0 !important;
}

@media(max-width:760px){
  body.section-design .simple-catalogue,
  body.section-illustrazioni .simple-catalogue{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
}

/* V83: Design e Illustrazioni in 3 colonne, 3 sopra e 3 sotto */
@media(min-width:980px){
  body.section-design .simple-catalogue,
  body.section-illustrazioni .simple-catalogue{
    grid-template-columns:repeat(3,1fr) !important;
    gap:20px !important;
  }

  body.section-design .work-item .item-info,
  body.section-illustrazioni .work-item .item-info{
    padding:20px 20px 24px !important;
  }

  body.section-design .work-item .item-info b,
  body.section-illustrazioni .work-item .item-info b{
    font-size:clamp(24px,2.1vw,34px) !important;
    line-height:1.04 !important;
  }

  body.section-design .work-item .item-info small,
  body.section-illustrazioni .work-item .item-info small{
    font-size:13px !important;
    line-height:1.22 !important;
  }

  body.section-design .work-item .item-info span,
  body.section-illustrazioni .work-item .item-info span{
    font-size:14px !important;
    line-height:1.32 !important;
  }
}

@media(min-width:761px) and (max-width:979px){
  body.section-design .simple-catalogue,
  body.section-illustrazioni .simple-catalogue{
    grid-template-columns:repeat(2,1fr) !important;
    gap:16px !important;
  }
}

@media(max-width:760px){
  body.section-design .simple-catalogue,
  body.section-illustrazioni .simple-catalogue{
    grid-template-columns:1fr !important;
    gap:14px !important;
  }
}

/* V90: card Social nei contatti */
.contact-list div b + b{
  margin-top:4px !important;
  display:block !important;
}

/* V91: contatti footer uniformi e P.IVA non sottolineata */
.no-link{
  text-decoration:none !important;
  border:0 !important;
}
.footer .no-link{
  text-decoration:none !important;
  border-bottom:0 !important;
}
.footer a{
  display:inline-block !important;
  margin:1px 0 !important;
}
body.section-stampe .work-item .item-info small:empty{
  display:none !important;
}

/* V92: consiglio culturale nelle schede Stampe */
.consiglio-box{
  margin:18px 0 18px !important;
  padding:14px !important;
  border:2px solid #000 !important;
  background:#fff !important;
}
.consiglio-box span{
  display:block !important;
  font-size:11px !important;
  line-height:1.1 !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  margin:0 0 10px !important;
}
.consiglio-box b{
  display:block !important;
  font-size:20px !important;
  line-height:1.08 !important;
  margin:0 0 6px !important;
  font-weight:720 !important;
}
.consiglio-box em{
  display:block !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-style:normal !important;
}

/* V93: home, griglia finale a tre schede */
.home .meta-list,
body.home .meta-list{
  grid-template-columns:repeat(3,1fr) !important;
}
@media(max-width:860px){
  .home .meta-list,
  body.home .meta-list{
    grid-template-columns:1fr !important;
  }
}

/* V95: schede Stampe più pulite e Consiglio visibile */
body.section-stampe .work-item .item-info span{
  font-size:12px !important;
  line-height:1.24 !important;
}
.consiglio-box{
  display:block;
  margin:18px 0 18px !important;
  padding:14px !important;
  border:2px solid #000 !important;
  background:#fff !important;
}
.consiglio-box span{
  display:block !important;
  font-size:11px !important;
  line-height:1.1 !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  margin:0 0 10px !important;
}
.consiglio-box b{
  display:block !important;
  font-size:20px !important;
  line-height:1.08 !important;
  margin:0 0 6px !important;
  font-weight:720 !important;
}
.consiglio-box em{
  display:block !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-style:normal !important;
}

/* V96: popup Stampe corretto, descrizione breve e CONSIGLIO visibile */
body.section-stampe .lightbox-copy #lightboxDesc{
  font-size:17px !important;
  line-height:1.35 !important;
  margin-bottom:18px !important;
}
.consiglio-box{
  display:block;
  margin:18px 0 18px !important;
  padding:14px !important;
  border:2px solid #000 !important;
  background:#fff !important;
}
.consiglio-box span{
  display:block !important;
  font-size:11px !important;
  line-height:1.1 !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  margin:0 0 10px !important;
}
.consiglio-box b{
  display:block !important;
  font-size:20px !important;
  line-height:1.08 !important;
  margin:0 0 6px !important;
  font-weight:720 !important;
}
.consiglio-box em{
  display:block !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-style:normal !important;
}

/* V98: CONSIGLIO dentro la finestra Dettagli del popup Stampe */
.lightbox-copy dl .consiglio-row{
  min-height:96px !important;
}
.lightbox-copy dl .consiglio-row dt{
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
}
.lightbox-copy dl .consiglio-row dd{
  display:block !important;
}
.lightbox-copy dl .consiglio-row b{
  display:block !important;
  font-size:20px !important;
  line-height:1.08 !important;
  margin:0 0 7px !important;
  font-weight:720 !important;
}
.lightbox-copy dl .consiglio-row em{
  display:block !important;
  font-size:13px !important;
  line-height:1.25 !important;
  font-style:normal !important;
}
.consiglio-box{
  display:none !important;
}

/* V100: apertura popup Stampe blindata */
.lightbox[aria-hidden="false"],
.lightbox.open{
  display:flex !important;
}
.lightbox-image.has-image img{
  display:block !important;
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  max-height:min(72vh,760px) !important;
  object-fit:contain !important;
}
.lightbox-copy dl .consiglio-row{
  min-height:96px !important;
}

/* V101: consiglio su una sola riga tipo · titolo · autore */
.lightbox-copy dl .consiglio-row b{
  display:block !important;
  font-size:16px !important;
  line-height:1.25 !important;
  letter-spacing:0 !important;
  font-weight:400 !important;
  margin:0 !important;
}
.lightbox-copy dl .consiglio-row em{
  display:none !important;
}

/* V104: home, scheda finale davvero in tre colonne */
.home-bottom-cards .home-three-cards{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}
.home-bottom-cards .home-three-cards > div{
  grid-column:auto !important;
}
@media(max-width:860px){
  .home-bottom-cards .home-three-cards{
    grid-template-columns:1fr !important;
  }
}

/* V105: home bottom cards, tre finestre vere senza quarta colonna */
.home-bottom-cards .home-three-real{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:0 !important;
  border:2px solid #000 !important;
  background:#fff !important;
}
.home-bottom-cards .home-three-real > div{
  min-width:0 !important;
  border-right:2px solid #000 !important;
  padding:22px 24px 28px !important;
  box-sizing:border-box !important;
}
.home-bottom-cards .home-three-real > div:last-child{
  border-right:0 !important;
}
.home-bottom-cards .home-three-real b{
  display:block !important;
  text-transform:uppercase !important;
  letter-spacing:.12em !important;
  font-size:12px !important;
  line-height:1.15 !important;
  margin:0 0 22px !important;
}
.home-bottom-cards .home-three-real p{
  margin:0 !important;
  font-size:18px !important;
  line-height:1.32 !important;
}
@media(max-width:860px){
  .home-bottom-cards .home-three-real{
    grid-template-columns:1fr !important;
  }
  .home-bottom-cards .home-three-real > div{
    border-right:0 !important;
    border-bottom:2px solid #000 !important;
  }
  .home-bottom-cards .home-three-real > div:last-child{
    border-bottom:0 !important;
  }
}

/* V106: popup schede perfettamente scrollabile da mobile */
@media(max-width:760px){
  .lightbox,
  .lightbox[aria-hidden="false"],
  .lightbox.open{
    align-items:flex-start !important;
    justify-content:flex-start !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
    padding:12px !important;
    -webkit-overflow-scrolling:touch !important;
  }

  .lightbox-card{
    width:100% !important;
    max-width:100% !important;
    max-height:none !important;
    min-height:0 !important;
    display:block !important;
    grid-template-columns:none !important;
    margin:0 0 24px 0 !important;
    overflow:visible !important;
  }

  .lightbox-image{
    width:100% !important;
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    border-right:0 !important;
    border-bottom:2px solid #000 !important;
    overflow:visible !important;
  }

  .lightbox-image.has-image{
    min-height:0 !important;
    height:auto !important;
    max-height:none !important;
    display:block !important;
    overflow:visible !important;
  }

  .lightbox-image.has-image img{
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
  }

  .lightbox-copy{
    display:block !important;
    padding:18px !important;
    gap:0 !important;
    overflow:visible !important;
  }

  .lightbox-copy .eyebrow{
    margin-bottom:18px !important;
  }

  .lightbox-copy h2{
    font-size:clamp(38px,14vw,62px) !important;
    line-height:.92 !important;
    letter-spacing:-.07em !important;
    margin:0 0 18px !important;
    padding:0 0 .08em !important;
  }

  .lightbox-copy p{
    font-size:18px !important;
    line-height:1.28 !important;
    margin:0 0 18px !important;
  }

  .lightbox-copy dl{
    margin:0 0 20px !important;
  }

  .lightbox-copy dl div,
  .lightbox-copy dl .consiglio-row{
    display:grid !important;
    grid-template-columns:92px 1fr !important;
    min-height:0 !important;
    padding:12px 0 !important;
  }

  .lightbox-copy dl dt{
    font-size:10px !important;
    line-height:1.2 !important;
    padding-left:8px !important;
  }

  .lightbox-copy dl dd{
    font-size:14px !important;
    line-height:1.28 !important;
    padding:0 10px 0 8px !important;
  }

  .lightbox-copy dl .consiglio-row b{
    font-size:14px !important;
    line-height:1.3 !important;
    font-weight:400 !important;
  }

  .lightbox-close{
    position:fixed !important;
    top:10px !important;
    right:10px !important;
    z-index:999 !important;
    background:#fff !important;
    border:2px solid #000 !important;
    width:38px !important;
    height:38px !important;
    line-height:32px !important;
  }

  .link-pill{
    margin-top:12px !important;
    width:100% !important;
    justify-content:center !important;
    box-sizing:border-box !important;
  }
}

/* V108: protezione leggera immagini Stampe */
body.section-stampe .square-thumb-img,
body.section-stampe .lightbox-image img,
body.section-stampe #lightboxImage,
body.section-stampe .work-item{
  -webkit-user-select:none !important;
  user-select:none !important;
  -webkit-user-drag:none !important;
  -webkit-touch-callout:none !important;
}
body.section-stampe .lightbox-image img{
  pointer-events:none !important;
}

/* V114: popup scrollabile da mobile per Design, Illustrazioni e Stampe */
@media(max-width:760px){
  .lightbox,.lightbox[aria-hidden="false"],.lightbox.open{
    align-items:flex-start!important;justify-content:flex-start!important;
    overflow-y:auto!important;overflow-x:hidden!important;
    padding:12px!important;-webkit-overflow-scrolling:touch!important;
  }
  .lightbox-card{
    width:100%!important;max-width:100%!important;max-height:none!important;min-height:0!important;
    display:block!important;grid-template-columns:none!important;margin:0 0 24px 0!important;overflow:visible!important;
  }
  .lightbox-image,.lightbox-image.has-image{
    width:100%!important;min-height:0!important;height:auto!important;max-height:none!important;
    display:block!important;border-right:0!important;border-bottom:2px solid #000!important;overflow:visible!important;
  }
  .lightbox-image.has-image img{
    display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;
  }
  .lightbox-copy{display:block!important;padding:18px!important;gap:0!important;overflow:visible!important;}
  .lightbox-copy .eyebrow{margin-bottom:18px!important;}
  .lightbox-copy h2{
    font-size:clamp(38px,14vw,62px)!important;line-height:.92!important;
    letter-spacing:-.07em!important;margin:0 0 18px!important;padding:0 0 .08em!important;
  }
  .lightbox-copy p{font-size:18px!important;line-height:1.28!important;margin:0 0 18px!important;}
  .lightbox-copy dl{margin:0 0 20px!important;}
  .lightbox-copy dl div,.lightbox-copy dl .consiglio-row{
    display:grid!important;grid-template-columns:92px 1fr!important;min-height:0!important;padding:12px 0!important;
  }
  .lightbox-copy dl dt{font-size:10px!important;line-height:1.2!important;padding-left:8px!important;}
  .lightbox-copy dl dd{font-size:14px!important;line-height:1.28!important;padding:0 10px 0 8px!important;}
  .lightbox-copy dl .consiglio-row b{font-size:14px!important;line-height:1.3!important;font-weight:400!important;}
  .lightbox-close{
    position:fixed!important;top:10px!important;right:10px!important;z-index:999!important;
    background:#fff!important;border:2px solid #000!important;width:38px!important;height:38px!important;line-height:32px!important;
  }
  .link-pill{margin-top:12px!important;width:100%!important;justify-content:center!important;box-sizing:border-box!important;}
}

/* V115: righe carta/prezzo separate nelle Stampe */
body.section-stampe #lightboxPaper br{
  display:block !important;
  content:"" !important;
  margin-bottom:4px !important;
}
body.section-stampe .how-section .meta-list div br{
  display:block !important;
  margin-bottom:4px !important;
}

/* V117: carta nella griglia e nel popup su righe separate */
body.section-stampe #lightboxPaper br{
  display:block !important;
  margin-bottom:4px !important;
}
body.section-stampe .meta-list div br{
  display:block !important;
  margin-bottom:4px !important;
}

/* V119: bilingual switch */
.lang-switch{
  margin-left:12px !important;
  padding-left:12px !important;
  border-left:2px solid currentColor !important;
  font-weight:720 !important;
}
@media(max-width:860px){
  .lang-switch{
    margin-left:0 !important;
    padding-left:0 !important;
    border-left:0 !important;
  }
}

/* V124: catalogue gallery for Il vagabondo delle lune */
.catalogue-gallery{
  position:relative !important;
  width:100% !important;
  height:100% !important;
  min-height:420px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
}
.catalogue-gallery img{
  display:block !important;
  max-width:100% !important;
  max-height:100% !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
}
.catalogue-gallery-prev,
.catalogue-gallery-next{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:44px !important;
  height:44px !important;
  border:2px solid #000 !important;
  background:#fff !important;
  color:#000 !important;
  font-size:32px !important;
  line-height:36px !important;
  cursor:pointer !important;
  z-index:4 !important;
}
.catalogue-gallery-prev{ left:12px !important; }
.catalogue-gallery-next{ right:12px !important; }
.catalogue-gallery-counter{
  position:absolute !important;
  left:12px !important;
  bottom:12px !important;
  background:#fff !important;
  border:2px solid #000 !important;
  padding:4px 8px !important;
  font-size:12px !important;
  letter-spacing:.08em !important;
}
@media(max-width:760px){
  .catalogue-gallery{
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
  }
  .catalogue-gallery img{
    width:100% !important;
    height:auto !important;
    max-height:none !important;
  }
  .catalogue-gallery-prev,
  .catalogue-gallery-next{
    width:38px !important;
    height:38px !important;
    font-size:28px !important;
    line-height:30px !important;
  }
}

/* V125: dettagli catalogo mostra */
.lightbox-copy #lightboxPaper{
  white-space:normal !important;
}
.lightbox-copy #lightboxPaper br{
  display:block !important;
  margin-bottom:4px !important;
}

/* V126: robust catalogue gallery */
.lightbox-image.has-gallery{
  overflow:visible !important;
}
.catalogue-gallery{
  position:relative !important;
  width:100% !important;
  height:100% !important;
  min-height:420px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  touch-action:pan-y !important;
}
.catalogue-gallery img{
  display:block !important;
  max-width:100% !important;
  max-height:100% !important;
  width:auto !important;
  height:auto !important;
  object-fit:contain !important;
  pointer-events:auto !important;
  -webkit-user-drag:none !important;
}
.catalogue-gallery-prev,
.catalogue-gallery-next{
  position:absolute !important;
  top:50% !important;
  transform:translateY(-50%) !important;
  width:44px !important;
  height:44px !important;
  border:2px solid #000 !important;
  background:#fff !important;
  color:#000 !important;
  font-size:32px !important;
  line-height:36px !important;
  cursor:pointer !important;
  z-index:40 !important;
  pointer-events:auto !important;
}
.catalogue-gallery-prev{ left:12px !important; }
.catalogue-gallery-next{ right:12px !important; }
.catalogue-gallery-counter{
  position:absolute !important;
  left:12px !important;
  bottom:12px !important;
  background:#fff !important;
  border:2px solid #000 !important;
  padding:4px 8px !important;
  font-size:12px !important;
  letter-spacing:.08em !important;
  z-index:40 !important;
}
@media(max-width:760px){
  .lightbox-image.has-gallery{
    overflow:visible !important;
  }
  .catalogue-gallery{
    min-height:0 !important;
    height:auto !important;
    padding:0 !important;
  }
  .catalogue-gallery img{
    width:100% !important;
    height:auto !important;
    max-height:none !important;
  }
  .catalogue-gallery-prev,
  .catalogue-gallery-next{
    width:38px !important;
    height:38px !important;
    font-size:28px !important;
    line-height:30px !important;
  }
}

/* V128: Journal meta realmente a 3 colonne, larghe uguali */
body.section-journal .journal-article .interview-meta.meta-list,
body.section-journal .journal-article .interview-meta{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  width:100% !important;
}
body.section-journal .journal-article .interview-meta.meta-list > div,
body.section-journal .journal-article .interview-meta > div{
  width:auto !important;
  min-width:0 !important;
  box-sizing:border-box !important;
}
body.section-journal .journal-article .interview-meta.meta-list > div:nth-child(4),
body.section-journal .journal-article .interview-meta > div:nth-child(4){
  display:none !important;
}
@media(max-width:860px){
  body.section-journal .journal-article .interview-meta.meta-list,
  body.section-journal .journal-article .interview-meta{
    grid-template-columns:1fr !important;
  }
}

/* V130: Setaccio */
.affinity-section{
  padding-top:18px !important;
}
.affinity-section h2{
  margin-bottom:12px !important;
}
.affinity-words{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:8px !important;
  margin:24px 0 22px !important;
}
.affinity-words button{
  appearance:none !important;
  border:2px solid #000 !important;
  background:#fff !important;
  color:#000 !important;
  padding:9px 12px !important;
  font:inherit !important;
  font-size:13px !important;
  line-height:1 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  cursor:pointer !important;
}
.affinity-words button:hover,
.affinity-words button.active{
  background:#000 !important;
  color:#fff !important;
}
.affinity-result{
  border:2px solid #000 !important;
  padding:20px !important;
  display:grid !important;
  grid-template-columns:1fr auto !important;
  gap:8px 18px !important;
  align-items:end !important;
  background:#fff !important;
}
.affinity-result .eyebrow{
  grid-column:1 / -1 !important;
}
.affinity-result h3{
  font-size:clamp(34px,4.8vw,72px) !important;
  line-height:.9 !important;
  letter-spacing:-.07em !important;
  margin:0 !important;
  padding-bottom:.08em !important;
}
.affinity-result p{
  margin:0 !important;
  font-size:16px !important;
  line-height:1.35 !important;
}
.affinity-result .affinity-advice{
  grid-column:1 / -1 !important;
  border-top:2px solid #000 !important;
  padding-top:12px !important;
  margin-top:8px !important;
}
.affinity-result .affinity-open{
  grid-row:2 / span 2 !important;
  grid-column:2 !important;
  white-space:nowrap !important;
}
@media(max-width:760px){
  .affinity-result{
    grid-template-columns:1fr !important;
  }
  .affinity-result .affinity-open{
    grid-row:auto !important;
    grid-column:auto !important;
    width:100% !important;
    justify-content:center !important;
  }
}

/* V131: Journal meta a 3 scomparti reali, senza quarta colonna vuota */
.journal-article .interview-meta.meta-list,
.journal-article .interview-meta,
body.section-journal .journal-article .interview-meta.meta-list,
body.section-journal .journal-article .interview-meta{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  width:100% !important;
}
.journal-article .interview-meta.meta-list > div,
.journal-article .interview-meta > div{
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  box-sizing:border-box !important;
}
.journal-article .interview-meta.meta-list > div:nth-child(n+4),
.journal-article .interview-meta > div:nth-child(n+4){
  display:none !important;
}
@media(max-width:860px){
  .journal-article .interview-meta.meta-list,
  .journal-article .interview-meta,
  body.section-journal .journal-article .interview-meta.meta-list,
  body.section-journal .journal-article .interview-meta{
    grid-template-columns:1fr !important;
  }
}

/* V135: copyright visibile sulle immagini intere delle stampe */
body.section-stampe .lightbox-image.has-image:not(.has-gallery)::after{
  content:"Paolo Metaldi Design Studio | © all rights reserved";
  position:absolute !important;
  left:50% !important;
  bottom:18px !important;
  transform:translateX(-50%) !important;
  z-index:30 !important;
  padding:4px 8px !important;
  font-size:clamp(12px, 1.4vw, 20px) !important;
  line-height:1.1 !important;
  letter-spacing:.01em !important;
  color:#000 !important;
  background:rgba(255,255,255,.18) !important;
  pointer-events:none !important;
  white-space:nowrap !important;
  mix-blend-mode:normal !important;
}
body.section-stampe .lightbox-image.has-image:not(.has-gallery){
  position:relative !important;
}
@media(max-width:760px){
  body.section-stampe .lightbox-image.has-image:not(.has-gallery)::after{
    bottom:10px !important;
    font-size:12px !important;
    width:auto !important;
    max-width:92% !important;
    text-align:center !important;
    white-space:normal !important;
    background:rgba(255,255,255,.22) !important;
  }
}
