:root {
    --white: 255, 255, 255;
    --black: 0, 0, 0;
    --dark: 33, 37, 41;
    --primary-dark: 0, 70, 90;
    --gray-100: 243, 244, 246;

    --font-default: "Bitter", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-default);
    color: rgb(var(--dark));
    background-color: rgb(var(--gray-100));
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.4;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: transparent;
}

@media (max-width: 767px) {
    body {
        font-size: 1.188rem;
        line-height: 1.47;
    }
}

img {
    max-width: 100%;
    height: auto;
}

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

.text-uppercase {
    text-transform: uppercase;
}

.ff-poppins {
    font-family: "Poppins", sans-serif;
}



/* container */

.container {
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    position: relative;
}


@media (min-width: 768px) {
    .container {
        max-width: 100%;
        padding: .625rem .938rem;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: calc(60% + 1.875rem);
    }
}






/* btn */

.btn {
    color: rgb(var(--white));
    background-color: rgb(71, 144, 26);
    font-size: 1.5rem;
    font-weight: 500;
    text-align: center;
    margin: 1.25rem auto 3.5rem auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.625rem;
    padding: 1rem 1.5rem;
    box-shadow: 0 .25rem .688rem 0 rgba(var(--black), .1);
    text-decoration: none;
    border-radius: .25rem;
    transition: box-shadow .3s ease;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: rgb(1, 158, 63);
    box-shadow: 0 0 0 .1rem rgba(43, 220, 70, .2);
    text-decoration: none;
}

.btn-container-2 .btn,
.btn-container-3 .btn {
    margin: 1rem auto 2.5rem auto;
}

@media (max-width: 480px) {
    .btn {
        font-size: 4vw;
    }
}





/* ---------- social ---------- */

.social {
    display: inline-flex;
    pointer-events: none;
    column-gap: .25rem;
}

.social__item {
    display: flex;
    color: rgb(var(--white));
    width: 1.875rem;
    height: 1.875rem;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
}

.social,
.social__item {
    align-items: center;
}

.social__icon {
    fill: rgb(var(--white));
}

.social__item--fb {
    background-color: #3b5998;
}

.social__item--fb .social__icon {
    max-height: 1.5rem;
}

.social__item--tw {
    background-color: #03a9f4;
}

.social__item--tw .social__icon {
    max-height: 1.5rem;
}

.social__item--p {
    background-color: #cb1f24;
}

.social__item--p .social__icon {
    position: relative;
    top: .175rem;
}

.social__item--w {
    background-color: #29a71a;
}

.social__item--w .social__icon {
    max-height: 1.75rem;
}

.social__item--e {
    background-color: #1e2e33;
}

.social__item--e .social__icon {
    max-height: 1.3rem;
}


.social--lg {
    column-gap: .4rem;
}

.social--lg .social__item {
    width: 3.125rem;
    height: 3.125rem;
}

.social--lg .social__item--fb .social__icon,
.social--lg .social__item--tw .social__icon {
    height: 2rem;
    max-height: 2rem;
}

.social--lg .social__item--p .social__icon {
    top: .25rem;
}

.social--lg .social__item--w .social__icon {
    height: 2.75rem;
    max-height: 2.75rem;
}

.social--lg .social__item--e .social__icon {
    height: 2.25rem;
    max-height: 2.25rem;
}

@media (max-width: 767px) {
    .social__item {
        width: 1.563rem;
        height: 1.563rem;
    }
}





/* ---------- list ---------- */

.list {
    margin-top: 0;
    margin-bottom: 1.75rem;
}

.list__item {
    margin-bottom: .625rem;
}






/* ---------- alert ---------- */

.alert {
    font-style: italic;
    color: rgb(48, 48, 48);
    background-color: rgb(255, 243, 205);
    text-align: left;
    padding: .625rem;
    margin-top: 1rem;
    margin-bottom: 1.75rem;
}

.alert__title {
    margin-top: 0;
}

.alert,
.alert__title {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.42;
}

.alert p:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {

    .alert,
    .alert__title {
        font-size: 1.188rem;
    }
}









/* ---------- embed ---------- */
.embed,
.embed:has(video) {
    position: relative;
    width: 100%;
    padding: 0;
    overflow: hidden;
    margin-bottom: 1rem;
}

