.page-cookies-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333;
  background-color: #f8f8f8;
}

.page-cookies-policy .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-cookies-policy .cookies-hero {
  background: linear-gradient(135deg, #FFD700, #000080);
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

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

.page-cookies-policy .cookies-hero p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

.page-cookies-policy section {
  padding: 40px 0;
  border-bottom: 1px solid #e0e0e0;
}

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

.page-cookies-policy h2 {
  font-size: 2.2em;
  color: #000080;
  margin-bottom: 25px;
  text-align: center;
  position: relative;
  padding-bottom: 10px;
}

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

.page-cookies-policy h3 {
  font-size: 1.6em;
  color: #000080;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-cookies-policy p {
  margin-bottom: 15px;
  font-size: 1.1em;
  line-height: 1.7;
}

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

.page-cookies-policy ul li {
  margin-bottom: 10px;
  font-size: 1.05em;
}

.page-cookies-policy a {
  color: #000080;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-cookies-policy a:hover {
  color: #FFD700;
}

.page-cookies-policy .content-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy .cta-button {
  display: inline-block;
  padding: 14px 30px;
  background: #FFD700;
  color: #000080;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  margin-top: 25px;
  margin-right: 15px;
  transition: all 0.3s ease;
  border: 2px solid #FFD700;
}

.page-cookies-policy .cta-button:hover {
  background: #e6c200;
  color: #000050;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy .cta-button.secondary-cta {
  background: #000080;
  color: #ffffff;
  border: 2px solid #000080;
}

.page-cookies-policy .cta-button.secondary-cta:hover {
  background: #000050;
  color: #FFD700;
  border-color: #000050;
}

/* FAQ styles */
.page-cookies-policy .faq-section {
  background-color: #ffffff;
  padding: 50px 0;
}

.page-cookies-policy .faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.page-cookies-policy .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-cookies-policy .faq-question:hover {
  background: #f0f0f0;
}

.page-cookies-policy .faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: #000080;
}

.page-cookies-policy .faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-cookies-policy .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: #000080;
}

.page-cookies-policy .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #ffffff;
  color: #555555;
}

.page-cookies-policy .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 20px 25px;
}

.page-cookies-policy .faq-answer p {
  margin: 0;
  font-size: 1.05em;
  line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-cookies-policy .cookies-hero h1 {
    font-size: 2.2em;
  }
  .page-cookies-policy .cookies-hero p {
    font-size: 1em;
  }
  .page-cookies-policy h2 {
    font-size: 1.8em;
  }
  .page-cookies-policy h3 {
    font-size: 1.4em;
  }
  .page-cookies-policy p, .page-cookies-policy ul li {
    font-size: 1em;
  }
  .page-cookies-policy .cta-button {
    padding: 12px 25px;
    font-size: 1em;
    margin-right: 10px;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
  }
  .page-cookies-policy .faq-question {
    padding: 15px 20px;
  }
  .page-cookies-policy .faq-question h3 {
    font-size: 1.1em;
  }
  .page-cookies-policy .faq-toggle {
    font-size: 20px;
  }
  .page-cookies-policy .faq-answer {
    padding: 0 20px;
  }
  .page-cookies-policy .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-cookies-policy .cookies-hero h1 {
    font-size: 1.8em;
  }
  .page-cookies-policy .cookies-hero p {
    font-size: 0.9em;
  }
  .page-cookies-policy h2 {
    font-size: 1.5em;
  }
  .page-cookies-policy h3 {
    font-size: 1.2em;
  }
  .page-cookies-policy .cta-button {
    width: 100%;
    margin-right: 0;
  }
}