.page-g {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background #f9f9f9 */
  background-color: #f9f9f9; /* Ensure body background is light */
}

/* --- General Section Styling --- */
.page-g__section {
  padding: 60px 0;
  border-bottom: 1px solid #e0e0e0;
}

.page-g__dark-section {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
}

.page-g__section-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #11A84E; /* Brand primary color for titles */
}

.page-g__dark-section .page-g__section-title {
  color: #57E38D; /* Glow color for titles on dark background */
}

.page-g__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-g__text-block {
  margin-bottom: 20px;
  font-size: 16px;
}

.page-g__dark-section .page-g__text-block {
  color: #A7D9B8; /* Secondary text color for dark background */
}

/* --- Hero Section --- */
.page-g__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #08160F; /* Dark background for hero area */
}

.page-g__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Limit height for hero image */
  overflow: hidden;
}

.page-g__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure image covers the area */
}

.page-g__hero-content {
  position: relative; /* Ensure content is above image if needed, but not overlaying */
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  color: #F2FFF6; /* Main text color for dark background */
}

.page-g__main-title {
  font-size: clamp(36px, 5vw, 52px); /* Clamp for responsive H1 */
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #F2C14E; /* Gold color for main title */
}

.page-g__hero-description {
  font-size: 18px;
  margin-bottom: 30px;
  color: #A7D9B8; /* Secondary text color for dark background */
}

.page-g__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%; /* Ensure container takes full width for responsive buttons */
  max-width: 500px; /* Limit width of button group */
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.page-g__btn-primary,
.page-g__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure buttons are responsive */
  text-align: center;
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
}

.page-g__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-g__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-2px);
}

.page-g__btn-secondary {
  background-color: transparent;
  color: #F2C14E; /* Gold color for secondary button text */
  border: 2px solid #F2C14E; /* Gold border */
}

.page-g__btn-secondary:hover {
  background-color: #F2C14E;
  color: #08160F; /* Dark background color for text on hover */
  transform: translateY(-2px);
}

/* --- Image and Content Blocks --- */
.page-g__image-content-block {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-g__image-content-block--reversed {
  flex-direction: row-reverse;
}

.page-g__content-image {
  flex: 1;
  min-width: 300px; /* Minimum width for image before wrapping */
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-g__image-content-block > .page-g__list,
.page-g__image-content-block > .page-g__text-block {
  flex: 1;
  min-width: 300px; /* Minimum width for text/list before wrapping */
}

/* --- Lists --- */
.page-g__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-g__list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 16px;
}

.page-g__list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #11A84E; /* Primary color for list markers */
  font-weight: 700;
}

.page-g__dark-section .page-g__list li::before {
  color: #57E38D; /* Glow color for list markers on dark background */
}

.page-g__numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: item;
}

.page-g__numbered-list li {
  counter-increment: item;
  margin-bottom: 25px;
  padding-left: 40px;
  position: relative;
}

.page-g__numbered-list li::before {
  content: counter(item) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: #11A84E; /* Primary color for numbered list markers */
  font-size: 20px;
}

.page-g__dark-section .page-g__numbered-list li::before {
  color: #57E38D; /* Glow color for numbered list markers on dark background */
}

/* --- FAQ Section --- */
.page-g__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-g__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid #2E7A4E; /* Border color */
}

.page-g__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  color: #F2FFF6; /* Main text color */
  list-style: none; /* Remove default marker */
}

.page-g__faq-item summary::-webkit-details-marker {
  display: none; /* Remove default marker for Webkit browsers */
}

.page-g__faq-qtext {
  flex-grow: 1;
}

.page-g__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: #57E38D; /* Glow color for toggle icon */
  margin-left: 15px;
}

.page-g__faq-item[open] .page-g__faq-toggle {
  content: '−'; /* Change to minus when open */
}

.page-g__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #A7D9B8; /* Secondary text color */
  border-top: 1px solid #1E3A2A; /* Divider color */
}

/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
  .page-g__hero-content {
    padding: 30px 15px;
  }

  .page-g__main-title {
    font-size: clamp(32px, 4.5vw, 48px);
  }

  .page-g__hero-description {
    font-size: 16px;
  }

  .page-g__section-title {
    font-size: clamp(26px, 3.5vw, 34px);
  }

  .page-g__image-content-block {
    flex-direction: column;
    gap: 30px;
  }

  .page-g__image-content-block--reversed {
    flex-direction: column; /* Ensure reversal is removed on small screens if it makes layout awkward */
  }

  .page-g__content-image,
  .page-g__image-content-block > .page-g__list,
  .page-g__image-content-block > .page-g__text-block {
    min-width: unset; /* Remove min-width to allow full flexibility */
    width: 100%;
  }
}

@media (max-width: 768px) {
  .page-g__hero-section {
    padding-top: 10px !important; /* body handles header offset, this is just small section padding */
  }

  .page-g__section {
    padding: 40px 0;
  }

  .page-g__container {
    padding: 0 15px !important; /* Add side padding for mobile */
    max-width: 100% !important; /* Ensure container takes full width */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-g__image-content-block,
  .page-g__image-content-block--reversed {
    flex-direction: column !important; /* Stack content vertically */
    gap: 20px !important;
  }

  .page-g__cta-buttons {
    flex-direction: column !important; /* Stack buttons vertically */
    gap: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 15px !important; /* Add padding to button container */
  }

  .page-g__btn-primary,
  .page-g__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px !important;
    font-size: 16px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-g__list li,
  .page-g__numbered-list li {
    font-size: 15px;
    padding-left: 25px;
  }

  .page-g__list li::before,
  .page-g__numbered-list li::before {
    font-size: 18px;
    left: 0;
  }

  .page-g__faq-item summary {
    font-size: 16px;
    padding: 15px 20px;
  }

  .page-g__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* Ensure all images are responsive by default */
.page-g img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* For any container holding images or videos, ensure overflow is handled */
.page-g__hero-image-wrapper,
.page-g__image-content-block,
.page-g__faq-list {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* Video responsiveness (if video were present) */
.page-g video,
.page-g__video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
.page-g__video-section,
.page-g__video-container,
.page-g__video-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
@media (max-width: 768px) {
  .page-g video,
  .page-g__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-g__video-section,
  .page-g__video-container,
  .page-g__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-g__video-section {
    padding-top: 10px !important;
  }
}