/* Common */
.gold-btn {
  background: linear-gradient(90deg, rgba(201, 143, 48, 1) 0%, rgba(245, 233, 125, 1) 33%, rgba(190, 128, 43, 1) 67%, rgba(226, 190, 89, 1) 100%);
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 2px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.gold-btn:hover,
.gold-btn:focus {
  background: linear-gradient(0deg, rgba(240, 209, 92, 1) 0%, rgba(216, 129, 5, 1) 100%);
  color: #000000;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
  transform: translateY(-2px);
}

/* Secondary / ash-gradient button.
   Single source of truth — replaced the former duplicate `.dark-outline-btn`
   and the unused `.silver-btn`, which were the same button under other names. */
.back-btn {
  border-radius: 2px;
  background: linear-gradient(100deg, #9E9E9E 0%, #757575 50%, #616161 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  padding: 10px 18px;
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(117, 117, 117, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.back-btn:hover,
.back-btn:focus {
  background: linear-gradient(100deg, #616161 0%, #757575 50%, #9E9E9E 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(117, 117, 117, 0.35);
  transform: translateY(-2px);
}

.gold-outline-btn {
  background: transparent;
  color: #121824;
  border: 1px solid #A8A8A8;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.gold-outline-btn:hover {
  background: #d4af37;
  color: #0b0f19;
}

/* Market Work Card (Market Education page) */
.market-work-card {
  display: flex;
  padding: 25px;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 0 0;
  align-self: stretch;
  border-radius: 2px;
  background: #E9E9E9;
  height: 100%;
}


/* Content */
.badge-gold {
  background: rgba(212, 175, 55, 0.15);
  color: #b8860b;
  border: 1px solid rgba(212, 175, 55, 0.4);
  font-weight: 600;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dropdown Theme */
.dropdown-menu {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  padding: 8px;
  z-index: 1050;
}

.dropdown-menu>li:not(:last-child) {
  margin-bottom: 4px;
}

.dropdown-item {
  color: #121824 !important;
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  background-image: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  color: transparent !important;
  font-weight: 600;
}

.dropdown-item.active,
.dropdown-item:active {
  background: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%) !important;
  background-clip: border-box !important;
  -webkit-background-clip: border-box !important;
  -webkit-text-fill-color: #000000 !important;
  color: #000000 !important;
  font-weight: 700;
  box-shadow: none !important;
}

/* Section */
.custom-nav-pills .nav-link {
  color: #404040;
  font-weight: 500;
  padding: 14px 20px;
  border-radius: 2px;
  transition: all 0.3s ease;
  background-color: transparent;
  border: 1px solid #fff;
  margin-bottom: 8px;
  text-align: left;
  font-size: 14px;
}

.custom-nav-pills .nav-link:hover {
  color: #b8860b;
  background-color: #f8fafc;
}

.custom-nav-pills .nav-link.active {
  background: #fff !important;
  color: #000 !important;
  box-shadow: 0 4px 12px rgba(11, 15, 25, 0.15);
  font-size: 15px;
  font-weight: bold;
}

/* Section Background */

/* Heading */
.card-heading {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #000;
}

/* Sub Heading */
.card-sub-heading {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 16px;
}

/* Title */
.markets-trading-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #000000;
  letter-spacing: -0.02em;
}

.account-opening-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #000000;
  letter-spacing: -0.01em;
  margin: 20px 0;
}

/* Paragraph */
.card-head-tittle {
  font-weight: 700;
  font-size: 16px;
  color: #000;
  margin-bottom: 8px;
}

.card-paragraph {
  font-size: 15px;
  color: #000;
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* Images */
.markets-img-main {
  height: 235px;
  width: 100%;
}

.markets-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.markets-img-sub {
  height: 205px;
  width: 100%;
}

.markets-img-sub img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 992px) {
  .markets-grid-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px !important;
  }
}

/* Cards */
.regulatory-status-card {
  background-color: #ffffff;
  padding: 16px 20px;
  border-radius: 2px;
  height: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.regulatory-status-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(85deg, rgba(201, 143, 48, 1) 0%, rgba(245, 233, 125, 1) 33%, rgba(190, 128, 43, 1) 67%, rgba(226, 190, 89, 1) 100%);
}

.regulatory-status-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #404040;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.regulatory-status-value-lg {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.regulatory-status-value-sm {
  font-size: 12px;
  font-weight: 700;
  color: #000000;
  margin: 0;
  line-height: 1.35;
}

.regulatory-status-value-md {
  font-size: 16px;
  color: #000000;
  margin: 0;
  line-height: 1.25;
}


.service-card {
  background: #fff;
  border-radius: 2px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Service Card CTAs — 100% full-width on desktop (>991px), compact width on mobile/tablet (<=991px) */
.service-card-actions {
  width: 100%;
}

.service-card-actions .gold-btn,
.service-card-actions .gold-outline-btn {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 991.98px) {
  .service-card-actions {
    max-width: 260px;
  }
}



.service-card:hover {
  border-color: #d4af37;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
}

.service-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  color: #b8860b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card {
  background: #E9E9E9;
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  padding: 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.feature-card:hover {
  border-color: #b5b5b5;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* Mandate Step Flow (Portfolio Management) */
.mandate-steps-flow {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 30px;
}

.mandate-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1 1 0%;
  min-width: 0;
}

.mandate-step-box {
  width: 68px;
  height: 68px;
  background-color: #000000;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mandate-step-box span {
  background: linear-gradient(90deg, rgba(201, 143, 48, 1) 0%, rgba(245, 233, 125, 1) 33%, rgba(190, 128, 43, 1) 67%, rgba(226, 190, 89, 1) 100%);
  color: #ffd700;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.mandate-step-box:hover {
  transform: translateY(-3px);
}

.mandate-step-box--active {
  background: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%);
}

.mandate-step-box--active span {
  color: #121824;
  -webkit-text-fill-color: #121824;
  background: none;
}

.mandate-step-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #000;
  margin: 0;
  line-height: 1.3;
}

