/* Pagination - Improved spacing */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 2rem 0;
    padding: 0;
    gap: 0.5rem;
}

.pagination .page-item .page-link {
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    margin: 0 0.25rem !important;
    transition: all 0.2s ease !important;
}

.pagination a {
    font-family: "Poppins" !important;
    font-weight: 600 !important;
    text-decoration: none;
    border-radius: 0.5rem;
    color: #6b7280;
    padding: 0.75rem 1rem;
    margin: 0 0.25rem;
    transition: all 0.2s ease;
}

.pagination a:hover {
    color: #1559d5;
    background-color: #f2f7ff;
}

.pagination a.active {
    color: white;
    background-color: #1559d5;
    box-shadow: 0 2px 4px rgba(21, 89, 213, 0.3);
}

.article-content figure>figcaption {
    display: block;
    text-align: center;
    margin: 10px auto;
    font-size: .9rem;
    font-style: italic;
}

.article-content {
    font-family: "Roboto" !important;
}

.article-content p, .article-content li {
    line-height: 2 !important;
}

/* Heading styles - Improved spacing hierarchy */
.article-content h1 {
    margin: 2rem 0 1.5rem 0 !important;
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #3a3a3a !important;
}

.article-content h2 {
    margin: 2rem 0 1rem 0 !important;
    font-size: 1.875rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    color: #3a3a3a !important;
}

.article-content h3 {
    margin: 1.75rem 0 0.75rem 0 !important;
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #3a3a3a !important;
}

.article-content h4 {
    margin: 1.5rem 0 0.5rem 0 !important;
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #3a3a3a !important;
}

.article-content h5 {
    margin: 1.25rem 0 0.5rem 0 !important;
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #3a3a3a !important;
}

.article-content h6 {
    margin: 1rem 0 0.5rem 0 !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    color: #3a3a3a !important;
}

.article-content ul {
    list-style: circle !important;
    margin: 1rem 0 1.5rem 1.5rem !important;
    padding-left: 0 !important;
}

.article-content ol {
    list-style: decimal !important;
    margin: 1rem 0 1.5rem 1.5rem !important;
    padding-left: 0 !important;
}

.article-content li {
    margin-bottom: 0.5rem !important;
    line-height: 1.7 !important;
}

.article-content li:last-child {
    margin-bottom: 0 !important;
}

/* Paragraph styles - Better spacing */
.article-content p {
    margin: 0 0 0.5rem 0 !important;
    line-height: 1.7 !important;
}

