/* General Styles */
.page-payment-methods {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main, #F3F8FF); /* Default text color for dark body */
  background-color: var(--deep-navy, #08162B);
}

.page-payment-methods__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.page-payment-methods__section {
  padding: 60px 0;
  text-align: center;
}

.page-payment-methods__dark-section {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

.page-payment-methods__light-bg {
  background-color: #ffffff; /* Override for specific sections */
  color: #333333; /* Dark text for light background */
}

.page-payment-methods__section-title {
  font-size: 36px;
  margin-bottom: 40px;
  color: var(--gold, #F2C14E);
  font-weight: bold;
}

.page-payment-methods__text-block {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary, #AFC4E8);
}

/* Hero Section */
.page-payment-methods__hero-section {
  position: relative;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--deep-navy, #08162B);
}

.page-payment-methods__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-payment-methods__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-payment-methods__main-title {
  font-size: 48px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-payment-methods__description {
  font-size: 22px;
  color: var(--text-secondary, #AFC4E8);
  margin-bottom: 40px;
}

/* CTA Buttons */
.page-payment-methods__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%; /* Ensure container takes full width */
  max-width: 100%; /* Ensure container takes full width */
  box-sizing: border-box;
  overflow: hidden;
}

.page-payment-methods__btn-primary,
.page-payment-methods__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-payment-methods__btn-primary {
  background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
}

.page-payment-methods__btn-secondary {
  background: transparent;
  color: var(--gold, #F2C14E);
  border: 2px solid var(--gold, #F2C14E);
}

.page-payment-methods__btn-secondary:hover {
  background: var(--gold, #F2C14E);
  color: var(--deep-navy, #08162B);
  transform: translateY(-2px);
}

.page-payment-methods__btn-small {
  padding: 10px 20px;
  font-size: 16px;
}

/* Introduction Section */
.page-payment-methods__introduction-section {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

/* Available Methods Section */
.page-payment-methods__available-methods {
  background-color: var(--deep-navy, #08162B);
}

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

.page-payment-methods__method-card {
  background-color: var(--card-bg, #10233F);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #244D84);
  color: var(--text-main, #F3F8FF);
}

.page-payment-methods__card-image-wrapper {
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

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

.page-payment-methods__card-title {
  font-size: 28px;
  color: var(--gold, #F2C14E);
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__method-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-payment-methods__method-list li {
  margin-bottom: 20px;
}

.page-payment-methods__method-list li:last-child {
  margin-bottom: 0;
}

.page-payment-methods__method-subtitle {
  font-size: 20px;
  color: var(--text-main, #F3F8FF);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-payment-methods__method-list p {
  font-size: 16px;
  color: var(--text-secondary, #AFC4E8);
}

/* Guide Section */
.page-payment-methods__guide-section {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

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

.page-payment-methods__guide-block {
  background-color: var(--card-bg, #10233F);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border, #244D84);
  color: var(--text-main, #F3F8FF);
  display: flex;
  flex-direction: column;
}

.page-payment-methods__guide-subtitle {
  font-size: 24px;
  color: var(--gold, #F2C14E);
  margin-bottom: 25px;
  font-weight: bold;
}

.page-payment-methods__step-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-payment-methods__step-list li {
  font-size: 17px;
  margin-bottom: 15px;
  color: var(--text-secondary, #AFC4E8);
}

.page-payment-methods__step-list li strong {
  color: var(--text-main, #F3F8FF);
}

/* Important Notes Section */
.page-payment-methods__important-notes-section {
  background-color: #ffffff;
  color: #333333;
  padding: 80px 0;
}

.page-payment-methods__important-notes-section .page-payment-methods__section-title {
  color: var(--primary-color, #113B7A);
}

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

.page-payment-methods__note-item {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}

.page-payment-methods__note-title {
  font-size: 22px;
  color: var(--primary-color, #113B7A);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-payment-methods__note-item p {
  font-size: 16px;
  color: #555555;
  flex-grow: 1;
}

.page-payment-methods__note-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  margin-top: 20px;
  border-radius: 5px;
}

/* Tips Section */
.page-payment-methods__tips-section {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
}

.page-payment-methods__tips-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0;
  max-width: 800px;
  text-align: left;
}

.page-payment-methods__tips-list li {
  background-color: var(--card-bg, #10233F);
  border-left: 5px solid var(--gold, #F2C14E);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 17px;
  color: var(--text-secondary, #AFC4E8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.page-payment-methods__tips-list li strong {
  color: var(--text-main, #F3F8FF);
}

/* FAQ Section */
details.page-payment-methods__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid var(--border, #244D84);
  overflow: hidden;
  background: var(--card-bg, #10233F);
  color: var(--text-main, #F3F8FF);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question::-webkit-details-marker {
  display: none;
}
details.page-payment-methods__faq-item summary.page-payment-methods__faq-question:hover {
  background: rgba(var(--primary-color-rgb, 17, 59, 122), 0.2);
}
.page-payment-methods__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--text-main, #F3F8FF);
}
.page-payment-methods__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold, #F2C14E);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-payment-methods__faq-item .page-payment-methods__faq-answer {
  padding: 0 20px 20px;
  background: rgba(var(--primary-color-rgb, 17, 59, 122), 0.1);
  border-radius: 0 0 5px 5px;
  color: var(--text-secondary, #AFC4E8);
  text-align: left;
}

/* Conclusion Section */
.page-payment-methods__conclusion-section {
  background-color: var(--deep-navy, #08162B);
  color: var(--text-main, #F3F8FF);
  padding-bottom: 80px;
}

/* Image Styles */
.page-payment-methods img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-payment-methods__main-title {
    font-size: 40px;
  }
  .page-payment-methods__description {
    font-size: 20px;
  }
  .page-payment-methods__section-title {
    font-size: 32px;
  }
  .page-payment-methods__methods-grid,
  .page-payment-methods__guide-steps,
  .page-payment-methods__notes-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    max-width: 350px;
    margin-left: auto;
    margin-right: auto;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary {
    width: 100%;
  }
}

@media (max-width: 849px) {
  .page-payment-methods__hero-image {
    object-fit: contain;
    max-height: 450px;
  }
}

@media (max-width: 768px) {
  .page-payment-methods {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-payment-methods__hero-section {
    padding-top: 10px; /* Consistent small top padding */
    padding-bottom: 40px;
  }
  .page-payment-methods__main-title {
    font-size: 32px;
    margin-bottom: 15px;
  }
  .page-payment-methods__description {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .page-payment-methods__section {
    padding: 40px 0;
  }
  .page-payment-methods__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-payment-methods__text-block {
    font-size: 16px;
    padding: 0 15px;
  }

  /* Images */
  .page-payment-methods img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-payment-methods__hero-image-wrapper,
  .page-payment-methods__card-image-wrapper {
    max-height: unset;
    height: auto;
  }
  .page-payment-methods__hero-image {
    object-fit: contain;
  }
  .page-payment-methods__note-image {
    object-fit: contain;
    max-width: 100%;
  }

  /* Buttons */
  .page-payment-methods__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-payment-methods__btn-primary,
  .page-payment-methods__btn-secondary,
  .page-payment-methods a[class*="button"],
  .page-payment-methods 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;
  }

  /* Containers */
  .page-payment-methods__container,
  .page-payment-methods__section,
  .page-payment-methods__card,
  .page-payment-methods__method-card,
  .page-payment-methods__guide-block,
  .page-payment-methods__note-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-payment-methods__method-card,
  .page-payment-methods__guide-block,
  .page-payment-methods__note-item {
    padding: 20px;
  }

  /* Lists */
  .page-payment-methods__method-list p,
  .page-payment-methods__step-list li,
  .page-payment-methods__note-item p,
  .page-payment-methods__tips-list li {
    font-size: 15px;
  }
  .page-payment-methods__method-subtitle {
    font-size: 18px;
  }
  .page-payment-methods__card-title {
    font-size: 24px;
  }
  .page-payment-methods__guide-subtitle {
    font-size: 22px;
  }
  .page-payment-methods__note-title {
    font-size: 20px;
  }

  /* FAQ */
  details.page-payment-methods__faq-item summary.page-payment-methods__faq-question { padding: 15px; }
  .page-payment-methods__faq-qtext { font-size: 15px; }
  details.page-payment-methods__faq-item .page-payment-methods__faq-answer { padding: 0 15px 15px; }
}