.editorial-card--with-image {
    min-height: 0;
    display: block;
    padding: 0;
}

.editorial-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    display: block;
    overflow: hidden;
    background: #ede3d5;
}

.editorial-card__media::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(180deg, transparent, rgba(27, 18, 13, .2));
    pointer-events: none;
}

.editorial-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.editorial-card:hover .editorial-card__media img {
    transform: scale(1.035);
}

.editorial-card--with-image .editorial-card__body {
    min-height: 245px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
}

.editorial-card--with-image .editorial-card__body p {
    flex: 1;
}

.content-detail-hero__image,
.page-hero__image {
    overflow: hidden;
    border: 1px solid rgba(74, 33, 26, .12);
    border-radius: 30px;
    background: #ede3d5;
    box-shadow: 0 28px 80px rgba(74, 33, 26, .14);
    aspect-ratio: 4 / 3;
}

.content-detail-hero__image img,
.page-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.home-cms-grid {
    align-items: stretch;
}

.home-cms-card {
    overflow: hidden;
    padding: 0 !important;
}

.home-cms-card__media {
    aspect-ratio: 16 / 9;
    display: block;
    overflow: hidden;
    background: #ede3d5;
}

.home-cms-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.home-cms-card:hover .home-cms-card__media img {
    transform: scale(1.035);
}

.home-cms-card__body {
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
}

.home-cms-card__body p {
    flex: 1;
}

.product-specification {
    margin: 34px 0 26px;
    padding: 24px;
    border: 1px solid rgba(74, 33, 26, .12);
    border-radius: 24px;
    background: rgba(247, 239, 227, .72);
}

.product-specification > span,
.service-detail-extras section > span {
    color: var(--terrace);
    font-size: .75rem;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.product-specification h2,
.service-detail-extras h2 {
    margin: 9px 0 14px;
    color: var(--ulin-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.65rem;
}

.product-specification > div,
.service-detail-extras section > div {
    color: rgba(23, 21, 19, .72);
    line-height: 1.8;
}

.service-detail-extras {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
}

.service-detail-extras section {
    padding: 22px;
    border: 1px solid rgba(74, 33, 26, .1);
    border-radius: 22px;
    background: rgba(247, 239, 227, .62);
}

@media (max-width: 1080px) {
    .content-detail-hero__image,
    .page-hero__image {
        width: min(100%, 720px);
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 720px) {
    .service-detail-extras {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .editorial-card--with-image .editorial-card__body,
    .home-cms-card__body {
        min-height: auto;
    }

    .content-detail-hero__image,
    .page-hero__image {
        border-radius: 22px;
    }

    .product-specification,
    .service-detail-extras section {
        border-radius: 18px;
        padding: 18px;
    }
}
