/*
 * Migrago public design system
 * Shared foundation, components, page layouts, responsive rules and themes.
 */

:root {
  --mg-orange: #d36b2c;
  --mg7-orange: var(--mg-orange);
  --mg7-orange-strong: #a95325;
  --mg7-ink: #0d1728;
  --mg7-ink-2: #111d31;
  --mg7-muted: #687386;
  --mg7-line: #e4e8ee;
  --mg7-soft: #f4f0eb;
  --mg7-white: #ffffff;
  --mg7-dark: #07111f;
  --mg7-dark-2: #0b1727;
  --mg7-radius-sm: 12px;
  --mg7-radius: 18px;
  --mg7-radius-lg: 28px;
  --mg7-shadow: 0 22px 60px rgba(8, 18, 34, 0.12);
  --mg7-shadow-soft: 0 12px 34px rgba(8, 18, 34, 0.08);
  --mg7-container: 1420px;
  --mg-orange-dark: var(--mg7-orange-strong);
  --mg-black: var(--mg7-dark);
  --mg-ink: var(--mg7-ink);
  --mg-muted: var(--mg7-muted);
  --mg-line: var(--mg7-line);
  --mg-surface: var(--mg7-soft);
  --mg-white: var(--mg7-white);
  --mg-shadow: var(--mg7-shadow);
  --mg-shadow-soft: var(--mg7-shadow-soft);
  --mg-container: min(calc(100% - 40px), var(--mg7-container));
  --mg-orange-rgb: 226, 114, 34;
  --mg-page-bg: #f3eee8;
  --mg-page-tint: rgba(248, 245, 241, 0.64);
  --mg-page-surface: rgba(255, 255, 255, 0.93);
  --mg-page-surface-strong: rgba(255, 255, 255, 0.96);
  --mg-page-surface-soft: rgba(255, 255, 255, 0.82);
  --mg-page-border: rgba(99, 74, 51, 0.15);
  --mg-page-shadow: 0 15px 38px rgba(24, 31, 42, 0.08);
  --mg-dark-surface: #0d1725;
  --mg-accent-soft: rgba(var(--mg-orange-rgb), 0.1);
  --mg-accent-border: rgba(var(--mg-orange-rgb), 0.24);
  --mg-control-bg: rgba(255, 255, 255, 0.72);
  --mg-control-focus: rgba(255, 255, 255, 0.96);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.mg-theme {
  min-width: 320px;
  margin: 0;
  background: #fff;
  color: var(--mg7-ink);
  overflow-x: hidden;
}

body.mg-theme.mg7-menu-open,
body.mg-theme.mg7-search-open {
  overflow: hidden;
}

.mg-theme *,
.mg-theme *::before,
.mg-theme *::after {
  box-sizing: border-box;
}

.mg-theme .mg-container {
  width: min(calc(100% - 40px), var(--mg7-container));
  margin-inline: auto;
}

.mg-theme .mg-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

/* Canonical foundation */
body.mg-theme {
  font-family: "Segoe UI", Tahoma, Arial, system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.72;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.mg-theme img {
  display: block;
  max-width: 100%;
  height: auto;
}

body.mg-theme a {
  color: inherit;
  text-decoration: none;
}

body.mg-theme button,
body.mg-theme input,
body.mg-theme select,
body.mg-theme textarea {
  font: inherit;
}

body.mg-theme button {
  cursor: pointer;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed !important;
  inset: 10px auto auto 10px;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #111;
  z-index: 10000;
}

body.mg-account-page {
  background: var(--mg7-soft);
}

/* Brand */
.mg7-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  line-height: 1;
}

.mg7-brand strong {
  font-size: 18px;
  letter-spacing: 0.04em;
  color: inherit;
}

.mg7-brand__mark {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--mg7-orange);
  border-radius: 50%;
  color: var(--mg7-orange);
  font-weight: 900;
  font-size: 14px;
}

.mg7-brand__logo {
  display: block;
  width: auto;
  max-width: 170px;
  height: 40px;
  object-fit: contain;
}

/* Header */
.mg7-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1200;
  padding: 18px 0;
  color: #fff;
}

body.mg-theme:not(.mg-hero-page) .mg7-header {
  position: relative;
  padding-block: 12px;
  background: var(--mg7-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mg7-header-shell {
  width: min(calc(100% - 48px), var(--mg7-container));
  min-height: 66px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 58px);
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  background: rgba(7, 17, 31, 0.72);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

[dir="rtl"] .mg7-header-shell {
  padding: 10px 18px 10px 12px;
}

body.mg-theme:not(.mg-hero-page) .mg7-header-shell {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(13, 29, 49, 0.96);
  box-shadow: none;
}

.mg7-header-brand {
  min-width: 150px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.mg7-header-brand:focus-visible,
.mg7-header-nav a:focus-visible,
.mg7-header-language:focus-visible,
.mg7-header-account:focus-visible,
.mg7-header-mobile-button:focus-visible,
.mg7-mobile-drawer a:focus-visible,
.mg7-mobile-drawer button:focus-visible {
  outline: 3px solid rgba(255, 122, 26, 0.38);
  outline-offset: 3px;
}

.mg7-brand--header .mg7-brand__logo {
  max-width: 176px;
  max-height: 44px;
}

.mg7-header-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1vw, 14px);
}

.mg7-header-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: 11px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
  transition:
    color 0.18s ease,
    background 0.18s ease;
}

.mg7-header-nav a::after {
  position: absolute;
  inset-inline: 13px;
  inset-block-end: 5px;
  height: 2px;
  border-radius: 999px;
  background: var(--mg7-orange);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

.mg7-header-nav a:hover,
.mg7-header-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.mg7-header-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.mg7-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
}

.mg7-popover-wrap {
  position: relative;
}

.mg7-header-language,
.mg7-header-account {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.mg7-header-language {
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.mg7-header-language:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.11);
}

.mg7-header-language--static {
  cursor: default;
}

.mg7-header-language--static:hover {
  border-color: rgba(255, 255, 255, 0.17);
  background: rgba(255, 255, 255, 0.06);
}

.mg7-header-language > .mg-icon:first-child {
  width: 17px;
  height: 17px;
  color: var(--mg7-orange);
}

.mg7-header-language > .mg-icon:last-child {
  width: 14px;
  height: 14px;
  color: rgba(255, 255, 255, 0.62);
  transition: transform 0.18s ease;
}

.mg7-header-language[aria-expanded="true"] > .mg-icon:last-child {
  transform: rotate(180deg);
}

.mg7-header-language__flag {
  font-size: 16px;
  line-height: 1;
}

.mg7-header-account {
  max-width: 210px;
  padding: 0 16px;
  border: 1px solid var(--mg7-orange);
  background: linear-gradient(
    135deg,
    var(--mg7-orange),
    var(--mg7-orange-strong)
  );
  box-shadow: 0 9px 22px rgba(255, 101, 15, 0.22);
  color: #fff;
}

.mg7-header-account:hover {
  color: #fff;
  transform: translateY(-1px);
}

.mg7-header-account .mg-icon {
  width: 17px;
  height: 17px;
}

.mg7-header-account span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg7-language-menu {
  position: absolute;
  inset-block-start: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 20;
  width: 260px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 17px;
  background: #0a1626;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.34);
  color: #fff;
}

.mg7-language-menu[hidden] {
  display: none;
}

.mg7-language-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 7px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mg7-language-menu__head strong {
  font-size: 13px;
}

.mg7-language-menu__head span {
  padding: 4px 7px;
  border-radius: 7px;
  background: rgba(255, 122, 26, 0.13);
  color: var(--mg7-orange);
  font-size: 11px;
  font-weight: 850;
}

.mg7-language-menu__list {
  display: grid;
  gap: 3px;
  padding-top: 7px;
}

.mg7-language-menu__list a {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 9px;
  border-radius: 10px;
  color: #e9edf3;
  text-decoration: none;
  font-size: 13px;
}

.mg7-language-menu__list a:hover,
.mg7-language-menu__list a.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
}

.mg7-language-menu__list a.is-active {
  box-shadow: inset 3px 0 0 var(--mg7-orange);
}

[dir="rtl"] .mg7-language-menu__list a.is-active {
  box-shadow: inset -3px 0 0 var(--mg7-orange);
}

.mg7-language-menu__list .mg-icon {
  width: 16px;
  height: 16px;
  color: var(--mg7-orange);
}

.mg7-header-mobile-button,
.mg7-mobile-drawer {
  display: none;
}

.mg7-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1205;
  border: 0;
  background: rgba(2, 8, 17, 0.68);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mg7-backdrop[hidden] {
  display: none;
}

/* Hero */
.mg7-hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background-image: var(--mg7-hero-image);
  background-position: center;
  background-size: cover;
}

.mg7-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Keep the photo visible: shade only the reading area instead of painting a dark color over the whole hero. */
  background:
    radial-gradient(
      ellipse at center 46%,
      rgba(2, 7, 15, 0.34) 0%,
      rgba(2, 7, 15, 0.15) 42%,
      rgba(2, 7, 15, 0) 72%
    ),
    linear-gradient(
      180deg,
      rgba(5, 11, 20, 0.12) 0%,
      rgba(5, 11, 20, 0) 56%,
      rgba(5, 11, 20, 0.18) 100%
    );
}

.mg7-hero__inner {
  min-height: 560px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 118px 72px;
  text-align: center;
}

.mg7-hero__copy {
  max-width: 900px;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.32);
}

.mg7-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 15px;
  padding: 8px 16px;
  border: 1px solid rgba(255, 147, 74, 0.65);
  border-radius: 999px;
  background: rgba(44, 29, 24, 0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mg7-hero__eyebrow .mg-icon {
  width: 16px;
  height: 16px;
  color: var(--mg7-orange);
}

.mg7-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5vw, 78px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.mg7-hero p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.55;
  font-weight: 700;
}

