/* style/tintc.css */

/* Base styles for the page-tintc scope */
.page-tintc {
    font-family: Arial, sans-serif;
    color: #1F2D3D; /* Text Main */
    background-color: #F4F7FB; /* Background */
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

/* Hero Section */
.page-tintc__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 40px;
    background-color: #F4F7FB;
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-width: 200px; /* Minimum size */
    min-height: 200px;
}

.page-tintc__hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.page-tintc__hero-title {
    font-size: 2.8em;
    font-weight: bold;
    color: #000000; /* Custom Color_1776249996415 */
    line-height: 1.2;
    margin-bottom: 15px;
}

.page-tintc__hero-description {
    font-size: 1.1em;
    color: #1F2D3D;
    margin-bottom: 30px;
}

.page-tintc__hero-cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 200px; /* Ensure minimum button size */
}

.page-tintc__hero-cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* General Section Styles */
.page-tintc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-tintc__section-title {
    font-size: 2.2em;
    font-weight: bold;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

.page-tintc__section-description {
    font-size: 1.05em;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__link {
    color: #2F6BFF; /* Main color for links */
    text-decoration: none;
    font-weight: bold;
}

.page-tintc__link:hover {
    text-decoration: underline;
}

.page-tintc__highlight {
    font-weight: bold;
    color: #2F6BFF; /* Using brand primary for highlights */
}

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

.page-tintc__news-card {
    background-color: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.page-tintc__news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-tintc__news-card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistent card appearance */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Minimum size */
    min-height: 200px;
}

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

.page-tintc__news-card-title {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #000000;
}

.page-tintc__news-card-title a {
    color: #000000;
    text-decoration: none;
}

.page-tintc__news-card-title a:hover {
    color: #2F6BFF;
    text-decoration: underline;
}

.page-tintc__news-card-meta {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

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

.page-tintc__news-card-link {
    display: inline-block;
    color: #2F6BFF;
    text-decoration: none;
    font-weight: bold;
    align-self: flex-start;
}

.page-tintc__news-card-link:hover {
    text-decoration: underline;
}

.page-tintc__view-all-button-wrapper {
    text-align: center;
}

.page-tintc__view-all-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #6FA3FF; /* Auxiliary color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 150px;
}

.page-tintc__view-all-button:hover {
    background-color: #2F6BFF;
}

/* Specific News Sections (Sports, Casino, Promotions) */
.page-tintc__sports-news-section,
.page-tintc__casino-news-section,
.page-tintc__promotions-section {
    background-color: #F4F7FB;
    padding: 40px 0;
}

/* FAQ Section */
.page-tintc__faq-section {
    background-color: #FFFFFF;
    padding: 60px 0;
}

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

.page-tintc__faq-item {
    background-color: #F4F7FB;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 0; /* Reset padding for details element */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: #000000;
    cursor: pointer;
    list-style: none; /* Hide default details marker */
    position: relative;
}

.page-tintc__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-tintc__faq-qtext {
    flex-grow: 1;
    color: #000000;
}

.page-tintc__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    color: #2F6BFF;
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or simply change to '-' */
}

.page-tintc__faq-answer {
    padding: 0 25px 20px;
    font-size: 1em;
    color: #1F2D3D;
    line-height: 1.6;
}

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

/* CTA Section */
.page-tintc__cta-section {
    padding: 60px 0;
    background-color: #F4F7FB;
    text-align: center;
}

.page-tintc__cta-section .page-tintc__container {
    background-color: #2F6BFF; /* Main color */
    color: #ffffff;
    border-radius: 12px;
    padding: 50px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.page-tintc__cta-title {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-tintc__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-tintc__cta-button {
    display: inline-block;
    padding: 18px 35px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    min-width: 220px;
}

.page-tintc__cta-button:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
}

/* Specific color classes for contrast */
.page-tintc__dark-bg {
    background-color: #2F6BFF;
    color: #ffffff;
}
.page-tintc__dark-bg .page-tintc__link {
    color: #A5C4FF; /* Glow color for links on dark background */
}
.page-tintc__dark-bg .page-tintc__link:hover {
    color: #ffffff;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-tintc__hero-title {
        font-size: 2.4em;
    }

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

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

    .page-tintc__news-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-tintc__news-card-image {
        height: 200px;
    }

    .page-tintc__news-card-title {
        font-size: 1.2em;
    }

    .page-tintc__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-tintc__hero-section {
        padding-top: 10px !important; /* Small top padding */
        padding-bottom: 30px;
    }

    .page-tintc__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-tintc__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-tintc__hero-content {
        padding: 0 15px;
    }

    .page-tintc__hero-title {
        font-size: 1.8em;
        margin-bottom: 10px;
    }

    .page-tintc__hero-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-tintc__hero-cta-button {
        padding: 12px 20px !important;
        font-size: 0.95em !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        min-width: unset;
    }

    /* 通用图片与容器 */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-tintc__container,
    .page-tintc__latest-news-section,
    .page-tintc__sports-news-section,
    .page-tintc__casino-news-section,
    .page-tintc__promotions-section,
    .page-tintc__faq-section,
    .page-tintc__cta-section,
    .page-tintc__news-card,
    .page-tintc__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .page-tintc {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-tintc__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }

    .page-tintc__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    /* 产品展示图区域 (新闻卡片) */
    .page-tintc__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__news-card-image {
        height: 200px;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-tintc__news-card-title {
        font-size: 1.1em;
    }

    .page-tintc__news-card-excerpt {
        font-size: 0.95em;
    }

    /* 按钮与按钮容器 */
    .page-tintc__view-all-button-wrapper {
        padding: 0 15px !important;
    }

    .page-tintc__view-all-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important;
        min-width: unset;
    }

    /* FAQ Section */
    .page-tintc__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-tintc__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95em;
    }

    /* CTA Section */
    .page-tintc__cta-section .page-tintc__container {
        padding: 30px 20px;
    }

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

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