/* ===== 789bet Privacy Policy - Flatsome Light Blue Theme ===== */
.page-privacy-policy {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    color: #333333;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Hide header placeholder */
.page-privacy-policy .shared-header,
.page-privacy-policy .site-header {
    display: none;
}

/* ===== Hero Section ===== */
.page-privacy-policy__hero-section {
    margin: 0 -16px;
    padding: 0;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 21/9;
    object-fit: cover;
    display: block;
    max-width: 100%;
}

.page-privacy-policy__hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 16px 8px;
    text-align: center;
    background: linear-gradient(to bottom, #e6f6fd, #f0faff);
}

.page-privacy-policy__hero-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    color: #0477DB;
    margin: 0 0 12px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.1rem);
    line-height: 1.6;
    color: #333333;
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Intro Section ===== */
.page-privacy-policy__intro-section {
    padding: 24px 16px;
    border-bottom: 1px solid #d0e9f7;
}

.page-privacy-policy__intro-text {
    font-size: 1rem;
    color: #444;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ===== Section Titles ===== */
.page-privacy-policy__section-title {
    color: #0477DB;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.4;
}

/* ===== Info Section ===== */
.page-privacy-policy__info-section {
    padding: 32px 16px;
}

.page-privacy-policy__info-section > p {
    max-width: 850px;
    margin: 10px auto 20px;
}

.page-privacy-policy__article-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 24px 0;
}

.page-privacy-policy__info-card {
    background: #fff;
    border: 1px solid #d0e9f7;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-privacy-policy__card-image {
    width: 100%;
    min-height: 240px;
    object-fit: cover;
    aspect-ratio: 16/9;
    display: block;
}

.page-privacy-policy__card-title {
    margin: 0;
    padding: 16px 20px 8px;
    color: #0477DB;
    font-size: 1.25rem;
    font-weight: 600;
}

.page-privacy-policy__card-title a {
    color: inherit;
    text-decoration: none;
}

.page-privacy-policy__card-title a:hover {
    color: #26A9E0;
    text-decoration: underline;
}

.page-privacy-policy__info-card p {
    margin: 0;
    padding: 0 20px 20px;
    color: #444;
    font-size: 0.9rem;
}

/* ===== Usage Section ===== */
.page-privacy-policy__usage-section {
    padding: 32px 16px;
    background: #f5fafd;
    border-radius: 20px;
    margin-bottom: 16px;
}

.page-privacy-policy__usage-list {
    padding: 0;
    margin: 16px 0 0 20px;
    color: #333;
}

.page-privacy-policy__usage-list li {
    margin-bottom: 8px;
    padding-left: 8px;
    line-height: 1.6;
    list-style-type: disc;
}

/* ===== Cookie Section ===== */
.page-privacy-policy__cookie-section {
    padding: 32px 16px;
}

.page-privacy-policy__cta-box {
    background: linear-gradient(135deg, #e6f6fd 0%, #f0faff 100%);
    border: 1px solid #9fd0e8;
    border-radius: 20px;
    text-align: center;
    padding: 32px 24px;
    margin: 20px 0;
}

.page-privacy-policy__cta-text {
    font-size: 1rem;
    color: #333;
    margin: 0 0 16px;
}

/* ===== CTA Buttons ===== */
.page-privacy-policy__cta-button,
.page-privacy-policy__primary-button,
.page-privacy-policy__secondary-button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    margin: 4px 4px;
    max-width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    text-align: center;
    line-height: 1.3;
}

.page-privacy-policy__cta-button,
.page-privacy-policy__primary-button {
    background-color: #26A9E0;
    color: #ffffff;
    border-color: #0477db;
}

.page-privacy-policy__cta-button:hover,
.page-privacy-policy__primary-button:hover {
    background-color: #0477db;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 119, 219, 0.3);
}

.page-privacy-policy__secondary-button {
    background-color: #EA7C07;
    color: #ffffff;
    border-color: #d97706;
}

.page-privacy-policy__secondary-button:hover {
    background-color: #d8a86b;
    color: #333333;
}

/* ===== Security Section ===== */
.page-privacy-policy__security-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 48px 16px;
    background: #f9fdff;
}

.page-privacy-policy__security-image-wrapper {
    width: 100%;
}

.page-privacy-policy__security-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 100, 200, 0.1);
    display: block;
}

.page-privacy-policy__security-content {
    padding: 16px;
}

/* ===== Rights Section ===== */
.page-privacy-policy__rights-section {
    padding: 32px 16px;
    border-top: 1px solid #d0e9f7;
    border-bottom: 1px solid #d0e9f7;
}

.page-privacy-policy__rights-list {
    padding-left: 20px;
    margin: 20px 0;
}

.page-privacy-policy__rights-list li {
    margin-bottom: 12px;
    color: #333;
    line-height: 1.6;
}

.page-privacy-policy__rights-list strong {
    color: #0477db;
}

