/* style/g.css */
.page-g {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #F2FFF6; /* Text Main */
  background-color: #08160F; /* Background */
  padding-top: 10px; /* Small top padding for first section */
}

.page-g__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #08160F;
  overflow: hidden;
}

.page-g__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height of hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-g__hero-content {
  position: relative; /* Changed from absolute to relative to be below image */
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10;
}

.page-g__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  font-weight: bold;
  color: #F2C14E; /* Gold */
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-g__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Text Secondary */
  margin-bottom: 30px;
}

.page-g__section {
  padding: 60px 20px;
  background-color: #08160F;
}

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

.page-g__content-area {
  max-width: 1000px;
  margin: 0 auto;
}

.page-g__dark-bg {
  background-color: #08160F;
  color: #F2FFF6;
}

.page-g__medium-bg {
  background-color: #11271B; /* Card BG */
  color: #F2FFF6;
}

.page-g__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-g__sub-title {
  font-size: 1.8em;
  color: #F2C14E;
  margin-bottom: 20px;
}

.page-g__text-block {
  font-size: 1.05em;
  color: #F2FFF6;
  margin-bottom: 20px;
  line-height: 1.7;
}

.page-g__text-block strong {
  color: #F2C14E;
}

.page-g__image-text-block {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-g__image-left {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-g__text-content {
  flex: 1 1 50%;
  min-width: 300px;
}

.page-g__list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.page-g__list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="%23F2C14E" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M22 11.08V12a10 10 0 1 1-5.93-8.15"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: #F2FFF6;
}

.page-g__list li strong {
  color: #F2C14E;
}

.page-g__btn-primary,
.page-g__btn-secondary {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
}

.page-g__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6; /* Text Main */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-g__btn-secondary {
  background: #11271B; /* Card BG */
  color: #2AD16F; /* Green from button gradient */
  border: 2px solid #2AD16F;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-g__btn-secondary:hover {
  background: #2AD16F;
  color: #F2FFF6;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.page-g__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.page-g__cta-buttons.page-g__center-buttons {
  margin-top: 40px;
}

.page-g__cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-g__card {
  background-color: #11271B; /* Card BG */
  border: 1px solid #2E7A4E; /* Border */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #F2FFF6;
  transition: transform 0.3s ease;
}

.page-g__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-g__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-g__card-title {
  font-size: 1.5em;
  color: #F2C14E; /* Gold */
  margin-bottom: 10px;
}

.page-g__card-text {
  font-size: 0.95em;
  color: #A7D9B8; /* Text Secondary */
  line-height: 1.6;
}

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

.page-g__numbered-list li {
  counter-increment: item;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  color: #F2FFF6;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-g__numbered-list li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #2AD16F;
  color: #08160F;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 0.9em;
}

.page-g__numbered-list li strong {
  color: #F2C14E;
}

.page-g__strategy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-g__promo-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

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

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

.page-g__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: #F2FFF6;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-g__faq-question:hover {
  background-color: #0A4B2C; /* Deep Green */
}

.page-g__faq-item[open] .page-g__faq-question {
  background-color: #0A4B2C; /* Deep Green */
  color: #F2C14E; /* Gold */
}

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

.page-g__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: #2AD16F;
}

.page-g__faq-item[open] .page-g__faq-toggle {
  color: #F2C14E;
}

.page-g__faq-answer {
  padding: 0 25px 20px 25px;
  color: #A7D9B8; /* Text Secondary */
  font-size: 1em;
  line-height: 1.6;
}

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

/* Details element specific styling */
.page-g__faq-item summary {
  list-style: none;
}
.page-g__faq-item summary::-webkit-details-marker {
  display: none;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-g__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-g__section-title {
    font-size: 2em;
  }
  .page-g__hero-content {
    padding: 30px 15px;
  }
}

@media (max-width: 768px) {
  .page-g {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-g__hero-content {
    margin-top: 15px;
    padding: 25px 15px;
  }
  .page-g__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-g__section {
    padding: 40px 15px;
  }
  .page-g__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-g__sub-title {
    font-size: 1.5em;
  }
  .page-g__text-block {
    font-size: 1em;
  }
  .page-g__image-text-block {
    flex-direction: column;
    gap: 20px;
  }
  .page-g__image-left {
    min-width: unset;
    width: 100%;
  }
  .page-g__text-content {
    min-width: unset;
    width: 100%;
  }
  .page-g__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-g__btn-primary,
  .page-g__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }
  .page-g__card {
    padding: 20px;
  }
  .page-g__card-image {
    height: 180px;
  }
  .page-g__card-title {
    font-size: 1.3em;
  }
  .page-g__numbered-list li {
    font-size: 1em;
    padding-left: 35px;
  }
  .page-g__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-g__faq-answer {
    padding: 0 20px 15px 20px;
    font-size: 0.95em;
  }
  /* Mobile image responsiveness */
  .page-g img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-g__section,
  .page-g__card,
  .page-g__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }
  /* Mobile button responsiveness */
  .page-g__cta-button,
  .page-g__btn-primary,
  .page-g__btn-secondary,
  .page-g a[class*="button"],
  .page-g a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__cta-buttons,
  .page-g__button-group,
  .page-g__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-g__cta-buttons {
    flex-direction: column;
  }
}