/* style/cookies-policy.css */

/* Base styles for the cookie policy page */
.page-cookies-policy {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: var(--background-color, #FFFFFF); /* Use shared background, default to white */
  padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

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

/* Hero Section */
.page-cookies-policy__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #017439, #FFFFFF); /* Brand color gradient */
  color: #ffffff;
}

.page-cookies-policy__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #333333; /* Text on hero should be dark if background is light */
}

.page-cookies-policy__hero-image {
  width: 100%;
  max-width: 800px; /* Constrain image width for better layout */
  height: auto;
  margin-bottom: 30px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-cookies-policy__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-cookies-policy__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.9); /* Semi-transparent white background for text */
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  margin-top: -60px; /* Overlap with image slightly */
}

.page-cookies-policy__hero-content h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #017439; /* Main brand color for H1 */
  line-height: 1.2;
}

.page-cookies-policy__hero-content p {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-cookies-policy__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #017439; /* Primary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
}