/* ===== AGBONG88 Terms & Conditions Page - Flatsome Template ===== */
.page-terms-conditions {
  color: #F2FFF6;
  background-color: #08160F;
  max-width: 100%;
  overflow-x: hidden;
}

/* Hero Section */
.page-terms-conditions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  max-width: 1020px;
  margin: 0 auto;
}

.page-terms-conditions__hero-image-container {
  width: 100%;
  max-width: 1020px;
}

.page-terms-conditions__hero-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 17/5;
  object-fit: cover;
  border-radius: 16px;
}

.page-terms-conditions__hero-content {
  width: 100%;
  max-width: 860px;
  text-align: center;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-terms-conditions__main-title {
  color: #F2FFF6;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 10px rgba(87, 227, 141, 0.15);
}

.page-terms-conditions__hero-description {
  color: #A7D9B8;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0;
}

.page-terms-conditions__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(242, 193, 78, 0.5);
  box-shadow: 0 4px 14px rgba(17, 168, 78, 0.25);
}

.page-terms-conditions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(87, 227, 141, 0.4);
}

/* Intro Section */
.page-terms-conditions__intro-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 16px 16px 8px;
}

.page-terms-conditions__section-title {
  color: #F2FFF6;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin: 24px 0 16px;
  padding-left: 12px;
  border-left: 4px solid #F2C14E;
}

.page-terms-conditions__text-block {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 1px rgba(87, 227, 141, 0.05);
}

.page-terms-conditions__text-block p {
  color: #D0DDE7;
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 16px;
}

.page-terms-conditions__text-block p:last-child {
  margin-bottom: 0;
}

.page-terms-conditions__sub-title {
  color: #57E38D;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 20px 0 10px;
  line-height: 1.4;
}

/* Cards */
.page-terms-conditions__content-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4px 16px;
}

.page-terms-conditions__card {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease;
}

.page-terms-conditions__card:hover {
  border-color: #57E38D;
}

.page-terms-conditions__list {
  margin: 8px 0 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.page-terms-conditions__list li {
  color: #D0DDE7;
  font-size: 0.95rem;
  line-height: 1.65;
  list-style: disc;
}

/* Image highlight section */
.page-terms-conditions__image-highlight-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4px 16px;
  display: flex;
  justify-content: center;
}

.page-terms-conditions__highlight-image {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #2E7A4E;
}

/* CTA Banner */
.page-terms-conditions__cta-banner-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 4px 16px;
}

.page-terms-conditions__cta-banner {
  background: linear-gradient(135deg, #0A4B2C, #11271B);
  border: 2px solid #F2C14E;
  border-radius: 20px;
  padding: 32px 40px;
  text-align: center;
  margin: 10px 0 24px;
}

.page-terms-conditions__cta-banner-text {
  color: #F2FFF6;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Logo grid section */
.page-terms-conditions__logo-section {
  max-width: 1020px;
  margin: 24px auto;
  padding: 16px;
  background: #11271B;
  border-radius: 20px;
  border: 1px solid #2E7A4E;
}

.page-terms-conditions__logo-intro {
  color: #A7D9B8;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 16px;
  font-size: 0.95rem;
  line-height: 1.6;
  padding: 0 16px;
}

.page-terms-conditions__logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px 18px;
  justify-items: center;
  align-items: stretch;
  padding: 16px 8px;
}

.page-terms-conditions__logo-item {
  background: #08160F;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 280px;
  box-sizing: border-box;
}

.page-terms-conditions__logo-item:hover {
  border-color: #57E38D;
  transform: translateY(-4px);
}

.page-terms-conditions__logo-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: contain;
  background: #ffffff;
  border-radius: 8px;
  padding: 6px;
  transition: opacity 0.2s ease;
}

.page-terms-conditions__logo-image:hover {
  opacity: 0.9;
}

.page-terms-conditions__logo-link {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-terms-conditions__logo-link:hover {
  transform: scale(1.05);
}

/* Guide section */
.page-terms-conditions__guide-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.page-terms-conditions__guide-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.page-terms-conditions__guide-intro {
  color: #A7D9B8;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 24px;
  text-align: center;
}

.page-terms-conditions__guide-figure {
  margin: 20px auto;
  max-width: 800px;
}

.page-terms-conditions__guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid #2E7A4E;
}

.page-terms-conditions__guide-caption {
  color: #A7D9B8;
  font-size: 0.85rem;
  margin-top: 8px;
}

.page-terms-conditions__guide-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
  text-align: left;
}

