/* style/cookies-policy.css */

/* Base styles for the cookie policy page */
.page-cookies-policy {
  background-color: #f8f9fa; /* Light background for main content sections */
  color: #333333; /* Dark text for readability on light background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

/* Hero Section */
.page-cookies-policy__hero-section {
  background-color: #1a1a1a; /* Darker background for hero to blend with shared body */
  color: #ffffff; /* White text on dark hero background */
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cookies-policy__hero-content {
  max-width: 900px;
  margin-bottom: 30px;
  z-index: 1;
}

.page-cookies-policy__hero-title {
  font-size: 3em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__hero-description {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #e0e0e0;
}

.page-cookies-policy__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

/* General Content Sections */
.page-cookies-policy__section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 30px auto;
  background-color: #ffffff; /* White background for content sections */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-cookies-policy__section-title {
  color: #26A9E0; /* Brand color for main headings */
  font-size: 2.5em;
  margin-bottom: 30px;
  text-align: center;
  font-weight: bold;
}

.page-cookies-policy__subsection-title {
  color: #333333;
  font-size: 1.8em;
  margin-top: 35px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-cookies-policy__section p {
  color: #555555;
  margin-bottom: 15px;
  line-height: 1.7;
}

.page-cookies-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #555555;
}

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

.page-cookies-policy__section a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-cookies-policy__section a:hover {
  text-decoration: underline;
}

/* Call to Action Button */
.page-cookies-policy__cta-button {
  display: inline-block;
  background-color: #26A9E0;
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-cookies-policy__cta-button:hover {
  background-color: #1e87c2;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-cookies-policy__faq-section {
  background-color: #f0f8ff; /* Light blue background for FAQ */
  padding: 50px 20px;
  max-width: 1200px;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.page-cookies-policy__faq-title {
  color: #26A9E0;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-cookies-policy__faq-list {
  max-width: 900px;
  margin: 0 auto 30px auto;
  text-align: left;
}

.page-cookies-policy__faq-item {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-cookies-policy__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: bold;
  cursor: pointer;
  color: #333333;
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
  font-size: 1.1em;
}

.page-cookies-policy__faq-question:hover {
  background-color: #f0f0f0;
}

.page-cookies-policy__faq-question-text {
  margin: 0;
  flex-grow: 1;
}

.page-cookies-policy__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #26A9E0;
  margin-left: 15px;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-toggle {
  transform: rotate(45deg); /* Transforms '+' to 'x' or '−' */
}

.page-cookies-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px; /* Initial padding 0 */
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #555555;
  background-color: #ffffff;
  font-size: 1em;
  line-height: 1.6;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 15px 25px;
}

/* Image Styling */
.page-cookies-policy__content-image {
  margin: 30px auto;
  display: block;
  border-radius: 8px;
  max-width: 100%;
  height: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Images */
.page-cookies-policy img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Videos (if any, though not used in this specific page) */
.page-cookies-policy video,
.page-cookies-policy__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.page-cookies-policy__video-section,
.page-cookies-policy__video-container,
.page-cookies-policy__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-cookies-policy__hero-section {
    padding: 60px 15px;
    padding-top: var(--header-offset, 120px) !important;
  }

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

  .page-cookies-policy__hero-description {
    font-size: 1em;
  }

  .page-cookies-policy__section,
  .page-cookies-policy__faq-section {
    padding: 30px 15px;
    margin-left: 15px;
    margin-right: 15px;
  }

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

  .page-cookies-policy__subsection-title {
    font-size: 1.5em;
  }

  /* Force responsive images and videos */
  .page-cookies-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-cookies-policy video,
  .page-cookies-policy__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-cookies-policy__video-section,
  .page-cookies-policy__video-container,
  .page-cookies-policy__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Force responsive buttons */
  .page-cookies-policy__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;
  }

  .page-cookies-policy__cta-buttons { /* Assuming a container for multiple buttons */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }

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

  .page-cookies-policy__faq-answer {
    padding: 10px 18px;
  }
}