/**
 * Widget: hero-content|homepage
 * Banda #696996 con card bianca (titolo/contenuto/CTA) + immagine.
 */
.hero-content-homepage {
    background-color: var(--icotea-homepage-section1);
}

.hero-content-homepage-container {
    background-color: var(--icotea-color-uni);
    border-radius: 0 0 50px 50px;
    padding: 40px 0 60px;
}


.hero-content-homepage .hphp-band {
}

.hero-content-homepage .hphp-grid {
    display: grid;
    grid-template-columns: 5fr 6fr;
    align-items: stretch;
    gap: 24px;
}

/* Card bianca: titolo + contenuto + CTA */
.hero-content-homepage .hphp-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.hero-content-homepage .hphp-title {
    margin: 0;
    font-family: var(--icotea-font-heading);
    font-size: 3rem;        /* 48px */
    line-height: 1.05;
    font-weight: 700;
    color: var(--icotea-color-uni);
}

.hero-content-homepage .hphp-content {
    font-family: var(--icotea-font-body);
    font-size: 1.125rem;    /* 18px */
    line-height: 1.5;
    color: #314158;
}

.hero-content-homepage .hphp-content p { margin: 0 0 1em; }
.hero-content-homepage .hphp-content :last-child { margin-bottom: 0; }
.hero-content-homepage .hphp-content a { color: #314158; text-decoration: underline; }

/* CTA "Scopri" */
.hero-content-homepage .hphp-cta {
    align-self: flex-start;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    padding: 10px 32px;
    border-radius: 4px;
    background: var(--icotea-color-uni);
    color: #fff;
    font-family: var(--icotea-font-heading);
    font-size: .875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .3px;
    text-decoration: none;
    transition: background-color .2s ease;
}
.hero-content-homepage .hphp-cta:hover,
.hero-content-homepage .hphp-cta:focus-visible {
    background: #545481;
}

/* Immagine */
.hero-content-homepage .hphp-media {
    border-radius: 24px;
    overflow: hidden;
    min-height: 360px;
}
.hero-content-homepage .hphp-media .hphp-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* -----------------------------------------------------------------------
   Responsive
----------------------------------------------------------------------- */
@media (max-width: 991px) {
    .hero-content-homepage .hphp-grid { grid-template-columns: 1fr; }
    .hero-content-homepage .hphp-media { min-height: 280px; }
    .hero-content-homepage .hphp-title { font-size: 2.25rem; }
}
@media (max-width: 767px) {
    .hero-content-homepage .hphp-band { border-radius: 0 0 24px 24px; padding: 24px 0 40px; }
    .hero-content-homepage .hphp-card { padding: 28px; }
}
