:root {
    --color-red: #D61827;
    --color-blue: #202084;
    --color-light-grey: #F8F9FA;
    --color-grey: #5D646B;
    --color-black: #1A1A1C;
}

* {margin: 0;padding: 0;}
*, *::before, *::after {box-sizing: border-box;}
html {height: 100%;font-size: 16px;}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {display: block;}
.container {padding: 0 15px; max-width: 1340px;margin: 0 auto;width: 100%;}
body {height: 100%;font-weight: 400;font-family: 'Inter', sans-serif;color: var(--color-black);}
.wrapper {background: var(--color-light-grey);}


/* Buttons */
.btn {
    background: var(--color-red);
    color: #fff;
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    border-radius: .25rem;
    text-decoration: none;
    transition: all .3s;
    display: inline-block;
    border: 0;
    font-weight: 600;
}

.btn:hover {
    background: var(--color-blue);
}

.btn-sm {
    padding: .5rem 1.5rem ;
}



/* h1 */
h1 {
    font-size: 32px;
    font-weight: 500;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
}

.breadcrumbs {
    padding: 1.5rem 0;
}

.breadcrumbs__list {
    list-style-type: none;
    display: flex;
    font-size: .75rem;
    color: var(--color-grey);
}

.breadcrumbs__item-link {
    color: var(--color-grey);
    text-decoration: none;
}

.breadcrumbs__item:not(:last-child)::after {
    display: inline-block;
    margin: 0 1rem;
    content: "/";
}


/* Header
--------------------------------------------------------------------*/
.header {
    padding: 0 0;
}

.header__top {
    padding: 1rem 0;
}