.mg7-service-dock {
  width: min(860px, 100%);
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(6, minmax(105px, 1fr));
  gap: 4px;
  padding: 8px;
  border: 1px solid rgba(255, 135, 53, 0.45);
  border-radius: 999px;
  background: rgba(22, 17, 18, 0.82);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mg7-service-tab {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.mg7-service-tab:hover,
.mg7-service-tab:focus-visible {
  color: #fff;
  border-color: rgba(255, 133, 48, 0.75);
  background: rgba(255, 122, 26, 0.12);
}

.mg7-service-tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #ff9a43, var(--mg7-orange-strong));
  color: #1a0d05;
  box-shadow: 0 9px 24px rgba(255, 102, 15, 0.32);
}

.mg7-service-tab .mg-icon {
  width: 19px;
  height: 19px;
}

.mg7-hero__curve {
  position: absolute;
  inset-inline: -5%;
  inset-block-end: -1px;
  height: 62px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.mg7-hero__mobile-hint {
  display: none;
}

/* Search */
.mg7-search-wrap {
  position: relative;
  z-index: 30;
  margin-top: -92px;
  margin-bottom: 18px;
}

.mg7-search-card {
  padding: 20px 22px 16px;
  border: 1px solid #e7eaf0;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--mg7-shadow);
}

.mg7-search-card__mobile-head {
  display: none;
}

.mg7-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 12px;
  align-items: stretch;
}

.mg7-search-panels,
.mg7-search-panel {
  min-width: 0;
}

.mg7-search-panel[hidden] {
  display: none;
}

.mg7-search-fields {
  position: relative;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.mg7-search-fields--flights {
  grid-template-columns: 1.18fr 1.18fr 0.9fr 0.9fr 1fr;
}

.mg7-search-fields--hotels,
.mg7-search-fields--cars,
.mg7-search-fields--insurance,
.mg7-search-fields--visa,
.mg7-search-fields--ferry,
.mg7-search-fields--train {
  grid-template-columns: 1.35fr 0.92fr 0.92fr 1fr;
}

.mg7-search-fields--esim,
.mg7-search-fields--study,
.mg7-search-fields--job,
.mg7-search-fields--tourism,
.mg7-search-fields--hajj_umrah {
  grid-template-columns: 1.4fr 1fr 1fr;
}

.mg7-search-field {
  position: relative;
  min-width: 0;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #dfe4eb;
  border-radius: 14px;
  background: #f8fafc;
  cursor: text;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.mg7-search-field:focus-within {
  border-color: rgba(255, 122, 26, 0.75);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.1);
}

.mg7-search-field__copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mg7-search-field small {
  color: #758094;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
}

.mg7-search-field input,
.mg7-search-field select {
  width: 100%;
  min-width: 0;
  height: 27px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--mg7-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  box-shadow: none;
}

.mg7-search-field input::placeholder {
  color: #8d97a7;
  opacity: 1;
}

.mg7-search-field__icon {
  display: grid;
  place-items: center;
  color: #7b8696;
}

.mg7-search-field__icon .mg-icon {
  width: 17px;
  height: 17px;
}

.mg7-search-swap {
  position: absolute;
  inset-inline-start: calc(23.6% - 15px);
  inset-block-start: 50%;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  border: 1px solid #ffd1b0;
  border-radius: 50%;
  background: #fff5ee;
  color: var(--mg7-orange-strong);
  cursor: pointer;
}

.mg7-search-fields--ferry .mg7-search-swap,
.mg7-search-fields--train .mg7-search-swap {
  inset-inline-start: calc(33.75% - 15px);
}

.mg7-search-swap .mg-icon {
  width: 15px;
  height: 15px;
}

.mg7-search-submit {
  min-height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ff9a43, var(--mg7-orange-strong));
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 850;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(255, 103, 15, 0.22);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mg7-search-submit:hover,
.mg7-search-submit:focus-visible {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 13px 30px rgba(255, 103, 15, 0.32);
}


.mg7-search-mobile-backdrop {
  display: none;
}

/* Main sections */
.mg7-main {
  min-height: 300px;
}

.mg7-section {
  padding: 72px 0;
}

.mg7-section--soft {
  background: var(--mg7-soft);
}

.mg7-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.mg7-section-heading > div:first-child {
  max-width: 760px;
}

.mg7-section-heading span {
  display: block;
  margin-bottom: 8px;
  color: var(--mg7-orange-strong);
  font-size: 13px;
  font-weight: 850;
}

.mg7-section-heading h2 {
  margin: 0;
  color: var(--mg7-ink);
  font-size: clamp(30px, 3vw, 47px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.mg7-section-heading p {
  margin: 10px 0 0;
  color: var(--mg7-muted);
  font-size: 16px;
  line-height: 1.8;
}

/* Benefits */
.mg7-benefits {
  padding: 18px 0 8px;
}

.mg7-benefits__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 14px;
}

.mg7-benefit {
  min-height: 94px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 15px 20px;
  border: 1px solid var(--mg7-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(14, 26, 45, 0.04);
}

.mg7-benefit__icon,
.mg7-benefit__image {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid #ffe0ca;
  border-radius: 50%;
  background: #fff5ed;
  color: var(--mg7-orange-strong);
}

.mg7-benefit__icon .mg-icon {
  width: 25px;
  height: 25px;
}

.mg7-benefit__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mg7-benefit > div {
  min-width: 0;
}

.mg7-benefit strong,
.mg7-benefit span:last-child {
  display: block;
}

.mg7-benefit strong {
  margin-bottom: 6px;
  color: var(--mg7-ink);
  font-size: 16px;
}

.mg7-benefit > div > span {
  color: var(--mg7-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* Service page */
.mg7-service-content {
  padding-top: 52px;
}

.mg7-service-live {
  min-height: 180px;
}

.mg7-service-empty {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--mg7-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--mg7-shadow-soft);
}

.mg7-service-empty > span {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff3ea;
  color: var(--mg7-orange-strong);
}

.mg7-service-empty > span .mg-icon {
  width: 29px;
  height: 29px;
}

.mg7-service-empty small {
  color: var(--mg7-orange-strong);
  font-weight: 800;
}

.mg7-service-empty h3 {
  margin: 4px 0 7px;
  font-size: 25px;
}

.mg7-service-empty p {
  margin: 0;
  color: var(--mg7-muted);
  line-height: 1.7;
}

.mg7-service-empty > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--mg7-orange);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.mg7-service-empty > a .mg-icon {
  width: 17px;
}

.mg7-prose {
  padding: 30px;
  border: 1px solid var(--mg7-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--mg7-shadow-soft);
  line-height: 1.9;
}

.mg7-brand--footer .mg7-brand__logo {
  height: 46px;
  max-width: 190px;
}

/* Shared content-module alignment */
.mg-theme .mg-home-discovery,
.mg-theme .mg-home-magazine {
  padding-block: 72px;
}

/* Tablet */
@media (max-width: 1180px) {
  .mg7-header-shell {
    gap: 18px;
  }

  .mg7-header-nav {
    gap: 2px;
  }

  .mg7-header-nav a {
    padding-inline: 9px;
    font-size: 13px;
  }

  .mg7-header-language > span:not(.mg7-header-language__flag) {
    display: none;
  }

  .mg7-search-form {
    grid-template-columns: 1fr 150px;
  }

  .mg7-search-fields--flights {
    grid-template-columns: 1.1fr 1.1fr 0.85fr 0.85fr 0.9fr;
  }
}

/* Mobile */
@media (max-width: 820px) {
  .mg-theme .mg-container {
    width: min(calc(100% - 24px), var(--mg7-container));
  }

  .mg7-header {
    padding: 10px 0;
  }

  body.mg-theme:not(.mg-hero-page) .mg7-header {
    padding-block: 8px;
  }

  .mg7-header-shell {
    width: min(calc(100% - 20px), var(--mg7-container));
    min-height: 58px;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    gap: 10px;
    padding: 7px 8px;
    border-radius: 16px;
  }

  [dir="rtl"] .mg7-header-shell {
    padding: 7px 8px;
  }

  .mg7-header-brand {
    min-width: 0;
    justify-self: center;
  }

  .mg7-brand--header .mg7-brand__logo {
    max-width: 142px;
    max-height: 36px;
  }

  .mg7-brand--header strong {
    font-size: 15px;
  }

  .mg7-brand--header .mg7-brand__mark {
    width: 29px;
    height: 29px;
  }

  .mg7-header-nav,
  .mg7-header-actions {
    display: none;
  }

  .mg7-header-mobile-button {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
  }

  .mg7-header-mobile-button--menu {
    grid-column: 1;
    grid-row: 1;
  }

  .mg7-header-mobile-button--account {
    grid-column: 3;
    grid-row: 1;
  }

  .mg7-header-brand {
    grid-column: 2;
    grid-row: 1;
  }

  .mg7-header-mobile-button .mg-icon {
    width: 20px;
    height: 20px;
  }

  .mg7-mobile-drawer {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    z-index: 1210;
    width: min(90vw, 390px);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 18px;
    background: #081321;
    color: #fff;
    transform: translateX(-105%);
    transition: transform 0.26s ease;
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.3);
    overscroll-behavior: contain;
  }

  [dir="rtl"] .mg7-mobile-drawer {
    transform: translateX(105%);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.3);
  }

  .mg7-mobile-drawer.is-open,
  [dir="rtl"] .mg7-mobile-drawer.is-open {
    transform: translateX(0);
  }

  .mg7-mobile-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .mg7-mobile-drawer__head > a {
    text-decoration: none;
  }

  .mg7-brand--drawer .mg7-brand__logo {
    max-width: 155px;
    max-height: 40px;
  }

  .mg7-mobile-drawer__close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    cursor: pointer;
  }

  .mg7-mobile-account-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 11px;
    margin-top: 16px;
    padding: 13px;
    border: 1px solid rgba(255, 122, 26, 0.3);
    border-radius: 14px;
    background: rgba(255, 122, 26, 0.08);
    color: #fff;
    text-decoration: none;
  }

  .mg7-mobile-account-card__icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: var(--mg7-orange);
    color: #fff;
  }

  .mg7-mobile-account-card small,
  .mg7-mobile-account-card strong {
    display: block;
  }

  .mg7-mobile-account-card small {
    margin-bottom: 3px;
    color: #aeb8c6;
    font-size: 10px;
  }

  .mg7-mobile-account-card strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
  }

  .mg7-mobile-account-card > .mg-icon:last-child {
    width: 16px;
    height: 16px;
    color: var(--mg7-orange);
  }

  [dir="rtl"] .mg7-mobile-account-card > .mg-icon:last-child {
    transform: rotate(180deg);
  }

  .mg7-mobile-drawer__main {
    display: grid;
    gap: 4px;
    padding-block: 16px;
  }

  .mg7-mobile-drawer__main a {
    min-height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 12px;
    border-radius: 10px;
    color: #e7ebf0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 750;
  }

  .mg7-mobile-drawer__main a:hover,
  .mg7-mobile-drawer__main a.is-active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
  }

  .mg7-mobile-drawer__main a.is-active {
    box-shadow: inset 3px 0 0 var(--mg7-orange);
  }

  [dir="rtl"] .mg7-mobile-drawer__main a.is-active {
    box-shadow: inset -3px 0 0 var(--mg7-orange);
  }

  .mg7-mobile-drawer__main .mg-icon {
    width: 15px;
    height: 15px;
    color: #7f8b9b;
  }

  [dir="rtl"] .mg7-mobile-drawer__main .mg-icon {
    transform: rotate(180deg);
  }

  .mg7-mobile-drawer__section {
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
  }

  .mg7-mobile-drawer__section h2 {
    margin: 0 0 13px;
    color: #aeb8c6;
    font-size: 11px;
    letter-spacing: 0.02em;
  }

  .mg7-mobile-drawer__section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
  }

  .mg7-mobile-drawer__section-title h2 {
    margin: 0;
  }

  .mg7-mobile-drawer__section-title > bdi {
    padding: 4px 7px;
    border-radius: 7px;
    background: rgba(255, 122, 26, 0.12);
    color: var(--mg7-orange);
    font-size: 10px;
    font-weight: 850;
  }

  .mg7-mobile-language-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .mg7-mobile-language-list a,
  .mg7-mobile-language-list > span {
    min-width: 0;
    min-height: 42px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) 15px;
    align-items: center;
    gap: 7px;
    padding: 8px 9px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.025);
    color: #fff;
    text-decoration: none;
    font-size: 11px;
  }

  .mg7-mobile-language-list a.is-active,
  .mg7-mobile-language-list > span.is-active {
    border-color: rgba(255, 122, 26, 0.45);
    background: rgba(255, 122, 26, 0.09);
  }

  .mg7-mobile-language-list .mg-icon {
    width: 14px;
    height: 14px;
    color: var(--mg7-orange);
  }

  .mg7-mobile-services {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .mg7-mobile-services a {
    min-width: 0;
    min-height: 74px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.025);
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    text-align: center;
  }

  .mg7-mobile-services .mg-icon {
    color: var(--mg7-orange);
  }

  .mg7-hero {
    min-height: 440px;
    background-position: center;
  }

  .mg7-hero__inner {
    min-height: 440px;
    justify-content: flex-start;
    padding-block: 98px 52px;
  }

  .mg7-hero__copy {
    max-width: 94%;
  }

  .mg7-hero__eyebrow {
    margin-bottom: 11px;
    padding: 7px 12px;
    font-size: 10px;
  }

  .mg7-hero h1 {
    font-size: clamp(34px, 10vw, 48px);
    line-height: 1.15;
  }

  .mg7-hero p {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.55;
  }

  .mg7-service-dock {
    width: calc(100vw - 24px);
    margin-top: 24px;
    display: flex;
    justify-content: flex-start;
    gap: 7px;
    overflow-x: auto;
    padding: 7px;
    border-radius: 17px;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
  }

  .mg7-service-dock::-webkit-scrollbar {
    display: none;
  }

  .mg7-service-tab {
    flex: 0 0 82px;
    min-height: 66px;
    flex-direction: column;
    gap: 5px;
    padding: 8px 5px;
    border-radius: 12px;
    font-size: 10px;
    scroll-snap-align: start;
  }

  .mg7-service-tab .mg-icon {
    width: 20px;
    height: 20px;
  }

  .mg7-hero__mobile-hint {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(3, 10, 20, 0.46);
    font-size: 11px;
    font-weight: 700;
  }

  .mg7-hero__mobile-hint .mg-icon {
    width: 14px;
    height: 14px;
    color: var(--mg7-orange);
  }

  .mg7-hero__curve {
    height: 35px;
  }

  .mg7-search-wrap {
    margin-top: -25px;
    margin-bottom: 0;
  }

  .mg7-search-card {
    padding: 15px;
    border-radius: 20px;
  }

  .mg7-search-card__mobile-head {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8ebef;
  }

  .mg7-search-card__mobile-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #fff0e5;
    color: var(--mg7-orange-strong);
  }

  .mg7-search-card__mobile-icon .mg-icon {
    width: 21px;
    height: 21px;
  }

  .mg7-search-card__mobile-head > div {
    flex: 1;
    min-width: 0;
  }

  .mg7-search-card__mobile-head small,
  .mg7-search-card__mobile-head strong {
    display: block;
  }

  .mg7-search-card__mobile-head small {
    color: #7e8998;
    font-size: 10px;
  }

  .mg7-search-card__mobile-head strong {
    margin-top: 3px;
    color: var(--mg7-ink);
    font-size: 15px;
  }

  .mg7-search-card__close {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid #e1e5ea;
    border-radius: 11px;
    background: #fff;
    color: var(--mg7-ink);
  }

  .mg7-search-form {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .mg7-search-fields,
  .mg7-search-fields--flights,
  .mg7-search-fields--hotels,
  .mg7-search-fields--cars,
  .mg7-search-fields--insurance,
  .mg7-search-fields--visa,
  .mg7-search-fields--ferry,
  .mg7-search-fields--train,
  .mg7-search-fields--esim,
  .mg7-search-fields--study,
  .mg7-search-fields--job,
  .mg7-search-fields--tourism,
  .mg7-search-fields--hajj_umrah {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mg7-search-field {
    min-height: 57px;
    padding: 9px 11px;
  }

  .mg7-search-swap {
    position: static;
    width: 38px;
    height: 38px;
    margin: -2px auto;
    transform: rotate(90deg);
  }

  .mg7-search-submit {
    min-height: 53px;
  }

  .mg7-search-wrap--mobile-collapsed {
    height: 0;
    margin: 0;
  }

  .mg7-search-wrap--mobile-collapsed .mg7-search-card {
    position: fixed;
    inset-inline: 10px;
    inset-block-end: 76px;
    z-index: 1502;
    max-height: calc(100dvh - 98px);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(115%);
    transition:
      transform 0.28s ease,
      opacity 0.22s ease,
      visibility 0.28s ease;
  }

  .mg7-search-wrap--mobile-collapsed .mg7-search-card.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .mg7-search-mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1501;
    display: block;
    border: 0;
    background: rgba(3, 9, 18, 0.66);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .mg7-search-mobile-backdrop[hidden] {
    display: none;
  }

  .mg7-benefits {
    padding-top: 22px;
  }

  .mg7-benefits__grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
  }

  .mg7-benefits__grid::-webkit-scrollbar {
    display: none;
  }

  .mg7-benefit {
    flex: 0 0 84%;
    min-height: 88px;
    padding: 13px 15px;
    scroll-snap-align: start;
  }

  .mg7-benefit__icon,
  .mg7-benefit__image {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .mg7-section {
    padding: 50px 0;
  }

  .mg7-section-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .mg7-section-heading h2 {
    font-size: 30px;
  }

  .mg7-section-heading p {
    font-size: 14px;
  }

  .mg7-service-empty {
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px;
  }

  .mg7-service-empty > span {
    width: 50px;
    height: 50px;
  }

  .mg7-service-empty > a {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .mg7-prose {
    padding: 20px;
  }

  .mg-theme .mg-home-discovery,
  .mg-theme .mg-home-magazine {
    padding-block: 50px;
  }
}

@media (max-width: 520px) {
  .mg7-hero {
    min-height: 420px;
  }

  .mg7-hero__inner {
    min-height: 420px;
    padding-top: 88px;
  }

  .mg7-hero h1 {
    font-size: 37px;
  }

  .mg7-hero p {
    font-size: 14px;
  }

  .mg7-service-tab {
    flex-basis: 78px;
  }

  .mg7-benefit {
    flex-basis: 91%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg7-mobile-drawer,
  .mg7-search-card,
  .mg7-header-language,
  .mg7-header-account,
  .mg7-search-submit {
    transition: none !important;
  }
}

/* Results page */
.mg7-results-page {
  min-height: 70vh;
  background: #f5f7fa;
}

.mg7-results-hero {
  padding: 42px 0;
  background: linear-gradient(135deg, #091524, #0e1d31);
  color: #fff;
}

.mg7-results-hero > .mg-container {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
}

.mg7-results-hero__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 134, 49, 0.45);
  border-radius: 17px;
  background: rgba(255, 122, 26, 0.12);
  color: var(--mg7-orange);
}

.mg7-results-hero__icon .mg-icon {
  width: 28px;
  height: 28px;
}

.mg7-results-hero__copy small {
  color: var(--mg7-orange);
  font-weight: 800;
}

.mg7-results-hero h1 {
  margin: 3px 0 5px;
  color: #fff;
  font-size: 34px;
}

.mg7-results-hero p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: #c1cad7;
  font-size: 14px;
}

.mg7-results-hero p .mg-icon {
  width: 16px;
  height: 16px;
  color: var(--mg7-orange);
}

.mg7-results-edit {
  padding: 10px 18px;
  border: 1px solid var(--mg7-orange);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 820px) {
  .mg7-results-hero {
    padding: 28px 0;
  }

  .mg7-results-hero > .mg-container {
    grid-template-columns: auto 1fr;
  }

  .mg7-results-hero__icon {
    width: 48px;
    height: 48px;
  }

  .mg7-results-hero h1 {
    font-size: 26px;
  }

  .mg7-results-edit {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

/* Current content modules (articles, help, contact and static pages) */
.mg-section {
  padding: 72px 0;
}
.mg-section--soft {
  background: var(--mg-surface);
}
.mg-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 25px;
}
.mg-section-heading span {
  display: block;
  color: var(--mg-orange-dark);
  font-size: 12px;
  font-weight: 800;
}
.mg-section-heading h2 {
  font-size: clamp(27px, 2.7vw, 38px);
  line-height: 1.28;
  margin: 3px 0 4px;
}
.mg-section-heading p {
  margin: 0;
  color: var(--mg-muted);
  font-size: 14px;
}
.mg-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mg-orange-dark);
  font-size: 13px;
  font-weight: 800;
}
.mg-empty-news {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--mg-line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--mg-shadow-soft);
}
.mg-empty-news > .mg-icon {
  width: 32px;
  height: 32px;
  color: var(--mg-orange);
}
.mg-empty-news h3 {
  margin: 0 0 4px;
}
.mg-empty-news p {
  margin: 0;
  color: var(--mg-muted);
}
.mg-content-card {
  background: #fff;
  border: 1px solid var(--mg-line);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--mg-shadow-soft);
}
.mg-prose {
  font-size: 16px;
  line-height: 1.9;
}
.mg-prose h2,
.mg-prose h3,
.mg-prose h4 {
  line-height: 1.4;
  margin: 1.5em 0 0.55em;
}
.mg-prose p,
.mg-prose ul,
.mg-prose ol,
.mg-prose blockquote {
  margin: 0 0 1.1em;
}
.mg-prose img {
  border-radius: 16px;
}
.mg-prose blockquote {
  padding: 18px 20px;
  border-inline-start: 4px solid var(--mg-orange);
  background: #fff7f1;
  border-radius: 12px;
}
.mg-error {
  text-align: center;
  padding: 50px 20px;
}
.mg-error > strong {
  font-size: 80px;
  color: var(--mg-orange);
}
.mg-error a {
  display: inline-block;
  margin-top: 12px;
  background: var(--mg-orange);
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 900;
}
.mg-pagination {
  margin-top: 25px;
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.page-numbers {
  padding: 8px 12px;
  border: 1px solid var(--mg-line);
  border-radius: 8px;
}
.page-numbers.current {
  background: var(--mg-orange);
  border-color: var(--mg-orange);
  font-weight: 900;
}
@media (max-width: 560px) {
  .mg-section {
    padding: 52px 0;
  }
  .mg-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }
  .mg-section-heading h2 {
    font-size: 27px;
  }
  .mg-content-card {
    padding: 20px;
  }
}
.mg-section-heading h2 {
  letter-spacing: -0.35px;
}
.mg-content-card {
  border-color: #e8eaf0;
}
.mg-prose {
  color: #292d35;
}
.mg-prose a {
  color: var(--mg-orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mg-reader {
  background: #fff;
}
.mg-mag-hero {
  padding: 70px 0 34px;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 140, 58, 0.16), transparent 30%),
    linear-gradient(135deg, #090c12, #151b27);
  color: #fff;
}
.mg-mag-hero-copy {
  max-width: 820px;
}
.mg-mag-hero-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb176;
  font-size: 12px;
  font-weight: 800;
}
.mg-mag-hero-copy h1 {
  margin: 8px 0 6px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.25;
}
.mg-mag-hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}
.mg-mag-search {
  max-width: 760px;
  min-height: 58px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 6px 7px 6px 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.mg-mag-search > .mg-icon {
  color: #ffad70;
}
.mg-mag-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.mg-mag-search input::placeholder {
  color: rgba(255, 255, 255, 0.54);
}
.mg-mag-search button {
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: var(--mg-orange);
  color: #171717;
  padding: 0 22px;
  font-weight: 900;
}
.mg-mag-category-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.mg-mag-category-nav::-webkit-scrollbar {
  display: none;
}
.mg-mag-category-nav a {
  min-width: max-content;
  min-height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.74);
  font-size: 12px;
  font-weight: 800;
}
.mg-mag-category-nav a:hover,
.mg-mag-category-nav a.is-active {
  border-color: rgba(255, 140, 58, 0.54);
  background: rgba(255, 140, 58, 0.16);
  color: #fff;
}
.mg-mag-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mg-mag-section-title > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-mag-section-title small {
  display: block;
  color: var(--mg-orange-dark);
  font-size: 11px;
  font-weight: 800;
}
.mg-mag-section-title h2 {
  margin: 1px 0 0;
  font-size: 25px;
}
.mg-mag-featured-section {
  padding: 48px 0;
  background: #fff;
}
.mg-mag-featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.72fr);
  gap: 18px;
}
.mg-feature-main {
  min-width: 0;
}
.mg-feature-main-image {
  position: relative;
  display: block;
  height: 520px;
  border-radius: 22px;
  overflow: hidden;
  background: #111;
}
.mg-feature-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.mg-feature-main:hover img {
  transform: scale(1.025);
}
.mg-feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(4, 6, 10, 0.93),
    rgba(4, 6, 10, 0.03) 72%
  );
}
.mg-feature-category {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--mg-orange);
  color: #181818;
  font-size: 11px;
  font-weight: 900;
}
.mg-feature-main-copy {
  position: absolute;
  inset-inline: 28px;
  bottom: 27px;
  z-index: 2;
  color: #fff;
}
.mg-feature-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 9px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
}
.mg-feature-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mg-feature-main-copy h2 {
  max-width: 760px;
  margin: 0 0 8px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.35;
}
.mg-feature-main-copy p {
  max-width: 690px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
.mg-feature-side {
  display: grid;
  gap: 18px;
}
.mg-mag-card {
  min-width: 0;
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 18px;
  overflow: hidden;
  transition:
    transform 0.22s,
    border-color 0.22s;
}
.mg-mag-card:hover {
  transform: translateY(-3px);
  border-color: #ffd4b3;
}
.mg-mag-card-image {
  position: relative;
  display: block;
  height: 218px;
  overflow: hidden;
  background: #e9ebee;
}
.mg-mag-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.mg-mag-card:hover .mg-mag-card-image img {
  transform: scale(1.04);
}
.mg-mag-card-category {
  position: absolute;
  top: 13px;
  right: 13px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(6, 8, 12, 0.76);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}
.mg-mag-card-body {
  padding: 17px;
}
.mg-mag-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 9px;
  color: #7b818b;
  font-size: 10.5px;
}
.mg-mag-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.mg-mag-card-meta .mg-icon {
  width: 13px;
  height: 13px;
  color: var(--mg-orange-dark);
}
.mg-mag-card h2 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.55;
}
.mg-mag-card p {
  margin: 0 0 13px;
  color: #727883;
  font-size: 12.5px;
}
.mg-mag-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mg-orange-dark);
  font-size: 12px;
  font-weight: 900;
}
.mg-mag-card--compact {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 251px;
}
.mg-mag-card--compact .mg-mag-card-image {
  height: 100%;
}
.mg-mag-card--compact .mg-mag-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mg-mag-card--compact h2 {
  font-size: 16px;
}
.mg-mag-card--compact p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mg-mag-latest-section {
  padding-top: 58px;
}
.mg-mag-section-title--latest {
  margin-bottom: 23px;
}
.mg-mag-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 325px;
  gap: 24px;
  align-items: start;
}
.mg-mag-layout--full {
  grid-template-columns: 1fr;
}
.mg-mag-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.mg-mag-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 18px;
}
.mg-mag-widget {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 18px;
  padding: 17px;
}
.mg-mag-widget > header,
.mg-reader-widget > header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf0f3;
}
.mg-mag-widget > header > span,
.mg-reader-widget > header > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-mag-widget h2,
.mg-reader-widget h2 {
  margin: 0;
  font-size: 15px;
}
.mg-sidebar-posts {
  display: grid;
  gap: 12px;
}
.mg-sidebar-post {
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: center;
  gap: 11px;
}
.mg-sidebar-post-image {
  height: 64px;
  border-radius: 11px;
  overflow: hidden;
  background: #e9ebee;
}
.mg-sidebar-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-sidebar-post-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 12.5px;
  line-height: 1.5;
}
.mg-sidebar-post-copy small {
  color: #868c95;
  font-size: 10.5px;
}
.mg-popular-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: item;
}
.mg-popular-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f3;
}
.mg-popular-list li:last-child {
  border-bottom: 0;
}
.mg-popular-list li > span {
  color: #d7dbe0;
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}
.mg-popular-list a strong {
  display: block;
  font-size: 12.5px;
  line-height: 1.5;
}
.mg-popular-list a small {
  color: #888e98;
  font-size: 10px;
}
.mg-category-list {
  display: grid;
  gap: 7px;
}
.mg-category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 37px;
  padding: 7px 10px;
  border-radius: 9px;
  background: #f7f8fa;
  color: #4e545e;
  font-size: 12px;
  font-weight: 700;
}
.mg-category-list a strong {
  min-width: 26px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #fff;
  color: var(--mg-orange-dark);
}
.mg-mag-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mg-mag-socials a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e8ed;
  border-radius: 11px;
  color: var(--mg-orange-dark);
  transition: 0.2s;
}
.mg-mag-socials a:hover {
  background: var(--mg-orange);
  border-color: var(--mg-orange);
  color: #171717;
}
.mg-home-mag-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.75fr);
  gap: 18px;
}
.mg-home-mag-list {
  display: grid;
  gap: 12px;
}
.mg-home-mag-item {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 113px;
  padding: 8px;
  border: 1px solid #e6e9ee;
  border-radius: 15px;
  background: #fff;
}
.mg-home-mag-thumb {
  height: 96px;
  border-radius: 11px;
  overflow: hidden;
}
.mg-home-mag-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-home-mag-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.mg-home-mag-copy small {
  color: var(--mg-orange-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}
.mg-home-mag-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.5;
}
.mg-home-mag-copy em {
  color: #868c95;
  font-size: 10.5px;
  font-style: normal;
}
.mg-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: 3px;
  background: transparent;
}
.mg-reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--mg-orange);
}
.mg-reader-head {
  padding: 62px 0 70px;
  background:
    radial-gradient(circle at 15% 0, rgba(255, 140, 58, 0.13), transparent 32%),
    linear-gradient(135deg, #090c12, #151b27);
  color: #fff;
}
.mg-reader-head-inner {
  max-width: 1050px;
}
.mg-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
}
.mg-breadcrumb strong {
  color: #ffb176;
}
.mg-reader-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #ffb176;
  font-size: 12px;
  font-weight: 800;
}
.mg-reader-head h1 {
  max-width: 980px;
  margin: 10px 0 12px;
  font-size: clamp(36px, 4.4vw, 62px);
  line-height: 1.3;
}
.mg-reader-excerpt {
  max-width: 800px;
  margin: 0;
  color: rgba(255, 255, 255, 0.69);
  font-size: 15px;
}
.mg-reader-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 21px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}
.mg-reader-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mg-reader-body {
  padding: 0 0 70px;
  background: #f7f8fa;
}
.mg-reader-cover {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  height: 590px;
  margin: -38px auto 26px;
  border: 7px solid #fff;
  border-radius: 24px;
  overflow: hidden;
  background: #e9ebee;
}
.mg-reader-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-reader-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.mg-reader-article {
  min-width: 0;
}
.mg-reader-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 17px;
}
.mg-reader-widget {
  background: #fff;
  border: 1px solid #e6e9ee;
  border-radius: 18px;
  padding: 17px;
}
.mg-toc-widget header {
  position: relative;
}
.mg-toc-toggle {
  margin-inline-start: auto;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: #f5f6f8;
  color: #646a74;
}
.mg-auto-toc {
  display: grid;
  gap: 3px;
  max-height: 360px;
  overflow: auto;
}
.mg-auto-toc a {
  display: block;
  padding: 8px 10px;
  border-inline-start: 2px solid transparent;
  color: #616771;
  font-size: 11.5px;
  line-height: 1.5;
}
.mg-auto-toc a[data-level="h3"] {
  padding-inline-start: 21px;
  font-size: 11px;
}
.mg-auto-toc a:hover,
.mg-auto-toc a.is-active {
  border-color: var(--mg-orange);
  background: #fff7f1;
  color: #22272f;
}
.mg-toc-widget.is-collapsed .mg-auto-toc {
  display: none;
}
.mg-reader-info {
  margin: 0;
}
.mg-reader-info > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid #edf0f3;
}
.mg-reader-info > div:last-child {
  border-bottom: 0;
}
.mg-reader-info dt {
  color: #7b818b;
  font-size: 11px;
}
.mg-reader-info dd {
  margin: 0;
  font-size: 11.5px;
  font-weight: 800;
}
.mg-reader-mini-posts {
  display: grid;
  gap: 11px;
}
.mg-reader-mini-posts > a {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: center;
}
.mg-reader-mini-posts > a > span {
  height: 58px;
  border-radius: 10px;
  overflow: hidden;
}
.mg-reader-mini-posts img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-reader-mini-posts strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11.5px;
  line-height: 1.45;
}
.mg-reader-mini-posts small {
  color: #8a9099;
  font-size: 10px;
}
.mg-reader .mg-content-card {
  border-radius: 20px;
  box-shadow: none;
}
.mg-reader .mg-prose {
  font-size: 17px;
  line-height: 1.95;
}
.mg-reader .mg-prose > p:first-of-type {
  font-size: 18px;
  color: #333842;
}
.mg-reader .mg-prose h2 {
  margin-top: 1.75em;
  font-size: 27px;
  scroll-margin-top: 30px;
}
.mg-reader .mg-prose h3 {
  margin-top: 1.45em;
  font-size: 21px;
  scroll-margin-top: 30px;
}
.mg-smart-service {
  display: grid;
  gap: 12px;
  border: 1px solid #ffd7b8;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8f2, #fff);
}
.mg-smart-service--sidebar {
  grid-template-columns: 43px 1fr;
  padding: 16px;
}
.mg-smart-service--inline {
  grid-template-columns: 54px 1fr;
  margin: 28px 0;
  padding: 20px;
}
.mg-smart-service-icon {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mg-orange);
  color: #171717;
}
.mg-smart-service--inline .mg-smart-service-icon {
  width: 54px;
  height: 54px;
}
.mg-smart-service-copy small {
  color: var(--mg-orange-dark);
  font-size: 10.5px;
  font-weight: 900;
}
.mg-smart-service-copy h2 {
  margin: 3px 0 5px;
  font-size: 16px;
}
.mg-smart-service--inline h2 {
  font-size: 20px;
}
.mg-smart-service-copy p {
  margin: 0 0 12px;
  color: #6e747e;
  font-size: 11.5px;
  line-height: 1.65;
}
.mg-smart-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mg-smart-service-primary,
.mg-smart-service-secondary {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.mg-smart-service-primary {
  background: var(--mg-orange);
  color: #171717;
}
.mg-smart-service-secondary {
  border: 1px solid #e5e8ed;
  background: #fff;
  color: #333842;
}
.mg-reader-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding: 15px 17px;
  border: 1px solid #e6e9ee;
  border-radius: 16px;
  background: #fff;
}
.mg-reader-share > div {
  display: flex;
  align-items: center;
  gap: 8px;
}
.mg-reader-share nav {
  display: flex;
  gap: 7px;
}
.mg-reader-share nav a,
.mg-reader-share nav button {
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  border: 1px solid #e5e8ed;
  border-radius: 10px;
  background: #fff;
  color: var(--mg-orange-dark);
}
.mg-reader-share nav button.is-copied {
  background: #eaf8e9;
  color: #258326;
}
.mg-post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  margin-top: 18px;
}
.mg-post-navigation > div > a {
  min-height: 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 14px;
  border: 1px solid #e6e9ee;
  border-radius: 15px;
  background: #fff;
}
.mg-post-navigation small {
  color: var(--mg-orange-dark);
  font-size: 10px;
}
.mg-post-navigation strong {
  margin-top: 4px;
  font-size: 12px;
}
.mg-reader-related {
  margin-top: 48px;
}
.mg-mag-post-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mg-pagination ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.mg-pagination a,
.mg-pagination span {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e5ea;
  border-radius: 9px;
  background: #fff;
}
.mg-pagination .current {
  border-color: var(--mg-orange);
  background: var(--mg-orange);
  color: #171717;
  font-weight: 900;
}
@media (max-width: 1100px) {
  .mg-mag-featured-grid {
    grid-template-columns: 1fr;
  }
  .mg-feature-side {
    grid-template-columns: 1fr 1fr;
  }
  .mg-mag-card--compact {
    min-height: 230px;
  }
  .mg-mag-layout {
    grid-template-columns: minmax(0, 1fr) 290px;
  }
  .mg-home-mag-grid {
    grid-template-columns: 1fr;
  }
  .mg-home-mag-list {
    grid-template-columns: 1fr 1fr;
  }
  .mg-reader-layout {
    grid-template-columns: minmax(0, 1fr) 285px;
  }
}
@media (max-width: 850px) {
  .mg-mag-layout,
  .mg-reader-layout {
    grid-template-columns: 1fr;
  }
  .mg-mag-sidebar,
  .mg-reader-sidebar {
    position: static;
  }
  .mg-mag-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .mg-reader-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .mg-smart-service--sidebar,
  .mg-toc-widget {
    grid-column: span 2;
  }
  .mg-reader-cover {
    height: 430px;
  }
  .mg-mag-post-grid--related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .mg-mag-hero {
    padding-top: 52px;
  }
  .mg-mag-search {
    grid-template-columns: auto 1fr;
    padding: 7px 12px;
  }
  .mg-mag-search button {
    grid-column: span 2;
  }
  .mg-feature-main-image {
    height: 420px;
  }
  .mg-feature-main-copy {
    inset-inline: 18px;
    bottom: 18px;
  }
  .mg-feature-side {
    grid-template-columns: 1fr;
  }
  .mg-mag-card--compact {
    grid-template-columns: 120px 1fr;
    min-height: 200px;
  }
  .mg-mag-post-grid,
  .mg-mag-post-grid--related,
  .mg-home-mag-list {
    grid-template-columns: 1fr;
  }
  .mg-mag-sidebar,
  .mg-reader-sidebar {
    grid-template-columns: 1fr;
  }
  .mg-smart-service--sidebar,
  .mg-toc-widget {
    grid-column: auto;
  }
  .mg-reader-head {
    padding: 46px 0 56px;
  }
  .mg-reader-head h1 {
    font-size: 34px;
  }
  .mg-reader-cover {
    height: 285px;
    margin-top: -25px;
    border-width: 5px;
    border-radius: 18px;
  }
  .mg-reader .mg-prose {
    font-size: 16px;
  }
  .mg-reader .mg-prose h2 {
    font-size: 24px;
  }
  .mg-smart-service--inline {
    grid-template-columns: 1fr;
  }
  .mg-reader-share {
    align-items: flex-start;
    flex-direction: column;
  }
  .mg-post-navigation {
    grid-template-columns: 1fr;
  }
}
.mg-reader-body {
  padding: 38px 0 70px;
}
.mg-reader-article-card {
  overflow: hidden;
  border: 1px solid #e6e9ee;
  border-radius: 20px;
  background: #fff;
}
.mg-reader-inline-cover {
  position: relative;
  width: 100%;
  height: 480px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #e8ebef;
  background: #eef0f3;
}
.mg-reader-inline-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-reader-content {
  padding: 32px 36px 38px;
}
.mg-reader-cover {
  display: none;
}
.mg-reader .mg-reader-content {
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}
.mg-reader-layout {
  align-items: start;
}
.mg-reader-content > p:first-of-type {
  margin-top: 0;
}
.mg-reader-inline-cover figcaption {
  position: absolute;
  right: 14px;
  bottom: 12px;
  max-width: calc(100% - 28px);
  padding: 6px 9px;
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.68);
  color: #fff;
  font-size: 10px;
  backdrop-filter: blur(7px);
}
@media (max-width: 850px) {
  .mg-reader-body {
    padding-top: 26px;
  }
  .mg-reader-inline-cover {
    height: 400px;
  }
  .mg-reader-content {
    padding: 27px 28px 32px;
  }
}
@media (max-width: 620px) {
  .mg-reader-body {
    padding-top: 18px;
  }
  .mg-reader-article-card {
    border-radius: 16px;
  }
  .mg-reader-inline-cover {
    height: 250px;
  }
  .mg-reader-content {
    padding: 22px 18px 27px;
  }
}
.mg-static-page {
  background: #f7f8fa;
}
.mg-static-head {
  position: relative;
  overflow: hidden;
  padding: 54px 0 62px;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 140, 58, 0.15), transparent 31%),
    linear-gradient(135deg, #090c12, #151b27);
  color: #fff;
}
.mg-static-head::after {
  content: "";
  position: absolute;
  left: -80px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}
.mg-static-head .mg-breadcrumb {
  margin-bottom: 28px;
}
.mg-static-head-grid {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.mg-static-head-copy {
  max-width: 850px;
}
.mg-static-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb176;
  font-size: 12px;
  font-weight: 900;
}
.mg-static-kicker .mg-icon {
  width: 18px;
  height: 18px;
}
.mg-static-head h1 {
  margin: 9px 0 9px;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1.28;
}
.mg-static-head-copy > p {
  max-width: 740px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}
.mg-static-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}
.mg-static-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mg-static-head-actions button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  padding: 8px 14px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}
.mg-static-head-actions button:hover {
  border-color: rgba(255, 140, 58, 0.5);
  background: rgba(255, 140, 58, 0.15);
}
.mg-static-body {
  padding: 38px 0 70px;
}
.mg-static-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 315px;
  gap: 24px;
  align-items: start;
}
.mg-static-layout--full {
  grid-template-columns: 1fr;
}
.mg-static-article {
  min-width: 0;
}
.mg-static-article-card {
  overflow: hidden;
  border: 1px solid #e5e8ed;
  border-radius: 20px;
  background: #fff;
}
.mg-static-cover {
  width: 100%;
  height: 420px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #e6e9ee;
  background: #edf0f3;
}
.mg-static-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-page-content {
  padding: 32px 30px 38px;
  color: #292e36;
  font-size: 16px;
  line-height: 1.9;
}
.mg-page-content > p:first-child {
  margin-top: 0;
  font-size: 17px;
  color: #353a43;
}
.mg-page-content h2,
.mg-page-content h3 {
  position: relative;
  scroll-margin-top: 30px;
}
.mg-page-content h2 {
  margin: 1.75em 0 0.65em;
  padding-inline-start: 16px;
  font-size: 26px;
  line-height: 1.45;
}
.mg-page-content h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.25em;
  width: 4px;
  height: 1.05em;
  border-radius: 99px;
  background: var(--mg-orange);
}
.mg-page-content h3 {
  margin: 1.45em 0 0.55em;
  font-size: 20px;
}
.mg-page-content ul,
.mg-page-content ol {
  padding-inline-start: 24px;
}
.mg-page-content li {
  margin: 0.4em 0;
}
.mg-page-content a {
  color: var(--mg-orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mg-page-content blockquote {
  display: grid;
  grid-template-columns: 4px 1fr;
  gap: 16px;
  margin: 25px 0;
  padding: 18px 20px;
  border: 0;
  border-radius: 14px;
  background: #fff7f1;
}
.mg-page-content blockquote::before {
  content: "";
  border-radius: 99px;
  background: var(--mg-orange);
}
.mg-page-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e4e7ec;
  border-radius: 13px;
  overflow: hidden;
  font-size: 13px;
}
.mg-page-content th,
.mg-page-content td {
  padding: 12px 14px;
  border-bottom: 1px solid #e8ebef;
  text-align: start;
}
.mg-page-content th {
  background: #f7f8fa;
  font-weight: 900;
}
.mg-page-content tr:last-child td {
  border-bottom: 0;
}
.mg-page-content hr {
  height: 1px;
  margin: 32px 0;
  border: 0;
  background: #e8ebef;
}
.mg-page-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 11px;
  background: var(--mg-orange);
  color: #171717;
  padding: 8px 16px;
  font-weight: 900;
  text-decoration: none;
}
.mg-static-page--legal .mg-static-head {
  background:
    radial-gradient(circle at 14% 0, rgba(255, 140, 58, 0.12), transparent 30%),
    linear-gradient(135deg, #0a0d13, #171b24);
}
.mg-static-page--legal .mg-page-content h2 {
  font-size: 24px;
}
.mg-legal-note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0 30px 30px;
  padding: 16px 17px;
  border: 1px solid #ffe0c8;
  border-radius: 13px;
  background: #fff8f2;
  color: #5c493b;
}
.mg-legal-note .mg-icon {
  flex: 0 0 auto;
  color: var(--mg-orange-dark);
}
.mg-legal-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
}
.mg-static-page--support .mg-static-kicker {
  color: #8cc9ff;
}
.mg-static-page--support .mg-page-content h2::before {
  background: #2e91e8;
}
.mg-static-page--company .mg-static-head {
  background:
    radial-gradient(circle at 12% 0, rgba(255, 140, 58, 0.18), transparent 31%),
    linear-gradient(135deg, #090c12, #202631);
}
.mg-page-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 17px;
}
.mg-page-widget {
  padding: 17px;
  border: 1px solid #e5e8ed;
  border-radius: 18px;
  background: #fff;
}
.mg-page-widget > header {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf0f3;
}
.mg-page-widget > header > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-page-widget h2 {
  margin: 0;
  font-size: 15px;
}
.mg-page-widget .mg-toc-toggle {
  margin-inline-start: auto;
}
.mg-page-info-list {
  margin: 0;
}
.mg-page-info-list > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f3;
}
.mg-page-info-list > div:last-child {
  border-bottom: 0;
}
.mg-page-info-list dt {
  color: #7d838d;
  font-size: 11px;
}
.mg-page-info-list dd {
  margin: 0;
  font-size: 11.5px;
  font-weight: 900;
}
.mg-page-important-links {
  display: grid;
  gap: 7px;
}
.mg-page-important-links a {
  min-height: 41px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #f7f8fa;
  color: #4e545e;
  font-size: 12px;
  font-weight: 800;
}
.mg-page-important-links a > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.mg-page-important-links a > span .mg-icon {
  color: var(--mg-orange-dark);
}
.mg-page-important-links a > .mg-icon {
  width: 14px;
  height: 14px;
}
.mg-page-important-links a:hover {
  background: #fff2e7;
  color: #2a2f37;
}
.mg-page-support-card {
  padding: 20px;
  border: 1px solid #ffd7b8;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff7f0, #fff);
}
.mg-page-support-card > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mg-orange);
  color: #171717;
}
.mg-page-support-card h2 {
  margin: 13px 0 5px;
  font-size: 17px;
}
.mg-page-support-card p {
  margin: 0 0 14px;
  color: #6e747e;
  font-size: 11.5px;
  line-height: 1.7;
}
.mg-page-support-card a {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 10px;
  background: var(--mg-orange);
  color: #171717;
  padding: 7px 12px;
  font-size: 11.5px;
  font-weight: 900;
}
.mg-page-empty {
  padding: 45px 20px;
  text-align: center;
}
.mg-page-empty > .mg-icon {
  width: 42px;
  height: 42px;
  color: var(--mg-orange-dark);
}
.mg-page-empty h2 {
  padding: 0;
}
.mg-page-empty h2::before {
  display: none;
}
@media print {
  .mg-static-head-actions,
  .mg-page-sidebar {
    display: none;
  }
  .mg-static-head {
    padding: 20px 0;
    background: #fff;
    color: #000;
  }
  .mg-static-head-copy > p,
  .mg-static-meta {
    color: #444;
  }
  .mg-static-body {
    padding: 0;
    background: #fff;
  }
  .mg-static-layout {
    display: block;
  }
  .mg-static-article-card {
    border: 0;
  }
  .mg-page-content {
    padding: 20px 0;
  }
}
@media (max-width: 950px) {
  .mg-static-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .mg-page-content {
    padding: 28px 25px 34px;
  }
}
@media (max-width: 800px) {
  .mg-static-head-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .mg-static-layout {
    grid-template-columns: 1fr;
  }
  .mg-page-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .mg-page-sidebar .mg-toc-widget,
  .mg-page-support-card {
    grid-column: span 2;
  }
  .mg-static-cover {
    height: 350px;
  }
}
@media (max-width: 580px) {
  .mg-static-head {
    padding: 43px 0 48px;
  }
  .mg-static-head h1 {
    font-size: 34px;
  }
  .mg-static-head-copy > p {
    font-size: 13.5px;
  }
  .mg-static-body {
    padding: 18px 0 52px;
  }
  .mg-static-article-card {
    border-radius: 16px;
  }
  .mg-static-cover {
    height: 240px;
  }
  .mg-page-content {
    padding: 22px 16px 27px;
    font-size: 15px;
  }
  .mg-page-content h2 {
    font-size: 22px;
  }
  .mg-page-content table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  .mg-legal-note {
    margin: 0 16px 22px;
  }
  .mg-page-sidebar {
    grid-template-columns: 1fr;
  }
  .mg-page-sidebar .mg-toc-widget,
  .mg-page-support-card {
    grid-column: auto;
  }
}
.mg-contact-page {
  background: #f7f8fa;
}
.mg-contact-hero {
  padding: 72px 0 78px;
  background:
    radial-gradient(circle at 10% 0, rgba(255, 140, 58, 0.19), transparent 31%),
    radial-gradient(
      circle at 92% 20%,
      rgba(60, 116, 255, 0.1),
      transparent 25%
    ),
    linear-gradient(135deg, #080b11, #151b27);
  color: #fff;
}
.mg-contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(310px, 0.65fr);
  gap: 35px;
  align-items: center;
}
.mg-contact-hero-copy > span,
.mg-contact-network-grid > div > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb176;
  font-size: 12px;
  font-weight: 900;
}
.mg-contact-hero-copy h1 {
  max-width: 820px;
  margin: 10px 0 12px;
  font-size: clamp(39px, 4.6vw, 66px);
  line-height: 1.22;
}
.mg-contact-hero-copy > p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
}
.mg-contact-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}
.mg-contact-quick > a {
  min-height: 55px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}
