/* style/tin-tc.css */
:root {
    --primary-color: #FFD700; /* Vàng kim */
    --secondary-color: #000080; /* Xanh đậm */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f5f5f5;
    --bg-dark: #222222;
    --border-color: #e0e0e0;
}

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

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

.page-tin-tc .hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 60px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-tin-tc .hero-banner-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-tin-tc .hero-banner h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-tin-tc .hero-banner p {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.page-tin-tc .hero-banner .text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-tin-tc .hero-banner .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 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tin-tc .hero-banner .cta-button:hover {
    background-color: #FFC400;
    transform: translateY(-3px);
}

.page-tin-tc .hero-banner-image {
    width: 100%;
    max-width: 900px;
    margin-top: 30px;
}

.page-tin-tc .hero-banner-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-tin-tc .latest-news-section, 
.page-tin-tc .categories-section, 
.page-tin-tc .cta-bottom-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

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

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

.page-tin-tc .section-description {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-dark);
}

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

.page-tin-tc .news-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 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 .news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.page-tin-tc .news-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid var(--border-color);
}

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

.page-tin-tc .news-card h3 {
    font-size: 1.6em;
    margin-bottom: 15px;
    line-height: 1.4;
}

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

.page-tin-tc .news-card h3 a.news-title:hover {
    color: var(--primary-color);
}

.page-tin-tc .news-card p {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tin-tc .news-card .read-more-link {
    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;
    align-self: flex-start;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-tin-tc .news-card .read-more-link:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-tin-tc .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.page-tin-tc .category-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 25px;
    text-decoration: none;
    color: var(--text-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

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

.page-tin-tc .category-card img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 15px;
    border-radius: 50%; /* Make them circular */
    border: 3px solid var(--primary-color);
    padding: 5px;
}

.page-tin-tc .category-card h4 {
    font-size: 1.3em;
    color: var(--secondary-color);
    margin: 0;
}

.page-tin-tc .cta-bottom-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    padding: 80px 20px;
}

.page-tin-tc .cta-bottom-section h2 {
    color: var(--primary-color);
    margin-bottom: 30px;
}

.page-tin-tc .cta-bottom-section h2::after {
    background-color: var(--text-light);
}

.page-tin-tc .cta-bottom-section p {
    font-size: 1.15em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-tin-tc .cta-bottom-section .cta-button {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    margin: 0 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tin-tc .cta-bottom-section .cta-button.primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-tin-tc .cta-bottom-section .cta-button.primary:hover {
    background-color: #FFC400;
    transform: translateY(-3px);
}

.page-tin-tc .cta-bottom-section .cta-button.secondary {
    background-color: #ffffff;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-tin-tc .cta-bottom-section .cta-button.secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-tin-tc .hero-banner h1 {
        font-size: 2.8em;
    }
    .page-tin-tc h2 {
        font-size: 2em;
    }
    .page-tin-tc .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-tin-tc .news-card img {
        height: 180px;
    }
    .page-tin-tc .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-tin-tc .hero-banner {
        padding: 40px 15px;
    }
    .page-tin-tc .hero-banner h1 {
        font-size: 2.2em;
    }
    .page-tin-tc .hero-banner p {
        font-size: 1em;
    }
    .page-tin-tc .hero-banner .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-tin-tc .latest-news-section, 
    .page-tin-tc .categories-section, 
    .page-tin-tc .cta-bottom-section {
        padding: 40px 0;
    }
    .page-tin-tc h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-tin-tc .section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-tin-tc .news-card .card-content {
        padding: 20px;
    }
    .page-tin-tc .news-card h3 {
        font-size: 1.4em;
    }
    .page-tin-tc .news-card p {
        font-size: 0.9em;
    }
    .page-tin-tc .news-card .read-more-link {
        padding: 8px 15px;
        font-size: 0.9em;
    }
    .page-tin-tc .cta-bottom-section .cta-button {
        display: block;
        margin: 15px auto;
        width: 80%;
        max-width: 300px;
        font-size: 1.1em;
    }
    .page-tin-tc .cta-bottom-section p {
        font-size: 1em;
    }
    .page-tin-tc .category-card img {
        width: 80px;
        height: 80px;
    }
    .page-tin-tc .category-card h4 {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-tin-tc .hero-banner h1 {
        font-size: 1.8em;
    }
    .page-tin-tc h2 {
        font-size: 1.6em;
    }
    .page-tin-tc .news-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tc .categories-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tc .hero-banner-image img {
        border-radius: 8px;
    }
    .page-tin-tc .news-card {
        border-radius: 8px;
    }
    .page-tin-tc .category-card {
        border-radius: 8px;
    }
    .page-tin-tc .cta-bottom-section .cta-button {
        margin: 10px auto;
    }
}