/* =========================================
   SINGLE BLOG SEOBITT
========================================= */

.single-page {
    padding-top: 80px;
    background: #ffffff;
    color: #1d1d1f;
}


/* =========================================
   CONTAINER
========================================= */

.blog-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================
   CONTENT
========================================= */

.single-content {
    padding: 65px 0 100px;
}


/* =========================================
   TWO COLUMN
========================================= */

.single-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 7fr)
        minmax(280px, 3fr);

    gap: 55px;

    align-items: start;
}


/* =========================================
   ARTICLE
========================================= */

.single-post {
    min-width: 0;
}


/* =========================================
   BREADCRUMB
========================================= */

.post-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;

    margin-bottom: 25px;

    color: #888888;

    font-size: 13px;
    line-height: 1.5;
}

.post-breadcrumb a {
    color: #555555;
    text-decoration: none;
}

.post-breadcrumb a:hover {
    color: #111111;
}


/* =========================================
   CATEGORY
========================================= */

.post-category {
    display: inline-block;

    margin-bottom: 14px;

    padding: 7px 11px;

    border-radius: 5px;

    background: #f2f2f2;

    color: #555555;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.2px;
}


/* =========================================
   TITLE
========================================= */

.post-title {
    max-width: 900px;

    margin: 0 0 18px;

    font-size: clamp(34px, 5vw, 54px);

    line-height: 1.13;

    letter-spacing: -1.2px;

    font-weight: 700;
}


/* =========================================
   POST META
========================================= */

.post-meta {
    display: flex;
    flex-wrap: wrap;

    align-items: center;

    gap: 10px;

    margin-bottom: 35px;

    color: #777777;

    font-size: 13px;
}


/* =========================================
   FEATURED IMAGE
========================================= */

.post-featured-image {
    width: 100%;

    margin: 0 0 45px;

    overflow: hidden;

    border-radius: 14px;

    background: #f4f4f4;
}

.post-featured-image img {
    display: block;

    width: 100%;

    height: auto;
}


/* =========================================
   ARTICLE CONTENT
========================================= */

.post-content {
    max-width: 820px;

    color: #333333;

    font-size: 17px;

    line-height: 1.85;
}


/* Paragraph */

.post-content p {
    margin: 0 0 25px;
}


/* Heading H2 */

.post-content h2 {
    margin: 50px 0 18px;

    color: #1d1d1f;

    font-size: 30px;

    line-height: 1.3;
}


/* Heading H3 */

.post-content h3 {
    margin: 35px 0 14px;

    color: #1d1d1f;

    font-size: 23px;

    line-height: 1.4;
}


/* Lists */

.post-content ul,
.post-content ol {
    margin: 0 0 28px;

    padding-left: 25px;
}

.post-content li {
    margin-bottom: 9px;
}


/* Links */

.post-content a {
    color: #1d1d1f;

    font-weight: 600;

    text-decoration: underline;
}


/* Images inside article */

.post-content img {
    display: block;

    max-width: 100%;

    height: auto;

    margin: 35px auto;

    border-radius: 10px;
}


/* Blockquote */

.post-content blockquote {
    margin: 35px 0;

    padding: 25px 30px;

    border-left: 4px solid #1d1d1f;

    background: #f7f7f7;

    color: #444444;

    font-size: 18px;

    line-height: 1.7;
}


/* =========================================
   CTA ARTICLE
========================================= */

.post-cta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-top: 60px;

    padding: 35px;

    border-radius: 14px;

    background: #f5f5f5;
}

.post-cta span {
    display: block;

    margin-bottom: 10px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.post-cta h2 {
    margin: 0 0 10px;

    font-size: 25px;
}

.post-cta p {
    margin: 0;

    color: #666666;

    font-size: 14px;

    line-height: 1.6;
}

.post-cta > a {
    flex-shrink: 0;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 11px 20px;

    border-radius: 7px;

    background: #1d1d1f;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.post-cta > a:hover {
    color: #ffffff;

    opacity: 0.88;

    transform: translateY(-2px);
}


/* =========================================
   SIDEBAR
========================================= */

.single-sidebar {
    position: sticky;

    top: 100px;

    min-width: 0;
}


/* =========================================
   SIDEBAR LABEL
========================================= */

.sidebar-label {
    display: inline-block;

    margin-bottom: 15px;

    padding: 6px 10px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.4px;

    background: #f1f1f1;
}


/* =========================================
   BANNER
========================================= */

.single-banner {
    overflow: hidden;

    border: 1px solid #e7e7e7;

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06);
}

