.page-cookies-policy {
  --primary-color: #FFD700;
  --secondary-color: #000080;
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #000080;
  --card-background: #ffffff;
  --border-color: #e0e0e0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

.page-cookies-policy-hero {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

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

.page-cookies-policy-hero-content p {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-cookies-policy-section:nth-of-type(even) {
  background-color: #f0f0f0;
}

.page-cookies-policy-heading {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
}

.page-cookies-policy-heading::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
  margin: 15px auto 0;
  border-radius: 2px;
}

.page-cookies-policy-introduction p, .page-cookies-policy-how-it-works p, .page-cookies-policy-third-party p, .page-cookies-policy-management p, .page-cookies-policy-changes p, .page-cookies-policy-contact p {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-cookies-policy-content-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.page-cookies-policy-content-wrapper.reverse {
  flex-direction: row-reverse;
}

.page-cookies-policy-text-content {
  flex: 2;
}

.page-cookies-policy-image-content {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

.page-cookies-policy-image-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.page-cookies-policy-management ul {
  list-style: disc inside;
  padding-left: 20px;
  margin-top: 20px;
}

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

.page-cookies-policy-management ul li strong {
  color: var(--secondary-color);
}

.page-cookies-policy-management a,
.page-cookies-policy-contact a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
}

.page-cookies-policy-management a:hover,
.page-cookies-policy-contact a:hover {
  text-decoration: underline;
  color: var(--primary-color);
}

.page-cookies-policy-cookie-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-background);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  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.12);
}

.page-cookies-policy-card h3 {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.page-cookies-policy-card p {
  font-size: 1em;
  color: var(--text-dark);
}

.page-cookies-policy-faq-list {
  margin-top: 40px;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--card-background);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--secondary-color);
}

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

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px;
}

.faq-answer p {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.05em;
}

.page-cookies-policy-cta-section {
  background-color: var(--secondary-color);
  color: var(--text-light);
  padding: 80px 20px;
  text-align: center;
}

.page-cookies-policy-cta-section h2 {
  color: var(--primary-color);
  font-size: 2.8em;
  margin-bottom: 20px;
}

.page-cookies-policy-cta-section p {
  font-size: 1.3em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-cookies-policy-cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 50px;
  font-size: 1.4em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.page-cookies-policy-cta-button:hover {
  background: #ffc107; /* Slightly darker gold */
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-cookies-policy-hero-content h1 {
    font-size: 3em;
  }
  .page-cookies-policy-heading {
    font-size: 2em;
  }
  .page-cookies-policy-content-wrapper {
    flex-direction: column;
    align-items: center;
  }
  .page-cookies-policy-text-content, .page-cookies-policy-image-content {
    flex: none;
    width: 100%;
    max-width: 700px;
  }
  .page-cookies-policy-content-wrapper.reverse {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .page-cookies-policy-hero {
    padding: 60px 15px;
  }
  .page-cookies-policy-hero-content h1 {
    font-size: 2.5em;
  }
  .page-cookies-policy-hero-content p {
    font-size: 1em;
  }
  .page-cookies-policy-section {
    padding: 40px 0;
  }
  .page-cookies-policy-heading {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-cookies-policy-introduction p, .page-cookies-policy-how-it-works p, .page-cookies-policy-third-party p, .page-cookies-policy-management p, .page-cookies-policy-changes p, .page-cookies-policy-contact p {
    font-size: 1em;
  }
  .page-cookies-policy-cookie-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-cookies-policy-card {
    padding: 25px;
  }
  .page-cookies-policy-card h3 {
    font-size: 1.4em;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 1.1em;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-cookies-policy-cta-section h2 {
    font-size: 2em;
  }
  .page-cookies-policy-cta-section p {
    font-size: 1.1em;
  }
  .page-cookies-policy-cta-button {
    padding: 15px 35px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-cookies-policy-hero-content h1 {
    font-size: 2em;
  }
  .page-cookies-policy-heading {
    font-size: 1.5em;
  }
  .page-cookies-policy-cta-section h2 {
    font-size: 1.8em;
  }
  .page-cookies-policy-cta-button {
    font-size: 1.1em;
    padding: 12px 25px;
  }
}