/* style/privacy-policy.css */

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

.page-privacy-policy {
    color: var(--hv88-text-main);
    background-color: var(--hv88-background-dark);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    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 */
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--hv88-deep-green);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin-top: 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em);
    color: var(--hv88-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--hv88-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--hv88-btn-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-privacy-policy__section-container {
    background-color: var(--hv88-card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--hv88-gold-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 2px solid var(--hv88-divider-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.8em;
    color: var(--hv88-secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__text-block {
    font-size: 1em;
    color: var(--hv88-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.page-privacy-policy__list-item {
    color: var(--hv88-text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

.page-privacy-policy__list-item strong {
    color: var(--hv88-text-main);
}

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

.page-privacy-policy__contact-link {
    color: var(--hv88-gold-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: var(--hv88-glow-color);
    text-decoration: underline;
}

.page-privacy-policy__faq-section {
    padding: 60px 20px;
    background-color: var(--hv88-background-dark);
    box-sizing: border-box;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--hv88-card-bg);
    border: 1px solid var(--hv88-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--hv88-deep-green);
    color: var(--hv88-text-main);
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    border-bottom: 1px solid var(--hv88-border-color);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-item[open] > .page-privacy-policy__faq-question {
    background-color: var(--hv88-primary-color);
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--hv88-primary-color);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    color: var(--hv88-text-secondary);
    font-size: 1em;
    line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 4vw, 2.8em);
    }
    .page-privacy-policy__description {
        font-size: 1em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }
    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-privacy-policy__hero-image {
        border-radius: 4px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 5vw, 2.5em);
        margin-bottom: 15px;
    }
    .page-privacy-policy__description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__content-area {
        padding: 25px 15px;
    }
    .page-privacy-policy__section-container {
        padding: 20px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__list-item {
        font-size: 0.9em;
    }
    .page-privacy-policy__content-image {
        margin: 20px 0;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__faq-section {
        padding: 40px 15px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1.05em;
    }
    .page-privacy-policy__faq-answer {
        padding: 15px 20px;
        font-size: 0.9em;
    }

    /* Ensure all image containers are responsive */
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__section-container,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.3em, 6vw, 2em);
    }
    .page-privacy-policy__description {
        font-size: 0.9em;
    }
    .page-privacy-policy__btn-primary {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__faq-question {
        font-size: 1em;
    }
}