/* style/tin-tuc.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #1a1a1a;
    --border-color: #e0e0e0;
}

.page-tin-tuc {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Hero Section */
.page-tin-tuc-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-tin-tuc-hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc-hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-tin-tuc-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.page-tin-tuc-cta-button:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Articles Section */
.page-tin-tuc-articles {
    background-color: var(--background-light);
    padding: 60px 0;
}

.page-tin-tuc-section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
}

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

.page-tin-tuc-article-card {
    background-color: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc-article-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-tin-tuc-article-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.page-tin-tuc-article-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-tin-tuc-article-content {
    padding: 25px;
}

.page-tin-tuc-article-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-tin-tuc-article-summary {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 15px;
    height: 100px; /* Fixed height for summary */
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-tin-tuc-article-date {
    display: block;
    font-size: 0.85em;
    color: #666;
    margin-bottom: 10px;
}

.page-tin-tuc-read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc-read-more:hover {
    color: var(--secondary-color);
}

/* Promo Banner */
.page-tin-tuc-promo-banner {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

.page-tin-tuc-promo-banner .page-tin-tuc-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-tin-tuc-promo-content {
    flex: 1;
    max-width: 700px;
}

.page-tin-tuc-promo-title {
    font-size: 2.8em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.page-tin-tuc-promo-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-tin-tuc-promo-button {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-tin-tuc-promo-button:hover {
    background-color: var(--text-light);
    color: var(--secondary-color);
}

.page-tin-tuc-promo-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* About Us Section */
.page-tin-tuc-about-us {
    padding: 60px 0;
    background-color: var(--text-light);
}

.page-tin-tuc-about-text {
    font-size: 1.1em;
    color: var(--text-dark);
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-tin-tuc-hero-title {
        font-size: 2.8em;
    }
    .page-tin-tuc-section-title {
        font-size: 2em;
    }
    .page-tin-tuc-promo-title {
        font-size: 2.2em;
    }
    .page-tin-tuc-promo-banner .page-tin-tuc-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-tin-tuc-hero {
        padding: 60px 0;
    }
    .page-tin-tuc-hero-title {
        font-size: 2.2em;
    }
    .page-tin-tuc-hero-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-tin-tuc-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-tin-tuc-articles, .page-tin-tuc-promo-banner, .page-tin-tuc-about-us {
        padding: 40px 0;
    }
    .page-tin-tuc-section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-tin-tuc-article-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tuc-article-image {
        height: 180px;
    }
    .page-tin-tuc-article-title {
        font-size: 1.3em;
    }
    .page-tin-tuc-promo-title {
        font-size: 1.8em;
    }
    .page-tin-tuc-promo-description {
        font-size: 0.95em;
    }
    .page-tin-tuc-promo-image {
        max-width: 100%;
    }
    .page-tin-tuc-about-text {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-tin-tuc-hero-title {
        font-size: 1.8em;
    }
    .page-tin-tuc-cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-tin-tuc-section-title {
        font-size: 1.5em;
    }
    .page-tin-tuc-article-content {
        padding: 15px;
    }
    .page-tin-tuc-article-title {
        font-size: 1.2em;
    }
    .page-tin-tuc-promo-title {
        font-size: 1.5em;
    }
    .page-tin-tuc-promo-description {
        font-size: 0.9em;
    }
}