/* General Styling */
.page-gdpr {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background: #F5F7FA; /* Background */
}

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

.page-gdpr__section {
    padding: 40px 0;
    margin-bottom: 20px;
}

.page-gdpr__section-title {
    font-size: 32px;
    font-weight: bold;
    color: #E53935; /* Primary color */
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.2;
}

.page-gdpr__section-title--light {
    color: #ffffff;
}

.page-gdpr__sub-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-gdpr__description {
    font-size: 18px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #333333;
}

.page-gdpr__description--light {
    color: #f0f0f0;
}

.page-gdpr__text-block p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    overflow: hidden;
    background: #E53935; /* Primary color */
    color: #ffffff;
}

.page-gdpr__hero-content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 40px;
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    margin-bottom: 30px;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-gdpr__hero-text-content {
    text-align: center;
    max-width: 900px;
}

.page-gdpr__main-title {
    font-size: 44px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* CTA Button */
.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button gradient */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.page-gdpr__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    width: 100%; /* For responsive button containers */
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Dark Section */
.page-gdpr__dark-section {
    background: #E53935; /* Primary color */
    color: #ffffff;
}

/* Card Styling */
.page-gdpr__card {
    background: #FFFFFF; /* Card BG */
    border: 1px solid #E0E0E0; /* Border */
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333; /* Text Main */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-gdpr__card-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    margin-bottom: 15px;
    object-fit: cover;
    min-height: 200px; /* Minimum image size */
    min-width: 200px;
}

.page-gdpr__card-title {
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 10px;
    color: #E53935; /* Primary color */
}

.page-gdpr__card-description {
    font-size: 15px;
    line-height: 1.6;
    color: #333333;
}

/* Grid Layouts */
.page-gdpr__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-gdpr__grid--principles {
    grid-template-columns: repeat(3, 1fr);
}

.page-gdpr__grid--rights {
    grid-template-columns: repeat(4, 1fr);
}

.page-gdpr__grid--security {
    grid-template-columns: repeat(3, 1fr);
}

/* FAQ Section */
.page-gdpr__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

details.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
}
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: #f5f5f5;
}
.page-gdpr__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Text Main */
}
.page-gdpr__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935; /* Primary 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: #F9F9F9; /* Slightly lighter background for answer */
  border-radius: 0 0 5px 5px;
  color: #333333; /* Text Main */
}

.page-gdpr__faq-answer p {
    margin: 0;
    padding: 0;
}

.page-gdpr__link {
    color: #E53935; /* Primary color for links */
    text-decoration: underline;
}

.page-gdpr__link:hover {
    color: #FF5A4F; /* Secondary color on hover */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-gdpr__container {
        padding: 20px;
    }

    .page-gdpr__main-title {
        font-size: 38px;
    }

    .page-gdpr__section-title {
        font-size: 28px;
    }

    .page-gdpr__sub-title {
        font-size: 22px;
    }

    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-gdpr__grid--principles {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-gdpr__grid--rights {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-gdpr__grid--security {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 849px) { /* Specific breakpoint for banner object-fit */
    .page-gdpr__hero-image {
        object-fit: contain; /* Banner object-fit */
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-gdpr__hero-section {
        padding-top: 10px; /* Ensure small top padding */
    }

    .page-gdpr__hero-content-wrapper {
        padding: 0 15px 30px;
    }

    .page-gdpr__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-gdpr__description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-gdpr__section {
        padding: 30px 0;
    }

    .page-gdpr__section-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .page-gdpr__sub-title {
        font-size: 20px;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-gdpr__text-block p {
        font-size: 15px;
    }

    .page-gdpr__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 16px;
    }

    .page-gdpr__button-group {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-gdpr__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__grid--principles {
        grid-template-columns: 1fr;
    }

    .page-gdpr__grid--rights {
        grid-template-columns: 1fr;
    }

    .page-gdpr__grid--security {
        grid-template-columns: 1fr;
    }

    .page-gdpr img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: cover; /* Default for general images */
    }

    .page-gdpr__card {
        padding: 20px;
    }

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