.article-content img {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.article-content figure {
    margin: 2rem 0 !important;
}

.article-content blockquote {
    margin: 2rem 0 !important;
    padding: 1.5rem 2rem !important;
    border-left: 4px solid #1559d5 !important;
    background: #f2f7ff !important;
    font-style: italic !important;
    color: #4b5563 !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

.article-content table {
    width: 100% !important;
    margin: 2rem 0 !important;
    border-collapse: collapse !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.article-content table td,
.article-content table th {
    padding: 0.75rem 1rem !important;
    border-bottom: 1px solid #e5e7eb !important;
    text-align: left !important;
}

.article-content table th {
    background: #f8fafc !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

.article-content table tr:hover {
    background: #f9fafb !important;
}

.article-content code {
    background: #f3f4f6 !important;
    color: #e11d48 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.375rem !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.875em !important;
}

.article-content pre {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    padding: 1.5rem !important;
    border-radius: 0.75rem !important;
    overflow-x: auto !important;
    margin: 2rem 0 !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    line-height: 1.5 !important;
}

/* .article-content h2 {
    margin-top: 1.5rem;
    margin-bottom: .5rem;
} */

body {
    font-family: "Roboto" !important;
}

.section-1,
.section-2,
.section-3 {
    background-color: white !important;
}
#article {
    scroll-margin: 80px;
}
.card-image figure {
    margin-bottom: 0em !important;
}

.section-1 {
    background-color: white;
    padding: 110px 20px 40px 20px;
    text-align: right;
}

.search-wrapper {
    display: flex;
    justify-content: end;
}

.search-wrapper form {
    width: 340px;
}

.section-1 .cari-artikel {
    background-color: #f2f7ff;
    border-right: none !important;
    border-left: 1px solid #9e9e9e !important;
    border-top: 1px solid #9e9e9e !important;
    border-bottom: 1px solid #9e9e9e !important;
    border-right: none !important;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
}

.section-1 .input-group-text {
    /* background-color: #f2f7ff !important; */
    border-left: none !important;
    border-right: 1px solid #9e9e9e !important;
    border-top: 1px solid #9e9e9e !important;
    border-bottom: 1px solid #9e9e9e !important;
    border-top-right-radius: 30px !important;
    border-bottom-right-radius: 30px !important;
}

.section-1 .cari-artikel:focus {
    outline: none !important;
    border-left: 1px solid #1559d5 !important;
    border-top: 1px solid #1559d5 !important;
    border-bottom: 1px solid #1559d5 !important;
    border-right: none !important;
    box-shadow: none !important;
}

.section-1 .cari-artikel:focus + .input-group-text {
    outline: none !important;
    border-right: 1px solid #1559d5 !important;
    border-top: 1px solid #1559d5 !important;
    border-bottom: 1px solid #1559d5 !important;
    box-shadow: none !important;
    color: #1559d5 !important;
}

.iklan-produk {
    background-color: #1559d5;
    padding: 30px 20px;
    border-radius: 20px;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.iklan-produk.desktop {
    display: block;
}

.iklan-produk.mobile {
    display: none;
}

.iklan-produk * {
    color: white;
}

.judul-iklan-produk {
    font-size: 1.2em;
    font-weight: bold;
}

.desc-iklan-produk {
    font-size: 0.8em;
}

.btn-iklan-produk {
    border-radius: 50px;
    padding: 10px 20px;
    border: 1px solid white;
}
.btn-iklan-produk:hover {
    color: white;
}
.section-2 .main-article {
    position: relative;
    margin-right: 48px;
}

.section-2 .main-article img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
}

.section-2 .main-article .label {
    position: absolute;
    top: 16px;
    left: 16px;
    border-radius: 16px;
    background-color: white;
    text-transform: uppercase;
    color: #1559d5;
    font-weight: 500;
    padding: 4px 8px;
    font-size: 12px;
}

.section-2 .main-article .overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 24px 48px 24px 24px;
    color: white;
    border-radius: 0px 0px 15px 15px;
    background: linear-gradient(
        97deg,
        rgba(90, 90, 90, 0.4) 55.99%,
        rgba(229, 229, 229, 0.53) 94.64%
    );
    backdrop-filter: blur(10px);
}

.section-2 .main-article .overlay .judul {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 0em;
    line-height: 1.3;
    color: white;
}

/* Nav */

.section-3 .article {
    margin-right: 48px;
}

.article-nav {
    border-bottom: 1px solid #9e9c9c;
    white-space: nowrap;
    margin: 1rem auto;
    display: flex;
    text-align: center;
    font-weight: bold;
    font-size: 1em;
    /* justify-content: space-between; */
    align-items: center;
    padding: 1rem 1rem 0 0rem;
    overflow-x: auto;
}

.article-nav-link {
    display: flex;
    color: #9e9c9c;
    margin-right: 0rem;
    white-space: nowrap;
    padding: 0.4rem 1rem;
    border-bottom: 1px solid transparent;
}

.article-nav-link.active,
.article-nav-link:hover {
    color: var(--primary);
    border-bottom: 1px solid var(--primary);
}

.article-nav-link:hover .icon,
.article-nav-link.active .icon {
    background-color: var(--primary);
}

.article-nav-link .icon {
    width: 20px;
    height: 20px;
    mask-size: contain;
    background-color: #9e9c9c;
    margin-right: 4px;
    margin-top: 2px;
}

.article-label-wrapper {
    word-break: break-all;
}

.article-label {
    display: inline-block;
    color: #1559d5;
    background-color: #f2f7ff;
    text-transform: uppercase;
    font-weight: 500;
    padding: 2px 4px;
    margin-right: 10px;
    margin-bottom: 6px;
    font-size: 14px;
}

.section-3 .tab {
    display: none;
}

.section-3 .tabs {
    margin-bottom: 2em;
}

.section-3 .show {
    display: block;
}

.section-3 .penulis {
    font-size: 0.95em;
    color: #9e9c9c;
}

.section-3 .show-more {
    display: flex;
    justify-content: center;
    margin-top: 4em;
}

.section-3 .show-more a {
    background-color: #1559d5;
    color: white;
    font-weight: bold;
    text-align: center;
    padding: 10px 20px;
    border-radius: 20px;
}

.section-3 .empty-article {
    text-align: center;
    margin-block: 1em;
}
/* Nav */

/* card */
/* ===== Buttons Css ===== */
.mini-card-style-three .card-content .card-btn .primary-btn {
    background: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-2);
}
.mini-card-style-three .card-content .card-btn .active.primary-btn,
.mini-card-style-three .card-content .card-btn .primary-btn:hover,
.mini-card-style-three .card-content .card-btn .primary-btn:focus {
    background: var(--primary-dark);
    color: var(--white);
    box-shadow: var(--shadow-4);
}
.mini-card-style-three .card-content .card-btn .deactive.primary-btn {
    background: var(--gray-4);
    color: var(--dark-3);
    pointer-events: none;
}

/*===========================
    card-11 css - Improved spacing
  ===========================*/
.mini-card-style-three {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 2rem;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
    border: 1px solid #f1f5f9;
}

.mini-card-style-three:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.mini-card-style-three .card-image img {
    width: 100%;
    height: 300px;
    text-align: center;
    background-color: #e2e2e2;
    object-fit: cover;
    object-position: center;
}

#tab-terbaru .col-12:not(:first-child) {
    margin-top: 1em;
}

