/* style/tin-tuc.css */
.page-tin-tuc {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Text Main */
    background-color: #140C0C; /* Background */
    line-height: 1.6;
}

.page-tin-tuc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 40px;
    overflow: hidden;
    background-color: #140C0C; /* Ensure dark background for this section */
}

.page-tin-tuc__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain max width for image */
    margin-bottom: 20px;
}

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

.page-tin-tuc__hero-content {
    max-width: 900px;
    margin-top: 20px;
}

.page-tin-tuc__hero-title {
    color: #F3C54D; /* Gold */
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(243, 197, 77, 0.5);
}

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

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
}

.page-tin-tuc__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button color */
    color: #140C0C; /* Dark text on light button */
    border: 2px solid transparent;
}

.page-tin-tuc__btn-primary:hover {
    background: linear-gradient(180deg, #D86A14 0%, #FFB04A 100%);
    box-shadow: 0 0 15px rgba(255, 176, 74, 0.7);
}

.page-tin-tuc__btn-secondary {
    background: #2A1212; /* Card BG */
    color: #F3C54D; /* Gold */
    border: 2px solid #F3C54D; /* Gold border */
    margin-left: 15px;
}

.page-tin-tuc__btn-secondary:hover {
    background: #F3C54D;
    color: #140C0C;
    border-color: #F3C54D;
    box-shadow: 0 0 15px rgba(243, 197, 77, 0.7);
}

.page-tin-tuc__latest-news-section,
.page-tin-tuc__why-follow-section,
.page-tin-tuc__faq-section,
.page-tin-tuc__cta-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #140C0C; /* Background */
    border-radius: 8px;
    margin-top: 30px;
}

.page-tin-tuc__section-title {
    color: #F3C54D; /* Gold */
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(243, 197, 77, 0.4);
}

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

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

.page-tin-tuc__news-card {
    background-color: #2A1212; /* Card BG */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.page-tin-tuc__card-title a {
    color: #F3C54D; /* Gold */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc__card-title a:hover {
    color: #FFB04A;
}

.page-tin-tuc__card-date {
    font-size: 0.9em;
    color: #999;
    margin-bottom: 15px;
}

.page-tin-tuc__card-summary {
    font-size: 1em;
    color: #FFF1E8;
    flex-grow: 1;
}

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

.page-tin-tuc__feature-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__feature-title {
    color: #FFB04A;
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
}

.page-tin-tuc__feature-description {
    color: #FFF1E8;
    font-size: 1em;
    text-align: left;
}

.page-tin-tuc__faq-list {
    margin-top: 40px;
}

.page-tin-tuc__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-tin-tuc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: 600;
    color: #F3C54D; /* Gold */
    cursor: pointer;
    list-style: none; /* For details/summary */
}

.page-tin-tuc__faq-item summary::-webkit-details-marker, 
.page-tin-tuc__faq-item summary::marker {
    display: none;
}

.page-tin-tuc__faq-qtext {
    flex-grow: 1;
}

.page-tin-tuc__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #FFB04A;
}

.page-tin-tuc__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #FFF1E8;
    line-height: 1.6;
}

.page-tin-tuc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-tin-tuc {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-tin-tuc__hero-section {
        padding: 10px 15px 30px;
    }

    .page-tin-tuc__hero-image {
        max-width: 100% !important;
        height: auto !important;
        object-fit: contain; /* Main visual mobile: contain */
    }

    .page-tin-tuc__hero-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-top: 15px;
    }

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

    .page-tin-tuc__btn-primary,
    .page-tin-tuc__btn-secondary {
        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; /* Remove margin for secondary button */
        margin-bottom: 15px; /* Add vertical spacing */
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tin-tuc__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 10px !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-tin-tuc__latest-news-section,
    .page-tin-tuc__why-follow-section,
    .page-tin-tuc__faq-section,
    .page-tin-tuc__cta-section {
        padding: 40px 15px;
        margin-top: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-tin-tuc__section-intro,
    .page-tin-tuc__text-block {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-tin-tuc__news-grid {
        grid-template-columns: 1fr; /* Single column for news cards */
        gap: 20px;
    }

    .page-tin-tuc__card-image {
        height: 180px;
    }

    .page-tin-tuc__card-title {
        font-size: 1.2em;
    }

    .page-tin-tuc__features-grid {
        grid-template-columns: 1fr; /* Single column for features */
        gap: 20px;
        margin-top: 30px;
    }

    .page-tin-tuc__feature-item {
        padding: 20px;
    }

    .page-tin-tuc__feature-title {
        font-size: 1.2em;
    }

    .page-tin-tuc__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-tin-tuc__faq-toggle {
        font-size: 1.3em;
    }

    /* Ensure all images within content sections are responsive */
    .page-tin-tuc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

    .page-tin-tuc__news-card, .page-tin-tuc__feature-item, .page-tin-tuc__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Removed padding-left/right here as it's handled by section/container */
    }
}