/* style/tin-tuc.css */

:root {
    --primary-color: #1A1A1A;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #1A1A1A;
    --bg-light: #f4f4f4;
    --border-color: #333333;
    --card-bg: #2a2a2a;
    --button-hover-bg: #e0b800;
    --link-color: #FFD700;
}

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

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

.page-tin-tuc .hero-section {
    background-color: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-tin-tuc .hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-tin-tuc .hero-subtitle {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
}

.page-tin-tuc .hero-subtitle a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: bold;
}

.page-tin-tuc .hero-subtitle a:hover {
    text-decoration: underline;
}

.page-tin-tuc .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-tin-tuc .cta-button:hover {
    background-color: var(--button-hover-bg);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.page-tin-tuc .content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-tin-tuc .content-section:last-of-type {
    border-bottom: none;
}

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

.page-tin-tuc .section-description {
    text-align: center;
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 40px;
}

.page-tin-tuc .section-description a {
    color: var(--link-color);
    text-decoration: none;
}

.page-tin-tuc .section-description a:hover {
    text-decoration: underline;
}

.page-tin-tuc .intro-grid {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-tin-tuc .intro-text {
    flex: 1;
    font-size: 1.05em;
    color: var(--text-light);
}

.page-tin-tuc .intro-text p {
    margin-bottom: 15px;
}

.page-tin-tuc .intro-text a {
    color: var(--link-color);
    text-decoration: none;
}

.page-tin-tuc .intro-text a:hover {
    text-decoration: underline;
}

.page-tin-tuc .intro-image {
    flex: 0 0 45%;
    text-align: center;
}

.page-tin-tuc .intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

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

.page-tin-tuc .article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

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

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

.page-tin-tuc .card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-tin-tuc .card-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc .card-title a:hover {
    color: var(--link-color);
    text-decoration: underline;
}

.page-tin-tuc .card-meta {
    font-size: 0.9em;
    color: #bbb;
    margin-bottom: 15px;
}

.page-tin-tuc .card-excerpt {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 20px;
}

.page-tin-tuc .card-excerpt a {
    color: var(--link-color);
    text-decoration: none;
}

.page-tin-tuc .card-excerpt a:hover {
    text-decoration: underline;
}

.page-tin-tuc .read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--link-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

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

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

.page-tin-tuc .category-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-tin-tuc .category-title {
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page-tin-tuc .category-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc .category-title a:hover {
    color: var(--link-color);
    text-decoration: underline;
}

.page-tin-tuc .category-description {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 20px;
}

.page-tin-tuc .category-description a {
    color: var(--link-color);
    text-decoration: none;
}

.page-tin-tuc .category-description a:hover {
    text-decoration: underline;
}

.page-tin-tuc .view-all-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--link-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-tin-tuc .view-all-button:hover {
    background-color: var(--button-hover-bg);
}

.page-tin-tuc .articles-list .list-item {
    display: flex;
    align-items: flex-start;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tuc .articles-list .list-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-tin-tuc .articles-list .list-item img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-tin-tuc .articles-list .item-content {
    padding: 20px 25px;
    flex-grow: 1;
}

.page-tin-tuc .articles-list .item-title {
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-tin-tuc .articles-list .item-title a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tuc .articles-list .item-title a:hover {
    color: var(--link-color);
    text-decoration: underline;
}

.page-tin-tuc .articles-list .item-meta {
    font-size: 0.9em;
    color: #bbb;
    margin-bottom: 15px;
}

.page-tin-tuc .articles-list .item-meta a {
    color: #aaa;
    text-decoration: none;
}

.page-tin-tuc .articles-list .item-meta a:hover {
    text-decoration: underline;
}

.page-tin-tuc .articles-list .item-excerpt {
    font-size: 1em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-tin-tuc .articles-list .item-excerpt a {
    color: var(--link-color);
    text-decoration: none;
}

.page-tin-tuc .articles-list .item-excerpt a:hover {
    text-decoration: underline;
}

.page-tin-tuc .pagination {
    text-align: center;
    margin-top: 50px;
}

.page-tin-tuc .page-link {
    display: inline-block;
    padding: 10px 18px;
    margin: 0 5px;
    background-color: var(--card-bg);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

.page-tin-tuc .page-link:hover,
.page-tin-tuc .page-link.active {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

.page-tin-tuc .cta-banner {
    background-color: var(--secondary-color);
    padding: 80px 0;
    text-align: center;
}

.page-tin-tuc .cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-tin-tuc .cta-title {
    font-size: 2.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-tin-tuc .cta-title a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.page-tin-tuc .cta-description {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-bottom: 40px;
}

.page-tin-tuc .cta-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-tin-tuc .cta-description a:hover {
    text-decoration: underline;
}

.page-tin-tuc .cta-button-large {
    display: inline-block;
    padding: 20px 50px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 10px;
    font-size: 1.4em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-tin-tuc .cta-button-large:hover {
    background-color: #333333;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* 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 .intro-grid {
        flex-direction: column;
        text-align: center;
    }
    .page-tin-tuc .intro-image {
        flex: none;
        width: 100%;
    }
    .page-tin-tuc .articles-list .list-item {
        flex-direction: column;
        align-items: center;
    }
    .page-tin-tuc .articles-list .list-item img {
        width: 100%;
        height: 250px;
        border-radius: 10px 10px 0 0;
    }
    .page-tin-tuc .articles-list .item-content {
        text-align: center;
    }
    .page-tin-tuc .cta-title {
        font-size: 2.2em;
    }
    .page-tin-tuc .cta-description {
        font-size: 1.1em;
    }
    .page-tin-tuc .cta-button-large {
        font-size: 1.2em;
        padding: 15px 40px;
    }
}

@media (max-width: 768px) {
    .page-tin-tuc .hero-section {
        padding: 60px 0;
    }
    .page-tin-tuc .hero-title {
        font-size: 2.2em;
    }
    .page-tin-tuc .hero-subtitle {
        font-size: 1.1em;
    }
    .page-tin-tuc .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-tin-tuc .content-section {
        padding: 40px 0;
    }
    .page-tin-tuc .section-title {
        font-size: 1.8em;
    }
    .page-tin-tuc .section-description {
        font-size: 1em;
    }
    .page-tin-tuc .articles-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tuc .article-card img {
        height: 200px;
    }
    .page-tin-tuc .card-title {
        font-size: 1.3em;
    }
    .page-tin-tuc .categories-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tuc .category-title {
        font-size: 1.4em;
    }
    .page-tin-tuc .articles-list .list-item img {
        height: 200px;
    }
    .page-tin-tuc .articles-list .item-title {
        font-size: 1.2em;
    }
    .page-tin-tuc .cta-title {
        font-size: 1.8em;
    }
    .page-tin-tuc .cta-description {
        font-size: 0.95em;
    }
    .page-tin-tuc .cta-button-large {
        font-size: 1em;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .page-tin-tuc .container {
        padding: 0 15px;
    }
    .page-tin-tuc .hero-title {
        font-size: 1.8em;
    }
    .page-tin-tuc .hero-subtitle {
        font-size: 0.9em;
    }
    .page-tin-tuc .section-title {
        font-size: 1.5em;
    }
    .page-tin-tuc .article-card img {
        height: 180px;
    }
    .page-tin-tuc .articles-list .list-item img {
        height: 160px;
    }
    .page-tin-tuc .cta-banner {
        padding: 40px 0;
    }
    .page-tin-tuc .cta-title {
        font-size: 1.5em;
    }
    .page-tin-tuc .cta-button-large {
        font-size: 0.9em;
        padding: 10px 25px;
    }
}