.news-detail__content .detail-img img {
    width: 100%;
    height: auto;
}

.news-detail__content img {
    height: auto;
}


.card__consist-item.not-before:before {
    content: "";
    display: none;
}

.sticky-pagination {
    position: relative !important;
}

.sticky-pagination.is-sticky {
    position: fixed !important;
    top: 2px !important;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.js-tab-content:not(.is-active) .sticky-pagination {
    display: none !important;
}

.pagination {
    min-width: 300px !important;
    width: auto !important;
}

.card__tile-head {
    display: flex;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 16px;
}

.card__tile {
    padding: 24px 24px 24px;
}

.card__tile-head .card__tile-subtitle {
    margin-bottom: 0;
}

.h-catalog__goods .r-card__img img {
    max-width: 100%;
    max-height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.h-catalog__goods {
    min-height: 330px;
    position: relative;
}

.h-catalog__items {
    min-height: 250px;
}

@media (max-width: 991px) {
    .card__tile-head {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 23px;
        margin-bottom: 30px;
        align-items: flex-start;
    }
    .card__tile-head .btn {
        width: 100%;
        margin-top: 0;
        position: relative;
    }
    .card__tile-head .btn::after {
        position: absolute;
        top: 4px;
        bottom: 4px;
        right: 4px;
    }
}

.search-input-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
}

.search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-clear:hover {
    color: #333;
}

.r-input__field {
    padding-right: 35px !important;
}


.success-modal__icon {
    text-align: center;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    background: #254640;
    border-radius: 50%;
    width: 65px;
    height: 65px;
    margin: 0 auto 2rem;
}

.success-modal__icon svg {
    width: 50%;
}

.fancybox__slide .modal.success-modal {
    text-align: center;
    padding: 60px 40px;
    background-image: none !important;
}

.fancybox__slide .modal.success-modal .modal__inner {
    align-items: center;
}


@media (max-width: 767px) {
    .fancybox__slide .modal.success-modal {
        padding: 40px 20px;
    }
}
.region.active .region_map_svg path {
    fill: #e1e2ea;
}

.map-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
    position: relative;
    max-height: 1240px;
    margin-top: -200px;
}

.map-container svg {
    display: block;
    width: 100%;
    height: 100%;
}

.map-container .region {
    fill: rgb(241, 242, 246);
    stroke: white;
    transition: fill 0.3s;
    cursor: pointer;
}

.map-container .region:hover {
    fill: #e1e2ea;
}

.map-container .region.highlighted {
    fill: rgb(3, 55, 111);
    stroke: rgb(3, 55, 111);
}

.map-container .loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
}

.map-container .controls {
    position: absolute;
    top: 50%;
    right: 40px;
    z-index: 1;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
    transform: translateY(-50%);
}

.map-container .controls button {
    border: 1px solid #1a1f23;
    border-radius: 100px;
    position: relative;
    background: var(--white);
    color: #2f2f2f;
    cursor: pointer;
    display: block;
    width: 40px;
    height: 40px;
}

.map-container .controls button:hover {
    background: #e7e7e7;
}

.map-container .label-group {
    pointer-events: none;
    user-select: none;
    transform-box: fill-box;
    transform-origin: center;
}

.map-container .region-point {
    fill: rgb(3, 55, 111);
    r: 6;
}

.map-container .region-name-text {
    font-weight: 500;
    fill: #333;
    font-size: 12px;
    text-anchor: start;
    pointer-events: none;
    line-height: 1.1;
    dominant-baseline: middle;
}

#fMapModal {
    display: none;
    position: absolute;
    background: white;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 400px;
    z-index: 10001;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    max-width: 296px;
    padding: 8px 8px 20px;
}

.map-container .crop-icon-group {
    cursor: pointer;
    pointer-events: all;
}

#modalSwiperWrapper {
    padding-bottom: 25px;
}


@media (max-width: 991px) {
    .map-container .controls {
        right: 16px;
    }
    .map-container svg {
        display: block;
        width: 100%;
        height: 70%;
    }
    .map-container {
        margin-top: -50%;
    }
}

#fMapModal .fancybox__content {
    padding: 0;
}

.hero__content {
    width: 100%;
}

.fancybox__container {
    --modal-max-width: 1620px;
    --modal-max-height: 911px;
    --modal-padding: 20px;
}

.responsive-video-modal .fancybox__content {
    width: 90vw !important;
    height: 50.625vw !important;
    max-width: var(--modal-max-width) !important;
    max-height: var(--modal-max-height) !important;
    padding: 0 !important;
    margin: auto !important;
    transition: all 0.3s ease !important;
    border-radius: var(--border-radius-big);
    overflow: hidden;
    background: transparent;

}

.responsive-video-modal .fancybox__content iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: var(--border-radius-big);
    overflow: hidden;
}

@media (max-width: 1800px) {
    .responsive-video-modal .fancybox__content {
        width: 85vw !important;
        height: 47.8125vw !important;
    }
}

@media (max-width: 1400px) {
    .responsive-video-modal .fancybox__content {
        width: 92vw !important;
        height: 51.75vw !important;
    }
}

@media (max-width: 1024px) {
    .responsive-video-modal .fancybox__content {
        width: 95vw !important;
        height: 53.4375vw !important;
        max-height: 80vh !important;
    }
}

