/* style/tin-tc.css */
.page-tin-tc {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

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

.page-tin-tc h1, .page-tin-tc h2, .page-tin-tc h3 {
    color: #1A202C;
    font-weight: bold;
    margin-bottom: 20px;
}

.page-tin-tc h1 {
    font-size: 3.2em;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.page-tin-tc h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

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

.page-tin-tc h3 {
    font-size: 1.8em;
    color: #1A202C;
}

.page-tin-tc p {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-tin-tc a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tc a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-tin-tc .cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFD700;
    color: #1A202C;
    font-weight: bold;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.page-tin-tc .cta-button:hover {
    background-color: #e6c200;
    color: #000000;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Section */
.page-tin-tc .hero-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background: linear-gradient(135deg, #1A202C, #3a475a);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-tin-tc .hero-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-tin-tc .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.page-tin-tc .hero-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.page-tin-tc .hero-content p {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* News Categories Section */
.page-tin-tc .news-categories {
    padding: 60px 0;
    background-color: #f9f9f9;
}

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

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

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

.page-tin-tc .category-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-tin-tc .category-card h3 {
    font-size: 1.5em;
    color: #1A202C;
    margin-bottom: 10px;
}

.page-tin-tc .category-card p {
    color: #555;
    font-size: 1em;
    line-height: 1.5;
}

/* Latest News Section */
.page-tin-tc .latest-news {
    padding: 60px 0;
    background-color: #ffffff;
}

.page-tin-tc .news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tc .news-item {
    display: flex;
    background-color: #fefefe;
    border-radius: 12px;
    box-shadow: 0 4px 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-thumbnail {
    width: 300px;
    height: auto;
    object-fit: cover;
    flex-shrink: 0;
}

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

.page-tin-tc .news-content h3 {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-tin-tc .news-content h3 a {
    color: #1A202C;
    transition: color 0.3s ease;
}

.page-tin-tc .news-content h3 a:hover {
    color: #FFD700;
}

.page-tin-tc .news-meta {
    font-size: 0.9em;
    color: #888;
    margin-bottom: 15px;
}

.page-tin-tc .news-content p {
    font-size: 1em;
    margin-bottom: 20px;
}

.page-tin-tc .read-more {
    color: #FFD700;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95em;
}

.page-tin-tc .read-more:hover {
    text-decoration: underline;
}

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

.page-tin-tc .pagination a {
    display: inline-block;
    padding: 12px 18px;
    margin: 0 5px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #1A202C;
    font-weight: bold;
    transition: all 0.3s ease;
}

.page-tin-tc .pagination a.active, .page-tin-tc .pagination a:hover {
    background-color: #FFD700;
    color: #1A202C;
    border-color: #FFD700;
}

/* Promotions CTA Section */
.page-tin-tc .promotions-cta {
    background-color: #1A202C;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

.page-tin-tc .promotions-cta h2 {
    color: #FFD700;
    font-size: 2.8em;
}

.page-tin-tc .promotions-cta p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 20px auto 40px auto;
    color: #e0e0e0;
}

/* FAQ Section */
.page-tin-tc .faq-section {
    padding: 60px 0;
    background-color: #f5f5f5;
}

.page-tin-tc .faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-tin-tc .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-tin-tc .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-tin-tc .faq-question:hover {
    background-color: #f0f0f0;
}

.page-tin-tc .faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: #1A202C;
}

.page-tin-tc .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-tin-tc .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: #1A202C;
}

.page-tin-tc .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background-color: #fdfdfd;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-radius: 0 0 8px 8px;
}

.page-tin-tc .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
}

.page-tin-tc .faq-answer p {
    margin-bottom: 0;
    color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-tin-tc h1 {
        font-size: 2.8em;
    }
    .page-tin-tc .hero-content p {
        font-size: 1.1em;
    }
    .page-tin-tc .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-tin-tc .news-thumbnail {
        width: 250px;
    }
    .page-tin-tc .news-content h3 {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-tin-tc h1 {
        font-size: 2.2em;
    }
    .page-tin-tc h2 {
        font-size: 2em;
    }
    .page-tin-tc h3 {
        font-size: 1.5em;
    }
    .page-tin-tc .hero-section {
        padding: 60px 0;
    }
    .page-tin-tc .hero-content p {
        font-size: 1em;
    }
    .page-tin-tc .cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }
    .page-tin-tc .category-grid {
        grid-template-columns: 1fr;
    }
    .page-tin-tc .news-item {
        flex-direction: column;
    }
    .page-tin-tc .news-thumbnail {
        width: 100%;
        height: 220px;
        border-radius: 12px 12px 0 0;
    }
    .page-tin-tc .news-content {
        padding: 20px;
    }
    .page-tin-tc .news-content h3 {
        font-size: 1.3em;
    }
    .page-tin-tc .promotions-cta h2 {
        font-size: 2.2em;
    }
    .page-tin-tc .promotions-cta p {
        font-size: 1em;
    }
    .page-tin-tc .faq-question {
        padding: 15px 20px;
    }
    .page-tin-tc .faq-question h3 {
        font-size: 1.1em;
    }
    .page-tin-tc .faq-toggle {
        font-size: 20px;
    }
    .page-tin-tc .faq-answer {
        padding: 0 20px;
    }
    .page-tin-tc .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-tin-tc h1 {
        font-size: 1.8em;
    }
    .page-tin-tc h2 {
        font-size: 1.6em;
    }
    .page-tin-tc h3 {
        font-size: 1.3em;
    }
    .page-tin-tc .hero-section {
        padding: 40px 0;
    }
    .page-tin-tc .hero-content p {
        font-size: 0.95em;
    }
    .page-tin-tc .cta-button {
        padding: 10px 20px;
        font-size: 0.85em;
    }
    .page-tin-tc .news-thumbnail {
        height: 180px;
    }
    .page-tin-tc .promotions-cta h2 {
        font-size: 1.8em;
    }
    .page-tin-tc .pagination a {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}