/* style/tintc.css */
:root {
    --page-tintc-bg-color: #08160F;
    --page-tintc-card-bg: #11271B;
    --page-tintc-text-main: #F2FFF6;
    --page-tintc-text-secondary: #A7D9B8;
    --page-tintc-border-color: #2E7A4E;
    --page-tintc-divider-color: #1E3A2A;
    --page-tintc-glow-color: #57E38D;
    --page-tintc-gold-color: #F2C14E;
    --page-tintc-deep-green: #0A4B2C;
}

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

.page-tintc a {
    color: var(--page-tintc-glow-color);
    text-decoration: none;
}

.page-tintc a:hover {
    text-decoration: underline;
}

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

/* --- Hero Section --- */
.page-tintc__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    overflow: hidden;
    background-color: var(--page-tintc-deep-green);
    min-height: 500px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-tintc__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.page-tintc__hero-content-wrapper {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.page-tintc__main-title {
    font-size: clamp(2em, 5vw, 3.2em);
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--page-tintc-text-main);
    line-height: 1.2;
}

.page-tintc__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--page-tintc-text-secondary);
}

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

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.page-tintc__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--page-tintc-text-main);
    border: none;
}

.page-tintc__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

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

.page-tintc__btn-secondary:hover {
    background: var(--page-tintc-glow-color);
    color: var(--page-tintc-bg-color);
    transform: translateY(-2px);
}

/* --- Section General Styles --- */
.page-tintc__section-title {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--page-tintc-text-main);
}

.page-tintc__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 50px;
    color: var(--page-tintc-text-secondary);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-tintc__latest-news-section,
.page-tintc__industry-insights-section,
.page-tintc__cta-section,
.page-tintc__faq-section {
    padding: 80px 0;
}

.page-tintc__light-bg {
    background-color: var(--page-tintc-bg-color);
    color: var(--page-tintc-text-main);
}

.page-tintc__dark-bg {
    background-color: var(--page-tintc-card-bg);
    color: var(--page-tintc-text-main);
}

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

.page-tintc__news-card,
.page-tintc__insight-card {
    background-color: var(--page-tintc-card-bg);
    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;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

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

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

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

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

.page-tintc__news-card-title a:hover,
.page-tintc__insight-card-title a:hover {
    color: var(--page-tintc-glow-color);
    text-decoration: none;
}

.page-tintc__news-card-date,
.page-tintc__insight-card-date {
    font-size: 0.9em;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 15px;
}

.page-tintc__news-card-excerpt,
.page-tintc__insight-card-excerpt {
    font-size: 1em;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__news-card-link,
.page-tintc__insight-card-link {
    display: inline-block;
    color: var(--page-tintc-glow-color);
    font-weight: bold;
    transition: color 0.3s ease;
    margin-top: auto;
}

.page-tintc__news-card-link:hover,
.page-tintc__insight-card-link:hover {
    color: var(--page-tintc-gold-color);
    text-decoration: underline;
}

.page-tintc__button-group {
    text-align: center;
}

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

.page-tintc__faq-item {
    background-color: var(--page-tintc-bg-color);
    border: 1px solid var(--page-tintc-divider-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.page-tintc__faq-item[open] {
    background-color: var(--page-tintc-deep-green);
}

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--page-tintc-text-main);
    list-style: none;
    position: relative;
}

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

.page-tintc__faq-qtext {
    flex-grow: 1;
    padding-right: 20px;
}

.page-tintc__faq-toggle {
    font-size: 1.5em;
    color: var(--page-tintc-glow-color);
    line-height: 1;
}

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

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-tintc__news-grid,
    .page-tintc__insights-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-tintc {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-tintc__hero-section {
        padding: 40px 0;
        min-height: 400px;
    }

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

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

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

    .page-tintc__btn-primary,
    .page-tintc__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
    }

    .page-tintc__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-tintc__section-description {
        font-size: 0.95em;
        margin-bottom: 40px;
    }

    .page-tintc__latest-news-section,
    .page-tintc__industry-insights-section,
    .page-tintc__cta-section,
    .page-tintc__faq-section {
        padding: 50px 0;
    }

    .page-tintc__news-grid,
    .page-tintc__insights-grid {
        grid-template-columns: 1fr;
    }

    .page-tintc__news-card-image,
    .page-tintc__insight-card-image {
        height: 180px;
    }

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

    /* Image responsive overrides */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Image container responsive overrides */
    .page-tintc__hero-image-wrapper,
    .page-tintc__news-card,
    .page-tintc__insight-card,
    .page-tintc__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure content doesn't overflow */
    }

    .page-tintc__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Video responsive overrides (if any videos were present) */
    .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; /* Small top padding for video section */
    }

    /* Button container responsive overrides */
    .page-tintc__cta-buttons,
    .page-tintc__button-group {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 15px;
    }

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

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