.page-g {
  background-color: #FFFFFF;
  color: #333333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-g__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #017439;
  color: #FFFFFF;
  padding: 10px 20px 40px;
  position: relative;
  overflow: hidden;
}

.page-g__hero-visual-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
}

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

.page-g__hero-content {
  max-width: 900px;
  z-index: 1;
}

.page-g__hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
  color: #FFFFFF;
}

.page-g__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-g__hero-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-g__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.3s ease;
  min-width: 150px;
  text-align: center;
}

.page-g__btn--register {
  background-color: #C30808;
  color: #FFFF00;
  border: none;
}

.page-g__btn--register:hover {
  background-color: #a00606;
}

.page-g__btn--watch-live {
  background-color: #C30808;
  color: #FFFF00;
  border: 1px solid #FFFF00;
}

.page-g__btn--watch-live:hover {
  background-color: #a00606;
  border-color: #FFFF00;
}

.page-g__btn--login {
  background-color: #C30808;
  color: #FFFF00;
  border: none;
  margin-top: 30px;
}

.page-g__btn--login:hover {
  background-color: #a00606;
}

.page-g__section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #017439;
}

.page-g__intro-section, .page-g__types-section, .page-g__guide-section, .page-g__advantages-section, .page-g__faq-section {
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-g__content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
}

.page-g__content-wrapper p {
  max-width: 800px;
  text-align: center;
}

.page-g__content-image, .page-g__advantages-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-g__content-wrapper--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
}

.page-g__type-card, .page-g__feature-card {
  background-color: #f8f8f8;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-g__type-image {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  min-width: 200px;
  min-height: 200px;
}

.page-g__type-title, .page-g__feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-g__type-description, .page-g__feature-description {
  font-size: 1rem;
  color: #555555;
}

.page-g__content-wrapper--steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  width: 100%;
}

.page-g__step-card {
  background-color: #e8f5e9;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-g__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: #017439;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.page-g__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #017439;
}

.page-g__step-description {
  font-size: 0.95rem;
  color: #555555;
}

.page-g__guide-cta {
  text-align: center;
  margin-top: 40px;
}

.page-g__content-wrapper--features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  width: 100%;
  margin-bottom: 40px;
}

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

.page-g__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-g__faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 18px 25px;
  cursor: pointer;
  background-color: #017439;
  color: #FFFFFF;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-g__faq-question::after {
  content: '+';
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.page-g__faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.page-g__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-g__faq-answer p {
  padding-bottom: 18px;
  margin: 0;
  text-align: left;
  color: #555555;
}

/* Responsive adjustments */
@media (max-width: 849px) {
  .page-g__hero-section {
    padding-bottom: 30px;
  }
  .page-g__hero-visual-wrapper {
    margin-bottom: 15px;
  }
  .page-g__hero-image {
    aspect-ratio: 16/9;
    object-fit: cover;
  }
  .page-g__hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
  .page-g__hero-description {
    font-size: 1rem;
  }
  .page-g__hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .page-g__btn {
    width: 100%;
    max-width: 280px;
  }
  .page-g__content-wrapper {
    flex-direction: column;
  }
  .page-g__content-image, .page-g__advantages-image {
    max-width: 100%;
    min-width: 200px;
    min-height: 200px;
    height: auto;
  }
  .page-g__type-card, .page-g__feature-card, .page-g__step-card {
    padding: 20px;
  }
  .page-g__type-image {
    max-height: 200px;
    min-width: 200px;
    min-height: 200px;
    height: auto;
  }
}

@media (max-width: 768px) {
  .page-g__hero-image, .page-g__content-image, .page-g__advantages-image, .page-g__type-image {
    max-width: 100%;
    height: auto;
    min-width: 200px;
    min-height: 200px;
  }
  .page-g__intro-section, .page-g__types-section, .page-g__guide-section, .page-g__advantages-section, .page-g__faq-section {
    padding: 30px 15px;
  }
  .page-g__section-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }
}

@media (max-width: 549px) {
  .page-g__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-g__hero-title {
    font-size: clamp(1.4rem, 7vw, 1.8rem);
  }
  .page-g__hero-description {
    font-size: 0.9rem;
  }
  .page-g__btn {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
  .page-g__content-wrapper--grid, .page-g__content-wrapper--steps, .page-g__content-wrapper--features {
    grid-template-columns: 1fr;
  }
  .page-g__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-g__faq-answer p {
    padding-bottom: 15px;
  }
}