.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  line-height: 1.6;
}

.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: var(--header-offset, 120px); /* Desktop default padding-top */
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors */
}

.page-terms-conditions__hero-image-wrapper {
  width: 100%;
  max-height: 600px; /* Limit hero image height */
  overflow: hidden;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.8); /* Slightly darken image for text contrast */
}

.page-terms-conditions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 20px;
  padding: 0 20px;
}

.page-terms-conditions__main-title {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  line-height: 1.2;
}

.page-terms-conditions__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
  color: #111111; /* Dark text for bright button */
  border: none;
}

.page-terms-conditions__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-terms-conditions__btn-secondary {
  background: transparent;
  color: #FFF6D6; /* Text Main */
  border: 2px solid #F2C14E; /* Main color border */
}

.page-terms-conditions__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
  transform: translateY(-2px);
}

.page-terms-conditions__section {
  padding: 60px 0;
  border-bottom: 1px solid #1A1A1A;
}

.page-terms-conditions__section:last-of-type {
  border-bottom: none;
}

.page-terms-conditions__dark-bg {
  background-color: #111111; /* Card BG */
  color: #FFF6D6; /* Text Main */
}

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

.page-terms-conditions__section-title {
  font-size: 2.5em;
  font-weight: 600;
  margin-bottom: 30px;
  text-align: center;
  color: #F2C14E; /* Main color */
}

.page-terms-conditions__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  line-height: 1.8;
  color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__highlight {
  color: #FFD36B; /* Glow color */
  font-weight: bold;
}

.page-terms-conditions__link {
  color: #F2C14E; /* Main color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
  color: #FFD36B; /* Glow color on hover */
  text-decoration: underline;
}

.page-terms-conditions__list {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-terms-conditions__list-item {
  font-size: 1.1em;
  margin-bottom: 10px;
  color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

.page-terms-conditions__image--right {
  float: right;
  margin-left: 30px;
  width: 40%;
  min-width: 300px;
  max-width: 500px;
}

.page-terms-conditions__image--left {
  float: left;
  margin-right: 30px;
  width: 40%;
  min-width: 300px;
  max-width: 500px;
}

.page-terms-conditions__image--center {
  margin-left: auto;
  margin-right: auto;
  width: 60%;
  min-width: 400px;
  max-width: 800px;
}

.page-terms-conditions__faq-list {
  margin-top: 40px;
}

.page-terms-conditions__faq-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-terms-conditions__faq-item.active {
  box-shadow: 0 0 15px rgba(242, 193, 78, 0.3);
}

.page-terms-conditions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: #F2C14E; /* Main color */
  background-color: #1A1A1A;
  transition: background-color 0.3s ease;
}

.page-terms-conditions__faq-question:hover {
  background-color: #222222;
}

.page-terms-conditions__faq-question h3 {
  margin: 0;
  color: inherit;
}

.page-terms-conditions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFF6D6; /* Text Main */
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-toggle {
  transform: rotate(45deg);
}

.page-terms-conditions__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6; /* Text Main */
  background-color: #111111; /* Card BG */
}

.page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px;
}

.page-terms-conditions__faq-answer p {
  margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-terms-conditions__main-title {
    font-size: 2.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 2em;
  }
  .page-terms-conditions__image--right,
  .page-terms-conditions__image--left {
    width: 100%;
    float: none;
    margin: 0 auto 30px auto;
  }
  .page-terms-conditions__image--center {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .page-terms-conditions__hero-section {
    padding-top: var(--header-offset, 120px) !important; /* Mobile default padding-top */
    padding-bottom: 40px;
  }
  .page-terms-conditions__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-terms-conditions__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-terms-conditions__section {
    padding: 40px 0;
  }
  .page-terms-conditions__section-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__paragraph,
  .page-terms-conditions__list-item {
    font-size: 1em;
  }
  .page-terms-conditions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-terms-conditions__btn-primary,
  .page-terms-conditions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-terms-conditions__container {
    padding: 0 15px;
  }
  .page-terms-conditions__image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-terms-conditions__image--center {
    min-width: unset;
    width: 90%;
  }
  .page-terms-conditions__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-terms-conditions__faq-answer {
    padding: 0 15px;
  }
  .page-terms-conditions__faq-item.active .page-terms-conditions__faq-answer {
    padding: 15px;
  }
  /* Ensure content area images are not smaller than 200px (if applicable) */
  .page-terms-conditions img {
    min-width: 200px; /* Enforce minimum size for content images */
    min-height: 200px;
  }
  .page-terms-conditions__hero-image {
    min-width: unset;
    min-height: unset;
  }
}

@media (max-width: 480px) {
  .page-terms-conditions__main-title {
    font-size: 1.8em;
  }
  .page-terms-conditions__section-title {
    font-size: 1.5em;
  }
}