/* --- Policy Container Styles ---
 * NOTE: Brand colors defined in brand-variables.css
 */

.policy-container {
  max-width: 1146px;
  padding: 80px 0px;
  margin: 0 auto;
  color: #000000;
  font-family: var(--font-primary, Arial, sans-serif);
}
.policy-section {
  margin-bottom: 40px;
}

/* --- Main Title (H1) --- */
.policy-main-title {
  font-size: 32px;
  /* font-weight: bold; */
  margin-bottom: 40px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  line-height: 35px;
  font-weight: 770;
}

@media (max-width: 1190px) {
  .policy-container {
    padding: 30px 16px;
  }
  .policy-main-title {
    margin-top: 32px;
    margin-bottom: 20px;
  }
}

@media (max-width: 767px) {
  .policy-container {
    padding: 30px 16px;
  }
  .policy-main-title {
    margin-top: 32px;
    margin-bottom: 20px;
  }
  .policy-section {
    margin-bottom: 20px;
  }
}

/* --- Section Division (Div) --- */

.policy-section--no-margin {
  margin-bottom: 0;
}

/* --- Section Headings (H2) --- */
.policy-heading {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 20px;
  text-transform: uppercase;
  font-family: var(--font-bold);
  font-weight: 770;
}

/* --- Paragraphs (P) --- */
.policy-paragraph {
  font-size: 14px;
  line-height: 24px;
  /* color: #333; */
  font-family: var(--font-primary);
  font-weight: 400;
}

.policy-paragraph--with-margin {
  margin-bottom: 20px;
}

/* --- Unordered List (UL) --- */
.policy-list {
  list-style-type: none;
  padding-left: 20px;
  margin: 0;
}

/* --- List Items (LI) --- */
.policy-list-item {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  margin-bottom: 5px;
}

/* --- Policy Table --- */
.policy-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-family: var(--font-primary);
  font-size: 14px;
}

.policy-table thead {
  background-color: #f5f5f5;
}

.policy-table th {
  padding: 12px;
  text-align: left;
  font-weight: 600;
  border: 1px solid #ddd;
}

.policy-table td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  line-height: 1.6;
}

.policy-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.policy-table tr:hover {
  background-color: #f0f0f0;
}

@media (max-width: 768px) {
  .policy-table {
    font-size: 12px;
  }
  
  .policy-table th,
  .policy-table td {
    padding: 8px;
  }
}

/* Styling for the entire cookie consent banner */
.footer__bottom {
  /* Mimics the black background seen in the image */
  background-color: #000000;
  /* Uses Flexbox to align items horizontally and center them vertically */
  display: flex;
  justify-content: center; /* Center content horizontally by default */
  align-items: center;
  /* Fixed position at the bottom of the viewport, full width */
  /* position: fixed; */
  /* bottom: 0; */
  /* left: 0; */
  width: 100%;
  /* Standard height for a compact bar */
  height: 70px;
  padding: 0 20px;
  box-sizing: border-box;
  z-index: 1000; /* Ensure it stays on top of other content */
}

/* Container for the text and button, necessary for left-right alignment */
.cookie-content-wrapper {
  display: flex;
  justify-content: space-between; /* Pushes the text and button to opposite ends */
  align-items: center;
  max-width: 1200px; /* Max width for content area */
  width: 100%;
}

/* Text styling */
.cookie-text {
  color: #cccccc; /* Light gray text for high contrast on black */
  font-size: 14px;
  font-family: Arial, sans-serif;
  margin-right: 20px; /* Space between text and button */
  text-align: left;
}

/* Button styling */
.cookie-button {
  /* Olive/Green background color, matched from the image */
  background-color: #8dae54;
  color: #000000;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border: none;
  border-radius: 8px; /* Slightly rounded corners */
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  /* Adding the distinct shadow effect from the image */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

.cookie-button:hover {
  background-color: #9cb56d; /* Slightly lighter shade on hover */
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.5);
}

/* Responsive adjustment for smaller screens (e.g., mobile) */
@media (max-width: 768px) {
  .footer__bottom {
    display: none;
  }

  .cookie-content-wrapper {
    flex-direction: column;
    align-items: stretch; /* Make items take full width */
  }

  .cookie-text {
    text-align: center;
    margin-right: 0;
    margin-bottom: 10px; /* Space above the button */
  }

  .cookie-button {
    width: 100%; /* Full width button on mobile */
    max-width: 300px; /* Keep button reasonable size */
    align-self: center; /* Center the button */
  }
}