.rekomendasi {
    margin-block: 2em;
}

.rekomendasi-title {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 1.5em;
}

.rekomendasi-item {
    margin-block: 2em;
    padding-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 767px) {
    .mini-card-style-three .card-image img {
        height: 210px;
    }
}

.mini-card-style-three .card-content {
    padding: 1.5rem;
    min-height: 280px;
}

.rekomendasi {
    margin: 2rem 0;
}

.rekomendasi-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.rekomendasi-item {
    margin: 1.5rem 0;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.rekomendasi-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .mini-card-style-three .card-content,
    .rekomendasi {
        padding-left: 0;
        padding-right: 0;
    }
}

.mini-card-style-three .card-content .card-title,
.rekomendasi .card-title {
    margin-bottom: 0.75rem;
}
.mini-card-style-three .card-content .card-title a,
.rekomendasi a {
    font-size: 20px;
    line-height: 30px;
    color: var(--black);
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -ms-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

@media (max-width: 767px) {
    .mini-card-style-three .card-content .card-title a,
    .rekomendasi a {
        font-size: 18px;
    }
}
.mini-card-style-three .card-content .card-title a:hover,
.rekomendasi a:hover {
    color: var(--primary);
}

.mini-card-style-three .card-content .text,
.rekomendasi .text {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.mini-card-style-three .card-content .card-btn {
    margin-top: 1.5rem;
}

/*# sourceMappingURL=card-11.css.map */

/* card */

.truncated-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2; /* Standard property for compatibility */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.breadcrumb {
    gap: 10px;
    text-transform: uppercase;
    color: #6c6c6c;
    margin-bottom: 0;
    padding-bottom: 2em;
}

.breadcrumb a {
    color: #6c6c6c;
}

h1 {
    color: #3a3a3a;
}

.dokumen-terkait {
    /* position: relative; */
    border-radius: 15px;
    background: #155bd5;
    box-shadow: 0px 15px 15px -5px rgba(0, 0, 0, 0.14);
    padding: 1.5rem 2rem 1rem 2rem;
    color: white;
    overflow: hidden !important;
    transform-origin: top left;
}

.dokumen-terkait-title {
    font-weight: bold;
    font-size: 1.25rem;
}

.dokumen-terkait-items {
    margin-top: 1rem;
    z-index: 1;
}

.dokumen-terkait-item {
    margin-bottom: 0.5rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.37);

    /* position: relative; */
    z-index: 3;
}

.dokumen-terkait-item a {
    color: white !important;
}

.dokumen-terkait-item-title {
    display: block;
    font-family: "Roboto" !important;
    font-weight: 500;
    font-size: 1em;
}

.dokumen-terkait-item-desc {
    line-height: 1.2 !important;
    font-size: 0.8em;
    font-family: "Roboto" !important;
    color: white;
}

.dokumen-terkait ol {
    /* list-style-type: unset !important; */
    counter-reset: li;
    margin-top: 1.2rem;
}

.dokumen-terkait li {
    position: relative;
    padding: 2px 0 5px 45px;
}

.dokumen-terkait li::before {
    content: counter(li);
    counter-increment: li;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    color: white;
    text-align: center;
    position: absolute;
    background-color: #0c3b8d;
    left: 0;
    font-weight: bold;
    top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

aside {
    position: relative;
}

@media (max-width: 992px) {
    .section-2 .main-article {
        margin-right: 0;
        margin-bottom: 24px;
    }
    .search-wrapper {
        display: flex;
        justify-content: center;
    }

    .dokumen-terkait {
        padding: 1.5rem 3rem 1rem 1.5rem;
    }

    .section-2 .main-article img {
        height: 400px;
    }

    .article-nav {
        justify-content: space-between;
    }

    .section-2 .main-article .overlay {
        padding: 12px 12px 12px 12px;
    }

    .section-2 .main-article .overlay .judul {
        font-size: 16px;
    }

    .iklan-produk.desktop {
        display: none;
    }
    .iklan-produk.mobile {
        display: block;
    }
    .section-3 .article {
        margin-right: 0;
    }
}

/* page-by-label */
.heading {
    color: #3a3a3a;
    font-size: 2.5em !important;
}

.sub-heading {
    color: #6d6d6d;
    font-size: 1em !important;
    font-weight: normal !important;
}

/* CKEditor Styling - Keep Light Theme Always */
.ck-editor__editable_inline {
    min-height: 300px !important;
    border-radius: 8px !important;
    border: 1px solid #d1d5db !important;
    background: white !important;
    color: #374151 !important;
    font-family: "Roboto" !important;
    line-height: 2 !important;
}

/* CKEditor Content Styling - Match optimized article-content styles */
.ck-editor__editable_inline h1 {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 2rem 0 1.5rem 0 !important;
    color: #3a3a3a !important;
}

.ck-editor__editable_inline h2 {
    font-size: 1.875rem !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    margin: 2rem 0 1rem 0 !important;
    color: #3a3a3a !important;
}

.ck-editor__editable_inline h3 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 1.75rem 0 0.75rem 0 !important;
    color: #3a3a3a !important;
}

.ck-editor__editable_inline h4 {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 1.5rem 0 0.5rem 0 !important;
    color: #3a3a3a !important;
}

.ck-editor__editable_inline h5 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 1.25rem 0 0.5rem 0 !important;
    color: #3a3a3a !important;
}