/* ===== FAQ Section ===== */
.page-privacy-policy__update-section {
    padding: 32px 16px;
}

.page-privacy-policy__inline-link {
    color: #0477db;
    text-decoration: none;
    font-weight: 600;
}

.page-privacy-policy__inline-link:hover {
    text-decoration: underline;
}

/* Contact box */
.page-privacy-policy__contact-box {
    background: linear-gradient(135deg, #e0f0f7, #f0f9ff);
    border-radius: 16px;
    padding: 30px;
    margin-top: 24px;
    text-align: center;
}

.page-privacy-policy__contact-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0477DB;
    margin: 0 0 8px;
}

.page-privacy-policy__contact-note {
    font-size: 1rem;
    color: #333;
    max-width: 700px;
    margin: 0 0 20px auto;
}

.page-privacy-policy__button-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 32px 16px;
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__faq-item {
    background: #f8fbfc;
    border-left: 4px solid #26A9E0;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 10px;
}

.page-privacy-policy__faq-item summary {
    cursor: pointer;
    font-weight: 600;
    color: #333;
    font-size: 1rem;
    list-style: none;
    outline: none;
    font-weight: 700;
}

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

.page-privacy-policy__faq-item summary::after {
    content: "▼";
    float: right;
    color: #26A9E0;
    font-size: 0.8rem;
}

.page-privacy-policy__faq-item[open] summary::after {
    content: "▲";
}

.page-privacy-policy__faq-item[open] summary,
.page-privacy-policy__faq-item summary:hover {
    color: #0477DB;
}

.page-privacy-policy__faq-item p {
    margin: 15px 0 10px;
    color: #444;
    line-height: 1.65;
}

/* ===== Commitment Section ===== */
.page-privacy-policy__commitment-section {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    background: #eef7fc;
    padding: 40px 30px;
    border-radius: 20px;
    margin: 32px 0 0;
}

.page-privacy-policy__commitment-content {
    color: #333;
    line-height: 1.8;
}

.page-privacy-policy__commitment-content .page-privacy-policy__section-title {
    margin-bottom: 10px;
}

.page-privacy-policy__commitment-cta {
    text-align: center;
    background: #fff;
    border: 2px solid #9fd0e8;
    border-radius: 16px;
    padding: 24px;
}

.page-privacy-policy__commitment-cta p {
    font-weight: 700;
    color: #0477db;
    margin: 0 0 16px;
}

/* Descriptive content ends */

/* ===== Responsive Styles ===== */
@media (max-width: 768px) {
    .page-privacy-policy {
        padding: 0 12px;
        max-width: 100%;
    }

    .page-privacy-policy__hero-section {
        margin: 0 -12px;
    }

    .page-privacy-policy__hero-image {
        aspect-ratio: 16/9; /* Reduce hero height on mobile */
    }

    .page-privacy-policy__hero-content {
        padding: 12px 12px 8px;
    }

    .page-privacy-policy__hero-title {
        font-size: 1.2rem;
        line-height: 1.3;
    }

    .page-privacy-policy__hero-description {
        font-size: 0.9rem;
    }

    .page-privacy-policy__intro-section,
    .page-privacy-policy__info-section,
    .page-privacy-policy__usage-section,
    .page-privacy-policy__cookie-section,
    .page-privacy-policy__security-section,
    .page-privacy-policy__rights-section,
    .page-privacy-policy__update-section,
    .page-privacy-policy__faq-section {
        padding: 20px 12px !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }

    .page-privacy-policy__article-layout {
        grid-template-columns: 1fr; /* Stack cards on mobile */
        gap: 16px;
    }

    .page-privacy-policy__security-section {
        grid-template-columns: 1fr; /* Stack security image & text */
        gap: 16px;
    }

    .page-privacy-policy__security-image {
        aspect-ratio: 16/10;
    }

    .page-privacy-policy__commitment-section {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 24px 16px;
    }

    .page-privacy-policy__button-group {
        flex-direction: column;
        align-items: center;
    }

    .page-privacy-policy__contact-box,
    .page-privacy-policy__cta-box {
        padding: 20px 16px;
    }

    /* Ensure all images are responsive */
    .page-privacy-policy img {
        max-width: 100%;
        height: auto;
    }

    .page-privacy-policy__cta-button,
    .page-privacy-policy__primary-button,
    .page-privacy-policy__secondary-button {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-break: break-word;
        width: auto;
        margin-bottom: 8px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-image {
        aspect-ratio: 4/3; /* Shorter for small screens */
    }

    .page-privacy-policy__hero-title {
        font-size: 1rem;
    }

    .page-privacy-policy__hero-description {
        font-size: 0.8rem;
    }

    .page-privacy-policy__info-card img {
        max-width: 100%;
    }

    .page-privacy-policy__cta-button,
    .page-privacy-policy__primary-button,
    .page-privacy-policy__secondary-button {
        display: block;
        margin: 8px auto;
        padding: 12px 16px;
        max-width: 100%;
    }
}