/*
 * Section article hero
 * Section table of contents
 * Section article content
 * Section related articles
 * Slider navigation
 */

.blog-single {
    padding-top: 30px;
}
/* ! Section article hero start ! */
.article-hero {
    margin-bottom: 40px;
}
.article-hero > .container {
    display: flex;
    gap: 20px;
}
.article-hero__content {
    width: calc(50% - 10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}
.breadcrumbs-section {
    margin: 0;
}
.breadcrumbs-section .container {
    padding: 0;
}
.breadcrumbs-section .breadcrumbs {
    text-align: unset;
    text-wrap: nowrap;
    font-size: 16px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.breadcrumbs-section span {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.blog-single__title {
    padding: 0;

    text-align: left;
    font-size: 48px;
    text-transform: unset;
    font-weight: 700;
    line-height: 100%;
}

.blog-single__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.blog-single__category {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 100%;
    padding: 0.8rem 1.5rem;

    border-radius: 2rem;
    background-color: #1ac6df;

    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;

    transition: filter 0.2s;
}

.blog-single__category::before {
    content: '';
    width: 0.7rem;
    min-width: 0.7rem;
    height: 0.7rem;

    border-radius: 50%;
    background-color: #fff;
}

.blog-single__date {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.7rem 1.5rem;

    border: 1px solid #1ac6df;
    border-radius: 2rem;

    color: #838d99;
    font-size: 16px;
    line-height: 1.1;
}

.blog-single__date svg {
    width: 1.8rem;
    min-width: 1.8rem;
    height: 1.8rem;
}

.blog-single__cover {
    width: calc(50% - 10px);
    max-height: 460px;

    border-radius: 40px;
    overflow: hidden;
}

.blog-single__cover img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

@media (hover: hover) {
    .blog-single__category:hover {
        filter: saturate(150%);
        text-decoration: none;
    }
}

@media screen and (width <= 1199px) {
    .blog-single__title {
        font-size: 42px;
    }
}
@media screen and (width <= 991px) {
    .article-hero > .container {
        flex-direction: column;
    }
    .article-hero__content,
    .blog-single__cover {
        width: 100%;
    }
    .blog-single__cover {
        max-height: 520px;
    }
}
@media screen and (width <= 768px) {
    .blog-single__title {
        font-size: 34px;
    }
    .breadcrumbs-section .breadcrumbs {
        text-wrap: wrap;
    }
}
@media screen and (width <= 576px) {
    .blog-single {
        padding-top: 2rem;
    }
    #contacts,
    .single-post .faq {
        padding-bottom: 60px;
    }
}
/* ! Section article hero end ! */

/* ! Section table of contents start ! */
.blog-single__toc {
    padding: 60px 0;
    border-radius: 80px;
    background-color: #f5f8fe;
}
.blog-single__toc-inner {
    padding: 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.blog-single__toc-title {
    margin: 0;

    color: #2f333e;
    font-size: 36px;
    font-weight: 700;
    line-height: 120%;
}

.blog-single__toc-list {
    margin: 0;
    padding: 0;

    display: flex;
    flex-direction: column;
    gap: 1rem;

    list-style: none;
}

.blog-single__toc-item a {
    display: flex;
    align-items: center;
    gap: 1.5rem;

    color: #2f333e;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;

    transition: color 0.2s;
}

.blog-single__toc-num {
    width: 50px;
    min-width: 50px;
    height: 50px;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 50%;
    background-color: #fff;

    color: #1ac6df;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

@media (hover: hover) {
    .blog-single__toc-item a:hover {
        color: #1ac6df;
    }
}

@media screen and (width <= 991px) {
    .blog-single__toc {
        padding: 50px 0;
        border-radius: 40px;
    }
}

@media screen and (width <= 768px) {
    .blog-single__toc-inner {
        flex-direction: column;
    }
    .blog-single__toc-title {
        font-size: 34px;
    }
    .blog-single__toc-item a {
        font-size: 18px;
    }
    .blog-single__toc-num {
        width: 35px;
        min-width: 35px;
        height: 35px;
        font-size: 18px;
    }
}
/* ! Section table of contents end ! */

/* ! Section article content start ! */
.article {
    padding: 60px 0 60px;
}
.blog-single__content {
    color: #2f333e;
    font-size: 1.6rem;
    line-height: 1.6;
}

.blog-single__content > *:first-child {
    margin-top: 0;
}

.blog-single__content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}
.blog-single__content strong {
    font-weight: 700;
}

.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
    margin: 30px 0 20px;

    color: #2f333e;
    font-weight: 700;
    line-height: 1.3;

    scroll-margin-top: 12rem;
}

.blog-single__content h2 {
    font-size: 36px;
    line-height: 120%;
}

.blog-single__content h3 {
    font-size: 26px;
}

.blog-single__content h4 {
    font-size: 18px;
}

.blog-single__content a {
    color: #1ac6df;
    text-decoration: underline;
}

.blog-single__content ul,
.blog-single__content ol {
    margin: 0 0 1.5rem;
    padding-left: 2.2rem;
}

.blog-single__content ul li,
.blog-single__content ol li {
    margin-bottom: 0.8rem;
    margin-left: 0;
    font-size: 16px;
    line-height: 1.6;
}

.blog-single__content ul li {
    list-style: disc;
}

.blog-single__content ol li {
    list-style: decimal;
}

.blog-single__content li::marker {
    color: #1ac6df;
}

.blog-single__content figure {
    margin: 0 0 2rem;
}

.blog-single__content img {
    border-radius: 1rem;
}

.blog-single__content figure img {
    margin-bottom: 1rem;
}

.blog-single__content figcaption {
    color: #838d99;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.blog-single__content table {
    width: 100%;
    margin-bottom: 2rem;

    border-collapse: collapse;

    font-size: 1.4rem;
}

.blog-single__content th,
.blog-single__content td {
    padding: 1rem 1.2rem;

    border: 0.1rem solid #cad0dd;
    text-align: left;
    vertical-align: top;
}

.blog-single__content th {
    background-color: #f5f8fe;
    font-weight: 700;
}

.blog-single__content .table-wrapper {
    margin-bottom: 2rem;
}

.blog-single__content .table-wrapper table {
    margin-bottom: 0;
}

@media screen and (width <= 991px) {
    .blog-single__content .table-wrapper {
        overflow: auto;
    }
}

.blog-single__content code {
    padding: 0.2rem 0.5rem;

    border-radius: 0.3rem;
    background-color: #f5f8fe;

    font-size: 0.9em;
}

.blog-single__content pre {
    margin: 0 0 2rem;
    padding: 1.5rem;

    border-radius: 1rem;
    background-color: #f5f8fe;

    overflow-x: auto;
}

.blog-single__content pre code {
    padding: 0;
    background-color: transparent;
}

.blog-single__content hr {
    margin: 3rem 0;

    border: 0;
    border-top: 0.1rem solid #cad0dd;
}

@media (hover: hover) {
    .blog-single__content a:hover {
        text-decoration: none;
    }
}

/* ! Article blocks start ! */
.blog-single__blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-single__image {
    margin: 0;
}

.blog-single__image img {
    width: 100%;
    height: auto;
    display: block;

    border-radius: 1rem;
}

@media screen and (width <= 991px) {
    .blog-single__blocks {
        gap: 16px;
    }
}
/* ! Article blocks end ! */

.btn.blog-single__back {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2.4rem;

    border: 0.1rem solid #1ac6df;
    border-radius: 3.5rem;

    color: #1ac6df;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;

    transition:
        background-color 0.2s,
        color 0.2s;
}

.btn.blog-single__back svg {
    width: 2rem;
    min-width: 2rem;
    height: 2rem;

    transition: transform 0.2s;
}

@media (hover: hover) {
    .btn.blog-single__back:hover {
        background-color: #1ac6df;
        color: #fff;
    }

    .btn.blog-single__back:hover svg {
        transform: rotate(-45deg);
    }
}

@media screen and (width <= 991px) {
    .article {
        padding-bottom: 0;
    }
    .blog-single__content {
        font-size: 1.5rem;
    }

    .blog-single__content h2 {
        font-size: 30px;
    }

    .blog-single__content h3 {
        font-size: 24px;
    }

    .blog-single__content h4 {
        font-size: 18px;
    }
}
/* ! Section article content end ! */

/* ! Section related articles start ! */
.our-articles {
    padding-bottom: 60px;
}

.our-articles__title {
    padding-top: 0;
    margin-bottom: 3rem;

    font-size: 36px;
}

.our-articles__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.our-articles__slider {
    width: 100%;
}
.our-articles__slider .swiper-wrapper {
    padding-bottom: 20px;
}

.our-articles__slider .swiper-slide {
    height: auto;
}
.our-articles__slider .article-card {
    height: 100%;
}

.our-articles__footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.our-articles__btns {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.our-articles__btns .btn {
    max-width: 31rem;
}

@media screen and (width <= 991px) {
    .our-articles {
        padding-top: 60px;
    }
    .our-articles__title {
        font-size: 30px;
    }
}
@media screen and (width <= 768px) {
    .our-articles__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media screen and (width <= 576px) {
    .our-articles__btns {
        width: 100%;
    }
    .our-articles__btns .btn {
        width: 100%;
        max-width: none;
    }
}
/* ! Section related articles end ! */

/* ! Slider navigation start ! */
.slider-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slider-navigation button {
    width: 4.4rem;
    min-width: 4.4rem;
    height: 4.4rem;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 0.1rem solid #cad0dd;
    border-radius: 50%;
    background-color: transparent;

    color: #1ac6df;
    cursor: pointer;

    transition:
        background-color 0.2s,
        border-color 0.2s,
        color 0.2s;
}

.slider-navigation button svg {
    width: 2.2rem;
    height: 2.2rem;
}

.slider-navigation button.swiper-button-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.slider-navigation__counts {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;

    color: #2f333e;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.2;
}

.slider-navigation__counts .current {
    color: #1ac6df;
}

.slider-navigation__counts .all {
    color: #838d99;
    font-size: 1.3rem;
    font-weight: 400;
}

@media (hover: hover) {
    .slider-navigation button:hover {
        border-color: #1ac6df;
        background-color: #1ac6df;
        color: #fff;
    }
}
/* ! Slider navigation end ! */

.single-post .faq {
    padding: 0 0 100px;
}