.embed:has(video)::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.embed:has(video) video {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.embed--full-width {
    width: calc(100% + 1.875rem) !important;
    margin-inline: -.938rem;
}

.embed img {
    display: block;
    width: 100%;
}








/* ---------- media ---------- */

.media {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.media__title {
    font-style: italic;
    font-size: 1.5rem;
    color: #898d8b;
    font-weight: 600;
}

.media__list {
    padding-left: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    column-gap: 1rem;
    margin-top: .75rem;
}

.media__logo {
    max-height: 1.875rem;
}

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

    .media__title {
        font-size: 1rem;
    }

    .media__logo {
        max-height: 1.5rem;
    }
}









/* ---------- topbar ---------- */

.topbar {
    font-family: "Alegreya", serif;
    color: rgb(var(--white));
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 700;
    width: 100%;
    background-color: rgb(var(--primary-dark));
    height: 3.125rem;
    display: flex;
    align-items: center;
}

@media (max-width: 767px) {
    .topbar {
        height: 2.875rem;
        text-align: center;
        justify-content: center;
    }
}







/* ---------- main ---------- */

.main__container {
    display: grid;
    column-gap: .625rem;
    padding-bottom: .75rem;
    padding-top: 0;
}

@media (min-width: 768px) {
    .main__container {
        grid-template-columns: calc(70% - .625rem) 30%;
        padding-block: .938rem;
    }
}

@media (min-width: 1200px) {
    .main__container {
        padding-block: 1.5rem;
    }
}





/* ---------- header ---------- */

.header__breadcrumbs {
    padding-left: 0;
    margin: 0 0 1.375rem;
    margin-bottom: .75rem;
    list-style: none;
    display: flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1;
    color: rgb(26, 48, 83);
    position: relative;
}

.header__breadcrumbs::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    background-color: rgb(22, 119, 151);
    width: 1.125rem;
    height: 1.125rem;
    margin-right: .5rem;
    position: relative;
    top: -1px;
}

.header__title {
    font-size: 2.125rem;
    line-height: 1.32;
    font-weight: 700;
    margin-block: 0;
}

.header__published {
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: rgb(69, 117, 132);
    margin-top: 1.375rem;
    margin-top: 1rem;
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    column-gap: .35rem;
}

.header__published-icon {
    color: rgb(188, 216, 226);
    width: 1.5rem;
    height: 1.5rem;
    position: relative;
    top: -1px;
}

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

.header__author {
    font-weight: 400;
    font-size: .938rem;
    line-height: 1.22;
}

.header__lead {
    font-size: 1.313rem;
    line-height: 1.333;
    font-weight: 500;
    margin-top: .75rem;
}

@media (max-width: 767px) {
    .header__title {
        font-size: 1.625rem;
        line-height: 1.29;
    }

    .header__published {
        margin-top: 1.125rem;
        margin-top: .65rem;
    }

    .header__author {
        display: flex;
        flex-direction: column;
        font-size: .75rem;
    }

    .header__lead {
        font-size: 1.063rem;
        line-height: 1.35;
    }
}





/* ---------- content, sidebar ---------- */

.content,
.sidebar__inner {
    background-color: rgb(var(--white));
}

.content,
.sidebar__inner {
    padding: 1.625rem .938rem;
}

.content {
    padding-top: 1.25rem;
}

@media (max-width: 767px) {
    .content {
        padding-top: 1rem;
    }

    .sidebar__inner {
        padding-bottom: .938rem;
    }
}




/* ---------- promo ---------- */

.promo__title {
    display: block;
    font-size: 1.625rem;
    line-height: 1.4;
    font-weight: 600;
    text-decoration: underline;
    color: rgb(0, 0, 238);
    text-align: center;
    margin: 1.5rem auto;
}

.promo__title:hover,
.promo__title:focus,
.promo__title:active {
    text-decoration: none;
}

.promo__time-left {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    margin: 1.5rem auto 1rem auto;
}

.promo__offer {
    text-align: center;
    border: 2px solid rgb(218, 75, 139);
    padding: 1.25rem 1rem;
}

.promo__offer-title {
    font-size: 1.5rem;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 1rem;
}

.promo__offer-subtitle {
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 0;
}

.promo__offer-pict {
    max-width: 60%;
    margin-inline: auto;
}

.promo__limited {
    color: rgb(48, 48, 48);
    font-weight: 700;
    font-size: 1.125rem;
    padding: .625rem;
    text-align: center;
    background-color: rgb(254, 251, 195);
    border: 2px dashed rgb(208, 2, 27);
    margin-top: 1.5rem;
    margin-bottom: .5rem;
}

.promo__time-left,
.promo__limited-title {
    color: #f00;
}

@media (max-width: 767px) {
    .promo__title {
        font-size: 1.25rem;
        text-wrap: balance;
    }

    .promo__offer-pict {
        max-width: 78%;
    }
}







/* ---------- article ---------- */

.article {
    width: 100%;
    color: rgb(43, 43, 43);
    padding-inline: .625rem;
}

.article p {
    margin-bottom: 1.75rem;
}

.article__title {
    font-size: 1.875rem;
    line-height: 1.22;
    margin-top: 0;
    margin-bottom: 1rem;
}

.article__title--decor span {
    background-color: rgb(253, 204, 94);
}

@media (max-width: 767px) {
    .article {
        padding-inline: 0;
    }

    .article__title {
        font-size: 1.438rem;
    }
}






/* ---------- comments ---------- */

.comments {
    margin-top: 1.5rem;
}

.comments__head {
    margin-bottom: .5rem;
}

.comments__control {
    display: block;
    width: 100%;
    height: 3.625rem;
    padding: 1.25rem;
    border: 1px solid rgb(222, 222, 222);
}