.ck-editor__editable_inline h6 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    margin: 1rem 0 0.5rem 0 !important;
    color: #3a3a3a !important;
}

.ck-editor__editable_inline p {
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.7 !important;
    color: #374151 !important;
    font-family: "Roboto" !important;
}

.ck-editor__editable_inline ul {
    list-style: circle !important;
    margin: 1rem 0 1.5rem 1.5rem !important;
    padding-left: 0 !important;
}

.ck-editor__editable_inline ol {
    list-style: decimal !important;
    margin: 1rem 0 1.5rem 1.5rem !important;
    padding-left: 0 !important;
}

.ck-editor__editable_inline li {
    line-height: 1.7 !important;
    font-family: "Roboto" !important;
    margin-bottom: 0.5rem !important;
}

.ck-editor__editable_inline li:last-child {
    margin-bottom: 0 !important;
}

.ck-editor__editable_inline blockquote {
    margin: 2rem 0 !important;
    padding: 1.5rem 2rem !important;
    border-left: 4px solid #1559d5 !important;
    background: #f2f7ff !important;
    font-style: italic !important;
    color: #4b5563 !important;
    border-radius: 0 0.5rem 0.5rem 0 !important;
}

.ck-editor__editable_inline strong {
    font-weight: 700 !important;
}