.header-top__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo__img {
    max-width: 400px;
    width: 100%;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.header__phone {
    background: url(images/icon/icon_phone.svg) left center no-repeat;
    padding: .25rem 0 .25rem 2rem;
    font-size: 1.125rem;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    display: block;
}

@media(max-width: 991px) {
    .header__feedback-btn {
        display: none;
    }
}

@media(max-width: 680px) {
    .header__top .header__phone {
        display: none;
    }

    .header-top__inner {
        justify-content: center;
    }

    .header__contacts {
        gap: 1rem;
    }
}

.header__bottom {
    background: #202084;
    padding: 1rem 0;
}

.header-bottom__inner {
    display: flex;
    position: relative;
    align-items: center;
}

@media(max-width: 860px) {
    .header__bottom_pc {
        display: none;
    }
}

@media(min-width: 861px) {
    .header__bottom_mobile {
        display: none;
    }
}


/* Menu
---------------------------------*/
.main-menu__ul {
    display: flex;
    list-style-type: none;
    font-size: 1.125rem;
    gap: 3rem;
}

.main-menu__ul a {
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

@media(max-width: 1023px) {
    .main-menu__ul {
        font-size: 1rem;
        gap: 2rem;
    }
}


/* Catalog
---------------------------------*/
.header__burger {
    background: transparent;
    border: 0;
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    font-size: 1.125rem;
    margin-right: 3rem;
    padding-left: 2rem;
    background: url(images/icon/icon_burger.svg) left center no-repeat;
    cursor: pointer;
}

.dropdown__close {
    background: transparent;
    border: 0;
    margin-bottom: 1rem;
    cursor: pointer;
}

@media(max-width: 1023px) {
    .header__burger {
        font-size: 1rem;
        margin-right: 2rem;
    }
}

@media(max-width: 575px) {
    .header__burger {
        margin-right: 1rem;
    }
}

.header__catalog {
    padding: .75rem 0;
    display: none;
    position: absolute;
    z-index: 1000;
    top: calc(100% + 1rem);
    list-style-type: none;
    background: #fff;
}

.header__catalog.expanded {
    display: block;
}

.header-catalog__a {
    color: var(--color-black);
    font-weight: 500;
    font-size: 1.125rem;
    text-decoration: none;
    display: block;
    padding: .75rem 1.5rem;
    min-width: 200px;
    transition: all .3s;
}

.header-catalog__a:hover {
    color: var(--color-red);
}


/* Header bottom mobile
----------------------------------------*/
.header__feedback-btn_mobile {
    background: var(--color-red);
    font-size: .9375rem;
    color: #fff;
    padding: .5rem 1rem;
}

.header__bottom_mobile .header__phone {
    background: none;
    padding-left: 0;
    font-size: .9375rem;
    color: #fff;
}

.header__bottom_mobile .header-bottom__inner {
    justify-content: space-between;
}



/* Header mobile menu
----------------------------------------*/

.header__menu-mobile-wrapper {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: var(--color-light-grey);
    z-index: 999;
    padding: 1.5rem 0;
    overflow: scroll;
}


/* Menu */
.header__menu-mobile-wrapper.expanded {
    display: block;
}

.mobile-menu {
    margin-bottom: 2rem;
}

.mobile-menu__ul {
    display: flex;
    list-style-type: none;
    flex-wrap: wrap;
    gap: 1rem 2rem;
}

.mobile-menu__ul a {
    text-decoration: none;
    color: var(--color-black);
    font-size: .9375rem;
}


/* Categories */
.header-mobile__categories {
    margin-bottom: 2rem;
}


.header-mobile__category {
    background: url(images/icon/icon_arrow_right_black.svg) right 1rem center no-repeat #fff;
    border-radius: 5px;
    padding: 1rem .5rem;
    position: relative;
}

.header-mobile__category:not(:last-child) {
    margin-bottom: .25rem;
}

.header-mobile__category-inner {
    display: flex;
    align-items: center;
}

.header-mobile__category-img-wrapper {
    height: 50px;
    width: 100%;
    max-width: 60px;
    position: relative;
    margin-right: 2rem;
}

.header-mobile__category-img {
    position: absolute;
    left: 0;
    top: 0;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.header-mobile__category-name {
    margin-bottom: .25rem;
}

.header-mobile__category-name-link {
    font-weight: 500;
    text-decoration: none;
    font-size: 1.125rem;
    color: var(--color-black);
}

.header-mobile__category-counter {
    font-size: .625rem;
    color: var(--color-grey);
}

.header-mobile__category-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}


/* Contacts */
.header-mobile__contacts-wrapper {
    display: flex;
    justify-content: space-between;
}

.header-mobile__phone {
    color: var(--color-black);
    font-weight: 600;
    padding-left: 2rem;
    text-decoration: none;
    margin-bottom: 1rem;
    display: block;
    background: url(images/icon/icon_phone.svg) left center no-repeat;
}

.header-mobile__feedback-link {
    color: var(--color-red);
    font-weight: 500;
}

.header-mobile__feedback-link:hover {
    text-decoration: none;
}





/* Content
--------------------------------------------------------------------*/
.content {}


/* Brands slider
----------------------------------------*/
.brands__slider {
    padding: 1rem 0;
    border-bottom: 1px solid #d9d9d9;
}

.brands__slider-list {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.brands__item-img {
    max-height: 30px;
}



/* Product advantages
----------------------------------------*/
.product-advantages {
    padding: 1rem 0;
}

.product-advantages__inner {
    position: relative;
}

.product-advantages__list {
    display: flex;
    gap: 1rem;
}

.product-advantage {
    border-radius: 5px;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.product-advantage__img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    left: 0;
    top: 0;
    z-index: 1;
}

.product-advantage__name {
    background: var(--color-blue);
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 1.375rem;
    font-weight: 500;
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

@media(max-width: 1199px) {
    .product-advantage__name {
        font-size: 1.125rem;
        padding: 1.125rem;
    }
}

/* Controls */
.product-advantages__controls {
    position: absolute;
    bottom: 45%;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
}

.product-advantages__controls .nav-controls__btn {
    width: 47px;
    height: 47px;
    background: rgba(255, 255, 255, .3);
    border-radius: 50%;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    position: relative;
}

.product-advantages__controls .nav-controls__btn.next-btn img {
    transform: rotate(180deg);
}



/* Categories slider
----------------------------------------*/
.categories__slider {
    padding: 2rem 0;
}

.categories__slider-list {
    display: flex;
    gap: .5rem;
}

.categories__item {
    background: #fff;
    border-radius: 5px;
}

.categories__item-inner {
    padding: 2rem;
}

.categories__item-img-wrapper{
    display: block;
    width: 100%;
    height: 180px;
    position: relative;
    margin-bottom: 2rem;
}

.categories__item-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

.categories__item-name {
    text-align: center;
    margin-bottom: .5rem;
}

.categories__item-name-link {
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
}

.categories__item-counter {
    font-size: .75rem;
    color: var(--color-grey);
    text-align: center;
}


/* Home page
--------------------------------------------------------------------*/

/* Slider
----------------------------------------*/
.home__slider {
    position: relative;
}

.home-slider__list {
    display: flex;
    align-items: stretch;
    padding-bottom: 60px;
}

.home-slider__item {
    position: relative;
    display: flex;
    align-items: center;
}

.home-slider__item-inner {
    min-height: 500px;
    display: flex;
    align-items: stretch;
    z-index: 10;
    position: relative;
    width: 100%;
    padding-left: 3rem;
    padding-right: 3rem;
}

.home-slider__item-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: stretch;
}

.home-slider__item-text {
    max-width: 600px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: #fff;
}

.home-slider__item-img-wrapper {
    position: relative;
    display: flex;
    align-items: end;
    margin-bottom: -60px;
    justify-content: center;
}

.home-slider__item-img {
    max-width: 250px;
    width: 100%;
}

.home-slider__item-bg {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.home-slider__item-bg:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: rgba(28, 28, 28, .4);
}

.home-slider__item-bg-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.home-slider__item-title {
    font-size: 3rem;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: block;
}

.home-slider__item-excerpt {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 3rem;
}

@media(max-width: 991px) {
    .home-slider__item-title {
        font-size: 2.5rem;
    }

    .home-slider__item-grid {
        grid-template-columns: 2fr 2fr;
    }
}

@media(max-width: 800px) {
    .home-slider__item-title {
        font-size: 2rem;
    }
}


@media(max-width: 767px) {
    .home-slider__btn {
        padding: .5rem 1.5rem;
    }

    .home-slider__item-grid {
        grid-template-columns: 1fr;
        padding-top: 3rem;
    }

    .home-slider__item-img-wrapper {
        margin-bottom: 0;
    }

    .home-slider__item-img {
        margin-left: auto;
        max-width: 280px;
    }

    .home__brands {
        margin-top: 0;
    }
}

@media(max-width: 575px) {
    .home-slider__item-inner {
        padding-left: 0;
        padding-right: 0;
    }
}

/* Controls */
.home__slider__controls {
    position: absolute;
    bottom: 45%;
    left: .5rem;
    right: .5rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
}

.home__slider .nav-controls__btn {
    width: 47px;
    height: 47px;
    background: rgba(255, 255, 255, .3);
    border-radius: 50%;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    position: relative;
}

.home__slider .nav-controls__btn.next-btn img {
    transform: rotate(180deg);
}

@media(max-width: 575px) {
    .home__slider__controls {
        display: none;
    }
}

/* Nav */
.home__slider .tns-nav {
    position: absolute;
    z-index: 10;
    display: flex;
    gap: .5rem;
    justify-content: start;
    max-width: 1340px;
    margin: 0 auto;
    bottom: calc(60px + 2rem);
    left: 0;
    right: 0;
    padding: 0 1rem;
}

.home__slider .tns-nav button {
    height: 10px;
    width: 10px;
    background: #fff;
    border: none;
    opacity: .3;
    border-radius: 50%;
}

.home__slider .tns-nav .tns-nav-active{
    opacity: 1;
}


/* Home brands
----------------------------------------*/
.home__brands {
    margin-top: -3rem;
    max-width: 600px;
}

.home__brands-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}


/* New products
----------------------------------------*/
.new-products {
    padding: 3rem 0;
}

.new-products__header {
    font-size: 2rem;
    margin-bottom: 2rem;
}

.new-products__slider {
    display: flex;
    gap: .5rem;
}

.products-cats__slider-wrapper {
    background: #F0F3F6;
    margin-bottom: 1.5rem;
    border-radius: 5px;
    padding: .15rem;
}

.products-cats__item {
    font-size: 1.125rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 500;
    border: 2px solid transparent;
    text-align: center;
    border-radius: 5px;
}

.products-cats__item.active {
    border-color: var(--color-black);
}

.products-cats__slider-tab {
    display: none;
}

.products-cats__slider-tab.active {
    display: block;
}


/* About
----------------------------------------*/
.home__about {
    background: #fff;
    padding: 2rem 0;
}

.home-about__wrapper {
    align-items: center;
    display: flex;
    gap: 15px 79px;
}

.home-about__header {
    margin-bottom: 2rem;
}

.home-about__text {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.home-about__right {
    flex-shrink: 0;
    width: 650px;
}

.home-about__left {
    height: 451px;
    width: 100%;
    background: url(images/media/about_bg.jpg) no-repeat center;
    background-size: cover;
    padding-left: 20px;
    margin-left: -20px;
}

.home-about__advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.home-about__advantage-name {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-red);
    margin-bottom: 1rem;
}

.home-about__advantage-text {
    font-size: 0.9375rem;
    max-width: 200px;
    color: var(--color-grey);
}

@media(max-width: 1199px) {
    .home-about__advantage-name {
        font-size: 2rem;
    }
}

@media(max-width: 1023px) {
    .home-about__advantage-name {
        font-size: 2rem;
    }

    .home-about__wrapper {
        display: block;
    }

    .home-about__left {
        width: auto;
        height: 222px;
        padding: 0;
        margin-left: -15px;
        margin-right: -15px;
        margin-bottom: 1.5rem;
    }
}

@media(max-width: 991px) {
    .home-about__advantage-name {
        font-size: 1.5rem;
    }

    .home-about__text {
        font-size: 1rem;
    }

    .home-about__right {
        width: 100%;
    }
}



/* About page
--------------------------------------------------------------------*/
.single-page {
    background: #fff;
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.about__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
}

@media(max-width: 767px) {
    .about__content {
        grid-template-columns: 1fr;
    }
}


.about__text {
    font-size: 1.125rem;
    line-height: 1.5;
}

/* Advantages */
.about__advantages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.about__advantage {
    padding: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, .07);
}

.about__advantage-name {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--color-red);
    margin-bottom: 1rem;
}