.mandate-step-arrow {
  font-size: 1.8rem;
  color: #000;
  line-height: 1;
  padding: 0 4px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 0;
}

.mandate-disclaimer {
  font-size: 0.875rem;
  font-style: italic;
  color: #64748b;
  margin: 0;
}

/* Plain outline button (dark border, no fill) */
.plain-outline-btn {
  background: transparent;
  color: #000000;
  border: 1.5px solid #404040;
  font-weight: 600;
  font-size: 13px;
  padding: 10px 18px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.plain-outline-btn:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}


/* Lists */
.icon-check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.icon-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #334155;
}

.icon-check-list i {
  color: #d4af37;
  font-size: 1.1rem;
  margin-top: 2px;
}

/* Footer */
.footer-section {
  background-color: #040508;
  color: #ffffff;
  padding: 60px 0 40px 0;
  position: relative;
  z-index: 1;
}

.footer-logo {
  max-width: 200px;
  height: auto;
}

.footer-desc {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.social-label {
  font-size: 0.875rem;
  color: #ffffff;
  font-weight: 600;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon-btn:hover {
  background: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%);
  color: #000000;
  transform: translateY(-2px);
}

.footer-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links-list {
  padding-left: 0;
  list-style: none;
  margin-bottom: 0;
}

.footer-link {
  color: #fff;
  font-size: 0.875rem;
  display: block;
  margin-bottom: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer-link:hover {
  padding-left: 4px;
  color: #f0d15c;
  background: linear-gradient(180deg, #f0d15c 0%, #d88105 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.regulatory-box {
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 18px 24px;
  border-radius: 2px;
  margin-top: 40px;
  margin-bottom: 30px;
}

.regulatory-box-text {
  font-size: 13px;
  line-height: 1.8;
  color: #fff;
  margin-bottom: 10px;
}

.regulatory-box-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 600;
}

.regulatory-gold-link {
  color: #f0d15c;
  background: linear-gradient(180deg, #f0d15c 0%, #d88105 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease;
}

.regulatory-gold-link:hover {
  opacity: 0.85;
}

.link-divider {
  color: rgba(240, 209, 92, 0.4);
  font-weight: 300;
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%);
  color: #0b0f19;
  border: none;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
  will-change: opacity, transform;
  z-index: 1040;
}

.back-to-top.show-back-to-top {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: linear-gradient(0deg, rgba(240, 209, 92, 1) 0%, rgba(216, 129, 5, 1) 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Insight Cards */
.eyebrow-text {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #000;
}

.card-heading-sm {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-bottom: 16px;
}

.card-body-paragraph {
  font-size: 15px;
  color: #000;
  line-height: 1.5;
  margin-bottom: 10px;
}

.insight-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.insight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.insight-card-image {
  height: 190px;
  object-fit: cover;
}

.insight-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-card-link {
  margin-top: auto;
}

/* Mobile Responsive */
@media (max-width: 991.98px) {
  .mandate-steps-flow {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 30px;
    overflow-x: auto;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .mandate-step {
    flex: 1 1 0%;
    min-width: 90px;
  }

  .mandate-step-box {
    width: 56px;
    height: 56px;
    font-size: 1.35rem;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .mandate-step-label {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .mandate-step-arrow {
    display: flex !important;
    font-size: 1.4rem;
    height: 56px;
    padding: 0 2px;
    color: #000000;
    flex-shrink: 0;
  }
}

@media (max-width: 575.98px) {
  .mandate-step {
    min-width: 75px;
  }

  .mandate-step-box {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
    border-radius: 10px;
    margin-bottom: 8px;
  }

  .mandate-step-label {
    font-size: 0.7rem;
  }

  .mandate-step-arrow {
    font-size: 1.1rem;
    height: 46px;
    padding: 0 1px;
  }
}

@media (max-width: 576px) {

  .gold-btn,
  .back-btn,
  .gold-outline-btn,
  .plain-outline-btn {
    width: 100%;
    padding: 12px 16px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

/* ==========================================================================
   Who May Apply — added 2026-08-08
   ========================================================================== */
/* Inline icon sitting beside card text (feature-card / why-feature-card).
   Single source of truth — replaced the duplicates .eligibility-check-icon
   and .risk-card-icon, which were the same rule under two names. */
.card-inline-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Prepare Your Documents — added 2026-08-08
   ========================================================================== */
.document-checklist-card {
  background-color: #E9E9E9;
  border-radius: 2px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.document-checklist-icon {
  flex-shrink: 0;
}

.card-title-lg {
  font-family: var(--font-family-heading-poppins);
  font-weight: 600;
  font-size: 24px;
  line-height: 30px;
  color: #000000;
}

.document-checklist-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.document-checklist-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.document-checklist-check {
  flex-shrink: 0;
}

/* ==========================================================================
   How to Open an Account — added 2026-08-08
   ========================================================================== */
.mandate-step-box--sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 20px;
  margin-bottom: 0;
  box-shadow: none;
}

.step-card {
  background: #ffffff;
  border-radius: 2px;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  height: 100%;
}

.step-card-title {
  font-weight: 700;
  font-size: 15px;
  color: #000000;
  text-align: center;
  margin-bottom: 7px;
}

.step-card-text {
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: #000000;
  text-align: center;
  margin-bottom: 0;
}

/* ==========================================================================
   Risk Disclosure Page — added 2026-08-08
   ========================================================================== */

/* Important Notice card */
.notice-card {
  background-color: #ffffff;
  border-radius: 2px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* White variant of the grey document-checklist-card shell */
.document-checklist-card--white {
  background-color: #ffffff;
}

/* Risks by Product accordion body (header reuses .faq-card-header) */
.risk-accordion-body {
  background-color: #ffffff;
  border: 2px solid #e9e9e9;
  border-radius: 2px;
  padding: 25px;
}

/* Grey variant of the white faq-card-body-wrapper */
.faq-card-body-wrapper--grey {
  background-color: #e9e9e9;
}

/* Outline button on a dark background (CTA banner) */
.plain-outline-btn--on-dark {
  background: transparent;
  color: #ffffff;
  border-color: #e5e5e5;
}

.plain-outline-btn--on-dark:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* ==========================================================================
   International Markets Page — added 2026-08-08
   ========================================================================== */

/* Left-accent-border feature card (Access International Markets / What May Be Required) */
.access-feature-card {
  background-color: #e9e9e9;
  position: relative;
  padding: 15px 15px 15px 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: auto;
}

.access-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(85deg, rgba(201, 143, 48, 1) 0%, rgba(245, 233, 125, 1) 33%, rgba(190, 128, 43, 1) 67%, rgba(226, 190, 89, 1) 100%);
}

.access-feature-card--white {
  background-color: #ffffff;
}

.access-feature-title {
  font-weight: 700;
  font-size: 15px;
  color: #000000;
  margin-bottom: 0;
}

.access-feature-text {
  font-weight: 400;
  font-size: 13px;
  color: #000000;
  margin-bottom: 0;
}

/* Left-accent-border cost row (Understand the Costs) */
.cost-item-row {
  background-color: #ffffff;
  position: relative;
  padding: 15px 20px 15px 23px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.cost-item-row::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(85deg, rgba(201, 143, 48, 1) 0%, rgba(245, 233, 125, 1) 33%, rgba(190, 128, 43, 1) 67%, rgba(226, 190, 89, 1) 100%);
}

/* Grey variant, for cost rows sitting on a white section */
.cost-item-row--grey {
  background-color: #e9e9e9;
}

.cost-item-label {
  font-weight: 700;
  font-size: 15px;
  color: #000000;
  width: 270px;
  flex-shrink: 0;
}

.cost-item-text {
  font-weight: 400;
  font-size: 15px;
  color: #000000;
}

/* Market category selector (Explore Approved International Markets) */
.market-tabs-nav {
  border-bottom: 1px solid #e2e8f0;
}

.market-tabs-nav .nav-link.market-tab {
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 500;
  font-size: 16px;
  color: #797979;
  padding: 14px 20px;
  transition: all 0.2s ease;
}

.market-tabs-nav .nav-link.market-tab:hover {
  color: #d88105;
}

.market-tabs-nav .nav-link.market-tab.active {
  font-weight: 700;
  color: #d88105;
  border-bottom: 3px solid #d88105;
}

/* Gold-gradient label and underline for the active tab.
   The underline is a ::after bar rather than border-image: with a vertical
   (0deg) gradient, border-image-slice:1 samples a single row of the gradient
   and paints the bar flat, so the gradient is lost. */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {

  .market-tabs-nav .nav-link.market-tab:hover,
  .market-tabs-nav .nav-link.market-tab:focus,
  .market-tabs-nav .nav-link.market-tab.active {
    position: relative;
    background-image: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    border-bottom: 3px solid transparent;
  }

  /* Underline marks the active tab only — hover just recolours the label. */
  .market-tabs-nav .nav-link.market-tab.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 3px;
    background: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%);
  }
}

.market-tab {
  font-weight: 400;
  font-size: 18px;
  color: #797979;
  text-align: center;
  padding: 16px 24px;
}

.market-tab--active {
  font-weight: 700;
  color: #cc8513;
  border-bottom: 2px solid #cc8513;
  padding-bottom: 14px;
}

/* Mobile & Tablet Accordion (<1024px) */
.markets-mobile-accordion .accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #ffffff;
}

.markets-mobile-accordion .accordion-button {
  font-weight: 700;
  font-size: 15px;
  color: #000000;
  background-color: #f8fafc;
  padding: 16px 20px;
  box-shadow: none;
}

.markets-mobile-accordion .accordion-button:not(.collapsed) {
  background: rgba(216, 129, 5, 0.08);
  color: #d88105;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

@media (min-width: 1024px) {
  .market-tabs-desktop {
    display: block !important;
  }

  .markets-mobile-accordion {
    display: none !important;
  }
}

/* Unified Single-Markup Responsive Tabs & Drawer Accordion */
.tab-container .tab-content {
  display: none;
}

.tab-container .tab-content.active {
  display: block;
}

@media (max-width: 991.98px) {
  .tab-drawer-heading {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 20px;
    margin-top: 12px;
    font-weight: 700;
    font-size: 15px;
    color: #000000;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    user-select: none;
  }

  .tab-drawer-heading:hover {
    background: #00000087;
  }

  .tab-drawer-heading.active {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .tab-drawer-heading .drawer-icon {
    transition: transform 0.3s ease;
  }

  .tab-drawer-heading.active .drawer-icon {
    transform: rotate(180deg);
  }

  .tab-container .tab-content.active {
    background: #ffffff;
    border-top: none;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 20px;
    margin-bottom: 12px;
  }
}

/* Load More button (market specs table) */
.load-more-btn {
  background: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%);
  color: #000000;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  padding: 10px 24px;
  border: none;
  border-radius: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.load-more-btn:hover {
  opacity: 0.9;
}

/* Market Info Box (Market Education page) */
.market-info-card {
  border-radius: 2px;
  background: #ffffff;
  display: flex;
  padding: 30px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  flex: 1 0 0;
  align-self: stretch;
  height: 100%;
  width: 100%;
}

.market-info-card .access-feature-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 0px;
}

/* Equal-height image wrapper matching adjacent text column height */
.equal-height-img-wrap,
.certificate-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  min-height: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
}

@media (min-width: 992px) {

  .equal-height-img-wrap img,
  .certificate-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

@media (max-width: 991.98px) {

  .equal-height-img-wrap img,
  .certificate-image-wrapper img {
    position: static;
    width: 100%;
    height: auto;
  }
}

/* ==========================================================================
   Video Preview Wrapper Component
   ========================================================================== */
.video-preview-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  max-height: 360px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-preview-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.video-preview-wrapper:hover .video-preview-thumbnail {
  transform: scale(1.04);
  opacity: 0.9;
}

.video-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.7) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px;
  text-align: center;
  transition: background 0.3s ease;
}

.video-preview-wrapper:hover .video-preview-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.video-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(0deg, rgba(216, 129, 5, 1) 0%, rgba(240, 209, 92, 1) 100%);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 24px rgba(240, 209, 92, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding-left: 4px;
}

.video-preview-wrapper:hover .video-play-btn {
  transform: scale(1.12);
  box-shadow: 0 0 35px rgba(240, 209, 92, 0.9);
}

.video-preview-badge {
  background: rgba(0, 0, 0, 0.8);
  color: #f0d15c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 8px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  border: 1px solid rgba(240, 209, 92, 0.4);
}

@media (max-width: 768px) {
  .video-preview-wrapper {
    height: 240px;
  }

  .video-play-btn {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }
}

/* ==========================================================================
   Orbiting Globe — added 2026-08-10
   Decorative hero visual: a canvas particle globe on the horizon with
   concentric rings of orbiting instrument icons. Markup is built by
   initOrbitGlobe() in assets/js/components.js, so no inline styles are
   needed for the per-icon angles.
   ========================================================================== */
.orbit-globe {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 440px;
  overflow: hidden;
}

.orbit-globe-core {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 300px;
  aspect-ratio: 1 / 1;
  transform: translate(-50%, 50%);
  pointer-events: none;
  z-index: 2;
}

/* The canvas inherits `color`, which is what the particle renderer samples. */
.orbit-globe-canvas {
  display: block;
  width: 100%;
  height: 100%;
  color: var(--primary-gold-start);
}

.orbit-globe-ring {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  border: 1px solid var(--card-border-gold);
  border-radius: 50%;
}

.orbit-globe-ring-1 {
  width: 440px;
  height: 440px;
}

.orbit-globe-ring-2 {
  width: 600px;
  height: 600px;
}

.orbit-globe-ring-3 {
  width: 720px;
  height: 720px;
}

/* Arm pivots from the ring centre; width matches the badge so the negative
   margin centres it exactly on the ring edge. */
.orbit-globe-arm {
  position: absolute;
  top: 0;
  left: 50%;
  width: 48px;
  height: 50%;
  margin-left: -24px;
  transform-origin: bottom center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  animation: orbit-globe-cw var(--orbit-duration) linear infinite;
}

.orbit-globe-ring-2 .orbit-globe-arm {
  animation-name: orbit-globe-ccw;
}

.orbit-globe-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  position: relative;
  z-index: 2;
  border: 1px solid var(--card-border-gold);
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.18);
  animation: orbit-globe-counter-cw var(--orbit-duration) linear infinite;
}

.orbit-globe-ring-2 .orbit-globe-badge {
  animation-name: orbit-globe-counter-ccw;
}

.orbit-globe-badge i {
  font-size: 20px;
  line-height: 1;
  color: var(--primary-gold-start);
}

@keyframes orbit-globe-cw {
  from {
    transform: rotate(var(--orbit-start-angle));
  }

  to {
    transform: rotate(calc(var(--orbit-start-angle) + 360deg));
  }
}

@keyframes orbit-globe-ccw {
  from {
    transform: rotate(var(--orbit-start-angle));
  }

  to {
    transform: rotate(calc(var(--orbit-start-angle) - 360deg));
  }
}

@keyframes orbit-globe-counter-cw {
  from {
    transform: rotate(var(--orbit-counter-offset));
  }

  to {
    transform: rotate(calc(var(--orbit-counter-offset) - 360deg));
  }
}

@keyframes orbit-globe-counter-ccw {
  from {
    transform: rotate(var(--orbit-counter-offset));
  }

  to {
    transform: rotate(calc(var(--orbit-counter-offset) + 360deg));
  }
}

@media (min-width: 768px) {
  .orbit-globe {
    height: 640px;
  }

  .orbit-globe-core {
    width: 580px;
  }

  .orbit-globe-ring-1 {
    width: 720px;
    height: 720px;
  }

  .orbit-globe-ring-2 {
    width: 880px;
    height: 880px;
  }

  .orbit-globe-ring-3 {
    width: 1060px;
    height: 1060px;
  }

  .orbit-globe-arm {
    width: 64px;
    margin-left: -32px;
  }

  .orbit-globe-badge {
    width: 64px;
    height: 64px;
    margin-top: -32px;
  }

  .orbit-globe-badge i {
    font-size: 28px;
  }
}

/* Hold the rings still for users who ask for reduced motion; the canvas
   renderer makes the same check in JS. */
@media (prefers-reduced-motion: reduce) {
  .orbit-globe-arm {
    animation: none;
    transform: rotate(var(--orbit-start-angle));
  }

  .orbit-globe-badge {
    animation: none;
    transform: rotate(var(--orbit-counter-offset));
  }
}

/* ========== Global Tab Pane Fade-Up Animation (Matching Webinars Reference) ========== */
.tab-content {
  perspective: 1200px;
}

.tab-content>.tab-pane {
  transform-origin: center bottom;
  will-change: opacity, transform, filter;
}

@keyframes tabFadeUp3D {
  0% {
    opacity: 0;
    transform: translate3d(0, 36px, 0) rotateX(-12deg) scale(0.96);
    filter: blur(6px);
  }

  55% {
    opacity: 1;
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

.tab-content>.tab-pane.fade {
  opacity: 0;
}

.tab-content>.tab-pane.fade.show,
.tab-content>.tab-pane.fade.active,
.tab-content>.tab-pane.show.active {
  animation: tabFadeUp3D 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-fade-up {
  animation: tabFadeUp3D 600ms cubic-bezier(0.22, 1, 0.36, 1) both !important;
}

@media (prefers-reduced-motion: reduce) {

  .tab-content>.tab-pane.fade.show,
  .tab-content>.tab-pane.fade.active,
  .tab-content>.tab-pane.show.active,
  .animate-fade-up {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}