:root {
  --wex-visual-surface: #f7f4f3;
  --wex-visual-border: rgba(52, 63, 82, 0.08);
  --wex-visual-shadow: 0 1rem 2.5rem rgba(52, 63, 82, 0.11);
}

.wex-visual {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.wex-visual-card {
  overflow: hidden;
  border: 1px solid var(--wex-visual-border);
  border-radius: 1.5rem;
  background: var(--wex-visual-surface);
  box-shadow: var(--wex-visual-shadow);
}

.wex-home-hero-card {
  overflow: hidden;
  isolation: isolate;
}

.wex-home-hero-body {
  position: relative;
}

.wex-home-hero-copy {
  position: relative;
  z-index: 4;
}

.wex-home-hero-media {
  overflow: hidden;
  padding: 0;
}

.wex-home-hero-media::before {
  position: absolute;
  z-index: 3;
  inset: 0 auto 0 0;
  width: 30%;
  background: linear-gradient(90deg, #eef1ff 0%, rgba(238, 241, 255, 0.94) 28%, rgba(238, 241, 255, 0.48) 68%, rgba(238, 241, 255, 0) 100%);
  content: "";
  pointer-events: none;
}

.wex-home-hero-media .wex-home-hero-slider,
.wex-home-hero-media .wex-home-hero-slide {
  position: absolute !important;
  inset: 0 !important;
}

.wex-home-hero-slide {
  z-index: 1;
  opacity: 0;
  transition: opacity 900ms ease-in-out;
  pointer-events: none;
}

.wex-home-hero-slide.is-active {
  z-index: 2;
  opacity: 1;
}

.wex-home-hero-visual {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.wex-home-hero-controls {
  position: absolute !important;
  z-index: 5;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  direction: ltr;
  padding: 0.4rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(31, 37, 49, 0.46);
  box-shadow: 0 0.4rem 1.2rem rgba(31, 37, 49, 0.14);
  backdrop-filter: blur(8px);
}

.wex-home-hero-toggle,
.wex-home-hero-dot {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.wex-home-hero-toggle {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
}

.wex-home-hero-dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
}

.wex-home-hero-dot.is-active {
  background: #fff;
}

.wex-home-hero-toggle:focus-visible,
.wex-home-hero-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.wex-offer-visual,
.wex-how-visual,
.wex-air-visual,
.wex-country-delivery-visual,
.wex-empty-visual,
.wex-contact-visual,
.wex-eexport-visual {
  width: 100%;
}

.wex-offer-visual,
.wex-how-visual,
.wex-country-delivery-visual,
.wex-empty-visual,
.wex-contact-visual,
.wex-eexport-visual {
  border-radius: 1.5rem;
}

.wex-air-visual {
  max-width: 900px;
  margin-inline: auto;
  border-radius: 1.25rem;
}

.wex-step-visual {
  width: 100%;
  aspect-ratio: 1.13 / 1;
  border-radius: 1.25rem;
  object-fit: cover;
  box-shadow: 0 0.75rem 2rem rgba(52, 63, 82, 0.1);
}

.wex-step-visual--wide {
  aspect-ratio: 1.8 / 1;
}

.wex-how-visual {
  box-shadow: 0 0.75rem 2rem rgba(52, 63, 82, 0.08);
}

.wex-country-delivery-visual {
  max-width: 760px;
  margin-inline: auto;
}

.wex-country-dimensions-visual {
  float: inline-end;
  width: min(300px, 45%);
  margin-block: 0 1rem;
  margin-inline: 1.5rem 0;
  border-radius: 1.25rem;
}

.wex-country-dimensions-visual--mobile {
  float: none;
  width: 100%;
  margin: 1rem 0;
}

.wex-empty-visual {
  max-width: 560px;
  margin-inline: auto;
}

.wex-contact-visual {
  max-width: 600px;
  margin-inline: auto;
}

.wex-eexport-visual {
  max-width: 900px;
  margin-inline: auto;
}

.wex-page-hero--how {
  background: linear-gradient(135deg, #25282d 0%, #315d73 100%) !important;
}

.wex-page-hero--air {
  background: linear-gradient(135deg, #f8f3ef 0%, #e9deda 100%) !important;
}

.wex-page-hero--blog {
  background: linear-gradient(135deg, #29292c 0%, #853b37 100%) !important;
}

.wex-page-hero--faq {
  background: linear-gradient(135deg, #242427 0%, #983c36 100%) !important;
}

.wex-how-intro-card {
  background: linear-gradient(145deg, #f7f4f3 0%, #edf3f7 100%) !important;
}

@media (min-width: 992px) {
  [dir="rtl"] .wex-home-hero-row {
    direction: ltr;
  }

  [dir="rtl"] .wex-home-hero-copy {
    direction: rtl;
    text-align: right !important;
  }

  .wex-home-hero-body,
  .wex-home-hero-container,
  .wex-home-hero-row {
    min-height: 535px;
  }

  .wex-home-hero-container,
  .wex-home-hero-row {
    position: static !important;
  }

  .wex-home-hero-body {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .wex-home-hero-copy {
    padding-top: 2.25rem;
    padding-bottom: 2.25rem;
  }

  .wex-home-hero-media {
    position: absolute !important;
    z-index: 1 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: 58% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 100%);
  }

  [dir="rtl"] .wex-home-hero-media {
    right: 0 !important;
    left: auto !important;
  }
}

@media (max-width: 991.98px) {
  .wex-home-hero-body {
    padding-bottom: 0 !important;
  }

  .wex-home-hero-media {
    position: relative;
    aspect-ratio: 1473 / 1029;
    margin-top: 2rem;
  }

  .wex-home-hero-media::before {
    width: 22%;
  }

  .wex-home-hero-controls {
    right: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wex-home-hero-slide {
    transition: none;
  }
}

@media (max-width: 575.98px) {
  .wex-visual-card,
  .wex-offer-visual,
  .wex-how-visual,
  .wex-step-visual,
  .wex-country-delivery-visual,
  .wex-country-dimensions-visual,
  .wex-empty-visual,
  .wex-contact-visual,
  .wex-eexport-visual {
    border-radius: 1rem;
  }

  .wex-step-visual,
  .wex-step-visual--wide {
    aspect-ratio: auto;
  }
}

/* Public blog */
.wex-blog-index__hero,
.wex-blog-detail__hero {
  background:
    radial-gradient(circle at 84% 20%, rgba(247, 64, 126, 0.13), transparent 30%),
    radial-gradient(circle at 10% 90%, rgba(35, 133, 200, 0.13), transparent 34%),
    linear-gradient(135deg, #f4f3ff 0%, #fff7fb 100%);
}

.wex-blog-index__eyebrow {
  color: #605dba;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.wex-blog-index__hero .lead {
  max-width: 760px;
}

.wex-blog-filters {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  margin-bottom: 2rem;
  padding: 0.2rem 0 0.7rem;
  scrollbar-width: thin;
}

.wex-blog-filters button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border: 1px solid #deddf3;
  border-radius: 999px;
  background: #fff;
  color: #343f52;
  font: inherit;
  font-weight: 700;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.wex-blog-filters button:hover,
.wex-blog-filters button:focus-visible,
.wex-blog-filters button.active {
  border-color: #605dba;
  background: #605dba;
  color: #fff;
}

.wex-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #ececf4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 45px rgba(52, 63, 82, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wex-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 56px rgba(52, 63, 82, 0.13);
}

.wex-blog-card__image-link {
  display: block;
  overflow: hidden;
  background: #f2f2fa;
}

.wex-blog-card__image-link img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.wex-blog-card:hover .wex-blog-card__image-link img {
  transform: scale(1.025);
}

.wex-blog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.wex-blog-card__topline,
.wex-blog-card__footer,
.wex-blog-meta,
.wex-blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}

.wex-blog-card__topline {
  justify-content: space-between;
  margin-bottom: 0.8rem;
  color: #7b8293;
  font-size: 0.7rem;
}

.wex-blog-category {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: #eeedff;
  color: #605dba;
  font-size: 0.68rem;
  font-weight: 800;
}

.wex-blog-card h2,
.wex-blog-card h3 {
  margin: 0 0 0.65rem;
}

.wex-blog-card h2 a,
.wex-blog-card h3 a {
  color: #343f52;
}

.wex-blog-card__body > p {
  margin-bottom: 1rem;
}

.wex-blog-card__footer {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid #efeff4;
  font-size: 0.72rem;
}

.wex-blog-card__footer a {
  color: #f7407e;
  font-weight: 800;
}

.wex-blog-empty {
  margin: 2rem auto;
  text-align: center;
}

.wex-blog-empty img {
  width: min(360px, 80vw);
  height: auto;
}

.wex-blog-breadcrumb {
  margin-bottom: 1.5rem;
  color: #747b8c;
  font-size: 0.75rem;
}

.wex-blog-detail__hero .lead {
  max-width: 720px;
}

.wex-blog-meta {
  color: #60697b;
  font-size: 0.75rem;
}

.wex-blog-detail__cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 25px 60px rgba(52, 63, 82, 0.18);
}

.wex-blog-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 3rem;
  align-items: start;
}

.wex-blog-article {
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2.4rem);
  border: 1px solid #ececf4;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 18px 50px rgba(52, 63, 82, 0.07);
}

.wex-blog-direct-answer {
  margin: 0 0 2rem;
  padding: 1.1rem 1.2rem;
  border-inline-start: 4px solid #605dba;
  border-radius: 0.3rem 0.8rem 0.8rem 0.3rem;
  background: #f3f2ff;
  color: #343f52;
  font-size: 1rem;
  line-height: 1.65;
}

.wex-blog-prose {
  color: #3f485b;
  font-size: 0.9rem;
  line-height: 1.85;
}

.wex-blog-prose h2,
.wex-blog-prose h3 {
  scroll-margin-top: 120px;
}

.wex-blog-prose h2 {
  margin: 2.6rem 0 0.8rem;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
}

.wex-blog-prose h3 {
  margin: 1.8rem 0 0.6rem;
}

.wex-blog-prose p,
.wex-blog-prose ul,
.wex-blog-prose ol,
.wex-blog-prose blockquote,
.wex-blog-prose table {
  margin-bottom: 1.25rem;
}

.wex-blog-prose li + li {
  margin-top: 0.45rem;
}

.wex-blog-prose blockquote {
  margin-inline: 0;
  padding: 1rem 1.2rem;
  border-inline-start: 4px solid #f7407e;
  background: #fff5f8;
}

.wex-blog-prose table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.wex-blog-prose th,
.wex-blog-prose td {
  padding: 0.7rem;
  border: 1px solid #dedee8;
  text-align: start;
}

.wex-blog-toc {
  position: sticky;
  top: 105px;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 1.25rem;
  border: 1px solid #deddf3;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 16px 40px rgba(52, 63, 82, 0.08);
}

.wex-blog-toc > strong {
  display: block;
  margin-bottom: 0.8rem;
  color: #343f52;
  font-size: 1rem;
}

.wex-blog-toc ol {
  margin: 0;
  padding-inline-start: 1.05rem;
}

.wex-blog-toc li + li {
  margin-top: 0.55rem;
}

.wex-blog-toc a {
  color: #60697b;
  font-size: 0.76rem;
  line-height: 1.45;
}

.wex-blog-toc a:hover,
.wex-blog-toc a:focus-visible {
  color: #605dba;
}

.wex-blog-toc__level-3 {
  margin-inline-start: 0.65rem;
}

.wex-blog-reviewed {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #ececf4;
  color: #747b8c;
  font-size: 0.72rem;
}

.wex-blog-related {
  background: #fff;
}

[dir="rtl"] .wex-blog-direct-answer {
  border-radius: 0.8rem 0.3rem 0.3rem 0.8rem;
}

/* Keep the desktop contents panel on the physical right in every language. */
[dir="rtl"] .wex-blog-article-layout {
  direction: ltr;
}

[dir="rtl"] .wex-blog-article,
[dir="rtl"] .wex-blog-toc {
  direction: rtl;
}

@media (max-width: 991.98px) {
  .wex-blog-article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
  }

  .wex-blog-toc {
    position: static;
    max-height: none;
    grid-row: 1;
  }

  .wex-blog-article {
    grid-row: 2;
  }
}

@media (max-width: 575.98px) {
  .wex-blog-card__body,
  .wex-blog-article,
  .wex-blog-toc {
    padding: 1rem;
  }

  .wex-blog-card__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .wex-blog-detail__hero h1 {
    font-size: 2rem;
  }
}

.wex-country-guide {
  color: #343f52;
}

.wex-country-price-layout {
  align-items: stretch;
}

.wex-country-price-aside {
  position: relative;
}

.wex-country-price-cta {
  position: sticky;
  top: 83px;
  margin-inline: auto;
}

.wex-country-guide__heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(96, 93, 186, 0.14);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(235, 235, 255, 0.82), rgba(255, 239, 249, 0.78));
}

.wex-country-guide__flag {
  width: 4.5rem;
  height: 3.375rem;
  flex: 0 0 auto;
  object-fit: cover;
  border: 1px solid rgba(52, 63, 82, 0.12);
  border-radius: 0.55rem;
  box-shadow: 0 0.35rem 0.9rem rgba(52, 63, 82, 0.12);
}

.wex-country-guide__eyebrow {
  display: block;
  margin-bottom: 0.25rem;
  color: #605dba;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wex-country-guide__overview {
  max-width: 62rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.75;
}

.wex-country-guide__overview p:last-child,
.wex-country-guide__card p:last-child {
  margin-bottom: 0;
}

.wex-country-guide__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.25rem;
}

.wex-country-guide__card {
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid #e7e8ef;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 0.6rem 1.6rem rgba(52, 63, 82, 0.07);
}

.wex-country-guide__card--trade {
  border-top: 0.25rem solid #605dba;
}

.wex-country-guide__card--shipping {
  border-top: 0.25rem solid #f74780;
}

.wex-country-guide__card h3 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.3;
}

