/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    color: #FFF3E6; /* Main text color for dark background */
    line-height: 1.6;
    background-color: #0D0E12; /* Matches Body Background from shared.css */
}

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

.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid #1f2127; /* A subtle border for section separation */
}

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

.page-gdpr__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #FF8C1A; /* Primary brand color for titles */
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 0 8px rgba(255, 140, 26, 0.3);
}

.page-gdpr__main-title {
    font-size: 48px;
    font-weight: 800;
    color: #FFF3E6;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 15px rgba(255, 243, 230, 0.5);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__description {
    font-size: 18px;
    color: #FFF3E6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-gdpr__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    color: #FFF3E6;
}

.page-gdpr__brand {
    color: #FFA53A; /* Auxiliary brand color */
    font-weight: 700;
}

.page-gdpr__list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.page-gdpr__list-item {
    background-color: #17191F; /* Card BG color */
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    color: #FFF3E6;
    border: 1px solid #A84F0C; /* Border color */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__list-item strong {
    color: #FFB04D; /* Glow color */
    margin-right: 10px;
    flex-shrink: 0;
}

.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles header offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    overflow: hidden;
}

.page-gdpr__hero-image {
    width: 100%;
    height: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    object-fit: cover; /* Cover the area */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.page-gdpr__hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 20px;
    background: rgba(13, 14, 18, 0.7); /* Semi-transparent background for readability */
    border-radius: 10px;
    margin: 20px;
    max-width: 90%;
}

.page-gdpr__content-image {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid #A84F0C;
}

/* Buttons */
.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 20px;
    width: 100%; /* Ensure container takes full width for responsiveness */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-gdpr__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
    max-width: 100%; /* Ensure button itself is responsive */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 165, 58, 0.6);
    background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding-bottom: 80px;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C;
  overflow: hidden;
  background: #17191F; /* Card BG color */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
details.page-gdpr__faq-item summary.page-gdpr__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;
  color: #FFF3E6;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question::-webkit-details-marker {
  display: none;
}
details.page-gdpr__faq-item summary.page-gdpr__faq-question:hover {
  background: #24272f; /* Slightly lighter dark for hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6;
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFB04D; /* Glow color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Background color for answer */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
  font-size: 16px;
}
.page-gdpr__faq-answer p {
    margin: 0;
    padding: 0;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-gdpr__hero-section {
        min-height: 350px;
    }
    .page-gdpr__main-title {
        font-size: 40px;
    }
    .page-gdpr__description {
        font-size: 16px;
    }
    .page-gdpr__section-title {
        font-size: 30px;
    }
    .page-gdpr__list-item {
        padding: 12px 15px;
        font-size: 15px;
    }
    .page-gdpr__faq-qtext {
        font-size: 17px;
    }
    .page-gdpr__faq-answer {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    /* General mobile styles */
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-gdpr__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-gdpr__description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-gdpr__text-block {
        font-size: 15px;
    }

    /* Hero section specific mobile styles */
    .page-gdpr__hero-section {
        min-height: 250px;
        padding-top: 10px;
    }
    .page-gdpr__hero-image {
        object-fit: contain !important; /* Mobile specific for hero image */
        max-height: 300px;
    }
    .page-gdpr__hero-content {
        padding: 20px 15px;
        margin: 10px;
    }

    /* Image responsiveness */
    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-gdpr__content-image {
        margin: 20px auto;
    }

    /* List items */
    .page-gdpr__list-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }
    .page-gdpr__list-item strong {
        margin-bottom: 5px;
    }

    /* Button responsiveness */
    .page-gdpr__button-group {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* FAQ mobile styles */
    details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
    .page-gdpr__faq-qtext { font-size: 16px; }
    .page-gdpr__faq-toggle { font-size: 20px; width: 24px; height: 24px; }
    details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; font-size: 15px; }

    /* Placeholder for other mobile elements if they were present on this page */
    /* .page-gdpr__access-links { flex-direction: column; gap: 10px; } */
    /* .page-gdpr__access-links a { width: 100%; } */
    /* .page-gdpr__category-lobby__grid { grid-template-columns: repeat(2, 1fr); } */
    /* .page-gdpr__category-card-link img { aspect-ratio: 1/1; width: 100%; object-fit: contain; border: none; box-shadow: none; } */
    /* .page-gdpr__blog-slider-track { scroll-snap-type: x mandatory; } */
    /* .page-gdpr__post-item { width: 90%; flex-shrink: 0; scroll-snap-align: start; } */
}