/* ============ NEWS BANNER ============ */
.news-banner {
    position: relative;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 40%, #0f3460 100%);
    overflow: hidden;
    text-align: center;
}

.news-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(248, 139, 0, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(251, 173, 21, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.news-banner::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--main-color), var(--second-main-color), var(--main-color));
}

.news-banner h1 {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    font-size: 52px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    letter-spacing: -1px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.news-banner-sub {
    position: relative;
    z-index: 1;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* ============ NEWS LAYOUT ============ */
.wrapper-news-page {
    background: #f4f7fc;
}

.news-box {
    display: flex;
    padding: 40px 0px;
    gap: 30px;
}

.news-box .top-news.box {
    display: none;
}

.news-box .left-box {
    width: 240px;
    min-width: 240px;
    padding: 0;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Custom scrollbar for sidebar */
.news-box .left-box::-webkit-scrollbar {
    width: 4px;
}

.news-box .left-box::-webkit-scrollbar-track {
    background: transparent;
}

.news-box .left-box::-webkit-scrollbar-thumb {
    background: rgba(248, 139, 0, 0.3);
    border-radius: 4px;
}

.news-box .right-box {
    flex: 1;
    padding: 0;
    min-width: 0;
}

/* ============ SIDEBAR CATEGORIES ============ */
.news-box .left-box .title-news-page {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #222;
    letter-spacing: 1.5px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--main-color);
}

.news-box .left-box .list-category {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef1f5;
}

.news-box .left-box .item-category {
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    background-color: #fff;
    padding-left: 0;
    transition: all 0.3s ease;
}

.news-box .left-box .item-category:last-child {
    border-bottom: none;
}

.news-box .left-box .item-category:hover {
    background-color: rgba(248, 139, 0, 0.04);
}

.news-box .left-box .item-category.active {
    background-color: rgba(248, 139, 0, 0.08);
}

.news-box .left-box .item-category.active a {
    color: var(--main-color);
    font-weight: 600;
}

.news-box .left-box .item-category a {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    margin: 0;
    font-size: 13px;
    color: #555;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.news-box .left-box .item-category a:hover {
    color: var(--main-color);
    padding-left: 18px;
}

.news-box .left-box .item-category a::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--main-color);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.news-box .left-box .item-category.active a::before,
.news-box .left-box .item-category a:hover::before {
    opacity: 1;
}

.news-box .left-box .item-category a::after {
    display: none;
}

/* ============ FILTER BAR ============ */
.filter-wrap {
    background: #fff;
    padding: 20px 24px;
    border-radius: 14px;
    margin-bottom: 24px;
    border: 1px solid #e8ecf1;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.filter-top-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.filter-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(248, 139, 0, 0.1), rgba(251, 173, 21, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--main-color);
    font-size: 16px;
    flex-shrink: 0;
}

.filter-wrap .title {
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    color: #222;
    margin-bottom: 0;
}

.filter-wrap .description {
    font-style: normal;
    margin: 0;
    color: #999;
    font-size: 13px;
}

.filter-wrap .filter-form {
    margin-top: 0;
}

.filter-wrap .filter-form form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.filter-wrap .filter-form .filter-box {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.filter-wrap .filter-form .filter-box.search-box {
    flex: 1.5;
}

.filter-wrap .filter-form .filter-box label {
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-input-wrap {
    position: relative;
}

.search-input-wrap .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #bbb;
    font-size: 14px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input-wrap input {
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dfe3e9;
    height: 42px;
    width: 100%;
    padding: 0 12px 0 36px;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.search-input-wrap input:focus {
    border-color: var(--main-color);
    box-shadow: 0 0 0 3px rgba(248, 139, 0, 0.08);
    background: #fff;
}

.search-input-wrap input:focus+.search-icon,
.search-input-wrap input:focus~.search-icon {
    color: var(--main-color);
}

.filter-wrap .filter-form .filter-box select {
    font-size: 14px;
    color: #333;
    background-color: #f8f9fa;
    border: 1px solid #dfe3e9;
    height: 42px;
    width: 100%;
    padding: 0 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.filter-wrap .filter-form .filter-box select:focus {
    border-color: var(--main-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(248, 139, 0, 0.08);
}

.filter-wrap .filter-form .apply {
    height: 42px;
    background: linear-gradient(135deg, var(--main-color), var(--second-main-color));
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0 20px;
    line-height: 42px;
    min-width: 110px;
    font-size: 14px;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(248, 139, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.filter-wrap .filter-form .apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(248, 139, 0, 0.3);
}

/* ============ ACTIVE FILTERS ============ */
.active-filters {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.active-filters-label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(248, 139, 0, 0.08);
    border: 1px solid rgba(248, 139, 0, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: var(--main-color);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

.filter-tag:hover {
    background: rgba(248, 139, 0, 0.15);
    border-color: rgba(248, 139, 0, 0.35);
}

.filter-tag .fa-xmark {
    font-size: 10px;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.filter-tag:hover .fa-xmark {
    opacity: 1;
}

.filter-clear {
    font-size: 13px;
    color: #999;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.filter-clear:hover {
    color: #e53e3e;
    background: rgba(229, 62, 62, 0.06);
}

/* ============ RESULTS COUNT ============ */
.news-results-count {
    font-size: 14px;
    color: #888;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f5;
    font-weight: 500;
}

/* ============ NEWS CARDS ============ */
.news-body .news-index {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-body .item-news-index {
    margin-bottom: 0;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef1f5;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-body .item-news-index:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.07);
    border-color: rgba(248, 139, 0, 0.15);
}

.news-body .item-news-index a {
    display: flex;
    text-decoration: none;
}

.news-body .item-news-index a .img-autor {
    margin-right: 0;
    width: 220px;
    height: auto;
    min-width: 220px;
    min-height: 170px;
    border-radius: 0;
    overflow: hidden;
    position: relative;
}

.news-body .item-news-index a .img-autor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-body .item-news-index:hover a .img-autor img {
    transform: scale(1.06);
}

.news-body .item-news-index .content-news-box {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

/* Category tag badge */
.news-category-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(248, 139, 0, 0.1);
    color: var(--main-color);
    margin-bottom: 8px;
    width: fit-content;
}

.content-news-box .date {
    color: #999;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.content-news-box .head-news {
    margin-bottom: 8px;
    font-size: 18px;
    font-weight: 700;
    color: #222;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-body .item-news-index:hover .head-news {
    color: var(--main-color);
}

.content-news-box .description-news {
    color: #777;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

/* News meta (date + read more) */
.news-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.news-meta .date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #aaa;
    font-weight: 500;
    margin: 0;
}

.news-meta .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s ease;
}

.news-body .item-news-index:hover .read-more {
    opacity: 1;
    transform: translateX(0);
}

/* ============ NO RESULTS ============ */
.no-results {
    background: #fff !important;
    border: 1px dashed #ddd !important;
}

.no-results-content {
    padding: 60px 24px;
    text-align: center;
    width: 100%;
}

.no-results-icon {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 16px;
}

.no-results .head-news {
    text-align: center;
    color: #555 !important;
}

.no-results .description-news {
    text-align: center;
    -webkit-line-clamp: unset !important;
    max-width: 400px;
    margin: 0 auto;
}

/* ============ PAGINATION ============ */
.pagination-num {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 28px;
    margin-top: 8px;
}

.pagination-num .prev,
.pagination-num .next {
    height: 40px;
    background: linear-gradient(135deg, var(--main-color), var(--second-main-color));
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    padding: 0 20px;
    line-height: 40px;
    min-width: 90px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(248, 139, 0, 0.2);
    text-decoration: none;
}

.pagination-num .prev:hover,
.pagination-num .next:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(248, 139, 0, 0.3);
}

.pagination-num .prev.disabled,
.pagination-num .next.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination-num .item-pagination {
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #555;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
    background: #fff;
    border: 1px solid #e8ecf1;
}

.pagination-num .item-pagination a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.pagination-num .item-pagination.esclip {
    background: transparent !important;
    cursor: default !important;
    color: #999 !important;
    border: none;
}

.pagination-num .item-pagination.active,
.pagination-num .item-pagination:hover {
    background: var(--main-color);
    color: #fff;
    border-color: var(--main-color);
}

/* ============ MOBILE CATEGORY DROPDOWN ============ */
.main-news .top-news-mobile {
    display: none;
    position: relative;
}

.top-news-mobile .box-dropdown {
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1;
    padding: 15px 0px;
    color: var(--main-color);
    border-bottom: 1px solid #e9ecef;
}

.top-news-mobile .box-dropdown h2 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.top-news-mobile .box-dropdown i {
    transition: all .2s ease-in-out;
}

.top-news-mobile .box-dropdown i.active {
    transform: rotate(180deg);
}

.top-news-mobile .list-category {
    position: absolute;
    width: 100%;
    z-index: 2;
    background-color: #fff;
    border-radius: 12px;
    transform: scaleY(0%);
    transform-origin: top;
    overflow: hidden;
    transition: all .3s ease-in-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.top-news-mobile .list-category.active {
    transform: scaleY(100%);
}

.top-news-mobile .list-category a {
    display: inline-block;
    font-size: 14px;
    padding: 10px 16px;
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.top-news-mobile .list-category a:hover {
    background: rgba(248, 139, 0, 0.06);
    color: var(--main-color);
}

/* ============ SCROLL ANIMATIONS ============ */
.news-animate {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.news-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.news-animate.delay-1 {
    transition-delay: 0.1s;
}

.news-animate.delay-2 {
    transition-delay: 0.15s;
}

.news-animate.delay-3 {
    transition-delay: 0.2s;
}

.news-animate.delay-4 {
    transition-delay: 0.25s;
}

.news-animate.delay-5 {
    transition-delay: 0.3s;
}

/* ============ NEWS DETAIL BANNER ============ */
.news-banner--detail {
    padding: 80px 0 50px;
    text-align: center;
}

.news-banner--detail h1 {
    font-size: 38px;
    max-width: 850px;
    margin: 0 auto 16px;
    line-height: 1.3;
}

.news-banner-breadcrumb {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.news-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

.news-banner-breadcrumb a:hover {
    color: var(--main-color);
}

.news-banner-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-banner-breadcrumb .fa-chevron-right {
    font-size: 9px;
    opacity: 0.4;
}

.news-banner-meta {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.news-banner-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.news-banner-meta .meta-category {
    background: rgba(248, 139, 0, 0.2);
    color: var(--second-main-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============ NEWS DETAIL LAYOUT ============ */
.main-news-detail {
    display: flex;
    padding: 40px 0 60px;
    gap: 40px;
    color: #575756;
}

.news-detail-page .left-detail-news {
    flex: 1;
    min-width: 0;
}

.news-detail-page .right-detail-news {
    width: 280px;
    min-width: 280px;
    position: sticky;
    top: 20px;
    align-self: flex-start;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* Custom scrollbar */
.news-detail-page .right-detail-news::-webkit-scrollbar {
    width: 3px;
}

.news-detail-page .right-detail-news::-webkit-scrollbar-thumb {
    background: rgba(248, 139, 0, 0.2);
    border-radius: 4px;
}

/* ============ FEATURED IMAGE ============ */
.detail-featured-image {
    margin-bottom: 28px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.detail-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

.featured-image-caption {
    padding: 12px 16px;
    font-size: 13px;
    font-style: italic;
    color: #888;
    background: #fafbfc;
    margin: 0;
    border-top: 1px solid #f0f0f0;
    line-height: 1.5;
}

/* ============ ARTICLE CONTENT ============ */
.news-detail-page .content-detail-news .content {
    font-size: 16px;
    padding: 0 0 24px;
    margin: 0;
    font-weight: 400;
    line-height: 1.85;
    color: #444;
}

.news-detail-page .content-detail-news .content p {
    margin-bottom: 16px;
}

.news-detail-page .content-detail-news .content p:first-child {
    font-size: 18px;
    color: #333;
    line-height: 1.7;
}

.news-detail-page .content-detail-news .content blockquote {
    border-left: 4px solid var(--main-color);
    margin: 24px 0;
    padding: 16px 20px;
    background: rgba(248, 139, 0, 0.04);
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #555;
}

.news-detail-page .content-detail-news .content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 16px 0;
}

.news-detail-page .content-detail-news .content h2,
.news-detail-page .content-detail-news .content h3 {
    color: #222;
    margin: 28px 0 12px;
    line-height: 1.3;
}

/* ============ TAGS ============ */
.detail-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px 0 20px;
    border-top: 1px solid #eef1f5;
}

.detail-tags>i {
    color: #bbb;
    font-size: 14px;
}

.detail-tags .tag-item {
    padding: 4px 12px;
    background: #f4f7fc;
    border: 1px solid #e8ecf1;
    border-radius: 6px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
    transition: all 0.2s ease;
}

.detail-tags .tag-item:hover {
    background: rgba(248, 139, 0, 0.08);
    border-color: rgba(248, 139, 0, 0.2);
    color: var(--main-color);
}

/* ============ SHARE BUTTONS ============ */
.detail-share {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-top: 1px solid #eef1f5;
    border-bottom: 1px solid #eef1f5;
    margin-bottom: 32px;
}

.share-label {
    font-size: 14px;
    font-weight: 600;
    color: #555;
}

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

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.share-facebook {
    background: #1877F2;
}

.share-linkedin {
    background: #0A66C2;
}

.share-twitter {
    background: #14171A;
}

/* ============ RELATED ARTICLES ============ */
.detail-related {
    margin-top: 8px;
}

.related-title {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--main-color);
    display: inline-block;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.related-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #eef1f5;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(248, 139, 0, 0.15);
}

.related-card-img {
    height: 150px;
    overflow: hidden;
}

.related-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-card:hover .related-card-img img {
    transform: scale(1.06);
}

.related-card-body {
    padding: 14px 16px;
}

.related-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.related-card:hover .related-card-title {
    color: var(--main-color);
}

.related-card-date {
    font-size: 12px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ============ SIDEBAR ============ */
.sidebar-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f4f7fc;
    border: 1px solid #e8ecf1;
    border-radius: 8px;
    color: #555;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 24px;
    width: 100%;
    box-sizing: border-box;
}

.sidebar-back-link:hover {
    background: rgba(248, 139, 0, 0.06);
    border-color: rgba(248, 139, 0, 0.2);
    color: var(--main-color);
}

.news-detail-page .right-detail-news .title-news-page {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #222;
    letter-spacing: 1.5px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--main-color);
}

.news-detail-page .right-detail-news .list-category {
    margin-bottom: 28px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03);
    border: 1px solid #eef1f5;
}

.news-detail-page .right-detail-news .item-category {
    position: relative;
    border-bottom: 1px solid #f3f4f6;
    background-color: #fff;
    padding-left: 0;
    transition: all .3s ease;
}

.news-detail-page .right-detail-news .item-category:last-child {
    border-bottom: none;
}

.news-detail-page .right-detail-news .item-category:hover {
    background-color: rgba(248, 139, 0, 0.04);
}

.news-detail-page .right-detail-news .item-category.active {
    background-color: rgba(248, 139, 0, 0.08);
}

.news-detail-page .right-detail-news .item-category.active a {
    color: var(--main-color);
    font-weight: 600;
}

.news-detail-page .right-detail-news .item-category a {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    margin: 0;
    font-size: 13px;
    color: #555;
    transition: all 0.3s ease;
}

.news-detail-page .right-detail-news .item-category a:hover {
    color: var(--main-color);
    padding-left: 18px;
}

.news-detail-page .right-detail-news .item-category a::before {
    content: "";
    width: 5px;
    height: 5px;
    background: var(--main-color);
    border-radius: 50%;
    flex-shrink: 0;
    opacity: 0.4;
}

.news-detail-page .right-detail-news .item-category.active a::before,
.news-detail-page .right-detail-news .item-category a:hover::before {
    opacity: 1;
}

.news-detail-page .right-detail-news .item-category a::after {
    display: none;
}

.news-detail-page .right-detail-news .list-latest {
    margin-bottom: 24px;
}

.news-detail-page .right-detail-news .item-latest a {
    display: flex;
    align-items: start;
    gap: 12px;
    margin-bottom: 0;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f3f4f6;
}

.news-detail-page .right-detail-news .item-latest:last-child a {
    border-bottom: none;
}

.news-detail-page .right-detail-news .item-latest a:hover {
    background: rgba(248, 139, 0, 0.03);
}

.news-detail-page .right-detail-news .item-latest .img-post {
    display: inline-block;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.news-detail-page .right-detail-news .item-latest .img-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-detail-page .right-detail-news .item-latest .title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
    text-transform: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.3s ease;
}

.news-detail-page .right-detail-news .item-latest a:hover .title {
    color: var(--main-color);
}

.news-detail-page .right-detail-news .item-latest .date {
    font-size: 11px;
    color: #aaa;
    margin-top: 4px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 992px) {
    .news-box .left-box {
        display: none;
    }

    .main-news .top-news-mobile {
        display: block;
    }

    .filter-wrap .filter-form form {
        flex-direction: column;
    }

    .filter-wrap .filter-form .filter-box,
    .filter-wrap .filter-form .filter-box.search-box {
        width: 100%;
    }

    .filter-wrap .filter-form .apply {
        width: 100%;
    }

    /* Detail page responsive */
    .main-news-detail {
        flex-direction: column;
        gap: 30px;
    }

    .news-detail-page .right-detail-news {
        width: 100%;
        min-width: unset;
        position: static;
        max-height: none;
        overflow: visible;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-banner {
        padding: 70px 20px 60px;
    }

    .news-banner h1 {
        font-size: 36px;
    }

    .news-banner--detail {
        padding: 60px 16px 40px;
    }

    .news-banner--detail h1 {
        font-size: 26px;
    }

    .news-banner-sub {
        font-size: 15px;
    }

    .news-banner-breadcrumb {
        font-size: 12px;
        flex-wrap: wrap;
    }

    .news-banner-meta {
        gap: 10px;
    }

    .news-body .item-news-index a {
        flex-direction: column;
    }

    .news-body .item-news-index a .img-autor {
        width: 100%;
        min-width: unset;
        min-height: 180px;
        max-height: 200px;
    }

    .news-body .item-news-index .content-news-box {
        padding: 16px;
    }

    .news-meta .read-more {
        opacity: 1;
        transform: translateX(0);
    }

    .active-filters {
        flex-wrap: wrap;
    }

    .detail-share {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-card-img {
        height: 180px;
    }

    .detail-featured-image img {
        max-height: 300px;
    }
}