/* style/tintc.css */

/* Custom Colors */
:root {
    --full88-primary-green: #11A84E;
    --full88-secondary-green: #22C768;
    --full88-card-bg: #11271B;
    --full88-bg: #08160F;
    --full88-text-main: #F2FFF6;
    --full88-text-secondary: #A7D9B8;
    --full88-border: #2E7A4E;
    --full88-glow: #57E38D;
    --full88-gold: #F2C14E;
    --full88-divider: #1E3A2A;
    --full88-deep-green: #0A4B2C;
    --full88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the page */
.page-tintc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--full88-text-main); /* Assuming dark body background from shared.css */
    background-color: var(--full88-bg);
}

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

.page-tintc__section-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: var(--full88-text-main);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.page-tintc__section-description {
    font-size: clamp(16px, 1.8vw, 20px);
    color: var(--full88-text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 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: var(--full88-button-gradient);
    color: #ffffff;
    border: none;
}

.page-tintc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-tintc__btn-secondary {
    background-color: transparent;
    color: var(--full88-primary-green);
    border: 2px solid var(--full88-primary-green);
}

.page-tintc__btn-secondary:hover {
    background-color: rgba(17, 168, 78, 0.1);
    color: var(--full88-secondary-green);
    border-color: var(--full88-secondary-green);
}

/* Hero Section */
.page-tintc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 60px;
    background-color: var(--full88-bg);
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 40px;
}

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

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

.page-tintc__main-title {
    font-size: clamp(32px, 4vw, 56px);
    font-weight: 800;
    color: var(--full88-text-main);
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.page-tintc__hero-description {
    font-size: clamp(18px, 2vw, 22px);
    color: var(--full88-text-secondary);
    margin-bottom: 30px;
}

.page-tintc__hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Latest News Section */
.page-tintc__latest-news-section {
    padding: 80px 0;
    background-color: var(--full88-card-bg);
    color: var(--full88-text-main);
}

.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: var(--full88-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--full88-border);
}

.page-tintc__news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.page-tintc__news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.page-tintc__news-card-content {
    padding: 25px;
}

.page-tintc__news-card-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-tintc__news-card-title a {
    color: var(--full88-text-main);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__news-card-title a:hover {
    color: var(--full88-primary-green);
}

.page-tintc__news-card-meta {
    font-size: 14px;
    color: var(--full88-text-secondary);
    margin-bottom: 15px;
}

.page-tintc__news-card-excerpt {
    font-size: 16px;
    color: var(--full88-text-secondary);
    margin-bottom: 20px;
}

.page-tintc__read-more-link {
    display: inline-block;
    color: var(--full88-primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-tintc__read-more-link:hover {
    color: var(--full88-secondary-green);
    text-decoration: underline;
}

.page-tintc__view-all-button-wrapper {
    text-align: center;
    margin-top: 20px;
}

/* Call to Action Section */
.page-tintc__cta-section {
    padding: 80px 0;
    background-color: var(--full88-bg);
}

.page-tintc__cta-section .page-tintc__container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-tintc__cta-content {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.page-tintc__cta-content .page-tintc__section-title,
.page-tintc__cta-content .page-tintc__section-description {
    text-align: left;
}

.page-tintc__cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-tintc__cta-image-wrapper {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.page-tintc__cta-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-tintc__faq-section {
    padding: 80px 0;
    background-color: var(--full88-card-bg);
}

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

.page-tintc__faq-item {
    background-color: var(--full88-bg);
    border: 1px solid var(--full88-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--full88-text-main);
}

.page-tintc__faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 18px;
    color: var(--full88-text-main);
    transition: background-color 0.3s ease;
}

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

.page-tintc__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2);
}

.page-tintc__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-tintc__faq-toggle {
    font-size: 24px;
    line-height: 1;
    width: 24px;
    text-align: center;
}

.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.page-tintc__faq-item[open] summary {
    background-color: rgba(46, 122, 78, 0.1);
}

.page-tintc__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    color: var(--full88-text-secondary);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-tintc__hero-image-wrapper {
        max-height: 400px;
    }
    .page-tintc__news-card-image {
        height: 180px;
    }
    .page-tintc__cta-section .page-tintc__container {
        flex-direction: column-reverse;
        text-align: center;
    }
    .page-tintc__cta-content,
    .page-tintc__cta-image-wrapper {
        text-align: center;
        max-width: 100%;
    }
    .page-tintc__cta-content .page-tintc__section-title,
    .page-tintc__cta-content .page-tintc__section-description {
        text-align: center;
    }
    .page-tintc__cta-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    /* Mobile image responsive */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-tintc__hero-image-wrapper,
    .page-tintc__news-card,
    .page-tintc__cta-image-wrapper,
    .page-tintc__faq-item,
    .page-tintc__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button responsive */
    .page-tintc__btn-primary,
    .page-tintc__btn-secondary,
    .page-tintc__hero-buttons a,
    .page-tintc__cta-buttons a {
        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__hero-buttons,
    .page-tintc__cta-buttons {
        flex-direction: column !important;
        gap: 15px;
    }

    .page-tintc__hero-section,
    .page-tintc__latest-news-section,
    .page-tintc__cta-section,
    .page-tintc__faq-section {
        padding: 40px 0;
    }

    .page-tintc__hero-image-wrapper {
        max-height: 250px;
    }

    .page-tintc__main-title {
        font-size: 30px;
    }

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

    .page-tintc__news-card-title {
        font-size: 18px;
    }

    .page-tintc__section-title {
        font-size: 24px;
    }

    .page-tintc__section-description {
        font-size: 15px;
    }

    .page-tintc__faq-item summary {
        font-size: 16px;
        padding: 15px 20px;
    }
    .page-tintc__faq-answer {
        padding: 0 20px 15px;
    }
}