/* style/tintc.css */
/* body 已 padding-top: var(--header-offset)；页面禁止再写该变量 */

/* Base styles for the page */
.page-tintc {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Inherit from body or shared.css */
}

.page-tintc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-tintc__section-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    color: #26A9E0; /* Brand color for titles */
    line-height: 1.2;
}

.page-tintc__description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 30px;
    color: #ffffff; /* Default white for dark sections */
}

/* Color contrast classes based on body background #0a0a0a (dark) */
.page-tintc__dark-bg {
    background-color: #0a0a0a; /* Dark background, inherit from body or use a darker shade */
    color: #ffffff; /* Light text */
}

.page-tintc__light-bg {
    background-color: #ffffff;
    color: #333333;
}

/* Buttons */
.page-tintc__cta-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-tintc__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-tintc__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-tintc__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

/* Hero Section */
.page-tintc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-tintc__hero-content {
    text-align: center;
    max-width: 800px;
    margin-top: 20px;
}

.page-tintc__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-tintc__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Latest News Section */
.page-tintc__latest-news {
    padding: 80px 0;
}

.page-tintc__news-grid,
.page-tintc__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-tintc__news-card,
.page-tintc__article-card,
.page-tintc__promotion-card {
    background-color: #ffffff;
    color: #333333;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tintc__news-card:hover,
.page-tintc__article-card:hover,
.page-tintc__promotion-card:hover {
    transform: translateY(-5px);
}

.page-tintc__news-image-wrapper,
.page-tintc__article-image-wrapper,
.page-tintc__promotion-image-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.page-tintc__news-image,
.page-tintc__article-image,
.page-tintc__promotion-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-tintc__news-content,
.page-tintc__article-content,
.page-tintc__promotion-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.page-tintc__news-title,
.page-tintc__article-title,
.page-tintc__promotion-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tintc__news-title a,
.page-tintc__article-title a {
    color: #26A9E0;
    text-decoration: none;
}

.page-tintc__news-title a:hover,
.page-tintc__article-title a:hover {
    text-decoration: underline;
}

.page-tintc__news-date,
.page-tintc__article-date {
    font-size: 0.9em;
    color: #666666;
    margin-bottom: 15px;
}

.page-tintc__news-excerpt,
.page-tintc__article-excerpt {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Featured Articles Section */
.page-tintc__featured-articles {
    padding: 80px 0;
    background-color: #0d0d0d;
    color: #ffffff;
}

.page-tintc__featured-articles .page-tintc__section-title {
    color: #26A9E0;
}

.page-tintc__featured-articles .page-tintc__article-card {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__featured-articles .page-tintc__article-title a {
    color: #ffffff;
}

.page-tintc__featured-articles .page-tintc__article-title a:hover {
    color: #26A9E0;
}

.page-tintc__featured-articles .page-tintc__article-date,
.page-tintc__featured-articles .page-tintc__article-excerpt {
    color: #cccccc;
}

/* Promotions Section */
.page-tintc__promotions-section {
    padding: 80px 0;
}

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

.page-tintc__promotion-card {
    background-color: #ffffff;
    color: #333333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding-bottom: 20px;
}

.page-tintc__promotion-image {
    height: 200px;
    object-fit: cover;
    margin-bottom: 15px;
}

.page-tintc__promotion-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 10px;
    padding: 0 20px;
}

.page-tintc__promotion-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
    padding: 0 20px;
    flex-grow: 1;
}

.page-tintc__promotion-card .page-tintc__cta-button {
    margin-top: auto;
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
}


/* FAQ Section */
.page-tintc__faq-section {
    padding: 80px 0;
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-tintc__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-tintc__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    transition: background-color 0.3s ease;
    list-style: none;
}

.page-tintc__faq-question::-webkit-details-marker {
    display: none;
}

.page-tintc__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.page-tintc__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: #26A9E0;
    margin-left: 15px;
}

.page-tintc__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: #cccccc;
}

.page-tintc__faq-answer p {
    margin-bottom: 0;
}

.page-tintc__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

/* Call to Action Section */
.page-tintc__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-tintc__cta-section .page-tintc__section-title {
    color: #26A9E0;
}

.page-tintc__cta-section .page-tintc__description {
    color: #333333;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__cta-section .page-tintc__cta-button {
    margin-top: 20px;
}

.page-tintc__text-center {
    text-align: center;
}

.page-tintc__button-group {
    text-align: center;
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-tintc__section-title {
        font-size: 2em;
    }
    .page-tintc__main-title {
        font-size: clamp(2em, 5vw, 3em);
    }
}

@media (max-width: 768px) {
    .page-tintc__container {
        padding: 0 15px;
    }

    .page-tintc__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-tintc__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

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

    .page-tintc__section-title {
        font-size: 1.8em;
    }

    .page-tintc__news-grid,
    .page-tintc__articles-grid,
    .page-tintc__promotions-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__news-image-wrapper,
    .page-tintc__article-image-wrapper,
    .page-tintc__promotion-image-wrapper {
        height: 180px;
    }

    .page-tintc__news-title,
    .page-tintc__article-title,
    .page-tintc__promotion-title {
        font-size: 1.2em;
    }

    .page-tintc__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    /* Images responsiveness */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Image containers responsiveness */
    .page-tintc__hero-image-wrapper,
    .page-tintc__news-image-wrapper,
    .page-tintc__article-image-wrapper,
    .page-tintc__promotion-image-wrapper,
    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Button responsiveness */
    .page-tintc__cta-button,
    .page-tintc__btn-primary,
    .page-tintc__btn-secondary,
    .page-tintc a[class*="button"],
    .page-tintc a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-tintc__button-group,
    .page-tintc__cta-buttons,
    .page-tintc__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    
    .page-tintc__cta-buttons {
        display: flex;
        flex-direction: column;
    }

    /* Videos responsiveness (if any, though not in this HTML) */
    .page-tintc video,
    .page-tintc__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-tintc__video-section,
    .page-tintc__video-container,
    .page-tintc__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-tintc__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-tintc__section-title {
        font-size: 1.5em;
    }
    .page-tintc__main-title {
        font-size: clamp(1.5em, 7vw, 2em);
    }
    .page-tintc__hero-section {
        padding: 30px 10px;
        padding-top: 10px !important;
    }
    .page-tintc__news-image-wrapper,
    .page-tintc__article-image-wrapper,
    .page-tintc__promotion-image-wrapper {
        height: 150px;
    }
}