:root {
    --page-tintc-bg: #08160F;
    --page-tintc-card-bg: #11271B;
    --page-tintc-text-main: #F2FFF6;
    --page-tintc-text-secondary: #A7D9B8;
    --page-tintc-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-tintc-border: #2E7A4E;
    --page-tintc-glow: #57E38D;
    --page-tintc-gold: #F2C14E;
    --page-tintc-divider: #1E3A2A;
    --page-tintc-deep-green: #0A4B2C;
}

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

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

/* 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 */
    background-color: var(--page-tintc-bg);
    color: var(--page-tintc-text-main);
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (height / width * 100) */
    overflow: hidden;
}

.page-tintc__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-tintc__hero-content {
    position: relative; /* Ensure content is above any background elements */
    z-index: 1;
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
}

.page-tintc__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Clamp for responsive H1 */
    font-weight: 700;
    color: var(--page-tintc-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
}

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

/* Call to Action Buttons */
.page-tintc__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    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;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Crucial for button responsiveness */
}

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

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

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

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

.page-tintc__btn-small {
    padding: 10px 20px;
    font-size: 0.9em;
}

/* Sections */
.page-tintc__latest-news-section,
.page-tintc__promotions-news-section,
.page-tintc__faq-section,
.page-tintc__cta-bottom-section {
    padding: 60px 0;
    background-color: var(--page-tintc-bg);
    color: var(--page-tintc-text-main);
}

.page-tintc__section-title {
    font-size: 2.5em;
    color: var(--page-tintc-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

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

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

.page-tintc__news-card,
.page-tintc__promo-card {
    background-color: var(--page-tintc-card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tintc__news-card:hover,
.page-tintc__promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-tintc__news-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tintc__news-card-image,
.page-tintc__promo-image {
    width: 100%;
    height: 220px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-tintc__news-card-content,
.page-tintc__promo-content {
    padding: 25px;
    flex-grow: 1; /* Allow content to grow */
    display: flex;
    flex-direction: column;
}

.page-tintc__news-card-title,
.page-tintc__promo-title {
    font-size: 1.4em;
    color: var(--page-tintc-text-main);
    margin-bottom: 10px;
    line-height: 1.4;
}

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

.page-tintc__news-card-description,
.page-tintc__promo-description {
    font-size: 1em;
    color: var(--page-tintc-text-secondary);
    margin-bottom: 20px;
    flex-grow: 1; /* Allow description to grow */
}

.page-tintc__read-more {
    color: var(--page-tintc-glow);
    font-weight: 600;
    text-decoration: none;
    align-self: flex-start; /* Align to the start */
}

.page-tintc__read-more:hover {
    text-decoration: underline;
}

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

/* Promotions News Section */
.page-tintc__promo-card .page-tintc__btn-primary {
    align-self: flex-start; /* Align button to start */
}

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

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

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

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

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

.page-tintc__faq-question:hover {
    background-color: #0d5d36; /* Slightly darker on hover */
}

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

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

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

/* Bottom CTA Section */
.page-tintc__cta-bottom-section .page-tintc__container {
    background-color: var(--page-tintc-deep-green);
    padding: 60px 20px;
    border-radius: 15px;
    text-align: center;
}

.page-tintc__cta-bottom-section .page-tintc__section-title {
    color: var(--page-tintc-text-main); /* Ensure contrast */
    margin-bottom: 20px;
}

.page-tintc__cta-bottom-section .page-tintc__section-description {
    color: var(--page-tintc-text-secondary);
    margin-bottom: 30px;
}


/* Responsive Styles */
@media (max-width: 1024px) {
    .page-tintc__hero-content {
        padding: 30px 15px;
    }

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

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

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

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

    .page-tintc__container {
        padding: 0 15px; /* Apply padding to container */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    /* Sections */
    .page-tintc__latest-news-section,
    .page-tintc__promotions-news-section,
    .page-tintc__faq-section,
    .page-tintc__cta-bottom-section {
        padding: 40px 0;
    }

    .page-tintc__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    .page-tintc__hero-image-wrapper {
        padding-bottom: 65%; /* Adjust aspect ratio for mobile hero */
    }

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

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

    .page-tintc__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Buttons */
    .page-tintc__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px; /* Ensure button group has padding */
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .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;
        text-align: center;
    }

    /* News Cards */
    .page-tintc__news-grid,
    .page-tintc__promo-news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-tintc__news-card,
    .page-tintc__promo-card {
        margin: 0 15px; /* Add margin to cards for spacing */
        box-sizing: border-box;
    }

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

    .page-tintc__news-card-content,
    .page-tintc__promo-content {
        padding: 20px;
    }

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

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

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

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

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

    .page-tintc__cta-bottom-section .page-tintc__container {
        padding: 40px 15px;
    }
}