.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for default light body background */
    background-color: #f8f8f8;
}

.page-privacy-policy__hero-banner {
    background: linear-gradient(90deg, #B80000 0%, #FFD700 100%);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-privacy-policy__hero-title {
    font-size: 38px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #ffffff;
}

.page-privacy-policy__hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__section {
    padding: 40px 0;
    border-bottom: 1px solid #e0e0e0;
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__section-title {
    font-size: 28px;
    color: #B80000;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
}

.page-privacy-policy__list-item strong {
    color: #B80000;
}

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

.page-privacy-policy__card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.page-privacy-policy__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__card-title {
    font-size: 20px;
    color: #B80000;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__card-text {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

/* FAQ容器样式 */
.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* FAQ默认状态 - 答案隐藏 */
.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 20px;
    opacity: 0;
}

/* FAQ展开 trạng thái - 🚨 Sử dụng!important và đủ lớn max-height đảm bảo chắc chắn mở rộng */
.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 2000px !important; /* 🚨 Sử dụng!important đảm bảo ưu tiên, giá trị đủ lớn để chứa mọi nội dung */
    padding: 20px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

/* Vấn đề phong cách */
.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-privacy-policy__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-privacy-policy__faq-question:active {
    background: #eeeeee;
}

/* Vấn đề tiêu đề phong cách */
.page-privacy-policy__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none; /* Ngăn chặn thẻ h3 chặn sự kiện nhấp chuột */
    color: #333333;
}

/* Chuyển đổi biểu tượng */
.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none; /* Ngăn chặn biểu tượng chặn sự kiện nhấp chuột */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    color: #B80000;
    transform: rotate(45deg); /* Biểu tượng xoay khi mở */
}

/* Liên kết */
.page-privacy-policy a {
    color: #B80000;
    text-decoration: none;
    font-weight: bold;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
    color: #FFD700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-privacy-policy__hero-banner {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-privacy-policy__hero-title {
        font-size: 28px;
    }

    .page-privacy-policy__hero-description {
        font-size: 16px;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
    }

    .page-privacy-policy__section {
        padding: 30px 0;
    }

    .page-privacy-policy__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__card-text {
        font-size: 15px;
    }

    .page-privacy-policy__content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-privacy-policy__card {
        padding: 20px;
    }

    .page-privacy-policy__card-title {
        font-size: 18px;
    }

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        border-radius: 4px;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ Mobile */
    .page-privacy-policy__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-privacy-policy__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-privacy-policy__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 15px;
    }

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }
}