/* Antos Pinnacles brand overrides, loaded after the Webflow stylesheet on every page. */

.brand-logo {
  width: 48px;
  height: 48px;
}

.footer-logo-link {
  max-width: 200px;
}

.footer-brand-image {
  width: 72px;
  height: 72px;
}

/* Webflow adds its badge whenever the page is served outside its webflow.io domain. */
.w-webflow-badge {
  display: none !important;
}

/* Risk warning and restricted regions, as required on every page of the live site. */
.footer-risk-warning {
  border-top: 1px solid var(--light-border);
  color: var(--paragraph-text, #5c5c5c);
  margin-top: 2em;
  padding-top: 2em;
  font-size: 13px;
  line-height: 1.6;
}

.footer-risk-warning p {
  margin-bottom: 1em;
}

.footer-risk-warning p:last-child {
  margin-bottom: 0;
}

/* ---------- Antos navigation in the template menu ---------- */

/* Each Antos menu is a plain list of links inside the template's small mega-menu panel. */
.mega-menu-wrapper.antos-menu {
  width: 300px;
}

.mega-menu-wrapper.antos-menu .mega-menu-list {
  margin-bottom: 0;
}

/* GET STARTED (Login, Register AP, Demo): the template's header button, opening a menu on the right. */
.get-started-dropdown .dropdown-toggle.button.small-button {
  color: var(--primary-white);
  padding: 8px 16px;
}

/* The chevron SVG is white already; the template inverts it for the light links, so undo that on the black button. */
.get-started-dropdown .dropdown-toggle .dropdown-arrow {
  filter: none;
  opacity: 1;
}

/* Template dropdowns are position: static and their open list is pinned to left: 0 / right: 0 of the header,
   so anchor this one to the button and open it under the button's right edge. */
.get-started-dropdown {
  position: relative;
}

.get-started-dropdown .dropdown-list._02,
.get-started-dropdown .dropdown-list._02.w--open {
  left: auto;
  right: 0;
}

.mobile-get-started {
  display: none;
}

@media screen and (max-width: 991px) {
  /* The collapsed menu carries GET STARTED itself, as the template hides its header button at this width. */
  .get-started-dropdown {
    display: none;
  }

  .mobile-get-started {
    display: block;
  }
}

/* ---------- Antos footer ---------- */

.footer-funding-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-funding-logo {
  height: 32px;
  width: auto;
}

/* ---------- Antos content blocks in template components ---------- */

/* Antos "details" questions shown as open cards. */
.antos-qa {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.antos-qa > .fade-in-move-on-scroll {
  align-items: stretch;
}

.antos-qa-item {
  border: 1px dashed var(--light-border);
  background-color: var(--secondary-white);
  border-radius: 8px;
  width: 100%;
  padding: 24px;
}

.antos-qa-item .card-title {
  margin-bottom: 10px;
}

.antos-qa-item p:last-child,
.antos-prose p:last-child {
  margin-bottom: 0;
}

.antos-links,
.antos-note,
.antos-hero-note {
  color: var(--paragraph-text);
  margin-top: 1em;
}

.antos-prose {
  max-width: 820px;
  text-align: left;
}

.antos-hero-image {
  width: 100%;
  max-width: 960px;
  margin-top: 40px;
}

.antos-hero-image .feature-image {
  border-radius: 8px;
  width: 100%;
}

.antos-tool-icon {
  margin-bottom: 20px;
}

.antos-card-link {
  color: inherit;
  text-decoration: none;
}

.antos-team-title {
  width: 100%;
  margin-top: 40px;
}

.team-bio {
  color: var(--paragraph-text-color);
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 15px;
}

/* Template tabs used for Antos tab groups (platforms, article topics). */
.antos-tabs {
  width: 100%;
}

.antos-tabs .plan-tab-holder {
  flex-wrap: wrap;
}

.antos-tabs .tab-button.pricing-category {
  border-bottom-width: 1px;
  margin-bottom: 0;
  padding: 10px 18px;
  font-size: 16px;
}

.antos-tab-pane {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.antos-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

/* Legal Documents: one document at a time, chosen from the select. */
.antos-legal-controls {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 480px;
  margin: 30px auto 0;
  text-align: left;
}

.antos-legal-document {
  max-width: 900px;
  margin: 0 auto 60px;
}

.antos-legal-document[hidden] {
  display: none;
}

.antos-legal-document .title {
  margin-bottom: 30px;
}

@media screen and (max-width: 767px) {
  .antos-qa {
    grid-template-columns: 1fr;
  }
}

/* ---------- Readability: the Antos copy is long-form, so body text is darker, regular weight and kept to a
   comfortable line length; section spacing is tightened so pages read as one flow. ---------- */

p,
.tab-answer,
.w-richtext li {
  color: rgba(0, 0, 0, .74);
  font-weight: 400;
  line-height: 1.7;
}

.subtitle-text {
  color: rgba(0, 0, 0, .7);
  line-height: 1.6;
}

.subtitle-text-holder {
  max-width: 760px;
}

/* ---------- Contrast: text that must stay light on dark or gradient backgrounds ----------
   The darker body colours above would otherwise turn white template text near-black on the
   newsletter banner, the dark heroes and the black sections. */
.subtitle-text.white-text,
.white-text p {
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.badge-text.white,
.hero-section-holder .title.white-text {
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}

.black-section .badge-text {
  color: rgba(255, 255, 255, .7);
}

.black-section p,
.black-section .antos-hero-note {
  color: rgba(255, 255, 255, .78);
}

.dark-card-paragraph .copyright-link {
  color: var(--primary-white);
  font-size: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Light-grey accents that fell below a readable contrast on white or light-grey backgrounds. */
.grey-title {
  color: #6e6e73;
}

.post-excerpt {
  color: rgba(0, 0, 0, .62);
}

.sticky-inside-content-holder p,
.feature-box-content-holder p,
.antos-qa-item p,
.antos-prose p,
.w-richtext p,
.w-richtext li {
  font-size: 17px;
}

.global-padding {
  padding-top: 110px;
  padding-bottom: 110px;
}

.global-padding.no-top-padding {
  padding-top: 0;
}

.w-richtext :is(h2:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h2)),
.w-richtext :is(h3:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h3)),
.w-richtext :is(h4:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h4)) {
  margin-top: 1.4em;
}

@media screen and (max-width: 991px) {
  .global-padding {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 767px) {
  p,
  .w-richtext p,
  .w-richtext li,
  .sticky-inside-content-holder p,
  .feature-box-content-holder p,
  .antos-qa-item p,
  .antos-prose p {
    font-size: 16px;
  }

  .global-padding {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ---------- Shared helpers ---------- */

.antos-muted { color: rgba(0, 0, 0, .55); }
.antos-center { text-align: center; }
.antos-center-text { text-align: center; max-width: 820px; margin-left: auto; margin-right: auto; }
.antos-byline { color: rgba(0, 0, 0, .55); font-size: 15px; margin: 0; }
.antos-closing { margin-top: 30px; text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.antos-link-button { background: none; border: 0; padding: 0; color: var(--accent-purple); cursor: pointer; font-size: 15px; }
.antos-field-label { color: var(--black); font-size: 14px; font-weight: 500; margin-bottom: 6px; display: block; }
.antos-tool-section { display: flex; flex-direction: column; gap: 28px; padding-top: 0; }
.antos-pills { flex-wrap: wrap; justify-content: flex-start; margin-bottom: 0; }
.antos-pills .tab-button.pricing-category { border: 1px solid var(--light-border); border-radius: 50px; margin: 0; padding: 8px 18px; font-size: 15px; background: var(--primary-white); }
.antos-pills .tab-button.pricing-category.w--current { background: var(--button-color); border-color: var(--button-color); color: var(--primary-white); }
.antos-check, .antos-radio { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 15px; color: var(--black); margin: 0 0 8px; }
.antos-check input, .antos-radio input { width: 17px; height: 17px; accent-color: var(--button-color); margin: 0; }

/* Data tables (Market Range, Dividend Calendar, payment methods) */
.antos-table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--light-border); border-radius: 12px; background: var(--primary-white); }
.antos-table { width: 100%; border-collapse: collapse; font-size: 15px; color: var(--black); }
.antos-table th { position: sticky; top: 0; background: var(--secondary-white); text-align: left; font-weight: 500; padding: 14px 18px; border-bottom: 1px solid var(--light-border); white-space: nowrap; }
.antos-table td { padding: 13px 18px; border-bottom: 1px solid var(--light-border); vertical-align: middle; }
.antos-table tbody tr:last-child td { border-bottom: 0; }
.antos-table tbody tr:hover td { background: #fafafb; }
.antos-table th.antos-center, .antos-table td.antos-center { text-align: center; }
.antos-table-empty { text-align: center; color: rgba(0, 0, 0, .55); padding: 48px 18px !important; }
.antos-table-empty strong { display: block; color: var(--black); font-weight: 500; margin-bottom: 4px; }
.antos-table-group th { position: static; text-align: center; background: #f2f3f6; font-size: 14px; }

/* Market Range */
.antos-market { display: flex; flex-direction: column; gap: 22px; }
.antos-market-select-holder { max-width: 280px; }
.antos-market-select-holder[hidden], .antos-market-description[hidden] { display: none; }
.antos-market-description { border-left: 3px solid var(--accent-purple); padding: 4px 0 4px 20px; }
.antos-market-description .title { font-size: 24px; margin-bottom: 8px; }
.antos-market-description p { margin: 0; max-width: 860px; }
.antos-symbol { font-weight: 500; }
.antos-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.antos-price-big { font-size: 1.25em; font-weight: 600; }
.antos-price-small { font-size: .8em; vertical-align: super; }
.antos-ask { color: #d6303f; }
.antos-bid { color: #0b7a4b; }
.antos-ask.is-up, .antos-bid.is-up { color: #0b7a4b; background: rgba(18, 156, 98, .08); }
.antos-ask.is-down, .antos-bid.is-down { color: #d6303f; background: rgba(214, 48, 63, .08); }

/* Embedded nextrades tools */
.antos-embed { position: relative; border: 1px solid var(--light-border); border-radius: 12px; overflow: hidden; background: var(--primary-white); }
.antos-embed-frame { display: block; width: 100%; border: 0; }
.antos-embed-loader { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: rgba(0, 0, 0, .55); background: var(--secondary-white); }
.antos-embed-loader[hidden], .antos-embed-status[hidden] { display: none; }
.antos-embed-status { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; background: var(--secondary-white); text-align: center; padding: 20px; }

/* Dividend Calendar */
.antos-dividend { display: flex; flex-direction: column; gap: 24px; }
.antos-dividend-toolbar { display: flex; flex-direction: column; gap: 18px; }
.antos-dividend-range { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; }
.antos-dividend-range .antos-field { display: flex; flex-direction: column; margin: 0; min-width: 170px; }
.antos-dividend-range .input-field { margin: 0; border-radius: 10px; height: 46px; padding: 0 12px; }
.antos-range-arrow { padding-bottom: 12px; color: rgba(0, 0, 0, .45); }
.antos-dividend-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; align-items: start; }
.antos-dividend-filters { border: 1px solid var(--light-border); border-radius: 12px; padding: 18px; background: var(--secondary-white); display: flex; flex-direction: column; gap: 18px; position: sticky; top: 100px; }
.antos-filter-head { display: flex; justify-content: space-between; align-items: center; }
.antos-dividend-countries { max-height: 320px; overflow: auto; }
.antos-dividend-results { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.antos-dividend .antos-table-wrap { max-height: 720px; }
.antos-dividend tr.is-past td { opacity: .5; }
.antos-dividend tr.is-next td { background: rgba(97, 57, 251, .06); }
.antos-dividend tr.is-next td:first-child { box-shadow: inset 3px 0 0 #d6303f; }
.antos-paid { color: #22c55e; }
.antos-flag { width: 20px; height: auto; vertical-align: middle; margin-right: 6px; border-radius: 2px; }
.antos-company { display: flex; align-items: center; gap: 10px; }
.antos-company-logo { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

/* Payment methods */
/* A method or currency shows its icon, or its name as text when it has no icon. */
.antos-psp-logo { display: block; height: 28px; width: auto; max-width: 120px; object-fit: contain; }
.antos-psp-name { font-weight: 500; }
.antos-psp-num { white-space: nowrap; font-variant-numeric: tabular-nums; }
.antos-psp-currencies { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.antos-currency { display: inline-flex; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 50%; background: none; padding: 2px; cursor: pointer; line-height: 0; color: var(--black); }
.antos-currency img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.antos-currency.is-text { border-radius: 999px; border-color: var(--light-border); padding: 5px 10px; line-height: 1.2; }
.antos-currency-code { font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.antos-currency.is-active { border-color: var(--accent-purple); }
.antos-currency.is-text.is-active { background: rgba(97, 57, 251, .08); }
.antos-currency:focus-visible { outline: 2px solid var(--accent-purple); outline-offset: 2px; }

/* Phones: each method is a card (label left, value right), so the whole table fits without sideways scrolling. */


/* Market News */
.antos-news { display: flex; flex-direction: column; gap: 36px; }
.antos-news-status[hidden] { display: none; }
.antos-news-card { display: flex; flex-direction: column; gap: 14px; color: inherit; text-decoration: none; }
.antos-news-image { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--secondary-white); }
.antos-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.antos-news-card:hover .antos-news-image img { transform: scale(1.04); }
.antos-news-meta { color: rgba(0, 0, 0, .62); font-size: 13px; }
.antos-news-title { color: var(--black); font-size: 19px; font-weight: 500; line-height: 1.35; margin-top: 6px; }
.antos-news-summary { font-size: 15px; margin: 8px 0 0; }
.antos-news-card.is-lead { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.antos-news-card.is-lead .antos-news-title { font-size: 30px; }
.antos-news-card.is-lead .antos-news-summary { font-size: 17px; }
.antos-news-row-holder { display: flex; flex-direction: column; gap: 12px; }
.antos-news-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.antos-news-row > * { scroll-snap-align: start; }
.antos-news-controls { display: flex; justify-content: flex-end; gap: 8px; }
.antos-news-scroll { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--light-border); background: var(--primary-white); cursor: pointer; font-size: 18px; }
.antos-news-grid, .antos-news-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.antos-news-more { display: none; }
.antos-news.is-expanded .antos-news-more { display: grid; }
.antos-news-toggle-holder { display: flex; justify-content: center; }
.antos-news-more-toggle[hidden] { display: none; }

/* Widgets */
.antos-widget { display: flex; flex-direction: column; gap: 32px; }
.antos-widget-body { display: grid; grid-template-columns: minmax(0, 500px) minmax(0, 1fr); gap: 40px; align-items: start; }
.antos-widget-body.is-reverse .antos-widget-preview { order: 2; }
.antos-widget-preview { border: 1px solid var(--light-border); border-radius: 12px; overflow: hidden; background: var(--primary-white); }
.antos-widget-preview iframe { display: block; width: 100%; border: 0; }
.antos-widget-form { display: flex; flex-direction: column; gap: 22px; }
.antos-widget-step { display: grid; grid-template-columns: 36px 1fr; gap: 14px; }
.antos-step-number { width: 36px; height: 36px; border-radius: 50%; background: var(--button-color); color: var(--primary-white); display: flex; align-items: center; justify-content: center; font-weight: 500; }
.antos-step-body .input-field { width: 100%; margin: 0; border-radius: 10px; }
.antos-options { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.antos-options-stacked { flex-direction: column; }
.antos-widget-id[hidden], .antos-widget-enter[hidden], .antos-widget-copy-hint[hidden], .antos-widget-code[hidden] { display: none; }
.antos-widget-code { display: block; width: 100%; margin-top: 10px; text-align: left; border: 1px dashed var(--light-border); border-radius: 10px; background: var(--secondary-white); padding: 14px; cursor: pointer; }
.antos-widget-code code { display: block; font-size: 13px; word-break: break-all; color: var(--black); }
.antos-widget-copied { display: block; margin-top: 8px; font-size: 13px; color: var(--accent-purple); }

/* Technical Events */
.antos-tabs-main > .plan-tab-holder { margin-bottom: 30px; }
.antos-events { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 20px; }
.antos-event { border: 1px solid var(--light-border); border-radius: 12px; background: var(--primary-white); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.antos-event-image { border-radius: 8px; overflow: hidden; background: #0b0d17; }
.antos-event-image img { width: 100%; display: block; }
.antos-event p { margin: 0; font-size: 16px; }

/* Account Type cards: the full Antos specification */
.antos-account { align-items: stretch; width: 100%; }
.antos-spec { margin: 18px 0 24px; }
.antos-spec li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--light-border); font-size: 15px; }
.antos-spec li:last-child { border-bottom: 0; }
.antos-spec-label { color: rgba(0, 0, 0, .6); }
.antos-spec-value { color: var(--black); font-weight: 500; text-align: right; }

/* Homepage Mid-Autumn banner */
.antos-festival { position: relative; overflow: hidden; border-radius: 16px; min-height: 440px; display: flex; align-items: center; justify-content: flex-start; background: #0b1630; }
.antos-festival-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.antos-festival-figure { position: absolute; right: 4%; bottom: 0; height: 92%; width: auto; max-width: 45%; object-fit: contain; }
.antos-festival-text { position: relative; z-index: 1; max-width: 520px; padding: 48px; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.antos-festival-text p { color: rgba(255, 255, 255, .88); font-size: 18px; margin: 0; }
.antos-festival-rule { width: 220px; height: auto; }
.antos-festival::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 22, 48, .85), rgba(11, 22, 48, 0) 70%); }
.antos-festival-figure, .antos-festival-text { z-index: 1; }

@media screen and (max-width: 991px) {
  .antos-dividend-layout { grid-template-columns: 1fr; }
  .antos-dividend-filters { position: static; }
  .antos-widget-body { grid-template-columns: 1fr; }
  .antos-widget-body.is-reverse .antos-widget-preview { order: 0; }
  .antos-news-card.is-lead { grid-template-columns: 1fr; gap: 18px; }
  .antos-news-grid, .antos-news-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 767px) {
  .antos-events { grid-template-columns: 1fr; }
  .antos-news-grid, .antos-news-more { grid-template-columns: 1fr; }
  .antos-news-row { grid-auto-columns: 82%; }
  .antos-news-card.is-lead .antos-news-title { font-size: 23px; }
  .antos-table { font-size: 14px; }
  .antos-table th, .antos-table td { padding: 11px 12px; }
  .antos-festival { min-height: 0; }
  .antos-festival-figure { opacity: .35; max-width: 70%; }
  .antos-festival-text { padding: 32px 24px; max-width: none; }
  .antos-dividend-range .antos-field { min-width: 0; flex: 1 1 140px; }
  .antos-range-arrow { display: none; }
}

.antos-full { width: 100%; }
.antos-compare .antos-table tbody th { position: static; background: none; color: rgba(0, 0, 0, .6); font-weight: 400; }
.antos-compare .antos-table td { font-weight: 500; }

/* ---------- Layout for text-heavy pages ----------
   Cards keep their content at the top (not vertically centred) so cards with different text lengths
   line up; grids with 2 or 4 cards use 2 columns instead of leaving gaps in a 3-column grid;
   long copy keeps a readable line length. */

/* Feature cards (About, Deposit policy, Technical Events, tool guides). */
.icon-box.streched {
  align-items: flex-start;
  grid-column-gap: 20px;
  grid-row-gap: 20px;
}

.icon-box.streched > .feature-box-content-holder {
  flex: 1 1 auto;
  min-width: 0;
}

.icon-box.streched > .feature-icon-holder {
  flex: none;
}

.about-benefit-grid:has(> :nth-child(2):last-child),
.about-benefit-grid:has(> :nth-child(4):last-child) {
  grid-template-columns: 1fr 1fr;
}

/* Team members and Core Values: the details card sat 160px over the image and covered it;
   show the image in full, then the text, with every card in a row the same height. */
.team-list > .w-dyn-item {
  display: flex;
}

.team-item {
  border: 1px solid var(--light-border);
  border-radius: 12px;
  padding: 0 0 0;
  overflow: hidden;
}

.team-item .team-link {
  border-radius: 0;
}

.team-item .cms-image {
  border-radius: 0;
  display: block;
}

.team-item .team-details-card:not(.detail-page-team-card) {
  width: 100%;
  margin-top: 0;
  border-radius: 0;
  flex: 1 1 auto;
  padding: 22px 24px 26px;
}

.team-item .team-info-holder {
  justify-content: flex-start;
  gap: 4px;
}

.team-item .team-bio {
  margin-top: 12px;
  line-height: 1.65;
}

/* Two-part blocks such as Regulation: title on the left, text on the right, both left-aligned. */
.center-content:has(> .antos-prose) {
  align-items: flex-start;
  gap: 60px;
}

.center-content:has(> .antos-prose) > .title-holder {
  align-items: flex-start;
  text-align: left;
  flex: 0 1 420px;
}

/* Long centred intros (tagged antos-long-text) read better left-aligned in a centred column. */
.subtitle-text.antos-long-text {
  text-align: left;
  font-size: 19px;
  line-height: 1.7;
}

/* Rich text outside the article column (policies, tool guides) keeps a readable line length. */
.center-layout .w-richtext,
.center-layout > .antos-prose {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Articles: headings in proportion to the 17px body text, and clearer spacing between sections. */
.title.antos-article-title {
  font-size: 52px;
  line-height: 1.15;
}

.blog-content .w-richtext :is(h2:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h2)),
.blog-content .w-richtext :is(h3:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h3)) {
  font-size: 30px;
  line-height: 1.25;
  margin-top: 1.7em;
  margin-bottom: .55em;
}

.blog-content .w-richtext :is(h4:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h4)),
.blog-content .w-richtext :is(h5:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h5)) {
  font-size: 22px;
  line-height: 1.3;
  margin-top: 1.4em;
  margin-bottom: .5em;
}

.blog-content .w-richtext p {
  margin-bottom: 1.1em;
}

.blog-content .w-richtext ul,
.blog-content .w-richtext ol {
  padding-left: 1.4em;
  margin-bottom: 1.4em;
}

.blog-content .w-richtext li {
  margin-bottom: .45em;
}

/* The template crops every cover image into a fixed 800px box; show the whole image (charts included)
   at up to 520px tall instead. */
.blog-details-holder .blog-detail-main-image-holder {
  height: auto;
  background: var(--secondary-white);
  border-radius: 12px;
}

.blog-details-holder .blog-details-main-image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
}

@media screen and (max-width: 991px) {
  .center-content:has(> .antos-prose) {
    flex-direction: column;
    gap: 24px;
  }

  .center-content:has(> .antos-prose) > .title-holder {
    flex-basis: auto;
  }

  .title.antos-article-title {
    font-size: 40px;
  }
}

@media screen and (max-width: 767px) {
  .about-benefit-grid:has(> :nth-child(2):last-child),
  .about-benefit-grid:has(> :nth-child(4):last-child) {
    grid-template-columns: 1fr;
  }

  .subtitle-text.antos-long-text {
    font-size: 17px;
  }

  .title.antos-article-title {
    font-size: 32px;
  }

  .blog-content .w-richtext :is(h2:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h2)),
  .blog-content .w-richtext :is(h3:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h3)) {
    font-size: 24px;
  }

  .blog-content .w-richtext :is(h4:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h4)),
  .blog-content .w-richtext :is(h5:not(:where(.ap-h1,.ap-h2,.ap-h3,.ap-h4,.ap-h5,.ap-h6)),:where(.ap-h5)) {
    font-size: 19px;
  }
}

/* Dark feature cards (Platform Trading): the absolutely positioned screenshot could overlap the card title. */
.card-container .card-content-holder {
  z-index: 2;
}

/* The bright streak in the gradient artwork sat behind white text (newsletter banner, dark heroes);
   a light navy tint keeps the look but lets the white text stand out over the streak. */
.sign-up-wrapper {
  background-image: linear-gradient(rgba(8, 14, 48, .42), rgba(8, 14, 48, .2) 60%, rgba(8, 14, 48, 0)),
    url("../img/66b78300a72952153bfbcf9d_Gradient-Background.webp");
}

.sign-up-wrapper .white-text {
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}

.black-section .hero-dark-glow {
  filter: brightness(.72);
}

/* ========== Responsive and usability pass (phones and tablets) ==========
   Bigger tap areas, readable menu and footer text, form fields sized for thumbs. */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
:where(a, button, input, select, textarea, .w-dropdown-toggle, [role="button"]):focus-visible {
  outline: 2px solid #2c4bff;
  outline-offset: 3px;
}

@media screen and (max-width: 991px) {
  /* Mobile menu: 14px items were small; give every row a full thumb-sized target. */
  .w-nav-menu .dropdown-toggle.w-dropdown-toggle { font-size: 17px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .w-nav-menu .nav-link { font-size: 16px; min-height: 44px; display: flex; align-items: center; }
  .w-nav-menu .nav-active-link-holder { font-size: 17px; min-height: 48px; display: flex; align-items: center; justify-content: center; }
  .menu-button.w-nav-button { min-width: 44px; min-height: 44px; }

  /* Footer: links were 22px tall, social icons 20px wide. */
  .footer-link { font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
  .social-media-icon { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .copyright-link { display: inline-block; padding: 8px 0; }
}

@media screen and (max-width: 767px) {
  /* Form fields: 16px text stops iOS from zooming in, and taller fields are easier to tap. */
  .input-field, .sign-up-email, .w-input, .w-select { font-size: 16px; min-height: 48px; }
  .input-field.message-field { min-height: 140px; }
  .button.w-button, .w-button { min-height: 48px; }
}

/* Dividend tool: currency flags and Reset were small targets on touch screens. */
@media screen and (max-width: 991px) {
  .antos-currency { min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
  .antos-dividend-reset { min-height: 44px; padding: 8px 12px; }
}

/* ========== Market range: two clear selection steps and one "About this market" card per category ========== */
.antos-market-step { display: flex; flex-direction: column; gap: 12px; }
.antos-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--black);
  font-size: 15px;
  font-weight: 600;
}
.antos-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--button-color);
  color: var(--primary-white);
  font-size: 13px;
  font-weight: 600;
}
.antos-market-substep {
  position: relative;
  margin-left: 12px;
  padding: 16px 20px;
  border-left: 3px solid var(--accent-purple);
  border-radius: 0 14px 14px 0;
  background: #f4f1ff;
}
.antos-market-substep[hidden] { display: none; }
.antos-market-substep .antos-step-num { background: var(--accent-purple); }
.antos-pills .tab-button.pricing-category.antos-subtab { padding: 7px 16px; font-size: 14px; }
.antos-pills .tab-button.pricing-category.antos-subtab.w--current {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: var(--primary-white);
}
.antos-market-current { margin: 0 0 -10px; color: rgba(0, 0, 0, .6); font-size: 14px; }
.antos-market-current strong { color: var(--black); font-weight: 600; }
.antos-market-current-sep { color: var(--accent-purple); font-weight: 600; }

.antos-market-description {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--light-border);
  border-radius: 16px;
  background: var(--secondary-white);
}
.antos-market-description-img {
  display: block;
  width: 132px;
  height: 132px;
  border-radius: 12px;
  object-fit: cover;
}
.antos-market-kicker {
  margin: 0 0 4px;
  color: var(--accent-purple);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.antos-market-description .title { margin-bottom: 6px; font-size: 24px; }
.antos-market-description p:not(.antos-market-kicker) { color: rgba(0, 0, 0, .72); line-height: 1.65; }

/* ========== Legal documents: visible list of every document beside the open one ========== */
.antos-legal-label { color: var(--black); font-size: 15px; font-weight: 600; }
#legal-select {
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--button-color);
  border-radius: 12px;
  background-color: var(--primary-white);
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
}
.antos-legal-documents.has-nav {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.antos-legal-nav {
  position: sticky;
  top: 110px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 16px;
  border: 1px solid var(--light-border);
  border-radius: 16px;
  background: var(--secondary-white);
}
.antos-legal-nav-title {
  margin: 0 0 8px;
  padding: 0 12px;
  color: rgba(0, 0, 0, .55);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.antos-legal-nav ul { margin: 0; padding: 0; list-style: none; }
.antos-legal-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--black);
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.antos-legal-nav a:hover { background: var(--primary-white); }
.antos-legal-nav a.is-active,
.antos-legal-nav a.is-active:hover { background: var(--button-color); color: var(--primary-white); }
.has-nav .antos-legal-document { max-width: none; margin: 0 0 60px; }

@media screen and (min-width: 992px) {
  body:has(.antos-legal-documents.has-nav) .antos-legal-controls { display: none; }
}
@media screen and (max-width: 991px) {
  .antos-legal-documents.has-nav { display: block; }
  .antos-legal-nav { display: none; }
}
@media screen and (max-width: 767px) {
  .antos-market-description { grid-template-columns: 1fr; }
  .antos-market-description-img { width: 100%; height: 160px; }
  .antos-market-substep { margin-left: 0; }
}
.antos-market-substep.antos-market-select-holder { max-width: none; align-self: flex-start; }
.antos-market-subtabs { gap: 8px; }

/* platform-trading: light, edge-faded images shown whole (page-only classes) */
.card-image.ap-pt-img { object-fit: contain; }
.tab-dashboard.ap-pt-img { border: 0; }
.card-image-holder.ap-pt-card-holder { padding: 24px; align-items: center; justify-content: center; }
.card-image._02.ap-pt-card-img { position: static; inset: auto; display: block; width: 100%; max-width: 100%; height: 100%; max-height: 560px; object-fit: contain; }
.card-dashboard-holder.ap-pt-hero { position: absolute; inset: 24px; width: auto; display: flex; align-items: center; justify-content: center; overflow: visible; }
.card-dashboard-holder.ap-pt-hero .card-image.ap-pt-img { width: 100%; height: 100%; object-fit: contain; }

/* ========== Filter chips and tab rows on phones ==========
   Wrapped chip groups stacked into 3-5 ragged centred rows. On phones they become one
   left-aligned row that swipes sideways; the chip cut off at the edge shows there is more. */
@media screen and (max-width: 767px) {
  .plan-tab-holder.antos-pills, .plan-tab-holder.w-tab-menu {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
  }
  .plan-tab-holder.antos-pills::-webkit-scrollbar, .plan-tab-holder.w-tab-menu::-webkit-scrollbar { display: none; }
  .plan-tab-holder.antos-pills > *, .plan-tab-holder.w-tab-menu > * {
    flex: none;
    white-space: nowrap;
    scroll-snap-align: start;
    margin: 0;
  }
}
/* platform-trading: hide the silver streak glow behind the two hero cards (dark images sit on the plain card) */
.card-holder._02 > .ap-pt-hero ~ .card-gradient { display: none; }

/* ========== Promotion landing pages: lists, benefit text, secondary button ========== */
.antos-list { margin: 16px 0; padding-left: 20px; display: grid; gap: 8px; }
.antos-benefit-text { margin: 8px 0 0; color: var(--grey, #6b6b6b); font-size: 15px; }
.buttons-holder .button + .button { margin-left: 12px; }
.antos-button-secondary { background-color: transparent; color: inherit; border: 1px solid currentColor; }
@media screen and (max-width: 479px) {
  .buttons-holder .button + .button { margin-left: 0; margin-top: 12px; }
  .buttons-holder { display: flex; flex-direction: column; align-items: stretch; }
}

/* Links inside article text stay inline with the sentence. */
.blog-content .w-richtext p a, .blog-content .w-richtext li a { display: inline; }

/* ========== Promotions (live from the Antos promotion service): four across, two on tablets, one on phones ========== */
.cms-grid.antos-promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.antos-promo-grid .cms-image { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; height: auto; }
.antos-home-promos .buttons-holder { justify-content: center; }
@media screen and (max-width: 991px) { .cms-grid.antos-promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (max-width: 479px) { .cms-grid.antos-promo-grid { grid-template-columns: 1fr; } }

/* Strategies and insights: text-only article cards (no pictures). Promotion cards keep their image. */
.cms-grid-item-wrapper > .cms-content-link:not(.megamenu-content):not(:has(.cms-image-holder)) {
  height: 100%; padding: 22px 22px 24px; border: 1px solid var(--light-border); border-radius: 12px;
  background: var(--primary-white); transition: border-color .25s, box-shadow .25s, transform .25s;
}
.cms-grid-item-wrapper > .cms-content-link:not(.megamenu-content):not(:has(.cms-image-holder)):hover {
  border-color: var(--accent-purple); box-shadow: 0 12px 28px rgba(97, 57, 251, .1); transform: translateY(-2px);
}
.cms-grid-item-wrapper > .cms-content-link:not(:has(.cms-image-holder)) .cms-content-holder { margin-bottom: 0; padding-top: 0; }
.cms-grid-item-wrapper > .cms-content-link:not(:has(.cms-image-holder)) .category-name { color: var(--accent-purple); font-weight: 500; }
.antos-card-summary { margin: 10px 0 0; color: rgba(0, 0, 0, .62); font-size: 15px; line-height: 1.6; }
.cms-grid:has(> .cms-grid-item-wrapper > .cms-content-link:not(:has(.cms-image-holder))) { align-items: stretch; }
.sidebar-blog-holder .cms-grid-item-wrapper + .cms-grid-item-wrapper { margin-top: 12px; }

/* Platform trading download buttons */
.ap-pt-dl { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ap-pt-dl.center { justify-content: center; }
.ap-pt-dl .button + .button { margin-left: 0; margin-top: 0; }
@media screen and (max-width: 479px) { .ap-pt-dl { flex-direction: column; align-items: stretch; } }

/* Market range: Daily Change column (signed %, green up / red down). */
.antos-change { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 500; color: rgba(0, 0, 0, .55); }
.antos-change.is-up { color: #0b7a4b; }
.antos-change.is-down { color: #d6303f; }
/* Phones: all five columns fit 375px without sideways scrolling (tighter padding, smaller type, wrapped headers). */
@media screen and (max-width: 767px) {
  .antos-market-table { font-size: 13px; table-layout: auto; }
  .antos-market-table th, .antos-market-table td { padding: 11px 5px; }
  .antos-market-table th { white-space: normal; line-height: 1.25; font-size: 12px; vertical-align: bottom; }
  .antos-market-table th:first-child, .antos-market-table td:first-child { padding-left: 10px; }
  .antos-market-table th:last-child, .antos-market-table td:last-child { padding-right: 10px; text-align: right; }
  .antos-market-table .antos-table-empty { text-align: center !important; }
  .antos-market-table .antos-symbol { word-break: break-word; }
  .antos-market-table .antos-price-big { font-size: 1.18em; }
}

/* Payment methods: method name next to its logo, shown only on phone cards. */
.antos-psp-caption { display: none; }


/* Dividend calendar on phones: each payment is a card under its day heading, every value labelled. */
@media screen and (max-width: 767px) {
  .antos-dividend .antos-table-wrap { overflow: visible; max-height: none; border: 0; border-radius: 0; background: none; }
  .antos-dividend .antos-table thead { display: none; }
  .antos-dividend .antos-table, .antos-dividend .antos-table tbody { display: block; width: 100%; }
  .antos-dividend .antos-table-group { display: block; }
  .antos-dividend .antos-table-group th { display: block; text-align: left; background: none; border: 0; padding: 14px 2px 8px; font-size: 14px; font-weight: 600; white-space: normal; }
  .antos-dividend .antos-table tbody tr:first-child.antos-table-group th { padding-top: 0; }
  .antos-dividend tr.antos-dividend-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr) minmax(0, 1.15fr); gap: 12px 10px; margin-bottom: 10px; padding: 14px 16px; border: 1px solid var(--light-border); border-radius: 12px; background: var(--primary-white); }
  .antos-dividend tr.antos-dividend-row td { display: block; padding: 0; border: 0; min-width: 0; text-align: left; background: none; box-shadow: none; font-size: 14px; }
  .antos-dividend tr.antos-dividend-row td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 3px; color: rgba(0, 0, 0, .55); font-size: 12px; font-weight: 400; line-height: 1.3; }
  .antos-dividend td.antos-dividend-company { grid-column: 1 / 3; grid-row: 1; align-self: center; font-weight: 600; font-size: 15px; }
  .antos-dividend td.antos-dividend-company::before { display: none !important; }
  .antos-dividend td.antos-dividend-company span { overflow-wrap: anywhere; }
  .antos-dividend td.antos-dividend-amount { grid-column: 3; grid-row: 1; text-align: right; font-weight: 600; font-size: 15px; }
  .antos-dividend td.antos-dividend-amount small { font-weight: 400; color: rgba(0, 0, 0, .6); }
  .antos-dividend td.antos-dividend-amount::before { white-space: nowrap; }
  .antos-dividend td.antos-dividend-date { grid-column: 1; }
  .antos-dividend td.antos-dividend-left { grid-column: 2; }
  .antos-dividend td.antos-dividend-country { grid-column: 3; text-align: right; }
  .antos-dividend tr.antos-dividend-row td.antos-dividend-date, .antos-dividend tr.antos-dividend-row td.antos-dividend-left, .antos-dividend tr.antos-dividend-row td.antos-dividend-country { grid-row: 2; padding-top: 10px; border-top: 1px solid var(--light-border); }
  .antos-dividend tr.is-past { opacity: .6; }
  .antos-dividend tr.is-past td { opacity: 1; }
  .antos-dividend tr.is-next { border-color: #d6303f; box-shadow: inset 3px 0 0 #d6303f; background: rgba(97, 57, 251, .04); }
  .antos-dividend tr.is-next td, .antos-dividend tr.is-next td:first-child { background: none; box-shadow: none; }
  .antos-dividend .antos-table tbody tr:hover td { background: none; }
  .antos-dividend .antos-table-empty { display: block; border: 1px solid var(--light-border) !important; border-radius: 12px; background: var(--primary-white); }
}
/* Very narrow phones (e.g. 320px): a little tighter still, so the table never needs to scroll. */
@media screen and (max-width: 379px) {
  .antos-market-table { font-size: 12px; }
  .antos-market-table th { font-size: 11px; }
  .antos-market-table th, .antos-market-table td { padding: 10px 3px; }
  .antos-market-table th:first-child, .antos-market-table td:first-child { padding-left: 8px; }
  .antos-market-table th:last-child, .antos-market-table td:last-child { padding-right: 8px; }
  .antos-market-table .antos-price-big { font-size: 1.1em; }
}

/* ---------- Current page in the header (nav-current.js) ---------- */
/* The dropdown heading for the section you are in turns purple with a bar under it, and the page's own
   link inside the dropdown is purple and bold. */
.nav-menu .dropdown-toggle.antos-nav-current,
.nav-menu .dropdown-toggle.antos-nav-current .nav-link-text { color: var(--accent-purple); font-weight: 600; }
.nav-menu .nav-link.antos-nav-current,
.nav-menu .nav-link.antos-nav-current:hover,
.nav-menu .nav-link.antos-nav-current .nav-link-text { color: var(--accent-purple); font-weight: 600; }
@media screen and (min-width: 992px) {
  .nav-menu .dropdown-toggle.antos-nav-current { position: relative; }
  .nav-menu .dropdown-toggle.antos-nav-current::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    height: 2px;
    border-radius: 2px;
    background: var(--accent-purple);
  }
}

/* ---------- Promotion pages (Smarter Tools, Maximize Your Earnings) ---------- */
/* Hero: the device render centred under the title at a size that does not leave a gap before the next section. */
.antos-promo-hero { max-width: 560px; margin-left: auto; margin-right: auto; }
.antos-promo-hero .feature-image { border-radius: 0; }
/* The render's soft glow fades out at the edges instead of ending in a hard rectangle. */
.antos-promo-hero img[src*="maximize-your-earnings-today"] { -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
/* Text and picture side by side, vertically centred. */
.antos-promo-feature { align-items: center; }
.antos-promo-feature .feature-image-holder._03 { max-width: 540px; }
.antos-promo-feature .feature-image { width: 100%; height: auto; }
/* Benefits: numbered cards with a purple badge and a top accent line. */
.antos-promo-benefits { counter-reset: promo-benefit; }
.antos-promo-benefits .feature-icon-box {
  padding: 28px 24px;
  border: 0;
  border-top: 3px solid var(--accent-purple);
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 10px 30px rgba(17, 12, 46, .06);
}
.antos-promo-benefits .feature-box-content-holder::before {
  counter-increment: promo-benefit;
  content: counter(promo-benefit, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  background-color: rgba(97, 57, 251, .1);
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 15px;
}
@media screen and (max-width: 767px) {
  .antos-promo-hero { max-width: 360px; margin-top: 24px; }
  .antos-promo-feature .feature-image-holder._03 { max-width: 420px; margin: 0 auto; }
  .antos-promo-benefits .feature-icon-box { padding: 22px 20px; }
}

/* Market Range without step labels: the account, category and group buttons stay as three layers,
   the group layer in its purple panel. Labels remain for screen readers only; the
   "Showing: account › category › group" line is not shown. */
.antos-market-step > .antos-step-label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.antos-market-step { gap: 0; }
.antos-market-substep { padding: 14px 18px; }
.antos-market-current { display: none; }

/* ---------- Future of Traders Growth: "Not Just Funding. A Full Trading Ecosystem." ----------
   One spacing rhythm (40px between blocks, 20px between cards), six equal numbered cards,
   and the "Climb ranks to unlock" list in its own white panel with two columns. */
.antos-eco .center-layout { gap: 40px; }
.antos-eco .title-holder { margin-bottom: 0; max-width: none; }
.antos-eco .subtitle-text-holder { max-width: 680px; margin-left: auto; margin-right: auto; }
.antos-eco .subtitle-text-holder { margin-top: 16px; }
.antos-eco-grid { gap: 20px; grid-auto-rows: 1fr; }
.antos-eco-grid .feature-icon-box { height: 100%; padding: 0; border: 0; background: none; }
.antos-eco-grid .icon-box.streched {
  height: 100%;
  padding: 24px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 16px;
  background: var(--primary-white);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.antos-eco-grid .icon-box.streched:hover {
  border-color: rgba(97, 57, 251, .35);
  box-shadow: 0 10px 30px rgba(97, 57, 251, .08);
  transform: translateY(-2px);
}
.antos-eco-grid .feature-box-content-holder { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.antos-eco-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #f4f1ff;
  color: var(--accent-purple);
  font-family: IBM Plex Mono, sans-serif;
  font-size: 13px;
  font-weight: 600;
}
.antos-eco-grid .card-title.small { margin: 0; font-size: 19px; line-height: 1.35; }
.antos-eco-unlock {
  width: 100%;
  padding: 32px 36px;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 20px;
  background: var(--primary-white);
  text-align: left;
}
.antos-eco-unlock-title { margin: 0 0 20px; font-size: 24px; font-weight: 500; line-height: 1.3; }
.antos-eco-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  margin: 0;
}
.antos-eco-list .pricing-list-item { margin: 0; align-items: center; color: var(--black); font-size: 16px; }
@media screen and (max-width: 991px) {
  .antos-eco-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media screen and (max-width: 767px) {
  .antos-eco .center-layout { gap: 32px; }
  .antos-eco-grid { gap: 12px; }
  .antos-eco-grid .icon-box.streched { padding: 18px; }
  .antos-eco-grid .feature-box-content-holder { gap: 10px; }
  .antos-eco-num { width: 30px; height: 30px; font-size: 12px; border-radius: 8px; }
  .antos-eco-grid .card-title.small { font-size: 16px; }
  .antos-eco-unlock { padding: 24px 20px; }
  .antos-eco-unlock-title { font-size: 20px; margin-bottom: 16px; }
  .antos-eco-list { grid-template-columns: 1fr; gap: 12px; }
  .antos-eco-list .pricing-list-item { font-size: 15px; }
}
@media screen and (max-width: 479px) {
  .antos-eco-grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .antos-eco-grid .feature-box-content-holder { flex-direction: row; align-items: center; gap: 14px; }
}

/* Technical Events: five cards per row on desktop (four, three, two, then one as the screen narrows). Pictures are
   shorter and descriptions are clamped to five lines with a "Read more" toggle (te-readmore.js). */
.antos-events { grid-template-columns: 1fr; gap: 16px; }
@media screen and (min-width: 560px) { .antos-events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media screen and (min-width: 768px) { .antos-events { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media screen and (min-width: 992px) { .antos-events { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media screen and (min-width: 1200px) { .antos-events { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media screen and (min-width: 1680px) { .antos-events { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.antos-event { padding: 14px; gap: 10px; }
.antos-event-image { aspect-ratio: 4 / 3; background: #fff; border: 1px solid var(--light-border); }
.antos-event-image img { height: 100%; object-fit: contain; }
.antos-event .card-title { font-size: 17px; line-height: 1.3; }
.antos-event p { font-size: 14px; line-height: 1.55; }
.te-clamp:not(.is-open) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.antos-event .te-more { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--accent-purple); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.antos-event .te-more:hover { text-decoration: underline; }

/* Research Desk analysts: each team is a collapsed accordion card (team-accordion.js toggles .is-open and
   aria-expanded). The collapsed state only applies once JS is running (html.w-mod-js), so without JS every
   team shows. Inside, analysts sit in an even grid of same-size cards. */
.antos-team-accs-wrap { width: 100%; margin-top: 30px; }
.antos-team-accs { display: flex; flex-direction: column; gap: 16px; width: 100%; }
.antos-team-acc {
  background-color: var(--primary-white);
  border: 1px solid var(--light-border);
  border-radius: var(--normal-card-border, 15px);
  overflow: hidden;
  transition: border-color .3s ease, box-shadow .3s ease;
}
.antos-team-acc.is-open { box-shadow: 0 12px 32px rgba(23, 28, 56, .06); }
.antos-team-acc__heading { margin: 0; font-size: inherit; line-height: inherit; }
.antos-team-acc__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  width: 100%; margin: 0; padding: 24px 28px;
  background: transparent; border: 0; border-radius: 0;
  color: var(--black); font: inherit; text-align: left; cursor: pointer;
  transition: background-color .25s ease;
}
.antos-team-acc__btn:hover { background-color: var(--secondary-white); }
.antos-team-acc__btn:focus-visible { outline: 2px solid var(--accent-purple); outline-offset: -4px; border-radius: var(--normal-card-border, 15px); }
.antos-team-acc__label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; min-width: 0; }
.antos-team-acc__name { font-size: 26px; font-weight: 400; line-height: 1.25; }
.antos-team-acc__count {
  padding: 3px 12px; border: 1px solid var(--light-border); border-radius: 100px;
  background-color: var(--secondary-white); color: var(--paragraph-text-color);
  font-size: 13px; line-height: 1.5; white-space: nowrap;
}
.antos-team-acc__icon {
  position: relative; flex: none; width: 40px; height: 40px; border-radius: 100px;
  background-color: var(--black); transition: background-color .35s ease, transform .35s ease;
}
.antos-team-acc__icon::before,
.antos-team-acc__icon::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px;
  border-radius: 2px; background-color: var(--primary-white); transition: transform .35s ease;
}
.antos-team-acc__icon::after { transform: rotate(90deg); }
.antos-team-acc__btn:hover .antos-team-acc__icon { background-color: var(--button-color); }
.antos-team-acc.is-open .antos-team-acc__icon { background-color: var(--accent-purple); transform: rotate(180deg); }
.antos-team-acc.is-open .antos-team-acc__icon::after { transform: rotate(0deg); }

.antos-team-acc__panel { display: grid; grid-template-rows: 1fr; }
.antos-team-acc__inner { min-height: 0; overflow: hidden; }
.w-mod-js .antos-team-acc__panel {
  grid-template-rows: 0fr; opacity: 0; visibility: hidden;
  transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1), opacity .3s ease, visibility 0s linear .45s;
}
.w-mod-js .antos-team-acc.is-open .antos-team-acc__panel {
  grid-template-rows: 1fr; opacity: 1; visibility: visible;
  transition: grid-template-rows .45s cubic-bezier(.4, 0, .2, 1), opacity .4s ease .05s, visibility 0s;
}
.antos-team-acc .team-members-holder { padding: 4px 28px 28px; }
.antos-team-acc .team-members-holder::before {
  content: ""; display: block; height: 1px; margin-bottom: 28px; background-color: var(--light-border);
}

.antos-team-acc .team-list { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: none; gap: 24px; }
.antos-team-acc .team-list > .w-dyn-item { display: flex; min-width: 0; }
.antos-team-acc .team-item {
  align-items: stretch; height: 100%; padding: 0;
  border: 1px solid var(--light-border); border-radius: 12px; background-color: var(--primary-white);
}
.antos-team-acc .team-item .team-link {
  flex: none; aspect-ratio: 4 / 3; height: auto; border-radius: 0; background-color: var(--secondary-white);
}
.antos-team-acc .team-item .cms-image { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.antos-team-acc .team-item .team-details-card:not(.detail-page-team-card) { padding: 20px 22px 24px; background: none; }
.antos-team-acc .team-item .team-info-holder { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; }
.antos-team-acc .team-name { font-size: 21px; line-height: 1.3; }
.antos-team-acc .job-position { color: var(--accent-purple); font-size: 13px; font-weight: 500; line-height: 1.4; }
.antos-team-acc .team-item .team-bio { margin-top: 10px; font-size: 14.5px; line-height: 1.65; }

@media screen and (max-width: 991px) {
  .antos-team-acc .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .antos-team-acc__name { font-size: 22px; }
}
@media screen and (max-width: 767px) {
  .antos-team-accs-wrap { margin-top: 10px; }
  .antos-team-accs { gap: 12px; }
  .antos-team-acc__btn { padding: 18px 18px 18px 20px; gap: 14px; }
  .antos-team-acc__label { flex-direction: column; align-items: flex-start; gap: 6px; }
  .antos-team-acc__name { font-size: 19px; }
  .antos-team-acc__count { font-size: 12px; padding: 2px 10px; }
  .antos-team-acc__icon { width: 34px; height: 34px; }
  .antos-team-acc__icon::before, .antos-team-acc__icon::after { width: 12px; margin-left: -6px; }
  .antos-team-acc .team-members-holder { padding: 0 14px 14px; }
  .antos-team-acc .team-members-holder::before { margin: 0 6px 14px; }
  .antos-team-acc .team-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  /* Phone: small square photo beside name and role, bio full width underneath. */
  .antos-team-acc .team-item {
    display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto auto;
    column-gap: 14px; padding: 16px;
  }
  .antos-team-acc .team-item .team-details-card:not(.detail-page-team-card),
  .antos-team-acc .team-item .team-info-holder { display: contents; }
  .antos-team-acc .team-item .team-link { grid-column: 1; grid-row: 1 / 3; width: 76px; aspect-ratio: 1 / 1; border-radius: 10px; }
  .antos-team-acc .team-name { grid-column: 2; grid-row: 1; align-self: end; font-size: 18px; }
  .antos-team-acc .job-position { grid-column: 2; grid-row: 2; align-self: start; margin-top: 2px; }
  .antos-team-acc .team-item .team-bio { grid-column: 1 / -1; grid-row: 3; margin-top: 14px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .antos-team-acc, .antos-team-acc__icon, .antos-team-acc__icon::before, .antos-team-acc__icon::after,
  .w-mod-js .antos-team-acc__panel, .w-mod-js .antos-team-acc.is-open .antos-team-acc__panel { transition: none; }
}

/* ---------- About us ---------- */
/* Links inside body text (Company Profile, Regulation, website section) read as links: bold + underlined. */
.antos-prose a.copyright-link,
.subtitle-text a.copyright-link,
.antos-inline-link {
  display: inline;
  font-size: inherit;
  font-weight: 600;
  color: var(--black);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color .25s;
}
.antos-prose a.copyright-link:hover,
.subtitle-text a.copyright-link:hover,
.antos-inline-link:hover { color: var(--accent-purple); opacity: 1; }

/* Core Values: icon cards (no photos), icon beside the title, 3 + 2 cards centred. */
.antos-values .team-list { grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: auto; gap: 24px; }
.antos-values .team-list > .w-dyn-item { grid-column: span 2; display: flex; }
.antos-values .team-list > .w-dyn-item:nth-child(4) { grid-column: 2 / span 2; }
.antos-values .team-item { padding-bottom: 0; background: none; height: 100%; }
.antos-values .team-item .team-details-card:not(.detail-page-team-card) { width: 100%; height: 100%; margin-top: 0; padding: 28px 26px 30px; border: 1px solid var(--light-border); border-radius: 14px; transition: border-color .25s, transform .25s; }
.antos-values .team-item .team-details-card:hover { border-color: var(--accent-purple); transform: translateY(-3px); }
.antos-values .team-info-holder { gap: 16px; }
.antos-value-head { display: flex; align-items: center; gap: 16px; }
.antos-value-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(97, 57, 251, .1); color: var(--accent-purple); }
.antos-values .team-name { font-size: 22px; line-height: 1.2; }
.antos-values .job-position { margin-top: 2px; }
.antos-values .team-bio { font-size: 15px; line-height: 1.6; margin-bottom: 0; }
@media screen and (max-width: 991px) {
  .antos-values .team-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .antos-values .team-list > .w-dyn-item, .antos-values .team-list > .w-dyn-item:nth-child(4) { grid-column: auto; }
  .antos-values .team-list > .w-dyn-item:nth-child(5) { grid-column: 1 / -1; max-width: calc(50% - 12px); justify-self: center; }
}
@media screen and (max-width: 767px) {
  .antos-values .team-list { grid-template-columns: 1fr; gap: 16px; }
  .antos-values .team-list > .w-dyn-item:nth-child(5) { max-width: none; }
  .antos-values .team-item .team-details-card:not(.detail-page-team-card) { padding: 22px 20px 24px; }
  .antos-value-icon { width: 48px; height: 48px; }
}

/* Contact / website section (same structure as the other designs): heading, then a details table and a text card. */
.antos-site-wrap { width: 100%; }
.antos-site-head { align-items: flex-start; text-align: left; margin-bottom: 40px; }
.antos-site-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.antos-site-card { padding: 8px 28px; border: 1px solid var(--light-border); border-radius: 16px; background: var(--primary-white); box-shadow: 0 10px 30px #171c380a; }
.antos-site-facts { margin: 0; }
.antos-site-facts > div { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--light-border); }
.antos-site-facts > div:last-child { border-bottom: 0; }
.antos-site-facts dt { color: var(--paragraph-text-color); font-size: 15px; font-weight: 400; }
.antos-site-facts dd { margin: 0; color: var(--black); font-size: 15px; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.antos-site-text { padding: 26px 28px; }
.antos-site-text p { margin: 0 0 14px; color: var(--paragraph-text-color); font-size: 16px; line-height: 1.7; }
.antos-site-text p:last-child { margin-bottom: 0; }
@media screen and (max-width: 767px) {
  .antos-site-split { grid-template-columns: 1fr; gap: 16px; }
  .antos-site-card { padding: 4px 20px; }
  .antos-site-text { padding: 20px; }
  .antos-site-facts > div { padding: 14px 0; }
}

/* ---------- Partnerships: Global VIP Partnerships ----------
   Left: intro, benefits checklist and Contact Us. Right: Requirements card with the three
   regional responsibilities numbered, then what AP provides. */
.antos-vip { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; width: 100%; }
.antos-vip-main { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.antos-vip-main .title { margin: 0; text-align: left; }
.antos-vip-lead { margin: 0; color: var(--paragraph-text-color); font-size: 18px; line-height: 1.7; max-width: 560px; }
.antos-vip-list { display: grid; gap: 12px; margin: 6px 0 10px; padding: 0; }
.antos-vip-list .pricing-list-item { align-items: center; font-size: 16px; }
.antos-vip-req { padding: 32px; border: 1px solid var(--light-border); border-top: 4px solid var(--accent-purple); border-radius: 16px; background: var(--secondary-white); }
.antos-vip-req-head p { margin: 8px 0 0; color: var(--paragraph-text-color); font-size: 16px; line-height: 1.6; }
.antos-vip-steps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.antos-vip-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--light-border); border-radius: 12px; background: var(--primary-white); }
.antos-vip-num { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: #6139fb14; color: var(--accent-purple); font-size: 14px; font-weight: 600; }
.antos-vip-step-title { color: var(--black); font-size: 17px; font-weight: 600; line-height: 1.3; }
.antos-vip-steps p, .antos-vip-note p { margin: 4px 0 0; color: var(--paragraph-text-color); font-size: 15px; line-height: 1.6; }
.antos-vip-note { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--light-border); }
@media screen and (max-width: 991px) { .antos-vip { grid-template-columns: 1fr; gap: 36px; } }
@media screen and (max-width: 767px) {
  .antos-vip-req { padding: 22px 18px; }
  .antos-vip-lead { font-size: 16px; }
}

/* Promotion pages (maximize-your-earnings-today, smarter-tools-build-confident-traders, trade-smarter-earn-more,
   pay-by-card-get-more-back): tighter gaps between sections. */
.antos-promo-page .hero-section-holder { padding-top: 7.5em; }
.antos-promo-page .antos-hero-image { margin-top: 24px; }
.antos-promo-page .global-padding { padding-top: 64px; padding-bottom: 64px; }
.antos-promo-page .feature-grid-holder { margin-top: 0; grid-row-gap: 64px; }
.antos-promo-page ._2-column-feature { grid-column-gap: 64px; grid-row-gap: 40px; }
.antos-promo-page .antos-closing { margin-top: 24px; }
.antos-promo-page .sign-up-section { padding-top: 32px; }
@media screen and (max-width: 991px) {
  .antos-promo-page .hero-section-holder { padding-top: 6.5em; }
  .antos-promo-page .global-padding { padding-top: 48px; padding-bottom: 48px; }
}
@media screen and (max-width: 767px) {
  .antos-promo-page .global-padding { padding-top: 40px; padding-bottom: 40px; }
  .antos-promo-page .feature-grid-holder { grid-row-gap: 40px; }
}
.antos-promo-page .section:has(.hero-section-holder) + .section .global-padding { padding-top: 24px; }

/* WikiLicense verification badge (footer) */
.footer-license{margin:20px 0 0;line-height:0}
.footer-license-badge{display:block;width:170px;max-width:100%;height:auto}
@media (max-width:767px){.footer-license-badge{width:150px}}

/* Deposit & Withdrawal: keep the table layout on phones; it scrolls sideways inside its box. */
.antos-psp-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
.antos-psp-table{min-width:640px}
.antos-psp-table th,.antos-psp-table td{white-space:nowrap}
.antos-psp-table td.antos-psp-currencies{white-space:normal}

@media screen and (max-width: 767px) {
  .antos-psp-wrap { overflow-x: visible; }
  .antos-psp-table { min-width: 0; width: 100%; table-layout: fixed; }
  .antos-psp-table th, .antos-psp-table td { padding: 8px 3px; font-size: 11px; line-height: 1.25; white-space: normal; word-break: break-word; text-align: center; }
  .antos-psp-table th { font-size: 9px; }
  .antos-psp-table th:nth-child(1), .antos-psp-table td:nth-child(1) { width: 21%; text-align: left; padding-left: 8px; }
  .antos-psp-table th:nth-child(2), .antos-psp-table td:nth-child(2) { width: 19%; }
  .antos-psp-table th:nth-child(3), .antos-psp-table td:nth-child(3) { width: 20%; }
  .antos-psp-table th:nth-child(4), .antos-psp-table td:nth-child(4) { width: 20%; }
  .antos-psp-table th:nth-child(5), .antos-psp-table td:nth-child(5) { width: 20%; padding-right: 8px; }
  .antos-psp-table .antos-psp-logo { max-width: 100%; height: auto; max-height: 24px; }
  .antos-psp-table td.antos-psp-currencies { justify-content: center; }
  .antos-psp-table .antos-psp-currencies { justify-content: center; gap: 3px; }
  .antos-psp-table .antos-currency img { width: 22px; height: 22px; }
  .antos-psp-table .antos-currency { padding: 1px; }
  .antos-psp-table .antos-currency-code { font-size: 10px; }
  .antos-psp-table .antos-currency.is-text { padding: 2px 5px; }
}

/* ---------- Homepage on phones: hero pictures and the advantages pictures ----------
   Hero: team photo and trader photo side by side at the same size, then the phone app and the account card
   side by side (the template hid the phone and left two uneven columns). The scroll entrance animations
   are switched off here so the pictures never sit half-hidden.
   Advantages: all three pictures (spreads, loyalty, charts) sit in one swipeable row; the template showed only the loyalty one. */
@media screen and (max-width: 767px) {
  .hero-images-container { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: center; }
  .hero-images-container .hero-image-ui-holder { display: contents; }
  .hero-images-container .greyscale-image,
  .hero-images-container .hero-dashboard { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; opacity: 1 !important; transform: none !important; }
  .hero-images-container .greyscale-image { grid-area: 1 / 1; }
  .hero-images-container .hero-dashboard { grid-area: 1 / 2; }
  .hero-images-container .mobile-app-holder { display: block !important; grid-area: 2 / 1; width: 82%; justify-self: center; opacity: 1 !important; transform: none !important; }
  .hero-images-container .hero-image.phone { width: 100%; height: auto; display: block; }
  .hero-images-container .hero-image.ui-image { grid-area: 2 / 2; width: 100%; height: auto; opacity: 1 !important; transform: none !important; }

  .sticky-holder, .sticky-content-holder, .sticky-card-background { height: auto !important; position: relative; top: auto !important; overflow: visible; }
  .sticky-card-background { background: none; border: 0; }
  .sticky-card-background > .card-gradient { display: none; }
  .sticky-image-holder { display: flex; justify-content: flex-start; align-items: flex-start; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
  .sticky-image-holder .sticky-image-1,
  .sticky-image-holder .sticky-image-2,
  .sticky-image-holder .sticky-image-3 { display: block !important; position: relative !important; left: auto; right: auto; flex: 0 0 76%; width: 76% !important; max-width: none; min-width: 0; height: auto; border-radius: 14px; scroll-snap-align: start; }
}

/* Phones/tablets: feature rows stack as text, then its picture (never picture next to picture).
   Rows that put the picture first on desktop (Trade Ideas, Economic Insight, AI Technical Screener,
   Smart Score and their key-features pages) are reordered so each picture follows its own text. */
@media screen and (max-width: 767px) {
  ._2-column-feature > .feature-image-holder { order: 2; }
  ._2-column-feature > .title-align-left,
  ._2-column-feature > .left-contet-holder { order: 1; }
}

/* About us: the hero photo grid (5 pictures with the "15+ Years" / "24h" captions) shows on laptop and desktop only. */
@media screen and (max-width: 991px) {
  .about-images-grid { display: none !important; }
}

/* ---------- Phones: picture first, then its title and text; download steps; market groups; payment currencies ----------
   Scoped to the pages named in each rule, phones only (767px and narrower). */
@media screen and (max-width: 767px) {
  /* Trading Software, Future of Traders Growth, Pay by Card: each block is one picture on top, followed by its title and text, then the next picture. */
  body:has(.ap-pt-img) ._2-column-feature > .feature-image-holder,
  body:has(img[src*="/rf-"]) ._2-column-feature > .feature-image-holder,
  body:has(img[src*="card-promo"]) ._2-column-feature > .feature-image-holder { order: -1; }
  /* Pay by Card: the intro block repeated the Reward 01 coin right above it, so only one coin shows. */
  body:has(img[src*="card-promo-cashback"]) .section:has(+ .section img[src*="card-promo-cashback"]) .feature-image-holder { display: none; }

  /* Trading Software, "Download now": the picture first, then the three install guides as readable cards. */
  body:has(.ap-pt-img) .feature-tab > .dashboard-tab-content { order: -1; }
  body:has(.ap-pt-img) .feature-tab > .plan-tab-holder.feature-dashboard.w-tab-menu {
    display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; justify-content: flex-start;
    gap: 12px; overflow: visible; margin-top: 20px; padding-bottom: 0;
  }
  body:has(.ap-pt-img) .feature-tab > .plan-tab-holder.feature-dashboard.w-tab-menu > * {
    flex: none; width: 100%; max-width: 100%; margin: 0; white-space: normal; text-align: left;
    align-items: flex-start; justify-content: flex-start; padding: 16px; border-radius: 12px;
    background: var(--secondary-white); border: 1px solid var(--light-border);
  }
  body:has(.ap-pt-img) .feature-tab .dashboard-tab-button.w--current { border-color: var(--accent-purple); background: #f4f1ff; }
  body:has(.ap-pt-img) .feature-tab .feature-box-content-holder { align-items: flex-start; text-align: left; }
  body:has(.ap-pt-img) .feature-tab .tab-answer { overflow: visible; padding: 0; margin: 8px 0 0; text-align: left; font-size: 14px; line-height: 1.7; word-break: normal; overflow-wrap: anywhere; }

  /* Market Range: Forex 1 / Forex 2 / Exotics / Exotics 2 sit in one row of four columns. */
  .antos-market-substep .antos-market-subtabs {
    display: grid !important; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr);
    gap: 6px; overflow: visible !important; padding-bottom: 0; width: 100%;
  }
  .antos-market-substep .antos-market-subtabs > .antos-subtab { padding: 8px 2px !important; font-size: 12px !important; line-height: 1.2; white-space: nowrap; text-align: center; margin: 0; }
  .antos-market-substep { padding-left: 12px; padding-right: 12px; }

  /* Deposit & Withdrawal: the Currencies cell stays a table cell, flags centred under the heading. */
  .antos-psp-table td.antos-psp-currencies { display: table-cell; text-align: center; vertical-align: middle; }
  .antos-psp-table td.antos-psp-currencies > .antos-currency { display: inline-flex; margin: 1px; vertical-align: middle; }
}
@media screen and (max-width: 767px) {
  .ap-pt-dl.center { flex-direction: column; align-items: stretch; width: 100%; }
  .ap-pt-dl.center > .button { width: 100%; text-align: center; }
}

/* Economic Insight on phones: the square feature pictures were full width (very tall); show them smaller and centred. */
@media screen and (max-width: 767px) {
  body:has(img[src*="/ei-"]) .feature-image-holder._03 { max-width: 300px; margin-left: auto; margin-right: auto; align-items: center; }
  body:has(img[src*="/ei-"]) .feature-image-holder._03 .feature-image { width: 100%; height: auto; }
}
@media screen and (max-width: 479px) {
  body:has(img[src*="/ei-"]) .feature-image-holder._03 { max-width: 260px; }
}

/* Promotion pages: the laptop picture sits centred in its column (and on the page when stacked), at every width. */
.antos-promo-feature .feature-image-holder._03 { margin-left: auto; margin-right: auto; justify-self: center; align-items: center; width: 100%; }
.antos-promo-feature .feature-image-holder._03 .feature-image { display: block; margin: 0 auto; }

/* Laptop (desktop): a little bigger. Phones: centred. */
@media screen and (min-width: 992px) {
  .antos-promo-feature .feature-image-holder._03 { max-width: 660px; }
  .antos-promo-feature { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .antos-promo-hero { max-width: 660px; }
}
@media screen and (max-width: 767px) {
  .antos-promo-feature .feature-image-holder._03,
  .antos-promo-hero { margin-left: auto; margin-right: auto; }
  .antos-promo-feature .feature-image-holder._03 { max-width: 420px; }
  .antos-promo-feature .feature-image-holder._03 .feature-image,
  .antos-promo-hero .feature-image { margin: 0 auto; }
}

/* About Us: team image shown whole (no crop) */
.about-image-holder.large-image.ap-au-team{height:auto;aspect-ratio:auto}
.ap-au-team .about-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:10px}

/* Homepage hero: the left picture is colour artwork, so the template grayscale filter is switched off for it only. */
.ap-home-hero-left { filter: none; }

/* Promotions (js/promotions.js): the line shown when the promotion API lists no offers. */
.ap-promo-status { grid-column: 1 / -1; margin: 0; padding: 24px 0; color: rgba(0, 0, 0, .65); }

:where(.ap-h1){font-size:2em;margin-block:.67em}:where(.ap-h2){font-size:1.5em;margin-block:.83em}:where(.ap-h3){font-size:1.17em;margin-block:1em}:where(.ap-h4){font-size:1em;margin-block:1.33em}:where(.ap-h5){font-size:.83em;margin-block:1.67em}:where(.ap-h6){font-size:.67em;margin-block:2.33em}
