 /*
   Theme Name:   KMDT Investment
   Description:  Flatsome Child Theme
   Author:       Vũ Tòng
   Template:     flatsome
   Version:      1.0.0
   */
   
a:where(:not(.wp-element-button)) {
    text-decoration: none !important;
}

/* CSS cho các bi viết trong shortcode */
.bctc-custom-post {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bctc-custom-post .post-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
}

.bctc-custom-post .post-item:first-child {
	border-bottom: 1px solid #ccc;
}

/* CSS cho bài viết đầu tiên */
.bctc-custom-post .post-item:first-child .post-thumbnail {
    width: 100%;
    height: auto;
    margin-bottom: 15px;
}

.bctc-custom-post .post-item:first-child .post-title {
    font-size: 24px !important;
    margin-bottom: 10px;
}

.bctc-custom-post .post-item:first-child .post-excerpt {
    max-height: none; /* Mở rộng hết đoạn trích cho bài đầu tiên */
}

.bctc-custom-post .post-item:first-child .read-more {
	display: inline-block;
    margin-top: 10px;
    padding: 4px 10px;
    border: 1px solid #276793;
    color: #276793;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.bctc-custom-post .post-item:first-child .read-more:hover {
	background-color: #276793 !important;
    color: #fff !important;
}

/* CSS cho các bi viết tiếp theo */
.bctc-custom-post .post-item:not(:first-child) {
    display: flex;
    gap: 20px;
}

.bctc-custom-post .post-item:not(:first-child) .post-thumbnail {
    width: 100%; /* Ảnh chiếm 40% */
    height: auto;
}

.bctc-custom-post .post-item:not(:first-child) .post-content {
    width: 60%; /* Nội dung chiếm 60% */
}

.bctc-custom-post .post-item .post-title a {
	color: #262626e6 !important;
	font-size: 18px;
}

.bctc-custom-post .post-item .post-title {
    font-size: 20px;
    margin: 10px 0;
}

.bctc-custom-post .post-item .post-date {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.bctc-custom-post .post-item .post-excerpt {
	font-size: 15px;
    line-height: 1.5;
    max-height: 4.5em;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CSS cho phân trang */
.bctc-custom-post .pagination {
    text-align: center;
    margin-top: 20px;
}

.bctc-custom-post .pagination a,
.bctc-custom-post .pagination span {
    display: inline-block;
    padding: 8px 16px;
    margin: 0 4px;
    background-color: #f0f0f0;
    text-decoration: none;
    color: #333;
    border-radius: 4px;
}

.bctc-custom-post .pagination a:hover,
.bctc-custom-post .pagination span.current {
    background-color: #0073e6;
    color: white;
}

.bctc-custom-post .pagination a.prev,
.bctc-custom-post .pagination a.next {
    font-weight: bold;
}

.pagination {
    text-align: center;
    margin-top: 20px;
}

.pagination .page-numbers {
    display: inline-block;
    margin: 0 5px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s ease;
}

.pagination .page-numbers:hover {
    background-color: #f4f4f4;
    border-color: #bbb;
}

.pagination .page-numbers.current {
    background-color: #0073e6;
    color: #fff;
    border-color: #0073e6;
    font-weight: bold;
}

.pagination .next.page-numbers {
    background-color: #fff;
    border-color: #0073e6;
    color: #0073e6;
}

.pagination .next.page-numbers:hover {
    background-color: #0073e6;
    color: #fff;
}
ul#menu-phan-tich-nganh li a {
    color: #262626;
}