/* Base styles for the page-tin-tuc */
.page-tin-tuc {
    font-family: Arial, sans-serif;
    color: var(--text-main, #F2FFF6); /* Default text color for the page */
    background-color: var(--background-color, #08160F); /* Default background color for the page */
    line-height: 1.6;
}

.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, assuming body handles header offset */
    background-color: var(--background-color, #08160F);
    color: var(--text-main, #F2FFF6);
    padding-bottom: 40px;
}

.page-tin-tuc__hero-content-wrapper {
    display: flex;
    flex-direction: column; /* Enforce image above text */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    gap: 30px;
}

.page-tin-tuc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    max-width: 1200px; /* Ensure image scales down */
}

.page-tin-tuc__hero-text-block {
    text-align: center;
    max-width: 800px;
}

.page-tin-tuc__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-tin-tuc__intro-description {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
}

.page-tin-tuc__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tin-tuc__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

/* Section Titles */
.page-tin-tuc__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: var(--gold, #F2C14E);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

/* General Section Styling */
.page-tin-tuc__section {
    padding: 40px 0;
    background-color: var(--background-color, #08160F);
}

/* News Grid */
.page-tin-tuc__news-grid,
.page-tin-tuc__guides-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__guide-card {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure cards stretch */
}

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

.page-tin-tuc__news-content,
.page-tin-tuc__guide-content {
    padding: 20px;
    flex-grow: 1; /* Allow content to fill space */
    display: flex;
    flex-direction: column;
}

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

.page-tin-tuc__news-title a,
.page-tin-tuc__guide-title a {
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
}

.page-tin-tuc__news-title a:hover,
.page-tin-tuc__guide-title a:hover {
    color: var(--glow, #57E38D);
}

.page-tin-tuc__news-meta {
    font-size: 0.9em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 15px;
}

.page-tin-tuc__news-excerpt,
.page-tin-tuc__guide-excerpt {
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow excerpt to fill space */
}

.page-tin-tuc__read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push to bottom */
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-tin-tuc__read-more-btn:hover {
    background-color: var(--glow, #57E38D);
    color: #08160F;
}

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

.page-tin-tuc__view-all-btn {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tin-tuc__view-all-btn:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-tin-tuc__promo-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

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

.page-tin-tuc__promo-title a {
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
}

.page-tin-tuc__promo-title a:hover {
    color: var(--glow, #57E38D);
}

.page-tin-tuc__promo-excerpt {
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tin-tuc__promo-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--deep-green, #0A4B2C);
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-tin-tuc__promo-btn:hover {
    background-color: var(--glow, #57E38D);
    color: #08160F;
}

/* Community Section */
.page-tin-tuc__community-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-tin-tuc__community-image {
    width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}

.page-tin-tuc__community-text {
    width: 50%;
    color: var(--text-secondary, #A7D9B8);
}

.page-tin-tuc__community-subtitle {
    font-size: 1.6em;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    margin-top: 0;
    margin-bottom: 15px;
}

.page-tin-tuc__community-text p {
    margin-bottom: 20px;
}

/* FAQ Section */
.page-tin-tuc__faq-list {
    margin-top: 40px;
}

.page-tin-tuc__faq-item {
    background-color: var(--card-bg, #11271B);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-tin-tuc__faq-item summary {
    list-style: none; /* Hide default marker */
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    border-bottom: 1px solid var(--divider, #1E3A2A);
}

.page-tin-tuc__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit */
}

.page-tin-tuc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-tin-tuc__faq-toggle::before {
    content: '+';
    font-size: 1.5em;
    color: var(--glow, #57E38D);
    transition: transform 0.3s ease;
}