/* style/cookies-policy.css */

/* Base styles for the page content */
.page-cookies-policy {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: var(--black-color); /* Ensure this matches shared.css body background */
}

/* Hero Section */
.page-cookies-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
  overflow: hidden; /* Ensure video doesn't overflow */
  background-color: #26A9E0; /* Brand primary color for hero background */
  color: #ffffff; /* Light text for brand color background */
}

.page-cookies-policy__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-cookies-policy__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-cookies-policy__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-cookies-policy__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-cookies-policy__btn-primary,
.page-cookies-policy__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Ensure text breaks within button */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  max-width: 100%; /* Ensure button does not overflow */
}

.page-cookies-policy__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-cookies-policy__btn-primary:hover {
  background-color: #d46b00;
  border-color: #d46b00;
}

.page-cookies-policy__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-cookies-policy__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-cookies-policy__hero-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px; /* Max width for video */
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__hero-video {
  width: 100%;
  height: auto;
  display: block;
}

.page-cookies-policy__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  cursor: pointer;
}

/* General Section Styling */
.page-cookies-policy__section {
  padding: 80px 20px;
  text-align: left;
  overflow: hidden; /* Prevent content overflow */
}

.page-cookies-policy__dark-bg {
  background-color: var(--black-color); /* Dark background from shared */
  color: #ffffff; /* Light text for dark background */
}

.page-cookies-policy__light-bg {
  background-color: #ffffff; /* White background */
  color: #333333; /* Dark text for light background */
}

.page-cookies-policy__container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-cookies-policy__section-title {
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  color: inherit; /* Inherit color from parent section (dark/light bg) */
}

.page-cookies-policy__sub-title {
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-cookies-policy__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: inherit; /* Inherit color from parent section */
}

.page-cookies-policy__image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  min-width: 200px; /* Minimum image size */
  min-height: 200px; /* Minimum image size */
}

.page-cookies-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-cookies-policy__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: inherit; /* Inherit color from parent section */
}

.page-cookies-policy__list-item strong {
  color: inherit; /* Inherit color from parent section */
}

/* Contact Buttons Section */
.page-cookies-policy__contact-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* FAQ Section */
.page-cookies-policy__faq-section {
  padding: 80px 20px;
  background-color: var(--black-color); /* Dark background */
  color: #ffffff; /* Light text */
}

.page-cookies-policy__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-cookies-policy__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for items */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.page-cookies-policy__faq-item[open] {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-cookies-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  color: #ffffff;
  list-style: none; /* Remove default marker for details/summary */
}

.page-cookies-policy__faq-question::-webkit-details-marker {
  display: none; /* Remove default marker for WebKit browsers */
}

.page-cookies-policy__faq-qtext {
  flex-grow: 1;
}

.page-cookies-policy__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

.page-cookies-policy__faq-answer {
  padding: 0 25px 20px;
  font-size: 1.05em;
  line-height: 1.7;
  color: #e0e0e0;
}

.page-cookies-policy__faq-answer p {
  margin-bottom: 0;
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-cookies-policy__main-title {
    font-size: 2.8em;
  }
}

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

  .page-cookies-policy__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-cookies-policy__main-title {
    font-size: 2.2em;
  }

  .page-cookies-policy__intro-text {
    font-size: 1em;
  }

  .page-cookies-policy__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cookies-policy__btn-primary,
  .page-cookies-policy__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    font-size: 1em !important;
  }

  .page-cookies-policy__hero-video-wrapper {
    margin-top: 30px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-cookies-policy__hero-video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-cookies-policy__section {
    padding: 40px 15px;
  }

  .page-cookies-policy__container {
    padding-left: 0;
    padding-right: 0;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-cookies-policy__section-title {
    font-size: 1.8em;
  }

  .page-cookies-policy__sub-title {
    font-size: 1.4em;
  }

  .page-cookies-policy__text-block,
  .page-cookies-policy__list-item {
    font-size: 1em;
  }

  .page-cookies-policy__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

  .page-cookies-policy__contact-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .page-cookies-policy__faq-section {
    padding: 40px 15px;
  }

  .page-cookies-policy__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }

  .page-cookies-policy__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
}

/* Ensure no CSS filter on images */
.page-cookies-policy img {
  filter: none !important;
}

/* Content area images CSS dimensions lower bound */
.page-cookies-policy img {
  /* Default large sizes are handled by HTML width/height and max-width: 100%; height: auto; */
  /* Ensure no rules override to smaller than 200px */
}