/* style/tin-tc.css */

/* Biến màu sắc */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

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

.page-tin-tc__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-tin-tc__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Hero Section */
.page-tin-tc__hero {
    background: linear-gradient(135deg, var(--secondary-color), #a30000);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-tin-tc__hero-content {
    max-width: 900px;
}

.page-tin-tc__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tin-tc__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.page-tin-tc__cta-button:hover {
    background-color: #FFC107; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-tin-tc__introduction {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-tin-tc__introduction p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

.page-tin-tc__introduction strong {
    color: var(--secondary-color);
}

/* Featured Articles Section */
.page-tin-tc__featured-articles {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-tin-tc__article-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

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

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

.page-tin-tc__article-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--secondary-color);
    line-height: 1.3;
}

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

.page-tin-tc__article-title a:hover {
    color: var(--primary-color);
}

.page-tin-tc__article-summary {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tin-tc__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    border: 2px solid var(--primary-color);
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    align-self: flex-start;
}

.page-tin-tc__read-more:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Latest News Section */
.page-tin-tc__latest-news {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-tin-tc__news-list {
    display: grid;
    gap: 30px;
}

.page-tin-tc__news-item {
    display: flex;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc__news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-tin-tc__news-thumb {
    width: 250px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-tin-tc__news-details {
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-tin-tc__news-item-title {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

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

.page-tin-tc__news-item-title a:hover {
    color: var(--primary-color);
}

.page-tin-tc__news-details time {
    font-size: 0.9em;
    color: #888888;
    margin-bottom: 10px;
}

.page-tin-tc__news-details p {
    font-size: 0.95em;
    color: #555555;
    margin-bottom: 15px;
}

/* Pagination */
.page-tin-tc__pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    gap: 10px;
}

.page-tin-tc__pagination-link {
    display: block;
    padding: 12px 18px;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--secondary-color);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: bold;
}

.page-tin-tc__pagination-link:hover {
    background-color: var(--primary-color);
    color: var(--text-dark);
}

.page-tin-tc__pagination-link--active {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border-color: var(--primary-color);
}

/* Call to Action Section */
.page-tin-tc__call-to-action {
    background: linear-gradient(135deg, #a30000, var(--secondary-color));
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
}

.page-tin-tc__call-to-action .page-tin-tc__section-title {
    color: var(--primary-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-tin-tc__call-to-action p {
    font-size: 1.1em;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tin-tc__cta-button--large {
    padding: 18px 45px;
    font-size: 1.2em;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-tin-tc__hero-title {
        font-size: 3em;
    }

    .page-tin-tc__news-thumb {
        width: 200px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .page-tin-tc__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-tin-tc__hero {
        padding: 60px 15px;
    }

    .page-tin-tc__hero-title {
        font-size: 2.5em;
    }

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

    .page-tin-tc__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-tin-tc__article-grid {
        grid-template-columns: 1fr;
    }

    .page-tin-tc__news-item {
        flex-direction: column;
    }

    .page-tin-tc__news-thumb {
        width: 100%;
        height: 200px;
    }

    .page-tin-tc__news-details {
        padding: 20px;
    }

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

    .page-tin-tc__pagination-link {
        padding: 10px 15px;
        font-size: 0.9em;
    }

    .page-tin-tc__call-to-action {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .page-tin-tc__hero-title {
        font-size: 2em;
    }

    .page-tin-tc__article-title {
        font-size: 1.3em;
    }

    .page-tin-tc__news-item-title {
        font-size: 1.1em;
    }

    .page-tin-tc__read-more {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    
    .page-tin-tc__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}