a {
    text-decoration: none;
}
.our-masters__photo img {
    border-radius: 100%;
    object-fit: cover;
} 

.breadcrumbs span {
    color: #c4c4c4;
}

.our-masters__name {
    color: inherit;
    display: block;
}

.form-wrap {
    background: url(../img/promo-content-bg.png) no-repeat right center / cover;
    background-color: #ffe3e5;
}

.form {
    margin-top: 16px;
}

.form__item {
    margin-bottom: 16px;
    display: block;
    
}

.form__item input {
    max-width: 100%;
    height: 55px;
    width: 320px;
    border-radius: 30px;
    padding: 15px 15px;
    border: none;
    background: transparent;
    color: #222;
    border: 2px solid #ca59b0;
    outline: none;
}

.fancybox__backdrop {
    background: rgba(255, 255, 255, 0.3); /* Белый цвет с 30% прозрачности */
    backdrop-filter: blur(10px); /* Размытие */
    -webkit-backdrop-filter: blur(10px); /* Поддержка Safari */
}

.fancybox__content {
    box-shadow: 0 0 10px rgba(0, 0 , 0, 0.3);
}

#form-response {
    margin-top: 10px;
}

.work__slide__content img {
    object-fit: cover;
    aspect-ratio: 1 / 1; 
}

.about__slide img {
    object-fit: cover;
    aspect-ratio: 1 / 1; 
    height: auto;
}

.work__slider.about__slider_sq .slick-arrow {
    top: 0;
    bottom: 0;
    margin: auto;
}

.work__slider.about__slider_sq .slick-arrow {
    -webkit-transform: none;
    transform: none;
}

.news {
    padding: 68px 0 110px;
}

.bread-wrap .news {
    padding-top: 0;
}

.news .title {
    text-align: center;
}

.news__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.news__item {
    position: relative;
    border-radius: 8px;
    border: 1px solid transparent;
    border-color: #ca59b0;
    border-image-slice: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 24px;
}

.news__item:nth-child(1) .news__label::before {
    background-image: url(../img/sale-icon.svg);
}

.news__item:nth-child(2) .news__label::before,
.news__item:nth-child(3) .news__label::before {
    background-image: url(../img/star-icon.svg);
}

.news__img {
    display: block;
    border-radius: 8px;
    width: 100%;
    object-fit: cover;
    height: 250px;
}

.news__label {
    position: absolute;
    top: 24px;
    left: 24px;
    border-radius: 8px;
    padding: 8px 12px 8px 8px;
    background: #f9f3eb;
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    color: #946c20;
    display: flex;
    gap: 6px;
    align-items: center;
}

.news__label::before {
    content: '';
    display: block;
    width: 14px;
    height: 14px;
    background: url(../img/rooms-place.svg) no-repeat center/contain;
}

.news__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    padding: 0 24px;
    margin-top: 6px;
}

.news__subtitle {
    font-weight: 500;
    font-size: 14px;
    line-height: 114%;
    color: #ca59b0;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 24px;
}

.news__subtitle::before {
    content: '';
    width: 14px;
    height: 14px;
    display: block;
    background: url(../img/user.svg) no-repeat center/contain;
}

.news__text {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: rgba(17, 17, 17, 0.8);
    flex-grow: 1;
    padding: 0 24px;
    margin-top: 2px;
}

.news__link {
    font-weight: 500;
    font-size: 18px;
    line-height: 111%;
    color: #ca59b0;
    background: none;
    border: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 24px;
    width: fit-content;
    margin-top: 12px;
    transition: gap .2s ease-in-out;
}

.news__link::after {
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    background: url(../img/arrow.svg) no-repeat center/contain;
}

.news__link:hover {
    gap: 10px;
}

.news .btn {
    margin-top: 48px;
    width: fit-content;
    margin-inline: auto;
}

.news-site {
    padding: 112px 0 24px;
}

.news-site .wins__title {
    font-weight: 700;
    font-size: 32px;
    line-height: 112%;
    margin-top: 50px;
}

.news-site .wins__text {
    margin-top: 16px;
    flex-grow: 1;
}

.news-site .wins__item {
    min-height: 419px;
}

.news-site .wins__item__content {
    display: flex;
    flex-direction: column;
}

.news-site .news__label {
    position: relative;
    top: auto;
    left: auto;
    border-radius: 4px;
    padding: 8px 12px 8px 8px;
    border: 1px solid transparent;
    border-color: #ca59b0;
    border-image-slice: 1;
    width: fit-content;
}

.news-site .news__label::before {
    background-image: url(../img/sale-icon.svg);
}

.news-site .news__link {
    padding: 0;
}

.news__wrapper {
    display: grid; 
    grid-template-columns: repeat(4, 1fr); /* 3 колонки */
    gap: 32px; /* Расстояние между элементами */
}

.our-masters__item {
    text-align: center;
}

.about__action + .btn {
    margin: auto;
    margin-top: 22px;
}

.about-site__photos img {
    object-fit: cover;
}

@media (max-width: 1600.98px) {
    .our-masters__wrapper {
        gap: 24px 5%;
    }
}

@media (max-width: 1439.98px) {
    .our-masters__wrapper {
        gap: 24px 2%;
    }
}

@media (max-width: 1199.98px) {
    .news__wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 2 элемента в ряд при ширине экрана до 991.98px */
@media (max-width: 991.98px) {
    .news__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 1 элемент в ряд при ширине экрана до 700.98px */
@media (max-width: 500.98px) {
    .news__wrapper {
        grid-template-columns: 1fr;
    }

    .promo__img img {
        object-position: 0 -90px;
    }
}


.news__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.news .content {
    max-width: 100%;
    width: 800px;
    margin: auto;
}

.news .title {
    margin-bottom: 32px;
}

.content p {
    margin-bottom: 12px;
}