.page-tin-tuc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
    padding-bottom: 40px;
}

/* Fixed header spacing: shared.css handles body padding-top */
/* The first section should only have a small top padding */
.page-tin-tuc__hero-section {
    padding: 10px 20px 40px;
    text-align: center;
    background-color: #f8f9fa; /* Light background for hero */
    margin-bottom: 40px;
}

.page-tin-tuc__hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-tin-tuc__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size for H1 */
    font-weight: 700;
    color: #26A9E0; /* Primary color for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-tin-tuc__hero-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-tin-tuc__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 1em;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-tin-tuc__btn--primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-tin-tuc__btn--primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-tin-tuc__btn--secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-tin-tuc__btn--secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
}

/* Login button specific style */
a.page-tin-tuc__btn[href*="redirect?plink_id"] {
    background-color: #EA7C07; /* Login color */
    border-color: #EA7C07;
    color: #FFFFFF;
}

a.page-tin-tuc__btn[href*="redirect?plink_id"]:hover {
    background-color: #c96806;
    border-color: #c96806;
}

.page-tin-tuc__container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tin-tuc__section-title {
    font-size: 2.2em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

/* Latest News Section */
.page-tin-tuc__latest-news-section,
.page-tin-tuc__featured-articles,
.page-tin-tuc__promo-banner,
.page-tin-tuc__about-us-section {
    padding: 60px 0;
    margin-bottom: 40px;
    background-color: #FFFFFF; /* Ensure light background for text */
}

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

.page-tin-tuc__news-card,
.page-tin-tuc__article-card {
    background-color: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: #333333;
}

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

.page-tin-tuc__news-figure,
.page-tin-tuc__article-figure,
.page-tin-tuc__promo-figure {
    margin: 0;
    line-height: 0; /* Remove extra space below image */
}

.page-tin-tuc__news-image,
.page-tin-tuc__article-image,
.page-tin-tuc__promo-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
}

.page-tin-tuc__news-content,
.page-tin-tuc__article-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tin-tuc__news-title,
.page-tin-tuc__article-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tin-tuc__news-title a,
.page-tin-tuc__article-title a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc__news-title a:hover,
.page-tin-tuc__article-title a:hover {
    color: #1e87c0;
}

.page-tin-tuc__news-date,
.page-tin-tuc__article-date {
    font-size: 0.9em;
    color: #777777;
    margin-bottom: 15px;
}

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

.page-tin-tuc__read-more {
    display: inline-block;
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    margin-top: auto; /* Push to bottom */
}

.page-tin-tuc__read-more:hover {
    color: #1e87c0;
    text-decoration: underline;
}

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

/* Promo Banner Section */
.page-tin-tuc__promo-banner {
    background-color: #26A9E0; /* Primary color background */
    color: #FFFFFF; /* White text */
    padding: 80px 0;
    text-align: center;
}

.page-tin-tuc__promo-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-tin-tuc__promo-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}