/* =========================================================
   KTMT BASIC / SUBJECT / POST DETAIL UI
   Clean version - removed duplicated selectors
========================================================= */

/* =========================================================
   1. BASIC PAGE COMMON
========================================================= */

.kt-basic-subject-page {
    color: #0f172a;
}

.kt-basic-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 30px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background-image: url(/resources/img/hero_banner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.kt-basic-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: #0f766e;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.kt-basic-title {
    margin: 0 0 14px;
    color: var(--text-color);
    font-size: clamp(1.75rem, 3vw, 2.55rem);
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

.kt-basic-description {
    display: flex;
    gap: 14px;
    max-width: 980px;
    margin-top: 12px;
    padding: 16px 18px;
    border-left: 4px solid #198754;
    border-radius: 0 18px 18px 0;
    background: rgba(255, 255, 255, .78);
    color: #334155;
    font-size: 16px;
    font-weight: 650;
    line-height: 1.68;
    text-align: justify;
}

.kt-basic-description i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: #198754;
    font-size: 20px;
}

.kt-basic-description p {
    margin-bottom: 0;
}

.kt-basic-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.kt-basic-stat {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 13px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .05);
}

.kt-basic-stat-value {
    color: #0f766e;
    font-size: 15px;
    font-weight: 850;
}

.kt-basic-stat-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.kt-basic-main-card {
    display: block;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .05);
}

.kt-basic-section-head {
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e5e7eb;
}

.kt-basic-section-head h2 {
    margin: 0 0 5px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 850;
    text-transform: uppercase;
}

.kt-basic-section-head h2 i {
    color: #198754;
}

.kt-basic-section-head p {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

/* =========================================================
   2. BASIC CATEGORY - SUBJECT GROUP LIST
========================================================= */

.kt-basic-subject-group-list {
    display: grid;
    gap: 18px;
}

.kt-basic-subject-group {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.kt-basic-subject-group-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    /* background:
        linear-gradient(135deg, rgba(25, 135, 84, .08), rgba(248, 250, 252, .9)); */
    background: rgb(3, 53, 86);
}

.kt-basic-subject-group-title {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    /* color: #0f172a; */
    color: white;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.35;
    text-decoration: none;
}

.kt-basic-subject-group-title:hover {
    color: #198754;
    text-decoration: none;
}

.kt-basic-subject-group-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #198754;
    flex: 0 0 auto;
}

.kt-basic-subject-group-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    color: #0f766e;
    font-size: 13px;
    font-weight: 850;
    white-space: nowrap;
}

.kt-basic-compact-post-list {
    display: grid;
}

.kt-basic-compact-post {
    display: flex;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid #eef2f7;
    transition: all .18s ease;
}

.kt-basic-compact-post:last-child {
    border-bottom: 0;
}

.kt-basic-compact-post:hover {
    background: #f8fafc;
}

.kt-basic-compact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    flex: 0 0 auto;
    margin-top: 2px;
}

.kt-basic-compact-body {
    min-width: 0;
    flex: 1;
}

.kt-basic-compact-title {
    display: inline-block;
    color: #0f172a;
    font-size: 15px;
    font-weight: 750;
    line-height: 1.45;
    text-decoration: none;
}

.kt-basic-compact-title:hover {
    color: #198754;
    text-decoration: none;
}

.kt-basic-compact-excerpt {
    margin-top: 5px;
    color: #64748b;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kt-basic-compact-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 10px;
    margin-top: 5px;
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
}

.kt-basic-view-all {
    padding: 11px 16px 14px;
    text-align: right;
    border-top: 1px solid #eef2f7;
}

.kt-basic-view-all a {
    display: inline-flex;
    align-items: center;
    color: #198754;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
}

.kt-basic-view-all a:hover {
    color: #0f766e;
    text-decoration: none;
}

