/* style/privacy-policy.css */
/* body đã padding-top: var(--header-offset) từ shared.css; trang này KHÔNG được viết lại padding-top cho body hoặc hero-section với biến đó */

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

.page-privacy-policy {
    background-color: var(--background-color);
    color: var(--text-main-color);
    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;
    padding: 0 20px 60px 20px; /* Top padding is handled by body, small bottom padding */
    box-sizing: border-box;
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure text is above any potential background elements */
    color: var(--text-main-color);
}

.page-privacy-policy__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--gold-color); /* Using Gold color for main title */
    margin-bottom: 20px;
    /* No fixed font-size, rely on clamp if necessary, but prefer not to */
}

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

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: var(--button-gradient);
    color: #ffffff; /* White text on button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-privacy-policy__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slightly altered gradient on hover */
}

.page-privacy-policy__section {
    padding: 60px 20px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--divider-color);
}

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

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
}

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

.page-privacy-policy__card {
    background-color: var(--card-bg-color);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    color: var(--text-main-color);
    border: 1px solid var(--border-color);
}

.page-privacy-policy__card-title {
    font-size: 1.5em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-privacy-policy__card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 20px;
}

.page-privacy-policy p {
    margin-bottom: 1em;
    color: var(--text-secondary-color);
}

.page-privacy-policy ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 1em;
    color: var(--text-secondary-color);
}

.page-privacy-policy ul li {
    margin-bottom: 0.5em;
    color: var(--text-secondary-color);
}

.page-privacy-policy__link-button {
    display: inline-block;
    color: var(--glow-color); /* Using Glow color for links */
    text-decoration: underline;
    font-weight: bold;
    margin-top: 15px;
}

.page-privacy-policy__link-button:hover {
    color: var(--text-main-color);
}

.page-privacy-policy__contact-info {
    background-color: var(--deep-green-color);
    padding: 25px;
    border-radius: 8px;
    margin-top: 20px;
    color: var(--text-main-color);
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

.page-privacy-policy__contact-info a {
    color: var(--glow-color);
    text-decoration: none;
}

.page-privacy-policy__contact-info a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

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

    .page-privacy-policy__description {
        font-size: 1em;
    }

    .page-privacy-policy__section {
        padding: 40px 15px;
    }

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

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

    .page-privacy-policy__card-title {
        font-size: 1.3em;
    }

    /* Mobile image responsive adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .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;
    }

    /* Mobile button responsive adaptation */
    .page-privacy-policy__cta-button,
    .page-privacy-policy__link-button,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important; /* Ensure buttons take full width */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center; /* Center text in full-width button */
    }
    
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-wrap: wrap !important;
      gap: 10px;
      display: flex; /* Ensure flex behavior for button groups */
      flex-direction: column; /* Stack buttons vertically on mobile */
    }
}