/* style/cookies-policy.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --dark-bg-color: #0d0d0d; /* Assuming a slightly lighter dark background for better card contrast */
  --light-text-color: #ffffff;
  --dark-text-color: #333333;
  --card-bg-color: #ffffff;
  --border-color: #e0e0e0;
}

.page-cookies-policy {
  color: var(--light-text-color); /* Body background is dark, so text should be light */
  background-color: var(--dark-bg-color);
  line-height: 1.7;
  font-family: Arial, sans-serif;
  padding-top: 120px; /* Desktop: Adjust for fixed header */
}

.page-cookies-policy__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--dark-bg-color));
  color: var(--light-text-color);
}

.page-cookies-policy__hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cookies-policy__hero-image {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-cookies-policy__hero-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--light-text-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-cookies-policy__hero-description {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  color: var(--light-text-color);
  opacity: 0.9;
}

.page-cookies-policy__content-area {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px;
  background: var(--card-bg-color); /* White background for content */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--dark-text-color); /* Dark text on white background */
}

.page-cookies-policy__text-block {
  margin-bottom: 30px;
}

.page-cookies-policy__text-block:last-child {
  margin-bottom: 0;
}

.page-cookies-policy__section-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 10px;
}

.page-cookies-policy__sub-section-title {
  font-size: 22px;
  font-weight: bold;
  color: var(--primary-color);
  margin-top: 25px;
  margin-bottom: 15px;
}

.page-cookies-policy__content-area p {
  margin-bottom: 15px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark-text-color);
}

.page-cookies-policy__content-area strong {
  color: var(--primary-color);
}

.page-cookies-policy__content-area a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-cookies-policy__content-area a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.page-cookies-policy__list {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: var(--dark-text-color);
}

.page-cookies-policy__list-item {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.6;
}

.page-cookies-policy__contact-list {
  list-style-type: none;
  padding: 0;
  margin-top: 20px;
}

.page-cookies-policy__contact-item {
  margin-bottom: 10px;
  font-size: 16px;
  color: var(--dark-text-color);
}

.page-cookies-policy__contact-link {
  color: var(--primary-color);
  text-decoration: none;
}

.page-cookies-policy__contact-link:hover {
  text-decoration: underline;
  color: var(--secondary-color);
}

.page-cookies-policy__cta-wrapper {
  text-align: center;
  margin-top: 40px;
}

.page-cookies-policy__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--primary-color);
  color: var(--light-text-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy__btn-primary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-cookies-policy__faq-section {
  max-width: 1000px;
  margin: 40px auto;
  padding: 40px;
  background: var(--card-bg-color);
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--dark-text-color);
}

.page-cookies-policy__faq-container {
  margin-top: 30px;
}

.page-cookies-policy__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
}

.page-cookies-policy__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-cookies-policy__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

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

.page-cookies-policy__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--dark-text-color);
}

.page-cookies-policy__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-cookies-policy__faq-item.active .page-cookies-policy__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Image styles */
.page-cookies-policy img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 8px;
}

.page-cookies-policy__hero-image {
  max-height: 500px;
  object-fit: cover;
}

.page-cookies-policy__image-small {
  max-width: 400px;
}

.page-cookies-policy__image-medium {
  max-width: 600px;
}

.page-cookies-policy__image-large {
  max-width: 800px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-cookies-policy {
    padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    font-size: 15px;
  }

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

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

  .page-cookies-policy__hero-description {
    font-size: 16px;
  }

  .page-cookies-policy__content-area,
  .page-cookies-policy__faq-section {
    margin: 20px auto;
    padding: 20px 15px;
    border-radius: 4px;
  }

  .page-cookies-policy__section-title {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .page-cookies-policy__sub-section-title {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .page-cookies-policy__content-area p,
  .page-cookies-policy__list-item,
  .page-cookies-policy__contact-item {
    font-size: 15px;
  }

  .page-cookies-policy__btn-primary {
    padding: 12px 25px;
    font-size: 16px;
  }

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

  .page-cookies-policy__faq-question h3 {
    font-size: 15px;
  }

  .page-cookies-policy__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-cookies-policy__faq-item.active .page-cookies-policy__faq-answer {
    padding: 15px !important;
  }

  .page-cookies-policy img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-cookies-policy__section,
  .page-cookies-policy__card,
  .page-cookies-policy__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}