.single-cheval-page {
    width: 100%;
    background-color: #111111;
    color: #F1E9E0;
}

.single-chevaux {
    background: linear-gradient(180deg, #111, #111 82.84%, #3f3127);
}

.single-chevaux footer#colophon {
    background: transparent;
}

.cheval-hero-section {
    position: relative;
    width: 100%;
    height: 57.14vw;
    overflow: hidden;
}

.cheval-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cheval-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cheval-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.55) 0%, #111111 100%);
}

.cheval-info-section {
    position: relative;
    z-index: 3;
    margin-top: -43vw;
    padding: 0 16.56vw;
}

.cheval-info-card {
    display: flex;
    background-color: #111111;
    border-radius: 1.04vw;
    box-shadow: 0px 0.52vw 1.56vw #000;
    overflow: hidden;
    min-height: 34.17vw;
}

.cheval-info-content {
    flex: 1;
    padding: 5.78vw 0.76vw 2.76vw 2.76vw;
    max-width: 27.6vw;
}

.cheval-title {
    font-family: 'CormorantGaramond', serif;
    font-size: 2.6vw;
    font-weight: 700;
    letter-spacing: 0.13vw;
    text-transform: uppercase;
    color: #A37F66;
    margin: 0 0 1.04vw;
}

.cheval-meta-row {
    display: flex;
    gap: 0.52vw;
    margin-bottom: 1.56vw;
}

.meta-label {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.3vw;
    font-weight: 300;
    color: #A37F66;
}

.meta-value {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.3vw;
    font-weight: 300;
    color: #F1E9E0;
}

.cheval-lineage-info {
    display: flex;
    flex-direction: column;
    gap: 0.78vw;
    margin-bottom: 2.08vw;
}

.lineage-row {
    display: flex;
    gap: 0.52vw;
}

.lineage-label {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.3vw;
    font-weight: 300;
    color: #A37F66;
}

.lineage-value {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.3vw;
    font-weight: 300;
    color: #F1E9E0;
}

.cheval-description {
    font-family: 'CormorantGaramond', serif;
    font-size: 1.05vw;
    font-weight: 300;
    line-height: 1.5;
    color: #F1E9E0;
    max-width: 26.2vw;
}

.cheval-description p {
    margin: 0 0 1vw;
}

.cheval-description p:last-child {
    margin-bottom: 0;
}

.cheval-info-image {
    position: relative;
    flex: 1;
    display: flex;
    /*align-items: flex-end; */
    align-items: center;
    justify-content: center;
    min-height: 34.17vw;
}

.cheval-image-bg-gradient {
    position: absolute;
    bottom: 2.6vw;
    right: 2.6vw;
    width: 33.54vw;
    height: 23.59vw;
    border-radius: 1.04vw;
    background: linear-gradient(180deg, #3f3127 0%, #111111 100%);
    display: none;
}

.cheval-main-image {
    position: relative;
    z-index: 2;
    max-width: 36.45vw;
    max-height: 33.07vw;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1.5vw;
}

.single-cheval-page .gallery-section {
    padding: 0 0 8vw;
    margin-top: -4vw;
}
.single-cheval-page .gallery-section h2{
    display: none !important;
}

@media only screen and (max-width: 767px) {
    .cheval-hero-section {
        height: 100vw;
    }

    .cheval-info-section {
        margin-top: -60vw;
        padding: 0 5%;
    }

    .cheval-info-card {
        flex-direction: column-reverse;
        border-radius: 4vw;
        min-height: auto;
    }

    .cheval-info-content {
        padding: 0vw 6vw 0vw;
        max-width: 100%;
    }

    .cheval-title {
        font-size: 7vw;
        letter-spacing: 0.3vw;
        margin-bottom: 3vw;
    }

    .cheval-meta-row {
        flex-direction: column;
        gap: 1vw;
        margin-bottom: 5vw;
    }

    .meta-label,
    .meta-value {
        font-size: 4vw;
    }

    .cheval-lineage-info {
        gap: 3vw;
        margin-bottom: 5vw;
    }

    .lineage-row {
        flex-direction: column;
        gap: 0.5vw;
    }

    .lineage-label,
    .lineage-value {
        font-size: 4vw;
    }

    .cheval-description {
        font-size: 3.5vw;
        line-height: 1.6;
        max-width: 100%;
    }

    .cheval-info-image {
        min-height: 60vw;
        padding: 5vw;
    }

    .cheval-image-bg-gradient {
        bottom: 5vw;
        right: 5vw;
        left: 5vw;
        width: auto;
        height: 50vw;
        border-radius: 4vw;
    }

    .cheval-main-image {
        max-width: 80vw;
        max-height: 55vw;
        border-radius: 3vw;
    }

    .single-cheval-page .gallery-section {
        padding: 0vw 0 18vw;
    }
}
