/* BLOG DETAIL PAGE */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 80px;
    background: #FAFAF8;
    color: #1A1A1A;
    font-size: 12px;
}

.breadcrumb a {
    color: #0D2342;
    text-decoration: none;
}

.breadcrumb i {
    font-size: 10px;
}

.blog-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 55px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 55px 80px 35px;
}

.article-category {
    color: #C89A2B;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
}

.article-header h1 {
    max-width: 680px;
    margin: 15px 0 15px;
    color: #0D2342;
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.12;
}

.article-intro {
    max-width: 660px;
    color: #1A1A1A;
    font-size: 16px;
    line-height: 1.8;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin: 26px 0 18px;
}

.article-meta,
.share-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #1A1A1A;
    font-size: 12px;
}

.article-meta i {
    color: #C89A2B;
}

.share-button {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 50%;
    color: #0D2342;
    cursor: pointer;
    transition: 0.3s;
}

.share-button:hover {
    background: #0D2342;
    color: white;
}

.article-hero-image {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 8px;
}

.article-section {
    padding: 24px 0;
    border-bottom: 1px solid #E7E7E7;
}

.article-section h2 {
    margin-bottom: 10px;
    color: #0D2342;
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
}

.article-section h3 {
    color: #0D2342;
    font-size: 14px;
}

.article-section p,
.article-section li {
    color: #1A1A1A;
    font-size: 13.5px;
    line-height: 1.8;
}

.check-list {
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    background: #C89A2B;
    border-radius: 50%;
    color: white;
    font-size: 9px;
}

.process-list {
    display: grid;
    gap: 12px;
}

.process-step {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 14px;
}

.process-step > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    background: #0D2342;
    border-radius: 50%;
    color: white;
    font-size: 13px;
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 10px;
}

.fees-table-wrapper {
    overflow-x: auto;
    margin-top: 12px;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid #E7E7E7;
    border-radius: 8px;
}

th,
td {
    padding: 10px 14px;
    border: 1px solid #E7E7E7;
    color: #1A1A1A;
    font-size: 12px;
    text-align: left;
}

th {
    background: #FAFAF8;
    color: #0D2342;
}

.note {
    margin-top: 10px;
    padding: 10px 14px;
    background: #FAFAF8;
    border: 1px solid #E7E7E7;
    border-radius: 6px;
}

.article-navigation {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 24px;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    overflow: hidden;
    background: white;
}

.article-navigation a {
    position: static;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px;
    color: #0D2342;
    text-decoration: none;
}

.article-navigation a:first-child {
    border-right: 1px solid #E7E7E7;
}

.article-navigation span {
    color: #1A1A1A;
    font-size: 11px;
}

.article-navigation strong {
    display: block;
    color: #0D2342;
    font-size: 12px;
}

/* SIDEBAR */

.article-sidebar {
    display: grid;
    align-content: start;
    gap: 24px;
}

.sidebar-card,
.sidebar-cta {
    padding: 24px;
    background: white;
    border: 1px solid #E7E7E7;
    border-radius: 10px;
}

.sidebar-card h2,
.sidebar-cta h2 {
    margin-bottom: 18px;
    color: #0D2342;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}

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

.author-card img {
    width: 105px;
    height: 105px;
    border-radius: 50%;
    object-fit: cover;
}

.author-card h3 {
    margin-top: 12px;
    color: #0D2342;
    font-size: 16px;
}

.author-card p {
    color: #1A1A1A;
    font-size: 12px;
    line-height: 1.7;
}

.author-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 12px;
}

.author-socials a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border: 1px solid #E7E7E7;
    border-radius: 50%;
    color: #0D2342;
    text-decoration: none;
}

.toc-card {
    position: sticky;
    top: 130px;
}

.toc-link {
    position: relative;
    display: block;
    padding: 8px 0 8px 18px;
    color: #0D2342;
    font-size: 13px;
    text-decoration: none;
}

.toc-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border: 1px solid #C89A2B;
    border-radius: 50%;
}

.toc-link.active {
    color: #C89A2B;
}

.related-card {
    display: grid;
    gap: 15px;
}

.related-article {
    display: grid;
    grid-template-columns: 78px 1fr;
    gap: 12px;
    color: #0D2342;
    text-decoration: none;
}

.related-article img {
    width: 78px;
    height: 78px;
    border-radius: 6px;
    object-fit: cover;
}

.related-article strong {
    display: block;
    font-size: 12px;
    line-height: 1.35;
}

.related-article small {
    display: block;
    margin-top: 6px;
    color: #1A1A1A;
    font-size: 11px;
}

.sidebar-cta {
    background: #0D2342;
    color: white;
}

.sidebar-cta h2 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
}

.sidebar-cta p {
    color: #FAFAF8;
    font-size: 13px;
    line-height: 1.7;
}

.sidebar-cta a {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 18px;
    background: #C89A2B;
    border-radius: 6px;
    color: white;
    font-size: 12px;
    text-decoration: none;
}

.sidebar-cta i {
    margin-right: 8px;
}

.body-image {
    margin: 28px 0;
}

.body-image img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* TABLET AND MOBILE */

@media (max-width: 1050px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }

    .toc-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .breadcrumb {
        padding: 18px 30px;
    }

    .blog-detail-layout {
        padding: 40px 30px 30px;
    }

    .article-header h1 {
        font-size: 38px;
    }

    .article-meta-row,
    .document-grid,
    .article-navigation,
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-meta-row {
        display: grid;
    }

    .article-navigation a:first-child {
        border-right: 0;
        border-bottom: 1px solid #E7E7E7;
    }
}

/* TABLET AND MOBILE BLOG DETAIL RESPONSIVE */

@media (max-width: 1050px) {
    .breadcrumb {
        padding: 18px 40px;
    }

    .blog-detail-layout {
        grid-template-columns: 1fr;
        padding: 45px 40px 35px;
        gap: 35px;
    }

    .article-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }

    .toc-card {
        position: static;
    }
}

@media (max-width: 760px) {
    .breadcrumb {
        flex-wrap: wrap;
        padding: 16px 24px;
        line-height: 1.6;
    }

    .blog-detail-layout {
        padding: 35px 24px 30px;
    }

    .article-header h1 {
        font-size: 36px;
    }

    .article-intro {
        font-size: 15px;
    }

    .article-meta-row {
        display: grid;
        gap: 18px;
    }

    .share-row {
        justify-content: flex-start;
    }

    .article-hero-image {
        max-height: none;
    }

    .document-grid,
    .article-navigation,
    .article-sidebar {
        grid-template-columns: 1fr;
    }

    .article-navigation a:first-child {
        border-right: 0;
        border-bottom: 1px solid #E7E7E7;
    }

    .related-article {
        grid-template-columns: 70px 1fr;
    }

    .related-article img {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 560px) {
    .blog-detail-layout {
        padding: 30px 18px;
    }

    .article-header h1 {
        font-size: 31px;
    }

    .article-section h2 {
        font-size: 24px;
    }

    .article-section p,
    .article-section li {
        font-size: 13px;
    }

    .process-step {
        grid-template-columns: 28px 1fr;
    }

    .sidebar-card,
    .sidebar-cta {
        padding: 20px;
    }
}