.mg-contact-quick > a > .mg-icon {
  width: 22px;
  height: 22px;
  color: #ffad70;
}
.mg-contact-quick span {
  display: flex;
  flex-direction: column;
}
.mg-contact-quick small {
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
}
.mg-contact-quick strong {
  font-size: 12px;
}
.mg-contact-hero-panel {
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(13px);
}
.mg-contact-hero-panel > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--mg-orange);
  color: #171717;
}
.mg-contact-hero-panel > span .mg-icon {
  width: 27px;
  height: 27px;
}
.mg-contact-hero-panel h2 {
  margin: 16px 0 12px;
  font-size: 21px;
}
.mg-contact-hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.mg-contact-hero-panel li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}
.mg-contact-hero-panel li .mg-icon {
  color: #72d57a;
}
.mg-contact-topics {
  padding: 58px 0 32px;
  background: #fff;
}
.mg-contact-section-head {
  max-width: 760px;
  margin-bottom: 24px;
}
.mg-contact-section-head > span {
  color: var(--mg-orange-dark);
  font-size: 11px;
  font-weight: 900;
}
.mg-contact-section-head h2 {
  margin: 4px 0;
  font-size: clamp(27px, 3vw, 40px);
}
.mg-contact-section-head p {
  margin: 0;
  color: #707680;
}
.mg-contact-topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mg-contact-topic {
  min-height: 182px;
  text-align: start;
  padding: 18px;
  border: 1px solid #e5e8ed;
  border-radius: 17px;
  background: #fff;
  color: #242a32;
  transition: 0.2s;
}
.mg-contact-topic > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-contact-topic strong {
  display: block;
  margin: 13px 0 5px;
  font-size: 15px;
}
.mg-contact-topic p {
  margin: 0;
  color: #767c86;
  font-size: 11.5px;
  line-height: 1.65;
}
.mg-contact-topic:hover,
.mg-contact-topic.is-active {
  transform: translateY(-2px);
  border-color: #ffca9f;
  background: #fffaf6;
}
.mg-contact-topic.is-active > span {
  background: var(--mg-orange);
  color: #171717;
}
.mg-contact-main {
  padding: 38px 0 70px;
}
.mg-contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  align-items: start;
}
.mg-contact-form-card {
  padding: 24px;
  border: 1px solid #e5e8ed;
  border-radius: 21px;
  background: #fff;
}
.mg-contact-form-card > header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.mg-contact-form-card > header > span {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-contact-form-card > header small {
  color: var(--mg-orange-dark);
  font-weight: 900;
}
.mg-contact-form-card > header h2 {
  margin: 1px 0 0;
  font-size: 23px;
}
.mg-contact-fields {
  display: grid;
  gap: 13px;
}
.mg-contact-fields--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.mg-contact-fields--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 13px;
}
.mg-contact-fields label {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mg-contact-fields label > span {
  color: #5d636d;
  font-size: 11px;
  font-weight: 800;
}
.mg-contact-fields input,
.mg-contact-fields select,
.mg-contact-fields textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #e3e6eb;
  border-radius: 11px;
  background: #fafbfc;
  color: #222831;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  outline: 0;
}
.mg-contact-fields input,
.mg-contact-fields select {
  height: 46px;
}
.mg-contact-fields textarea {
  resize: vertical;
  line-height: 1.65;
}
.mg-contact-fields input:focus,
.mg-contact-fields select:focus,
.mg-contact-fields textarea:focus {
  border-color: rgba(255, 140, 58, 0.8);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 140, 58, 0.08);
}
.mg-field-full {
  grid-column: 1/-1;
}
.mg-dynamic-fields[hidden] {
  display: none;
}
.mg-upload-field {
  margin-top: 4px;
  padding: 14px;
  border: 1px dashed #d9dde3;
  border-radius: 12px;
  background: #fbfbfc;
}
.mg-upload-field > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.mg-upload-field input {
  height: auto;
  padding: 7px;
  background: #fff;
}
.mg-upload-field small {
  color: #858b95;
  font-size: 10px;
}
.mg-contact-consent {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 9px;
  margin-top: 5px;
}
.mg-contact-consent input {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--mg-orange);
}
.mg-contact-submit {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 17px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffa35d, var(--mg-orange));
  color: #171717;
  padding: 0 24px;
  font-family: inherit;
  font-weight: 900;
}
.mg-contact-submit:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}
.mg-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mg-contact-notice {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 18px;
  padding: 15px;
  border-radius: 13px;
}
.mg-contact-notice--success {
  border: 1px solid #cde9ce;
  background: #f2fbf2;
  color: #275f2a;
}
.mg-contact-notice--error {
  border: 1px solid #f1c9c9;
  background: #fff5f5;
  color: #7e2828;
}
.mg-contact-notice h2 {
  margin: 0 0 3px;
  font-size: 16px;
}
.mg-contact-notice p {
  margin: 0;
  font-size: 12px;
}
.mg-contact-side {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid #e5e8ed;
  border-radius: 20px;
  background: #fff;
}
.mg-contact-side > section {
  padding: 22px;
  background: linear-gradient(135deg, #121722, #222a37);
  color: #fff;
}
.mg-contact-side > section > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mg-orange);
  color: #171717;
}
.mg-contact-side h2 {
  margin: 14px 0 6px;
  font-size: 18px;
}
.mg-contact-side p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 11.5px;
}
.mg-contact-side dl {
  margin: 0;
  padding: 6px 19px;
}
.mg-contact-side dl > div {
  padding: 13px 0;
  border-bottom: 1px solid #edf0f3;
}
.mg-contact-side dt {
  color: #858b95;
  font-size: 10.5px;
}
.mg-contact-side dd {
  margin: 3px 0 0;
  font-size: 12px;
  font-weight: 800;
}
.mg-contact-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 14px 18px 18px;
  min-height: 43px;
  border-radius: 11px;
  background: #e9f8eb;
  color: #207329;
  font-size: 12px;
  font-weight: 900;
}
.mg-contact-network {
  padding: 55px 0;
  background: linear-gradient(135deg, #090c12, #1b2230);
  color: #fff;
}
.mg-contact-network-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}
.mg-contact-network h2 {
  max-width: 760px;
  margin: 7px 0;
  font-size: clamp(29px, 3.4vw, 45px);
}
.mg-contact-network p {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
}
.mg-contact-network button {
  min-height: 49px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  background: var(--mg-orange);
  color: #171717;
  padding: 0 18px;
  font-family: inherit;
  font-weight: 900;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .mg-contact-hero-grid,
  .mg-contact-main-grid {
    grid-template-columns: 1fr;
  }
  .mg-contact-side {
    position: static;
  }
  .mg-contact-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .mg-contact-hero {
    padding: 50px 0 56px;
  }
  .mg-contact-hero-copy h1 {
    font-size: 38px;
  }
  .mg-contact-quick {
    flex-direction: column;
  }
  .mg-contact-topic-grid,
  .mg-contact-fields--2,
  .mg-contact-fields--3 {
    grid-template-columns: 1fr;
  }
  .mg-contact-form-card {
    padding: 16px;
  }
  .mg-contact-network-grid {
    align-items: flex-start;
    flex-direction: column;
  }
  .mg-contact-network button,
  .mg-contact-submit {
    width: 100%;
  }
  .mg-field-full {
    grid-column: auto;
  }
}
.mg-ltr {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
  white-space: nowrap;
}
.mg-ltr bdi {
  direction: ltr;
  unicode-bidi: isolate;
}
.mg-contact-intro-stage,
.mg-contact-form-stage {
  animation: mgContactStageIn 0.28s ease both;
}
.mg-contact-topic-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.mg-contact-topic {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 140, 58, 0.11),
      transparent 36%
    ),
    #fff;
}
.mg-contact-topic::after {
  content: "";
  position: absolute;
  inset: auto -35px -55px auto;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 140, 58, 0.12);
  border-radius: 50%;
}
.mg-contact-topic > span {
  width: 48px;
  height: 48px;
  border-radius: 14px;
}
.mg-contact-topic strong {
  margin-top: 16px;
  font-size: 16px;
}
.mg-contact-topic p {
  flex: 1;
  font-size: 12px;
}
.mg-contact-topic em {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  color: var(--mg-orange-dark);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}
.mg-contact-topic em .mg-icon {
  width: 14px;
  height: 14px;
}
.mg-contact-topic:hover {
  transform: translateY(-5px);
  border-color: #ffc89b;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 140, 58, 0.18),
      transparent 39%
    ),
    #fffaf6;
}
.mg-contact-topic:hover > span {
  background: var(--mg-orange);
  color: #171717;
}
.mg-contact-form-stage {
  padding-top: 34px;
  scroll-margin-top: 15px;
}
.mg-contact-form-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
}
.mg-contact-back {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #e1e5ea;
  border-radius: 11px;
  background: #fff;
  color: #4f5660;
  padding: 8px 13px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 900;
}
.mg-contact-back:hover {
  border-color: #ffcda8;
  background: #fff7f1;
  color: #8e460f;
}
.mg-contact-selected-topic {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-inline-start: auto;
}
.mg-contact-selected-topic > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-contact-selected-topic div {
  min-width: 0;
}
.mg-contact-selected-topic small {
  display: block;
  color: #8a9099;
  font-size: 10px;
}
.mg-contact-selected-topic strong {
  display: block;
  font-size: 14px;
}
.mg-contact-selected-topic p {
  max-width: 520px;
  margin: 2px 0 0;
  color: #777d87;
  font-size: 10.5px;
}
.mg-contact-side > section {
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 140, 58, 0.16),
      transparent 38%
    ),
    linear-gradient(135deg, #121722, #222a37);
}
@media (max-width: 980px) {
  .mg-contact-form-top {
    align-items: flex-start;
    flex-direction: column;
  }
  .mg-contact-selected-topic {
    margin-inline-start: 0;
  }
}
@media (max-width: 680px) {
  .mg-contact-topic-grid {
    grid-template-columns: 1fr;
  }
  .mg-contact-topic {
    min-height: 190px;
  }
  .mg-contact-form-top {
    margin-bottom: 14px;
  }
  .mg-contact-selected-topic p {
    max-width: none;
  }
}
.mg-help-page,
.mg-help-article {
  background: #f7f8fa;
}
.mg-help-hero {
  padding: 68px 0 72px;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 140, 58, 0.18), transparent 31%),
    radial-gradient(
      circle at 88% 15%,
      rgba(69, 121, 255, 0.09),
      transparent 27%
    ),
    linear-gradient(135deg, #080b11, #151b27);
  color: #fff;
}
.mg-help-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 34px;
  align-items: center;
}
.mg-help-hero-copy > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb176;
  font-size: 12px;
  font-weight: 900;
}
.mg-help-hero-copy h1 {
  max-width: 850px;
  margin: 9px 0 10px;
  font-size: clamp(39px, 4.5vw, 64px);
  line-height: 1.23;
}
.mg-help-hero-copy > p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
}
.mg-help-search {
  max-width: 780px;
  min-height: 61px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  padding: 7px 8px 7px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}
.mg-help-search > .mg-icon {
  color: #ffad70;
}
.mg-help-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
}
.mg-help-search input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}
.mg-help-search button {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  background: var(--mg-orange);
  color: #171717;
  padding: 0 24px;
  font-family: inherit;
  font-weight: 900;
}
.mg-help-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.mg-help-quick-links a {
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.72);
  font-size: 10.5px;
  font-weight: 800;
}
.mg-help-quick-links a:hover {
  border-color: rgba(255, 140, 58, 0.5);
  color: #fff;
}
.mg-help-hero-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}
.mg-help-hero-panel > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--mg-orange);
  color: #171717;
}
.mg-help-hero-panel h2 {
  margin: 15px 0 6px;
  font-size: 20px;
}
.mg-help-hero-panel > p {
  margin: 0 0 15px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 11.5px;
}
.mg-help-hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 9px;
}
.mg-help-hero-panel li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11.5px;
}
.mg-help-hero-panel li .mg-icon {
  color: #78d67f;
}
.mg-help-section-head {
  max-width: 780px;
  margin-bottom: 24px;
}
.mg-help-section-head > span {
  color: var(--mg-orange-dark);
  font-size: 11px;
  font-weight: 900;
}
.mg-help-section-head h2 {
  margin: 4px 0;
  font-size: clamp(27px, 3vw, 39px);
}
.mg-help-section-head p {
  margin: 0;
  color: #747a84;
}
.mg-help-categories {
  padding: 58px 0;
  background: #fff;
}
.mg-help-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.mg-help-category-card {
  position: relative;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 21px;
  border: 1px solid #e4e8ed;
  border-radius: 19px;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 140, 58, 0.11),
      transparent 37%
    ),
    #fff;
  transition: 0.22s;
}
.mg-help-category-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -65px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 140, 58, 0.12);
  border-radius: 50%;
}
.mg-help-category-card > span {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-help-category-card h3 {
  position: relative;
  z-index: 2;
  margin: 15px 0 5px;
  font-size: 17px;
}
.mg-help-category-card p {
  position: relative;
  z-index: 2;
  flex: 1;
  margin: 0;
  color: #757b85;
  font-size: 11.5px;
  line-height: 1.7;
}
.mg-help-category-card em {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  color: var(--mg-orange-dark);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 900;
}
.mg-help-category-card:hover {
  transform: translateY(-4px);
  border-color: #ffc99e;
  background:
    radial-gradient(
      circle at 100% 0,
      rgba(255, 140, 58, 0.18),
      transparent 40%
    ),
    #fffaf6;
}
.mg-help-category-card:hover > span {
  background: var(--mg-orange);
  color: #171717;
}
.mg-help-popular {
  padding: 62px 0;
  background: #f7f8fa;
}
.mg-help-popular-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.mg-help-popular-card > a {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 19px;
  border: 1px solid #e4e8ed;
  border-radius: 17px;
  background: #fff;
  transition: 0.2s;
}
.mg-help-popular-card > a > span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-help-popular-card small {
  margin-top: 12px;
  color: var(--mg-orange-dark);
  font-size: 10px;
  font-weight: 900;
}
.mg-help-popular-card h3 {
  margin: 4px 0 6px;
  font-size: 15px;
  line-height: 1.55;
}
.mg-help-popular-card p {
  flex: 1;
  margin: 0;
  color: #777d87;
  font-size: 11.5px;
}
.mg-help-popular-card em {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--mg-orange-dark);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 900;
}
.mg-help-popular-card > a:hover {
  transform: translateY(-3px);
  border-color: #ffc99e;
}
.mg-help-results {
  padding: 50px 0;
  background: #fff;
}
.mg-help-results-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
}
.mg-help-results-head > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mg-orange-dark);
  font-size: 11px;
  font-weight: 900;
}
.mg-help-result-list {
  display: grid;
  gap: 12px;
}
.mg-help-result-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 38px;
  align-items: center;
  gap: 14px;
  padding: 17px;
  border: 1px solid #e4e8ed;
  border-radius: 15px;
  background: #fff;
}
.mg-help-result-card > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff1e5;
  color: var(--mg-orange-dark);
}
.mg-help-result-card small {
  color: var(--mg-orange-dark);
  font-size: 10px;
  font-weight: 900;
}
.mg-help-result-card h2 {
  margin: 2px 0 4px;
  font-size: 16px;
}
.mg-help-result-card p {
  margin: 0;
  color: #777d87;
  font-size: 11.5px;
}
.mg-help-result-open {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: #f7f8fa;
  color: #525963;
}
.mg-help-empty {
  padding: 50px 20px;
  border: 1px dashed #d9dde3;
  border-radius: 17px;
  text-align: center;
  background: #fbfcfd;
}
.mg-help-empty > .mg-icon {
  width: 40px;
  height: 40px;
  color: var(--mg-orange-dark);
}
.mg-help-empty h2 {
  margin: 12px 0 4px;
}
.mg-help-empty p {
  margin: 0;
  color: #777d87;
}
.mg-help-empty a {
  display: inline-flex;
  margin-top: 15px;
  padding: 9px 14px;
  border-radius: 10px;
  background: var(--mg-orange);
  color: #171717;
  font-weight: 900;
}
.mg-help-faq {
  padding: 62px 0;
  background: #fff;
}
.mg-help-faq-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.mg-help-faq-list {
  display: grid;
  gap: 9px;
}
.mg-help-faq-list details {
  border: 1px solid #e4e8ed;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.mg-help-faq-list summary {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 900;
}
.mg-help-faq-list summary::-webkit-details-marker {
  display: none;
}
.mg-help-faq-list summary .mg-icon {
  transition: 0.2s;
}
.mg-help-faq-list details[open] summary .mg-icon {
  transform: rotate(-90deg);
  color: var(--mg-orange-dark);
}
.mg-help-faq-list details > div {
  padding: 0 16px 16px;
  border-top: 1px solid #edf0f3;
}
.mg-help-faq-list p {
  margin: 13px 0 9px;
  color: #6f7580;
  font-size: 12px;
  line-height: 1.75;
}
.mg-help-faq-list a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--mg-orange-dark);
  font-size: 10.5px;
  font-weight: 900;
}
.mg-help-contact {
  padding: 0 0 65px;
  background: #fff;
}
.mg-help-contact-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 17px;
  padding: 24px;
  border: 1px solid #ffd6b6;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff7f0, #fff);
}
.mg-help-contact-card > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--mg-orange);
  color: #171717;
}
.mg-help-contact-card small {
  color: var(--mg-orange-dark);
  font-size: 10px;
  font-weight: 900;
}
.mg-help-contact-card h2 {
  margin: 2px 0 4px;
  font-size: 21px;
}
.mg-help-contact-card p {
  margin: 0;
  color: #707680;
  font-size: 12px;
}
.mg-help-contact-card > a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border-radius: 11px;
  background: var(--mg-orange);
  color: #171717;
  font-size: 11.5px;
  font-weight: 900;
}
.mg-help-article-head {
  padding: 54px 0 60px;
  background:
    radial-gradient(circle at 12% 0, rgba(255, 140, 58, 0.15), transparent 31%),
    linear-gradient(135deg, #080b11, #151b27);
  color: #fff;
}
.mg-help-article-head .mg-breadcrumb {
  margin-bottom: 25px;
}
.mg-help-article-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffb176;
  font-size: 11.5px;
  font-weight: 900;
}
.mg-help-article-head h1 {
  max-width: 930px;
  margin: 9px 0 10px;
  font-size: clamp(35px, 4vw, 55px);
  line-height: 1.3;
}
.mg-help-article-head > div > p {
  max-width: 790px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}
.mg-help-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10.5px;
}
.mg-help-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.mg-help-article-body {
  padding: 38px 0 68px;
}
.mg-help-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 24px;
  align-items: start;
}
.mg-help-article-card {
  overflow: hidden;
  border: 1px solid #e4e8ed;
  border-radius: 20px;
  background: #fff;
}
.mg-help-article-card > figure {
  height: 430px;
  margin: 0;
  overflow: hidden;
  border-bottom: 1px solid #e7eaee;
}
.mg-help-article-card > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mg-help-article-content {
  padding: 31px 30px 38px;
  font-size: 16px;
  line-height: 1.9;
}
.mg-help-article-content h2 {
  position: relative;
  padding-inline-start: 15px;
  font-size: 26px;
  scroll-margin-top: 25px;
}
.mg-help-article-content h2::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.25em;
  width: 4px;
  height: 1.05em;
  border-radius: 99px;
  background: var(--mg-orange);
}
.mg-help-article-sidebar {
  position: sticky;
  top: 20px;
  display: grid;
  gap: 17px;
}
.mg-help-related-list {
  display: grid;
  gap: 5px;
}
.mg-help-related-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  border-radius: 9px;
  background: #f7f8fa;
}
.mg-help-related-list strong {
  font-size: 11.5px;
  line-height: 1.5;
}
.mg-help-sidebar-contact {
  padding: 19px;
  border: 1px solid #ffd6b6;
  border-radius: 17px;
  background: linear-gradient(135deg, #fff7f0, #fff);
}
.mg-help-sidebar-contact > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--mg-orange);
  color: #171717;
}
.mg-help-sidebar-contact h2 {
  margin: 13px 0 5px;
  font-size: 16px;
}
.mg-help-sidebar-contact p {
  margin: 0 0 13px;
  color: #707680;
  font-size: 11px;
}
.mg-help-sidebar-contact a {
  display: inline-flex;
  padding: 8px 11px;
  border-radius: 9px;
  background: var(--mg-orange);
  color: #171717;
  font-size: 10.5px;
  font-weight: 900;
}
.mg-help-solved {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 17px;
  padding: 17px;
  border: 1px solid #dce9dc;
  border-radius: 15px;
  background: #f6fbf6;
}
.mg-help-solved > div {
  display: flex;
  align-items: center;
  gap: 11px;
}
.mg-help-solved > div > span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #e4f5e4;
  color: #34813a;
}
.mg-help-solved h2 {
  margin: 0;
  font-size: 15px;
}
.mg-help-solved p {
  margin: 3px 0 0;
  color: #68716a;
  font-size: 11px;
}
.mg-help-solved > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 9px;
  background: #2f8535;
  color: #fff;
  font-size: 10.5px;
  font-weight: 900;
  white-space: nowrap;
}
@media (max-width: 980px) {
  .mg-help-hero-grid,
  .mg-help-article-layout {
    grid-template-columns: 1fr;
  }
  .mg-help-article-sidebar {
    position: static;
    grid-template-columns: 1fr 1fr;
  }
  .mg-help-article-sidebar .mg-toc-widget {
    grid-column: span 2;
  }
}
@media (max-width: 800px) {
  .mg-help-category-grid,
  .mg-help-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mg-help-faq-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 620px) {
  .mg-help-hero {
    padding: 48px 0 54px;
  }
  .mg-help-hero-copy h1 {
    font-size: 37px;
  }
  .mg-help-search {
    grid-template-columns: auto 1fr;
    padding: 8px 12px;
  }
  .mg-help-search button {
    grid-column: span 2;
    width: 100%;
  }
  .mg-help-category-grid,
  .mg-help-popular-grid {
    grid-template-columns: 1fr;
  }
  .mg-help-result-card {
    grid-template-columns: 42px minmax(0, 1fr);
  }
  .mg-help-result-open {
    display: none;
  }
  .mg-help-contact-card {
    grid-template-columns: 46px 1fr;
  }
  .mg-help-contact-card > a {
    grid-column: 1/-1;
    justify-content: center;
  }
  .mg-help-article-card > figure {
    height: 250px;
  }
  .mg-help-article-content {
    padding: 23px 16px 28px;
    font-size: 15px;
  }
  .mg-help-article-content h2 {
    font-size: 22px;
  }
  .mg-help-article-sidebar {
    grid-template-columns: 1fr;
  }
  .mg-help-article-sidebar .mg-toc-widget {
    grid-column: auto;
  }
  .mg-help-solved {
    align-items: flex-start;
    flex-direction: column;
  }
  .mg-help-solved > a {
    width: 100%;
    justify-content: center;
  }
}
.mg-contact-whatsapp {
  border: 1px solid rgba(37, 211, 102, 0.2);
}
.mg-contact-whatsapp .mg-icon--whatsapp,
.mg-smart-service-secondary .mg-icon--whatsapp {
  color: #25a94f;
}
@media (max-width: 860px) {
  .mg-section {
    padding: 42px 0;
  }
  .mg-section-heading {
    align-items: flex-start;
    margin-bottom: 18px;
  }
  .mg-section-heading span {
    font-size: 10px;
  }
  .mg-section-heading h2 {
    margin-top: 4px;
    font-size: 25px;
    line-height: 1.35;
  }
  .mg-section-heading p {
    max-width: 100%;
    margin-top: 5px;
    font-size: 11.5px;
    line-height: 1.65;
  }
}
body:not(.mg-account-page) .mg-content-card {
  width: 100%;
}
.mg-home-discovery {
  overflow: hidden;
}
.mg-home-discovery-heading {
  margin-bottom: 22px;
}
.mg-discovery-stack {
  display: grid;
  gap: 34px;
}
.mg-discovery-group {
  min-width: 0;
}
.mg-discovery-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}
.mg-discovery-group-title {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
}
.mg-discovery-group-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  flex: 0 0 50px;
  border-radius: 16px;
  background: #fff4e9;
  border: 1px solid #ffd9ba;
  color: var(--mg-orange-dark);
}
.mg-discovery-group-icon .mg-icon {
  width: 24px;
  height: 24px;
}
.mg-discovery-group-title small {
  display: block;
  color: var(--mg-orange-dark);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 2px;
}
.mg-discovery-group-title h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.35;
}
.mg-discovery-group-title p {
  margin: 5px 0 0;
  max-width: 760px;
  color: var(--mg-muted);
  font-size: 13px;
  line-height: 1.75;
}
.mg-discovery-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid var(--mg-line);
  border-radius: 999px;
  background: #fff;
  color: #252a31;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: var(--mg-shadow-soft);
}
.mg-discovery-view-all .mg-icon {
  width: 15px;
  height: 15px;
  color: var(--mg-orange-dark);
}
.mg-discovery-view-all:hover {
  border-color: #ffc89d;
  background: #fff8f2;
  color: var(--mg-orange-dark);
}
.mg-discovery-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.mg-discovery-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--mg-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--mg-shadow-soft);
  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}
.mg-discovery-card:hover {
  transform: translateY(-3px);
  border-color: #ffc89d;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}
.mg-discovery-card[hidden] {
  display: none;
}
.mg-discovery-media {
  position: relative;
  display: block;
  height: 178px;
  overflow: hidden;
  background: linear-gradient(135deg, #fff4e9, #fff 60%, #f5f7fa);
}
.mg-discovery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.mg-discovery-card:hover .mg-discovery-media img {
  transform: scale(1.035);
}
.mg-discovery-media.is-placeholder {
  display: grid;
  place-items: center;
}
.mg-discovery-placeholder-icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #ffd8b8;
  color: var(--mg-orange-dark);
  box-shadow: 0 12px 24px rgba(233, 111, 23, 0.12);
}
.mg-discovery-placeholder-icon .mg-icon {
  width: 34px;
  height: 34px;
}
.mg-discovery-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}
.mg-discovery-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
}
.mg-discovery-card-body > small {
  color: var(--mg-orange-dark);
  font-size: 11px;
  font-weight: 900;
  margin-bottom: 5px;
}
.mg-discovery-card-body > strong {
  font-size: 17px;
  line-height: 1.5;
  color: var(--mg-ink);
}
.mg-discovery-card-body > span:not(.mg-discovery-card-foot) {
  margin-top: 7px;
  color: var(--mg-muted);
  font-size: 12px;
  line-height: 1.7;
}
.mg-discovery-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
}
.mg-discovery-card-foot b {
  font-size: 13px;
  color: #171a20;
}
.mg-discovery-card-foot em {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  border-radius: 50%;
  background: #fff4e9;
  color: var(--mg-orange-dark);
  font-style: normal;
}
.mg-discovery-card-foot em .mg-icon {
  width: 15px;
  height: 15px;
}
@media (max-width: 1180px) {
  .mg-discovery-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .mg-discovery-group-head {
    align-items: flex-start;
  }
  .mg-discovery-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 14px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .mg-discovery-card {
    flex: 0 0 min(72vw, 310px);
    scroll-snap-align: start;
  }
  .mg-discovery-view-all {
    min-height: 38px;
  }
}
@media (max-width: 560px) {
  .mg-discovery-stack {
    gap: 28px;
  }
  .mg-discovery-group-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mg-discovery-group-title h3 {
    font-size: 21px;
  }
  .mg-discovery-group-title p {
    font-size: 12px;
  }
  .mg-discovery-view-all {
    width: 100%;
  }
  .mg-discovery-card {
    flex-basis: 84vw;
  }
  .mg-discovery-media {
    height: 164px;
  }
}
.mg-home-discovery {
  padding-top: 44px;
  padding-bottom: 52px;
}
.mg-home-discovery .mg-container {
  width: min(1720px, calc(100% - 18px));
}
.mg-home-discovery-heading {
  margin-bottom: 24px;
}
.mg-home-discovery-heading > div {
  max-width: 920px;
}
.mg-home-discovery-heading h2 {
  margin-bottom: 8px;
}
.mg-discovery-stack {
  gap: 30px;
}
.mg-discovery-group {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--mg-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.mg-discovery-group-head {
  align-items: center;
  margin-bottom: 18px;
}
.mg-discovery-group-title {
  align-items: center;
}
.mg-discovery-group-title h3 {
  font-size: 24px;
}
.mg-discovery-group-title p {
  max-width: 820px;
  margin-top: 4px;
  line-height: 1.7;
}
.mg-discovery-view-all {
  min-height: 42px;
  padding-inline: 16px;
  box-shadow: none;
}
.mg-discovery-track {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.mg-discovery-card {
  height: 100%;
  border-radius: 18px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.045);
}
.mg-discovery-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}
.mg-discovery-media {
  height: 170px;
}
.mg-discovery-card-body {
  padding: 16px;
}
.mg-discovery-card-body > strong {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 51px;
  font-size: 16px;
}
.mg-discovery-card-body > span:not(.mg-discovery-card-foot) {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 61px;
}
.mg-discovery-card-foot {
  border-top: 1px solid #eef1f5;
  margin-top: 14px;
}
.mg-discovery-card-foot b {
  font-size: 13px;
}
@media (max-width: 1280px) {
  .mg-discovery-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .mg-home-discovery .mg-container {
    width: calc(100% - 14px);
  }
  .mg-discovery-group {
    padding: 18px;
    border-radius: 20px;
  }
  .mg-discovery-group-head {
    align-items: flex-start;
  }
  .mg-discovery-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
  }
  .mg-discovery-card {
    flex: 0 0 min(74vw, 310px);
    scroll-snap-align: start;
  }
}
@media (max-width: 560px) {
  .mg-home-discovery {
    padding-top: 32px;
    padding-bottom: 38px;
  }
  .mg-home-discovery .mg-container {
    width: calc(100% - 10px);
  }
  .mg-discovery-stack {
    gap: 22px;
  }
  .mg-discovery-group {
    padding: 14px;
    border-radius: 18px;
  }
  .mg-discovery-group-head {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mg-discovery-group-title {
    align-items: flex-start;
  }
  .mg-discovery-group-icon {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
    border-radius: 14px;
  }
  .mg-discovery-group-title h3 {
    font-size: 20px;
  }
  .mg-discovery-group-title p {
    font-size: 12px;
  }
  .mg-discovery-view-all {
    width: 100%;
  }
  .mg-discovery-card {
    flex-basis: 86vw;
  }
  .mg-discovery-media {
    height: 160px;
  }
  .mg-discovery-card-body > strong {
    min-height: auto;
  }
  .mg-discovery-card-body > span:not(.mg-discovery-card-foot) {
    min-height: auto;
  }
}

/* Route portal pages */
.mg-route-portal__integration,
.mg-route-portal__content {
  margin-top: 24px;
}

.mg-route-portal__integration:first-child,
.mg-route-portal__content:first-child {
  margin-top: 0;
}

.mg-route-portal__content {
  padding: 24px;
  border: 1px solid var(--mg7-line);
  border-radius: var(--mg7-radius-lg);
  background: #fff;
}

/* Magazine module */
.mg-magazine {
  background: #fff;
}

.mg-home-lead > a {
  position: relative;
  display: block;
  height: 500px;
  overflow: hidden;
  border-radius: 21px;
  background: #111;
}

.mg-home-lead img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mg-home-lead > a > div {
  position: absolute;
  inset-inline: 25px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
}

.mg-home-lead small {
  color: rgba(255, 255, 255, 0.67);
}

.mg-home-lead h3 {
  margin: 6px 0;
  font-size: clamp(25px, 2.7vw, 37px);
}

.mg-home-lead p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .mg-home-lead > a {
    height: 420px;
  }
}