.kt-basic-subject-empty {
    padding: 14px 16px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

/* =========================================================
   3. BASIC SUBJECT DETAIL - POST CARD LIST
========================================================= */

.kt-basic-post-list {
    display: grid;
    gap: 14px;
}

.kt-basic-post-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    transition: all .18s ease;
}

.kt-basic-post-card:hover {
    border-color: rgba(25, 135, 84, .35);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.kt-basic-post-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #ecfdf5;
    color: #198754;
    flex: 0 0 auto;
}

.kt-basic-post-body {
    min-width: 0;
    flex: 1;
}

.kt-basic-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.kt-basic-post-title {
    margin: 0;
    font-size: 17px;
    font-weight: 850;
    line-height: 1.45;
}

.kt-basic-post-title a {
    color: #0f172a;
    text-decoration: none;
}

.kt-basic-post-title a:hover {
    color: #198754;
    text-decoration: none;
}

.kt-basic-post-excerpt {
    margin-top: 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.kt-basic-post-action {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    margin-left: auto;
    padding-top: 2px;
}

.kt-basic-post-action a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    background: #f0fdf4;
    color: #15803d;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    text-decoration: none;
    transition: all .18s ease;
}

.kt-basic-post-action a:hover {
    background: #198754;
    border-color: #198754;
    color: #fff;
    text-decoration: none;
}

/* =========================================================
   4. EMPTY STATES
========================================================= */

.kt-basic-empty {
    padding: 36px 22px;
    border: 1px dashed #93c5fd;
    border-radius: 18px;
    background: #eff6ff;
    text-align: center;
}

.kt-basic-empty i {
    margin-bottom: 12px;
    color: #2563eb;
    font-size: 30px;
}

.kt-basic-empty h5 {
    margin-bottom: 6px;
    color: #0f172a;
    font-weight: 850;
}

.kt-basic-empty p {
    margin-bottom: 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.kt-basic-pagination .pagination {
    margin-bottom: 0;
}

/* =========================================================
   5. SIDEBAR / HIGHLIGHT / SUBJECT LIST
========================================================= */

.kt-basic-sidebar,
.sticky_basic {
    position: sticky;
    top: 60px;
    z-index: 10;
}

.kt-basic-highlight-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .08);
}

.kt-basic-highlight-header {
    padding: 15px 17px;
    background: linear-gradient(135deg, #198754, #157347, #0f172a);
    color: #fff;
    font-size: 15px;
    font-weight: 850;
    text-transform: uppercase;
}

.kt-basic-side-subject-list {
    display: grid;
    gap: 6px;
    padding: 12px;
}

.kt-basic-side-subject-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 14px;
    color: #334155;
    text-decoration: none;
    transition: all .18s ease;
}

.kt-basic-side-subject-item:hover {
    background: #f0fdf4;
    color: #198754;
    text-decoration: none;
}

.kt-basic-side-subject-name {
    flex: 1;
    min-width: 0;
    font-size: 16px;
    font-weight: 850;
    line-height: 1.35;
    color: var(--text-color);
}

.kt-basic-side-subject-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 12px;
    font-weight: 850;
}

.kt-basic-highlight-list {
    display: grid;
}

.kt-basic-highlight-item {
    display: grid;
    gap: 6px;
    padding: 15px 17px;
    border-bottom: 1px solid #eef2f7;
    color: #0f172a;
    text-decoration: none;
    transition: all .18s ease;
}

.kt-basic-highlight-item:last-child {
    border-bottom: 0;
}

.kt-basic-highlight-item:hover {
    background: #f8fafc;
    color: #198754;
    text-decoration: none;
}

.kt-basic-highlight-title {
    font-size: 15px;
    font-weight: 850;
    line-height: 1.45;
    color: var(--text-color);
}

.kt-basic-highlight-meta {
    color: #64748b;
    font-size: 12.5px;
    font-weight: 700;
}