.page-terms-conditions__guide-item {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__guide-step {
  color: #F2C14E;
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.page-terms-conditions__guide-item p {
  color: #D0DDE7;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* FAQ Section */
.page-terms-conditions__faq-section {
  max-width: 860px;
  margin: 0 auto;
  padding: 8px 16px 48px;
}

.page-terms-conditions__faq-inner {
  max-width: 820px;
  margin: 0 auto;
}

.page-terms-conditions__faq-section .page-terms-conditions__section-title {
  text-align: center;
  padding-left: 0;
  border-left: none;
  margin-bottom: 4px;
}

.page-terms-conditions__faq-section .page-terms-conditions__section-title::after {
  content: \"\";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #11A84E, #22C768);
  border-radius: 4px;
  margin: 12px auto;
}

.page-terms-conditions__faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.page-terms-conditions__faq-item {
  background: #11271B;
  border: 1px solid #2E7A4E;
  border-radius: 12px;
  padding: 0;
  transition: border-color 0.2s ease;
}

.page-terms-conditions__faq-item[open] {
  border-color: #57E38D;
}

.page-terms-conditions__faq-question {
  list-style: none;
  color: #F2FFF6;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  transition: background-color 0.2s ease;
}

.page-terms-conditions__faq-question::-webkit-details-marker {
  display: none;
}

.page-terms-conditions__faq-question:hover {
  background-color: rgba(17, 168, 78, 0.1);
}

.page-terms-conditions__faq-icon {
  color: #F2C14E;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  min-width: 24px;
  text-align: center;
}

.page-terms-conditions__faq-answer {
  color: #A7D9B8;
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 20px 16px 56px;
  margin: 0;
}

/* Update Footer */
.page-terms-conditions__update-footer {
  background: #0A4B2C;
  border-top: 2px dashed #F2C14E;
  padding: 28px 20px;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.page-terms-conditions__update-footer p {
  color: #A7D9B8;
  font-size: 0.9rem;
  margin: 6px auto;
  max-width: 760px;
  line-height: 1.6;
}

.page-terms-conditions__back-home {
  display: inline-block;
  color: #F2C14E;
  font-weight: 700;
  text-decoration: underline;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.page-terms-conditions__back-home:hover {
  background-color: rgba(242, 193, 78, 0.15);
}

/* Desktop 1024 and tablets */
@media (max-width: 1024px) {
  .page-terms-conditions__hero-image {
    aspect-ratio: 17/6;
  }

  .page-terms-conditions__logo-grid {
    gap: 18px 14px;
  }

  .page-terms-conditions__logo-item {
    max-width: 240px;
  }
}

/* Mobile 768 */
@media (max-width: 768px) {
  .page-terms-conditions {
    overflow-x: hidden;
    max-width: 100%;
  }

  .page-terms-conditions__hero-section {
    padding-top: 0;
  }

  .page-terms-conditions__hero-image {
    aspect-ratio: 16/10;
    border-radius: 0;
  }

  .page-terms-conditions__hero-content {
    padding: 20px 16px 28px;
  }

  .page-terms-conditions__text-block,
  .page-terms-conditions__card {
    padding: 16px;
  }

  .page-terms-conditions__list {
    padding-left: 16px;
  }

  .page-terms-conditions__cta-banner {
    padding: 24px 16px;
  }

  .page-terms-conditions__cta-banner-text {
    font-size: 1rem;
  }

  /* Logo grid 2 columns */
  .page-terms-conditions__logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 12px 4px;
  }

  .page-terms-conditions__logo-item {
    padding: 8px;
    max-width: 100%;
  }

  .page-terms-conditions__logo-image {
    aspect-ratio: 2/1;
  }

  .page-terms-conditions__logo-link {
    font-size: 0.8rem;
    padding: 8px 12px;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
  }

  /* Guide section adjustments */
  .page-terms-conditions__guide-section {
    padding: 14px 12px 32px;
  }

  .page-terms-conditions__guide-inner {
    text-align: left;
  }

  .page-terms-conditions__guide-inner .page-terms-conditions__section-title,
  .page-terms-conditions__guide-intro {
    text-align: center;
  }

  .page-terms-conditions__guide-figure {
    margin: 12px auto;
    width: 100%;
  }

  .page-terms-conditions__guide-figure img {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16/10;
    height: auto;
  }

  .page-terms-conditions__guide-item p {
    margin: 0;
  }

  /* FAQ adjustments */
  .page-terms-conditions__faq-section {
    padding: 8px 12px 24px;
  }

  .page-terms-conditions__faq-question {
    padding: 12px 16px;
  }

  .page-terms-conditions__faq-answer {
    padding: 0 12px 14px 50px;
  }

  .page-terms-conditions__highlight-image,
  .page-terms-conditions img {
    max-width: 100% !important;
    height: auto !important;
  }

  .page-terms-conditions__cta-button {
    display: block;
    width: 100%;
    max-width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .page-terms-conditions__update-footer {
    padding: 20px 12px;
  }
}