/* style/tin-tc.css */
:root {
    --primary-color: #1A2B4C;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f9f9f9;
    --bg-dark: #2c3e50;
    --border-color: #e0e0e0;
}

/* General Section Styling */
.page-tin-tc section {
    padding: 60px 0;
    text-align: center;
}

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

.page-tin-tc .section-title {
    font-size: 38px;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

/* Hero Section */
.page-tin-tc .hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a507a 100%);
    color: var(--text-light);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.page-tin-tc .hero-title {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.1;
}

.page-tin-tc .hero-subtitle {
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--text-light);
    opacity: 0.9;
}

.page-tin-tc .cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.page-tin-tc .cta-button:hover {
    background: #ffc400;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
}

/* Introduction Section */
.page-tin-tc .introduction-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.page-tin-tc .introduction-section p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: left;
}

.page-tin-tc .introduction-section strong {
    color: var(--primary-color);
}

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

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

.page-tin-tc .news-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    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 15px 40px rgba(0, 0, 0, 0.15);
}

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

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

.page-tin-tc .news-card-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
}

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

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

.page-tin-tc .news-card-date {
    font-size: 14px;
    color: #777777;
    margin-bottom: 15px;
}

.page-tin-tc .news-card-excerpt {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tin-tc .read-more-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s ease;
}

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

/* Guides & Tips Section */
.page-tin-tc .guides-tips-section {
    background-color: var(--bg-light);
}

.page-tin-tc .article-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tc .article-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc .article-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-tin-tc .article-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

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

.page-tin-tc .article-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tin-tc .article-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tc .article-content h3 a:hover {
    color: var(--secondary-color);
}

.page-tin-tc .article-content p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Promotions & Events Section */
.page-tin-tc .promotions-events-section {
    background-color: #ffffff;
}

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

.page-tin-tc .promo-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-tin-tc .promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.page-tin-tc .promo-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-tin-tc .promo-card h3 {
    font-size: 22px;
    font-weight: bold;
    margin: 20px 25px 10px;
    line-height: 1.4;
}

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

.page-tin-tc .promo-card h3 a:hover {
    color: var(--secondary-color);
}

.page-tin-tc .promo-card p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    padding: 0 25px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tin-tc .promo-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    margin: 0 25px 25px;
    transition: all 0.3s ease;
}

.page-tin-tc .promo-button:hover {
    background: #ffc400;
    transform: translateY(-2px);
}

.page-tin-tc .cta-button-secondary {
    display: inline-block;
    padding: 15px 35px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-tin-tc .cta-button-secondary:hover {
    background: #3a507a;
    transform: translateY(-2px);
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.2);
}

/* In-depth Analysis Section */
.page-tin-tc .in-depth-analysis-section {
    background-color: var(--bg-light);
}

.page-tin-tc .analysis-articles {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-tin-tc .analysis-item {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    text-align: left;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tin-tc .analysis-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-tin-tc .analysis-image {
    width: 300px;
    height: 200px;
    object-fit: cover;
    flex-shrink: 0;
}

.page-tin-tc .analysis-content {
    padding: 25px;
}

.page-tin-tc .analysis-content h3 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tin-tc .analysis-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tin-tc .analysis-content h3 a:hover {
    color: var(--secondary-color);
}

.page-tin-tc .analysis-content p {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

/* FAQ Section */
.page-tin-tc .faq-section {
    background-color: #ffffff;
    padding-bottom: 80px;
}

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

.page-tin-tc .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

.page-tin-tc .faq-question:hover {
    background: var(--bg-light);
}

.page-tin-tc .faq-question h3 {
    font-size: 19px;
    color: var(--primary-color);
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

.page-tin-tc .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-tin-tc .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    background: var(--bg-light);
    padding: 0 25px;
}

.page-tin-tc .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 20px 25px;
    border-top: 1px solid var(--border-color);
}

.page-tin-tc .faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    text-align: left;
    margin: 0;
}

/* Call to Action Section */
.page-tin-tc .cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 80px 20px;
}

.page-tin-tc .cta-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-tin-tc .cta-description {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-light);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-tin-tc .section-title {
        font-size: 32px;
    }
    .page-tin-tc .hero-title {
        font-size: 48px;
    }
    .page-tin-tc .hero-subtitle {
        font-size: 20px;
    }
    .page-tin-tc .cta-button {
        padding: 15px 35px;
        font-size: 18px;
    }
    .page-tin-tc .article-item {
        flex-direction: column;
    }
    .page-tin-tc .article-image {
        width: 100%;
        height: 250px;
    }
    .page-tin-tc .article-content {
        padding: 20px;
    }
    .page-tin-tc .analysis-item {
        flex-direction: column;
    }
    .page-tin-tc .analysis-image {
        width: 100%;
        height: 250px;
    }
    .page-tin-tc .analysis-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-tin-tc section {
        padding: 40px 0;
    }
    .page-tin-tc .section-title {
        font-size: 28px;
    }
    .page-tin-tc .hero-section {
        padding: 80px 15px;
    }
    .page-tin-tc .hero-title {
        font-size: 38px;
    }
    .page-tin-tc .hero-subtitle {
        font-size: 18px;
    }
    .page-tin-tc .news-grid, .page-tin-tc .promo-cards {
        grid-template-columns: 1fr;
    }
    .page-tin-tc .news-card-title, .page-tin-tc .promo-card h3 {
        font-size: 20px;
    }
    .page-tin-tc .article-content h3, .page-tin-tc .analysis-content h3 {
        font-size: 22px;
    }
    .page-tin-tc .faq-question h3 {
        font-size: 17px;
    }
    .page-tin-tc .cta-title {
        font-size: 32px;
    }
    .page-tin-tc .cta-description {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .page-tin-tc .hero-title {
        font-size: 32px;
    }
    .page-tin-tc .hero-subtitle {
        font-size: 16px;
    }
    .page-tin-tc .cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }
    .page-tin-tc .faq-question {
        padding: 15px 20px;
    }
    .page-tin-tc .faq-question h3 {
        font-size: 16px;
    }
    .page-tin-tc .faq-answer {
        padding: 15px 20px;
    }
    .page-tin-tc .cta-title {
        font-size: 28px;
    }
}