/*
Theme Name: VAJA
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
a:hover {
    color: #0f0194;
}

.bottomlt a {
    width: 161px;
    background: #f00000;
    text-align: center;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px;
    line-height: 1;
}

.bottomlt {
    display: flex;
    justify-content: center;
}

blockquote,
dl,
figure,
form,
ol,
p,
pre,
ul {
    margin-bottom: 10px;
}

.wrap-svg {
    padding: 15px;
    background: #fff;
    border-radius: 5px;
}

.title-wp h1 {
    text-align: center;
    padding: 40px 20px;
    margin-bottom: 0;
}

ul.npt-tabs li {
    margin-left: 0 !important;
}

.topslider img,
.topslider .slider {
    border-radius: 5px;
}

.topslider .flickity-prev-next-button {
    color: #fff !important;
}

table {
    border-color: #ececec;
    border-spacing: 0;
    margin-bottom: 1em;
    width: 100%;
    border: 1px solid #eeee;
}

.entry-content {
    padding-bottom: 10px;
    padding-top: 10px;
}

i.fa-solid.fa-fire {
    color: #fe0103;
}

.stgh {
    background: #eee;
    background: url("assets/images/background2.jpg") no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.bgtxh {
    padding: 15px;
    background: #fff;
    border-radius: 3px;
    border: 1px solid #dadada;
    margin-bottom: 30px;
}

.blog-wrapper.blog-single.page-wrapper {
    padding-bottom: 0px;
}

td:first-child,
th:first-child {
    padding-left: 0;
    border-left: 1px solid #eee;
    width: 40px;
    text-align: center;
    border-right: 1px solid #eee;
    padding-right: 0;
}

td {
    color: #666;
}

.line1 h2 {
    line-height: 1 !important;
}

.nav-dropdown-default {
    padding: 10px;
}

.image-icon img {
    width: 20px;
    min-width: 100%;
}

i.image-icon {
    margin-left: 6px;
    margin-top: -5px;
}

td,
th {
    border-bottom: 1px solid #ececec;
    border-right: 1px solid #eee;
    font-size: .9em;
    line-height: 1.3;
    padding: .5em;
    text-align: left;
}

td:last-child,
th:last-child {
    padding-right: 0;
    text-align: left;
    padding: 5px;
}

.footercl {
    font-size: 0.95em;
}

.mgo p {
    margin-bottom: 5px;
}

.absolute-footer,
html {
    background-color: #1b1a23;
}

.footercl li {
    list-style-type: none;
    margin-bottom: 3px;
    padding-left: 0;
    margin-left: 0 !important;
}

.absolute-footer {
    font-size: .8em;
    padding: 5px 0 5px;
}

/* ===== WRAPPER & GRID ===== */
.nex-article-wrap {
    margin: 24px 0
}

.nex-article-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 24px;
}

.nex-right-col {
    display: flex;
    flex-direction: column;
    gap: 16px
}

@media (max-width:991px) {
    .nex-article-grid {
        grid-template-columns: 1fr
    }
}

/* ===== BIG LEFT CARD ===== */
.nex-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden
}

.nex-card--xl .nex-card-media {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden
}

.nex-card--xl .nex-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

span.title-gr.text12 {
    font-size: 1.3em;
    margin-bottom: 10px;
    float: left;
}

.homepage img {
    border-radius: 10px;
}

.nex-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 3px 5px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
}

.nex-badge--accent {
    color: #fe0103;
    font-size: 11px;
    padding: 1px 9px;
    border-radius: 5px;
    border: 1px solid #fe0103;
    text-transform: uppercase;
    font-weight: normal;
}

.nex-card-body {
    padding: 18px
}

.nex-card-title {
    font-size: 22px;
    line-height: 1.3;
    margin: 0 0 8px
}

.nex-card-title a {
    text-decoration: none;
    color: #111
}

.nex-card-excerpt {
    color: #555;
    margin: 0 0 14px
}

.nex-card-meta {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px
}

.nex-meta-dot {
    opacity: .6
}

.nex-btn-news :hover {
    color: #fff;
}

.nex-btn-news {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f0194;
    font-weight: bold !important;
    border-radius: 99px;
    cursor: pointer;
    text-transform: none;
    min-height: auto;
    font-size: 0.86em;
    line-height: 1;
    margin-bottom: 0;
    background: #fff;
    margin-right: 0;
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #0f0194;
}

/* ===== RIGHT COLUMN CARDS — FIXED 75%/25% ===== */
.nex-sm-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 5px;
    box-shadow: 0 8px 30px rgba(16, 24, 40, .06);
    overflow: hidden;
    display: flex;
}

