:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --card-bg-color: #11271B;
    --bg-color-primary: #08160F; /* Main background */
    --bg-color-secondary: #0A4B2C; /* Deep Green for hero section background */
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
}

/* style/tintc.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này không cần thêm */
.page-tintc {
    /* Mặc định màu chữ cho toàn bộ nội dung trang (phù hợp với nền tối #08160F) */
    color: var(--text-main);
    background: var(--bg-color-primary);
    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;
    display: flex;
    flex-direction: column; /* Đảm bảo hình ảnh trên, văn bản dưới */
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    padding-top: 10px; /* Chỉ một khoảng đệm nhỏ cho phần trên cùng của section */
    text-align: center;
    overflow: hidden; /* Đảm bảo nội dung không tràn ra ngoài */
    background: var(--bg-color-secondary);
}

.page-tintc__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Giới hạn chiều cao cho hình ảnh hero */
    overflow: hidden;
    margin-bottom: 30px; /* Khoảng cách giữa ảnh và văn bản */
}

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

.page-tintc__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    box-sizing: border-box;
    color: var(--text-main);
}

.page-tintc__main-title {
    font-weight: bold;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 20px;
}

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

.page-tintc__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%; /* Đảm bảo container nút có chiều rộng đầy đủ */
    max-width: 400px; /* Giới hạn chiều rộng cho nhóm nút */
    margin: 0 auto;
}

.page-tintc__btn-primary,
.page-tintc__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%; /* Quan trọng cho responsive */
    width: 100%; /* Mặc định đầy đủ chiều rộng */
}

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

.page-tintc__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-tintc__btn-secondary:hover {
    background: var(--border-color);
    color: #ffffff;
}

/* General Sections */
.page-tintc__introduction-section,
.page-tintc__categories-section,
.page-tintc__benefits-section,
.page-tintc__registration-section,
.page-tintc__security-section,
.page-tintc__faq-section,
.page-tintc__conclusion-section {
    padding: 60px 0;
    text-align: center;
}

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

.page-tintc__section-title {
    font-size: 2.2em;
    color: var(--text-main);
    margin-bottom: 30px;
    font-weight: bold;
}

.page-tintc__dark-section .page-tintc__section-title {
    color: var(--text-main);
}

.page-tintc__text-block {
    font-size: 1.05em;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 20px auto;
    text-align: justify;
}

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

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

.page-tintc__news-card:hover {
    transform: translateY(-5px);
}

.page-tintc__card-image {
    width: 100%;
    height: 250px; /* Chiều cao cố định cho ảnh trong card */
    object-fit: cover;
    display: block;
}

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

.page-tintc__card-title {
    font-size: 1.4em;
    margin-bottom: 10px;
    font-weight: bold;
}

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

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

.page-tintc__card-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-tintc__read-more {
    color: var(--glow-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    margin-top: auto;
}

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

.page-tintc__arrow {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.page-tintc__read-more:hover .page-tintc__arrow {
    transform: translateX(5px);
}

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

/* Benefits List */
.page-tintc__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-tintc__benefit-item {
    background: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-tintc__benefit-title {
    font-size: 1.3em;
    color: var(--text-main);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-tintc__benefit-description {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}

/* Steps List */
.page-tintc__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-tintc__step-item {
    background: var(--card-bg-color);
    padding: 20px 30px;
    border-radius: 8px;
    margin-bottom: 15px;
    color: var(--text-main);
    font-size: 1.1em;
    position: relative;
    padding-left: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-tintc__step-item::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--glow-color);
    color: #000; /* Đảm bảo tương phản */
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1em;
}

.page-tintc__steps-list {
    counter-reset: step-counter;
}

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

.page-tintc__faq-item {
    background: var(--card-bg-color);
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: var(--text-main);
    overflow: hidden;
}

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

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

.page-tintc__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.page-tintc__faq-qtext {
    flex-grow: 1;
}

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

.page-tintc__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-tintc__faq-item[open] .page-tintc__faq-answer {
    max-height: 500px; /* Adjust as needed */
    padding-top: 10px;
}

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

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

    .page-tintc__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body đã xử lý header offset */
    }

    .page-tintc__main-title {
        font-size: 1.8em;
    }

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

    .page-tintc__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px; /* Thêm padding cho container nút */
    }
    
    .page-tintc__btn-primary,
    .page-tintc__btn-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;
    }

    .page-tintc__introduction-section,
    .page-tintc__categories-section,
    .page-tintc__benefits-section,
    .page-tintc__registration-section,
    .page-tintc__security-section,
    .page-tintc__faq-section,
    .page-tintc__conclusion-section {
        padding: 40px 0;
    }

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

    .page-tintc__text-block {
        font-size: 0.95em;
        padding: 0 15px;
    }

    .page-tintc__news-grid,
    .page-tintc__benefit-list {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .page-tintc__news-card,
    .page-tintc__benefit-item,
    .page-tintc__step-item,
    .page-tintc__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* padding-left và padding-right đã được thêm vào container cha, không cần thêm ở đây nếu container đã xử lý */
    }

    /* Mobile image responsiveness */
    .page-tintc img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-tintc__hero-image-wrapper,
    .page-tintc__card-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile video responsiveness (if any) */
    .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;
    }
}