:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-color-dark: #333333;
  --text-color-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #001f4d; /* Darker shade of primary for contrast */
  --border-color: #e0e0e0;
  --card-bg: #ffffff;
  --faq-question-bg: #ffffff;
  --faq-answer-bg: #f9f9f9;
}

.page-cookies-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
  background-color: var(--background-light);
}

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

.page-cookies-policy__hero {
  background: linear-gradient(135deg, var(--primary-color), var(--background-dark));
  color: var(--text-color-light);
  padding: 80px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-cookies-policy__hero-content {
  position: relative;
  z-index: 1;
}

.page-cookies-policy__hero h1 {
  font-size: 3em;
  margin-bottom: 20px;
  color: var(--text-color-light);
  font-weight: bold;
}

.page-cookies-policy__hero p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto 30px;
}

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

.page-cookies-policy__section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-cookies-policy__section:last-of-type {
  border-bottom: none;
}

.page-cookies-policy__section h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

.page-cookies-policy__section h2::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  border-radius: 2px;
}

.page-cookies-policy__section h3 {
  font-size: 1.8em;
  color: var(--text-color-dark);
  margin-top: 40px;
  margin-bottom: 15px;
}

.page-cookies-policy__section p {
  margin-bottom: 15px;
}

.page-cookies-policy__section ul {
  list-style-type: disc;
  margin-left: 25px;
  margin-bottom: 20px;
}

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

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

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

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

.page-cookies-policy__image--left {
  float: left;
  margin-right: 30px;
}

.page-cookies-policy__image--right {
  float: right;
  margin-left: 30px;
}

.page-cookies-policy__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-cookies-policy__card {
  background-color: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-cookies-policy__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-cookies-policy__card h3 {
  color: var(--primary-color);
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 15px;
}

/* FAQ Styles */
.page-cookies-policy__faq .faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-cookies-policy__faq .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--faq-question-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-cookies-policy__faq .faq-question:hover {
  background: #f5f5f5;
  border-color: var(--primary-color);
}

.page-cookies-policy__faq .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--text-color-dark);
}

.page-cookies-policy__faq .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

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

.page-cookies-policy__faq .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 20px;
  background: var(--faq-answer-bg);
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 5px 5px;
}

.page-cookies-policy__faq .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.page-cookies-policy__faq .faq-answer p {
  margin: 0;
  color: var(--text-color-dark);
}

/* CTA Banner */
.page-cookies-policy__cta-banner {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: var(--text-color-light);
  padding: 80px 0;
  text-align: center;
  margin-top: 60px;
}

.page-cookies-policy__cta-banner h2 {
  color: var(--text-color-light);
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-cookies-policy__cta-banner p {
  font-size: 1.3em;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-cookies-policy__cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: var(--text-color-dark);
  padding: 18px 45px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--secondary-color);
}

.page-cookies-policy__cta-button:hover {
  background-color: var(--text-color-light);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-color: var(--text-color-light);
}

/* Clearfix for floated images */
.page-cookies-policy__section::after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-cookies-policy__hero h1 {
    font-size: 2.5em;
  }
  .page-cookies-policy__section h2 {
    font-size: 2em;
  }
  .page-cookies-policy__section h3 {
    font-size: 1.6em;
  }
  .page-cookies-policy__image--left, .page-cookies-policy__image--right {
    float: none;
    margin: 20px auto;
    display: block;
  }
  .page-cookies-policy__cta-banner h2 {
    font-size: 2.2em;
  }
  .page-cookies-policy__cta-banner p {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-cookies-policy__hero {
    padding: 60px 0 30px;
  }
  .page-cookies-policy__hero h1 {
    font-size: 2em;
  }
  .page-cookies-policy__hero p {
    font-size: 1em;
  }
  .page-cookies-policy__section {
    padding: 40px 0;
  }
  .page-cookies-policy__section h2 {
    font-size: 1.8em;
  }
  .page-cookies-policy__section h3 {
    font-size: 1.4em;
  }
  .page-cookies-policy__grid {
    grid-template-columns: 1fr;
  }
  .page-cookies-policy__card {
    padding: 20px;
  }
  .page-cookies-policy__faq .faq-question h3 {
    font-size: 1.1em;
  }
  .page-cookies-policy__faq .faq-question {
    padding: 15px;
  }
  .page-cookies-policy__cta-banner {
    padding: 50px 0;
  }
  .page-cookies-policy__cta-banner h2 {
    font-size: 1.8em;
  }
  .page-cookies-policy__cta-banner p {
    font-size: 1em;
  }
  .page-cookies-policy__cta-button {
    padding: 15px 30px;
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-cookies-policy__hero h1 {
    font-size: 1.6em;
  }
  .page-cookies-policy__section h2 {
    font-size: 1.5em;
  }
  .page-cookies-policy__faq .faq-toggle {
    font-size: 20px;
  }
}