/*==================== Hero section ====================*/

.hero__news-inner {
    padding: 0 0 45px;
}

.news-title-h2 {
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
    font-size: 18px;
    line-height: 122%;
    color: #999999;
    margin-top: 45px;
}

.news-search {
    width: 100%;
    max-width: 1200px;
    display: flex;
    gap: 10px;
    border: 2px solid #999999;
    border-radius: 30px;
    padding: 13px 15px;
    margin: 35px auto 0;
}

.news-search form {
    display: flex;
}

.news-search form button {
    background: transparent;
}

.news-search img {
    width: 24px;
    height: 24px;
}

.news__input-search {
    width: 90%;
    border: none;
    outline: none;
    background: transparent;
    caret-color: #999999;
    color: #999999;
}

.news__input-search::placeholder,
.news__input-search:focus {
    color: #999999;
    font-size: 16px;
    line-height: 20px;
}

.news__input-search:focus::-webkit-input-placeholder {
    opacity: 0.5;
}

/* webkit */
.news__input-search:focus::-moz-placeholder {
    opacity: 0.5;
}

/* Firefox 19+ */
.news__input-search:focus:-moz-placeholder {
    opacity: 0.5;
}

/* Firefox 18- */
.news__input-search:focus:-ms-input-placeholder {
    opacity: 0.5;
}

/*=================== News section ====================*/

.news__filter {
    display: flex;
    margin-bottom: 45px;
}

.news__filter__title {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 12px;
    line-height: 30px;
}

/*--------- custom select ---------*/
.filter__dropdown-content {
    width: 161px;
    display: flex;
    gap: 15px;
    cursor: pointer;
    background-color: #212121;
}

.news__filter>.custom-select {
    position: relative;
    border: none;
    border-radius: 0;
    background: none;
    padding: 0 10px 5px 10px;
    line-height: 30px;
    border-bottom: 2px solid #999999;
}

.custom-select select {
    display: none;
}

.select-selected:after {
    position: absolute;
    content: url(../img/news/svg/news-icon-arrow-green.svg);
    top: 3px;
    right: 10px;
    width: 16px;
    height: 16px;
    transition: all 0.3s ease-in-out;
}

.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
    top: 10px;
}

.select-selected {
    color: #fff;
    font-family: 'Gotham Pro';
    font-style: normal;
    font-size: 12px;
    line-height: 30px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    width: 100%;
}

.select-placeholder {
    color: #fff;
    font-family: 'Gotham Pro';
    font-style: normal;
    font-size: 12px;
    line-height: 30px;
    font-weight: 400;
    text-transform: uppercase;
    width: 100%;
}

.select-items div {
    padding: 0 10px;
    color: #999999;
    font-size: 12px;
    line-height: 30px;
    font-weight: 400;
    cursor: pointer;
    text-transform: uppercase;
}

.select-items {
    position: absolute;
    background-color: #212121;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    padding: 0;
    border: 1px solid #999999;
}

.select-hide {
    display: none;
}

.select-items div:hover,
.select-items div:focus,
.same-as-selected {
    color: #fff;
}

/* ----- news card css ----- */

.news-slide__inner {
    width: 330px;
    height: 472px;
    margin: 0 auto 45px;
}

.news__card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.news__card-date {
    display: flex;
    gap: 10px;
    align-items: end;
}

.card-date__icon {
    width: 44px;
    height: 36px;
}

