a {
    text-decoration: none;
}

.h4 {
    font-size: 24px;
}

.pagination {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 13px
}

.pagination>li {
    display: inline
}

.pagination>li>a,
.pagination>li>span {
    position: relative;
    float: left;
    padding: 7px 12px;
    line-height: 1.5384616;
    text-decoration: none;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    margin-left: -1px
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
    margin-left: 0;
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px
}

.pagination>li>a:hover,
.pagination>li>span:hover,
.pagination>li>a:focus,
.pagination>li>span:focus {
    z-index: 2;
    color: #333;
    background-color: #f5f5f5;
    border-color: #ddd
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    z-index: 3;
    color: #fff;
    background-color: #926814;
    border-color: #926814;
    cursor: default
}

.pagination>.disabled>span,
.pagination>.disabled>span:hover,
.pagination>.disabled>span:focus,
.pagination>.disabled>a,
.pagination>.disabled>a:hover,
.pagination>.disabled>a:focus {
    color: #bbb;
    background-color: #fff0;
    border-color: #ddd;
    cursor: not-allowed
}

.pagination-lg>li>a,
.pagination-lg>li>span {
    padding: 9px 15px;
    font-size: 14px;
    line-height: 1.4285715
}

.pagination-lg>li:first-child>a,
.pagination-lg>li:first-child>span {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px
}

.pagination-lg>li:last-child>a,
.pagination-lg>li:last-child>span {
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px
}

.pagination-sm>li>a,
.pagination-sm>li>span {
    padding: 6px 11px;
    font-size: 12px;
    line-height: 1.6666667
}

.pagination-sm>li:first-child>a,
.pagination-sm>li:first-child>span {
    border-bottom-left-radius: 2px;
    border-top-left-radius: 2px
}

.pagination-sm>li:last-child>a,
.pagination-sm>li:last-child>span {
    border-bottom-right-radius: 2px;
    border-top-right-radius: 2px
}

.pagination>.active>a,
.pagination>.active>span,
.pagination>.active>a:hover,
.pagination>.active>span:hover,
.pagination>.active>a:focus,
.pagination>.active>span:focus {
    z-index: 3;
    color: #fff;
    background-color: #be8c28;
    border-color: #be8c28;
    cursor: default
}

.pagination>li>a,
.pagination>li>span {
    min-width: 36px;
    text-align: center
}

.breadcrumb {
    margin-top: .5rem;
    padding: .5rem;
    background-color: #e9ecef;
    border-radius: .25rem
}

.breadcrumb-items {
    display: flex;
    flex-wrap: wrap;
    padding-inline-start: .5rem
}

.breadcrumb-item a {
    color: #767676
}

.breadcrumb-item.active span {
    color: #2767a5
}

.social-share {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.social-share h5 {
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-buttons a {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.share-buttons a:hover {
    opacity: 0.8;
}

.share-buttons i {
    margin-right: 5px;
}

.breadcrumb ul,
.breadcrumb ol {
    margin-bottom: 0;
    list-style: none;
    background-color: transparent;
    padding: 0;
}

.blog-page {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #212529;
}

/* Featured Article Card */
.featured-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.featured-card a {
    color: #fff;
}

.featured-card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.featured-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-card-image img {
    transform: scale(1.05);
}

.featured-card-content {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 30px;
    color: white;
}

.featured-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.95;
}

.featured-card-meta i {
    margin-right: 5px;
}

.featured-card-excerpt {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 15px;
}

.read-more-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.read-more-link:hover {
    color: white;
    gap: 10px;
}

/* Recent Posts List */
.recent-post-item {
    background: white;
    border-radius: 8px;
    padding: 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.recent-post-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.recent-post-link {
    display: flex;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
}

.recent-post-image {
    width: 120px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-image img {
    transform: scale(1.1);
}

.recent-post-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recent-post-title {
    font-size: 15px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-date {
    font-size: 13px;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 5px;
}

.recent-post-excerpt {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* posts Section Cards */
.post-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.post-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-card:hover .post-card-image img {
    transform: scale(1.08);
}

.post-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.post-card-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #212529;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-card-date {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-card-excerpt {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.view-more-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

.view-more-link:hover {
    gap: 10px;
}

nav.table-of-contents {
    background: #f1f7ff;
    padding: 10px 15px;
    margin: 15px 0;
    overflow: auto;
    border-radius: 10px;
}

nav.table-of-contents ul {
    list-style: none;
    padding-left: 0;
}

nav.table-of-contents ul li a {
    color: #2466c9;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.3s ease;
}

nav.table-of-contents ul li a:hover {
    text-decoration: underline;
}

nav.table-of-contents .tt_phu_luc {
    color: #2466c9;
    font-size: 15px;
    font-weight: bold;
}

nav.table-of-contents ul .ul_h2 {
    padding-left: 0;
}

nav.table-of-contents ul .ul_h3 {
    padding-left: 15px;
}

.post-content h1 {
    font-size: 24px;
    font-weight: bold;
}

.post-content h2 {
    font-size: 20px;
    font-weight: bold;
}

.post-content h3 {
    font-size: 16px;
    font-weight: bold;
}

.post-content p {
    font-size: 14px;
    line-height: 1.6;
}

.post-content a {
    color: #2466c9;
    text-decoration: none;
    font-weight: bold;
}
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.post-content table {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 14px;
}

.post-content table th {
    background-color: #f1f7ff;
    padding: 10px;
}

.post-content table td {
    padding: 10px;
}

.post-content table th,
.post-content table td {
    border: 1px solid #dee2e6;
}

.post-content table th {
    padding: 10px;
}

.post-content table td {
    padding: 10px;
}

.post-content table th,
.post-content table td {
    border: 1px solid #dee2e6;
}

.social-share {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.social-share h5 {
    margin-bottom: 15px;
    color: #333;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.share-buttons a {
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 14px;
    transition: opacity 0.3s;
}

.share-buttons a:hover {
    opacity: 0.8;
}

.share-buttons i {
    margin-right: 5px;
}

@media (max-width: 768px) {
    .featured-card-image {
        height: 200px;
    }

    .recent-post-image {
        width: 100px;
        height: 75px;
    }

    .post-card-image {
        height: 180px;
    }
    .post-content,.social-share{
        padding: 10px;
    }
    .mb-mobile-3{
        margin-bottom: 1rem !important;
    }
}