.svg {
    display: none;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 7px 24px;
    border-radius: 60px;
    white-space: nowrap;
    background: #F21308;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

#page {
    background: #F4F4F6;
    max-width: 1040px;
    box-sizing: border-box;
}

.blog-page {
    padding-top: 120px;
}

.blog {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    padding-bottom: 40px;
    font-family: "Mulish", sans-serif;
    font-size: 14px;
}

.back-link, .back-link a {
    color: #9A9BA0;
}

.back-link a:hover {
    color: #292E37;
}

.blog__heading {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.blog__title {
    color: #21252C;
    font-family: "ClashDisplay-Variable";
    font-size: 56px;
    font-style: normal;
    font-weight: 700;
    line-height: 70px; /* 125% */
}

.blog__description {
    color: #3E424B;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    max-width: 575px;
}

.blog__controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog__search {
    width: 100%;
    max-width: 369px;
}
.search {
    display: flex;
    width: 100%;
    padding: 8px 16px;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #FFF;
}

.search svg {
    width: 18px;
    height: 18px;
}
.search form {
    width: 100%;
}
.search input#s {
    border: none;
    outline: none;
    background: transparent;
    padding: 0;
    color: #3E424B;
    font-size: 14px;
    font-weight: 400;
    height: 24px;
    box-shadow: none;
    flex: 1;
}

.search input:focus::placeholder {
    visibility: hidden;

}

.categories {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    flex: 1 0 0;
    align-self: stretch;
}

.category-button {
    display: flex;
    padding: 8px 24px;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    background: #FFF;
    color: #3E424B;
    font-size: 14px;
    cursor: pointer;
}

.category-button:hover, .category-button.current {
    border-radius: 8px;
    background: #3E424B;
    color: #EDEDEE;
    text-decoration: none;
}

.all-categories {
    display: none;
}

.articles {
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 32px;
    background: #ffffff;
    border-radius: 12px;
}

.article {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid #DCDCDE;
}

.article:first-child {
    padding-top: 0;
    border-top: none;
}

.article__image {
    max-width: 33%;
    min-width: 33%;
    min-height: 200px;
    background-position: center;
    background-size: cover;
    border-radius: 8px;
}

.article__content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 24px 24px 0;
    flex: 1;
}
.article__top {
    gap: 24px;
    display: flex;
    flex-direction: column;
}

.article__categories {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article__categories a {
    display: flex;
    padding: 3px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #F4F4F6;
    color: #292E37;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.article__title {
    color: #292E37;
    font-size: 24px;
    font-weight: 800;
    line-height: 120%;
    letter-spacing: -0.48px;
}

.article__excerpt {
    color:  #3E424B;
    font-size: 16px;
    font-weight: 500;
}

.article__excerpt p {
    margin: 0;
}

.article__excerpt a {
  display: none;
}

.article__controls {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
}

.article__btn {
    width: 218px;
    font-size: 16px;
    font-weight: 600;
}

.article__date  {
    margin-left: auto;
    color: #9A9BA0;
}

.post-container {
    display: flex;
    padding: 24px;
    gap:32px;
    background: #ffffff;
    border-radius: 12px;
}

.post {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    width: 562px;
    gap: 16px;
    border-radius: 12px;
}

.post__image img {
    border-radius: 12px;
}

.post__categories {
    display: flex;
    align-items: center;
    gap: 8px;
}

.post__categories a {
    display: flex;
    padding: 3px 16px;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: #F4F4F6;
    color: #292E37;
    font-family: Montserrat, sans-serif;
    font-weight: 500;
}

.post__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.post__title {
    color: #292E37;
    font-size: 24px;
    font-weight: 800;
    line-height: 120%;
    letter-spacing: -0.48px;
}

.post__text {
    color:  #3E424B;
    font-size: 16px;
    font-weight: 500;
    line-height: 150%;
    letter-spacing: -0.32px;
}

.post__text .lotos-likes {
    display: none;
}
.post__summary {
    display: flex;
    align-items: center;
    gap: 16px;
}
.post__summary .likes {
    margin-top: -6px;
}

.post__date {
    color: #9A9BA0;
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
}

.similar {
    display: flex;
    gap: 16px;
    width: 398px;
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    flex-shrink: 0;
    border-radius: 12px;
    background: #F4F4F6;
}

.similar__top-title {
     display: none;
 }

.similar__post {
    display: flex;
    padding-right: 12px;
    align-items: stretch;
    gap: 16px;
    border-radius: 8px;
    background: #FFF;
}

.similar__image {
    display: flex;
    align-items: center;
    border-radius: 8px;
    width: 138px;
    min-width: 138px;
    background-position: center;
    background-size: cover;
}
.similar__content {
    display: flex;
    padding: 12px 0;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    flex: 1 0 0;
    align-self: stretch;
    gap: 3px;
}


.similar__title {
    color: #292E37;
    font-size: 20px;
    font-weight: 800;
    line-height: 120%; /* 24px */
    letter-spacing: -0.4px;
}

.similar__text {
    color: #3E424B;
    font-weight: 500;
    line-height: 18.9px;
}

.similar__text p {
    margin: 0;
}
.similar__text a {
    display: none;
}
.similar__date {
   color: #9A9BA0;
}


.article__shearing {
    position: relative;
    width: 32px;
    height: 32px;

}
.article__shearing-btn {
    gap: 10px;
    line-height: 15px;
}
.article__shearing-links {
    display: flex;
    padding: 16px 12px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 150px;
    border-radius: 8px;
    background: #FFF;
    box-shadow: 0 4px 10px 0 rgba(90, 15, 45, 0.25);
    position: absolute;
    left: 0;
    top: 32px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
}
.article__shearing.open .article__shearing-links {
    opacity: 1;
    visibility: visible;
}
.article__shearing-link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 8px;

}
.article__shearing-link svg {
    width: 24px;
    height: 24px;
}



