/* Shared EN/ES/RU homepage parity and responsive refinements. */
#hpy-solution .why-hpy-tech-card {
    min-height: 0;
    overflow: hidden;
}

#hpy-solution .why-hpy-tech-image-box {
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

#hpy-solution .why-hpy-tech-image,
#hpy-solution .why-hpy-tech-image.is-changing {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

/* The ore descriptions were removed, so do not retain their former vertical space. */
#ore-case-categories .ore-case-card {
    min-height: 387px;
}

#ore-case-categories .ore-case-body {
    padding: 0 20px 20px;
    flex-grow: 0;
}

#ore-case-categories .ore-case-link {
    margin-top: 14px;
    padding-top: 0;
}

@media (max-width: 1199.98px) {
    #ore-case-categories .ore-case-card {
        min-height: 367px;
    }
}

@media (max-width: 991.98px) {
    #ore-case-categories .ore-case-card {
        min-height: auto;
    }
}

@media (max-width: 767.98px) {
    #ore-case-categories .ore-case-body {
        padding: 0 16px 16px;
    }
}
/* Rebalance the technology-card gaps without changing the panel height. */
@media (min-width: 992px) {
    #hpy-solution .why-hpy-tech-image-box {
        margin-bottom: 8px;
    }

    #hpy-solution .why-hpy-tech-tabs {
        margin-top: 8px;
    }
}
/* English homepage section backgrounds. */
#key-challenges,
#ore-case-categories,
#product-showcase,
#home-service-process {
    background: #fff;
}

#hpy-solution,
#why-hpy,
#home-sustainability {
    background: #f3f7f5;
}
/* Place each service title beside its numbered badge and tighten the list gap. */
#home-service-process .home-service-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: 14px;
    row-gap: 10px;
}

#home-service-process .home-service-step {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    align-self: center;
}

#home-service-process .home-service-title {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
    margin: 0;
    align-self: center;
}

#home-service-process .home-service-list {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: start;
}
/* Never truncate challenge case copy; card height is synchronized from real content. */
#key-challenges .case-copy {
    display: block;
    overflow: visible;
    line-clamp: unset;
    -webkit-line-clamp: unset;
    -webkit-box-orient: initial;
}