
/*
 * V7 deliberately declares no font family.
 * Typography is inherited from the established theme.
 */

.ehpi-landing,
.ehpi-media-promo {
    --ehpi-navy: #102a43;
    --ehpi-oxblood: #861f2d;
    --ehpi-border: rgba(16, 42, 67, .16);
    --ehpi-muted: rgba(16, 42, 67, .72);
}

.ehpi-page-intro,
.ehpi-section-head {
    max-width: 850px;
    margin-bottom: 2rem;
}

.ehpi-intro {
    line-height: 1.75;
}

.ehpi-kicker,
.ehpi-label {
    margin: 0 0 .55rem;
    color: var(--ehpi-oxblood);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.ehpi-feature-card {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    overflow: hidden;
    margin: 2rem 0 3rem;
    border: 1px solid var(--ehpi-border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .52);
}

.ehpi-feature-card-compact {
    margin-bottom: 0;
}

.ehpi-feature-image {
    display: block;
    min-height: 100%;
    background: #e9e2d6;
}

.ehpi-feature-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    object-position: top center;
}

.ehpi-feature-content {
    padding: clamp(1.5rem, 4vw, 2.6rem);
    align-self: center;
}

.ehpi-feature-content h3 {
    margin: 0 0 .65rem;
    line-height: 1.14;
}

.ehpi-feature-content h3 a {
    color: inherit;
    text-decoration: none;
}

.ehpi-feature-content h3 a:hover {
    text-decoration: underline;
    text-underline-offset: .15em;
}

.ehpi-meta {
    margin: 0 0 1rem;
    color: var(--ehpi-muted);
    font-size: .94rem;
}

.ehpi-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.25rem;
}

.ehpi-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .72rem 1.05rem;
    border-radius: 999px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none !important;
}

.ehpi-btn-primary {
    background: var(--ehpi-navy);
    color: #fff !important;
}

.ehpi-btn-secondary {
    border: 1px solid rgba(16, 42, 67, .30);
    color: var(--ehpi-navy) !important;
    background: transparent;
}

.ehpi-feature-detail {
    margin-top: 3.5rem;
}

.ehpi-detail-copy {
    max-width: 850px;
    margin-bottom: 2rem;
}

.ehpi-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
    align-items: start;
}

.ehpi-gallery-item {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--ehpi-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 42, 67, .07);
}

.ehpi-gallery-item img {
    display: block;
    width: 100%;
    height: auto;
}

.ehpi-media-promo {
    margin-top: clamp(3rem, 7vw, 5rem);
    padding-top: clamp(2rem, 5vw, 3.5rem);
    border-top: 1px solid var(--ehpi-border);
}

@media (max-width: 820px) {
    .ehpi-feature-card {
        grid-template-columns: 1fr;
    }

    .ehpi-feature-image img {
        min-height: 0;
        max-height: 560px;
        object-fit: contain;
    }

    .ehpi-gallery {
        grid-template-columns: 1fr;
    }
}
