/*
Theme Name: Nova Lynk Style
Description: This is a child theme for Nova Lynk Style
Author: Nova Lynk Style
Template: flatsome
Version: 3.0
*/

:root {
    --navy: #0E2A47;
    --navy-light: #1C5FA0;
    --cream: #F7F4EE;
    --cream-dark: #ede9e0;
    --teal: #00897B;
    --teal-light: #00a896;
    --orange-logo: #E2673E;
    --orange-a: #C87B5C;
    --orange-b: #D4896E;
    --orange-c: #EDAA93;
    --white: #ffffff;
    --text-dark: #1a1a2e;
    --text-mid: #4a5568;
    --text-light: #718096;
    --border: rgba(14, 42, 71, 0.12);
    --gold: var(--orange-a);
    --gold-light: var(--orange-b);
}
b, strong {    font-weight: 600;}
/* Thiết lập khung hộp bài viết */
.novalynk-post-box {
    background-color: #f7f5f0 !important; /* Màu nền kem nhạt */
    border-radius: 16px !important;
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.novalynk-post-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.06);
}

/* Xử lý phần hình ảnh */
.novalynk-post-img-link {
    display: block;
    width: 100%;
    overflow: hidden;
}
.novalynk-post-img {
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: transform 0.5s ease;
}
.novalynk-post-box:hover .novalynk-post-img {
    transform: scale(1.05);
}

/* Độ cao ảnh: Bài lớn (1 cột) 450px, bài nhỏ 240px */
.featured-post .novalynk-post-img { 
    height: 280px !important; 
}
.grid-post .novalynk-post-img { 
    height: 200px !important; 
}

/* Chữ 0% chìm trong ảnh mẫu của bạn */
.watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 90px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.15);
    pointer-events: none;
}

/* Phần chữ bên trong card */
.novalynk-post-text {
    padding: 24px !important;
    flex-grow: 1; background: #fff;
}

/* Tag danh mục dạng kén bo tròn - Chỉ bao quanh text */
.novalynk-post-text .badge-category {
    background-color: #eaf9f6 !important;
    color: var(--teal) !important;
    border: 1px solid #c2f0e7 !important;
    border-radius: 20px !important;
    padding: 5px 14px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    display: inline-block !important; /* Đảm bảo không chiếm 100% */
    width: fit-content !important;
    margin-bottom: 14px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}
.novalynk-post-text .badge-category:hover {
    background-color: var(--teal) !important;
    color: #ffffff !important;
}

/* Tiêu đề bài viết - Đổi màu Teal khi hover */
.novalynk-post-text .entry-title a {
    color: #111111 !important;
    font-weight: 700 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}
.novalynk-post-text .entry-title a:hover {
    color: var(--teal) !important; /* Màu xanh Teal */
}

.featured-post .entry-title { font-size: 28px; line-height: 1.3; }
.grid-post .entry-title { font-size: 18px; line-height: 1.4; }

/* Đoạn mô tả ngắn và Meta */
.novalynk-post-text .entry-excerpt {
    color: #555555;
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}
.novalynk-post-text .entry-meta {
    font-size: 12px;
    color: #999999;
}

/* Hệ thống phân trang bo tròn */
.novalynk-pagination {
    margin-top: 20px;
    width: 100%;
}
.novalynk-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    margin: 0 4px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    color: #333333;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}
.novalynk-pagination .page-numbers.current,
.novalynk-pagination .page-numbers:hover {
    background-color: var(--teal) !important;
    color: #ffffff !important;
    border-color: var(--teal) !important;
}

.novalynk-single-featured-image img {
    border-radius: 10px;
    margin-bottom: 20px;
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}