/* style/gdpr.css */

:root {
  --primary-color: #E44D26; /* Vibrant Orange Red */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f9f9f9;
  --border-color: #e0e0e0;
}

.page-gdpr {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #ffffff; /* Default light background for body */
}

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

/* Hero Section */
.page-gdpr__hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  padding: 80px 0;
  text-align: center;
  color: var(--text-light);
  /* Ensure content is not hidden by fixed header */
  padding-top: var(--header-offset, 120px);
}

.page-gdpr__main-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-gdpr__intro-text {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-gdpr__hero-image {
  width: 100%;
  max-width: 900px;
  height: auto;
  display: block;
  margin: 40px auto 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

/* General Section Styles */
.page-gdpr__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-gdpr__section:nth-of-type(even) {
  background-color: var(--bg-light);
}

.page-gdpr__dark-section {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-gdpr__dark-section .page-gdpr__section-title,
.page-gdpr__dark-section .page-gdpr__section-description,
.page-gdpr__dark-section .page-gdpr__card-title,
.page-gdpr__dark-section p,
.page-gdpr__dark-section li {
  color: var(--text-light);
}

.page-gdpr__dark-section .page-gdpr__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.page-gdpr__section-title {
  font-size: 2.2em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-gdpr__dark-section .page-gdpr__section-title {
  color: var(--secondary-color);
}

.page-gdpr__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
}

.page-gdpr__image-centered {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Grid Layout */
.page-gdpr__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

/* Card Styles */
.page-gdpr__card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

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

.page-gdpr__card-title {
  font-size: 1.4em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
}

.page-gdpr__dark-section .page-gdpr__card-title {
  color: var(--secondary-color);
}

/* List Styles */
.page-gdpr__list {
  list-style: none;
  padding: 0;
  margin: 40px 0 0 0;
}

.page-gdpr__list li {
  background-color: #ffffff;
  border-left: 5px solid var(--primary-color);
  padding: 20px 25px;
  margin-bottom: 15px;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: border-color 0.3s ease;
}

.page-gdpr__dark-section .page-gdpr__list li {
  background-color: rgba(255, 255, 255, 0.1);
  border-left-color: var(--secondary-color);
}

.page-gdpr__list li:hover {
  border-left-color: var(--secondary-color);
}

.page-gdpr__dark-section .page-gdpr__list li:hover {
  border-left-color: var(--text-light);
}

.page-gdpr__list li h3 {
  font-size: 1.3em;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-gdpr__dark-section .page-gdpr__list li h3 {
  color: var(--secondary-color);
}

.page-gdpr__list li p {
  margin-bottom: 0;
}

.page-gdpr__list-small {
  list-style: disc;
  padding-left: 20px;
  margin-top: 20px;
}

.page-gdpr__list-small li {
  background-color: transparent;
  border: none;
  padding: 5px 0;
  margin-bottom: 5px;
  box-shadow: none;
  border-radius: 0;
}

.page-gdpr__content-block {
  margin-bottom: 40px;
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.page-gdpr__content-block h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Contact Section */
.page-gdpr__contact-info {
  text-align: center;
  margin-top: 40px;
}

.page-gdpr__contact-info p {
  font-size: 1.1em;
  margin-bottom: 20px;
}

.page-gdpr__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-block; /* Center the list */
  text-align: left;
}

.page-gdpr__contact-list li {
  background-color: transparent;
  border: none;
  padding: 10px 0;
  margin-bottom: 5px;
  box-shadow: none;
  border-radius: 0;
  font-size: 1.1em;
}

.page-gdpr__contact-list li strong {
  color: var(--primary-color);
}

.page-gdpr__contact-list li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-gdpr__contact-list li a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-gdpr__contact-image {
  max-width: 100%;
  height: auto;
  margin-bottom: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

/* Conclusion Section */
.page-gdpr__conclusion-section {
  text-align: center;
}

.page-gdpr__links-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 600px;
}

.page-gdpr__links-list li {
  background-color: transparent;
  border: none;
  padding: 5px 0;
  margin-bottom: 5px;
  box-shadow: none;
  border-radius: 0;
}

.page-gdpr__links-list li a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

.page-gdpr__links-list li a:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

/* CTA Button */
.page-gdpr__cta-wrapper {
  margin-top: 40px;
}

.page-gdpr__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-gdpr__btn-primary:hover {
  background-color: #c94020; /* Darker primary */
  transform: translateY(-2px);
}

/* FAQ Section */
.page-gdpr__faq-section {
  background-color: var(--bg-light);
}

.page-gdpr__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-gdpr__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

/* FAQ default state - answer hidden */
.page-gdpr__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

/* FAQ expanded state - 🚨 Use!important and sufficiently large max-height */
.page-gdpr__faq-item.active .page-gdpr__faq-answer {
  max-height: 2000px !important; /* 🚨 Use!important to ensure priority, value large enough to contain any content */
  padding: 20px 15px !important;
  opacity: 1;
  background: #fdfdfd;
  border-radius: 0 0 5px 5px;
  border: 1px solid var(--border-color);
  border-top: none;
}

/* Question style */
.page-gdpr__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-gdpr__faq-item.active .page-gdpr__faq-question {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.page-gdpr__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-gdpr__faq-question:active {
  background: #eeeeee;
}

/* Question title style */
.page-gdpr__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-dark);
  pointer-events: none; /* Prevent h3 tag from blocking click event */
}