/* style/tintc.css */
/* Base styles for the page content */
.page-tintc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main for general content on dark background */
    background-color: #08160F; /* Background color */
}

/* Sections */
.page-tintc__hero-section,
.page-tintc__latest-news,
.page-tintc__promotions-events,
.page-tintc__community-updates,
.page-tintc__faq-section,
.page-tintc__cta-bottom {
    padding: 60px 0;
    text-align: center;
}

.page-tintc__dark-bg {
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
}

.page-tintc__light-bg {
    background-color: #11271B; /* Card BG, but used as light background for contrast */
    color: #F2FFF6; /* Text Main */
}

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

/* Titles */
.page-tintc__main-title {
    font-size: clamp(2.2em, 5vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px; /* Limit width for better readability */
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__section-title {
    font-size: clamp(1.8em, 4vw, 2.8em);
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.3;
}

.page-tintc__description,
.page-tintc__section-description,
.page-tintc__paragraph {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-tintc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-tintc__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-tintc__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-tintc__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Green from button gradient */
    border: 2px solid #2AD16F; /* Border color from button gradient */
}

.page-tintc__btn-secondary:hover {
    background-color: rgba(42, 209, 111, 0.1); /* Light green tint */
    color: #F2FFF6; /* Text Main */
    transform: translateY(-2px);
}

/* Hero Section Specific */
.page-tintc__hero-section {
    position: relative;
    padding: 10px 0 60px; /* Small top padding, body handles header offset */
    overflow: hidden;
}

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

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

.page-tintc__hero-content {
    position: relative; /* Ensure content is above image if needed, though structure is image first then content */
    z-index: 2;
    padding: 0 20px;
}

/* Card styles */
.page-tintc__card {
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2E7A4E; /* Border color */
}

.page-tintc__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-tintc__card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    display: block;
}

.page-tintc__card-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
}

.page-tintc__card-title a {
    color: #F2FFF6; /* Text Main */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__card-title a:hover {
    color: #2AD16F; /* Green from button gradient */
}

.page-tintc__card-meta {
    font-size: 0.9em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 10px;
}

.page-tintc__card-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-tintc__read-more {
    display: inline-block;
    color: #57E38D; /* Glow color */
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
    color: #2AD16F; /* Green from button gradient */
    text-decoration: underline;
}

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

.page-tintc__view-all {
    margin-top: 20px;
}

/* Promotions Highlight */
.page-tintc__promotion-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-tintc__promotion-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.page-tintc__promotion-content {
    padding: 30px;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.page-tintc__promotion-title {
    font-size: 1.8em;
    font-weight: 700;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
}

.page-tintc__promotion-text {
    font-size: 1.1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 25px;
}

/* Community Updates Grid */
.page-tintc__update-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tintc__update-item {
    padding: 25px;
}

.page-tintc__update-title {
    font-size: 1.3em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 10px;
}

.page-tintc__update-date {
    font-size: 0.9em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-tintc__update-text {
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 15px;
}

.page-tintc__update-image {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-top: 15px;
    display: block;
}

/* FAQ Section */
.page-tintc__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__faq-item {
    margin-bottom: 15px;
    border: 1px solid #2E7A4E; /* Border color */
    border-radius: 10px;
    overflow: hidden; /* For details tag */
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #0A4B2C; /* Deep Green */
    cursor: pointer;
    font-size: 1.15em;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    transition: background-color 0.3s ease;
}

.page-tintc__faq-question:hover {
    background-color: #11A84E; /* Main color */
}

.page-tintc__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #57E38D; /* Glow */
}

/* For details tag */
.page-tintc__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-tintc__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-tintc__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: #A7D9B8; /* Text Secondary */
    background-color: #11271B; /* Card BG */
    border-top: 1px solid #1E3A2A; /* Divider */
}

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

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-tintc__hero-image-wrapper {
        max-height: 60vh;
    }
    .page-tintc__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-tintc__section-title {
        font-size: clamp(1.6em, 5vw, 2.5em);
    }
}

@media (max-width: 768px) {
    .page-tintc__hero-section,
    .page-tintc__latest-news,
    .page-tintc__promotions-events,
    .page-tintc__community-updates,
    .page-tintc__faq-section,
    .page-tintc__cta-bottom {
        padding: 40px 0;
    }

    .page-tintc__container {
        padding: 0 15px;
    }

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

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

    .page-tintc__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-tintc__description,
    .page-tintc__section-description,
    .page-tintc__paragraph {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-tintc__cta-buttons {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }

    .page-tintc__btn-primary,
    .page-tintc__btn-secondary {
        padding: 12px 20px;
        font-size: 1em;
        width: 100% !important; /* Mobile button full width */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* Image responsiveness */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Video responsiveness (if any) */
    .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;
    }

    /* Sections/Cards/Containers mobile padding */
    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-tintc__video-section {
        padding-top: 10px !important;
    }

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

    .page-tintc__card {
        padding: 20px;
    }

    .page-tintc__card-image {
        height: auto; /* Allow height to adjust */
        max-height: 200px;
    }

    .page-tintc__promotion-highlight {
        flex-direction: column;
    }

    .page-tintc__promotion-content {
        padding: 20px;
    }

    .page-tintc__promotion-title {
        font-size: 1.5em;
    }

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

    .page-tintc__faq-answer {
        padding: 10px 20px 15px;
    }
}