/* Joe Di Palma — mobile navigation v45. Only affects phone/tablet widths. */
.joe-mobile-header{display:none}
@media(max-width:991px){
  html{scroll-padding-top:70px}
  body{padding-top:0 !important;overflow-x:hidden}
  .page-header{height:0 !important;min-height:0 !important;margin:0 !important;padding:0 !important}
  .page-header .rd-navbar-wrap{display:none !important}
  .joe-mobile-header{display:flex;position:fixed;inset:0 0 auto;z-index:20000;box-sizing:border-box;align-items:center;justify-content:space-between;height:66px;padding:0 max(17px,env(safe-area-inset-right)) 0 max(17px,env(safe-area-inset-left));background:rgba(9,11,14,.96);box-shadow:0 1px 0 rgba(255,255,255,.11);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .joe-mobile-logo{color:#fff !important;font:700 clamp(19px,5vw,25px)/1.1 Oswald,Arial,sans-serif;letter-spacing:.03em;white-space:nowrap;max-width:58vw;text-decoration:none !important;text-shadow:none}
  .joe-mobile-logo span{color:#d8ac76}
  .joe-mobile-right{display:flex;align-items:center;gap:15px;flex-shrink:0}
  .joe-mobile-lang{display:flex !important;align-items:center;gap:8px;position:static !important;margin:0 !important;padding:0 !important;background:none !important;color:#d9d9d9 !important;font-size:12px;line-height:1}
  .joe-mobile-lang button{font-size:12px !important;min-width:18px;color:#d0d0d0 !important;background:transparent;border:0;padding:4px 0;line-height:1.5}
  .joe-mobile-lang button.active{color:#e5b87f !important}
  .joe-mobile-lang span{color:#929292}
  .joe-mobile-toggle{display:flex;position:relative;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:43px;height:43px;background:transparent;border:1px solid rgba(255,255,255,.38);border-radius:3px;padding:0;cursor:pointer}
  .joe-mobile-toggle span{display:block;width:21px;height:2px;background:#fff;transition:transform .2s,opacity .2s}
  .joe-mobile-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .joe-mobile-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
  .joe-mobile-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .joe-mobile-drawer{position:absolute;top:66px;left:0;right:0;max-height:calc(100dvh - 66px);overflow-y:auto;background:#121418;border-top:1px solid rgba(255,255,255,.12);box-shadow:0 18px 32px rgba(0,0,0,.28);padding:12px 24px 25px}
  .joe-mobile-drawer[hidden]{display:none !important}
  .joe-mobile-drawer nav{display:flex;flex-direction:column;gap:0}
  .joe-mobile-drawer nav a{display:block;padding:13px 3px;border-bottom:1px solid rgba(255,255,255,.13);color:#fff !important;font:600 15px/1.25 Oswald,Arial,sans-serif;letter-spacing:.075em;text-align:left;text-decoration:none}
  .joe-mobile-drawer nav a:focus-visible,.joe-mobile-drawer nav a:hover{color:#e5b87f !important}
  .joe-mobile-socials{display:flex;flex-wrap:wrap;gap:11px;padding-top:23px}
  .joe-mobile-socials a{color:#fff !important;text-decoration:none;display:flex;align-items:center;gap:7px;border:1px solid rgba(255,255,255,.25);padding:9px 11px;font:600 12px Arial,sans-serif}
  .joe-mobile-socials i{font-size:16px}
  #joe-home-section{min-height:clamp(540px,78svh,800px) !important;background-position:var(--joe-home-position,center center) !important}
  #joe-home-section .parallax-content{min-height:inherit;display:flex;align-items:center;justify-content:center;padding-top:70px;padding-bottom:40px;background:linear-gradient(180deg,rgba(0,0,0,.24),rgba(0,0,0,.08) 35%,rgba(0,0,0,.27))}
  #joe-home-section .parallax-content>.section-md{width:100%;padding-top:42px;padding-bottom:40px}
  #joe-home-section .box-info-renee-title{font-size:clamp(44px,10vw,75px) !important;letter-spacing:0 !important;line-height:1.03 !important;overflow-wrap:normal}
  #joe-home-section .box-info-renee-subtitle{font-size:clamp(12px,2.8vw,17px)!important;letter-spacing:.045em!important;line-height:1.5!important;max-width:90vw;margin-inline:auto}
  #joe-home-section .joe-home-actions{margin-top:20px}
  section[id]{scroll-margin-top:70px}
}
@media(max-width:390px){.joe-mobile-logo{font-size:19px}.joe-mobile-right{gap:8px}.joe-mobile-header{padding-inline:12px}.joe-mobile-lang{gap:5px}.joe-mobile-toggle{width:39px;height:40px}}
@media(prefers-reduced-motion:reduce){.joe-mobile-toggle span{transition:none}}


/* v47 — Rassegna stampa: fotografie visibili anche su smartphone.
   Solo layout mobile: nessuna modifica ai contenuti o al desktop. */
@media screen and (max-width: 630px) {
  #articles .joe-press-slide:not([hidden]) {
    display: flex !important;
    flex-direction: column !important;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden;
  }
  #articles .joe-press-slide-visual {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 180px !important;
    aspect-ratio: 4 / 3 !important;
    flex: 0 0 auto !important;
    overflow: hidden !important;
    background: #252525;
  }
  #articles .joe-press-slide-visual img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  #articles .joe-press-slide-no-image {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  #articles .joe-press-slide-content {
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 22px 20px 25px !important;
  }
  #articles .joe-press-slide-title {
    font-size: clamp(20px, 5.4vw, 30px) !important;
    line-height: 1.2;
    margin-bottom: 26px;
  }
  #articles .joe-press-slide-index {margin-bottom: 15px;}
  #articles .joe-press-slide-action {margin-top: 8px;}
}