.single-banner > a {
    display: block;
}

.single-banner img {
    display: block;

    width: 100%;
}

.single-banner-content {
    padding: 25px;
}

.single-banner-content h2 {
    margin: 0 0 12px;

    font-size: 22px;

    line-height: 1.3;
}

.single-banner-content p {
    margin: 0 0 20px;

    color: #666666;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   SIDEBAR BUTTON
========================================= */

.sidebar-button {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;

    min-height: 45px;

    padding: 10px 18px;

    border-radius: 7px;

    background: #1d1d1f;

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

    text-decoration: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.sidebar-button:hover {
    color: #ffffff;

    opacity: 0.88;

    transform: translateY(-2px);
}


/* =========================================
   RELATED POSTS
========================================= */

.related-posts {
    margin-top: 30px;

    padding: 25px;

    border: 1px solid #e7e7e7;

    border-radius: 14px;

    background: #ffffff;
}

.related-posts h2 {
    margin: 0 0 20px;

    font-size: 22px;
}


/* =========================================
   RELATED ITEM
========================================= */

.related-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 17px 0;

    border-bottom: 1px solid #eeeeee;

    color: #333333;

    font-size: 14px;

    line-height: 1.5;

    text-decoration: none;
}

.related-item:first-of-type {
    padding-top: 0;
}

.related-item:last-child {
    padding-bottom: 0;

    border-bottom: none;
}

.related-item span {
    transition:
        color 0.2s ease;
}

.related-item b {
    flex-shrink: 0;

    font-size: 17px;
}

.related-item:hover span {
    color: #777777;
}

/* =========================================
   FAQ
========================================= */

.post-faq {
    margin-top: 65px;
    padding: 40px;

    border-radius: 16px;

    background: #f7f7f7;
}


/* =========================================
   FAQ HEADING
========================================= */

.faq-heading {
    max-width: 650px;

    margin-bottom: 30px;
}

.faq-heading > span {
    display: inline-block;

    margin-bottom: 10px;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 1.5px;
}

.faq-heading h2 {
    margin: 0 0 12px;

    color: #1d1d1f;

    font-size: 30px;

    line-height: 1.3;
}

.faq-heading p {
    margin: 0;

    color: #707070;

    font-size: 14px;

    line-height: 1.7;
}


/* =========================================
   FAQ LIST
========================================= */

.faq-list {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


/* =========================================
   FAQ ITEM
========================================= */

.faq-item {
    overflow: hidden;

    border: 1px solid #e5e5e5;

    border-radius: 10px;

    background: #ffffff;

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.faq-item.active {
    border-color: #d7d7d7;

    box-shadow:
        0 5px 18px rgba(0, 0, 0, 0.04);
}


/* =========================================
   FAQ QUESTION
========================================= */

.faq-question {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    width: 100%;

    padding: 20px 22px;

    border: none;

    background: transparent;

    color: #1d1d1f;

    text-align: left;

    font-family: inherit;

    font-size: 15px;

    font-weight: 600;

    line-height: 1.5;

    cursor: pointer;
}


/* =========================================
   FAQ ICON
========================================= */

.faq-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    width: 27px;
    height: 27px;

    border-radius: 50%;

    background: #f1f1f1;

    color: #333333;

    font-size: 20px;

    font-weight: 400;

    line-height: 1;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


/* Active icon */

.faq-item.active .faq-icon {
    transform: rotate(45deg);

    background: #1d1d1f;

    color: #ffffff;
}


/* =========================================
   FAQ ANSWER
========================================= */

.faq-answer {
    display: grid;

    grid-template-rows: 0fr;

    transition:
        grid-template-rows 0.35s ease;
}

.faq-answer p {
    overflow: hidden;

    margin: 0;

    padding: 0 22px;

    color: #666666;

    font-size: 14px;

    line-height: 1.75;

    transition:
        padding 0.35s ease;
}


/* Active answer */

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-item.active .faq-answer p {
    padding:
        0 22px 22px;
}


/* =========================================
   FAQ HOVER
========================================= */

.faq-question:hover .faq-icon {
    background: #e9e9e9;
}


/* =========================================
   FAQ MOBILE
========================================= */

@media (max-width: 767px) {

    .post-faq {
        margin-top: 50px;

        padding: 25px 18px;

        border-radius: 12px;
    }

    .faq-heading {
        margin-bottom: 22px;
    }

    .faq-heading h2 {
        font-size: 25px;
    }

    .faq-question {
        padding: 17px;

        font-size: 14px;
    }

    .faq-answer p {
        padding-left: 17px;
        padding-right: 17px;

        font-size: 13px;
    }

    .faq-item.active .faq-answer p {
        padding:
            0 17px 18px;
    }

}


/* =========================================
   TABLET
========================================= */

@media (max-width: 991px) {

    .single-layout {
        grid-template-columns:
            minmax(0, 1fr)
            300px;

        gap: 30px;
    }

    .post-title {
        font-size: 38px;
    }

    .post-content {
        font-size: 16px;
    }

    .post-content h2 {
        font-size: 27px;
    }

}


/* =========================================
   VIDEO ARTIKEL
========================================= */

.post-video {
    width: 100%;

    margin: 45px 0;
}

.post-video-wrapper {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 12px;

    background: #000;

    aspect-ratio: 16 / 9;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.08);
}

.post-video-wrapper iframe {
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    border: 0;
}


/* =========================================
   VIDEO MOBILE
========================================= */

@media (max-width: 767px) {

    .post-video {
        margin: 35px 0;
    }

    .post-video-wrapper {
        border-radius: 9px;
    }

}

/* =========================================
   TABLE OF CONTENTS
========================================= */

.post-toc {
    margin: 0 0 45px;

    border: 1px solid #e5e5e5;

    border-radius: 14px;

    background: #f8f8f8;

    overflow: hidden;
}


/* =========================================
   TOC HEADER
========================================= */

.toc-header {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding: 20px 24px;

    border: none;

    background: transparent;

    color: #1d1d1f;

    text-align: left;

    cursor: pointer;

    font-family: inherit;
}


.toc-title {
    display: flex;

    flex-direction: column;

    gap: 5px;
}


.toc-label {
    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

    color: #777777;
}


.toc-title strong {
    font-size: 17px;

    font-weight: 700;
}


.toc-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 28px;

    height: 28px;

    border-radius: 50%;

    background: #1d1d1f;

    color: #ffffff;

    font-size: 18px;

    line-height: 1;

    transition:
        transform 0.3s ease;
}


/* =========================================
   TOC CONTENT
========================================= */

.toc-content {
    padding: 0 24px 24px;
}


.toc-content ol {
    margin: 0;

    padding-left: 23px;
}


.toc-content li {
    margin-bottom: 10px;

    padding-left: 5px;

    color: #777777;

    font-size: 14px;

    line-height: 1.6;
}


.toc-content li:last-child {
    margin-bottom: 0;
}


.toc-content a {
    color: #444444;

    text-decoration: none;

    transition:
        color 0.2s ease;
}


.toc-content a:hover {
    color: #000000;
}


/* =========================================
   TOC COLLAPSED
========================================= */

.post-toc.collapsed .toc-content {
    display: none;
}


.post-toc.collapsed .toc-icon {
    transform: rotate(180deg);
}


/* =========================================
   TOC MOBILE
========================================= */

@media (max-width: 767px) {

    .post-toc {
        margin-bottom: 35px;

        border-radius: 11px;
    }


    .toc-header {
        padding: 17px 18px;
    }


    .toc-content {
        padding: 0 18px 20px;
    }


    .toc-title strong {
        font-size: 15px;
    }


    .toc-content li {
        font-size: 13px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .single-page {
        padding-top: 70px;
    }

    .blog-container {
        width: min(100% - 30px, 620px);
    }

    .single-content {
        padding: 45px 0 70px;
    }

    .single-layout {
        display: block;
    }

    .post-title {
        font-size: 32px;

        letter-spacing: -0.5px;
    }

    .post-meta {
        margin-bottom: 25px;
    }

    .post-featured-image {
        margin-bottom: 35px;

        border-radius: 10px;
    }

    .post-content {
        font-size: 16px;

        line-height: 1.8;
    }

    .post-content h2 {
        margin-top: 40px;

        font-size: 26px;
    }

    .post-content h3 {
        font-size: 21px;
    }

    .post-cta {
        display: block;

        padding: 25px;

        margin-top: 45px;
    }

    .post-cta h2 {
        font-size: 22px;
    }

    .post-cta > a {
        width: 100%;

        margin-top: 20px;
    }

    .single-sidebar {
        position: static;

        margin-top: 50px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

    .blog-container {
        width: calc(100% - 24px);
    }

    .post-title {
        font-size: 29px;
    }

    .post-content {
        font-size: 15px;
    }

}