.header-slider {
    width: 623px;
}

.horse-container {
    display: flex;
    width: 1170px;
    margin: 0 auto;
    gap: 24px;
    align-items: flex-start;
}

.horse-name {
    font-family: EB Garamond;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 44px;
    line-height: 120%;
    letter-spacing: 0%;
}

.horse-desc {
    font-family: Montserrat;
    font-weight: 500;
    font-style: Medium;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;
}

.info-container {
    background-color: #FAF8F5;
    padding: 32px;
    width: 623px;
    border-radius: 8px;
    box-shadow: 0 15px 40px 0 rgba(0, 0, 0, 0.08);
}

.info-item {
    display: flex;
}

.main-swiper {
    width: 100%;
    height: 440px;
    margin-bottom: 20px;
}



.main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.main-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-list {
    margin: 0;
}

.info-row {
    display: grid;
    grid-template-columns: 180px 180px;
    align-items: center;
    padding: 16px 0;
    gap: 56px;
    border-bottom: 1px solid #B9A98F;
}

.info-row dt {
    font-family: Work Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 13px;
    line-height: 15.2px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.info-row dd {
    margin: 0;
    font-family: Work Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;

}

.contact-row {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.contact-card {
    background: #D5D0C2;
    padding: 20px;
    border-radius: 12px;
    width: 100%;
}

.contact-label {
    color: #917859;
    display: block;
    font-family: Work Sans;
    font-weight: 500;
    font-style: Medium;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0%;
}

.contact-data {
    color: #141414;
    font-family: EB Garamond;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0%;

}

.contact-link {
    color: #141414;
}

.contact-link:visited,
.contact-link:link {
    color: #141414;

}


.thumbs-swiper .swiper-slide {
    opacity: 0.4;
    cursor: pointer;
}

.thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
}

.thumbs-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.thumbs-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.thumbs-row {
    display: flex;
    align-items: center;
    gap: 22px;
    justify-content: center;
    width: 450px;
    margin: 0 auto;
}

.thumbs-swiper {
    width: 100%;
    height: 100px;
}

.thumbs-row .swiper-button-prev,
.thumbs-row .swiper-button-next {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0;
    opacity: 0;
}

.button-wrapper {
    width: 44px;
    height: 44px;

    border: 1px solid #917859;
    border-radius: 8px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    transition: background-color 0.2s ease;
    position: relative;
    padding: 20px;

}

.button-wrapper:hover {
    background-color: #917859;
}

.thumbs-row .swiper-button-prev::after,
.thumbs-row .swiper-button-next::after {
    display: none;
}

.button-wrapper::before {
    content: "";
    width: 16px;
    height: 16px;
    position: absolute;

    background-color: #4E4E4E;
    transition: background-color 0.2s ease;

    -webkit-mask-image: url('/wp-content/uploads/2026/01/arrow_forward.svg');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

    mask-image: url('/wp-content/uploads/2026/01/arrow_forward.svg');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.button-wrapper:hover::before {
    background-color: #fff;
}

.button-wrapper.button-prev::before {
    transform: rotate(180deg);
}

.no-horses-container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.no-horses-title{
    font-family: EB Garamond;
    font-weight: 600;
    font-size: 44px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
}

.no-horses-sub-title{
    font-family: EB Garamond;
    font-weight: 500;
    font-style: Italic;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0%;
    text-align: center;
}

.no-horses-btn{
    border: 1px solid #917859;
    border-radius: 8px;
    padding: 12px 32px;
    margin-top: 10px;
    color: #141414;
    background-color: transparent;
    font-family: Work Sans;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 1%;
    text-align: center;
    vertical-align: middle;
    transition: 0.2s;
}

.no-horses-btn:hover{
    color: #fff;
    background-color: #917859;
}



@media (max-width: 1264px) {

    .horse-container {
        display: flex;
        width: 100%;
        margin: 0 auto;
        gap: 24px;
        align-items: center;
        flex-direction: column-reverse;
    }
}

@media (max-width: 767px) {

    .header-slider {
        width: 100%;
    }

    .info-container {
        width: 100%;
    }

    .main-swiper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 8px;
    }



    .thumbs-row {
        display: flex;
        align-items: center;
        gap: 12px;
        justify-content: center;
        width: 100%;
        padding: 0 30px;
        margin: 0 auto;
    }

    .horse-container {
        gap: 51px;
    }
}

@media (max-width: 556px) {

    .main-swiper {
        height: auto;
    }

    .info-row {
        display: grid;
        grid-template-columns: 1fr;
        align-items: center;
        gap: 15px;
    }

    .contact-row {
        display: flex;
        flex-direction: column;
    }

    .contact-data {
        word-break: break-all;
    }

    .thumbs-swiper {
        height: auto;
    }

    .thumbs-row {
        padding: 0;
    }

    .button-wrapper {
        width: 20px;
        height: 20px;
        padding: 18px;
    }

}