.comments__control,
.comment {
    font-size: .875rem;
    font-family: Helvetica, Arial, sans-serif;
}

.comment {
    column-gap: .5rem;
    margin-bottom: 1rem;
}

.comment,
.comment__info,
.comment__info-item,
.comment__info-like {
    display: flex;
    align-items: center;
}

.comment {
    align-items: flex-start;
}

.comment__photo {
    width: 3rem;
    min-width: 3rem;
    max-width: 3rem;
    height: 3rem;
    min-height: 3rem;
    max-height: 3rem;
}

.comment__avatar {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment__name {
    color: rgb(59, 89, 152);
    font-weight: 700;
}

.comment__text {
    color: rgb(var(--black));
    font-weight: 700;
    margin-top: .25rem;
    margin-bottom: .35rem;
}

.comment__pict {
    max-width: 12.5rem;
    margin-block: .75rem;
}

.comment__pict img {
    display: block;
}

.comment__info {
    font-size: .75rem;
    padding-left: 0;
    margin-block: 0;
    list-style: none;
    font-weight: 600;
}

.comment__info-item:not(:last-child)::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 2px;
    height: 2px;
    background-color: rgb(var(--black));
    border-radius: 50%;
    margin-inline: .4rem;
}

.comment__info-like {
    column-gap: .25rem;
}

.comment__info-like svg {
    height: 1rem;
    width: 1rem;
    color: rgb(98, 122, 173);
    position: relative;
    top: -2px;
}

.comment__info a {
    cursor: pointer;
    color: rgb(98, 122, 173);
    text-decoration: none;
}

.comment__info a:hover,
.comment__info a:focus,
.comment__info a:active {
    text-decoration: underline;
}

.comment__info-like,
.comment__info-date {
    color: rgb(127, 127, 127);
}

.comments__list {
    margin: 0;
    list-style: none;
    padding-left: 0;
}

.comments__list .comments__list {
    border-left: 1px dotted rgb(211, 214, 219);
    padding-left: .5rem;
    margin-top: 1rem;
    margin-left: 3.5rem;
}

.comments__list .comments__list .comment__photo {
    width: 2.25rem;
    min-width: 2.25rem;
    max-width: 2.25rem;
    height: 2.25rem;
    min-height: 2.25rem;
    max-height: 2.25rem;
}

.comment:has(.comment__photo:empty) .comment__photo {
    background-color: #E4E6EB;
}










/* ---------- news, reviews ---------- */

.news {
    margin-bottom: 1.5rem;
}

.news__item,
.reviews__item {
    margin-bottom: 1rem;
}

.reviews__item:last-child {
    margin-bottom: 0;
}

.news__title,
.reviews__title {
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 500;
    color: rgb(74, 74, 74);
    margin-top: 0;
}

.news__pict img,
.reviews__pict img {
    display: block;
}

.reviews {
    color: rgb(38, 60, 97);
    font-size: 1rem;
    line-height: 1.3;
}

.reviews__name {
    font-weight: 600;
    margin-bottom: .5rem;
}

.reviews__text {
    margin-top: 0;
}

.reviews__text span {
    font-size: 1.75rem;
    line-height: 1;
    font-weight: 700;
}

.reviews__btn {
    margin-top: .5rem;
    margin-bottom: 2rem;
    width: 100%;
}








/* ---------- sticky-offer ---------- */

.sticky-offer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9;
    min-height: 5.625rem;
    padding: .75rem;
    background-color: rgb(var(--white));
    transform: translateY(150%);
    transition: transform .5s ease-in-out;
}

.sticky-offer__btn {
    font-family: Montserrat, sans-serif;
    font-weight: 700;
    margin-block: 0;
}

.sticky-offer.is-show {
    transform: translateY(0);
    box-shadow: 0 1px 1px rgba(var(--black), .1), 0 -1px 1px rgba(var(--black), .1);
}

@media (max-width: 767px) {
    .sticky-offer {
        min-height: 4.5rem;
        background-color: rgb(var(--gray-100));
    }

    .sticky-offer__btn {
        font-size: 1.25rem;
    }
}

@media (max-width: 480px) {
    .sticky-offer__btn {
        font-size: 4vw;
    }
}







/* ---------- footer ---------- */

.footer {
    text-align: center;
    font-size: .813rem;
    line-height: 1.5;
    color: rgb(155, 155, 155);
    text-align: center;
    background-color: rgb(var(--primary-dark));
}

.footer__container {
    padding: 1.875rem 1rem;
}

.footer__paragraph {
    margin-top: 0;
}

.footer__link {
    color: rgb(161, 167, 178);
}

.footer__link:hover,
.footer__link:focus,
.footer__link:active {
    text-decoration: none;
}


body:has(.sticky-offer.is-show) .footer {
    padding-bottom: 6rem;
}

@media (max-width: 767px) {
    body:has(.sticky-offer.is-show) .footer {
        padding-bottom: 8rem;
    }
}