/* Surface and colour system */
html[data-theme="light"] {
  color-scheme: light;
}

body.mg-theme {
  background-color: var(--mg-page-bg) !important;
  background-image:
    linear-gradient(var(--mg-page-tint), var(--mg-page-tint)),
    url("../images/patterns/migrago-site-background.webp") !important;
  background-size:
    auto,
    1120px 618px !important;
  background-repeat: repeat, repeat !important;
  background-position:
    center top,
    center top !important;
  background-attachment: scroll, scroll !important;
  color: var(--mg7-ink);
}

body.mg-theme main#main,
body.mg-theme .mg7-main,
body.mg-theme .mg-static-page,
body.mg-theme .mg-contact-page,
body.mg-theme .mg-help-page,
body.mg-theme .mg-help-article,
body.mg-theme .mg-reader,
body.mg-theme .mg-magazine {
  background: transparent !important;
  color: inherit;
}

body.mg-theme main#main > .mg7-benefits,
body.mg-theme main#main > .mg7-section,
body.mg-theme main#main > .mg-section,
body.mg-theme main#main > .mg-contact-topics,
body.mg-theme main#main > .mg-contact-main,
body.mg-theme main#main > .mg-help-categories,
body.mg-theme main#main > .mg-help-popular,
body.mg-theme main#main > .mg-help-results,
body.mg-theme main#main > .mg-help-faq,
body.mg-theme main#main > .mg-help-contact,
body.mg-theme main#main > .mg-help-article-body,
body.mg-theme main#main > .mg-home-discovery,
body.mg-theme main#main > .mg-magazine,
body.mg-theme main#main > .mg-reader,
body.mg-theme main#main > .mg-static-body,
body.mg-theme main#main > .mg-route-portal {
  background: transparent !important;
}

body:not(.mg-account-page)
  :where(
    .mg7-search-card,
    .mg7-service-empty,
    .mg-content-card,
    .mg-empty-news,
    .mg-route-portal__content,
    .mg-contact-form-card,
    .mg-contact-side,
    .mg-contact-topic,
    .mg-help-category-card,
    .mg-help-popular-card > a,
    .mg-help-faq-list details,
    .mg-help-result-card,
    .mg-help-contact-card,
    .mg-help-article-card,
    .mg-page-widget,
    .mg-page-support-card,
    .mg-discovery-card,
    .mg-discovery-group,
    .mg-mag-card,
    .mg-mag-widget,
    .mg-home-mag-item,
    .mg-reader-widget,
    .mg-reader-article-card,
    .mg-static-article-card,
    .mg-reader .mg-reader-content
  ) {
  border-color: var(--mg-page-border) !important;
  background: var(--mg-page-surface) !important;
  box-shadow: var(--mg-page-shadow) !important;
  backdrop-filter: blur(11px);
  -webkit-backdrop-filter: blur(11px);
}

:where(
  .mg7-search-field,
  .mg7-search-swap,
  .mg-discovery-view-all,
  .mg-help-related-list a,
  .mg-page-important-links a,
  .mg-category-list a,
  .mg-smart-service-secondary,
  .mg-reader-share nav a,
  .mg-reader-share nav button,
  .mg-post-navigation > div > a,
  .mg-pagination a,
  .mg-pagination span,
  .mg-contact-back,
  .mg-help-result-open
) {
  border-color: var(--mg-page-border) !important;
  background: var(--mg-control-bg) !important;
}

.mg7-search-field:focus-within,
.mg-contact-fields input:focus,
.mg-contact-fields select:focus,
.mg-contact-fields textarea:focus,
.mg-mag-search input:focus,
.mg-help-search input:focus {
  border-color: rgba(var(--mg-orange-rgb), 0.48) !important;
  background: var(--mg-control-focus) !important;
  box-shadow: 0 0 0 4px rgba(var(--mg-orange-rgb), 0.09) !important;
}

.mg7-hero__shade {
  background:
    linear-gradient(
      180deg,
      rgba(7, 13, 22, 0.42) 0%,
      rgba(7, 13, 22, 0.22) 42%,
      rgba(7, 13, 22, 0.58) 100%
    ),
    linear-gradient(
      90deg,
      rgba(2, 7, 15, 0.18),
      transparent 45%,
      rgba(2, 7, 15, 0.14)
    );
}

.mg7-hero__eyebrow,
.mg7-service-dock {
  border-color: rgba(255, 185, 134, 0.34);
  background: rgba(10, 15, 23, 0.62);
}

.mg7-service-tab:hover,
.mg7-service-tab:focus-visible {
  border-color: rgba(255, 188, 120, 0.56);
  background: rgba(255, 152, 67, 0.15);
  color: #fff;
  box-shadow: none;
}

.mg7-service-tab.is-active {
  border-color: rgba(var(--mg-orange-rgb), 0.86);
  background: linear-gradient(
    135deg,
    rgba(255, 177, 101, 0.96),
    rgba(var(--mg-orange-rgb), 0.96)
  );
  color: #231106;
  box-shadow: 0 14px 34px rgba(146, 76, 18, 0.26);
  outline: none;
}

.mg7-hero__curve {
  display: none !important;
}

:where(
  .mg7-header-account,
  .mg7-search-submit,
  .mg-contact-submit,
  .mg-contact-network button,
  .mg-help-search button,
  .mg-help-contact-card > a,
  .mg-help-sidebar-contact a,
  .page-numbers.current
) {
  border-color: rgba(var(--mg-orange-rgb), 0.72) !important;
  background: var(--mg-orange) !important;
  background-image: none !important;
  box-shadow: 0 10px 24px rgba(var(--mg-orange-rgb), 0.17) !important;
  color: #fff !important;
}

:where(
  .mg7-header-account,
  .mg7-search-submit,
  .mg-contact-submit,
  .mg-contact-network button,
  .mg-help-search button,
  .mg-help-contact-card > a,
  .mg-help-sidebar-contact a
):hover {
  filter: brightness(0.96);
  box-shadow: 0 12px 28px rgba(var(--mg-orange-rgb), 0.21) !important;
}

:where(
  .mg7-search-swap,
  .mg7-benefit__icon,
  .mg7-link-icon,
  .mg10-footer__heading-icon,
  .mg10-footer__link-icon,
  .mg-contact-topic > span,
  .mg-contact-form-card > header > span,
  .mg-help-category-card > span,
  .mg-help-popular-card > a > span,
  .mg-help-sidebar-contact > span,
  .mg-discovery-group-icon,
  .mg-discovery-card-foot em,
  .mg-page-widget > header > span,
  .mg-mag-widget > header > span,
  .mg-reader-widget > header > span
) {
  border-color: var(--mg-accent-border) !important;
  background: var(--mg-accent-soft) !important;
  color: var(--mg7-orange-strong) !important;
}

/* Moroccan identity remains visible inside intentionally dark sections. */
.mg7-results-hero,
.mg-mag-hero,
.mg-reader-head,
.mg-static-head,
.mg-contact-hero,
.mg-contact-network,
.mg-contact-side > section,
.mg-help-hero,
.mg-help-article-head {
  background-color: var(--mg-dark-surface) !important;
  background-image:
    linear-gradient(rgba(8, 15, 25, 0.89), rgba(8, 15, 25, 0.89)),
    url("../images/patterns/migrago-site-background.webp") !important;
  background-size:
    auto,
    760px auto !important;
  background-repeat: repeat, repeat !important;
  color: #fff;
}

/* Image presentation */
:where(
  .mg-discovery-card,
  .mg-mag-card,
  .mg-home-mag-item,
  .mg-help-category-card,
  .mg-help-popular-card > a,
  .mg-help-article-card,
  .mg-reader-cover
) {
  border-color: var(--mg-page-border);
}

:where(
  .mg-discovery-media,
  .mg-mag-card-image,
  .mg-home-mag-thumb,
  .mg-sidebar-post-image,
  .mg-reader-mini-posts > a > span
) {
  position: relative;
  background: rgba(137, 112, 88, 0.11);
}

.mg-discovery-media,
.mg-mag-card-image {
  height: auto;
  aspect-ratio: 16 / 10;
}

.mg-discovery-media {
  border-bottom: 1px solid var(--mg-page-border);
}

.mg-feature-main-image,
.mg-reader-cover {
  height: auto;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 27px;
  box-shadow: 0 20px 48px rgba(8, 18, 34, 0.16);
}

.mg-feature-main-image {
  max-height: 590px;
}

.mg-reader-cover {
  max-height: 650px;
  border-width: 5px;
  border-color: var(--mg-page-surface-strong);
}

.mg-help-article-card > figure {
  height: auto;
  aspect-ratio: 16 / 8.5;
}

:where(
  .mg-discovery-media img,
  .mg-mag-card-image img,
  .mg-feature-main-image img,
  .mg-home-mag-thumb img,
  .mg-sidebar-post-image img,
  .mg-reader-mini-posts img,
  .mg-help-article-card > figure img,
  .mg-reader-cover img
) {
  object-position: center;
  filter: saturate(0.96) contrast(1.02);
}

.mg-discovery-card:hover .mg-discovery-media img,
.mg-mag-card:hover .mg-mag-card-image img {
  transform: scale(1.025);
}

:where(.mg-prose, .mg-page-content, .mg-help-article-content) img {
  width: auto;
  max-width: 100%;
  margin: 24px auto;
  padding: 4px;
  border: 1px solid var(--mg-page-border);
  border-radius: 20px;
  background: var(--mg-page-surface-strong);
  box-shadow: 0 16px 38px rgba(8, 18, 34, 0.11);
}

/* Theme switcher */
.mg7-theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 44px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.mg7-theme-toggle:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
}

.mg7-theme-toggle .mg-icon,
.mg7-mobile-theme-toggle .mg-icon {
  width: 18px;
  height: 18px;
}

.mg7-theme-toggle__sun {
  display: none;
}

html[data-theme="dark"] .mg7-theme-toggle__moon {
  display: none;
}

html[data-theme="dark"] .mg7-theme-toggle__sun {
  display: inline-grid;
}

.mg7-mobile-drawer__section--theme {
  padding-block: 4px 14px;
}

.mg7-mobile-theme-toggle {
  width: 100%;
  min-height: 52px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  padding: 7px 10px;
  border: 1px solid var(--mg-page-border);
  border-radius: 14px;
  background: var(--mg-control-bg);
  color: var(--mg7-ink);
  text-align: start;
  font-weight: 800;
}

.mg7-mobile-theme-toggle__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--mg-accent-soft);
  color: var(--mg7-orange-strong);
}

.mg7-mobile-theme-toggle > .mg-icon {
  width: 15px;
  height: 15px;
  color: var(--mg7-muted);
}

.mg7-header-brand:focus-visible,
.mg7-header-nav a:focus-visible,
.mg7-header-language:focus-visible,
.mg7-header-account:focus-visible,
.mg7-theme-toggle:focus-visible,
.mg7-header-mobile-button:focus-visible,
.mg7-mobile-drawer a:focus-visible,
.mg7-mobile-drawer button:focus-visible {
  outline-color: rgba(var(--mg-orange-rgb), 0.45);
}

/* Trust cards */
.mg7-benefits {
  padding: 12px 0 18px;
}

.mg7-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  align-items: start;
}

.mg7-benefit {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 15px;
  padding: 8px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.mg7-benefit__image {
  width: clamp(150px, 15vw, 220px);
  aspect-ratio: 1;
  height: auto;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid rgba(var(--mg-orange-rgb), 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  box-shadow: 0 14px 34px rgba(28, 34, 44, 0.08);
}

.mg7-benefit__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(0.97) brightness(1.02);
  opacity: 0.95;
}

.mg7-benefit__icon {
  width: 94px;
  height: 94px;
  flex: 0 0 94px;
  border-radius: 50%;
}

.mg7-benefit__content {
  width: 100%;
  max-width: 310px;
}

.mg7-benefit strong {
  display: block;
  margin: 0;
  color: var(--mg7-ink);
  font-size: clamp(15px, 1.45vw, 19px);
  font-weight: 850;
  line-height: 1.7;
}

.mg7-benefit > div > span,
.mg7-benefit span:last-child {
  display: none !important;
}

/* Footer */
.mg10-footer {
  position: relative;
  z-index: 10;
  color: #fff;
  background-color: #0b1421;
  background-image:
    linear-gradient(180deg, rgba(7, 14, 25, 0.93), rgba(7, 14, 25, 0.97)),
    url("../images/patterns/migrago-site-background.webp");
  background-size:
    auto,
    700px auto;
  background-repeat: repeat, repeat;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.mg10-footer__shell {
  padding-block: 34px calc(20px + env(safe-area-inset-bottom));
}

.mg10-footer__top {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(450px, 1.2fr);
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mg10-footer__brand-block,
.mg10-footer__meta,
.mg10-footer__column {
  min-width: 0;
}

.mg10-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  color: #fff;
}

.mg10-footer__logo {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  flex: 0 0 72px;
  overflow: hidden;
  padding: 8px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.mg10-footer__logo-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.mg10-footer__brand-text strong,
.mg10-footer__brand-text small {
  display: block;
}

.mg10-footer__brand-text strong {
  color: #fff;
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 900;
  line-height: 1.22;
}

.mg10-footer__brand-text small {
  margin-top: 4px;
  color: #aeb8c8;
  font-size: 12px;
  line-height: 1.75;
}

.mg10-footer__description {
  max-width: 520px;
  margin: 18px 0 0;
  color: #c1cad6;
  font-size: 13px;
  line-height: 1.95;
}

.mg10-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.mg10-footer__socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #d9e0e9;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.mg10-footer__socials a:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--mg-orange-rgb), 0.48);
  background: rgba(var(--mg-orange-rgb), 0.14);
  color: #fff;
}

.mg10-footer__socials .mg-icon {
  width: 18px;
  height: 18px;
}

.mg10-footer__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mg10-footer__meta-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 90px;
  padding: 17px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.mg10-footer__meta-card:hover {
  transform: translateY(-2px);
  border-color: rgba(var(--mg-orange-rgb), 0.27);
  background: rgba(255, 255, 255, 0.065);
}

.mg10-footer__meta-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  border-radius: 14px;
  background: rgba(var(--mg-orange-rgb), 0.14);
  color: #f1a06f;
}

.mg10-footer__meta-icon .mg-icon {
  width: 18px;
  height: 18px;
}

.mg10-footer__meta-copy {
  min-width: 0;
}

.mg10-footer__meta-copy small,
.mg10-footer__meta-copy bdi {
  display: block;
}

.mg10-footer__meta-copy small {
  margin-bottom: 5px;
  color: #95a3b7;
  font-size: 11px;
  font-weight: 800;
}

.mg10-footer__meta-copy bdi {
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.mg10-footer__grid {
  display: grid;
  grid-template-columns: minmax(270px, 1.35fr) minmax(210px, 0.9fr) minmax(
      250px,
      1fr
    );
  gap: clamp(24px, 2.8vw, 40px);
  padding-block: 30px;
}

.mg10-footer__grid--has-policies {
  grid-template-columns:
    minmax(250px, 1.25fr) minmax(180px, 0.86fr) minmax(190px, 0.9fr)
    minmax(230px, 1fr);
}

.mg10-footer__column h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  padding-bottom: 13px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
}

.mg10-footer__column h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-end: 0;
  width: 38px;
  height: 2px;
  border-radius: 999px;
  background: var(--mg-orange);
}

.mg10-footer__heading-icon,
.mg10-footer__link-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 10px;
  background: rgba(var(--mg-orange-rgb), 0.13) !important;
  color: #f1a06f !important;
}

.mg10-footer__heading-icon {
  width: 30px;
  height: 30px;
}

.mg10-footer__link-icon {
  width: 30px;
  height: 30px;
}

.mg10-footer__heading-icon .mg-icon,
.mg10-footer__link-icon .mg-icon {
  width: 15px;
  height: 15px;
}

