:root {
    --primary-color: #C91F17; /* Main Red */
    --secondary-color: #E53935; /* Auxiliary Red */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom Button Gradient */
    --card-bg: #D32F2F; /* Custom Card Background */
    --section-bg: #B71C1C; /* Custom Section Background */
    --text-main: #FFF5E1; /* Custom Main Text Color */
    --border-color: #F2B544; /* Custom Border Color */
    --glow-color: #FFCC66; /* Custom Glow Color */
    --gold-color: #F4D34D; /* Custom Gold Color */
    --deep-red: #7A0E0E; /* Custom Deep Red Color */
}

.page-tintc {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page */
    background-color: var(--section-bg); /* Default background for the main content area */
}

.page-tintc__section {
    padding: 60px 0;
    background-color: var(--section-bg);
}

.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 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--deep-red); /* Using a darker red for hero for contrast */
}

.page-tintc__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-tintc__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-tintc__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-tintc__hero-content h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--gold-color); /* Gold color for heading */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tintc__hero-description {
    font-size: 18px;
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-tintc__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient); /* Custom button gradient */
    color: #000000; /* Black text for gold button for contrast */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color); /* Gold border */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-tintc__cta-button:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%); /* Inverted gradient on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    border-color: var(--glow-color);
}

/* General Headings */
.page-tintc__heading {
    font-size: 36px;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-tintc__subheading {
    font-size: 18px;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Text Section */
.page-tintc__intro-text {
    background-color: var(--section-bg);
    padding-top: 40px;
    padding-bottom: 40px;
}
.page-tintc__intro-text p {
    font-size: 17px;
    color: var(--text-main);
    margin-bottom: 15px;
    text-align: justify;
}

/* News Grid */
.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(--card-bg); /* Custom card background */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color);
}

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

.page-tintc__news-image-wrapper {
    width: 100%;
    height: 220px; /* Fixed height for consistent card appearance */
    overflow: hidden;
}

.page-tintc__news-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.page-tintc__news-card:hover .page-tintc__news-image-wrapper img {
    transform: scale(1.05);
}

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

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

.page-tintc__news-title a {
    color: var(--gold-color); /* Gold color for news titles */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-tintc__news-title a:hover {
    color: var(--glow-color); /* Lighter gold on hover */
}

.page-tintc__news-meta {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.page-tintc__news-excerpt {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-tintc__read-more-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--text-main);
    text-decoration: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    align-self: flex-start;
    border: 1px solid var(--border-color);
}

.page-tintc__read-more-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

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

.page-tintc__view-all-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: #000000; /* Black text for gold button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
}

.page-tintc__view-all-button:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: var(--glow-color);
}

/* Platform Insights Section */
.page-tintc__platform-insights {
    background-color: var(--deep-red); /* Darker red for this section */
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-tintc__insights-content p {
    font-size: 17px;
    color: var(--text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-tintc__insights-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce min-width */
    min-height: 200px; /* Enforce min-height */
}

/* FAQ Section */
.page-tintc__faq-section {
    background-color: var(--section-bg);
    padding-top: 60px;
    padding-bottom: 60px;
}

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

details.page-tintc__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color); /* Gold border */
    overflow: hidden;
    background: var(--card-bg); /* Dark red background for FAQ items */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-tintc__faq-item summary.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
details.page-tintc__faq-item summary.page-tintc__faq-question::-webkit-details-marker {
    display: none;
}
details.page-tintc__faq-item summary.page-tintc__faq-question:hover {
    background: var(--deep-red); /* Darker red on hover */
}
.page-tintc__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--gold-color); /* Gold text for questions */
}
.page-tintc__faq-toggle {
    font-size: 28px; /* Larger for better visibility */
    font-weight: bold;
    color: var(--gold-color); /* Gold color for toggle icon */
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}
details.page-tintc__faq-item[open] .page-tintc__faq-toggle {
    transform: rotate(45deg); /* Rotate to form an 'X' or similar */
}
details.page-tintc__faq-item .page-tintc__faq-answer {
    padding: 0 25px 25px;
    background: var(--deep-red); /* Darker red for answer background */
    border-radius: 0 0 10px 10px;
    color: var(--text-main); /* Light text for answers */
    font-size: 16px;
}

/* CTA Section */
.page-tintc__cta-section {
    background-color: var(--deep-red); /* Darker red background */
    padding-top: 80px;
    padding-bottom: 80px;
    text-align: center;
}

.page-tintc__cta-content {
    max-width: 900px;
}

.page-tintc__heading--cta {
    color: var(--gold-color);
    margin-bottom: 25px;
}

.page-tintc__subheading--cta {
    color: var(--text-main);
    margin-bottom: 40px;
    font-size: 18px;
}

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

.page-tintc__cta-button--primary,
.page-tintc__cta-button--secondary {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-tintc__cta-button--primary {
    background: var(--button-gradient);
    color: #000000; /* Black text for gold button */
}

.page-tintc__cta-button--primary:hover {
    background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--glow-color);
}

.page-tintc__cta-button--secondary {
    background-color: var(--primary-color); /* Red background for secondary */
    color: var(--text-main); /* Light text for red button */
}

.page-tintc__cta-button--secondary:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
    border-color: var(--gold-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-tintc__hero-content h1 {
        font-size: 40px;
    }
    .page-tintc__heading {
        font-size: 32px;
    }
    .page-tintc__news-card {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-tintc__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-tintc__hero-content h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-tintc__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }
    .page-tintc__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-tintc__heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-tintc__subheading {
        font-size: 16px;
        margin-bottom: 30px;
    }

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

    .page-tintc__news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-tintc__news-image-wrapper {
        height: 180px;
    }
    .page-tintc__news-title {
        font-size: 18px;
    }
    .page-tintc__news-excerpt {
        font-size: 15px;
    }
    .page-tintc__read-more-button {
        font-size: 14px;
        padding: 8px 15px;
    }
    .page-tintc__view-all-button {
        padding: 10px 25px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-tintc__insights-content p {
        font-size: 16px;
    }
    .page-tintc__insights-content img {
        margin: 20px auto;
    }

    details.page-tintc__faq-item summary.page-tintc__faq-question {
        padding: 15px 20px;
    }
    .page-tintc__faq-qtext {
        font-size: 16px;
    }
    .page-tintc__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-tintc__faq-item .page-tintc__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    .page-tintc__cta-section {
        padding: 50px 15px;
    }
    .page-tintc__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-tintc__cta-button--primary,
    .page-tintc__cta-button--secondary {
        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;
    }

    /* Mobile image responsiveness */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-tintc__section,
    .page-tintc__card,
    .page-tintc__container,
    .page-tintc__news-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Padding handled by specific sections/containers to avoid double padding */
    }
    .page-tintc__news-card {
        padding-left: 0 !important; /* Ensure no extra padding from container */
        padding-right: 0 !important;
    }
}

/* Ensure content images are not small */
.page-tintc p img,
.page-tintc div img {
    min-width: 200px;
    min-height: 200px;
}

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