/* style/tintc.css */

:root {
    --primary-color: #FF8C1A;
    --secondary-color: #FFA53A;
    --card-bg: #17191F;
    --page-bg: #0D0E12;
    --text-main: #FFF3E6;
    --border-color: #A84F0C;
    --glow-color: #FFB04D;
    --deep-orange: #D96800;
}

.page-tintc {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Dark background, so light text */
    background-color: var(--page-bg);
    line-height: 1.6;
    padding-bottom: 40px;
}

.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, body handles header offset */
    overflow: hidden;
}

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

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

.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%;
    max-width: 900px;
    padding: 0 20px;
}

.page-tintc__main-title {
    font-size: clamp(28px, 4vw, 48px);
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-tintc__hero-description {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-main);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-tintc__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(180deg, var(--secondary-color) 0%, var(--deep-orange) 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-tintc__cta-button:hover {
    background: linear-gradient(180deg, var(--deep-orange) 0%, var(--secondary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-tintc__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    box-shadow: none;
}

.page-tintc__cta-button--secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-tintc__section {
    padding: 60px 20px;
    text-align: center;
}

.page-tintc__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-tintc__section-title {
    font-size: clamp(24px, 3vw, 38px);
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.page-tintc__section-text {
    font-size: 18px;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto 20px auto;
    line-height: 1.8;
}

.page-tintc__featured-news {
    background-color: var(--card-bg);
    padding: 80px 20px;
}

.page-tintc__news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-tintc__news-card {
    background-color: var(--page-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px 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(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

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

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

.page-tintc__card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    flex-grow: 1;
}

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

.page-tintc__card-title a:hover {
    color: var(--primary-color);
}

.page-tintc__card-meta {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.page-tintc__card-description {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
}

.page-tintc__read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-tintc__read-more:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

.page-tintc__faq-section {
    background-color: var(--page-bg);
    padding: 80px 20px;
}

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

details.page-tintc__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 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: rgba(var(--primary-color), 0.1);
}

.page-tintc__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-main);
}

.page-tintc__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 30px;
    text-align: center;
}

details.page-tintc__faq-item .page-tintc__faq-answer {
    padding: 0 25px 20px;
    background: var(--page-bg);
    border-radius: 0 0 10px 10px;
    color: var(--text-main);
    font-size: 16px;
}

.page-tintc__cta-bottom {
    background-color: var(--card-bg);
    padding: 80px 20px;
}

.page-tintc__cta-container {
    max-width: 900px;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--card-bg), #1a1e27);
    border: 1px solid var(--border-color);
}

.page-tintc__cta-bottom .page-tintc__section-title {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.page-tintc__cta-bottom .page-tintc__section-text {
    color: var(--text-main);
    margin-bottom: 35px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-tintc__hero-section {
        padding: 40px 15px;
    }
    .page-tintc__hero-image {
        margin-bottom: 20px;
    }
    .page-tintc__main-title {
        font-size: clamp(26px, 4.5vw, 42px);
    }
    .page-tintc__hero-description {
        font-size: clamp(15px, 2.2vw, 18px);
    }
    .page-tintc__section-title {
        font-size: clamp(22px, 3.5vw, 34px);
    }
    .page-tintc__section-text {
        font-size: 17px;
    }
    .page-tintc__news-card img {
        height: 200px;
    }
    .page-tintc__card-title {
        font-size: 20px;
    }
    .page-tintc__card-description {
        font-size: 15px;
    }
    .page-tintc__faq-qtext {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .page-tintc {
        font-size: 16px;
        line-height: 1.6;
        padding-bottom: 20px;
    }
    .page-tintc__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-tintc__hero-image img {
        border-radius: 8px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tintc__main-title {
        font-size: clamp(24px, 6vw, 36px);
        margin-bottom: 15px;
    }
    .page-tintc__hero-description {
        font-size: clamp(14px, 3vw, 16px);
        margin-bottom: 25px;
    }
    .page-tintc__cta-button {
        padding: 12px 25px;
        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__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-tintc__section {
        padding: 40px 15px;
    }
    .page-tintc__section-title {
        font-size: clamp(20px, 5vw, 30px);
        margin-bottom: 20px;
    }
    .page-tintc__section-text {
        font-size: 15px;
    }
    .page-tintc__news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .page-tintc__news-card img {
        
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tintc__card-title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .page-tintc__card-description {
        font-size: 14px;
        margin-bottom: 15px;
    }
    .page-tintc__faq-section {
        padding: 50px 15px;
    }
    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 15px;
    }
    .page-tintc__cta-bottom .page-tintc__section-title {
        font-size: clamp(20px, 5vw, 28px);
    }
    .page-tintc__cta-container {
        padding: 30px 20px;
    }
    /* Ensure all images and their containers are responsive */
    .page-tintc img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-tintc__section, .page-tintc__container, .page-tintc__news-card, .page-tintc__cta-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Global image rules for content area */
.page-tintc img {
    min-width: 200px;
    min-height: 200px;
}

.page-tintc__news-card img {
    min-width: 280px; /* Card images should be larger */
    min-
}

/* Contrast fixes for text on brand colors if needed */
.page-tintc__dark-bg {
    color: #ffffff; /* Deep orange background with white text */
    background-color: var(--primary-color);
}

.page-tintc__light-bg {
    color: #333333; /* Light background with dark text */
    background-color: #ffffff;
}

.page-tintc__medium-bg {
    color: #000000; /* Medium orange background with black text */
    background-color: var(--secondary-color);
}

/* Ensure no filter is applied to images */
.page-tintc img {
    filter: none; /* Explicitly ensure no filter */
}