:root {
    --page-bg-color: #140C0C; /* Background */
    --card-bg-color: #2A1212; /* Card BG */
    --text-main-color: #FFF1E8; /* Text Main */
    --btn-gradient-start: #FFB04A; /* Button start */
    --btn-gradient-end: #D86A14; /* Button end */
    --border-color: #6A1E1E; /* Border */
    --gold-color: #F3C54D; /* Gold */
    --deep-red-color: #7E0D0D; /* Deep Red */
    --primary-brand-color: #C61F1F; /* Main brand color */
    --secondary-brand-color: #E53030; /* Auxiliary brand color */
}

.page-tin-tuc {
    background-color: var(--page-bg-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: 10px; /* Small top padding, body handles header offset */
}

/* Hero Section */
.page-tin-tuc__hero-section {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column; /* Enforce top-image, bottom-text */
    align-items: center;
    text-align: center;
}

.page-tin-tuc__hero-image {
    width: 100%;
    margin-bottom: 20px; /* Space between image and text */
}

.page-tin-tuc__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 15px;
    line-height: 1.2;
    max-width: 900px;
}

.page-tin-tuc__description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
    max-width: 800px;
}

/* Call to Action Buttons (Hero & CTA Section) */
.page-tin-tuc__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* For responsiveness */
    width: 100%; /* Ensure container takes full width for wrapping */
    max-width: 500px; /* Limit button group width */
    margin: 0 auto;
}

.page-tin-tuc__btn-primary,
.page-tin-tuc__btn-secondary {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-tin-tuc__btn-primary {
    background: linear-gradient(180deg, var(--btn-gradient-start) 0%, var(--btn-gradient-end) 100%);
    color: #ffffff; /* Must be white for contrast */
    border: none;
    box-shadow: 0 4px 10px rgba(255, 176, 74, 0.4);
}

.page-tin-tuc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-tin-tuc__btn-secondary {
    background-color: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    box-shadow: 0 2px 8px rgba(243, 197, 77, 0.2);
}

.page-tin-tuc__btn-secondary:hover {
    background-color: rgba(243, 197, 77, 0.1);
    transform: translateY(-2px);
}

/* Latest News Section */
.page-tin-tuc__latest-news {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 15px;
    text-align: center;
}

.page-tin-tuc__section-title {
    font-size: 2.5em;
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.page-tin-tuc__section-description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.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: var(--card-bg-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
}

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

.page-tin-tuc__card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tin-tuc__news-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-tin-tuc__card-content {
    padding: 20px;
    flex-grow: 1; /* Ensures content fills space */
    display: flex;
    flex-direction: column;
}

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

.page-tin-tuc__card-meta {
    font-size: 0.9em;
    color: rgba(255, 241, 232, 0.7);
    margin-bottom: 15px;
}

.page-tin-tuc__card-excerpt {
    font-size: 1em;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1; /* Push read more to bottom */
}

.page-tin-tuc__read-more-btn {
    display: inline-block;
    color: var(--gold-color);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid var(--gold-color);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-tin-tuc__read-more-btn:hover {
    color: #ffffff;
    border-color: #ffffff;
}

.page-tin-tuc__view-all {
    margin-top: 30px;
}

/* Content Area */
.page-tin-tuc__content-area {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 15px;
    text-align: left;
}

.page-tin-tuc__about-news {
    background-color: var(--card-bg-color); /* Use card background for content section */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc__sub-title {
    font-size: 1.8em;
    color: var(--gold-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-tin-tuc__text-block {
    font-size: 1.05em;
    color: var(--text-main-color);
    margin-bottom: 20px;
}

/* CTA Section at bottom */
.page-tin-tuc__cta-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 40px 15px;
    background: linear-gradient(90deg, var(--deep-red-color) 0%, var(--primary-brand-color) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-tin-tuc__cta-content {
    flex: 2;
    text-align: left;
}

.page-tin-tuc__cta-title {
    font-size: clamp(1.8em, 3.5vw, 2.8em);
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-tin-tuc__cta-description {
    font-size: 1.1em;
    color: var(--text-main-color);
    margin-bottom: 30px;
}

.page-tin-tuc__cta-image {
    flex: 1;
    min-width: 300px;
    text-align: right;
}

.page-tin-tuc__cta-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

    /* HERO 主图区域 */
    .page-tin-tuc__hero-section {
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .page-tin-tuc__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust clamp for mobile */
        max-width: 100%;
    }

    .page-tin-tuc__description {
        font-size: 1em;
        max-width: 100%;
    }

    /* 按钮与按钮容器 */
    .page-tin-tuc__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .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;
        padding: 12px 20px;
    }

    /* Latest News Section */
    .page-tin-tuc__latest-news {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 0 15px;
    }

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

    .page-tin-tuc__section-description {
        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__news-card img {
        height: 200px; /* Adjust height for mobile */
    }

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

    .page-tin-tuc__card-excerpt {
        font-size: 0.95em;
    }

    /* 长文区 */
    .page-tin-tuc__content-area {
        margin-top: 40px;
        margin-bottom: 40px;
        padding: 25px 15px;
    }

    .page-tin-tuc__sub-title {
        font-size: 1.5em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-tin-tuc__text-block {
        font-size: 1em;
        margin-bottom: 15px;
    }

    /* CTA Section */
    .page-tin-tuc__cta-section {
        margin-top: 60px;
        margin-bottom: 60px;
        flex-direction: column; /* Stack CTA content and image vertically */
        text-align: center;
        padding: 30px 15px;
        gap: 30px;
    }

    .page-tin-tuc__cta-content {
        text-align: center;
    }

    .page-tin-tuc__cta-title {
        font-size: clamp(1.5em, 7vw, 2.2em); /* Adjust clamp for mobile */
    }

    .page-tin-tuc__cta-description {
        font-size: 1em;
    }

    .page-tin-tuc__cta-image {
        min-width: unset;
        width: 100%;
    }

    /* 通用图片与容器 */
    .page-tin-tuc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-tin-tuc__section,
    .page-tin-tuc__card,
    .page-tin-tuc__container,
    .page-tin-tuc__latest-news,
    .page-tin-tuc__content-area,
    .page-tin-tuc__cta-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}