.kt-basic-highlight-empty {
    padding: 16px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.featured-sidebar-card {
    overflow: hidden;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.featured-sidebar-card .card-header {
    background: linear-gradient(135deg, #198754, #157347, #0f172a) !important;
    border-bottom: 0;
    padding: 14px 16px;
}

.featured-sidebar-card .list-group-item {
    padding: 13px 15px;
    border-color: #eef2f7;
}

.featured-sidebar-card .list-group-item a {
    display: block;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    text-decoration: none;
}

.featured-sidebar-card .list-group-item:hover {
    background: #f8fafc;
}

.featured-sidebar-card .list-group-item a:hover {
    color: #198754;
    text-decoration: none;
}

/* =========================================================
   6. BADGES
========================================================= */

.badge.bg-free {
    background: #dcfce7;
    color: #15803d;
}

/* .badge.bg-basic {
    background: #e0f2fe;
    color: #0369a1;
}

.badge.bg-premium {
    background: #1e293b;
}

.badge.bg-purple {
    background: #7c3aed;
} */

/* =========================================================
   7. POST DETAIL HEADER
========================================================= */

.post-detail-layout {
    align-items: flex-start;
}

.post-main-col {
    min-width: 0;
}

.post-head {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.post-detail-title {
    margin: 0 0 14px;
    color: #0f172a;
    font-size: clamp(1.65rem, 2.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -0.025em;
    text-align: left;
}

.post-meta-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.post-meta-date {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.post-meta-date i {
    color: #198754;
}

.post-share-wrap {
    min-width: 0;
}

.post-share-wrap .share-box,
.post-share-wrap .ktmt-share-box {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.post-share-wrap .share-box {
    gap: 6px !important;
}

.post-share-wrap .share-label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
}

.post-share-wrap .share-btn,
.post-share-wrap .ktmt-share-btn {
    border-radius: 999px !important;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    line-height: 1.2;
}

.post-excerpt-box {
    margin-bottom: 18px;
    padding: 15px 17px;
    border-left: 4px solid #198754;
    border-radius: 0 16px 16px 0;
    background:
        linear-gradient(135deg, rgba(25, 135, 84, .08), rgba(248, 250, 252, .95));
    color: #334155;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.68;
}

.post-excerpt-box p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   8. TABLE OF CONTENTS - TREE HIERARCHY
========================================================= */

.table-of-contents {
    --toc-trunk-left: 0.35cm;
    --toc-parent-gap: 1cm;
    --toc-child-gap: 1.5cm;
    --toc-grandchild-gap: 2cm;
    --toc-level4-gap: 2.5cm;

    margin-top: 18px !important;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #c7d2fe;
    border-radius: 18px;
    background:
        radial-gradient(circle at top right, rgba(25, 135, 84, .12), transparent 34%),
        linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 12px 28px rgba(15, 23, 42, .07);
}

.table-of-contents h5 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .01em;
}

.table-of-contents h5::before {
    content: "\f03a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #198754;
    font-size: 15px;
}

.table-of-contents ul {
    position: relative;
    display: block !important;
    grid-template-columns: none !important;
    margin: 0;
    padding: 0;
    list-style: none;
}

.table-of-contents ul::before {
    content: "";
    position: absolute;
    left: var(--toc-trunk-left);
    top: 8px;
    bottom: 8px;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(to bottom,
            rgba(25, 135, 84, .9),
            rgba(25, 135, 84, .08));
}

.table-of-contents li {
    position: relative;
    margin: 0;
    line-height: 1.45;
}

.table-of-contents a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.45;
    text-decoration: none;
    transition: all .18s ease;
}

.table-of-contents a:hover,
.table-of-contents a.is-active {
    background: #ecfdf5;
    color: #198754 !important;
    text-decoration: none;
}

.table-of-contents .toc-h2 {
    padding-left: calc(var(--toc-trunk-left) + var(--toc-parent-gap)) !important;
}

.table-of-contents .toc-h2::before {
    content: "";
    position: absolute;
    left: calc(var(--toc-trunk-left) - 5px);
    top: 15px;
    width: 12px;
    height: 12px;
    border: 2px solid #198754;
    border-radius: 999px;
    background: #198754;
    z-index: 2;
}

.table-of-contents .toc-h2::after {
    content: "";
    position: absolute;
    left: var(--toc-trunk-left);
    top: 20px;
    width: var(--toc-parent-gap);
    height: 2px;
    border-radius: 999px;
    background: rgba(25, 135, 84, .35);
}

.table-of-contents .toc-h2 a {
    color: #0f766e;
    font-size: 15px;
    font-weight: 850;
}

.table-of-contents .toc-h3 {
    padding-left: calc(var(--toc-trunk-left) + var(--toc-child-gap)) !important;
}

.table-of-contents .toc-h3::before {
    content: "";
    position: absolute;
    left: calc(var(--toc-trunk-left) + var(--toc-child-gap) - .28cm);
    top: 16px;
    width: 10px;
    height: 10px;
    border: 2px solid #2563eb;
    border-radius: 999px;
    background: #fff;
    z-index: 2;
}

.table-of-contents .toc-h3::after {
    content: "";
    position: absolute;
    left: var(--toc-trunk-left);
    top: 20px;
    width: calc(var(--toc-child-gap) - .15cm);
    height: 2px;
    border-radius: 999px;
    background: rgba(37, 99, 235, .28);
}

.table-of-contents .toc-h3 a {
    color: #1d4ed8;
    font-size: 14px;
    font-weight: 800;
}

.table-of-contents .toc-h4 {
    padding-left: calc(var(--toc-trunk-left) + var(--toc-grandchild-gap)) !important;
}

.table-of-contents .toc-h4::before {
    content: "";
    position: absolute;
    left: calc(var(--toc-trunk-left) + var(--toc-grandchild-gap) - .28cm);
    top: 17px;
    width: 8px;
    height: 8px;
    border: 2px solid #111827;
    border-radius: 999px;
    background: #fff;
    z-index: 2;
}

.table-of-contents .toc-h4::after {
    content: "";
    position: absolute;
    left: var(--toc-trunk-left);
    top: 20px;
    width: calc(var(--toc-grandchild-gap) - .15cm);
    height: 2px;
    border-radius: 999px;
    background: rgba(47, 41, 58, .22);
}

.table-of-contents .toc-h4 a {
    color: #111827;
    font-size: 15px;
    font-weight: 650;
}

.table-of-contents .toc-h5 {
    padding-left: calc(var(--toc-trunk-left) + var(--toc-level4-gap)) !important;
}

.table-of-contents .toc-h5::before {
    content: "";
    position: absolute;
    left: calc(var(--toc-trunk-left) + var(--toc-level4-gap) - .28cm);
    top: 17px;
    width: 7px;
    height: 7px;
    border: 2px solid #94a3b8;
    border-radius: 999px;
    background: #fff;
    z-index: 2;
}

.table-of-contents .toc-h5::after {
    content: "";
    position: absolute;
    left: var(--toc-trunk-left);
    top: 20px;
    width: calc(var(--toc-level4-gap) - .15cm);
    height: 2px;
    border-radius: 999px;
    background: rgba(100, 116, 139, .18);
}

.table-of-contents .toc-h5 a {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    font-style: italic;
}

/* =========================================================
   9. POST CONTENT BASIC
========================================================= */

.post-article-content {
    color: #1f2937;
    font-size: 16px;
    line-height: 1.78;
    text-align: justify;
}

.post-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.post-album-slider {
    overflow: hidden;
    border-radius: 16px;
    background: #f8fafc;
}

.post-album-slider img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
}

/* =========================================================
   10. RESPONSIVE
========================================================= */

@media (max-width: 991.98px) {

    .kt-basic-sidebar,
    .sticky_basic {
        position: static;
        top: auto;
    }

    .kt-basic-post-card {
        flex-direction: column;
    }

    .kt-basic-post-action {
        margin-left: 0;
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .post-detail-title {
        font-size: 1.55rem;
        line-height: 1.32;
    }

    .post-meta-share {
        align-items: flex-start;
        gap: 10px;
    }

    .post-share-wrap {
        width: 100%;
    }

    .post-share-wrap .share-box,
    .post-share-wrap .ktmt-share-box {
        width: 100%;
    }

    .post-excerpt-box {
        padding: 13px 15px;
        border-radius: 0 14px 14px 0;
        font-size: 15.5px;
    }

    .table-of-contents {
        --toc-trunk-left: .25cm;
        --toc-parent-gap: .65cm;
        --toc-child-gap: 1cm;
        --toc-grandchild-gap: 1.35cm;
        --toc-level4-gap: 1.65cm;

        padding: 15px;
        border-radius: 16px;
    }

    .post-article-content {
        font-size: 15.5px;
        line-height: 1.72;
    }
}

@media (max-width: 575.98px) {
    .kt-basic-hero {
        padding: 22px 18px;
        border-radius: 20px;
    }
    .kt-advance-hero {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .kt-basic-title {
        font-size: 1.65rem;
    }

    .kt-basic-description {
        padding: 14px 15px;
        font-size: 15px;
    }

    .kt-basic-main-card,
    .kt-basic-highlight-card {
        border-radius: 18px;
    }

    .kt-basic-main-card {
        padding: 15px;
    }

    .kt-basic-subject-group {
        border-radius: 16px;
    }

    .kt-basic-subject-group-head {
        align-items: center;
        flex-direction: row;
    }

    .kt-basic-post-card {
        padding: 15px;
        border-radius: 16px;
    }

    .kt-basic-post-title {
        font-size: 16px;
    }

    .post-share-wrap .share-btn,
    .post-share-wrap .ktmt-share-btn {
        min-width: 36px;
        padding: 7px 9px;
    }

    .table-of-contents a {
        padding: 6px 8px;
        font-size: 13.5px;
    }
}

/* ADVANCE */
/* =========================================================
   SIDEBAR SCROLL SUBJECT LIST
========================================================= */

.kt-basic-sidebar {
    position: sticky;
    top: 60px;
    z-index: 10;
}

.kt-basic-scroll-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 84px);
}

.kt-basic-scroll-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 0 0 auto;
}

.kt-basic-header-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
}

.kt-basic-side-subject-scroll {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100vh - 230px);
    overflow-y: auto;
    padding: 12px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: rgba(25, 135, 84, .45) #f1f5f9;
}