.about__advantage-text {
    font-size: 0.9375rem;
    max-width: 200px;
    color: var(--color-grey);
}

@media(max-width: 991px) {
    .about__advantage-name {
        font-size: 2rem;
    }
}

@media(max-width: 767px) {
    .about__advantages {
        gap: 1rem;
    }

    .about__advantage {
        padding: 1.5rem;
    }

    .about__advantage-name {
        font-size: 1.5rem;
    }
}

@media(max-width: 575px) {
    .about__advantages {
        grid-template-columns: 1fr;
    }
}


/* Categories
----------------------------------------*/
.about-categories {
    padding: 3rem 0;
}

.about-categories__title {
    margin-bottom: 2rem;
}

.about-categories-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media(max-width: 767px) {
    .about-categories-list {
        grid-template-columns: 1fr;
    }
}

.about-categories__item {
    padding: 2rem 1rem;
    border: 1px solid #E6E6E6;
    border-radius: 5px;
}

.about-categories__item-inner {
    display: flex;
    gap: 2rem;
}

@media(max-width: 575px) {
    .about-categories {
        padding-bottom: 1rem;
    }

    .about-categories__item {
        padding: 1rem;
    }

    .about-categories__item-inner {
        display: block;
    }
}

.about-categories__item-img-wrapper {
    height: 140px;
    width: 100%;
    max-width: 100px;
    position: relative;
    flex-shrink: 0;
}