.mg10-footer__links {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mg10-footer__links--services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.mg10-footer__links a {
  width: 100%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  color: #c0cad7;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.65;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.mg10-footer__links a:hover,
.mg10-footer__links a.is-current {
  color: #fff;
  transform: translateX(-3px);
}

[dir="ltr"] .mg10-footer__links a:hover,
[dir="ltr"] .mg10-footer__links a.is-current {
  transform: translateX(3px);
}

.mg10-footer__support-text {
  max-width: 360px;
  margin: 0;
  color: #c0cad7;
  font-size: 13px;
  line-height: 1.9;
}

.mg10-footer__actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.mg10-footer__action {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 12px;
  font-weight: 850;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.mg10-footer__action:hover {
  transform: translateY(-1px);
  border-color: rgba(var(--mg-orange-rgb), 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.mg10-footer__action--whatsapp {
  background: #1d7d46;
  border-color: rgba(29, 125, 70, 0.9);
}

.mg10-footer__action--whatsapp:hover {
  background: #228d4f;
  border-color: #228d4f;
}

.mg10-footer__action--ghost {
  background: transparent;
}

.mg10-footer__action .mg-icon {
  width: 17px;
  height: 17px;
}

.mg10-footer__bottom {
  min-height: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 24px;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mg10-footer__bottom p {
  margin: 0;
  color: #95a3b7;
  font-size: 11.5px;
  line-height: 1.8;
}

.mg10-footer__bottom button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.mg10-footer__bottom button:hover {
  border-color: rgba(var(--mg-orange-rgb), 0.35);
  background: rgba(var(--mg-orange-rgb), 0.12);
}

.mg10-footer__bottom button .mg-icon {
  width: 16px;
  height: 16px;
}

.mg10-mobile-nav {
  display: none;
}

/* Complete dark mode. Keep this block last so page-specific hard-coded colours cannot override it. */
html[data-theme="dark"] {
  color-scheme: dark;
  --mg-page-bg: #10151d;
  --mg-page-tint: rgba(16, 21, 29, 0.9);
  --mg-page-surface: rgba(24, 31, 42, 0.88);
  --mg-page-surface-strong: rgba(29, 37, 49, 0.97);
  --mg-page-surface-soft: rgba(255, 255, 255, 0.055);
  --mg-page-border: rgba(255, 255, 255, 0.105);
  --mg-page-shadow: 0 16px 38px rgba(0, 0, 0, 0.24);
  --mg-control-bg: rgba(255, 255, 255, 0.052);
  --mg-control-focus: rgba(255, 255, 255, 0.078);
  --mg-dark-surface: #090f18;
  --mg7-orange-strong: #e29a6c;
  --mg7-ink: #f2f5f8;
  --mg7-ink-2: #e8edf3;
  --mg7-muted: #aab4c2;
  --mg7-line: rgba(255, 255, 255, 0.1);
  --mg7-soft: #151b24;
  --mg7-white: #18202b;
  --mg-ink: var(--mg7-ink);
  --mg-muted: var(--mg7-muted);
  --mg-line: var(--mg7-line);
  --mg-surface: var(--mg7-soft);
  --mg-white: var(--mg7-white);
}

html[data-theme="dark"] body.mg-theme {
  background-color: var(--mg-page-bg) !important;
  background-image:
    linear-gradient(rgba(13, 21, 32, 0.84), rgba(13, 21, 32, 0.84)),
    url("../images/patterns/migrago-site-background.webp") !important;
  background-size:
    auto,
    1120px 618px !important;
  background-repeat: repeat, repeat !important;
  background-position:
    center top,
    center top !important;
  color: var(--mg7-ink);
}

html[data-theme="dark"]
  body.mg-theme
  :where(h1, h2, h3, h4, h5, h6, strong, b, dt, th) {
  color: var(--mg7-ink);
}

html[data-theme="dark"]
  body.mg-theme
  :where(p, li, dd, small, time, .mg-page-content, .mg-prose, .mg7-prose) {
  color: inherit;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg-section-heading p,
    .mg7-section-heading p,
    .mg-page-content,
    .mg-prose,
    .mg7-prose,
    .mg-help-category-card p,
    .mg-help-popular-card p,
    .mg-discovery-card-body > span,
    .mg-mag-card p,
    .mg-home-mag-copy p,
    .mg-reader-excerpt,
    .mg-contact-topic p,
    .mg-contact-section-head p,
    .mg-help-section-head p,
    .mg-static-meta,
    .mg-reader-meta,
    .mg-mag-card-meta
  ) {
  color: var(--mg7-muted) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg7-search-card,
    .mg7-service-empty,
    .mg-content-card,
    .mg-empty-news,
    .mg-route-portal__content,
    .mg-contact-form-card,
    .mg-contact-side,
    .mg-contact-topic,
    .mg-help-category-card,
    .mg-help-popular-card > a,
    .mg-help-faq-list details,
    .mg-help-result-card,
    .mg-help-contact-card,
    .mg-help-article-card,
    .mg-page-widget,
    .mg-page-support-card,
    .mg-discovery-card,
    .mg-discovery-group,
    .mg-mag-card,
    .mg-mag-widget,
    .mg-home-mag-item,
    .mg-reader-widget,
    .mg-reader-article-card,
    .mg-static-article-card,
    .mg-reader .mg-reader-content,
    .mg-legal-note,
    .mg-reader-share
  ) {
  border-color: var(--mg-page-border) !important;
  background-color: var(--mg-page-surface) !important;
  background-image: none !important;
  color: var(--mg7-ink) !important;
  box-shadow: var(--mg-page-shadow) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg7-search-field,
    .mg7-search-swap,
    .mg-discovery-view-all,
    .mg-help-related-list a,
    .mg-page-important-links a,
    .mg-category-list a,
    .mg-smart-service-secondary,
    .mg-reader-share nav a,
    .mg-reader-share nav button,
    .mg-post-navigation > div > a,
    .mg-pagination a,
    .mg-pagination span,
    .mg-contact-back,
    .mg-help-result-open,
    .mg-upload-field input,
    .mg-contact-selected-topic,
    .mg-auto-toc a,
    .mg-popular-list a,
    .mg-sidebar-post,
    .mg-reader-mini-posts > a
  ) {
  border-color: var(--mg-page-border) !important;
  background: var(--mg-control-bg) !important;
  color: var(--mg7-ink) !important;
}

html[data-theme="dark"] body.mg-theme :where(input, select, textarea) {
  border-color: var(--mg-page-border) !important;
  background-color: var(--mg-control-bg) !important;
  color: var(--mg7-ink) !important;
  caret-color: var(--mg7-ink);
}

html[data-theme="dark"] body.mg-theme :where(input, textarea)::placeholder {
  color: #8f9aab !important;
  opacity: 1;
}

html[data-theme="dark"] body.mg-theme select option {
  background: #18202b;
  color: var(--mg7-ink);
}

html[data-theme="dark"] body.mg-theme :where(table, thead, tbody, tr, th, td) {
  border-color: var(--mg-page-border) !important;
}

html[data-theme="dark"] body.mg-theme :where(th, .mg-page-content th) {
  background: rgba(255, 255, 255, 0.055) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg-prose blockquote,
    .mg-page-content blockquote,
    .mg-help-article-content blockquote
  ) {
  border-color: rgba(var(--mg-orange-rgb), 0.58) !important;
  background: rgba(var(--mg-orange-rgb), 0.09) !important;
  color: var(--mg7-ink) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg-mag-section-title > span,
    .mg-category-list a strong,
    .mg7-service-empty > span,
    .mg-discovery-placeholder-icon,
    .mg-contact-selected-topic > span,
    .mg-help-result-card > span
  ) {
  border-color: var(--mg-page-border) !important;
  background: var(--mg-accent-soft) !important;
  color: var(--mg7-orange-strong) !important;
}

html[data-theme="dark"] .mg7-hero__curve {
  display: none !important;
}

html[data-theme="dark"] .mg7-benefit__image {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
}

html[data-theme="dark"] .mg7-benefit__image img {
  filter: saturate(0.76) contrast(0.95) brightness(0.86);
  opacity: 0.9;
}

html[data-theme="dark"]
  :where(.mg7-mobile-drawer, .mg7-language-menu, .mg10-mobile-nav__inner) {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: #151c27 !important;
  color: var(--mg7-ink) !important;
}

html[data-theme="dark"] .mg7-mobile-drawer :where(a, button, strong, b),
html[data-theme="dark"] .mg7-language-menu :where(a, button, strong, b) {
  color: var(--mg7-ink);
}

html[data-theme="dark"] .mg10-mobile-nav a {
  color: #aeb7c4;
}

html[data-theme="dark"] .mg10-mobile-nav a > span {
  background: rgba(255, 255, 255, 0.055);
  color: #c1cad6;
}

html[data-theme="dark"] .mg10-mobile-nav a.is-active {
  background: rgba(var(--mg-orange-rgb), 0.12);
  color: #f0a16f;
}

html[data-theme="dark"]
  :where(
    .mg-reader-cover,
    .mg-prose img,
    .mg-page-content img,
    .mg-help-article-content img
  ) {
  border-color: var(--mg-page-border);
  background: var(--mg-page-surface-strong);
}

html[data-theme="dark"] .mg-contact-notice--success {
  border-color: rgba(81, 180, 102, 0.35) !important;
  background: rgba(44, 133, 64, 0.12) !important;
  color: #b8e8c1 !important;
}

html[data-theme="dark"] .mg-contact-notice--error {
  border-color: rgba(225, 102, 102, 0.35) !important;
  background: rgba(151, 50, 50, 0.13) !important;
  color: #f0b7b7 !important;
}

/* Dark-mode edge cases from mobile, magazine, help and service templates. */
html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg7-results-page,
    .mg-reader-body,
    .mg-mag-featured-section,
    .mg-mag-latest-section,
    .mg-help-categories,
    .mg-help-popular,
    .mg-help-results,
    .mg-help-faq,
    .mg-help-contact,
    .mg-help-article-body,
    .mg-contact-topics,
    .mg-contact-main,
    .mg-static-body
  ) {
  background: transparent !important;
  box-shadow: none !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg7-mobile-drawer__close,
    .mg7-mobile-language-list a,
    .mg7-mobile-language-list > span,
    .mg7-mobile-services a,
    .mg7-search-card__close,
    .mg7-search-card__mobile-icon,
    .mg-static-head-actions button,
    .mg-smart-service,
    .mg-help-sidebar-contact,
    .mg-help-solved
  ) {
  border-color: var(--mg-page-border) !important;
  background: var(--mg-control-bg) !important;
  color: var(--mg7-ink) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg7-mobile-account-card,
    .mg7-mobile-language-list a.is-active,
    .mg7-mobile-language-list > span.is-active,
    .mg7-mobile-drawer__main a:hover,
    .mg7-mobile-drawer__main a.is-active
  ) {
  border-color: var(--mg-accent-border) !important;
  background: var(--mg-accent-soft) !important;
  color: var(--mg7-ink) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg-mag-card-image,
    .mg-sidebar-post-image,
    .mg-home-mag-thumb,
    .mg-reader-mini-posts > a > span,
    .mg-help-article-card > figure
  ) {
  border-color: var(--mg-page-border) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg-reader-inline-cover figcaption,
    .mg-contact-side dl > div,
    .mg-reader-info > div
  ) {
  border-color: var(--mg-page-border) !important;
  color: var(--mg7-muted) !important;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    .mg-smart-service-copy p,
    .mg-help-sidebar-contact p,
    .mg-help-solved p
  ) {
  color: var(--mg7-muted) !important;
}

@media (max-width: 1180px) {
  .mg10-footer__grid,
  .mg10-footer__grid--has-policies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .mg7-benefits__grid {
    gap: 22px;
  }

  .mg7-benefit__image {
    width: clamp(140px, 20vw, 185px);
  }

  .mg10-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  body.mg-theme {
    background-size:
      auto,
      700px auto !important;
    background-attachment: scroll, scroll !important;
  }

  .mg7-benefits {
    padding: 22px 0 12px;
  }

  .mg7-benefits__grid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    padding-bottom: 8px;
  }

  .mg7-benefits__grid::-webkit-scrollbar {
    display: none;
  }

  .mg7-benefit {
    flex: 0 0 42%;
    min-width: 164px;
    gap: 10px;
    scroll-snap-align: start;
  }

  .mg7-benefit__image {
    width: 126px;
  }

  .mg7-benefit strong {
    font-size: 14px;
  }

  .mg-feature-main-image,
  .mg-reader-cover {
    border-radius: 22px;
  }

  .mg10-footer {
    padding-bottom: 74px;
  }

  .mg10-footer__shell {
    padding-top: 28px;
  }

  .mg10-footer__top {
    gap: 22px;
    padding-bottom: 24px;
  }

  .mg10-footer__brand {
    align-items: flex-start;
  }

  .mg10-footer__logo {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 18px;
  }

  .mg10-footer__brand-text strong {
    font-size: 22px;
  }

  .mg10-footer__description {
    margin-top: 14px;
    font-size: 12px;
  }

  .mg10-footer__meta {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .mg10-footer__meta-card {
    min-height: 0;
    padding: 14px 15px;
    border-radius: 16px;
  }

  .mg10-footer__grid,
  .mg10-footer__grid--has-policies {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 24px;
  }

  .mg10-footer__column h2 {
    margin-bottom: 14px;
    padding-bottom: 10px;
    font-size: 14px;
  }

  .mg10-footer__links {
    gap: 10px;
  }

  .mg10-footer__support-text {
    max-width: none;
    font-size: 12px;
  }

  .mg10-footer__actions {
    gap: 10px;
  }

  .mg10-footer__action {
    width: 100%;
    min-height: 44px;
  }

  .mg10-footer__bottom {
    grid-template-columns: 1fr;
    justify-items: start;
    padding-bottom: 4px;
  }

  .mg10-footer__bottom button {
    display: none;
  }

  .mg10-mobile-nav {
    position: fixed;
    inset-inline: 0;
    inset-block-end: 0;
    z-index: 60;
    display: block;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(
      180deg,
      rgba(7, 13, 24, 0.1),
      rgba(7, 13, 24, 0)
    );
    pointer-events: none;
  }

  .mg10-mobile-nav__inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
    width: min(calc(100% - 16px), 520px);
    margin-inline: auto;
    padding: 8px;
    border: 1px solid rgba(7, 17, 31, 0.08);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 44px rgba(8, 18, 34, 0.17);
    backdrop-filter: blur(12px);
    pointer-events: auto;
  }

  .mg10-mobile-nav a {
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 4px;
    border-radius: 16px;
    color: #667385;
    text-align: center;
    transition:
      background 0.18s ease,
      color 0.18s ease,
      transform 0.18s ease;
  }

  .mg10-mobile-nav a > span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 11px;
    background: #f3f6fa;
    color: #556375;
  }

  .mg10-mobile-nav .mg-icon {
    width: 18px;
    height: 18px;
    display: block;
    opacity: 1;
  }

  .mg10-mobile-nav b {
    display: block;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.35;
    white-space: nowrap;
  }

  .mg10-mobile-nav a.is-active {
    background: #fff5ed;
    color: var(--mg7-orange-strong);
  }

  .mg10-mobile-nav a.is-active > span {
    background: rgba(var(--mg-orange-rgb), 0.14);
    color: var(--mg7-orange-strong);
  }
}

@media (max-width: 560px) {
  .mg-theme .mg-container {
    width: min(calc(100% - 24px), var(--mg7-container));
  }

  .mg7-benefit {
    flex-basis: 48%;
    min-width: 150px;
  }

  .mg7-benefit__image {
    width: 112px;
  }

  :where(.mg-prose, .mg-page-content, .mg-help-article-content) img {
    margin-block: 18px;
    padding: 3px;
    border-radius: 16px;
  }

  .mg10-footer__shell {
    padding-top: 24px;
  }

  .mg10-footer__description {
    line-height: 1.85;
  }

  .mg10-footer__meta-copy bdi {
    font-size: 12px;
  }

  .mg10-footer__bottom p {
    font-size: 11px;
  }

  .mg10-footer__links--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 10px;
  }

  .mg10-footer__links--services a {
    align-items: flex-start;
    font-size: 11.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg7-theme-toggle,
  .mg7-mobile-theme-toggle {
    transition: none;
  }
}

/* Accent actions and hero overlap */
:where(
  .mg7-header-account,
  .mg7-search-submit,
  .mg-contact-submit,
  .mg-contact-network button,
  .mg-help-search button,
  .mg-help-contact-card > a,
  .mg-help-sidebar-contact a,
  .page-numbers.current
) {
  background: linear-gradient(
    135deg,
    #f6ab63,
    rgb(var(--mg-orange-rgb))
  ) !important;
  color: #251208 !important;
  border-color: rgba(var(--mg-orange-rgb), 0.88) !important;
  box-shadow: 0 14px 32px rgba(159, 79, 16, 0.16) !important;
}

:where(
  .mg7-header-account:hover,
  .mg7-search-submit:hover,
  .mg-contact-submit:hover,
  .mg-contact-network button:hover,
  .mg-help-search button:hover,
  .mg-help-contact-card > a:hover,
  .mg-help-sidebar-contact a:hover
) {
  filter: saturate(1.05) brightness(1.02);
}

.mg7-search-wrap {
  margin-top: -78px;
}

@media (max-width: 860px) {
  .mg7-search-wrap {
    margin-top: -64px;
  }
}

/* Header, search, and hero refinements */
body.mg-theme .mg7-header-language {
  gap: 8px;
}

body.mg-theme .mg7-header-language > .mg-icon:first-child {
  display: none !important;
}

body.mg-theme .mg7-header-language__flag {
  font-size: 15px;
  line-height: 1;
}

body.mg-theme .mg7-search-field {
  overflow: hidden;
}

body.mg-theme .mg7-hero {
  margin-bottom: 0;
}

body.mg-theme .mg7-hero__curve {
  display: block !important;
  position: absolute;
  inset-inline: 0;
  inset-block-end: -1px;
  height: 56px;
  background: transparent;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

body.mg-theme .mg7-hero__curve::before {
  content: "";
  position: absolute;
  inset-inline: -4%;
  inset-block-end: 0;
  height: 100%;
  background-color: var(--mg-page-bg);
  background-image:
    linear-gradient(var(--mg-page-tint), var(--mg-page-tint)),
    url("../images/patterns/migrago-site-background.webp");
  background-size:
    auto,
    1120px 618px;
  background-repeat: repeat, repeat;
  background-position:
    center top,
    center top;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.08);
}

body.mg-theme .mg7-hero__curve::after {
  content: none;
}

html[data-theme="dark"] body.mg-theme .mg7-hero__curve::before {
  background-color: #111b29;
  background-image:
    linear-gradient(rgba(13, 21, 32, 0.84), rgba(13, 21, 32, 0.84)),
    url("../images/patterns/migrago-site-background.webp");
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] body.mg-theme .mg7-hero__curve::after {
  content: none;
}

body.mg-theme .mg7-search-wrap {
  position: relative;
  z-index: 3;
  margin-top: -84px;
  margin-bottom: 8px;
}

body.mg-theme .mg7-header-brand {
  min-width: 170px;
}

body.mg-theme .mg7-brand--header .mg7-brand__logo,
body.mg-theme .mg7-brand--drawer .mg7-brand__logo {
  max-width: 190px;
  max-height: 48px;
  object-fit: contain;
}

@media (max-width: 980px) {
  body.mg-theme .mg7-search-fields--flights,
  body.mg-theme .mg7-search-fields--ferry,
  body.mg-theme .mg7-search-fields--train {
    column-gap: 16px;
  }
}

@media (max-width: 820px) {
  body.mg-theme .mg7-search-wrap {
    margin-top: -12px;
    margin-bottom: 0;
  }

  body.mg-theme .mg7-hero__curve {
    height: 34px;
  }

  body.mg-theme .mg7-search-fields--flights,
  body.mg-theme .mg7-search-fields--ferry,
  body.mg-theme .mg7-search-fields--train {
    column-gap: 8px;
  }
}

/* Continuous section flow */
body.mg-theme .mg7-benefits,
body.mg-theme .mg-home-discovery,
body.mg-theme .mg-magazine,
body.mg-theme .mg-reader,
body.mg-theme .mg-static-body {
  position: relative;
  z-index: 1;
}

body.mg-theme .mg7-benefits .mg-container {
  position: relative;
}

body.mg-theme .mg7-benefits__grid {
  gap: clamp(20px, 3vw, 44px);
}

@media (max-width: 820px) {
  body.mg-theme .mg7-benefits {
    padding-top: 8px;
  }
}

/* Production maintenance layer */
body.mg-theme :where(h1, h2, h3, h4, h5, h6) {
  line-height: 1.35;
  text-wrap: balance;
}

body.mg-theme :where(p, li, dd, figcaption) {
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

body.mg-theme
  :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid rgba(var(--mg-orange-rgb), 0.42);
  outline-offset: 3px;
}

body.mg-theme :where(input, select, textarea) {
  max-width: 100%;
}

body.mg-theme :where(.mg-prose, .mg-page-content, .mg-help-article-content) {
  font-size: clamp(15px, 0.22vw + 14px, 17px);
  line-height: 1.9;
}

body.mg-theme
  :where(.mg-prose, .mg-page-content, .mg-help-article-content)
  :where(h2, h3) {
  scroll-margin-top: 110px;
}

body.mg-theme
  :where(.mg-prose, .mg-page-content, .mg-help-article-content)
  table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-spacing: 0;
  -webkit-overflow-scrolling: touch;
}

body.mg-theme
  :where(.mg-prose, .mg-page-content, .mg-help-article-content)
  :where(pre, code) {
  max-width: 100%;
  overflow-wrap: normal;
}

body.mg-theme
  :where(
    .mg7-search-card,
    .mg-content-card,
    .mg-route-portal__content,
    .mg-contact-form-card,
    .mg-help-article-card,
    .mg-mag-card,
    .mg-reader .mg-reader-content
  ) {
  isolation: isolate;
}

body.mg-theme
  :where(
    .mg7-search-submit,
    .mg-contact-submit,
    .mg-help-search button,
    .mg10-footer__action
  ) {
  min-height: 46px;
}

body.mg-theme
  :where(.mg7-header-nav a, .mg10-footer__links a, .mg-category-list a) {
  text-underline-offset: 0.2em;
}

body.mg-theme :where(.mg7-header-nav a, .mg10-footer__links a):hover {
  text-decoration-thickness: 1px;
}

html[data-theme="dark"]
  body.mg-theme
  :where(
    a:not([class]),
    .mg-prose a,
    .mg-page-content a,
    .mg-help-article-content a
  ) {
  color: #f1aa78;
}

@media (max-width: 820px) {
  body.mg-theme {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }

  body.mg-theme :where(input, select, textarea) {
    font-size: 16px;
  }

  body.mg-theme
    :where(
      .mg-static-layout,
      .mg-reader-layout,
      .mg-mag-layout,
      .mg-contact-layout,
      .mg-help-layout
    ) {
    min-width: 0;
  }

  body.mg-theme
    :where(
      .mg7-search-submit,
      .mg-contact-submit,
      .mg-help-search button,
      .mg10-footer__action
    ) {
    min-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.mg-theme *,
  body.mg-theme *::before,
  body.mg-theme *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  html,
  body.mg-theme {
    background: #fff !important;
    color: #000 !important;
  }

  .mg7-header,
  .mg10-footer,
  .mg10-mobile-nav,
  .mg-reading-progress,
  .mg-reader-share,
  .mg-reader-sidebar,
  .mg-page-sidebar,
  [data-print-page],
  [data-copy-url] {
    display: none !important;
  }

  body.mg-theme main,
  body.mg-theme :where(.mg-reader-content, .mg-content-card, .mg-page-content) {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.mg-theme a[href]::after {
    content: none !important;
  }
}

/* ========================================================================== 
   Article reader and unified patterned page background — v8.8.0
   ========================================================================== */

body.mg-theme {
  background-color: var(--mg-page-bg) !important;
  background-image:
    linear-gradient(var(--mg-page-tint), var(--mg-page-tint)),
    url("../images/patterns/migrago-site-background.webp") !important;
  background-repeat: repeat, repeat !important;
  background-position: center top, center top !important;
  background-size: auto, 858px 474px !important;
  background-attachment: scroll, scroll !important;
}

/* Keep the Moroccan pattern visible between the main white content surfaces. */
body.mg-theme
  :where(
    .mg7-main,
    .mg7-section,
    .mg7-section--soft,
    .mg7-service-content,
    .mg7-benefits,
    .mg-home-discovery,
    .mg-mag-featured-section,
    .mg-mag-latest-section,
    .mg-reader,
    .mg-reader-body,
    .mg-static-body,
    .mg-contact-topics,
    .mg-contact-main,
    .mg-help-categories,
    .mg-help-popular,
    .mg-help-results,
    .mg-help-faq,
    .mg-help-contact,
    .mg-help-article-body
  ) {
  background-color: transparent !important;
  background-image: none !important;
}

/* Compact article masthead. */
.mg-reader-head {
  position: relative;
  isolation: isolate;
  min-height: 0;
  padding: clamp(42px, 5.4vw, 72px) 0 clamp(64px, 6.5vw, 90px);
  overflow: hidden;
  background-color: #0b1421 !important;
  background-image:
    linear-gradient(125deg, rgba(6, 13, 23, 0.97), rgba(12, 24, 39, 0.9)),
    url("../images/patterns/migrago-site-background.webp") !important;
  background-repeat: repeat, repeat !important;
  background-position: center, center top !important;
  background-size: auto, 858px 474px !important;
  color: #fff;
}

.mg-reader-head::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: min(34vw, 430px);
  aspect-ratio: 1;
  inset: auto -9% -64% auto;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(var(--mg-orange-rgb), 0.2),
    transparent 67%
  );
  pointer-events: none;
}

.mg-reader-head-inner {
  max-width: 1060px;
}

.mg-breadcrumb {
  margin-bottom: 18px;
  font-size: 11px;
}

.mg-reader-kicker {
  min-height: 32px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 185, 133, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffc49a;
  backdrop-filter: blur(10px);
}

.mg-reader-head h1 {
  max-width: 960px;
  margin: 12px 0 14px;
  color: #fff;
  font-size: clamp(32px, 3.7vw, 54px);
  font-weight: 900;
  letter-spacing: -0.028em;
  line-height: 1.25;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.16);
}

.mg-reader-excerpt {
  max-width: 800px;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: clamp(14px, 1.15vw, 17px);
  line-height: 1.85;
}

.mg-reader-meta {
  gap: 8px;
  margin-top: 20px;
}

.mg-reader-meta span {
  min-height: 32px;
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.105);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.76);
  font-size: 10.5px;
  backdrop-filter: blur(8px);
}

/* Main reading layout. */
.mg-reader-body {
  padding: 0 0 clamp(62px, 7vw, 96px);
}

.mg-reader-layout {
  grid-template-columns: minmax(0, 1fr) 306px;
  gap: clamp(20px, 2.4vw, 32px);
  align-items: start;
  margin-top: -38px;
}

.mg-reader-article {
  min-width: 0;
}

.mg-reader-article-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(90, 67, 45, 0.14) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 24px 62px rgba(35, 27, 20, 0.12) !important;
}

.mg-reader-inline-cover {
  margin: 0;
  padding: 14px 14px 0;
  background: transparent;
}

.mg-reader-inline-cover.is-image-error {
  display: none;
}

.mg-reader-inline-cover__image,
.mg-reader-inline-cover img {
  width: 100%;
  height: auto !important;
  max-height: 520px;
  object-fit: cover;
  border-radius: 17px;
  background: #f2f4f7;
  box-shadow: 0 13px 36px rgba(19, 26, 37, 0.12);
}

.mg-reader-inline-cover figcaption {
  padding: 8px 8px 0;
  color: #7a8491;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.mg-reader-content {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: clamp(28px, 3vw, 44px) clamp(24px, 2.5vw, 34px)
    clamp(36px, 3.6vw, 50px);
  color: #334155;
  font-size: clamp(16px, 0.25vw + 15px, 17.5px) !important;
  line-height: 1.95 !important;
}

.mg-reader-content > * {
  max-width: 100%;
}

.mg-reader-content > p:first-of-type {
  color: #243244 !important;
  font-size: clamp(17px, 1vw, 19px) !important;
  font-weight: 520;
  line-height: 1.9;
}

.mg-reader-content :where(p, ul, ol, table, blockquote, figure, pre) {
  margin-block: 0 1.35em;
}

.mg-reader-content :where(h2, h3, h4) {
  position: relative;
  color: #172033 !important;
  font-weight: 900 !important;
  letter-spacing: -0.015em;
  text-wrap: pretty;
  scroll-margin-top: 32px;
}

.mg-reader-content h2 {
  margin: 2.05em 0 0.75em;
  padding: 13px 16px;
  border: 1px solid rgba(var(--mg-orange-rgb), 0.14);
  border-inline-start: 4px solid var(--mg-orange);
  border-radius: 12px;
  background: rgba(var(--mg-orange-rgb), 0.065) !important;
  font-size: clamp(23px, 1.85vw, 30px) !important;
  line-height: 1.42 !important;
}

.mg-reader-content h3 {
  margin: 1.8em 0 0.62em;
  padding-inline-start: 17px;
  font-size: clamp(20px, 1.35vw, 24px) !important;
  line-height: 1.48 !important;
}

.mg-reader-content h3::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.57em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mg-orange);
  box-shadow: 0 0 0 4px rgba(var(--mg-orange-rgb), 0.1);
}

.mg-reader-content h4 {
  margin: 1.55em 0 0.5em;
  padding-inline-start: 13px;
  border-inline-start: 2px solid rgba(var(--mg-orange-rgb), 0.62);
  color: #263247 !important;
  font-size: clamp(18px, 1.05vw, 21px) !important;
  line-height: 1.55 !important;
}

.mg-reader-content :where(ul, ol) {
  padding-inline-start: 1.35em;
}

.mg-reader-content li {
  margin-bottom: 0.5em;
  padding-inline-start: 0.25em;
}

.mg-reader-content li::marker {
  color: var(--mg-orange-dark);
  font-weight: 900;
}

.mg-reader-content a:not([class]) {
  color: var(--mg-orange-dark) !important;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(var(--mg-orange-rgb), 0.35);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.mg-reader-content blockquote {
  padding: 18px 20px;
  border: 1px solid rgba(var(--mg-orange-rgb), 0.2);
  border-inline-start: 4px solid var(--mg-orange);
  border-radius: 14px;
  background: #fff8f2;
  color: #374151;
  font-size: 0.97em;
}

.mg-reader-content table {
  border: 1px solid #e4e8ee;
  border-radius: 12px;
  background: #fff;
}

.mg-reader-content th {
  background: #f5f7fa;
  color: #172033;
}

.mg-reader-content :where(th, td) {
  padding: 12px 14px;
  border-bottom: 1px solid #e9edf2;
  text-align: start;
}

/* Sidebar: compact, readable and aligned with the article. */
.mg-reader-sidebar {
  position: sticky;
  top: 18px;
  gap: 14px;
  min-width: 0;
}

.mg-reader-widget,
.mg-smart-service--sidebar {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(90, 67, 45, 0.14) !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 14px 36px rgba(35, 27, 20, 0.09) !important;
  backdrop-filter: blur(12px);
}

.mg-reader-widget {
  padding: 15px;
}

.mg-reader-widget > header {
  min-width: 0;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(90, 67, 45, 0.11);
}

.mg-reader-widget > header > span {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(var(--mg-orange-rgb), 0.1) !important;
  color: var(--mg-orange-dark) !important;
}

.mg-reader-widget h2 {
  min-width: 0;
  margin: 0;
  color: #172033;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.mg-toc-toggle {
  flex: 0 0 31px;
}

.mg-auto-toc {
  display: grid;
  gap: 3px;
  max-height: 455px;
  padding-inline-end: 3px;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(var(--mg-orange-rgb), 0.45) transparent;
}

.mg-auto-toc::-webkit-scrollbar {
  width: 6px;
}

.mg-auto-toc::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(var(--mg-orange-rgb), 0.42);
}

.mg-auto-toc a {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 9px;
  border: 0;
  border-radius: 9px;
  color: #596474;
  font-size: 11.5px;
  line-height: 1.55;
  overflow-wrap: normal;
  word-break: normal;
  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.mg-auto-toc__index {
  min-width: 24px;
  flex: 0 0 24px;
  color: var(--mg-orange-dark);
  font-size: 9.5px;
  font-weight: 900;
  line-height: 1.85;
  direction: ltr;
  text-align: center;
}

.mg-auto-toc__label {
  min-width: 0;
  flex: 1 1 auto;
  display: block;
  overflow-wrap: break-word;
}

.mg-auto-toc a[data-level="h3"] {
  padding-inline-start: 18px;
  font-size: 11px;
}

.mg-auto-toc a[data-level="h4"] {
  padding-inline-start: 28px;
  color: #748090;
  font-size: 10.5px;
}

.mg-auto-toc a:hover,
.mg-auto-toc a.is-active {
  background: rgba(var(--mg-orange-rgb), 0.085);
  color: #172033;
  transform: translateX(-2px);
}

[dir="ltr"] .mg-auto-toc a:hover,
[dir="ltr"] .mg-auto-toc a.is-active {
  transform: translateX(2px);
}

.mg-auto-toc a.is-active {
  box-shadow: inset -3px 0 0 var(--mg-orange);
}

[dir="ltr"] .mg-auto-toc a.is-active {
  box-shadow: inset 3px 0 0 var(--mg-orange);
}

.mg-reader-info > div {
  padding: 9px 0;
}

.mg-reader-info dt {
  color: #7b8491;
  font-size: 11px;
}

.mg-reader-info dd {
  color: #1c2636;
  font-size: 11.5px;
}

.mg-reader-mini-posts {
  gap: 7px;
}

.mg-reader-mini-posts > a {
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 9px;
  min-width: 0;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 11px;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    transform 0.18s ease;
}

.mg-reader-mini-posts > a:hover {
  border-color: rgba(var(--mg-orange-rgb), 0.16);
  background: rgba(var(--mg-orange-rgb), 0.05);
  transform: translateY(-2px);
}

.mg-reader-mini-posts > a > span {
  height: 54px;
  border-radius: 9px;
}

.mg-reader-mini-posts strong {
  color: #1c2636;
  font-size: 11.5px;
  line-height: 1.5;
}

/* Context-aware article service card. */
.mg-smart-service {
  position: relative;
  overflow: hidden;
  border-color: rgba(var(--mg-orange-rgb), 0.22) !important;
  background: linear-gradient(
    135deg,
    rgba(255, 249, 244, 0.99),
    rgba(255, 255, 255, 0.99)
  ) !important;
}

.mg-smart-service::after {
  content: "";
  position: absolute;
  width: 105px;
  height: 105px;
  inset: auto -42px -50px auto;
  border-radius: 50%;
  background: rgba(var(--mg-orange-rgb), 0.07);
  pointer-events: none;
}

.mg-smart-service--sidebar {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 11px;
  padding: 15px;
}

.mg-smart-service--inline {
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  margin: 30px 0;
  padding: 20px;
  border-radius: 17px;
  box-shadow: 0 13px 34px rgba(53, 38, 25, 0.075);
}

.mg-smart-service-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mg-orange), #ef9a5d);
  color: #fff;
  box-shadow: 0 9px 22px rgba(var(--mg-orange-rgb), 0.22);
}

.mg-smart-service--inline .mg-smart-service-icon {
  width: 52px;
  height: 52px;
}

.mg-smart-service-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.mg-smart-service-copy small {
  color: var(--mg-orange-dark);
  font-size: 9.5px;
  font-weight: 900;
}

.mg-smart-service-copy h2 {
  margin: 2px 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #162032 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

.mg-smart-service--inline h2 {
  font-size: clamp(19px, 1.6vw, 23px) !important;
}

.mg-smart-service-copy p {
  margin: 0 0 10px;
  color: #66707e;
  font-size: 11px;
  line-height: 1.65;
}

.mg-smart-service-actions {
  gap: 7px;
}

.mg-smart-service-primary,
.mg-smart-service-secondary {
  min-height: 38px;
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 10.5px;
}

.mg-smart-service-primary {
  background: linear-gradient(135deg, var(--mg-orange), #ee9351);
  color: #fff;
  box-shadow: 0 9px 20px rgba(var(--mg-orange-rgb), 0.2);
}

.mg-smart-service-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 13px 26px rgba(var(--mg-orange-rgb), 0.26);
}

/* Sharing, navigation, related posts and promoted services. */
.mg-reader-share,
.mg-post-navigation > div > a {
  border-color: rgba(90, 67, 45, 0.14) !important;
  background: rgba(255, 255, 255, 0.97) !important;
  box-shadow: 0 12px 30px rgba(35, 27, 20, 0.075);
}

.mg-reader-share {
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 14px;
}

.mg-reader-share nav a,
.mg-reader-share nav button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.mg-reader-share nav a:hover,
.mg-reader-share nav button:hover {
  border-color: var(--mg-orange) !important;
  background: var(--mg-orange) !important;
  color: #fff !important;
  transform: translateY(-2px);
}

.mg-post-navigation {
  gap: 9px;
  margin-top: 10px;
}

.mg-post-navigation > div > a {
  min-height: 68px;
  padding: 11px 13px;
  border-radius: 13px;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.mg-post-navigation > div > a:hover {
  border-color: rgba(var(--mg-orange-rgb), 0.34) !important;
  transform: translateY(-3px);
}

.mg-reader-related,
.mg-reader-services {
  margin-top: clamp(40px, 5vw, 66px);
}

.mg-reader-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 760px;
  margin-bottom: 19px;
}

.mg-reader-section-heading > span {
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  flex: 0 0 43px;
  border: 1px solid rgba(var(--mg-orange-rgb), 0.17);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--mg-orange-dark);
  box-shadow: 0 9px 22px rgba(35, 27, 20, 0.065);
}

.mg-reader-section-heading small,
.mg-mag-section-title small {
  color: var(--mg-orange-dark);
  font-weight: 900;
}

.mg-reader-section-heading h2 {
  margin: 1px 0 3px;
  color: #152033;
  font-size: clamp(23px, 2vw, 32px);
}

.mg-reader-section-heading p {
  margin: 0;
  color: #687382;
}

.mg-reader-service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mg-reader-service-card {
  position: relative;
  min-width: 0;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(90, 67, 45, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 13px 32px rgba(35, 27, 20, 0.08);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.mg-reader-service-card::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  inset: auto -45px -48px auto;
  border-radius: 50%;
  background: rgba(var(--mg-orange-rgb), 0.065);
}

.mg-reader-service-card:hover {
  border-color: rgba(var(--mg-orange-rgb), 0.34);
  box-shadow: 0 20px 44px rgba(35, 27, 20, 0.12);
  transform: translateY(-5px);
}

.mg-reader-service-card__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--mg-orange), #ec9252);
  color: #fff;
  box-shadow: 0 9px 21px rgba(var(--mg-orange-rgb), 0.2);
}

.mg-reader-service-card__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mg-reader-service-card__copy small {
  color: var(--mg-orange-dark);
  font-size: 9.5px;
  font-weight: 900;
}

.mg-reader-service-card__copy strong {
  color: #172133;
  font-size: 15px;
  line-height: 1.45;
}

