/* Compact project opening for HRS, Q-VADIS and Sorrento Coast only. */
body.hitc-design #contenuto.case-project .project-single-opening{padding-block:20px 36px}
body.hitc-design #contenuto.case-project .project-detail-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.15fr);gap:clamp(32px,4vw,56px);align-items:center;margin-top:24px}
body.hitc-design #contenuto.case-project .project-detail-grid h1{font-size:clamp(38px,3.5vw,52px);line-height:1.08}
body.hitc-design #contenuto.case-project .project-detail-grid .project-intro-copy{margin-top:24px;max-width:490px}
body.hitc-design #contenuto.case-project .project-detail-grid .project-subtitle{font-size:clamp(21px,1.8vw,25px);margin-bottom:18px}
body.hitc-design #contenuto.case-project .project-detail-grid .project-summary p{font-size:17px;line-height:1.75;max-width:490px}
body.hitc-design #contenuto.case-project .project-primary-gallery{min-width:0;width:100%;max-width:620px;justify-self:end}
body.hitc-design #contenuto.case-project .project-static-visual{display:block;border-radius:8px}
body.hitc-design #contenuto.case-project .project-static-visual img{display:block;width:100%;height:auto;border-radius:8px}
body.hitc-design #contenuto.case-project .project-interface-carousel{width:100%}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-viewport{display:flex;gap:20px;overflow-x:auto;scroll-snap-type:x mandatory}
body.hitc-design #contenuto.case-project .project-interface-carousel[data-ready] .project-carousel-viewport{display:block;overflow:visible;touch-action:pan-y}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-slide{flex:0 0 100%;width:100%;aspect-ratio:16/10;padding-bottom:28px;scroll-snap-align:start}
body.hitc-design #contenuto.case-project .project-desktop-view,
body.hitc-design #contenuto.case-project .project-composite-view{position:relative;display:block;width:100%;height:100%;text-decoration:none}
body.hitc-design #contenuto.case-project .project-desktop-view{padding:6px;background:#17252d;border:1px solid #34434c;border-radius:12px;box-shadow:0 18px 24px -21px #14212b90}
body.hitc-design #contenuto.case-project .project-desktop-view::before{content:"";position:absolute;left:44%;top:100%;width:12%;height:20px;background:linear-gradient(90deg,#abb5bc,#e2e7e9,#b4bec4)}
body.hitc-design #contenuto.case-project .project-desktop-view::after{content:"";position:absolute;left:33%;top:calc(100% + 18px);width:34%;height:6px;border-radius:50%;background:#b5bfc5}
body.hitc-design #contenuto.case-project .project-composite-view{height:calc(100% + 28px)}
body.hitc-design #contenuto.case-project .project-interface-display{display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:100%;background:#fff;border-radius:5px}
body.hitc-design #contenuto.case-project .project-composite-view .project-interface-display{background:#f3f5f6;border-radius:8px}
body.hitc-design #contenuto.case-project .project-interface-display img{display:block;width:100%;height:100%;max-height:none;object-fit:contain;border-radius:0}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-controls{display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px 20px;margin-top:18px;padding:0}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-controls[hidden]{display:none}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-thumbs{display:flex;flex-direction:row;flex-wrap:wrap;gap:8px}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-thumb{width:66px;height:44px;padding:3px;background:#f3f6f7}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-thumb img{width:100%;height:100%;object-fit:contain}
body.hitc-design #contenuto.case-project .project-interface-actions{display:flex;align-items:center;gap:16px}
body.hitc-design #contenuto.case-project .project-interface-actions .project-carousel-arrows{display:flex;align-items:center;gap:4px}
body.hitc-design #contenuto.case-project .project-interface-actions .project-carousel-count{font-size:13px;min-width:32px;text-align:center;white-space:nowrap}
body.hitc-design #contenuto.case-project .project-detail-mobile .project-mobile-composition{max-width:400px;margin-inline:auto;padding:16px 12px 30px}
body.hitc-design #contenuto.case-project .project-single-opening+.project-ending{padding-top:12px}
@media(max-width:900px){
body.hitc-design #contenuto.case-project .project-detail-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:28px}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-controls{justify-content:center}
}
@media(max-width:760px){
body.hitc-design #contenuto.case-project .project-single-opening{padding-block:16px 28px}
body.hitc-design #contenuto.case-project .project-detail-grid{grid-template-columns:1fr;gap:30px;margin-top:18px}
body.hitc-design #contenuto.case-project .project-detail-grid .project-intro-copy{max-width:620px;margin-top:20px}
body.hitc-design #contenuto.case-project .project-detail-grid .project-summary p{max-width:620px}
body.hitc-design #contenuto.case-project .project-primary-gallery{justify-self:center;max-width:620px}
}
@media(max-width:520px){
body.hitc-design #contenuto.case-project .project-detail-grid h1{font-size:clamp(36px,8.5vw,44px)}
body.hitc-design #contenuto.case-project .project-detail-grid .project-summary p{font-size:16px;line-height:1.75}
body.hitc-design #contenuto.case-project .project-detail-mobile .project-mobile-composition{max-width:360px;padding:12px 12px 24px}
body.hitc-design #contenuto.case-project .project-desktop-view{padding:4px;border-radius:8px}
body.hitc-design #contenuto.case-project .project-interface-carousel .project-carousel-controls{gap:8px 16px;margin-top:12px}
}
