/* UTM Bebas font registration */
@font-face {
	font-family: 'UTM Bebas';
	src: url('../fonts/UTM Bebas.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* Utility class to apply the font */
* {
	font-family: 'UTM Bebas', sans-serif;
}

.sidebar {
    padding-top: 15px;
}

.sidebar .search-form {
    padding: 0 25px;
}

.sidebar .search-form .search-field {
    background: transparent;
    border-bottom: 1px solid #a1a1a1;
    border-radius: 0;
    width: 100%;
}

.sidebar .search-form button {
    display: block;
    border-radius: 0;
    width: 100%;
    font-size: 20px;
    background: #459f6d;
    padding: 10px;
}

.sidebar_content {
    margin-bottom: 50px;
}

.sidebar_title {
    font-size: 1rem;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    font-weight: bold;
}

@media screen and (min-width: 1300px) {
    .sidebar_title {
        font-size: 14px;
    }
}

.sidebar_list {
    border: 1px solid #ddd;           /* thay $border-color bằng màu thực tế */
    padding: 0 0 20px 0;
    position: relative;
}

.sidebar_list-mucluc {
    padding: 20px 0;
    margin: 20px 0;
}

.sidebar_list-mucluc h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.sidebar_list-mucluc ul {
    font-weight: bold;
    font-size: 1.8rem;
    padding-left: 24% !important;
}

.sidebar_list-mucluc li {
    margin-bottom: 0 !important;
}

.sidebar_list a {
    color: #089245;
    font-weight: bold;
}

.sidebar_list ul {
    list-style: none;
    padding: 0 10px;
    font-size: 13px;
}

.sidebar_list ul li {
    margin-bottom: 20px;
}

.sidebar_list ul li:last-child {
    margin-bottom: 0;
}

.sidebar_list ul li:hover {
    color: #e0810c;
}

.sidebar_list ul li:hover a {
    color: #e0810c;
}

.sidebar_list ul li i {
    padding-right: 5px;
}

.sidebar_list .sidebar_title {
    background: #fff;
    position: absolute;
    top: -15px;
    padding: 0 20px;
    margin-bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    min-width: 60%;
}

.sidebar_list .sidebar_title-long {
    width: 90%;
}

@media screen and (min-width: 1500px) {
    .sidebar_list .sidebar_title-long {
        width: 82%;
    }
}

.sidebar_list .sidebar_title-short {
    width: 100%;
    font-size: 2rem;
}

.sidebar_list.sidebar_tailieu {
    padding: 30px 0;
}

.sidebar_list.sidebar_tailieu li {
    position: relative;
    padding-left: 30px;
}

.sidebar_list.sidebar_tailieu li:before {
    content: '';
    background-image: url('../images/icon-tailieu.png');
    background-repeat: no-repeat;
    background-size: contain;
    left: 0;
    top: -5px;
    position: absolute;
    width: 30px;
    height: 20px;
}

/* Chuyên mục */
.sidebar_chuyenmuc {
    background: #459f6d;
    list-style: none;
    padding: 10px 0;
    font-size: 1.5rem;
    border-radius: 10px;
    border: 1px solid #ddd;           /* thay $border-color */
}

@media screen and (min-width: 1300px) {
    .sidebar_chuyenmuc {
        font-size: 14px;
        padding: 30px 0;
    }
}

@media screen and (min-width: 1400px) {
    .sidebar_chuyenmuc {
        font-size: 14px;
        padding: 30px 0;
    }
}

.sidebar_chuyenmuc a {
    color: #fff;
    font-weight: bold;
}

.sidebar_chuyenmuc li {
    padding: 10px 15px;
}

@media screen and (min-width: 1300px) {
    .sidebar_chuyenmuc li {
        padding: 10px 25px;
    }
}

.sidebar_chuyenmuc li:hover {
    background: #fff;
}

.sidebar_chuyenmuc li:hover a {
    color: #089245;                   /* thay $primary-color */
}

.sidebar_chuyenmuc li i {
    padding-right: 15px;
}

/* Bài viết gần đây */
.sidebar_post {
    list-style: none;
    padding: 0;
    font-size: 2rem;
    font-weight: bold;
}

.sidebar_post li {
    display: flex;
}

.sidebar_postLeft {
    width: 80px;
    height: 80px;
    margin-right: 20px;
}

.sidebar_postRight {
    padding-top: 10px;
}

/* Course list re-uses document styles; add specific hook class if needed */
.basic-course { }

/* Custom search shortcode styles */
.custom-search-form {
    padding: 25px;
}
.custom-search-form .search-field {
    display: block;
    width: 100%;
    border: none;
    border-bottom: 1px solid #cfcfcf;
    padding: 12px 10px;
    font-size: 16px;
    color: #666;
    background: transparent;
    outline: none;
}
.custom-search-form .search-field::placeholder {
    color: #9b9b9b;
}
.custom-search-form .search-submit {
    margin-top: 18px;
    display: block;
    width: 100%;
    background: #459f6d;
    color: #fff;
    border: none;
    padding: 18px 12px;
    font-size: 18px;
    text-align: center;
    cursor: pointer;
}
.search-custom-box { text-align: center; }
.search-custom-box .sidebar_title { margin-bottom: 18px; }

/* Document category archive styles */
.document-children { margin-top: 20px; }
.document-child { margin-bottom: 18px; }
.document-child-card { border: 1px solid #0ea04a; border-radius: 12px; padding: 12px; display:flex; align-items:center; background:#fff; }
.document-child-thumb img, .document-child-thumb .term-thumb-placeholder { width:120px; height:80px; object-fit:cover; border-radius:6px; margin-right:16px; }
.term-thumb-placeholder { background:#e9f6ee; display:inline-block; }
.document-child-title { margin:0; font-size:18px; color:#0a7a3a; font-weight:700; }

.document-grid { margin-top:20px; }
.document-item { margin-bottom:18px; }
.document-card { border:1px solid #0ea04a; border-radius:12px; padding:12px; display:flex; align-items:center; text-decoration:none; background:#fff; }
.document-thumb { width:120px; height:80px; object-fit:cover; border-radius:6px; margin-right:16px; }
.document-thumb-placeholder { width:120px; height:80px; background:#f3f3f3; display:inline-block; border-radius:6px; margin-right:16px; }
.document-title { margin:0; font-size:18px; color:#000; font-weight:700; }
.document-pagination { margin-top:20px; text-align:center; }

/* Single document styles */
#single_document_section { padding: 30px 0; }
.document-single-header { margin-bottom: 18px; }
.document-single-title { font-size: 28px; color:#0a7a3a; font-weight:700; }
.document-single-body { display:flex; gap:20px; align-items:flex-start; }
.document-single-centered { display:block; text-align:center; }
.document-single-thumb-wrap { margin: 18px 0 22px; }
.document-single-thumb { width:260px; height:360px; object-fit:cover; border-radius:8px; display:inline-block; }
.document-single-content-wrap { max-width:920px; margin:0 auto; text-align:left; }
.document-attachment { margin-top:18px; font-weight:700; }
.document-download-link { color:#0b66d0; font-weight:700; text-decoration:underline; }



