/* Base styles for the terms-conditions page */
.page-terms-conditions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #FFFFFF; /* Assuming body background is light */
}

.page-terms-conditions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  background-color: #017439;
  color: #ffffff;
  text-align: center;
}

.page-terms-conditions__hero-image-wrapper {
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 20px;
}

.page-terms-conditions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-terms-conditions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 15px;
}

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

.page-terms-conditions__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* General Section Styles */
.page-terms-conditions__content-section {
  padding: 60px 0;
}

.page-terms-conditions__dark-section {
  background-color: #017439;
  color: #ffffff;
}

.page-terms-conditions__light-bg {
  background-color: #f9f9f9;
  color: #333333;
}

.page-terms-conditions__section-title {
  font-size: 2.2em;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
  color: inherit;
}

.page-terms-conditions__sub-title {
  font-size: 1.6em;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: inherit;
}

.page-terms-conditions p {
  margin-bottom: 15px;
  font-size: 1.05em;
  color: inherit;
}

.page-terms-conditions ul {
  list-style: disc inside;
  margin-left: 20px;
  margin-bottom: 20px;
  color: inherit;
}

.page-terms-conditions li {
  margin-bottom: 8px;
  color: inherit;
}

.page-terms-conditions a {
  color: #FFFF00; /* Link color for contrast on dark backgrounds */
  text-decoration: underline;
}

.page-terms-conditions a:hover {
  color: #FFD700;
}

/* Image with Text Block */
.page-terms-conditions__image-text-block {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  margin-bottom: 30px;
}

.page-terms-conditions__image-text-block:nth-of-type(even) {
  flex-direction: row-reverse;
}

.page-terms-conditions__image {
  flex: 0 0 45%;
  max-width: 45%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.page-terms-conditions__text-block {
  flex: 1;
}

/* Buttons */
.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-terms-conditions__btn-primary {
  background-color: #C30808; /* Register/Login button color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
  margin-right: 15px;
}

.page-terms-conditions__btn-primary:hover {
  background-color: #a00606;
  border-color: #a00606;
}

.page-terms-conditions__btn-secondary {
  background-color: transparent;
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #FFFF00;
}

.page-terms-conditions__btn-secondary:hover {
  background-color: #FFFF00;
  color: #017439;
}

/* CTA Section */
.page-terms-conditions__cta-section {
  background-color: #017439;
  color: #ffffff;
  padding: 80px 0;
  text-align: center;
}

.page-terms-conditions__cta-container {
  max-width: 900px;
}

.page-terms-conditions__cta-title {
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.page-terms-conditions__cta-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-terms-conditions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}