.ck-editor__editable_inline em {
    font-style: italic !important;
}

.ck-editor__editable_inline a {
    color: #1559d5 !important;
    text-decoration: underline !important;
}

.ck-editor__editable_inline a:hover {
    color: #0c3b8d !important;
}

.ck-editor__editable_inline code {
    background: #f3f4f6 !important;
    color: #e11d48 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 0.375rem !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    font-size: 0.875em !important;
}

.ck-editor__editable_inline pre {
    background: #1e293b !important;
    color: #f1f5f9 !important;
    padding: 1.5rem !important;
    border-radius: 0.75rem !important;
    overflow-x: auto !important;
    margin: 2rem 0 !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
    line-height: 1.5 !important;
}

.ck-editor__editable_inline table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 2rem 0 !important;
    border-radius: 0.5rem !important;
    overflow: hidden !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.ck-editor__editable_inline table td,
.ck-editor__editable_inline table th {
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0.75rem 1rem !important;
    text-align: left !important;
}

.ck-editor__editable_inline table th {
    background: #f8fafc !important;
    font-weight: 600 !important;
    color: #374151 !important;
}

.ck-editor__editable_inline table tr:hover {
    background: #f9fafb !important;
}

.ck-editor__editable_inline img {
    display: block !important;
    margin: 2rem auto !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0.5rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.ck-editor__editable_inline figure {
    margin: 2rem 0 !important;
}

.ck-editor__editable_inline figure>figcaption {
    display: block !important;
    text-align: center !important;
    margin: 1rem auto !important;
    font-size: 0.9rem !important;
    font-style: italic !important;
    color: #6b7280 !important;
}

.ck-editor__top {
    border-radius: 8px 8px 0 0 !important;
    border: 1px solid #d1d5db !important;
    border-bottom: none !important;
    background: #f9fafb !important;
}

.ck-toolbar {
    border-radius: 8px 8px 0 0 !important;
    background: #f9fafb !important;
    border-color: #d1d5db !important;
}

/* Force CKEditor to stay light regardless of dark mode */
.dark .ck-editor__editable_inline,
.dark .ck-editor__top,
.dark .ck-toolbar {
    background: white !important;
    color: #374151 !important;
    border-color: #d1d5db !important;
}

/* Dark mode heading colors - keep readable in light editor */
.dark .ck-editor__editable_inline h1,
.dark .ck-editor__editable_inline h2,
.dark .ck-editor__editable_inline h3,
.dark .ck-editor__editable_inline h4,
.dark .ck-editor__editable_inline h5,
.dark .ck-editor__editable_inline h6 {
    color: #3a3a3a !important;
}

.dark .ck-editor__editable_inline p,
.dark .ck-editor__editable_inline li {
    color: #374151 !important;
}