.blog-form {
    display: flex;
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    flex: 1 0 0;
    border-radius: 12px;
    border: 1px solid #3E424B;
    background: #191C21;
    position: relative;
    color: #fff;
    width: 100%;
    margin-top: 112px;
}


.blog-form__heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.blog-form__title {
    color: #FFF;
    font-family: ClashDisplay-Variable;
    font-size: 42px;
    font-weight: 700;
    line-height: 46px;
}

.blog__form {
    width: 484px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.blog-form * {
    position: relative;
    z-index: 1;
}

.blog-form__girl {
    content: '';
    position: absolute !important;
    z-index: 0 !important;
    background: url(../img/girl.png) top center no-repeat;
    width: 303px;
    height: 451px;
    background-size: cover;
    bottom: 0;
    right: 40px;
}
.form-block.form-block_half {
    width: calc(50% - 13px);
    min-width: calc(50% - 13px);
}


.blog__form .wpcf7-list-item {
    margin: 0;
}

.blog__form .form-block_privacy {
    margin-top: 18px;
    margin-bottom: 24px;
}

.blog__form .form-block_privacy p {
    flex-direction: row;
}
.blog__form .form-block_privacy p a {
    white-space: nowrap;
    color: #9A9BA0;
    text-decoration: underline;
}
.blog__form .form-block_privacy p a:hover {
    text-decoration: none;
}


.checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;

}
.checkbox input {
    opacity: 0;
    visibility: hidden;
    position: absolute;
}
.checkbox input + span {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.checkbox input + span:before {
    content: "";
    margin-right: 8px;
    display: flex;
    width: 20px;
    height: 20px;
    padding: 2px;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    border: 1px solid #9A9BA0;
    background: #292E37;
}
.checkbox input:checked + span:before {
    content: "✓";
    font-size: 19px;
}

.blog__form .wpcf7-response-output {
    width: 100%;
    text-align: center;
    border-color: #f22108;
}


.lotos-likes {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
}
.lotos-likes:before {
    content: '';
    background: url("../img/like.png");
    display: flex;
    width: 20px;
    height: 18px;
}

@media (max-width: 991px) {
    .blog {
        padding-left: 24px;
        padding-right: 24px;
    }

    .categories {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    .articles {
        background: #F4F4F6;
        padding: 0;
    }

    .article {
        background: #fff;
        border-radius: 12px;
        border: none;
        padding: 0;
    }

    .article__content {
        padding: 24px 24px 24px 0;
    }


    .post-container {
        flex-direction: column;
        background: #F4F4F6;
        padding: 0;
    }

    .post {
        width: 100%;
        padding: 16px;
    }

    .similar {
        width: 100%;
    }

    .similar__top-title {
        display: block;
        color: #292E37;
        font-size: 24px;
        font-weight: 800;
        line-height: 120%;
        letter-spacing: -0.48px;
    }

    .blog__form {
        width: 416px;
    }

    .blog-form__text {
        max-width: 340px;
    }

    .blog-form__girl {
        width: 252px;
        height: 440px;
    }
}

@media (max-width: 767px) {
    .blog {
        padding-left: 16px;
        padding-right: 16px;
    }
    .blog__controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .articles {
        gap: 16px;

    }
    .article {
        flex-direction: column;
        align-items: stretch;
        position: relative;
        background: #fff;
        border-radius: 12px;
        border: none;
        gap: 0;
    }

    .article__image {
        width: 100%;
        min-width: 100%;
        position: relative;

    }
    .article__image:before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 0;
        border-radius: 12px;
    }
    .article__content {
        padding: 16px;
    }

    .article__top {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: space-between;
        position: absolute;
        top: 12px;
        left: 12px;
        height: 176px;
    }

    .article__title {
        color: #FFF;
        font-size: 20px;
        font-weight: 700;
        line-height: 120%;
        letter-spacing: -0.4px;
    }

    .article__controls {
        flex-wrap: wrap;
        gap: 16px;

    }

    .article__btn {
        order: 3;
        width: 100%;
    }

    .article__date {
        order: 0;
        margin-left: 0;
    }
    .likes {
        order: 1;
    }
    .article__shearing {
        margin-left: auto;
        order: 2;
    }

    .blog-form {
       padding-top: 200px;
        margin-top: 50px;
    }

    .blog-form__girl {
        width: 269px;
        height: 418px;
         top: 0;
         bottom: auto;
         right: 50%;
         transform: translateX(55%);
        }
    .blog-form__girl:before {
        content: '';
        background: linear-gradient(180deg, rgba(25, 28, 33, 0.00) 0%, rgba(25, 28, 33, 0.90) 47.64%, rgba(25, 28, 33, 0.90) 100%);
        display: block;
        height: 457px;
        width: 100%;
    }
    .blog__form {
        width: 100%;
    }

    .form-block.form-block_half {
        width: 100%;
        min-width: 100%;
    }

}