.about-categories__item-img {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
}

.about-categories__item-name {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.about-categories__item-name-link {
    text-decoration: none;
    color: var(--color-black);
}

.about-categories__item-text {
    font-size: 0.9375rem;
    color: var(--color-grey);
    margin-bottom: 1.5rem;
}



/* Page brands
--------------------------------------------------------------------*/
.page.page__brands {
    padding: 6rem 0;
}

.brands__content {
    display: grid;
    grid-template-columns: 3fr 4fr;
    grid-gap: 3rem;
    align-items: center;
}

.brands__title {
    margin-bottom: 1rem;
}

.brands__text {
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

@media(max-width: 767px) {
    .brands__text {
        margin-bottom: 0;
    }

    .brands__content {
        display: grid;
        grid-template-columns: 1fr;
    }
}


/* Brands
----------------------------------------*/
.brands__list {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.brands__item-img_big {
    max-height: 60px;
}

@media(max-width: 767px) {
    .btn_brands-pc {
        display: none;
    }

    .brands__list {
        margin-bottom: 3rem;
        justify-content: start;
    }
}

@media(min-width: 768px) {
    .btn_brands-mobile {
        display: none;
    }
}



/* Page partnership
--------------------------------------------------------------------*/
.partnership-form {
    padding: 4rem 0 1rem;
}


/* Page contacts
--------------------------------------------------------------------*/

/* Contacts
----------------------------------------*/
.page-contacts__title {
    margin-bottom: 2rem;
}

.page-contacts__list {
    font-size: 1.125rem;
    list-style-type: none;
    margin-bottom: 3rem;
}

.page-contacts__list-item {
    margin-bottom: .75rem;
}

.page-contacts__contact {
    text-decoration: none;
    color: var(--color-black);
    padding: .25rem 0 .25rem 2rem;
    display: block;
    background-repeat: no-repeat;
    background-position: left center;
}

.page-contacts__contact_phone {
    background-image: url(images/icon/icon_phone.svg);
}

.page-contacts__contact_email {
    background-image: url(images/icon/icon_mail.svg);
}

.page-contacts__contact_address {
    background-image: url(images/icon/icon_marker.svg);
}

.page-contacts__contact_hours {
    background-image: url(images/icon/icon_clock.svg);
}

.page-contacts__grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    margin-bottom: 1.5rem;
}

.page-contacts__left {
    padding: 3rem;
    background: #fff;
}

@media(max-width: 1199px) {
    .page-contacts__left {
        padding: 2rem;
    }
}

@media(max-width: 991px) {
    .page-contacts__grid {
        grid-template-columns: 1fr;
    }
}


@media(max-width: 575px) {
    .page-contacts__list {
        font-size: 1rem;
    }
}


/* Socials
----------------------------------------*/
.page-contacts__socials {
    display: flex;
    gap: .5rem;
    list-style-type: none;
}

.page-contacts__social {
    display: flex;
    align-items: center;
    gap: .25rem;
    color: var(--color-black);
    text-decoration: none;
}


/* Feedback form
----------------------------------------*/
.feedback-form__inner {
    background: #fff;
    padding: 3rem 5rem;
}

.feedback-form__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    margin-bottom: 1rem;
}

.form-group_checkbox {
    grid-column-start: 1;
    grid-column-end: 4;
}

.feedback-form__title {
    margin-bottom: 1rem;
}

.feedback-form__text{
    max-width: 600px;
    line-height: 1.5;
    font-size: 0.9375rem;
    color: var(--color-grey);
    margin-bottom: 3rem;
}

.feedback-form__control {
    font-size: 1.125rem;
    border: 0;
    border-bottom: 2px solid var(--color-black);
    padding: 1rem 0;
    width: 100%;
}

textarea.feedback-form__control {
    height: 100px;
}

.wpcf7-form .wpcf7-list-item {
    margin-left: 0;
    color: var(--color-grey);
}


@media(max-width: 767px) {
    .feedback-form__inner {
        background: #fff;
        padding: 3rem;
    }
}

@media(max-width: 575px) {
    .form-group_name {
        order: 1;
    }

    .form-group_phone {
        order: 2;
    }

    .form-group_btn {
        order: 4;
    }

    .form-group_checkbox {
        order: 3;
        grid-column-start: 1;
        grid-column-end: 2;
    }

    .feedback-form__text {
        margin-bottom: 1rem;
    }

    .feedback-form__grid {
        display: grid;
        grid-template-columns: 1fr;
    }

    .feedback-form__inner {
        background: #fff;
        padding: 2rem 1rem;
    }

}


/* Pubs
--------------------------------------------------------------------*/
.pub__header {
    margin-bottom: 2rem;
}

.pub__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 1.25rem;
}