.kt-basic-side-subject-scroll::-webkit-scrollbar {
    width: 7px;
}

.kt-basic-side-subject-scroll::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 999px;
}

.kt-basic-side-subject-scroll::-webkit-scrollbar-thumb {
    background: rgba(25, 135, 84, .45);
    border-radius: 999px;
}

.kt-basic-side-subject-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(25, 135, 84, .7);
}

.kt-basic-scroll-card .kt-basic-side-subject-list {
    padding: 0;
    gap: 6px;
}

.kt-basic-side-subject-item {
    position: relative;
}

.kt-basic-side-subject-item.is-active {
    background: #ecfdf5;
    color: #198754;
}

.kt-basic-side-subject-item.is-active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    bottom: 11px;
    width: 3px;
    border-radius: 999px;
    background: #198754;
}

.kt-basic-side-subject-item.is-active .kt-basic-side-subject-count {
    background: #198754;
    color: #fff;
}

@media (max-width: 991.98px) {
    .kt-basic-sidebar {
        position: static;
        top: auto;
    }

    .kt-basic-scroll-card {
        max-height: none;
    }

    .kt-basic-side-subject-scroll {
        max-height: 360px;
    }
}
.kt-advance-hero {
    position: relative;
    overflow: hidden;
    padding: 28px 30px;
    border: 1px solid #dbeafe;
    border-radius: 24px;
    background-image: url(/resources/img/advance_banner.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
