.page-tin-tuc-cap-nhat-hang-ngay {
    font-family: Arial, sans-serif;
    color: #333333; /* Default text color for light body background */
    line-height: 1.6;
    background-color: #F5F7FA; /* Background color for the page */
}

/* Hero Section */
.page-tin-tuc-cap-nhat-hang-ngay__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding */
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand color gradient */
    color: #ffffff;
    gap: 20px;
}

.page-tin-tuc-cap-nhat-hang-ngay__hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.page-tin-tuc-cap-nhat-hang-ngay__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    min-height: 200px;
}

.page-tin-tuc-cap-nhat-hang-ngay__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.page-tin-tuc-cap-nhat-hang-ngay__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Flexible font size for H1 */
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
    line-height: 1.2;
}

.page-tin-tuc-cap-nhat-hang-ngay__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* General button styles */
.page-tin-tuc-cap-nhat-hang-ngay__btn-primary,
.page-tin-tuc-cap-nhat-hang-ngay__btn-secondary,
.page-tin-tuc-cap-nhat-hang-ngay__btn-text {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-tin-tuc-cap-nhat-hang-ngay__btn-primary {
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
    color: #ffffff;
    border: 2px solid transparent;
}

.page-tin-tuc-cap-nhat-hang-ngay__btn-primary:hover {
    background: linear-gradient(180deg, #E53935 0%, #FF5A4F 100%);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc-cap-nhat-hang-ngay__btn-secondary {
    background: #ffffff;
    color: #E53935;
    border: 2px solid #E53935;
    margin-left: 15px;
}

.page-tin-tuc-cap-nhat-hang-ngay__btn-secondary:hover {
    background: #f0f0f0;
    color: #FF5A4F;
    border-color: #FF5A4F;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-tin-tuc-cap-nhat-hang-ngay__btn-text {
    color: #E53935;
    background: none;
    border: none;
    padding: 0;
    text-decoration: underline;
    font-size: 0.95em;
}

.page-tin-tuc-cap-nhat-hang-ngay__btn-text:hover {
    color: #FF5A4F;
}

/* News Section */
.page-tin-tuc-cap-nhat-hang-ngay__news-section {
    padding: 60px 0;
    text-align: center;
    background-color: #ffffff; /* Card BG */
    color: #333333;
}

.page-tin-tuc-cap-nhat-hang-ngay__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tin-tuc-cap-nhat-hang-ngay__section-title {
    font-size: 2.5em;
    color: #E53935;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-tin-tuc-cap-nhat-hang-ngay__section-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Default 3 columns for desktop */
    gap: 30px;
    margin-bottom: 40px;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
    min-height: 200px;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card-content {
    padding: 20px;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card-title a {
    color: #333333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card-title a:hover {
    color: #E53935;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card-meta {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
}

.page-tin-tuc-cap-nhat-hang-ngay__news-card-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-tin-tuc-cap-nhat-hang-ngay__view-all-news-container {
    margin-top: 20px;
}

/* Call to Action Section */
.page-tin-tuc-cap-nhat-hang-ngay__cta-section {
    padding: 80px 20px;
    background: #E53935; /* Dark background */
    color: #ffffff; /* White text for contrast */
    text-align: center;
}

.page-tin-tuc-cap-nhat-hang-ngay__cta-content {
    max-width: 900px;
    margin: 0 auto;
}

.page-tin-tuc-cap-nhat-hang-ngay__cta-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-tin-tuc-cap-nhat-hang-ngay__cta-description {
    font-size: 1.1em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-tin-tuc-cap-nhat-hang-ngay__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* General image responsive styles */
.page-tin-tuc-cap-nhat-hang-ngay img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsive styles */
@media (max-width: 1024px) {
    .page-tin-tuc-cap-nhat-hang-ngay__news-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablet */
    }
}

@media (max-width: 768px) {
    /* General mobile reset for content containers */
    .page-tin-tuc-cap-nhat-hang-ngay__section,
    .page-tin-tuc-cap-nhat-hang-ngay__card,
    .page-tin-tuc-cap-nhat-hang-ngay__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Hero Section */
    .page-tin-tuc-cap-nhat-hang-ngay__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        flex-direction: column-reverse; /* Text above image on mobile for better UX */
        gap: 15px;
    }

    .page-tin-tuc-cap-nhat-hang-ngay__main-title {
        font-size: clamp(2em, 8vw, 2.5em);
    }

    .page-tin-tuc-cap-nhat-hang-ngay__description {
        font-size: 1em;
    }

    .page-tin-tuc-cap-nhat-hang-ngay__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* Buttons responsive */
    .page-tin-tuc-cap-nhat-hang-ngay__btn-primary,
    .page-tin-tuc-cap-nhat-hang-ngay__btn-secondary,
    .page-tin-tuc-cap-nhat-hang-ngay a[class*="button"],
    .page-tin-tuc-cap-nhat-hang-ngay a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0 !important; /* Reset margin for stacked buttons */
        margin-bottom: 10px; /* Add space between stacked buttons */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tin-tuc-cap-nhat-hang-ngay__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* News Section */
    .page-tin-tuc-cap-nhat-hang-ngay__news-grid {
        grid-template-columns: 1fr !important; /* Single column for mobile */
        gap: 20px;
    }

    .page-tin-tuc-cap-nhat-hang-ngay__section-title {
        font-size: 2em;
    }

    .page-tin-tuc-cap-nhat-hang-ngay__news-card-image {
        height: auto;
    }

    /* CTA Section */
    .page-tin-tuc-cap-nhat-hang-ngay__cta-title {
        font-size: 1.8em;
    }

    /* Required mobile styles for elements NOT in this page's HTML, but MUST be in CSS output */
    /* 1. 顶区轮播: .page-tin-tuc-cap-nhat-hang-ngay__hero-carousel-section, __hero-slider, __hero-slide */
    .page-tin-tuc-cap-nhat-hang-ngay__hero-carousel-section {
        padding-top: 10px !important; /* Ensure small padding */
    }
    .page-tin-tuc-cap-nhat-hang-ngay__hero-slider {
        position: relative;
        overflow: hidden;
        height: 200px; /* Example height for mobile carousel */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tin-tuc-cap-nhat-hang-ngay__hero-slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }
    .page-tin-tuc-cap-nhat-hang-ngay__hero-slide.is-active {
        opacity: 1;
    }
    .page-tin-tuc-cap-nhat-hang-ngay__hero-slider-prev,
    .page-tin-tuc-cap-nhat-hang-ngay__hero-slider-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0,0,0,0.5);
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        z-index: 10;
        font-size: 1.5em;
        line-height: 1;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .page-tin-tuc-cap-nhat-hang-ngay__hero-slider-prev { left: 10px; }
    .page-tin-tuc-cap-nhat-hang-ngay__hero-slider-next { right: 10px; }

    /* 2. 操作指引外框 + 五张 `team` 竖型卡: .page-tin-tuc-cap-nhat-hang-ngay__guide-box, __guide-grid, __guide-card */
    .page-tin-tuc-cap-nhat-hang-ngay__guide-box {
        padding: 15px !important; /* Adjust padding for mobile */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-tin-tuc-cap-nhat-hang-ngay__guide-grid {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important; /* Base for 2x3 layout */
        gap: 10px !important;
    }
    .page-tin-tuc-cap-nhat-hang-ngay__guide-card {
        padding-top: 0 !important; /* Reset padding-top from desktop */
    }
    .page-tin-tuc-cap-nhat-hang-ngay__guide-card--pos-1,
    .page-tin-tuc-cap-nhat-hang-ngay__guide-card--pos-2 {
        grid-column: span 3 !important; /* First two cards span 3 columns each */
    }
    .page-tin-tuc-cap-nhat-hang-ngay__guide-card--pos-3,
    .page-tin-tuc-cap-nhat-hang-ngay__guide-card--pos-4,
    .page-tin-tuc-cap-nhat-hang-ngay__guide-card--pos-5 {
        grid-column: span 2 !important; /* Last three cards span 2 columns each */
    }
    .page-tin-tuc-cap-nhat-hang-ngay__guide-card img {
        aspect-ratio: 250/350 !important;
        object-fit: contain !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    /* 3. `home_content` 外框: .page-tin-tuc-cap-nhat-hang-ngay__home-content-box, __home-content-inner */
    .page-tin-tuc-cap-nhat-hang-ngay__home-content-box {
        max-width: 100% !important;
        height: auto !important; /* Auto height on mobile */
        box-shadow: none !important; /* Remove heavy shadow on mobile */
        border: none !important; /* Remove border on mobile */
        padding: 15px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    .page-tin-tuc-cap-nhat-hang-ngay__home-content-inner {
        height: auto !important;
        overflow: visible !important; /* Full content visible on mobile */
    }

    /* 4. 博客卡片区 (already handled by .page-tin-tuc-cap-nhat-hang-ngay__news-grid above, which becomes 1fr) */
    /* Let's refine for a potential 2-column layout on slightly larger mobiles, then 1-column */
    .page-tin-tuc-cap-nhat-hang-ngay__blog-grid { /* Assuming this would be news-grid for this page */
        grid-template-columns: 1fr !important; /* Single column */
    }
    @media (min-width: 480px) and (max-width: 768px) {
        .page-tin-tuc-cap-nhat-hang-ngay__news-grid,
        .page-tin-tuc-cap-nhat-hang-ngay__blog-grid {
            grid-template-columns: repeat(2, 1fr) !important; /* 2 columns for larger mobile */
        }
    }

    /* 5. 通用图片与按钮 (already handled by general image and button rules above) */
    .page-tin-tuc-cap-nhat-hang-ngay img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
}