.wex-country-guide__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 0 0 1.25rem;
}

.wex-country-guide__stats > div {
  padding: 0.8rem;
  border-radius: 0.8rem;
  background: #f6f5ff;
}

.wex-country-guide__stats dt {
  margin-bottom: 0.25rem;
  color: #60697b;
  font-size: 0.72rem;
  font-weight: 600;
}

.wex-country-guide__stats dd {
  margin: 0;
  color: #343f52;
  font-size: 0.92rem;
  font-weight: 700;
}

.wex-country-guide__checklist {
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wex-country-guide__checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  line-height: 1.58;
}

.wex-country-guide__check {
  display: inline-flex;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 1.55rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.05rem;
  border-radius: 50%;
  color: #fff;
  background: #605dba;
}

.wex-country-guide__source,
.wex-country-guide__reviewed {
  color: #60697b;
  font-size: 0.82rem;
}

.wex-country-guide__source {
  margin-top: 1.25rem;
  padding-top: 0.9rem;
  border-top: 1px solid #ececf2;
}

.wex-country-guide__reviewed {
  margin: 0.9rem 0 0;
  text-align: end;
}

[dir="rtl"] .wex-country-guide__heading,
[dir="rtl"] .wex-country-guide__checklist li {
  text-align: right;
}

@media (max-width: 991.98px) {
  .wex-country-guide__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .wex-country-guide__heading {
    align-items: flex-start;
    padding: 1rem;
  }

  .wex-country-guide__flag {
    width: 3.5rem;
    height: 2.625rem;
  }

  .wex-country-guide__stats {
    grid-template-columns: 1fr;
  }

  .wex-country-guide__card {
    padding: 1.1rem;
  }
}
