@import url('./cdn/bootstrap.min.css');
@import url('./main.css');
@import url('./blocks/header.css');
@import url('./blocks/page-shop-lid-form.css');
@import url('./blocks/footer.css');

body {
    background-color: var(--Background, #F4F6F9);
}
.page-blog {
    color: var(--Black_titles, #191A26);
    margin-bottom: 7.5rem;
}
.page-blog__wrapper {
    padding: 0 1.25rem;
}
.page-title {
    font-size: 2rem;
    text-align: center;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.75rem;
}
.page-blog__categories-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
}
.page-blog__categorites-switcher__item {
    width: 100%;
}
.page-blog__categories-switcher__link {
    width: 100%;
    padding: 0.75rem 1.5rem;
    display: block;
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 2px 2px 12px 0px rgba(0, 0, 0, 0.08);
    color: rgba(57, 62, 65, 1);
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    text-align: center;
    transition: color 0.35s ease-in-out, background-color 0.35s ease-in-out;
}
.page-blog__categories-switcher__link:hover,
.page-blog__categories-switcher__link.current {
    background-color: rgba(193, 29, 29, 1);
    color: #FFF;
    font-weight: 600;
}
.page-blog__categories-switcher__separator {
    height: 1.25rem;
    width: 1px;
    background-color: var(--Black_titles, #191A26);
}
.page-blog__top-line {
    margin-bottom: 2rem;
}
.page-blog__items {
    gap: 2rem 0;
}
article.page-blog__article {
    border-radius: 4px;
    background: var(--white-back-texts, #FFF);
    box-shadow: 1px 1px 16px 0px rgba(26, 20, 35, 0.10);
    overflow: hidden;
    height: 100%;
    position: relative;
}
.article__link {
    position: absolute;
    z-index: 1;
    inset: 0;
}
.article__thumbnail {
    aspect-ratio: 320/223;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.article__thumbnail__video {
    background-position: center center;
    background-size: cover;
    width: 100%;
    height: 100%;
}
.article__thumbnail__video iframe {
    width: 100%;
    height: 100%;
}
.article__thumbnail__video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.article__thumbnail > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.article__content {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
}
.article__readmore {
    margin-top: auto;
}
.article__title-group {
    margin-bottom: 0.75rem;
}
.article__title {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.article__publish-date {
    font-size: 0.75rem;
    line-height: 1;
    color: var(--Grey_middle, #838587);
    text-transform: lowercase;
    display: block;
}
.article__excerpt {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--Grey_dark_texts, #393E41);
    display: -webkit-box;
    text-overflow: ellipsis;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    margin-bottom: 1rem;
}
.article__category {
    text-align: end;
    position: relative;
    z-index: 2;
}
.article__category--link {
    text-decoration: none;
    color: rgba(193, 29, 29, 1);
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
}
.article__readmore > a,
.latest-article__readmore > a {
    display: block;
    padding: 0.5625rem 1.1875rem;
    border: 1px solid var(--Black_titles, #191A26);
    background-color: var(--Black_titles, #191A26);
    color: var(--white, #FFF);
    font-weight: 600;
    line-height: 1;
    font-size: 0.875rem;
    width: fit-content;
    text-decoration: none;
    text-align: center;
}
.page-blog__navigation {
    padding-top: 2rem;
    border-top: 1px solid var(--Grey_light, #CCC);
    margin-top: 2rem;
}
.page-blog__navigation .screen-reader-text {
    display: none;
}
.page-blog__navigation .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.page-blog__navigation .nav-links .page-numbers {
    color: var(--Grey_middle, #838587);
    line-height: 1;
    padding: 0.5625rem;
    border-radius: 4px;
    border: 1px solid var(--Grey_middle, #838587);
    text-decoration: none;
    min-width: 2.25rem;
    text-align: center;
    transition: border-color 0.3s ease-in-out, color 0.3s ease-in-out;
}
.page-blog__navigation .nav-links .page-numbers.current {
    font-weight: 600;
}
.page-blog__navigation .nav-links .page-numbers:hover,
.page-blog__navigation .nav-links .page-numbers.current {
    color: var(--Black_titles, #191A26);
    border-color: var(--Black_titles, #191A26);
}
.page-blog__navigation .nav-links .page-numbers.dots {
    border: none;
}
/* single-post */
.single-post.post-content .post-content__wrapper iframe {
    width: 100%;
    aspect-ratio: 1366 / 768;
    height: auto;
}
.single-post.post-content .grid_product__cart__buttons {
    font-size: 1rem;
}
.single-post.post-content {
    padding: 0 1.25rem;
    margin-bottom: 7.5rem;
}
.single-post.post-content .single-post__entry {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 0;
    margin-bottom: 2.5rem;
}
.single-post.post-content .single-post__title {
    margin: 0;
    width: 100%;
}
.single-post.post-content .single-post__publish-date {
    display: flex;
    line-height: 1;
    text-transform: lowercase;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    color: var(--Grey_middle, #838587);
}
.single-post.post-content .single-post__publish-date svg {
    width: 1.5rem;
    height: auto;
}
.single-post.post-content .post-content__wrapper {
    color: var(--Black_titles, #191A26);
    font-size: 1rem;
    line-height: 1.5;
}

.single-post.post-content .alignright, .alignleft, .aligncenter, .alignnone {
    margin: 2.5rem auto;
    display: block;
}
.single-post.post-content h1, 
.single-post.post-content h2, 
.single-post.post-content h3, 
.single-post.post-content h4, 
.single-post.post-content h5, 
.single-post.post-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1.75rem;
    font-weight: 600;
    line-height: 1;
}
.single-post.post-content h1 {
    font-size: 1.5rem;
}
.single-post.post-content h2 {
    font-size: 1.375rem;
}
.single-post.post-content h3 {
    font-size: 1.25rem;
}
.single-post.post-content h4 {
    font-size: 1.125rem;
}
.single-post.post-content h5 {
    font-size: 1rem;
}
.single-post.post-content h6 {
    font-size: 0.875rem;
}
.single-post.post-content p {
    margin-bottom: 1.75rem;
}
.single-post.post-content ul, 
.single-post.post-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.75rem;
}
.single-post.post-content .wp-caption-text {
    margin-top: 0.875rem;
    line-height: 1;
    color: var(--Grey_middle, #838587);
}
.single-post.post-content .wp-caption > img {
    max-width: 100vw;
    margin: 0 -1.25rem;
}
.single-post.post-content .single-post__meta {
    margin-bottom: 7.5rem;
    margin-top: 2rem;
    align-items: center;
    row-gap: 1.5rem;
    clear: both;
}
.single-post.post-content .post-content__share {
    display: flex;
    flex-wrap: wrap;
    width: min(341px, 100%);
    clear: both;
    padding: 1.25rem 0.75rem;
    border-radius: 0.5rem;
    background: var(--white-back-texts, #FFF);
    box-shadow: 1px 1px 16px 0px rgba(26, 20, 35, 0.10);
    align-items: center;
    gap: 1.75rem;
}
.single-post.post-content .post-content__share__title {
    font-weight: 600;
    line-height: 1.15;
}
.single-post.post-content .post-content__share__links {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.single-post.post-content .post-content__share__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.single-post.post-content .latest-news {
    gap: 1.5rem 0;
}
.single-post.post-content .latest-news__title {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
    color: var(--Black_titles, #191A26);
    margin-bottom: 2.5rem;
}
.single-post.post-content .latest-article {
    border-radius: 4px;
    background: var(--white-back-texts, #FFF);
    box-shadow: 1px 1px 16px 0px rgba(26, 20, 35, 0.10);
    color: var(--Black_titles, #191A26);
    overflow: hidden;
}
.single-post.post-content .latest-article__thumbnail {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 320/233;
    overflow: hidden;
}
.single-post.post-content .latest-article__thumbnail img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
.single-post.post-content .latest-article__content {
    padding: 1.25rem;
}
.single-post.post-content .latest-article__title-group {
    margin-bottom: 1rem;
}
.single-post.post-content .latest-article__title {
    font-size: 1.25rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    margin-top: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;    
}
.single-post.post-content .latest-article__publish-date {
    color: var(--Grey_middle, #838587);
    font-size: 0.75rem;
    line-height: 1;
    text-transform: lowercase;
    display: block;
}
.single-post.post-content .latest-article__excerpt {
    font-size: 0.75rem;
    color: var(--Grey_dark_texts, #393E41);
    line-height: 1.4;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
}
/* video */
.single-post.post-content .post-content__video .article__thumbnail {
    aspect-ratio: 320/194;
    margin-bottom: 2.5rem;
    width: min(760px, 100%);
    margin-left: auto;
    margin-right: auto;
}
.single-post.post-content .post-content__content .container {
    padding: 0;
}
.single-post.post-content .post-content__content .readmore.cta_btn_link {
    margin-top: 2rem;
    display: inline-flex;
    background-color: transparent;
    color: var(--Black_titles, #191A26);
    padding: 0 0 0.4375rem 0.1875rem;
    gap: 1.25rem;
    box-shadow: none;
    position: relative;
}
.single-post.post-content .post-content__video .post-content__share {
    margin: 0;
}
.single-post.post-content .post-content__latest-videos .latest-news__title {
    margin-top: 0;
}
.single-post.post-content .post-content__latest-videos .article__title {
    margin-top: 0;
}
.post-content-meta:not([hidden]) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}
.post-content-meta__views, 
.post-content-meta__reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #092028;
}
.post-content-meta svg {
    width: 1.5rem;
    fill: #8e8a8b;
}
/* single-post */
.single-post.post-content .post-content__wrapper b, 
.single-post.post-content .post-content__wrapper strong {
    font-weight: 700;
}
blockquote {
    width: 90%;
    clear: both;
    margin: 1.5rem auto;
    font-style: italic;
    font-size: 0.875rem;
    padding: 0.75rem 0 0.75rem 1.25rem;
    border-left: 6px solid #fbbd06;
    line-height: 1.2;
    color: #363636;
}
blockquote * {
    margin: 0 !important;
}
@media screen and ( min-width: 576px ) {
    .page-blog__categories-switcher {
        gap: 0.75rem 0;
        margin: 0 -6px 2.625rem;
    }
    .page-blog__categorites-switcher__item {
        width: max(20%, 254px);
        padding: 0 6px;
    }
    .page-blog__categories-switcher__link {
        font-weight: 400;
    }
    .single-post.post-content .wp-caption > img {
        margin: 0;
        max-width: 100%;
    }
    .single-post.post-content .post-content__latest-videos .page-blog__article {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        padding: 1.25rem 0.9375rem 1.25rem 1.25rem;
    }
    .single-post.post-content .post-content__latest-videos .article__thumbnail {
        aspect-ratio: 224/156;
        width: 44.713%;
    }
    .single-post.post-content .post-content__latest-videos .article__content {
        padding: 0;
        padding-left: 1.25rem;
        width: 55.287%;
    }
    .single-post.post-content .post-content__latest-videos .article__title {
        font-size: 1rem;
    }
    .single-post.post-content .post-content__latest-videos .article__excerpt {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        -webkit-line-clamp: 2;
    }
}
@media screen and ( min-width: 768px ) {
    .page-blog__items {
        gap: 1.5rem 0;
    }
    .page-blog__top-line {
        margin-bottom: 1.5rem;
    }
    .page-blog__article {
        display: flex;
        flex-wrap: wrap;
    }
    .article__thumbnail {
        aspect-ratio: 287/200;
        width: 44.292%;
    }
    .article__content {
        width: 55.708%;
        padding: 0.75rem 0.75rem 0.75rem 1rem;
    }
    .article__title-group {
        margin-bottom: 0.75rem;
    }
    .article__excerpt {
        margin-bottom: 0.5rem;
    }
    .article__category {
        margin-top: auto;
    }
    .page-blog__navigation {
        width: min(896px, 100%);
        margin: 3.75rem auto 0;
    }
    .single-post.post-content .single-post__title {
        max-width: calc(100% - 12rem);
        text-align: left;
        padding-right: 0.9375rem;
    }
    .single-post.post-content .single-post__publish-date {
        width: fit-content;
        margin-left: auto;
        justify-content: flex-end;
        min-width: 12rem;
        max-width: 12rem;
    }
}
@media screen and ( min-width: 992px ) {
    .page-title {
        margin-bottom: 2.5rem;
    }
    .page-blog__top-line {
        margin-bottom: 5rem;
    }
    .article__readmore > a {
        transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out;
    }
    .article__readmore > a:hover {
        color: var(--Black_titles, #191A26);
        background-color: transparent;
    }
    .single-post.post-content.single-post-video {
        margin-bottom: 10rem;
    }
    .single-post.post-content .single-post__entry {
        align-items: flex-end;
    }
    .single-post.post-content .single-post__title {
        font-size: 2rem;
        width: calc(100% - 8rem);
    }
    .single-post.post-content .single-post__publish-date {
        width: 8rem;
    }
    .single-post.post-content .post-content__wrapper {
        font-size: 1.25rem;
    }
    .single-post.post-content .alignright, 
    .single-post.post-content .alignleft, 
    .single-post.post-content .alignnone {
        display: inline;
        margin-top: 0;  
        margin-bottom: 3.75rem;
    }
    .single-post.post-content .alignright {
        float: right;
        margin-left: 8.485%;
    }
    .single-post.post-content .alignleft {
        float: left;
        margin-right: 8.485%;
    }
    .single-post.post-content .alignright,
    .single-post.post-content .alignleft {
        max-width: 50%;
    }
    .single-post.post-content .aligncenter {
        margin-bottom: 3.75rem;
    }
    .single-post.post-content h1, 
    .single-post.post-content h2, 
    .single-post.post-content h3, 
    .single-post.post-content h4, 
    .single-post.post-content h5, 
    .single-post.post-content h6 {
        margin-top: 3.75rem;
        margin-bottom: 2rem;
    }
    .single-post.post-content p,
    .single-post.post-content ul,
    .single-post.post-content ol {
        margin-bottom: 2.5rem;
    }
    .single-post.post-content .single-post__meta {
        margin-top: 2.5rem;
        margin-bottom: 6.25rem;
    }
    .single-post.post-content .post-content__share {
        padding: 1.25rem;
    }
    .single-post.post-content .post-content__share__title {
        font-size: 1.25rem;
    }
    .single-post.post-content .latest-article__thumbnail {
        aspect-ratio: 423 / 295;
    }
    .single-post.post-content .latest-article__title-group {
        margin-bottom: 1.375rem;
    }
    .single-post.post-content .latest-article__title {
        margin-bottom: 0.75rem;
    }
    .single-post.post-content .latest-article__excerpt {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    .single-post.post-content .post-content__video .article__thumbnail {
        margin-bottom: 3rem;
    }
    .single-post.post-content .post-content__latest-videos .latest-news.row {
        gap: 0.75rem 0;
    }
    .single-post.post-content .post-content__latest-videos .latest-news__title {
        margin-bottom: 1.25rem;
    }
    .single-post .post-content__share__links a.post-content__share__link {
        display: none;
    }
    .single-post .post-content__share__links .wp-product-content__summary__share {
        border: none;
        cursor: pointer;
        background-color: transparent;
        width: 2.25rem;
        height: 2.25rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }
    .single-post .post-content__share__links .wp-product-content__summary__share .tooltip[hidden] {
        opacity: 0;
    }
    .single-post .post-content__share__links .wp-product-content__summary__share .tooltip {
        position: absolute;
        font-size: 12px;
        width: max-content;
        box-shadow: 0 0 3px rgba(0, 0, 0, 0.35);
        padding: 3px 5px;
        top: 100%;
        right: 0;
        display: block;
        opacity: 1;
        transition: opacity 0.3s ease-in-out;
    }
    blockquote {
        width: 80%;
        font-size: 1.125rem;
    }
}
@media screen and ( min-width: 1200px ) {
    .single-post.post-content {
        max-width: 1024px;
    }
    .post-content-meta:not([hidden]) {
        justify-content: flex-end;
        gap: 2rem;
    }
    .as-column .post-content-meta:not([hidden]) {
        justify-content: flex-start;
    }
}