.page-tin-tuc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background #F4F7FB */
    background-color: #F4F7FB; /* Explicitly setting background for safety, though shared.css might handle body */
}

.page-tin-tuc__container {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 16px;
    box-sizing: border-box;
}

/* Hero Section */
.page-tin-tuc__hero-section {
    padding-top: 10px; /* Small top padding, not --header-offset */
    padding-bottom: 60px;
    background: linear-gradient(180deg, #6FA3FF 0%, #2F6BFF 100%); /* Using brand colors for hero background */
    color: #ffffff; /* White text for dark brand color background */
    text-align: center;
}

.page-tin-tuc__hero-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 60px 0;
}

.page-tin-tuc__hero-content {
    flex: 1 1 45%;
    max-width: 550px;
    text-align: left;
}

.page-tin-tuc__hero-title {
    font-size: 3.2em; /* Using em for relative sizing, will adjust in media query */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-tin-tuc__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-tin-tuc__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    justify-content: flex-start;
}

.page-tin-tuc__hero-image {
    flex: 1 1 45%;
    text-align: center;
}

.page-tin-tuc__hero-side-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure image behaves as block for max-width */
}

/* Buttons */
.page-tin-tuc__cta-button {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
    line-height: 1.4;
}

.page-tin-tuc__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Custom button color */
    color: #ffffff;
    border: 2px solid transparent;
}

.page-tin-tuc__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    transform: translateY(-2px);
}

.page-tin-tuc__btn-secondary {
    background: #ffffff;
    color: #2F6BFF; /* Custom text color for secondary button */
    border: 2px solid #2F6BFF; /* Custom border color */
}

.page-tin-tuc__btn-secondary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

/* Latest News Section */
.page-tin-tuc__latest-news-section {
    padding: 80px 0;
    background-color: #F4F7FB;
}

.page-tin-tuc__section-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #1F2D3D; /* Custom Text Main color */
    text-align: center;
    margin-bottom: 20px;
}

.page-tin-tuc__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.page-tin-tuc__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-tin-tuc__news-card {
    background: #ffffff; /* Card BG color */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tin-tuc__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc__news-card-media {
    width: 100%;
    height: 220px; /* Fixed height for consistent card image display */
    overflow: hidden;
}

.page-tin-tuc__news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure images fill the space without distortion */
    display: block;
}

.page-tin-tuc__news-card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tin-tuc__news-card-title {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
    flex-grow: 1; /* Allow title to take available space */
}

.page-tin-tuc__news-card-title a {
    color: #1F2D3D; /* Custom Text Main color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc__news-card-title a:hover {
    color: #2F6BFF; /* Main brand color on hover */
}

.page-tin-tuc__news-card-date {
    font-size: 0.9em;
    color: #888888;
    margin-bottom: 15px;
    display: block;
}

.page-tin-tuc__news-card-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-tin-tuc__news-card-link {
    display: inline-block;
    color: #2F6BFF; /* Main brand color */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto; /* Push link to bottom */
}

.page-tin-tuc__news-card-link:hover {
    text-decoration: underline;
}

.page-tin-tuc__view-all-button-container {
    text-align: center;
    margin-top: 50px;
}

/* CTA Section (Dark Background) */
.page-tin-tuc__cta-section {
    padding: 80px 0;
    background: #2F6BFF; /* Main brand color for dark section */
    color: #ffffff; /* White text for dark background */
    text-align: center;
}

.page-tin-tuc__cta-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 16px;
}

.page-tin-tuc__cta-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

.page-tin-tuc__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #ffffff;
}

.page-tin-tuc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* General image responsive style */
.page-tin-tuc img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-tin-tuc__hero-title {
        font-size: 2.8em;
    }
    .page-tin-tuc__section-title {
        font-size: 2.4em;
    }
    .page-tin-tuc__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    /* HERO Section */
    .page-tin-tuc__hero-section {
        padding-top: 10px !important; /* Fixed header spacing rule */
        padding-bottom: 40px;
    }

    .page-tin-tuc__hero-container {
        flex-direction: column;
        text-align: center;
        padding: 40px 16px;
    }

    .page-tin-tuc__hero-content {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
    }

    .page-tin-tuc__hero-title {
        font-size: clamp(2em, 8vw, 2.5em); /* clamp for H1 */
        margin-bottom: 15px;
    }

    .page-tin-tuc__hero-description {
        font-size: 1.1em;
        margin-bottom: 25px;
    }

    .page-tin-tuc__hero-cta-buttons {
        flex-direction: column !important;
        align-items: center;
        width: 100%;
        padding: 0 15px;
        gap: 10px;
    }

    /* Buttons */
    .page-tin-tuc__cta-button,
    .page-tin-tuc__btn-primary,
    .page-tin-tuc__btn-secondary,
    .page-tin-tuc a[class*="button"],
    .page-tin-tuc a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button containers mobile adaptation */
    .page-tin-tuc__hero-cta-buttons,
    .page-tin-tuc__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-tin-tuc__hero-image {
        flex: 1 1 100%;
        max-width: 100%;
        order: -1; /* Image appears above content on mobile for hero */
    }

    .page-tin-tuc__hero-side-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Latest News Section */
    .page-tin-tuc__latest-news-section {
        padding: 60px 0;
    }

    .page-tin-tuc__section-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-tin-tuc__section-description {
        font-size: 1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-tin-tuc__news-grid {
        grid-template-columns: 1fr; /* Single column layout for news cards */
        padding: 0 15px;
    }

    .page-tin-tuc__news-card-media {
        height: 180px; /* Adjust height for mobile card images */
    }

    .page-tin-tuc__news-card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure images are responsive */
    }

    .page-tin-tuc__news-card-content {
        padding: 20px;
    }

    .page-tin-tuc__news-card-title {
        font-size: 1.3em;
    }

    /* CTA Section */
    .page-tin-tuc__cta-section {
        padding: 60px 0;
    }

    .page-tin-tuc__cta-title {
        font-size: 2em;
    }

    .page-tin-tuc__cta-description {
        font-size: 1.1em;
        margin-bottom: 30px;
        padding: 0 15px;
    }

    .page-tin-tuc__cta-buttons {
        flex-direction: column !important;
        padding: 0 15px;
        gap: 10px;
    }

    /* General image responsive style for content area */
    .page-tin-tuc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure content containers are responsive */
    .page-tin-tuc__container,
    .page-tin-tuc__news-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left and padding-right already handled by specific sections */
    }
}