/* ============================================================
   ROOT VARIABLES
   ============================================================ */
:root {
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --btn-hover: #b1820b;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.main_home {
    padding: 20px 0;
}

.news-box2 {
    width: 100%;
    display: flex;
    border: solid 1px #eee;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.news-box2 .list-slide-main {
    width: calc(50% - 15px);
    margin-right: 15px;
}

.list-news2 {
    overflow: hidden;
    width: 50%;
}

.list-news2 .list-news2-item {
    float: left;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.list-news2 .list-news2-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.list-news2 .list-news2-item .image {
    position: relative;
    width: 100px;
    margin-right: 10px;
    overflow: hidden;
}

.list-news2 .list-news2-item .image:hover img {
    transform: scale(1.05);
}

.list-news2 .list-news2-item .image img {
    object-fit: cover;
    height: 80px;
    transition: 0.5s;
    width: 100%;
}

.list-news2 .list-news2-item .info {
    width: calc(100% - 110px);
}

.list-news2 .list-news2-item h3 {
    margin-bottom: 0;
    margin-top: 0;
    width: 100%;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    line-height: 18px;
    height: auto;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.box_time {
    width: auto;
    display: inline-flex;
    line-height: 26px;
    float: left;
}

.box_time .date_time {
    float: left;
    font-size: 13px;
    color: #0a589f;
}

.box_time .date_time i {
    color: #000;
}

.box_time .views {
    font-size: 13px;
    margin-left: 15px;
    display: none;
}

.first-news2 .image {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.first-news2 .image img {
    height: 230px;
    transition: 1s;
    object-fit: cover;
    transition: 0.5s;
    width: 100%;
}

.first-news2 .image:hover img {
    transform: scale(1.05);
}

.first-news2 .info h3 {
    font-weight: 600;
    color: #000;
    font-size: 17px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.first-news2 .info .desc {
    font-size: 14px;
    width: 100%;
    text-align: justify;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}

.view_more {
    width: auto;
    padding: 0;
}

.view_more a {
    color: #411b4e;
}

.box_right_home_02 {
    border-radius: 5px;
    border: solid 1px #bc2425;
    margin-bottom: 19px;
}

.box_right_home_02 .panel-body h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.box_right_home_02_heading {
    color: #fff;
    background-color: #bc2425;
    border-color: #bc2425;
    padding: 7px 15px;
    font-weight: 500;
    font-size: 15px;
}

.panel-body {
    padding: 15px;
}

.box_right_home_01 {
    margin-bottom: 15px;
    overflow: hidden;
}

.box_right_home_01 img {
    border-radius: 6px;
    width: 100%;
    transition: 0.3s;
}

.box_right_home_01:hover img {
    transform: scale(1.05);
}

.footer .logo_header h2 {
    color: #FFF;
}

.logo_header h2 {
    color: #411b4e;
    text-transform: uppercase;
    font-size: 18px;
}

.news-sidebar__item {
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.news-sidebar__item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.news-sidebar__image-link {
    flex-shrink: 0;
    width: 80px;
    height: 65px;
    border-radius: 8px;
    overflow: hidden;
}

.news-sidebar__image-link:hover img {
    transform: scale(1.05);
}

.news-sidebar__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-sidebar__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-sidebar__item-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin: 0;
    line-height: 1.4;
}

.news-sidebar__item-title a {
    /* color: #fff; */
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-sidebar__meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #bbb;
    flex-wrap: wrap;
}

.news-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news_box_home {
    width: 100%;
    display: flex;
    margin-bottom: 15px;
}

.news_box_home .list-slide-main {
    width: calc(50% - 15px);
    margin-right: 15px;
}

.news_box_home .list-news2 {
    overflow: hidden;
    width: 50%;
}

/* ============================================================
   VACHE CUSTOM HERO SECTION (65% / 35% GRID)
   ============================================================ */
.vache-hero-section {
    margin-bottom: 25px;
}

.vache-hero-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px 20px;
}

.vache-hero-left {
    width: 66.67%;
    flex: 0 0 66.67%;
    padding: 0 10px;
    position: relative;
}

.vache-hero-right {
    width: 33.33%;
    flex: 0 0 33.33%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Slider container and items */
.vache-hero-slider-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 450px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.vache-hero-slider {
    height: 100%;
}

.vache-hero-slider .slick-list,
.vache-hero-slider .slick-track {
    height: 100%;
}

.vache-slide-item {
    position: relative;
    height: 100%;
    outline: none;
}

.vache-slide-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}

.vache-slide-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vache-slide-img-wrap:hover img {
    transform: scale(1.05);
}

/* Badges & Navigation */
.vache-hero-badge {
    position: absolute;
    top: 0;
    left: 0;
    background-color: var(--color-secondary);
    color: #fff;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    z-index: 10;
    border-bottom-right-radius: 6px;
    letter-spacing: 0.5px;
}

.vache-hero-arrows {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.vache-arrow-btn {
    width: 32px;
    height: 32px;
    background-color: rgba(0, 0, 0, 0.5) !important;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
    position: relative;
    transform: unset;
}

/* Slide bottom content */
.vache-slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    padding: 35px 20px 20px 20px;
    color: #fff;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vache-slide-info h3 {
    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

.vache-slide-info h3 a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.vache-slide-info h3 a:hover {
    color: #ffd043;
}

.vache-slide-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    align-items: center;
}

.vache-slide-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.vache-slide-meta i {
    color: rgba(255, 255, 255, 0.6);
}

/* Right column items */
.vache-right-item {
    position: relative;
    height: 217px;
    border-radius: 6px;
    overflow: hidden;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.vache-right-item:hover .vache-right-info h4 {
    color: #ffd043;
}

.vache-right-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vache-right-item:hover img {
    transform: scale(1.05);
}

.vache-right-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 20px 15px 15px 15px;
    color: #fff;
    z-index: 5;
}

.vache-right-info h4 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: #fff;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Responsive styling */
@media (max-width: 991px) {
    .vache-hero-left {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 16px;
    }

    .vache-hero-right {
        width: 100%;
        flex: 0 0 100%;
        flex-direction: row;
        gap: 16px;
    }

    .vache-right-item {
        flex: 1;
        height: 200px;
    }
}

@media (max-width: 767px) {
    .vache-hero-slider-wrap {
        height: 320px;
    }

    .vache-hero-right {
        flex-direction: column;
    }

    .vache-right-item {
        width: 100%;
        height: 180px;
    }

    .vache-slide-info h3 {
        font-size: 15px;
    }

    .vache-slide-meta {
        gap: 12px;
        font-size: 11px;
    }

    .news-box2 {
        flex-direction: column;
        padding: 10px;
    }

    .news-box2 .list-slide-main {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .list-news2 {
        width: 100%;
    }

    .first-news2 .image img {
        height: auto;
        aspect-ratio: 16/9;
    }
}

.banner-top-home {
    display: block;
    width: 100%;
    border-radius: 6px;
}

.banner-top-home img {
    width: 100%;
    display: block;
}

.vache-news-boxes-row {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
}

.vache-news-boxes-row>.clm {
    display: flex !important;
    flex-direction: column !important;
}

.vache-category-box {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vache-category-header {
    background-color: #f3f4f6;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 16px;
    color: var(--color-secondary, #411b4e);
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.vache-category-header i {
    color: #718096;
    font-size: 16px;
}

.vache-category-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vache-featured-post {
    margin-bottom: 0;
}

.vache-featured-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.vache-featured-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
}

.vache-featured-title a:hover {
    color: var(--color-secondary, #411b4e);
}

.vache-post-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #718096;
    margin-bottom: 12px;
    align-items: center;
}

.vache-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.vache-post-row {
    display: flex;
    gap: 15px;
}

.vache-post-img-wrap {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 4px;
    overflow: hidden;
}

.vache-post-img-wrap:hover img {
    transform: scale(1.05);
}

.vache-post-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vache-post-desc {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.vache-news-list {
    border-top: 1px solid #edf2f7;
    padding-top: 12px;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vache-news-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    line-height: 1.4;
}

.vache-news-item-bullet {
    color: #dd6b20;
    font-size: 10px;
    margin-top: 4px;
    flex-shrink: 0;
}

.vache-news-item a {
    color: #2d3748;
    text-decoration: none;
    transition: color 0.2s;
    overflow: hidden;
    display: -webkit-box;
    font-weight: 600;
    font-size: 14px;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vache-news-item a:hover {
    color: var(--color-secondary, #411b4e);
}

.banner-top-footer img {
    width: 100%;
}
