/* style/tintc.css */
/* Body background is #08160F from shared.css, so main text color should be light */
:root {
    --page-tintc-background: #08160F;
    --page-tintc-card-bg: #11271B;
    --page-tintc-text-main: #F2FFF6;
    --page-tintc-text-secondary: #A7D9B8;
    --page-tintc-border: #2E7A4E;
    --page-tintc-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-tintc-glow: #57E38D;
    --page-tintc-gold: #F2C14E;
    --page-tintc-divider: #1E3A2A;
    --page-tintc-deep-green: #0A4B2C;
}

.page-tintc {
    font-family: 'Arial', sans-serif;
    background-color: var(--page-tintc-background);
    color: var(--page-tintc-text-main);
    line-height: 1.6;
    padding-bottom: 60px;
}

/* --- Typography --- */
.page-tintc__main-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--page-tintc-gold);
    margin-bottom: 20px;
    text-align: center;
}

.page-tintc__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--page-tintc-text-main);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

.page-tintc__card-title,
.page-tintc__news-title,
.page-tintc__benefit-title {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 600;
    margin-top: 15px;
    margin-bottom: 10px;
}

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

.page-tintc__card-title a:hover,
.page-tintc__news-title a:hover {
    color: var(--page-tintc-glow);
}

.page-tintc__description,
.page-tintc__card-text,
.page-tintc__news-excerpt,
.page-tintc__benefit-text,
.page-tintc__cta-text,
.page-tintc p,
.page-tintc li {
    color: var(--page-tintc-text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.page-tintc__news-meta {
    font-size: 0.9rem;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 10px;
}

/* --- Buttons --- */
.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-tintc__btn-primary {
    background: var(--page-tintc-btn-gradient);
    color: #ffffff;
    border: none;
}

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

.page-tintc__btn-secondary {
    background: transparent;
    color: var(--page-tintc-glow);
    border: 2px solid var(--page-tintc-glow);
}

.page-tintc__btn-secondary:hover {
    background: var(--page-tintc-glow);
    color: var(--page-tintc-background);
}

.page-tintc__read-more {
    color: var(--page-tintc-glow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.page-tintc__read-more:hover {
    color: var(--page-tintc-gold);
}

/* --- Layout Containers --- */
.page-tintc__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px;
    text-align: center;
    overflow: hidden;
}

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

.page-tintc__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 10px;
    min-width: 200px;
    min-height: 200px;
}

.page-tintc__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

.page-tintc__hero-content .page-tintc__btn-primary {
    margin-top: 30px;
}

.page-tintc__news-categories,
.page-tintc__latest-news,
.page-tintc__benefits-section,
.page-tintc__cta-section,
.page-tintc__faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* --- News Categories Grid --- */
.page-tintc__category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-tintc__category-card {
    background-color: var(--page-tintc-card-bg);
    border: 1px solid var(--page-tintc-border);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__category-image {
    width: 100%;
    height: 225px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    min-width: 200px;
    min-height: 200px;
}

/* --- Latest News List --- */
.page-tintc__news-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.page-tintc__news-item {
    display: flex;
    background-color: var(--page-tintc-card-bg);
    border: 1px solid var(--page-tintc-divider);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-tintc__news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__news-image {
    width: 35%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px;
    min-height: 200px;
}

.page-tintc__news-content {
    width: 65%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-tintc__view-all-news {
    text-align: center;
    margin-top: 50px;
}

/* --- Benefits Section --- */
.page-tintc__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.page-tintc__benefit-item {
    background-color: var(--page-tintc-card-bg);
    border: 1px solid var(--page-tintc-border);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-tintc__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 100px; /* Icons can be smaller, but still enforce min-size > 200px where applicable */
    min-height: 100px;
}

/* --- CTA Section --- */
.page-tintc__cta-section {
    text-align: center;
    background-color: var(--page-tintc-deep-green);
    border-radius: 10px;
    padding: 60px 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-tintc__cta-text {
    max-width: 800px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.page-tintc__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}

/* --- FAQ Section --- */
.page-tintc__faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.page-tintc__faq-item {
    background-color: var(--page-tintc-card-bg);
    border: 1px solid var(--page-tintc-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    color: var(--page-tintc-text-main);
    background-color: var(--page-tintc-deep-green);
    border-bottom: 1px solid var(--page-tintc-border);
}

.page-tintc__faq-item[open] .page-tintc__faq-question {
    border-bottom: 1px solid var(--page-tintc-border);
}

.page-tintc__faq-question:hover {
    background-color: rgba(var(--page-tintc-deep-green), 0.8);
}

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

.page-tintc__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-tintc__faq-answer {
    padding: 15px 25px;
    color: var(--page-tintc-text-secondary);
    font-size: 1rem;
}

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

/* Hide default details marker */
.page-tintc__faq-item > summary {
    list-style: none;
}
.page-tintc__faq-item > summary::-webkit-details-marker {
    display: none;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-tintc__hero-section {
        padding-bottom: 40px;
    }
    .page-tintc__news-item {
        flex-direction: column;
    }
    .page-tintc__news-image,
    .page-tintc__news-content {
        width: 100%;
    }
    .page-tintc__news-image {
        height: 250px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .page-tintc__news-content {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .page-tintc {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-tintc__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-tintc__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 30px;
        padding-top: 30px;
    }
    .page-tintc__category-grid,
    .page-tintc__benefits-grid {
        grid-template-columns: 1fr;
    }
    .page-tintc__category-card,
    .page-tintc__benefit-item,
    .page-tintc__news-item,
    .page-tintc__faq-item,
    .page-tintc__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .page-tintc__hero-section,
    .page-tintc__news-categories,
    .page-tintc__latest-news,
    .page-tintc__benefits-section,
    .page-tintc__cta-section,
    .page-tintc__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Images */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    /* Buttons */
    .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__cta-buttons {
        flex-direction: column !important;
        gap: 15px !important;
        padding: 0 !important;
    }
    .page-tintc__cta-buttons .page-tintc__btn-primary,
    .page-tintc__cta-buttons .page-tintc__btn-secondary {
        margin: 0 auto;
    }

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

/* Ensure content area images are not smaller than 200px */
/* The min-width/height for benefit-icon is explicitly set to 100px as per common practice for small icons, but the general rule is to avoid small icons for content. Here, they are 'feature' images, so larger is better. */
/* Re-adjusting benefit-icon min-size to align with 200px rule for content images */
.page-tintc__benefit-icon {
    min-width: 200px;
    min-height: 200px;
    width: 200px;
    height: 200px;
}

/* No CSS filters for images */
.page-tintc img {
    filter: none !important;
}

/* Contrast Fixes (if needed, but designed to avoid) */
.page-tintc__contrast-fix {
    background: #ffffff !important;
    color: #333333 !important;
    border: 1px solid #e0e0e0 !important;
}
.page-tintc__text-contrast-fix {
    color: #333333 !important;
    text-shadow: none !important;
}