@media(max-width: 680px) {
    .pub__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 480px) {
    .pub__grid {
        grid-template-columns: 1fr;
    }
}

.pub__item {
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.pub-item__inner {
    padding: 1.5rem 1.5rem 5rem;
    position: relative;
}

.pub-item__img-wrapper {
    padding-bottom: 66%;
    position: relative;
}

.pub-item__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pub-item__title {
    font-size: 1.25rem;
    color: var(--color-black);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
    text-decoration: none;
}

.pub-item__excerpt {
    font-size: 1.125rem;
    line-height: 1.5;
}

.pub-item__bottom {
    position: absolute;
    display: flex;
    justify-content: space-between;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    align-items: center;
}

.pub-item__date {
    font-size: .75rem;
    color: var(--color-grey);
}

.pub-item__link {
    display: flex;
    background: #BCC6D0;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
}

.pub-item__link:hover {
    background: var(--color-grey);
}


/* Single
--------------------------------------------------------------------*/
.single__title {
    margin-bottom: .5rem;
}


.single__date {
    font-size: .75rem;
    color: var(--color-grey);
    margin-bottom: .5rem;
}

.single__inner {
    position: relative;
    border-radius: 5px 5px 0 0;
    overflow: hidden;
}

.single__info {
    background: #fff;
    padding: 2rem;
}

.single__text {
    font-size: 1.125rem;
    line-height: 1.5;
    background: #fff;
}


.single__text p {
    margin: 0 0 1.125rem;
}

.single__img-wrapper {
    position: relative;
    padding-bottom: 55%;
}

.single__img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.single .ya-share2 {
    background: #EBF0F5;
    padding: 1rem 2rem ;
    border-radius: 0 0 5px 5px;
}

.same-pubs {
    margin-top: 3rem;
}


.same-pubs_inner {
    position: relative;
}

.same-pubs__header {
    margin-bottom: 2rem;
}

.same-pubs__slider {
    display: flex;
    gap: 1rem;
}

/* Controls */
.same-pubs__controls {
    position: absolute;
    bottom: 45%;
    left: 1rem;
    right: 1rem;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    max-width: 1440px;
    margin: 0 auto;
}

.same-pubs__controls .nav-controls__btn {
    width: 47px;
    height: 47px;
    background: rgba(255, 255, 255, 1);
    border-radius: 50%;
    border: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    position: relative;
}

.same-pubs__controls .nav-controls__btn.prev-btn img {
    transform: rotate(180deg);
}



/* Footer
--------------------------------------------------------------------*/
.footer {
    background: var(--color-light-grey);
    padding: 4rem 0;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    grid-gap: 2rem;
}


@media(max-width: 991px) {
    .footer__grid {
        grid-template-columns: 1fr 2fr 1fr;
        grid-gap: 1rem;
    }
}

@media(max-width: 767px) {

    .footer__grid {
        grid-template-columns: 1fr;
    }
}

.footer__part_first {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media(max-width: 767px) {

    .footer__part_first {
        margin-bottom: 2rem;
    }
}

.footer__menu-part {
    display: flex;
    gap: 2rem;
}

.footer-logo__img {
    width: 100%;
    max-width: 400px;
}

.footer-menu__ul, .footer__categories {
    list-style-type: none;
}

.footer-menu__ul li, .footer__categories li {
    margin-bottom: .75rem;
}

.footer-menu__ul a, .footer__categories a {
    color: var(--color-black);
    text-decoration: none;
    font-size: 1.125rem;
}

@media(max-width: 991px) {
    .footer-menu__ul a, .footer__categories a {
        font-size: 1rem;
    }
}

.footer__copy {
    color: var(--color-grey);
}

.footer__phone {
    background: url(images/icon/icon_phone.svg) left center no-repeat;
    padding: .25rem 0 .25rem 2rem;
    font-size: 1.125rem;
    text-decoration: none;
    color: var(--color-black);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

.footer__feedback-link {
    display: block;
    color: var(--color-red);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.page-contacts__social__footer {
    filter: grayscale(100);
    transition: all .3s;
}

.page-contacts__social__footer:hover {
    filter: grayscale(0);
}

.nooffer {
    font-size: .875rem;
}