/* Base strutturale HomePageClient per le composizioni modulari. */
.hpc-layout .hpc-row { margin-bottom: 30px; }
.hpc-layout .hpc-row.hpc-full { width: 100%; }
.hpc-layout .hpc-full > .row { margin-left: 0; margin-right: 0; }
.hpc-layout .hpc-title { margin: 20px 0; }
.hpc-layout .hpc-feature-grid, .hpc-layout .hpc-team { display: flex; flex-wrap: wrap; }
.hpc-layout .hpc-feature-grid > div { display: flex; margin-bottom: 24px; }
.hpc-layout .hpc-feature-card { width: 100%; display: flex; flex-direction: column; text-align: center; }
.hpc-layout .hpc-feature-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hpc-layout .hpc-feature-body { flex: 1; display: flex; flex-direction: column; align-items: center; padding: 18px 10px; }
.hpc-layout .hpc-feature-body .btn { margin-top: auto; }
.hpc-layout .hpc-team > div { margin-bottom: 24px; }
.hpc-layout .hpc-team .media-object { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.hpc-layout .hpc-contact-band { padding: 30px 15px; text-align: center; background: #f3f5f3; font-size: 20px; }
.hpc-layout .hpc-contact-band strong { display: block; font-size: 28px; }
.hpc-layout .hpc-slider .item { height: clamp(320px, 33.5vw, 630px); }
.hpc-layout .hpc-slide-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.hpc-layout .hpc-slide-caption { position: absolute; top: 39%; left: 0; right: 0; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.7); }
.hpc-layout .hpc-slide-heading { font-size: clamp(32px, 4vw, 60px); }
.hpc-layout .hpc-slide-subtitle { font-size: clamp(22px, 2.8vw, 42px); }
.hpc-layout .hpc-slide-yellow { color: #ffcc00; }
.hpc-layout .hpc-slide-dark { color: #161e19; text-shadow: 0 1px 5px rgba(255,255,255,.7); }
@media (max-width:767px) {
 .hpc-layout .hpc-slider .item { height: clamp(230px, 65vw, 390px); }
 .hpc-layout .hpc-slide-caption .container { padding: 0 28px; }
 .hpc-layout .hpc-team .media-object { width: 100px; height: 100px; }
}

/* Hero: struttura generica, colori e stile specifici del tema. */
.hpc-layout .hpc-hero-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 48px; }
.hpc-layout .hpc-hero { padding: clamp(36px,6vw,84px) 0; }
.hpc-layout .hpc-hero h1 { font-size: clamp(32px,4.2vw,58px); line-height: 1.12; margin: 12px 0 20px; overflow-wrap: anywhere; }
.hpc-layout .hpc-hero p { font-size: clamp(16px,1.5vw,20px); line-height: 1.65; }
.hpc-layout .hpc-hero-eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.hpc-layout .hpc-hero-cta { margin-top: 12px; }
.hpc-layout .hpc-hero-media { overflow: hidden; position: relative; min-height: 240px; border-radius: 8px; aspect-ratio: 5 / 4; }
.hpc-layout .hpc-hero-media img { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; }
.hpc-layout .hpc-hero-abstract { background: linear-gradient(140deg,#e1e9ee,#a8bcc8); }
.hpc-layout .hpc-hero-abstract span { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 24%; transform: rotate(-35deg); top: 16%; left: 36%; border: 28px solid rgba(255,255,255,.55); }
.hpc-layout .hpc-hero-left .hpc-hero-media { grid-column: 1; grid-row: 1; }
.hpc-layout .hpc-hero-left .hpc-hero-content { grid-column: 2; grid-row: 1; }
@media (max-width:767px) {
 .hpc-layout .hpc-hero-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
 .hpc-layout .hpc-hero-left .hpc-hero-content,.hpc-layout .hpc-hero-left .hpc-hero-media { grid-row: auto; grid-column: auto; }
 .hpc-layout .hpc-hero-media { min-height: 0; aspect-ratio: 16 / 10; }
}