.news__card-info {
    width: 330px;
    height: 144px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card-date,
.news__card-paragraph,
.about-news__paragraph-wrapper p {
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    font-weight: 300;
}

.news__card-title {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
}

.news__card-img {
    width: 330px;
    height: 212px;
    border-radius: 20px;
}

.news__card-btn-more {
    width: 330px;
    padding: 13px 36px;
    background: transparent;
    border: 2px solid #21A038;
    align-self: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
}

.btn--green:hover {
    background-color: #21A038;
    border-color: #11501c;
}

/* --------------- slider css --------------- */

.swiper {
    width: 100%;
    height: 100%;
    --swiper-pagination-left: auto;
    --swiper-pagination-right: auto;
    --swiper-pagination-bottom: none;
    --swiper-pagination-bg-color: transparent;
    --swiper-pagination-bullet-inactive-opacity: 1;
}

.swiper-button-disabled {
    opacity: 1 !important;
}

.news__swiper {
    /*height: 2158px;*/
    padding-bottom: 45px !important;
    --swiper-navigation-top-offset: initial;
    --swiper-navigation-sides-offset: 0;
    overflow: clip !important;
    overflow-y: visible !important;
}

.news__swiper-wrapper>.swiper-slide {
    height: 517px;
}

.news__swiper-navigation-wrapper {
   /* margin: 0 auto;
    width: 290px;*/
    height: 44px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.news-custom-slider-pagination {
    width: 40% !important;
    left: 30% !important;
}

.news-custom-slider-pagination {
    width: 174px !important;
    position: initial !important;
}

.news__swiper-navigation-wrapper>.swiper-button-prev,
.news__swiper-navigation-wrapper>.swiper-button-next {
    width: 44px;
    height: 44px;
    margin-top: 0;
    position: initial;
}

.news__swiper-navigation-wrapper>.swiper-button-prev>img,
.news__swiper-navigation-wrapper>.swiper-button-next>img {
    width: 44px;
    height: 44px;
}

.news__swiper-navigation-wrapper>.swiper-button-prev>img {
    transform: rotate(180deg);
}

.news__swiper-navigation-wrapper>.swiper-button-prev::after,
.news__swiper-navigation-wrapper>.swiper-button-next::after {
    display: none;
}

.news-custom-slider-pagination {
    display: flex;
    justify-content: center;
    color: #fff;
    gap: 10px;
}

.news-custom-slider-pagination.swiper-pagination-fraction {
    width: 174px !important;
    position: initial;
}

.news-custom-slider-pagination>.swiper-pagination-total {
    width: 60px;
    height: 44px;
    border-radius: 30px;
    background-color: transparent;
    border: 2px solid #21A038;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.pagination__block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-direction: column;
}

.news-custom-slider-pagination>.swiper-pagination-current {
    width: 60px;
    height: 44px;
    border-radius: 30px;
    background-color: #21A038;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-custom-slider-pagination>.swiper-pagination-total,
.news-custom-slider-pagination>.swiper-pagination-current {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    box-sizing: border-box;
}

.fraction-slash {
    width: 22px;
    height: 42px;
    background: url(../img/news/svg/slash-for-slider.svg);
}

.news-custom-slider-pagination>.swiper-pagination-bullet {
    box-sizing: border-box;
    width: 60px;
    height: 44px;
    border-radius: 30px;
    background-color: transparent;
    border: 2px solid #21A038;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-custom-slider-pagination>.swiper-pagination-bullet-active {
    width: 60px;
    height: 44px;
    border-radius: 30px;
    background-color: #21A038;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-custom-slider-pagination>.swiper-pagination-bullet,
.news-custom-slider-pagination>.swiper-pagination-bullet-active {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
}


/*============================== Media query ==============================*/
@media screen and (min-width: 590px) {

    .news-title-h2 {
        font-size: 28px;
        font-weight: 800;
        line-height: 64px;
    }
}

@media screen and (min-width: 600px) {

    .news-slide__inner {
        width: 495px;
        height: auto;
        margin: 0 auto 45px;
    }

    .news__card-info {
        width: 495px;
        height: 114px;
    }

    .news__card-img {
        width: 495px;
        height: auto;
    }

    /*.news__swiper {
        height: 2354px;
    }*/

    .news__swiper-wrapper>.swiper-slide {
        height: 566px;
    }
}


@media screen and (min-width: 992px) {
   /* .pagination__block {
        flex-direction: row;
    }*/
    .news__filter {
        margin-bottom: 70px;
    }

    .news__filter__title {
        font-weight: 400;
        font-size: 20px;
    }

    .filter__dropdown-content {
        width: 170px;
        height: 30px;
    }

    .select-selected {
        font-weight: 400;
        font-size: 20px;
        line-height: 30px;
    }

    .select-placeholder {
        font-weight: 400;
        font-size: 20px;
        line-height: 30px;
    }

    .select-items {
        padding-bottom: 5px;
    }

    .select-items div {
        padding: 3px 10px;
        font-weight: 400;
        font-size: 20px;
        line-height: 30px;
    }

    .filter__dropdown__list {
        width: 170px;
        z-index: 5;
    }

    .hero__news-inner {
        padding: 35px 0;
    }

    .news-slide__inner {
        width: 600px;
        height: 644px;
        margin: 0 auto 70px;
    }

    .news__card-content {
        gap: 20px;
    }

    .news__card-info {
        width: 600px;
        height: 90px;
    }

    .news__card-img {
        width: 600px;
        height: 400px;
        object-fit: cover;
    }

    .news__swiper {
        /*height: 2970px;*/
        padding-bottom: 45px !important;
    }

    .news__swiper-wrapper>.swiper-slide {
        height: 714px;
    }

    .news__swiper-navigation-wrapper {
        /*width: 551px;*/
        height: 44px;
        justify-content: center;
        gap: 10px;
    }

    .news-custom-slider-pagination {
        width: auto !important;
        min-width: 234px;
        max-width: 444px;
        position: initial !important;
    }
}

@media screen and (min-width: 1440px) {

    .news__main>.section__wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .hero__news-inner {
        padding: 0 0 70px;
    }

    .news-title-h2 {
        margin-top: 70px;
    }

    .news-search {
        width: 1200px;
        padding: 15px 36px;
        margin: 70px 0 0;
    }

    .news-search img {
        width: 30px;
        height: 30px;
    }

    .news__input-search::placeholder,
    .news__input-search:focus {
        font-size: 20px;
        line-height: 25px;
    }

    /*==================== News section ====================*/

    .news-inner {
        max-width: 1200px;
        padding: 0 0;
    }

    /* ----- news card css ----- */

    .news-slide__inner {
        width: 1200px;
        height: 400px;
    }

    .news__card-content {
        position: relative;
    }

    .news__card-date,
    .news__card-info,
    .news__card-btn-more {
        margin-left: 645px;
    }

    .news__card-btn-more {
        align-self: flex-start;
        width: 320px;
    }

    .news__card-date.about-news__card-date {
        margin-left: 0 !important;
    }

    .card-date__icon {
        width: 50px;
        height: 41px;
    }

    .news__card-img {
        width: 600px;
        height: 400px;
        object-fit: cover;
        border-radius: 20px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .news__card-info {
        width: 550px;
        height: 170px;  
        padding-top: 10px;
    }

    .card-date,
    .news__card-paragraph,
    .news__card-list-item,
    .about-news__paragraph-wrapper p {
        font-size: 20px;
        line-height: 25px;
    }

    .news__card-title {
        font-size: 28px;
        line-height: 35px;
    }

    .news__card-btn-more {
        width: 320px;
        align-self: flex-start;
    }

    /* --------------- slider css --------------- */

    .news__swiper {
        /*height: 2000px;*/
        padding-bottom: 45px !important;
    }

    .news__swiper-wrapper>.swiper-slide {
        width: 1200px;
        height: 470px;
    }


    .news-slide__inner {
        width: 100%;
        height: 400px;
        margin: 0 auto 70px;
    }
}

/*============================== CSS for page About news ==============================*/

.about-news {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.about-news-title-h2 {
    color: #fff;
    margin: 45px 0;
    font-weight: 700;
}

.about-news__gallery-h2 {
    margin-bottom: 35px;
    margin-top: 90px;
}

.about-news__content {
    gap: 35px;
}

.about-news__content,
.about-news__gallery {
    display: flex;
    flex-direction: column;
}

.about-news__paragraph-wrapper {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.description-items-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 45px;
}

.about-news__description-img {
    width: 100%;
    height: auto;
    min-width: 330px;
    max-width: 836px;
    min-height: 212px;
    border-radius: 20px;
    object-fit: cover;
    margin: 0 auto;
}

.news__card-list {
    list-style: disc;
    list-style-position: outside;
    margin-left: 20px;
}

.description__item>h3 {
    font-size: 20px;
    line-height: 175%;
    font-weight: 700;
}

.news__card-list-item {
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
}

.news-buttons__wrapper {
    width: 322px;
    height: 44px;
    display: flex;
    justify-content: space-between;
    align-self: center;
    margin-top: 45px;
}

.btn.about-news__prev-news,
.btn.about-news__next-news {
    width: 158px;
    min-width: 158px;
    height: 44px;
    padding: 10px 16px;
    border-radius: 30px;
    border: 2px solid #21A038;
    display: flex;
    align-items: center;
    gap: 7px;
    background-color: transparent;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
}

.btn--green.about-news__prev-news:focus,
.btn--green.about-news__next-news:focus {
    background-color: #21A038;
}

.about-news__prev-news>img,
.about-news__next-news>img {
    width: 20px;
    height: 20px;
}

.all-news__btn {
    margin: 10px auto 20px;
    width: 166px;
    height: 44px;
    padding: 15px 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.1s ease;
    align-self: center;
}

.all-news__btn:hover {
    color: #21A038;
    outline: none;
}

.all-news__btn {
    font-family: 'Gotham Pro';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 167%;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
}

/* ----- gallery slider ----- */

.about-news__gallery {
    width: 100%;
    min-width: 330px;
    margin: 0 auto;
}

.gallery__swiper {
    margin-bottom: 20px;
    --swiper-navigation-top-offset: 50%;
}

.gallery__swiper-wrapper {
    justify-content: flex-start;
}

.about-news__slide>.about-news__slide-img {
    width: 100%;
    min-width: 330px;
    height: auto;
    border-radius: 20px;
    margin: 0 auto;
}

.about-news__slide-img>img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    border-radius: 20px;
}

.about-news__slide-thumbs-img {
    width: 140px;
    height: 140px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-news__slide-thumbs-img>img {
    width: 128px;
    height: 128px;
    object-fit: cover;
}

.about-news__slide-thumbs {
    width: 140px !important;
}

.swiper-slide-thumb-active>.about-news__slide-thumbs-img {
    border: 3px solid #21A038;
}

/* ----- btn for gallery slider ----- */

.gallery__swiper-btn-prev__inSlide>img,
.gallery__swiper-btn-next__inSlide>img {
    width: 44px;
    height: 44px;
    color: rgba(0, 0, 0, 0.3);
}

.gallery__swiper-btn-prev__inSlide::after {
    display: none;
}

.gallery__swiper-btn-next__inSlide::after {
    display: none;
}

.about-news__gallery .swiper-button-next,
.about-news__gallery .swiper-button-prev  {
    top: 50%;
}

@media screen and (min-width: 400px) {
    .news-buttons__wrapper {
        width: 331px;
        height: 44px;
    }
}

@media screen and (min-width: 992px) {

    .news-buttons__wrapper {
        width: 419px;
        height: 44px;
    }

    .btn.about-news__prev-news,
    .btn.about-news__next-news {
        min-width: 198px;
        height: 44px;
        padding: 10px 16px;
        gap: 10px;
    }

    .about-news__slider-btn {
        min-width: 198px;
        height: 44px;
        padding: 10px 16px;
        gap: 10px;
    }
}

@media screen and (min-width: 1440px) {
    .about-news-title-h2 {
        margin-top: 70px;
    }

    .about-news__content {
        gap: 45px;
        margin-bottom: 45px;
    }

    .about-news__paragraph-wrapper {
        gap: 38px;
    }

    .about-news__description {
        display: flex;
        gap: 20px;
    }

    .about-news__description-img {
        width: 836px;
        height: 613px;
        object-fit: cover;
        border-radius: 20px;
    }

    .description-items-wrapper {
        gap: 20px;
        margin-top: 0px;
        margin-left: 30px;
    }

    .description__item>h3 {
        font-size: 24px;
        line-height: 35px;
    }

    .news__card-list-item {
        font-size: 20px;
        line-height: 25px;
    }

    .about-news__gallery {
        width: 1030px;
        margin: 0 auto;
    }

    .about-news__slide>.about-news__slide-img {
        width: 1029.11px;
        height: 775px;
        border-radius: 20px;
        margin: 0 auto;
    }

    .about-news__slide-img>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .gallery__swiper-thumbs-wrapper {
        justify-content: center;
    }

    .about-news__slide-thumbs {
        width: 162px !important;
    }

    .about-news__slide-thumbs-img {
        width: 162px;
        height: 162px;
    }

    .about-news__slide-thumbs-img>img {
        width: 150px;
        height: 150px;
    }

    .all-news__btn {
        width: 419px;
        margin: 20px auto 40px;
    }
}

@media screen and (max-width: 400px) {
    .news-slide__inner, .news__card-info, .news__card-img {
        width: 100%;
    }

    .news__card-info, .news__card-img {
        height: auto;
    }
}

@media screen and (max-width: 360px) {
    .btn.about-news__prev-news,
    .btn.about-news__next-news {
        width: 125px;
        min-width: 125px;
        height: 40px;
        padding: 10px 8px;
        font-size: 9px;
    }

    .about-news__prev-news>img, .about-news__next-news>img {
        width: 17px;
        height: 17px;
    }

    .news-buttons__wrapper {
        width: 100%;
    }
}

