/* General page styling */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light body background */
    background-color: #ffffff; /* Explicitly set for content area */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    padding-top: 10px; /* Small padding top, relying on body padding-top for header offset */
    background-color: #26A9E0; /* Brand color background for hero */
    color: #ffffff; /* White text on brand color background */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Ensure image covers the area */
    display: block;
}

.page-privacy-policy__hero-content {
    padding-bottom: 40px;
    max-width: 800px;
    width: 100%; /* Ensure content takes full width up to max-width */
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff; /* White text for contrast */
}

.page-privacy-policy__intro-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0; /* Slightly off-white for description */
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background-color: #EA7C07; /* Login color for CTA */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    max-width: 100%; /* Ensure button adapts to mobile */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
    background-color: #d16b06;
}

/* General Section Styling */
.page-privacy-policy__section {
    padding: 60px 0;
    border-bottom: 1px solid #eeeeee;
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #26A9E0; /* Brand color for section titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: #333333;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 0;
    color: #333333;
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-privacy-policy__list li strong {
    color: #222222;
}

.page-privacy-policy a {
    color: #26A9E0;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Content Grid for sections */
.page-privacy-policy__content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.page-privacy-policy__grid-item {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e0e0;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto 0;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px;
}

/* FAQ Section Styling */
details.page-privacy-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
  display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
  background: #f5f5f5;
}
.page-privacy-policy__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure contrast */
}
.page-privacy-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #666;
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Ensure contrast */
}

/* Responsive design for mobile */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 3em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li {
        font-size: 1em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section Mobile */
    .page-privacy-policy__hero-section {
        padding-top: 10px; /* Maintain small padding for mobile */
        padding-bottom: 30px;
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 400px; /* Adjust hero image height for mobile */
        margin-bottom: 15px;
    }

    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2.5em); /* More restrained font size for mobile H1 */
        margin-bottom: 10px;
    }

    .page-privacy-policy__intro-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    /* General Section Mobile */
    .page-privacy-policy__section {
        padding: 40px 0;
    }

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

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li {
        font-size: 0.95em;
    }

    .page-privacy-policy__content-grid {
        grid-template-columns: 1fr; /* Single column for content grid on mobile */
        gap: 20px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__grid-item {
        padding: 20px;
    }

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin-top: 20px;
    }

    /* FAQ Mobile */
    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question { padding: 15px; }
    .page-privacy-policy__faq-qtext { font-size: 15px; }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }

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

    /* Ensure all containers are responsive */
    .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;
    }
}

/* Placeholder for mobile styles of modules not present on this page, as per strict requirement */
/* Banner __hero-section: already handled above */

/* Three-link buttons __access-links - Not applicable to Privacy Policy page, but placeholder included as per requirement */
.page-privacy-policy__access-links { /* Assuming a container for such links if present */ }
@media (max-width: 768px) {
    .page-privacy-policy__access-links {
        display: flex;
        flex-direction: column; /* Single column for mobile */
        gap: 10px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__access-links .page-privacy-policy__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Five-entry __category-lobby - Not applicable to Privacy Policy page, but placeholder included as per requirement */
.page-privacy-policy__category-lobby { /* Assuming a container for categories if present */ }
.page-privacy-policy__category-lobby__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Desktop default */
    gap: 20px;
}
.page-privacy-policy__category-card-link img { /* Assuming image within a link card */
    aspect-ratio: 1/1; /* Enforce square for gameshow/category cards */
    width: 100%;
    object-fit: contain;
    border: none;
    box-shadow: none;
}
@media (max-width: 768px) {
    .page-privacy-policy__category-lobby__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for mobile */
        gap: 15px;
    }
    .page-privacy-policy__category-card-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__category-card-link img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* Blog slider __blog-slider - Not applicable to Privacy Policy page, but placeholder included as per requirement */
.page-privacy-policy__blog-slider { /* Assuming a blog slider container if present */ }
.page-privacy-policy__blog-slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.page-privacy-policy__post-item {
    flex: 0 0 300px; /* Desktop item width */
    margin-right: 16px;
    scroll-snap-align: start;
}
@media (max-width: 768px) {
    .page-privacy-policy__blog-slider {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-privacy-policy__post-item {
        flex: 0 0 calc(100% - 30px); /* Single card visible, with some padding */
        margin-right: 15px;
    }
    /* Add styles for slider navigation if present */
    .page-privacy-policy__blog-slider-prev,
    .page-privacy-policy__blog-slider-next {
        /* Ensure arrows are clickable and visible */
        font-size: 2em;
        padding: 10px;
        background: rgba(0,0,0,0.5);
        color: #fff;
        border-radius: 50%;
        position: absolute; /* Example positioning */
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
}