@media (max-width: 768px) {
    .responsive-video-modal .fancybox__content {
        width: 98vw !important;
        height: 55.125vw !important;
        max-height: 70vh !important;
        border-radius: var(--border-radius-small);
    }

    .responsive-video-modal .fancybox__content iframe {
        border-radius: var(--border-radius-small);
    }
}

@media (max-width: 480px) {
    .responsive-video-modal .fancybox__content {
        width: 100vw !important;
        height: 56.25vw !important;
        max-height: 60vh !important;
        border-radius: 0 !important;
    }

    .fancybox__container {
        --modal-padding: 0;
    }
}

.responsive-doc-modal .fancybox__content {
    width: 90vw !important;
    height: 85vh !important;
    max-width: var(--modal-max-width) !important;
    padding: 0 !important;
    margin: auto !important;
    transition: all 0.3s ease !important;
    border-radius: var(--border-radius-big);
    overflow: hidden;
    background: transparent;

}

.responsive-doc-modal .fancybox__content iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: var(--border-radius-big);
    overflow: hidden;
}

@media (max-width: 1800px) {
    .responsive-doc-modal .fancybox__content {
        width: 85vw !important;
    }
}

@media (max-width: 1400px) {
    .responsive-doc-modal .fancybox__content {
        width: 92vw !important;
    }
}

@media (max-width: 1024px) {
    .responsive-doc-modal .fancybox__content {
        width: 95vw !important;
    }
}

@media (max-width: 768px) {
    .responsive-doc-modal .fancybox__content {
        width: 98vw !important;
        border-radius: var(--border-radius-small);
    }

    .responsive-doc-modal .fancybox__content iframe {
        border-radius: var(--border-radius-small);
    }
}

@media (max-width: 480px) {

    .fancybox__container {
        --modal-padding: 0;
    }
}

/*.field-exp__content p:has(img) img {*/
/*    max-width: calc(50% - 12px);*/
/*    height: auto;*/
/*}*/

/*@media (max-width: 991px) {*/
/*    .field-exp__content p:has(img) img {*/
/*        max-width: 100%;*/
/*        height: auto;*/
/*    }*/
/*}*/

.field-exp__content p:has(img) img {
    height: auto;
}

.grid-two {
    max-width: calc(50% - 12px) !important;
    height: auto !important;
    float: left;
    margin-right: 24px;
    margin-bottom: 24px;
}

.grid-two:nth-of-type(2n) {
    margin-right: 0;
    float: right;
}

.grid-three {
    max-width: calc(33.333% - 12px) !important;
    height: auto !important;
    float: left;
    margin-right: 18px;
    margin-bottom: 18px;
}

.grid-three:nth-of-type(3n) {
    margin-right: 0;
}

.full-width {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    float: none;
    clear: both;
}

@media (max-width: 768px) {
    .grid-two,
    .grid-three {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        float: none !important;
        margin-bottom: 16px !important;
    }
}

.field-exp__content p img.grid-two {
    max-width: calc(50% - 12px) !important;
    height: auto !important;
}

.field-exp__content::after {
    content: '';
    display: table;
    clear: both;
}

.map-modal-slide {
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    max-width: 296px;
    background-image: none;
}

.default__img {
    border-radius: 20px;
    overflow: hidden;
}

.default__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.schemes__nav ul {
    max-height: 70vh;
    overflow-y: auto;
}

.default__content {
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.default__content h4 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -0.01em;
}


.home-catalog__slider {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 16px;
    position: relative;
    padding-bottom: 40px;
}

.agroknow__section-slider .swiper-slide.is-short-banner.short-banner-col-3 {
    width: 842px;
}

.agroknow__section-slider .swiper-slide.is-short-banner.short-banner-min .agroknow__card {
    height: 200px;
}

.swiper-slide.is-short-banner.short-banner-min.short-banner-col-3, .swiper-slide.is-short-banner.short-banner-min.short-banner-col-2 {
    width: 350px;
}

.schemes__imgs {
    min-height: 100%;
}

.home-catalog__ctg {
    cursor: pointer;
}

.pres__list {
    display: -ms-grid;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 40px;
}

.home-tile:nth-child(3) {
    -ms-grid-row-span: 4;
    grid-row: span 4;
    padding: 0;
}
.home-tile:nth-child(3) .home-tile__slider a {
    padding: 16px 16px 9px;
    display: flex;
    height: 100%;
}

.home-tile:nth-child(3):hover .home-tile__img img {
    transform: scale(1);
}

.home-tile:nth-child(3) .home-tile__slider:hover .home-tile__img img {
    transform: scale(1.05);
}

.home-tile__img, .home-tile__media {
    overflow: hidden;
}
.js-tile-slider2 .swiper-pagination {
    top: 16px !important;
    bottom: auto;
}

.js-tile-slider2 .swiper-arrow--prev {
    left: 16px;
}

.js-tile-slider2 .swiper-arrow--next {
    right: 16px;
}

.js-tile-slider2 .swiper-arrow {
    background-color: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.product-formula__img {
    top: auto;
    height: 100%;
}

.product-fertigation__tiles {
    flex-wrap: wrap;
}

.product-optimization__img img {
    display: block;
}