.nex-sm-left {
    min-width: 0;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-basis: 70%;
}

.nex-sm-thumb {
    grid-column: 2/3;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    overflow: hidden;
    min-height: 180px;
    flex-basis: 30%;
}

.nex-sm-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform .25s ease
}

/* top row */
.nex-sm-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px
}

.nex-sm-pill {
    background: #fff;
    color: #0f0194;
    font-size: 11px;
    padding: 1px 9px;
    border-radius: 5px;
    border: 1px solid #0f0194;
}

.nex-sm-time {
    color: #6b7280;
    font-size: 13px;
    white-space: nowrap
}

/* text */
.nex-sm-title {
    margin: 6px 0 5px;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 800;
    color: #5d531e;
    overflow-wrap: anywhere
}


/* footer */
.nex-sm-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto
}

.nex-sm-author {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #667085;
    font-size: 14px
}

.nex-sm-author svg {
    width: 14px;
    height: 14px;
    opacity: .9
}

.nex-sm-author a {
    color: inherit;
    text-decoration: none
}

.nex-sm-author a:hover {
    color: #f59e0b
}

.nex-sm-read {
    color: #7a8397;
    font-size: 13px;
    white-space: nowrap
}

/* hover */
.nex-sm-card:hover .nex-sm-title {
    color: #4b3f12
}

.nex-sm-card:hover .nex-sm-thumb img {
    transform: scale(1.02)
}

/* responsive: 1 cột, ảnh xuống dưới */
@media (max-width:990px) {
    .nex-sm-link {
        grid-template-columns: 1fr !important
    }

    .nex-sm-thumb {
        border-top-right-radius: 0;
        border-bottom-left-radius: 16px;
        min-height: 0;
        aspect-ratio: 16/9;
    }
}

span.text-rate-top i {
    color: #fbbc04;
}

span.text-rate-top {
    position: absolute;
    right: 15px;
    top: 15px;
    padding: 1px 6px;
    background: #333333bd;
    font-size: 0.9em;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
}

span.txt-category {
    position: absolute;
    left: 15px;
    top: 15px;
    padding: 1px 6px;
    background: linear-gradient(135deg, rgb(15 1 148) 23%, rgb(254 1 3) 62%) !important;
    font-size: 0.9em;
    border-radius: 50px;
}

.t-top-left {
    display: flex;
    flex-direction: column;
}

.text-intro-p {
    padding: 9px 5px;
    background: #fffcf2;
    margin: 5px 0;
}

.t-top-right {
    color: #00b101;
}

.imgtop {
    margin-bottom: 15px;
}

.outstanding_dt {
    margin-top: 15px;
    margin-bottom: 15px;
}

h1.archive-title {
    margin-bottom: 20px;
}

.wrap-data-t1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span.text-title {
    font-weight: 600;
    font-size: 1.3em;
}

p.nex-sm-excerpt {
    margin-bottom: 0;
    margin-top: 7px;
    color: #333;
}

span.title-gr {
    color: #000;
    font-weight: 600;
    font-size: 1.1em;
    float: left;
}

.entry-meta.op-7 {
    display: flex;
    gap: 13px;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    margin-bottom: 15px;
}

.meta-left span {
    margin-right: 10px;
    color: #555;
}

.meta-share a {
    color: #555;
    margin-left: 5px;
    transition: color 0.2s;
    border: 1px solid #888888;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 5px;
}

.meta-share {
    display: flex;
    align-items: center;
}



.archive-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.archive-container .page-numbers {
    margin-top: 30px;
}

.nav-pagination>li>a,
.nav-pagination>li>span {
    border: 1px solid;
    border-radius: 3px;
}

.archive-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.archive-thumb {
    flex: 0 0 35%;
    position: relative;
}

.archive-thumb img,
.archive-thumb .thumb-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    display: block;
    border-radius: 3px;
    object-fit: cover;
    background-color: #f4f4f4;
    transition: transform 0.3s ease;
}

.archive-thumb:hover img {
    transform: scale(1.05);
}

.thumb-placeholder::after {
    content: "\f03e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #ccc;
    font-size: 2rem;
    opacity: 0.4;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.archive-content {
    flex: 1;
}

.archive-title a {
    color: #222;
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
}

.archive-title a:hover {
    color: #0078ff;
}

.archive-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 6px 0 10px;
    font-size: 0.8rem;
    color: #666;
}

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

.archive-excerpt {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

@media (max-width: 767px) {
    .archive-item {
        flex-direction: column;
    }

    .archive-thumb {
        width: 100%;
    }
}