/* General styles for the GDPR page */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #FFF3E6; /* Text Main */
    background: #0D0E12; /* Background */
}

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

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background: #0D0E12; /* Background */
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image above content */
    align-items: center;
    text-align: center;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for desktop */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-gdpr__hero-content {
    padding: 40px 20px;
    max-width: 800px;
    position: relative;
    z-index: 1;
    background: #0D0E12; /* Solid background below image */
    padding-top: 0; /* No extra padding here */
    margin-top: 20px; /* Small margin from image */
}

.page-gdpr__main-title {
    font-size: 2.8em;
    font-weight: 700;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__description {
    font-size: 1.1em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Titles */
.page-gdpr__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #FF8C1A; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 60px;
}

.page-gdpr__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    color: #FFA53A; /* Accent color */
    margin-bottom: 20px;
}

.page-gdpr__text-block {
    font-size: 1em;
    color: #FFF3E6; /* Text Main */
    margin-bottom: 20px;
    text-align: justify;
}

.page-gdpr__list {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: #FFF3E6; /* Text Main */
}

.page-gdpr__list li {
    margin-bottom: 10px;
}

.page-gdpr__text-highlight {
    color: #FFB04D; /* Glow */
    font-weight: bold;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    box-sizing: border-box; /* Include padding in width */
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6; /* Text Main */
    border: none;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%);
    box-shadow: 0 0 15px #FFB04D; /* Glow */
}

.page-gdpr__btn-secondary {
    background: transparent;
    color: #FF8C1A; /* Main color */
    border: 2px solid #FF8C1A; /* Border color */
}

.page-gdpr__btn-secondary:hover {
    background: #FF8C1A;
    color: #FFF3E6; /* Text Main */
    box-shadow: 0 0 15px rgba(255, 140, 26, 0.5);
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image with Text Block Layout */
.page-gdpr__image-text-block {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap; /* For mobile */
}

.page-gdpr__image-text-block--reverse {
    flex-direction: row-reverse;
}

.page-gdpr__content-image {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-gdpr__text-content {
    flex: 1;
    min-width: 300px;
    max-width: 50%;
}

/* Card Grid */
.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.page-gdpr__card {
    background: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #FFF3E6; /* Text Main */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 20px #FFB04D; /* Glow */
}

.page-gdpr__card-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #FFA53A; /* Accent color */
    margin-bottom: 15px;
}

/* Dark Section */
.page-gdpr__dark-section {
    background: #17191F; /* Card BG, used for a darker section */
    padding-bottom: 60px;
}
.page-gdpr__dark-section .page-gdpr__section-title {
    color: #FFB04D; /* Glow color for title on dark background */
}
.page-gdpr__dark-section .page-gdpr__text-block {
    color: #FFF3E6;
}
.page-gdpr__dark-section .page-gdpr__list li {
    color: #FFF3E6;
}

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

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #A84F0C; /* Border color */
  overflow: hidden;
  background: #17191F; /* Card BG */
  color: #FFF3E6; /* Text Main */
}
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;
}
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: #0D0E12; /* Darker background on hover */
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #FFF3E6; /* Text Main */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFA53A; /* Accent color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-gdpr__faq-item .page-gdpr__faq-answer {
  padding: 0 20px 20px;
  background: #0D0E12; /* Background */
  border-radius: 0 0 5px 5px;
  color: #FFF3E6; /* Text Main */
}
.page-gdpr__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 0.95em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.4em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
    .page-gdpr__sub-title {
        font-size: 1.4em;
    }
    .page-gdpr__hero-content {
        padding: 30px 20px;
        margin-top: 20px; /* Adjust margin */
    }
    .page-gdpr__image-text-block {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Hero Section */
    .page-gdpr__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 40px;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 300px;
    }
    .page-gdpr__hero-content {
        padding: 20px 15px;
        margin-top: 15px;
        padding-top: 0; /* No extra padding here */
        margin-bottom: 0;
    }
    .page-gdpr__main-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-gdpr__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    /* Section Titles */
    .page-gdpr__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        padding-top: 40px;
    }
    .page-gdpr__sub-title {
        font-size: 1.3em;
    }

    /* Text Blocks */
    .page-gdpr__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-gdpr p,
    .page-gdpr li {
        font-size: 15px;
    }

    /* Image with Text Block Layout */
    .page-gdpr__image-text-block {
        flex-direction: column !important; /* Stack vertically */
        gap: 20px;
        margin-bottom: 40px;
    }
    .page-gdpr__content-image {
        max-width: 100% !important; /* Full width for images */
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__text-content {
        max-width: 100% !important; /* Full width for text */
        width: 100% !important;
    }

    /* Card Grid */
    .page-gdpr__card-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
        margin-bottom: 40px;
    }
    .page-gdpr__card {
        padding: 25px;
    }

    /* Buttons */
    .page-gdpr__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        margin-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 10px 15px;
    }

    /* FAQ Section */
    details.page-gdpr__faq-item summary.page-gdpr__faq-question { padding: 15px; }
    .page-gdpr__faq-qtext { font-size: 15px; }
    details.page-gdpr__faq-item .page-gdpr__faq-answer { padding: 0 15px 15px; }
    .page-gdpr__faq-answer p { font-size: 0.9em; }

    /* Ensure all images adhere to mobile rules */
    .page-gdpr img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block;
    }
    .page-gdpr__section,
    .page-gdpr__card,
    .page-gdpr__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-gdpr__dark-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}