/* style/tin-tuc.css */
.page-tin-tuc {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Main text color for dark body background */
    line-height: 1.6;
    background-color: #0A0A0A; /* Ensure consistency with body background if not handled by shared */
}

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

/* Hero Section */
.page-tin-tuc__hero-section {
    padding-top: 10px; /* Small top padding, not var(--header-offset) */
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    text-align: center;
    background-color: #0A0A0A; /* Dark background */
    padding-bottom: 40px;
}

.page-tin-tuc__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width for the image wrapper */
    margin-bottom: 30px;
}

.page-tin-tuc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-tin-tuc__hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.page-tin-tuc__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* H1 size constraint */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #F2C14E; /* Brand color for main title */
}

.page-tin-tuc__intro-text {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFF6D6;
}

.page-tin-tuc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* Buttons */
.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary,
.page-tin-tuc__btn-outline,
.page-tin-tuc__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    max-width: 100%;
}

.page-tin-tuc__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text for bright button */
    border: none;
}

.page-tin-tuc__btn-primary:hover {
    opacity: 0.9;
    box-shadow: 0 0 15px #FFD36B; /* Glow effect */
}

.page-tin-tuc__btn-secondary {
    background-color: transparent;
    color: #F2C14E; /* Brand color for text */
    border: 2px solid #F2C14E; /* Border color */
}

.page-tin-tuc__btn-secondary:hover {
    background-color: #F2C14E;
    color: #111111;
}

.page-tin-tuc__btn-outline {
    background-color: transparent;
    color: #F2C14E;
    border: 1px solid #3A2A12; /* Border color */
    padding: 8px 15px;
    font-size: 0.9em;
}

.page-tin-tuc__btn-outline:hover {
    background-color: #F2C14E;
    color: #111111;
}

.page-tin-tuc__btn-text {
    background: none;
    border: none;
    color: #FFD36B;
    padding: 5px 0;
    font-size: 0.9em;
    text-align: left;
    justify-content: flex-start;
}

.page-tin-tuc__btn-text:hover {
    text-decoration: underline;
}

/* Section Titles */
.page-tin-tuc__section-title {
    font-size: 2.2em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2C14E;
    padding-top: 50px;
}

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

/* News Categories */
.page-tin-tuc__news-categories {
    background-color: #0A0A0A;
    padding: 60px 0;
}

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

.page-tin-tuc__category-card {
    background-color: #111111; /* Card BG color */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    height: 100%;
    box-sizing: border-box;
}

.page-tin-tuc__category-card .page-tin-tuc__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-tin-tuc__category-card .page-tin-tuc__card-description {
    font-size: 0.95em;
    color: #FFF6D6;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Latest News */
.page-tin-tuc__latest-news {
    background-color: #0A0A0A;
    padding: 60px 0;
}

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

.page-tin-tuc__news-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tin-tuc__news-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency, adjust as needed */
    object-fit: cover;
    display: block;
}

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

.page-tin-tuc__news-title {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-tin-tuc__news-title a {
    color: #F2C14E;
    text-decoration: none;
}

.page-tin-tuc__news-title a:hover {
    text-decoration: underline;
}

.page-tin-tuc__news-meta {
    font-size: 0.85em;
    color: #FFD36B;
    margin-bottom: 15px;
}

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

.page-tin-tuc__view-all-button-wrapper {
    text-align: center;
}

/* Why Follow */
.page-tin-tuc__why-follow {
    background-color: #0A0A0A;
    padding: 60px 0;
}

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

.page-tin-tuc__feature-card {
    background-color: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    height: 100%;
    box-sizing: border-box;
}

.page-tin-tuc__feature-card .page-tin-tuc__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2C14E;
}

.page-tin-tuc__feature-card .page-tin-tuc__card-description {
    font-size: 0.95em;
    color: #FFF6D6;
}