.mg-reader-service-card__copy > span {
  display: -webkit-box;
  overflow: hidden;
  color: #687382;
  font-size: 11px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.mg-reader-service-card__arrow {
  position: absolute;
  z-index: 1;
  inset: auto auto 15px 15px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(var(--mg-orange-rgb), 0.1);
  color: var(--mg-orange-dark);
}

[dir="rtl"] .mg-reader-service-card__arrow {
  inset: auto 15px 15px auto;
}

/* More attractive article cards and read button. */
.mg-mag-card {
  overflow: hidden;
  border-radius: 19px !important;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mg-mag-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 48px rgba(35, 27, 20, 0.12) !important;
}

.mg-mag-card-body {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.mg-mag-card-link {
  width: fit-content;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  padding: 9px 14px;
  border: 1px solid rgba(var(--mg-orange-rgb), 0.2);
  border-radius: 12px;
  background: linear-gradient(135deg, var(--mg-orange), #ee9554);
  color: #fff !important;
  font-size: 11.5px;
  font-weight: 900;
  box-shadow: 0 9px 21px rgba(var(--mg-orange-rgb), 0.19);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    gap 0.18s ease;
}

.mg-mag-card-link:hover {
  gap: 12px;
  transform: translateY(-2px);
  box-shadow: 0 13px 27px rgba(var(--mg-orange-rgb), 0.26);
}

.mg-mag-card-link .mg-icon {
  width: 16px;
  height: 16px;
}

/* Service editorial text remains readable over the patterned page background. */
body.mg-theme:not(.mg-account-page) .mg7-prose {
  border-color: var(--mg-page-border) !important;
  background: var(--mg-page-surface-strong) !important;
  box-shadow: var(--mg-page-shadow) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Dark article reader. */
html[data-theme="dark"] body.mg-theme {
  background-image:
    linear-gradient(rgba(13, 21, 32, 0.88), rgba(13, 21, 32, 0.88)),
    url("../images/patterns/migrago-site-background.webp") !important;
}

html[data-theme="dark"] .mg-reader-article-card,
html[data-theme="dark"] .mg-reader-widget,
html[data-theme="dark"] .mg-reader-share,
html[data-theme="dark"] .mg-post-navigation > div > a,
html[data-theme="dark"] .mg-reader-service-card,
html[data-theme="dark"] .mg-reader-section-heading > span {
  border-color: var(--mg-page-border) !important;
  background: var(--mg-page-surface-strong) !important;
  color: var(--mg7-ink) !important;
  box-shadow: var(--mg-page-shadow) !important;
}

html[data-theme="dark"] .mg-reader-content {
  color: #d6dde7;
}

html[data-theme="dark"] .mg-reader-content > p:first-of-type,
html[data-theme="dark"] .mg-reader-content :where(h2, h3, h4),
html[data-theme="dark"] .mg-reader-widget h2,
html[data-theme="dark"] .mg-reader-info dd,
html[data-theme="dark"] .mg-reader-mini-posts strong,
html[data-theme="dark"] .mg-reader-section-heading h2,
html[data-theme="dark"] .mg-reader-service-card__copy strong,
html[data-theme="dark"] .mg-smart-service-copy h2 {
  color: var(--mg7-ink) !important;
}

html[data-theme="dark"] .mg-reader-content h2 {
  border-color: rgba(var(--mg-orange-rgb), 0.2);
  background: rgba(var(--mg-orange-rgb), 0.09) !important;
}

html[data-theme="dark"] .mg-reader-content blockquote {
  background: rgba(var(--mg-orange-rgb), 0.085);
  color: #d6dde7;
}

html[data-theme="dark"] .mg-reader-content table,
html[data-theme="dark"] .mg-reader-content th {
  background: rgba(255, 255, 255, 0.035) !important;
}

html[data-theme="dark"] .mg-auto-toc a {
  color: var(--mg7-muted);
}

html[data-theme="dark"] .mg-auto-toc a:hover,
html[data-theme="dark"] .mg-auto-toc a.is-active {
  color: var(--mg7-ink);
}

html[data-theme="dark"] .mg-smart-service {
  background: linear-gradient(
    135deg,
    rgba(42, 32, 26, 0.86),
    rgba(29, 37, 49, 0.98)
  ) !important;
}

html[data-theme="dark"] .mg-reader-service-card__copy > span,
html[data-theme="dark"] .mg-reader-section-heading p,
html[data-theme="dark"] .mg-smart-service-copy p {
  color: var(--mg7-muted) !important;
}

html[data-theme="dark"] body.mg-theme .mg7-prose {
  color: var(--mg7-ink);
}

@media (max-width: 1180px) {
  .mg-reader-layout {
    grid-template-columns: minmax(0, 1fr) 286px;
  }

  .mg-reader-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .mg-reader-head h1 {
    max-width: 820px;
  }

  .mg-reader-layout {
    grid-template-columns: 1fr;
    margin-top: -30px;
  }

  .mg-reader-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mg-toc-widget,
  .mg-smart-service--sidebar {
    grid-column: 1 / -1;
  }

  .mg-auto-toc {
    max-height: 360px;
  }
}

@media (max-width: 620px) {
  body.mg-theme {
    background-size: auto, 620px auto !important;
  }

  .mg-reader-head {
    padding: 34px 0 58px;
  }

  .mg-breadcrumb {
    margin-bottom: 13px;
  }

  .mg-reader-head h1 {
    margin-top: 10px;
    font-size: clamp(28px, 8.5vw, 38px);
    line-height: 1.3;
  }

  .mg-reader-meta {
    gap: 6px;
  }

  .mg-reader-meta span {
    min-height: 29px;
    padding: 4px 7px;
    font-size: 9.5px;
  }

  .mg-reader-layout {
    margin-top: -24px;
  }

  .mg-reader-article-card {
    border-radius: 18px !important;
  }

  .mg-reader-inline-cover {
    padding: 8px 8px 0;
  }

  .mg-reader-inline-cover__image,
  .mg-reader-inline-cover img {
    max-height: 360px;
    border-radius: 13px;
  }

  .mg-reader-content {
    padding: 24px 16px 32px;
    font-size: 16px !important;
    line-height: 1.92 !important;
  }

  .mg-reader-content h2 {
    margin-top: 1.75em;
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 22px !important;
  }

  .mg-reader-content h3 {
    font-size: 19px !important;
  }

  .mg-reader-content h4 {
    font-size: 17px !important;
  }

  .mg-reader-sidebar,
  .mg-reader-service-grid,
  .mg-mag-post-grid--related,
  .mg-post-navigation {
    grid-template-columns: 1fr;
  }

  .mg-reader-share {
    align-items: flex-start;
    flex-direction: column;
  }

  .mg-reader-service-card {
    min-height: 180px;
  }

  .mg-smart-service--inline,
  .mg-smart-service--sidebar {
    grid-template-columns: 1fr;
  }

  .mg-auto-toc a[data-level="h3"] {
    padding-inline-start: 13px;
  }

  .mg-auto-toc a[data-level="h4"] {
    padding-inline-start: 20px;
  }
}

/* ==========================================================================
   Content width and compact article controls — v8.8.1
   ========================================================================== */

/* Let article, page and help text use the actual white card instead of
   creating a second narrow reading column inside it. */
.mg-help-page .mg-content-card {
  padding: 30px;
}

@media (max-width: 950px) {
  .mg-reader-content {
    padding-inline: 24px;
  }

  .mg-help-article-content,
  .mg-help-page .mg-content-card {
    padding-inline: 24px;
  }
}

@media (max-width: 620px) {
  .mg-reader-content,
  .mg-help-article-content {
    padding-inline: 16px;
  }

  .mg-help-page .mg-content-card {
    padding: 22px 16px 27px;
  }

  .mg-reader-share {
    width: 100%;
    gap: 10px;
    padding: 10px 12px;
  }

  .mg-reader-share nav {
    flex-wrap: wrap;
  }

  .mg-post-navigation > div > a {
    min-height: 64px;
    padding: 10px 12px;
  }
}

/* 8.8.4 — Editorial article byline: lighter, clearer and free of segmented-card clutter. */
.mg-reader-head-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mg-reader-head h1 {
  max-width: 940px;
  margin-block: 14px 18px;
  font-size: clamp(34px, 3.55vw, 56px);
  line-height: 1.28;
  text-wrap: balance;
}

.mg-reader-meta {
  display: flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 6px;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.76);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mg-reader-meta .mg-reader-meta__item {
  position: relative;
  display: inline-flex;
  min-width: 0;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 0 15px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mg-reader-meta .mg-reader-meta__item:first-child {
  padding-inline-start: 0;
}

.mg-reader-meta .mg-reader-meta__item + .mg-reader-meta__item {
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
}

.mg-reader-meta .mg-reader-meta__item--author {
  background: transparent;
}

.mg-reader-meta .mg-reader-meta__icon,
.mg-reader-meta .mg-reader-meta__copy,
.mg-reader-meta .mg-reader-meta__value {
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.mg-reader-meta .mg-reader-meta__icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border: 1px solid rgba(255, 185, 133, 0.25);
  border-radius: 50%;
  background: rgba(var(--mg-orange-rgb), 0.10);
  color: #ffc08f;
}

.mg-reader-meta .mg-reader-meta__icon .mg-icon {
  width: 13px;
  height: 13px;
}

.mg-reader-meta .mg-reader-meta__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
  line-height: 1.25;
}

.mg-reader-meta .mg-reader-meta__copy small {
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: nowrap;
}

.mg-reader-meta .mg-reader-meta__copy strong,
.mg-reader-meta .mg-reader-meta__value {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mg-popular-list li a > small:empty {
  display: none;
}

@media (max-width: 620px) {
  .mg-reader-head {
    padding-bottom: 62px;
  }

  .mg-reader-head h1 {
    margin-block: 12px 17px;
    font-size: clamp(29px, 8.4vw, 39px);
    line-height: 1.3;
  }

  .mg-reader-meta {
    width: 100%;
    row-gap: 10px;
  }

  .mg-reader-meta .mg-reader-meta__item {
    min-height: 30px;
    gap: 7px;
    padding-inline: 11px;
  }

  .mg-reader-meta .mg-reader-meta__item:first-child {
    padding-inline-start: 0;
  }

  .mg-reader-meta .mg-reader-meta__icon {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
  }

  .mg-reader-meta .mg-reader-meta__copy strong,
  .mg-reader-meta .mg-reader-meta__value {
    max-width: 145px;
    font-size: 10.5px;
  }
}

@media (max-width: 430px) {
  .mg-reader-meta {
    align-items: flex-start;
  }

  .mg-reader-meta .mg-reader-meta__item {
    padding-inline: 9px;
  }

  .mg-reader-meta .mg-reader-meta__item:nth-child(3) {
    padding-inline-end: 0;
  }

  .mg-reader-meta .mg-reader-meta__copy strong,
  .mg-reader-meta .mg-reader-meta__value {
    max-width: 110px;
    font-size: 10px;
  }
}



/* 8.8.5 — Sharper single-article header and day-first date formatting support. */
.mg-reader-head h1 {
  max-width: 860px;
  margin-block: 12px 14px;
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.2;
}

.mg-reader-excerpt {
  max-width: 760px;
}

.mg-reader-meta {
  gap: 8px 18px;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.84);
}

.mg-reader-meta .mg-reader-meta__item {
  min-height: 0;
  gap: 7px;
  padding: 0;
  font-size: 13px;
}

.mg-reader-meta .mg-reader-meta__item + .mg-reader-meta__item {
  position: relative;
  border-inline-start: 0;
  padding-inline-start: 18px;
}

.mg-reader-meta .mg-reader-meta__item + .mg-reader-meta__item::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  transform: translateY(-50%);
}

.mg-reader-meta .mg-reader-meta__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 192, 143, 0.96);
}

.mg-reader-meta .mg-reader-meta__icon .mg-icon {
  width: 15px;
  height: 15px;
}

.mg-reader-meta .mg-reader-meta__copy,
.mg-reader-meta .mg-reader-meta__copy small {
  display: none;
}

.mg-reader-meta .mg-reader-meta__value {
  overflow: visible;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-overflow: clip;
  white-space: normal;
}

@media (max-width: 620px) {
  .mg-reader-head h1 {
    max-width: 100%;
    margin-block: 10px 14px;
    font-size: clamp(26px, 7.4vw, 36px);
    line-height: 1.26;
  }

  .mg-reader-meta {
    gap: 8px 12px;
  }

  .mg-reader-meta .mg-reader-meta__item {
    gap: 6px;
    padding: 0;
  }

  .mg-reader-meta .mg-reader-meta__item + .mg-reader-meta__item {
    padding-inline-start: 14px;
  }

  .mg-reader-meta .mg-reader-meta__value {
    max-width: none;
    font-size: 11.5px;
  }
}

@media (max-width: 430px) {
  .mg-reader-meta {
    align-items: center;
  }

  .mg-reader-meta .mg-reader-meta__item + .mg-reader-meta__item {
    padding-inline-start: 12px;
  }

  .mg-reader-meta .mg-reader-meta__value {
    font-size: 11px;
  }
}

/* 8.9.1 — Refined plugin-driven service carousel and unified search. */
.mg7-service-carousel {
  width: min(1240px, 100%);
  margin-top: 30px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 9px;
}

.mg7-service-carousel.is-static {
  grid-template-columns: minmax(0, 1fr);
}

.mg7-service-nav[hidden] {
  display: none !important;
}

.mg7-service-nav {
  width: 46px;
  height: 62px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 151, 82, 0.46);
  border-radius: 16px;
  background: rgba(7, 13, 22, 0.7);
  color: #ffb26f;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.mg7-service-nav:hover,
.mg7-service-nav:focus-visible {
  border-color: rgba(255, 181, 123, 0.92);
  background: rgba(12, 20, 32, 0.92);
  color: #fff;
  transform: translateY(-1px);
}

.mg7-service-nav:focus-visible {
  outline: 3px solid rgba(255, 145, 70, 0.24);
  outline-offset: 2px;
}

.mg7-service-nav .mg-icon {
  width: 22px;
  height: 22px;
}

.mg7-service-nav:disabled {
  opacity: 0.34;
  color: rgba(255, 178, 111, 0.7);
  cursor: default;
  transform: none;
}


.mg7-service-nav--previous .mg-icon {
  transform: rotate(180deg);
}

.mg7-service-dock {
  width: 100%;
  min-width: 0;
  margin: 0;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 16px 7px 7px;
  border: 1px solid rgba(255, 146, 76, 0.34);
  border-radius: 23px;
  background: linear-gradient(180deg, rgba(24, 20, 24, 0.88), rgba(12, 17, 26, 0.88));
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  scroll-behavior: smooth;
  scroll-padding-inline: 8px;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.mg7-service-dock::-webkit-scrollbar {
  display: none;
}

.mg7-service-tab {
  position: relative;
  flex: 0 0 clamp(142px, 14.1vw, 166px);
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.015);
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  scroll-snap-align: center;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.mg7-service-tab + .mg7-service-tab {
  margin-inline-start: 5px;
}

.mg7-service-tab:hover,
.mg7-service-tab:focus-visible {
  border-color: rgba(255, 151, 82, 0.62);
  background: rgba(255, 136, 52, 0.08);
  color: #fff;
}

.mg7-service-tab:focus-visible {
  outline: 3px solid rgba(255, 145, 70, 0.2);
  outline-offset: -1px;
}

.mg7-service-tab.is-active {
  border-color: rgba(255, 183, 126, 0.9);
  background: linear-gradient(135deg, #f5a15d, #df7432);
  color: #251208;
  box-shadow:
    0 11px 24px rgba(132, 58, 15, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.mg7-service-tab.is-upcoming:not(.is-active) {
  color: rgba(255, 255, 255, 0.9);
}

.mg7-service-tab__icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  flex: 0 0 22px;
}

.mg7-service-tab__icon .mg-icon {
  width: 21px;
  height: 21px;
}

.mg7-service-tab__label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.mg7-service-badge {
  position: absolute;
  inset-block-start: -13px;
  inset-inline-start: 50%;
  z-index: 3;
  min-width: 42px;
  padding: 3px 8px 4px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: #d86c2c;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: 0 5px 14px rgba(25, 12, 4, 0.28);
  transform: translateX(-50%);
}

[dir="rtl"] .mg7-service-badge,
html[dir="rtl"] .mg7-service-badge {
  transform: translateX(50%);
}

.mg7-service-badge[data-badge="new"] {
  background: #16996f;
}

.mg7-search-card {
  padding: 18px;
  border: 1px solid rgba(216, 221, 229, 0.92);
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.985);
  box-shadow:
    0 24px 62px rgba(8, 18, 34, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.mg7-search-form,
.mg7-search-form.is-service-disabled {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  gap: 12px;
  align-items: stretch;
}

.mg7-search-panels,
.mg7-search-panel,
.mg7-search-plugin-content {
  min-width: 0;
}

.mg7-search-fields {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--mg7-search-units, 4), minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.mg7-search-field--wide {
  grid-column: span 2;
}

.mg7-search-fields--flights,
.mg7-search-fields--ferry,
.mg7-search-fields--train {
  grid-template-columns:
    minmax(205px, 1.55fr)
    minmax(205px, 1.55fr)
    minmax(138px, 0.82fr)
    minmax(138px, 0.82fr)
    minmax(150px, 0.9fr);
}

.mg7-search-fields--ferry,
.mg7-search-fields--train {
  grid-template-columns:
    minmax(205px, 1.55fr)
    minmax(205px, 1.55fr)
    minmax(145px, 0.86fr)
    minmax(155px, 0.92fr);
}

.mg7-search-fields--flights .mg7-search-field--wide,
.mg7-search-fields--ferry .mg7-search-field--wide,
.mg7-search-fields--train .mg7-search-field--wide {
  grid-column: auto;
}

.mg7-search-field {
  position: relative;
  min-width: 0;
  min-height: 74px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  grid-template-areas: "icon copy";
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  overflow: hidden;
  border: 1px solid #dce2ea;
  border-radius: 17px;
  background: #fff;
  cursor: text;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.mg7-search-field:hover {
  border-color: #cfd7e2;
  background: #fdfefe;
}

.mg7-search-field:focus-within {
  z-index: 2;
  border-color: rgba(224, 111, 43, 0.72);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(224, 111, 43, 0.1);
}

.mg7-search-field__icon {
  grid-area: icon;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #667487;
}

.mg7-search-field__icon .mg-icon {
  width: 20px;
  height: 20px;
}

.mg7-search-field__copy {
  position: relative;
  grid-area: copy;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.mg7-search-field small {
  display: block;
  margin: 0;
  color: #727e90;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1;
  white-space: nowrap;
}

.mg7-search-field input,
.mg7-search-field select {
  width: 100%;
  min-width: 0;
  height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #172235;
  font: inherit;
  font-size: 14px;
  font-weight: 760;
  line-height: 28px;
  box-shadow: none;
}

.mg7-search-field input::placeholder {
  color: #8a95a5;
  opacity: 1;
}

.mg7-search-field select {
  appearance: none;
  -webkit-appearance: none;
  padding-inline-end: 23px;
  cursor: pointer;
}

.mg7-search-field--type-select::after {
  content: "";
  position: absolute;
  inset-inline-end: 16px;
  inset-block-start: 50%;
  width: 7px;
  height: 7px;
  border-inline-end: 2px solid #263449;
  border-block-end: 2px solid #263449;
  transform: translateY(2px) rotate(45deg);
  pointer-events: none;
}

.mg7-search-field--type-date input {
  direction: ltr;
  text-align: right;
  color-scheme: light;
  font-variant-numeric: tabular-nums;
}

.mg7-search-field--type-date input::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
}

.mg7-search-field input:disabled,
.mg7-search-field select:disabled {
  color: #697484;
  cursor: default;
  opacity: 1;
}

body.mg-theme .mg7-search-swap {
  position: absolute;
  inset-inline-start: calc(27% - 19px);
  inset-block-start: 50%;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid #f2c6a8;
  border-radius: 50%;
  background: #fff;
  color: #d96825;
  box-shadow: 0 8px 22px rgba(154, 70, 17, 0.14);
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

body.mg-theme .mg7-search-fields--ferry .mg7-search-swap,
body.mg-theme .mg7-search-fields--train .mg7-search-swap {
  inset-inline-start: calc(36.5% - 18px);
}

body.mg-theme .mg7-search-swap:hover,
body.mg-theme .mg7-search-swap:focus-visible {
  border-color: #dc7b3b;
  color: #b84f16;
  box-shadow: 0 10px 26px rgba(154, 70, 17, 0.2);
  transform: translateY(-50%) scale(1.04);
}

body.mg-theme .mg7-search-swap .mg-icon {
  width: 18px;
  height: 18px;
}

.mg7-search-submit {
  min-height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid rgba(215, 102, 34, 0.9);
  border-radius: 18px;
  background: linear-gradient(135deg, #f6a15d, #df7130) !important;
  color: #241207 !important;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 13px 30px rgba(151, 65, 13, 0.2) !important;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    box-shadow 0.18s ease;
}

.mg7-search-submit:hover,
.mg7-search-submit:focus-visible {
  color: #241207 !important;
  filter: saturate(1.05) brightness(1.02);
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(151, 65, 13, 0.27) !important;
}

.mg7-search-submit__icon {
  display: grid;
  place-items: center;
}

.mg7-search-submit__icon .mg-icon {
  width: 21px;
  height: 21px;
}

.mg7-search-submit__icon--pending {
  display: none;
}

.mg7-search-form.is-service-disabled .mg7-search-fields,
.mg7-search-form.is-service-disabled .mg7-search-plugin-content,
.mg7-search-form.is-service-disabled .mg7-search-pending {
  opacity: 0.68;
}

.mg7-search-form.is-service-disabled .mg7-search-field {
  background: #f6f7f9;
  cursor: default;
}

.mg7-search-form.is-service-disabled .mg7-search-submit {
  background: #e8ebef !important;
  border-color: #d9dee6 !important;
  color: #596575 !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

.mg7-search-form.is-service-disabled .mg7-search-submit__icon--search {
  display: none;
}

.mg7-search-form.is-service-disabled .mg7-search-submit__icon--pending {
  display: grid;
}

.mg7-search-pending {
  min-height: 74px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 10px;
}

.mg7-search-pending span {
  border: 1px solid #e1e5eb;
  border-radius: 17px;
  background: linear-gradient(90deg, #f4f6f8 25%, #fafbfc 50%, #f4f6f8 75%);
}

@media (max-width: 1240px) {
  .mg7-service-carousel {
    width: min(1160px, calc(100vw - 28px));
  }

  .mg7-service-tab {
    flex-basis: 145px;
  }

  .mg7-search-form,
  .mg7-search-form.is-service-disabled {
    grid-template-columns: minmax(0, 1fr) 124px;
  }

  .mg7-search-fields--flights,
  .mg7-search-fields--ferry,
  .mg7-search-fields--train {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .mg7-search-fields--flights .mg7-search-field--from,
  .mg7-search-fields--flights .mg7-search-field--to,
  .mg7-search-fields--ferry .mg7-search-field--from,
  .mg7-search-fields--ferry .mg7-search-field--to,
  .mg7-search-fields--train .mg7-search-field--from,
  .mg7-search-fields--train .mg7-search-field--to {
    grid-column: span 2;
  }

  body.mg-theme .mg7-search-swap,
  body.mg-theme .mg7-search-fields--ferry .mg7-search-swap,
  body.mg-theme .mg7-search-fields--train .mg7-search-swap {
    inset-inline-start: calc(50% - 19px);
    inset-block-start: 37px;
  }
}

@media (max-width: 980px) {
  .mg7-service-carousel {
    width: calc(100vw - 24px);
    grid-template-columns: 38px minmax(0, 1fr) 38px;
    gap: 6px;
  }

  .mg7-service-nav {
    width: 36px;
    height: 58px;
    border-radius: 13px;
  }

  .mg7-service-tab {
    flex-basis: 126px;
    min-height: 56px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .mg7-search-form,
  .mg7-search-form.is-service-disabled {
    grid-template-columns: 1fr;
  }

  .mg7-search-submit {
    min-height: 58px;
  }
}

@media (max-width: 820px) {
  .mg7-service-carousel {
    margin-top: 22px;
  }

  .mg7-service-dock {
    padding: 15px 6px 6px;
    border-radius: 18px;
  }

  .mg7-service-tab {
    flex: 0 0 108px;
    min-height: 56px;
    gap: 7px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 11px;
  }

  .mg7-service-tab__icon,
  .mg7-service-tab__icon .mg-icon {
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }

  .mg7-service-badge {
    inset-block-start: -11px;
    min-width: 38px;
    padding: 3px 7px;
    font-size: 9px;
  }

  .mg7-search-card {
    padding: 14px;
    border-radius: 21px;
  }

  .mg7-search-fields,
  .mg7-search-fields--flights,
  .mg7-search-fields--ferry,
  .mg7-search-fields--train {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mg7-search-field--wide,
  .mg7-search-fields--flights .mg7-search-field--from,
  .mg7-search-fields--flights .mg7-search-field--to,
  .mg7-search-fields--ferry .mg7-search-field--from,
  .mg7-search-fields--ferry .mg7-search-field--to,
  .mg7-search-fields--train .mg7-search-field--from,
  .mg7-search-fields--train .mg7-search-field--to {
    grid-column: span 2;
  }

  .mg7-search-field {
    min-height: 66px;
    border-radius: 15px;
  }

  body.mg-theme .mg7-search-swap,
  body.mg-theme .mg7-search-fields--ferry .mg7-search-swap,
  body.mg-theme .mg7-search-fields--train .mg7-search-swap {
    inset-inline-start: calc(50% - 18px);
    inset-block-start: 72px;
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 540px) {
  .mg7-service-carousel {
    width: calc(100vw - 14px);
    grid-template-columns: 30px minmax(0, 1fr) 30px;
    gap: 4px;
  }

  .mg7-service-nav {
    width: 28px;
    height: 52px;
    border: 0;
    border-radius: 12px;
    background: rgba(7, 12, 20, 0.56);
  }

  .mg7-service-nav .mg-icon {
    width: 17px;
    height: 17px;
  }

  .mg7-service-tab {
    flex-basis: 98px;
    font-size: 10px;
  }

  .mg7-search-card {
    padding: 12px;
  }

  .mg7-search-fields,
  .mg7-search-fields--flights,
  .mg7-search-fields--ferry,
  .mg7-search-fields--train {
    grid-template-columns: 1fr;
  }

  .mg7-search-field--wide,
  .mg7-search-fields--flights .mg7-search-field--from,
  .mg7-search-fields--flights .mg7-search-field--to,
  .mg7-search-fields--ferry .mg7-search-field--from,
  .mg7-search-fields--ferry .mg7-search-field--to,
  .mg7-search-fields--train .mg7-search-field--from,
  .mg7-search-fields--train .mg7-search-field--to {
    grid-column: auto;
  }

  .mg7-search-field {
    min-height: 62px;
    padding: 10px 12px;
  }

  body.mg-theme .mg7-search-swap,
  body.mg-theme .mg7-search-fields--ferry .mg7-search-swap,
  body.mg-theme .mg7-search-fields--train .mg7-search-swap {
    position: static;
    width: 100%;
    height: 36px;
    transform: none;
    border-radius: 11px;
    grid-column: 1;
  }

  body.mg-theme .mg7-search-swap:hover,
  body.mg-theme .mg7-search-swap:focus-visible {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mg7-service-dock {
    scroll-behavior: auto;
  }
}


/* 9.1.0 — Generic plugin-driven search layout. */
.mg7-search-fields,
.mg7-search-fields[class*="mg7-search-fields--"] {
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
}

.mg7-search-fields .mg7-search-field--wide,
.mg7-search-fields[class*="mg7-search-fields--"] .mg7-search-field--wide {
  grid-column: span 2;
}

body.mg-theme .mg7-search-fields .mg7-search-swap,
body.mg-theme .mg7-search-fields[class*="mg7-search-fields--"] .mg7-search-swap {
  position: static;
  inset: auto;
  align-self: center;
  justify-self: center;
  width: 42px;
  height: 42px;
  transform: none;
}

body.mg-theme .mg7-search-fields .mg7-search-swap:hover,
body.mg-theme .mg7-search-fields .mg7-search-swap:focus-visible {
  transform: scale(1.04);
}

@media (max-width: 1240px) {
  .mg7-search-fields,
  .mg7-search-fields[class*="mg7-search-fields--"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .mg7-search-fields,
  .mg7-search-fields[class*="mg7-search-fields--"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.mg-theme .mg7-search-fields .mg7-search-swap,
  body.mg-theme .mg7-search-fields[class*="mg7-search-fields--"] .mg7-search-swap {
    width: 100%;
    border-radius: 12px;
  }
}

@media (max-width: 540px) {
  .mg7-search-fields,
  .mg7-search-fields[class*="mg7-search-fields--"] {
    grid-template-columns: 1fr;
  }

  .mg7-search-fields .mg7-search-field--wide,
  .mg7-search-fields[class*="mg7-search-fields--"] .mg7-search-field--wide {
    grid-column: auto;
  }
}

/* 8.9.6 — Press, achievements and partners. */
.mg-showcase-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 126px) 0 clamp(48px, 6vw, 82px);
  background:
    radial-gradient(circle at 16% 18%, rgba(var(--mg-orange-rgb), .22), transparent 34%),
    linear-gradient(135deg, #101722 0%, #172231 58%, #24202a 100%);
  color: #fff;
}

.mg-showcase-hero__glow {
  position: absolute;
  inset: auto -10% -60% auto;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: rgba(var(--mg-orange-rgb), .16);
  filter: blur(90px);
  pointer-events: none;
}

.mg-showcase-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
}

.mg-showcase-hero__icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.09);
  color: #ffb77e;
  box-shadow: 0 20px 44px rgba(0,0,0,.2);
  backdrop-filter: blur(14px);
}

.mg-showcase-hero__icon .mg-icon { width: 36px; height: 36px; }
.mg-showcase-hero__eyebrow { color: #ffb77e; font-size: 13px; font-weight: 900; letter-spacing: .04em; }
.mg-showcase-hero h1 { margin: 8px 0 10px; color: #fff; font-size: clamp(34px, 5vw, 66px); line-height: 1.08; }
.mg-showcase-hero p { max-width: 760px; margin: 0; color: rgba(255,255,255,.76); font-size: clamp(15px, 1.4vw, 19px); line-height: 1.85; }

.mg-showcase-page { padding: clamp(44px, 6vw, 86px) 0 96px; }
.mg-showcase-intro { max-width: 920px; margin: 0 auto 38px; padding: 24px 28px; border: 1px solid var(--mg-page-border, #e2e6ec); border-radius: 22px; background: var(--mg-page-surface, #fff); box-shadow: 0 16px 38px rgba(16,32,52,.07); }
.mg-showcase-intro > :first-child { margin-top: 0; }
.mg-showcase-intro > :last-child { margin-bottom: 0; }

.mg-showcase-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 0 0 34px; }
.mg-showcase-filters a { padding: 10px 17px; border: 1px solid var(--mg-page-border, #dde3eb); border-radius: 999px; background: var(--mg-page-surface, #fff); color: var(--mg7-ink, #172235); font-size: 13px; font-weight: 850; transition: .18s ease; }
.mg-showcase-filters a:hover, .mg-showcase-filters a.is-active { border-color: rgba(var(--mg-orange-rgb), .7); background: rgba(var(--mg-orange-rgb), .1); color: var(--mg-orange); }

.mg-press-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mg-press-card { overflow: hidden; border: 1px solid var(--mg-page-border, #e1e6ed); border-radius: 24px; background: var(--mg-page-surface, #fff); box-shadow: 0 18px 44px rgba(16,32,52,.08); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.mg-press-card:hover { transform: translateY(-4px); border-color: rgba(var(--mg-orange-rgb), .4); box-shadow: 0 24px 52px rgba(16,32,52,.13); }
.mg-press-card.is-featured { grid-column: span 2; }
.mg-press-card__media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #141c27; }
.mg-press-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.mg-press-card:hover .mg-press-card__media img { transform: scale(1.035); }
.mg-press-card__play { position: absolute; inset: 50% auto auto 50%; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: rgba(17,23,32,.82); color: #fff; transform: translate(-50%,-50%); box-shadow: 0 10px 30px rgba(0,0,0,.28); }
.mg-press-card__play .mg-icon { width: 27px; height: 27px; }
.mg-showcase-badge { display: inline-flex; align-items: center; justify-content: center; padding: 6px 10px; border-radius: 999px; background: rgba(var(--mg-orange-rgb), .12); color: var(--mg-orange); font-size: 11px; font-weight: 900; line-height: 1; }
.mg-press-card__media > .mg-showcase-badge { position: absolute; inset: 14px 14px auto auto; background: rgba(15,22,31,.82); color: #fff; backdrop-filter: blur(10px); }
[dir="rtl"] .mg-press-card__media > .mg-showcase-badge { inset: 14px auto auto 14px; }
.mg-press-card__body { padding: 21px; }
.mg-press-card__meta { display: flex; flex-wrap: wrap; gap: 9px 14px; margin-bottom: 10px; color: #788598; font-size: 11px; font-weight: 750; }
.mg-press-card h2 { margin: 0 0 10px; font-size: 20px; line-height: 1.45; }
.mg-press-card p { margin: 0 0 17px; color: #687487; font-size: 13px; line-height: 1.8; }
.mg-showcase-link { display: inline-flex; align-items: center; gap: 7px; color: var(--mg-orange); font-size: 13px; font-weight: 900; }
.mg-showcase-link .mg-icon { width: 16px; height: 16px; }
[dir="rtl"] .mg-showcase-link .mg-icon { transform: rotate(180deg); }

.mg-showcase-placeholder { width: 100%; height: 100%; min-height: 160px; display: grid; place-items: center; background: linear-gradient(135deg, #202a38, #111823); color: rgba(255,255,255,.7); }
.mg-showcase-placeholder .mg-icon { width: 46px; height: 46px; }

.mg-achievement-timeline { position: relative; display: grid; gap: 26px; max-width: 1080px; margin: 0 auto; }
.mg-achievement-timeline::before { content: ""; position: absolute; inset: 0 34px 0 auto; width: 2px; background: linear-gradient(var(--mg-orange), rgba(var(--mg-orange-rgb), .08)); }
[dir="rtl"] .mg-achievement-timeline::before { inset: 0 auto 0 34px; }
.mg-achievement-card { position: relative; display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 0; margin-inline-start: 72px; overflow: hidden; border: 1px solid var(--mg-page-border, #e1e6ed); border-radius: 26px; background: var(--mg-page-surface, #fff); box-shadow: 0 18px 44px rgba(16,32,52,.08); }
.mg-achievement-card__step { position: absolute; inset-inline-start: -72px; inset-block-start: 30px; width: 48px; height: 48px; display: grid; place-items: center; border: 5px solid var(--mg-page-bg, #f6f7f9); border-radius: 50%; background: var(--mg-orange); color: #fff; font-size: 11px; font-weight: 900; z-index: 2; }
.mg-achievement-card__media { min-height: 260px; background: #151e2a; }
.mg-achievement-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mg-achievement-card__body { padding: clamp(24px, 4vw, 42px); }
.mg-achievement-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #7a8798; font-size: 12px; }
.mg-achievement-card__number { display: flex; align-items: baseline; gap: 9px; margin: 18px 0 10px; }
.mg-achievement-card__number strong { color: var(--mg-orange); font-size: clamp(40px, 5vw, 66px); line-height: 1; letter-spacing: -.04em; }
.mg-achievement-card__number span { color: #536174; font-size: 14px; font-weight: 850; }
.mg-achievement-card h2 { margin: 0 0 11px; font-size: clamp(22px, 2.5vw, 31px); }
.mg-achievement-card p { margin: 0 0 20px; color: #657285; line-height: 1.85; }

.mg-partner-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.mg-partner-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--mg-page-border, #e1e6ed); border-radius: 24px; background: var(--mg-page-surface, #fff); box-shadow: 0 16px 38px rgba(16,32,52,.07); transition: transform .2s ease, border-color .2s ease; }
.mg-partner-card:hover { transform: translateY(-4px); border-color: rgba(var(--mg-orange-rgb), .42); }
.mg-partner-card__logo { min-height: 170px; display: grid; place-items: center; padding: 28px; border-bottom: 1px solid var(--mg-page-border, #e8ebf0); background: linear-gradient(145deg, #fff, #f7f8fa); }
.mg-partner-card__logo img { max-width: 220px; max-height: 105px; width: auto; height: auto; object-fit: contain; }
.mg-partner-card__logo > .mg-icon { width: 54px; height: 54px; color: #7c8999; }
.mg-partner-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.mg-partner-card h2 { margin: 12px 0 8px; font-size: 21px; }
.mg-partner-card p { margin: 0 0 17px; color: #687487; line-height: 1.75; }
.mg-partner-card__meta { display: flex; flex-wrap: wrap; gap: 8px 13px; margin: auto 0 17px; color: #758296; font-size: 12px; }
.mg-partner-card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.mg-partner-card__meta .mg-icon { width: 15px; height: 15px; }
.mg-partners-note { max-width: 860px; margin: 32px auto 0; padding: 15px 20px; border-radius: 15px; background: rgba(var(--mg-orange-rgb), .07); color: #687487; text-align: center; font-size: 12px; line-height: 1.8; }

.mg-showcase-empty { max-width: 760px; margin: 0 auto; padding: 52px 26px; border: 1px dashed #cfd7e2; border-radius: 24px; text-align: center; background: var(--mg-page-surface, #fff); }
.mg-showcase-empty > .mg-icon { width: 48px; height: 48px; color: var(--mg-orange); }
.mg-showcase-empty h2 { margin: 15px 0 8px; font-size: 22px; }
.mg-showcase-empty p { margin: 0; color: #6e7a8d; }
.mg-showcase-pagination { margin-top: 38px; }
.mg-showcase-pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; padding: 0; list-style: none; }
.mg-showcase-pagination a, .mg-showcase-pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 11px; border: 1px solid var(--mg-page-border, #dfe4eb); border-radius: 12px; background: var(--mg-page-surface, #fff); font-weight: 800; }
.mg-showcase-pagination .current { border-color: var(--mg-orange); background: var(--mg-orange); color: #fff; }

.mg-showcase-single { padding: 54px 0 100px; background: var(--mg-page-bg, #f6f7f9); }
.mg-showcase-single__shell { max-width: 1060px; }
.mg-showcase-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; color: #758296; font-size: 12px; }
.mg-showcase-breadcrumb a { color: var(--mg-orange); font-weight: 800; }
.mg-showcase-single__article { overflow: hidden; border: 1px solid var(--mg-page-border, #e1e6ed); border-radius: 30px; background: var(--mg-page-surface, #fff); box-shadow: 0 26px 70px rgba(16,32,52,.1); }
.mg-showcase-single__header { padding: clamp(30px, 6vw, 70px); text-align: center; }
.mg-showcase-single__labels { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; color: #7a8798; font-size: 12px; }
.mg-showcase-single__header h1, .mg-partner-profile h1 { max-width: 900px; margin: 18px auto 13px; font-size: clamp(32px, 5vw, 58px); line-height: 1.2; }
.mg-showcase-single__header > p { max-width: 780px; margin: 0 auto; color: #687487; font-size: 17px; line-height: 1.85; }
.mg-showcase-single__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin-top: 23px; color: #697689; font-size: 12px; }
.mg-showcase-single__facts span { display: inline-flex; align-items: center; gap: 7px; }
.mg-showcase-single__facts .mg-icon { width: 17px; height: 17px; color: var(--mg-orange); }
.mg-showcase-single__cover { margin: 0; }
.mg-showcase-single__cover img { width: 100%; max-height: 650px; object-fit: cover; }
.mg-showcase-single__content { max-width: 820px; margin: 0 auto; padding: clamp(32px, 6vw, 70px); }
.mg-showcase-source { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(26px, 6vw, 70px); border-top: 1px solid var(--mg-page-border, #e3e7ed); background: rgba(var(--mg-orange-rgb), .045); }
.mg-showcase-source span { color: #788496; font-size: 12px; font-weight: 750; }
.mg-showcase-source a { display: inline-flex; align-items: center; gap: 7px; color: var(--mg-orange); font-weight: 850; }
.mg-showcase-source .mg-icon { width: 17px; height: 17px; }
.mg-showcase-video { position: relative; max-width: 100%; aspect-ratio: 16/9; background: #0d131c; }
.mg-showcase-video iframe, .mg-showcase-video video { width: 100%; height: 100%; border: 0; }
.mg-showcase-video__link { width: 100%; height: 100%; display: grid; place-items: center; align-content: center; gap: 12px; color: #fff; font-weight: 900; }
.mg-showcase-video__link .mg-icon { width: 60px; height: 60px; color: #ff9e59; }
.mg-achievement-hero-number { display: flex; justify-content: center; align-items: baseline; gap: 10px; margin-top: 24px; }
.mg-achievement-hero-number strong { color: var(--mg-orange); font-size: clamp(60px, 10vw, 118px); line-height: .85; }
.mg-achievement-hero-number span { color: #667487; font-weight: 900; }
.mg-partner-profile__header { display: grid; grid-template-columns: 230px minmax(0,1fr); align-items: center; gap: 38px; padding: clamp(30px, 6vw, 68px); }
.mg-partner-profile__logo { min-height: 180px; display: grid; place-items: center; padding: 26px; border: 1px solid var(--mg-page-border, #e2e7ed); border-radius: 24px; background: #fff; }
.mg-partner-profile__logo img { max-width: 190px; max-height: 120px; width: auto; height: auto; object-fit: contain; }
.mg-partner-profile__logo > .mg-icon { width: 62px; height: 62px; color: #7a8798; }
.mg-partner-profile__header .mg-showcase-single__labels, .mg-partner-profile__header .mg-showcase-single__facts { justify-content: flex-start; }
[dir="rtl"] .mg-partner-profile__header .mg-showcase-single__labels, [dir="rtl"] .mg-partner-profile__header .mg-showcase-single__facts { justify-content: flex-start; }
.mg-partner-profile h1 { margin-inline: 0; }
.mg-partner-profile__notice { margin: 0; padding: 18px clamp(26px, 6vw, 70px); border-top: 1px solid var(--mg-page-border, #e3e7ed); color: #6f7b8d; background: #f8f9fb; font-size: 12px; line-height: 1.75; }

.mg-home-showcase { background: linear-gradient(180deg, rgba(var(--mg-orange-rgb), .03), transparent 34%); }
.mg-home-achievements, .mg-home-press, .mg-home-partners { margin-block: 0 72px; }
.mg-home-achievements__grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.mg-home-achievement { position: relative; min-height: 230px; padding: 26px; overflow: hidden; border: 1px solid var(--mg-page-border, #e1e6ed); border-radius: 24px; background: var(--mg-page-surface, #fff); box-shadow: 0 16px 38px rgba(16,32,52,.07); transition: transform .2s ease; }
.mg-home-achievement:hover { transform: translateY(-4px); }
.mg-home-achievement__icon { position: absolute; inset: 20px auto auto 20px; color: rgba(var(--mg-orange-rgb), .25); }
[dir="rtl"] .mg-home-achievement__icon { inset: 20px 20px auto auto; }
.mg-home-achievement__icon .mg-icon { width: 38px; height: 38px; }
.mg-home-achievement__number { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.mg-home-achievement__number strong { color: var(--mg-orange); font-size: 45px; line-height: 1; }
.mg-home-achievement__number small { color: #6f7c8f; font-weight: 850; }
.mg-home-achievement h3 { margin: 0 0 9px; font-size: 20px; }
.mg-home-achievement p { margin: 0; color: #6a7789; font-size: 13px; line-height: 1.75; }
.mg-home-press__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.mg-home-press-card { overflow: hidden; border: 1px solid var(--mg-page-border, #e1e6ed); border-radius: 22px; background: var(--mg-page-surface,#fff); }
.mg-home-press-card__media { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; background: #141c27; }
.mg-home-press-card__media img { width: 100%; height: 100%; object-fit: cover; }
.mg-home-press-card__media .mg-showcase-badge { position: absolute; inset: 12px 12px auto auto; background: rgba(15,22,31,.82); color: #fff; }
[dir="rtl"] .mg-home-press-card__media .mg-showcase-badge { inset: 12px auto auto 12px; }
.mg-home-press-card > div { padding: 17px 18px 20px; }
.mg-home-press-card small { color: #7a8798; font-size: 11px; }
.mg-home-press-card h3 { margin: 7px 0 0; font-size: 17px; line-height: 1.5; }
.mg-home-partners__track { display: flex; gap: 13px; overflow-x: auto; padding: 6px 2px 14px; scrollbar-width: thin; scroll-snap-type: x proximity; }
.mg-home-partner-logo { flex: 0 0 190px; min-height: 112px; display: grid; place-items: center; gap: 8px; padding: 20px; border: 1px solid var(--mg-page-border, #e2e6ec); border-radius: 18px; background: var(--mg-page-surface, #fff); scroll-snap-align: start; }
.mg-home-partner-logo img { max-width: 145px; max-height: 70px; width: auto; height: auto; object-fit: contain; }
.mg-home-partner-logo .mg-icon { width: 34px; height: 34px; color: #7c8999; }
.mg-home-partner-logo strong { font-size: 12px; text-align: center; }

html[data-theme="dark"] .mg-partner-card__logo,
html[data-theme="dark"] .mg-partner-profile__logo { background: #fff; }
html[data-theme="dark"] .mg-partner-profile__notice { background: rgba(255,255,255,.025); }
html[data-theme="dark"] .mg-press-card p,
html[data-theme="dark"] .mg-achievement-card p,
html[data-theme="dark"] .mg-partner-card p,
html[data-theme="dark"] .mg-showcase-single__header > p,
html[data-theme="dark"] .mg-home-achievement p { color: #aab3c0; }

@media (max-width: 980px) {
  .mg-press-grid, .mg-partner-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mg-press-card.is-featured { grid-column: span 1; }
  .mg-achievement-card { grid-template-columns: 240px minmax(0,1fr); }
  .mg-home-achievements__grid, .mg-home-press__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mg-home-achievement:last-child, .mg-home-press-card:last-child { grid-column: span 2; }
}

@media (max-width: 720px) {
  .mg-showcase-hero__inner { grid-template-columns: 1fr; text-align: center; }
  .mg-showcase-hero__icon { margin: 0 auto; width: 66px; height: 66px; border-radius: 20px; }
  .mg-showcase-hero p { margin-inline: auto; }
  .mg-press-grid, .mg-partner-grid, .mg-home-achievements__grid, .mg-home-press__grid { grid-template-columns: 1fr; }
  .mg-home-achievement:last-child, .mg-home-press-card:last-child { grid-column: auto; }
  .mg-achievement-timeline::before { inset-inline-start: 22px; }
  .mg-achievement-card { grid-template-columns: 1fr; margin-inline-start: 54px; }
  .mg-achievement-card__step { inset-inline-start: -54px; width: 40px; height: 40px; }
  .mg-achievement-card__media { min-height: 210px; }
  .mg-partner-profile__header { grid-template-columns: 1fr; text-align: center; }
  .mg-partner-profile__logo { max-width: 280px; width: 100%; margin: 0 auto; }
  .mg-partner-profile__header .mg-showcase-single__labels, .mg-partner-profile__header .mg-showcase-single__facts { justify-content: center; }
  .mg-partner-profile h1 { margin-inline: auto; }
  .mg-showcase-source { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .mg-showcase-page { padding-top: 34px; }
  .mg-showcase-intro { padding: 19px; border-radius: 18px; }
  .mg-press-card, .mg-partner-card, .mg-achievement-card, .mg-showcase-single__article { border-radius: 20px; }
  .mg-showcase-single { padding-top: 30px; }
  .mg-showcase-single__header, .mg-showcase-single__content { padding: 26px 20px; }
  .mg-showcase-single__header h1, .mg-partner-profile h1 { font-size: 31px; }
}


/* 8.9.7 — Compact adaptive footer and clearer site identity. */
.mg7-brand__name {
  display: block;
  min-width: 0;
  color: #fff;
  font-size: var(--mg-header-brand-size, 20px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.015em;
  white-space: nowrap;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.mg7-brand--header,
.mg7-brand--drawer {
  gap: 11px;
}

.mg7-brand--header .mg7-brand__logo,
.mg7-brand--drawer .mg7-brand__logo {
  flex: 0 0 auto;
}

.mg10-footer {
  --mg-footer-max-width: 1600px;
  --mg-footer-side-space: 22px;
  --mg-footer-vertical-space: 26px;
  --mg-footer-section-gap: 24px;
  --mg-footer-brand-size: 28px;
}

.mg10-footer__shell.mg-container {
  width: min(
    calc(100% - (var(--mg-footer-side-space) * 2)),
    var(--mg-footer-max-width)
  );
  max-width: none;
  padding-block:
    var(--mg-footer-vertical-space)
    calc(16px + env(safe-area-inset-bottom));
}

.mg10-footer__top {
  grid-template-columns: minmax(320px, 1.08fr) minmax(480px, 1fr);
  gap: var(--mg-footer-section-gap);
  padding-bottom: calc(var(--mg-footer-vertical-space) * 0.72);
}

.mg10-footer__brand-text strong {
  font-size: var(--mg-footer-brand-size);
  letter-spacing: 0.01em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.mg10-footer__description {
  max-width: 660px;
  margin-top: 14px;
}

.mg10-footer__meta-card {
  min-height: 82px;
  padding: 14px 16px;
}

.mg10-footer__grid,
.mg10-footer__grid--has-policies {
  grid-template-columns:
    minmax(300px, 1.15fr)
    minmax(300px, 1.12fr)
    minmax(300px, 1.12fr)
    minmax(220px, 0.78fr);
  gap: var(--mg-footer-section-gap);
  padding-block: calc(var(--mg-footer-vertical-space) * 0.72);
}

.mg10-footer__column h2 {
  margin-bottom: 14px;
  padding-bottom: 10px;
}

.mg10-footer__link-columns {
  display: grid;
  grid-template-columns: repeat(var(--mg-footer-link-columns, 1), minmax(0, 1fr));
  gap: 10px 18px;
  min-width: 0;
  align-items: start;
}

.mg10-footer__links,
.mg10-footer__links--services,
.mg10-footer__links--policies {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 9px;
}

.mg10-footer__links a {
  gap: 8px;
  font-size: 11.8px;
}

.mg10-footer__link-icon {
  width: 28px;
  height: 28px;
}

.mg10-footer__actions {
  gap: 9px;
  margin-top: 14px;
}

.mg10-footer__action {
  min-height: 42px;
}

.mg10-footer__bottom {
  min-height: 58px;
  padding-top: 15px;
}

@media (max-width: 1320px) {
  .mg10-footer__grid,
  .mg10-footer__grid--has-policies {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .mg10-footer__top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .mg7-brand__name {
    font-size: min(var(--mg-header-brand-size, 20px), 18px);
  }

  .mg10-footer__shell.mg-container {
    width: min(calc(100% - 24px), var(--mg-footer-max-width));
    padding-top: max(20px, calc(var(--mg-footer-vertical-space) * 0.82));
  }

  .mg10-footer__grid,
  .mg10-footer__grid--has-policies {
    grid-template-columns: 1fr;
    gap: max(20px, var(--mg-footer-section-gap));
  }
}

@media (max-width: 560px) {
  .mg7-brand--header {
    gap: 8px;
  }

  .mg7-brand--header .mg7-brand__name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mg10-footer__link-columns {
    gap: 8px 12px;
  }

  .mg10-footer__links a {
    font-size: 11.2px;
  }
}


/* 8.9.8 — Press item source note and YouTube thumbnail fallback. */
.mg-showcase-note {
  margin-block: 26px 0;
  padding: 16px 18px;
  border: 1px solid rgba(var(--mg-orange-rgb), 0.2);
  border-radius: 15px;
  background: rgba(var(--mg-orange-rgb), 0.055);
  color: var(--mg7-ink);
  font-size: 14px;
  line-height: 1.85;
}

.mg-press-card__media > img,
.mg-home-press-card__media > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 9.1.0 — Context-aware internal links shared by articles, press and services. */
.mg-reader-service-grid--1 {
  grid-template-columns: minmax(0, 1fr);
  max-width: 620px;
}

.mg-reader-service-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mg-reader-service-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mg-contextual-content .mg-reader-services,
.mg-contextual-content .mg-reader-related {
  margin-top: 0;
}

.mg-contextual-content .mg-mag-section-title {
  margin-bottom: 20px;
}

.mg-showcase-single__related {
  margin-top: clamp(38px, 5vw, 64px);
}

.mg-showcase-single__related:last-child {
  margin-bottom: clamp(26px, 4vw, 52px);
}

@media (max-width: 1180px) {
  .mg-reader-service-grid--3,
  .mg-reader-service-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .mg-reader-service-grid--1,
  .mg-reader-service-grid--2,
  .mg-reader-service-grid--3,
  .mg-reader-service-grid--4 {
    grid-template-columns: 1fr;
    max-width: none;
  }
}


/* Home discovery count-aware improvements */
.mg-discovery-group-meta {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--mg-orange-dark);
  font-size: 11px;
  font-weight: 850;
}
.mg-discovery-group--count-1 .mg-discovery-track,
.mg-discovery-group--count-2 .mg-discovery-track {
  grid-template-columns: repeat(var(--mg-discovery-columns, 1), minmax(0, 360px));
  justify-content: start;
}
.mg-discovery-group--count-1 { --mg-discovery-columns: 1; }
.mg-discovery-group--count-2 { --mg-discovery-columns: 2; }
.mg-discovery-group.is-compact {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 360px);
  gap: 22px;
  align-items: start;
}
.mg-discovery-group.is-compact .mg-discovery-group-head {
  display: block;
  margin-bottom: 0;
}
.mg-discovery-group.is-compact .mg-discovery-group-title {
  align-items: flex-start;
}
.mg-discovery-group.is-compact .mg-discovery-group-title > div {
  max-width: 720px;
}
.mg-discovery-group.is-compact .mg-discovery-group-title h3 {
  margin-bottom: 6px;
}
.mg-discovery-group.is-compact .mg-discovery-group-title p {
  margin-bottom: 12px;
}
.mg-discovery-group.is-compact .mg-discovery-view-all {
  margin-top: 14px;
}
.mg-discovery-group.is-compact .mg-discovery-track {
  grid-template-columns: minmax(0, 360px);
  justify-content: end;
}
.mg-discovery-group.is-compact .mg-discovery-card {
  max-width: 360px;
}
@media (max-width: 980px) {
  .mg-discovery-group.is-compact {
    grid-template-columns: 1fr;
  }
  .mg-discovery-group.is-compact .mg-discovery-view-all {
    width: auto;
  }
  .mg-discovery-group.is-compact .mg-discovery-track {
    justify-content: start;
  }
}
\n\n

/* === Migrago 10.0.5: independent language + currency controls === */
.mg7-header-currency {
  min-height: 44px;
  min-width: 104px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease;
}
.mg7-header-currency:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.11); }
.mg7-header-currency .mg-icon { width: 14px; height: 14px; color: rgba(255,255,255,.62); transition: transform .18s ease; }
.mg7-header-currency:focus-visible { outline: 3px solid rgba(255,122,26,.34); outline-offset: 2px; }

.mg7-header-currency__mark {
  min-width: 24px;
  min-height: 24px;
  padding-inline: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(239,120,50,.14);
  color: #f58a45;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
.mg7-header-currency__code { font-weight: 900; letter-spacing: .02em; text-decoration: none; }
.mg7-header-currency__chevron { width: 16px; height: 16px; display:inline-flex; align-items:center; justify-content:center; opacity:.72; }
.mg7-header-currency__chevron .mg-icon { width: 14px; height: 14px; display:block; }
.mg7-header-currency[aria-expanded="true"] .mg7-header-currency__chevron { transform: rotate(180deg); }
.mg7-header-currency[aria-expanded="true"] > .mg-icon { transform:none; }

.mg7-language-menu { width: 244px; }
.mg7-language-menu__head { justify-content: flex-start; }

.mg7-currency-popover {
  position: absolute;
  inset-block-start: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 20;
  width: 210px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 17px;
  background: #0a1626;
  box-shadow: 0 22px 55px rgba(0,0,0,.34);
  color: #fff;
}
.mg7-currency-popover[hidden] { display: none; }
.mg7-currency-popover__head { padding: 6px 7px 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.mg7-currency-popover__head strong { font-size: 13px; }
.mg7-currency-popover__list { display: grid; gap: 4px; padding-top: 7px; }
.mg7-currency-popover__list a {
  min-height: 42px;
  padding: 8px 9px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 42px 18px;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  color: #e9edf3;
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
}
.mg7-currency-popover__list a:hover,
.mg7-currency-popover__list a.is-active { background: rgba(255,255,255,.07); color:#fff; }
.mg7-currency-popover__list a.is-active { box-shadow: inset 3px 0 0 var(--mg7-orange); }
[dir="rtl"] .mg7-currency-popover__list a.is-active { box-shadow: inset -3px 0 0 var(--mg7-orange); }
.mg7-currency-popover__list .mg-icon { width:16px; height:16px; color:var(--mg7-orange); }

.mg7-mobile-currency-list { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-block-start:10px; }
.mg7-mobile-currency-list a {
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:8px;
  border:1px solid var(--mg-border,rgba(18,38,58,.10));
  border-radius:12px;
  background:var(--mg-surface,#fff);
  color:inherit;
  text-decoration:none;
  font-weight:800;
}
.mg7-mobile-currency-list a.is-active { border-color:var(--mg-orange,#d36b2c); box-shadow:0 0 0 1px var(--mg-orange,#d36b2c) inset; }
.mg7-mobile-drawer__section-title > span { font-size:12px; color:var(--mg-muted,#667085); font-weight:700; }

html[dir="rtl"] body { direction:rtl; text-align:start; }
html[dir="ltr"] body { direction:ltr; text-align:start; }
[dir="rtl"] .mg-icon--arrow, [dir="rtl"] .mg-showcase-link .mg-icon { transform:rotate(180deg); }
.mg7-header, .mg7-mobile-drawer, .mg10-footer, .mg7-main { text-align:start; }

@media (max-width:1180px) {
  .mg7-header-currency { min-width:94px; padding-inline:8px; }
}
@media (max-width:820px) {
  .mg7-header-currency { display:none; }
}
@media (max-width:520px) {
  .mg7-mobile-currency-list { grid-template-columns:repeat(3,1fr); }
}


/* === Migrago 10.0.6: currency control harmonized with language selector === */
body.mg-theme .mg7-header-currency {
  min-height: 44px;
  min-width: 94px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 780;
  line-height: 1;
  direction: ltr;
  appearance: none;
  -webkit-appearance: none;
}
body.mg-theme .mg7-header-currency:hover {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.11);
}
body.mg-theme .mg7-header-currency__mark {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--mg7-orange);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}
body.mg-theme .mg7-header-currency__code {
  color: #fff;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1;
}
body.mg-theme .mg7-header-currency__chevron {
  width: 14px;
  height: 14px;
  margin-inline-start: 1px;
  color: rgba(255,255,255,.62);
  opacity: 1;
}
body.mg-theme .mg7-header-currency__chevron .mg-icon {
  width: 14px;
  height: 14px;
  color: currentColor;
}
body.mg-theme .mg7-header-currency[aria-expanded="true"] {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.11);
}
body.mg-theme .mg7-currency-popover {
  width: 196px;
  padding: 10px;
}
body.mg-theme .mg7-currency-popover__head {
  padding: 6px 7px 10px;
}
body.mg-theme .mg7-currency-popover__list {
  gap: 3px;
}
body.mg-theme .mg7-currency-popover__list a {
  min-height: 42px;
  grid-template-columns: minmax(0,1fr) 34px 18px;
  gap: 7px;
  padding: 8px 9px;
  font-size: 13px;
  font-weight: 750;
}
body.mg-theme .mg7-currency-popover__list a > span:not(:last-child) {
  color: rgba(255,255,255,.72);
  font-weight: 800;
  text-align: center;
}
@media (max-width:1180px) {
  body.mg-theme .mg7-header-currency { min-width: 88px; padding-inline: 10px; gap: 7px; }
}
/* Core 5 admin-preview service catalogue. Public cards use the same component when services become Live. */
.mg-platform-services{padding-block:72px}.mg-platform-services.is-preview{background:linear-gradient(180deg,rgba(245,248,252,.72),rgba(255,255,255,.96))}.mg-platform-services__heading{align-items:flex-end}.mg-platform-preview-note{display:inline-flex;align-items:center;gap:8px;padding:9px 13px;border:1px solid rgba(240,124,48,.24);border-radius:999px;background:rgba(240,124,48,.08);color:#9d4b17;font-weight:800;font-size:12px}.mg-platform-preview-note svg{width:16px;height:16px}.mg-platform-services__grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.mg-platform-service-card{display:flex;min-height:250px;flex-direction:column;gap:12px;padding:22px;border:1px solid rgba(10,30,51,.1);border-radius:22px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 16px 38px rgba(10,30,51,.07);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.mg-platform-service-card:hover{transform:translateY(-3px);border-color:rgba(240,124,48,.38);box-shadow:0 20px 46px rgba(10,30,51,.11)}.mg-platform-service-card__top{display:flex;align-items:center;justify-content:space-between;gap:12px}.mg-platform-service-card__icon{display:grid;width:46px;height:46px;place-items:center;border-radius:15px;background:#0b1d31;color:#fff}.mg-platform-service-card__icon svg{width:22px;height:22px}.mg-platform-service-card__status{padding:6px 9px;border-radius:999px;background:#fff3e9;color:#a34f19;font-size:11px;font-weight:900}.mg-platform-service-card>strong{font-size:18px;color:#0b1d31}.mg-platform-service-card>p{margin:0;color:#667085;line-height:1.8;flex:1}.mg-platform-service-card__meta{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-top:12px;border-top:1px solid #edf0f4;color:#667085;font-size:11px;font-weight:800}.mg-platform-service-card__meta .is-ready{color:#157347}.mg-platform-service-card__meta .is-building{color:#a15c12}.mg-platform-service-card__cta{display:flex;align-items:center;justify-content:space-between;color:#d96822;font-weight:900;font-size:13px}.mg-platform-service-card__cta svg{width:16px;height:16px}@media(max-width:1100px){.mg-platform-services__grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:780px){.mg-platform-services{padding-block:48px}.mg-platform-services__grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mg-platform-service-card{min-height:220px;padding:18px}}@media(max-width:520px){.mg-platform-services__grid{grid-template-columns:1fr}.mg-platform-service-card{min-height:0}.mg-platform-services__heading{align-items:flex-start}}


/* ==========================================================
   Migrago contrast integrity layer — 11.0.0-alpha.12
   Semantic Light/Dark surfaces with stronger mobile separation.
   ========================================================== */
:root {
  --mg-ui-page: var(--mg-page-bg, #f3eee8);
  --mg-ui-surface: #ffffff;
  --mg-ui-surface-raised: #ffffff;
  --mg-ui-surface-soft: #f7f4f0;
  --mg-ui-control: #ffffff;
  --mg-ui-control-hover: #f7f4f0;
  --mg-ui-border: rgba(13, 23, 40, .14);
  --mg-ui-border-strong: rgba(13, 23, 40, .24);
  --mg-ui-text: #0d1728;
  --mg-ui-muted: #596579;
  --mg-ui-subtle: #788493;
  --mg-ui-selected-bg: rgba(var(--mg-orange-rgb), .11);
  --mg-ui-selected-border: rgba(var(--mg-orange-rgb), .38);
  --mg-ui-focus: rgba(var(--mg-orange-rgb), .48);
  --mg-ui-shadow: 0 16px 40px rgba(13, 23, 40, .10);
  --mg-ui-shadow-raised: 0 24px 58px rgba(13, 23, 40, .14);
  --mg-ui-overlay: rgba(8, 14, 24, .62);
}
html[data-theme="dark"] {
  --mg-ui-page: #0b111a;
  --mg-ui-surface: #151d28;
  --mg-ui-surface-raised: #1a2431;
  --mg-ui-surface-soft: #111923;
  --mg-ui-control: #182331;
  --mg-ui-control-hover: #1e2c3c;
  --mg-ui-border: rgba(255,255,255,.14);
  --mg-ui-border-strong: rgba(255,255,255,.23);
  --mg-ui-text: #f5f7fa;
  --mg-ui-muted: #b8c2cf;
  --mg-ui-subtle: #929ead;
  --mg-ui-selected-bg: rgba(var(--mg-orange-rgb), .17);
  --mg-ui-selected-border: rgba(var(--mg-orange-rgb), .52);
  --mg-ui-focus: rgba(255, 153, 86, .62);
  --mg-ui-shadow: 0 18px 42px rgba(0,0,0,.28);
  --mg-ui-shadow-raised: 0 28px 68px rgba(0,0,0,.38);
  --mg-ui-overlay: rgba(2, 6, 12, .76);
  --mg-page-bg: var(--mg-ui-page);
  --mg-page-surface: var(--mg-ui-surface);
  --mg-page-surface-strong: var(--mg-ui-surface-raised);
  --mg-page-surface-soft: var(--mg-ui-surface-soft);
  --mg-page-border: var(--mg-ui-border);
  --mg-control-bg: var(--mg-ui-control);
  --mg-control-focus: var(--mg-ui-control-hover);
  --mg7-ink: var(--mg-ui-text);
  --mg7-muted: var(--mg-ui-muted);
  --mg7-line: var(--mg-ui-border);
  --mg7-soft: var(--mg-ui-surface-soft);
  --mg7-white: var(--mg-ui-surface);
}
body.mg-theme { color: var(--mg-ui-text); }
body.mg-theme :where(input,select,textarea,button) { accent-color: var(--mg7-orange); }
body.mg-theme :where(input,select,textarea) {
  border-color: var(--mg-ui-border);
  background: var(--mg-ui-control);
  color: var(--mg-ui-text);
}
body.mg-theme :where(input,textarea)::placeholder { color: var(--mg-ui-subtle); opacity:1; }
body.mg-theme :where(input,select,textarea):focus {
  border-color: var(--mg-ui-selected-border);
  box-shadow: 0 0 0 3px rgba(var(--mg-orange-rgb),.14);
}
body.mg-theme :where(.mg7-search-card,.mg-content-card,.mg-route-portal__content,.mg-contact-form-card,.mg-contact-side,.mg-contact-topic,.mg-help-category-card,.mg-help-popular-card>a,.mg-help-faq-list details,.mg-help-result-card,.mg-help-contact-card,.mg-help-article-card,.mg-page-widget,.mg-page-support-card,.mg-discovery-card,.mg-discovery-group,.mg-mag-card,.mg-mag-widget,.mg-home-mag-item,.mg-reader-widget,.mg-reader-article-card,.mg-static-article-card,.mg-reader .mg-reader-content,.mg-legal-note,.mg-reader-share) {
  border-color: var(--mg-ui-border);
  background-color: var(--mg-ui-surface);
  color: var(--mg-ui-text);
}
body.mg-theme :where(.mg-section-heading p,.mg7-section-heading p,.mg-help-category-card p,.mg-help-popular-card p,.mg-mag-card p,.mg-home-mag-copy p,.mg-reader-excerpt,.mg-contact-topic p,.mg-contact-section-head p,.mg-help-section-head p,.mg-static-meta,.mg-reader-meta,.mg-mag-card-meta) { color: var(--mg-ui-muted); }

@media (max-width:820px) {
  .mg7-mobile-drawer {
    border-inline-end: 1px solid var(--mg-ui-border-strong);
    background: var(--mg-ui-surface-raised);
    color: var(--mg-ui-text);
    box-shadow: 22px 0 58px rgba(0,0,0,.28);
  }
  [dir="rtl"] .mg7-mobile-drawer { box-shadow:-22px 0 58px rgba(0,0,0,.28); }
  .mg7-mobile-drawer__head,.mg7-mobile-drawer__section { border-color: var(--mg-ui-border); }
  .mg7-mobile-drawer__close,
  .mg7-mobile-language-list a,.mg7-mobile-language-list>span,
  .mg7-mobile-services a,.mg7-mobile-theme-toggle {
    border-color: var(--mg-ui-border);
    background: var(--mg-ui-control);
    color: var(--mg-ui-text);
  }
  .mg7-mobile-drawer__main a { color: var(--mg-ui-text); }
  .mg7-mobile-drawer__main .mg-icon,.mg7-mobile-drawer__section h2,.mg7-mobile-account-card small,.mg7-mobile-theme-toggle>.mg-icon { color: var(--mg-ui-muted); }
  .mg7-mobile-account-card {
    border-color: var(--mg-ui-selected-border);
    background: var(--mg-ui-selected-bg);
    color: var(--mg-ui-text);
  }
  .mg7-mobile-drawer__main a:hover,.mg7-mobile-drawer__main a.is-active,
  .mg7-mobile-language-list a.is-active,.mg7-mobile-language-list>span.is-active,
  .mg7-mobile-services a:hover,.mg7-mobile-services a:focus-visible {
    border-color: var(--mg-ui-selected-border);
    background: var(--mg-ui-selected-bg);
    color: var(--mg-ui-text);
  }
  .mg10-mobile-nav { background: linear-gradient(180deg,transparent,rgba(8,14,24,.07)); }
  html[data-theme="dark"] .mg10-mobile-nav { background: linear-gradient(180deg,transparent,rgba(0,0,0,.28)); }
  .mg10-mobile-nav__inner {
    border-color: var(--mg-ui-border-strong);
    background: var(--mg-ui-surface-raised);
    box-shadow: var(--mg-ui-shadow-raised);
  }
  .mg10-mobile-nav a { color: var(--mg-ui-muted); }
  .mg10-mobile-nav a>span { background: var(--mg-ui-surface-soft); color: var(--mg-ui-muted); }
  .mg10-mobile-nav a.is-active {
    outline: 1px solid var(--mg-ui-selected-border);
    background: var(--mg-ui-selected-bg);
    color: var(--mg7-orange-strong);
  }
  .mg10-mobile-nav a.is-active>span { background: rgba(var(--mg-orange-rgb),.18); color: var(--mg7-orange-strong); }
  .mg7-mobile-theme-toggle { min-height:56px; border-color:var(--mg-ui-border-strong); }
  .mg7-mobile-theme-toggle__icon { background:var(--mg-ui-selected-bg); color:var(--mg7-orange-strong); }
}

/* Dark mobile specificity guard: supersede legacy !important rules. */
@media (max-width:820px) {
  html[data-theme="dark"] .mg7-mobile-drawer,
  html[data-theme="dark"] .mg10-mobile-nav__inner {
    border-color: var(--mg-ui-border-strong) !important;
    background: var(--mg-ui-surface-raised) !important;
    color: var(--mg-ui-text) !important;
  }
  html[data-theme="dark"] .mg10-mobile-nav a { color: var(--mg-ui-muted); }
  html[data-theme="dark"] .mg10-mobile-nav a > span { background: var(--mg-ui-surface-soft); color: var(--mg-ui-muted); }
  html[data-theme="dark"] .mg10-mobile-nav a.is-active {
    border: 1px solid var(--mg-ui-selected-border);
    background: var(--mg-ui-selected-bg);
    color: #f0a16f;
  }
  html[data-theme="dark"] .mg10-mobile-nav a.is-active > span {
    background: rgba(var(--mg-orange-rgb),.20);
    color: #f0a16f;
  }
}


/* === Migrago Theme alpha16: Visa Data Sync semantic integration === */
body.mg-theme .mgv-public {
  --mgv-brand: var(--mg-orange);
  --mgv-brand-strong: var(--mg7-orange-strong);
  --mgv-ink: var(--mg-ui-text);
  --mgv-muted: var(--mg-ui-muted);
  --mgv-surface: var(--mg-ui-surface);
  --mgv-soft: var(--mg-ui-surface-soft);
  --mgv-line: var(--mg-ui-border);
  --mgv-elevated: var(--mg-ui-surface-raised);
}
body.mg-theme .mgv-result-card,
body.mg-theme .mgv-checker-form,
body.mg-theme .mgv-passport-tool,
body.mg-theme .mgv-country-card {
  color: var(--mg-ui-text);
}
body.mg-theme .mgv-fee-tax,
body.mg-theme .mgv-source small,
body.mg-theme .mgv-source span {
  color: var(--mg-ui-muted);
}
html[data-theme="dark"] body.mg-theme .mgv-checker,
html[data-theme="dark"] body.mg-theme .mgv-result-card,
html[data-theme="dark"] body.mg-theme .mgv-passport,
html[data-theme="dark"] body.mg-theme .mgv-result-grid section {
  border-color: var(--mg-ui-border-strong);
}
@media (max-width:640px) {
  body.mg-theme .mgv-fee { gap:10px; }
  body.mg-theme .mgv-fee > b { min-width:0; white-space:normal; }
}


/* 11.0.0-alpha.17 — Visa traveller journey integration */
body.mg-theme .mgv-result-hero,
body.mg-theme .mgv-journey,
body.mg-theme .mgv-needs,
body.mg-theme .mgv-fees-panel,
body.mg-theme .mgv-service-card,
body.mg-theme .mgv-help-form {
  color: var(--mg-ui-text);
}
body.mg-theme .mgv-route-pill,
body.mg-theme .mgv-document-list li,
body.mg-theme .mgv-journey,
body.mg-theme .mgv-help-form {
  background: var(--mg-ui-surface-soft);
  border-color: var(--mg-ui-border);
}
body.mg-theme .mgv-needs,
body.mg-theme .mgv-fees-panel,
body.mg-theme .mgv-service-card,
body.mg-theme .mgv-primary-cta + .mgv-secondary-cta {
  border-color: var(--mg-ui-border);
}
body.mg-theme .mgv-service-card {
  background: linear-gradient(135deg, color-mix(in srgb, var(--mg-orange) 10%, var(--mg-ui-surface)), var(--mg-ui-surface));
}
html[data-theme="dark"] body.mg-theme .mgv-result-icon,
html[data-theme="dark"] body.mg-theme .mgv-document-list li,
html[data-theme="dark"] body.mg-theme .mgv-journey li > span,
html[data-theme="dark"] body.mg-theme .mgv-secondary-cta {
  background: var(--mg-ui-surface-raised);
  color: var(--mg-ui-text);
}
body.mg-theme .mgv-primary-cta:focus-visible,
body.mg-theme .mgv-secondary-cta:focus-visible,
body.mg-theme .mgv-official-details > summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--mg-orange) 42%, transparent);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  body.mg-theme .mgv-result-card { border-radius: 20px; }
  body.mg-theme .mgv-result-copy h3 { letter-spacing: -0.02em; }
}

/* Alpha 19 — unified service navigation + adaptive request search */
.mg7-service-carousel{width:min(100%,1180px);margin-inline:auto;}
.mg7-service-dock{display:flex;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;overscroll-behavior-inline:contain;scrollbar-width:none;min-width:0;max-width:100%;}
.mg7-service-dock::-webkit-scrollbar{display:none;}
.mg7-service-tab{flex:0 0 auto;min-width:108px;scroll-snap-align:center;}
.mg7-service-carousel.has-overflow .mg7-service-nav{display:grid;}
.mg7-service-carousel.is-static .mg7-service-nav{display:none;}

.mg7-search-fields,.mg7-search-fields[class*="mg7-search-fields--"]{grid-template-columns:repeat(12,minmax(0,1fr));gap:12px;}
.mg7-search-fields .mg7-search-field{grid-column:span 3;min-width:0;}
.mg7-search-fields .mg7-search-field--wide{grid-column:span 6;}
.mg7-search-fields--flights .mg7-search-field--from,
.mg7-search-fields--flights .mg7-search-field--to,
.mg7-search-fields--ferry .mg7-search-field--from_port,
.mg7-search-fields--ferry .mg7-search-field--to_port,
.mg7-search-fields--train .mg7-search-field--from_station,
.mg7-search-fields--train .mg7-search-field--to_station{grid-column:span 3;}

.mg7-service-request-summary{padding-block:24px 8px;background:var(--mg-ui-bg,#fff);}
.mg7-request-summary-card{border:1px solid var(--mg-ui-border,#e5e7eb);border-radius:24px;background:var(--mg-ui-surface,#fff);box-shadow:0 18px 50px rgba(10,28,45,.08);overflow:hidden;}
.mg7-request-summary-card>header{display:flex;align-items:flex-start;gap:16px;padding:24px 26px;border-block-end:1px solid var(--mg-ui-border,#e5e7eb);}
.mg7-request-summary-card>header h2{margin:2px 0 7px;font-size:clamp(1.25rem,2vw,1.65rem);}
.mg7-request-summary-card>header p{margin:0;color:var(--mg-ui-muted,#667085);max-width:760px;line-height:1.75;}
.mg7-request-summary-icon{display:grid;width:48px;height:48px;flex:0 0 48px;place-items:center;border-radius:15px;background:rgba(211,107,44,.12);color:var(--mg-accent,#d36b2c);}
.mg7-request-summary-icon .mg-icon{width:24px;height:24px;}
.mg7-request-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--mg-ui-border,#e5e7eb);}
.mg7-request-summary-item{display:flex;gap:11px;align-items:flex-start;min-width:0;padding:17px 20px;background:var(--mg-ui-surface,#fff);}
.mg7-request-summary-item>span{color:var(--mg-accent,#d36b2c);}
.mg7-request-summary-item .mg-icon{width:18px;height:18px;}
.mg7-request-summary-item small,.mg7-request-summary-item strong{display:block;}
.mg7-request-summary-item small{margin-block-end:3px;color:var(--mg-ui-muted,#667085);font-size:.72rem;}
.mg7-request-summary-item strong{overflow-wrap:anywhere;font-size:.93rem;}
.mg7-request-summary-card>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 24px;background:var(--mg-ui-surface-soft,#f8fafc);}
.mg7-request-summary-card>footer>span{font-size:.78rem;color:var(--mg-ui-muted,#667085);font-weight:800;}
.mg7-request-summary-cta{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 17px;border-radius:13px;background:var(--mg-accent,#d36b2c);color:#fff;font-weight:850;}
.mg7-request-summary-cta .mg-icon{width:17px;height:17px;}

@media(max-width:980px){
  .mg7-search-fields .mg7-search-field,.mg7-search-fields .mg7-search-field--wide{grid-column:span 6;}
  .mg7-request-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .mg7-service-carousel{padding-inline:0;}
  .mg7-service-tab{min-width:92px;}
  .mg7-search-fields,.mg7-search-fields[class*="mg7-search-fields--"]{grid-template-columns:1fr;}
  .mg7-search-fields .mg7-search-field,.mg7-search-fields .mg7-search-field--wide{grid-column:1/-1;}
  .mg7-request-summary-card>header{padding:20px;}
  .mg7-request-summary-grid{grid-template-columns:1fr;}
  .mg7-request-summary-card>footer{align-items:stretch;flex-direction:column;}
  .mg7-request-summary-cta{justify-content:center;width:100%;}
}


/* ==========================================================
   Migrago 11.0.0-alpha.20 — clean currency + search UX polish
   ========================================================== */
.mg7-currency-option-form,
.mg7-mobile-currency-form {
  margin: 0;
  padding: 0;
}

body.mg-theme .mg7-currency-popover__list .mg7-currency-option {
  width: 100%;
  min-height: 42px;
  padding: 8px 9px;
  display: grid;
  grid-template-columns: minmax(0,1fr) 34px 18px;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #e9edf3;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-align: start;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

body.mg-theme .mg7-currency-popover__list .mg7-currency-option:hover,
body.mg-theme .mg7-currency-popover__list .mg7-currency-option:focus-visible,
body.mg-theme .mg7-currency-popover__list .mg7-currency-option.is-active {
  background: rgba(255,255,255,.08);
  color: #fff;
}

body.mg-theme .mg7-currency-popover__list .mg7-currency-option.is-active {
  box-shadow: inset 3px 0 0 var(--mg7-orange);
}

[dir="rtl"] body.mg-theme .mg7-currency-popover__list .mg7-currency-option.is-active {
  box-shadow: inset -3px 0 0 var(--mg7-orange);
}

body.mg-theme .mg7-currency-popover__list .mg7-currency-option .mg-icon {
  width: 16px;
  height: 16px;
  color: var(--mg7-orange);
}

.mg7-mobile-currency-list .mg7-mobile-currency-form {
  min-width: 0;
}

.mg7-mobile-currency-list .mg7-mobile-currency-form > button {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1px solid var(--mg-border,rgba(18,38,58,.10));
  border-radius: 12px;
  background: var(--mg-surface,#fff);
  color: inherit;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.mg7-mobile-currency-list .mg7-mobile-currency-form > button.is-active {
  border-color: var(--mg-orange,#d36b2c);
  box-shadow: 0 0 0 1px var(--mg-orange,#d36b2c) inset;
}

/* Service dock: compact, consistent, and easier to scan. */
body.mg-theme .mg7-service-carousel {
  width: min(1260px, 100%);
  grid-template-columns: 42px minmax(0,1fr) 42px;
  gap: 8px;
  margin-top: 26px;
}

body.mg-theme .mg7-service-dock {
  gap: 8px;
  padding: 10px;
  border-color: rgba(255,255,255,.15);
  border-radius: 22px;
  background: rgba(8,18,31,.70);
  box-shadow: 0 18px 45px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.05);
}

body.mg-theme .mg7-service-tab,
body.mg-theme a.mg7-service-tab,
body.mg-theme button.mg7-service-tab {
  flex: 0 0 clamp(104px, 10.6vw, 126px);
  min-height: 70px;
  flex-direction: column;
  gap: 7px;
  padding: 10px 9px;
  margin: 0;
  border-color: rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.92);
  font-size: 12.5px;
  font-weight: 820;
  line-height: 1.15;
}

body.mg-theme .mg7-service-tab + .mg7-service-tab { margin-inline-start: 0; }

body.mg-theme .mg7-service-tab__icon {
  width: 25px;
  height: 25px;
  flex-basis: 25px;
  color: #f6a15d;
}

body.mg-theme .mg7-service-tab__icon .mg-icon {
  width: 23px;
  height: 23px;
}

body.mg-theme .mg7-service-tab:hover,
body.mg-theme .mg7-service-tab:focus-visible {
  border-color: rgba(246,161,93,.58);
  background: rgba(246,161,93,.11);
  transform: translateY(-1px);
}

body.mg-theme .mg7-service-tab.is-active {
  border-color: rgba(255,183,126,.92);
  background: linear-gradient(145deg,#fff8f2,#ffe4cf);
  color: #3b1b09;
  box-shadow: 0 10px 24px rgba(75,31,7,.22), inset 0 1px 0 rgba(255,255,255,.9);
}

body.mg-theme .mg7-service-tab.is-active .mg7-service-tab__icon { color: #d76624; }

body.mg-theme .mg7-service-nav {
  width: 40px;
  height: 54px;
  border-radius: 14px;
  border-color: rgba(255,255,255,.16);
  background: rgba(8,18,31,.72);
  color: #ffad6c;
}

/* Search card: one coherent product surface instead of loose fields. */
body.mg-theme .mg7-search-wrap {
  position: relative;
  z-index: 6;
}

body.mg-theme .mg7-search-card {
  position: relative;
  padding: 14px;
  overflow: visible;
  border: 1px solid rgba(17,38,59,.12);
  border-radius: 24px;
  background: rgba(255,255,255,.99);
  box-shadow: 0 24px 60px rgba(11,30,50,.13), 0 4px 12px rgba(11,30,50,.06);
}

body.mg-theme .mg7-search-card::before {
  content: "";
  position: absolute;
  inset-inline: 28px;
  inset-block-start: 0;
  height: 3px;
  border-radius: 0 0 99px 99px;
  background: linear-gradient(90deg,#ef7c33,#f2a161);
}

body.mg-theme .mg7-search-card__context {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 13px;
  margin-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
}

body.mg-theme .mg7-search-card__context-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #fff2e8;
  color: #d96825;
}

body.mg-theme .mg7-search-card__context-icon .mg-icon { width: 21px; height: 21px; }

body.mg-theme .mg7-search-card__context-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body.mg-theme .mg7-search-card__context-copy small {
  color: #8a5c3c;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .02em;
}

body.mg-theme .mg7-search-card__context-copy strong {
  color: #10263a;
  font-size: 16px;
  line-height: 1.25;
}

body.mg-theme .mg7-search-card__context-copy p {
  max-width: 820px;
  margin: 0;
  overflow: hidden;
  color: #6d7786;
  font-size: 11.5px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.mg-theme .mg7-search-card__context-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid #dfe9e5;
  border-radius: 999px;
  background: #f5fbf8;
  color: #28755a;
  font-size: 10.5px;
  font-weight: 850;
  white-space: nowrap;
}

body.mg-theme .mg7-search-card__context-badge .mg-icon { width: 15px; height: 15px; }

body.mg-theme .mg7-search-form,
body.mg-theme .mg7-search-form.is-service-disabled {
  grid-template-columns: minmax(0,1fr) minmax(148px,168px);
  gap: 10px;
}

body.mg-theme .mg7-search-fields { gap: 8px; }

body.mg-theme .mg7-search-field {
  min-height: 68px;
  grid-template-columns: 22px minmax(0,1fr);
  gap: 9px;
  padding: 10px 12px;
  border-color: #e1e6ed;
  border-radius: 15px;
  background: #fbfcfd;
}

body.mg-theme .mg7-search-field:hover { background: #fff; border-color: #cfd7e2; }
body.mg-theme .mg7-search-field:focus-within {
  border-color: rgba(220,106,40,.68);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(224,111,43,.09);
}

body.mg-theme .mg7-search-field__icon { width: 22px; height: 22px; color: #718095; }
body.mg-theme .mg7-search-field__icon .mg-icon { width: 18px; height: 18px; }
body.mg-theme .mg7-search-field__copy { gap: 4px; }
body.mg-theme .mg7-search-field small { color: #7c8797; font-size: 9.5px; font-weight: 800; }
body.mg-theme .mg7-search-field input,
body.mg-theme .mg7-search-field select {
  height: 27px;
  color: #14283d;
  font-size: 13.5px;
  font-weight: 780;
  line-height: 27px;
}

body.mg-theme .mg7-search-submit {
  min-height: 68px;
  padding: 12px 15px;
  border-radius: 16px;
  border-color: #db6b2a;
  background: linear-gradient(135deg,#ed7b36,#d96525) !important;
  color: #fff !important;
  font-size: 14px;
  box-shadow: 0 12px 28px rgba(193,82,20,.22) !important;
}

body.mg-theme .mg7-search-submit:hover,
body.mg-theme .mg7-search-submit:focus-visible {
  color: #fff !important;
  filter: brightness(1.03);
  box-shadow: 0 15px 32px rgba(193,82,20,.29) !important;
}

body.mg-theme .mg7-search-swap {
  width: 34px;
  height: 34px;
  border-color: #efc3a4;
  box-shadow: 0 7px 18px rgba(154,70,17,.12);
}

@media (max-width: 1100px) {
  body.mg-theme .mg7-service-tab,
  body.mg-theme a.mg7-service-tab,
  body.mg-theme button.mg7-service-tab { flex-basis: 105px; }
  body.mg-theme .mg7-search-card__context-copy p { max-width: 620px; }
}

@media (max-width: 820px) {
  body.mg-theme .mg7-service-carousel {
    width: calc(100vw - 20px);
    grid-template-columns: 34px minmax(0,1fr) 34px;
    gap: 5px;
  }
  body.mg-theme .mg7-service-nav { width: 32px; height: 50px; border-radius: 12px; }
  body.mg-theme .mg7-service-dock { gap: 6px; padding: 8px; border-radius: 18px; }
  body.mg-theme .mg7-service-tab,
  body.mg-theme a.mg7-service-tab,
  body.mg-theme button.mg7-service-tab {
    flex-basis: 92px;
    min-height: 64px;
    padding: 8px 6px;
    border-radius: 14px;
    font-size: 11.5px;
  }
  body.mg-theme .mg7-search-card { padding: 12px; border-radius: 21px; }
  body.mg-theme .mg7-search-card__context {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 10px;
    padding-bottom: 10px;
  }
  body.mg-theme .mg7-search-card__context-icon { width: 38px; height: 38px; border-radius: 12px; }
  body.mg-theme .mg7-search-card__context-badge { display: none; }
  body.mg-theme .mg7-search-card__context-copy p { white-space: normal; font-size: 11px; }
}

@media (max-width: 620px) {
  body.mg-theme .mg7-search-card__context { margin-bottom: 9px; }
  body.mg-theme .mg7-search-form,
  body.mg-theme .mg7-search-form.is-service-disabled { grid-template-columns: 1fr; }
  body.mg-theme .mg7-search-submit { width: 100%; min-height: 54px; }
  body.mg-theme .mg7-search-field { min-height: 62px; }
}

/* Contextual bridge from service pages to Help + Contact — alpha.24.7 */
.mg-service-assistance { padding-top:18px; padding-bottom:72px; }
.mg-service-assistance-card { display:grid; grid-template-columns:62px minmax(0,1fr) auto; align-items:center; gap:20px; padding:26px 28px; border:1px solid #e3e7ec; border-radius:24px; background:#fff; box-shadow:0 14px 38px rgba(17,24,39,.06); }
.mg-service-assistance-card>span { width:62px; height:62px; display:grid; place-items:center; border-radius:18px; background:#fff0e4; color:var(--mg-orange-dark); }
.mg-service-assistance-card>span .mg-icon { width:29px; height:29px; }
.mg-service-assistance-card small { color:var(--mg-orange-dark); font-size:12px; font-weight:900; }
.mg-service-assistance-card h2 { margin:4px 0 6px; color:#142235; font-size:25px; }.mg-service-assistance-card p { margin:0; color:#687487; font-size:14px; line-height:1.7; }
.mg-service-assistance-actions { display:flex; gap:10px; flex-wrap:wrap; }.mg-service-assistance-actions a { min-height:48px; display:flex; align-items:center; gap:8px; padding:10px 15px; border:1px solid #dde3e9; border-radius:13px; color:#1b293a; font-weight:900; background:#f8f9fb; }.mg-service-assistance-actions a:last-child { border-color:transparent; background:var(--mg-orange); color:#171717; }
@media(max-width:820px){.mg-service-assistance-card{grid-template-columns:52px minmax(0,1fr);padding:20px}.mg-service-assistance-actions{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}.mg-service-assistance-actions a{justify-content:center}}
@media(max-width:540px){.mg-service-assistance-actions{grid-template-columns:1fr}}
