/* ============================================================
   WIDGETS.CSS — design CSS for every GM widget.
   One block per widget, in homepage order. Only tokens.css
   variables are used for colours and fonts.
   Selectors start with the widget class twice-deep (.gm-x .gm-x__y)
   so Hello Elementor / Elementor kit resets never win.
   ============================================================ */

[class^="gm-"],
[class^="gm-"] *,
[class^="gm-"] *::before,
[class^="gm-"] *::after {
  box-sizing: border-box;
}

/* ============================================================
   SHARED COMPONENTS
   ============================================================ */

/* ---- Buttons (Figma "Button": 48px high, radius 40, Kanit 16/24) ---- */
.elementor .gm-btn,
.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 23px; /* + 1px border = 48px high, as in Figma */
  border: 1px solid transparent;
  border-radius: var(--gm-radius-btn);
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.gm-btn .gm-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  transition: transform 0.25s var(--gm-ease);
}

.gm-btn:hover .gm-icon {
  transform: translate(2px, -2px);
}

.elementor .gm-btn--primary,
.gm-btn--primary {
  background: var(--gm-red-600);
  border-color: var(--gm-red-600);
  color: var(--gm-white);
}

.elementor .gm-btn--primary:hover,
.elementor .gm-btn--primary:focus-visible,
.gm-btn--primary:hover {
  background: var(--gm-red-700);
  border-color: var(--gm-red-700);
  color: var(--gm-white);
}

.elementor .gm-btn--outline,
.gm-btn--outline {
  background: var(--gm-white);
  border-color: var(--gm-red-600);
  color: var(--gm-red-600);
}

.elementor .gm-btn--outline:hover,
.elementor .gm-btn--outline:focus-visible,
.gm-btn--outline:hover {
  background: var(--gm-red-50);
  color: var(--gm-red-600);
}

.gm-btn:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

/* ---- Check icon ---- */
.gm-check {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

/* ---- Section heading (Figma "Heading and supporting text") ---- */
.gm-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-head .gm-head__eyebrow {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-red-600);
}

.gm-head .gm-head__eyebrow + .gm-head__title {
  margin-top: -8px; /* eyebrow and heading sit together in Figma */
}

.gm-head .gm-head__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-hl {
  color: var(--gm-red-600);
}

.gm-head .gm-head__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  font-weight: 500;
  line-height: 24px;
  color: var(--gm-grey);
}

@media (max-width: 767px) {
  .gm-head .gm-head__eyebrow {
    font-size: 14px;
    line-height: 20px;
  }
  .gm-head .gm-head__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-head .gm-head__text {
    font-size: var(--gm-body-md);
  }
}

/* ---- Screen-reader-only text ---- */
.gm-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---- One-colour icons recoloured with filters (see filter_icon()) ---- */
.gm-fi {
  display: block;
  flex: 0 0 auto;
  max-width: none;
  object-fit: contain;
}
.gm-fi--grey { filter: brightness(0) invert(64%); }            /* #a3a3a3 */
.gm-fi--white { filter: brightness(0) invert(1); }             /* #ffffff */
.gm-fi--red {                                                   /* ≈ #d72638 */
  filter: brightness(0) saturate(100%) invert(21%) sepia(62%) saturate(5000%) hue-rotate(341deg) brightness(88%) contrast(95%);
}

/* ============================================================
   GM HERO (gm-hero)
   Text + buttons left, one image right, check items below.
   ============================================================ */
.gm-hero {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 60px var(--gm-gutter) 40px;
  /* clip sideways only: the glow may continue below the hero (under the logo strip) */
  overflow-x: clip;
  overflow-y: visible;
}

/* Figma "Ellipse 9": 1556 × 1251 soft pink glow, x 431 / y −371 from the hero's
   top-left at 1440px. It is bigger than the hero, so it also shows behind the
   logo strip below — exactly like the design. */
.gm-hero.gm-hero--glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -371px;
  left: calc(50% - 720px + 431px);
  width: 1556px;
  height: 1251px;
  background: radial-gradient(closest-side, rgba(236, 71, 81, 0.12) 0%, rgba(236, 71, 81, 0.06) 45%, rgba(236, 71, 81, 0.02) 75%, rgba(236, 71, 81, 0) 100%);
  pointer-events: none;
}

.gm-hero .gm-hero__inner {
  position: relative;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-hero .gm-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 546px) minmax(0, 694px);
  justify-content: start;
  align-items: center;
  gap: clamp(48px, 6.4vw, 92px); /* Figma: 546 + 92 + 694 */
  min-height: 509px;
}

.gm-hero .gm-hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}

.gm-hero .gm-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-hero .gm-hero__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-1000);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-hero .gm-hero__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-xl);
  font-weight: 400;
  line-height: 26px;
  color: var(--gm-grey);
}

.gm-hero .gm-hero__mark {
  position: absolute;
  top: -39.5px;
  left: 487px;
  width: 45px;
  height: 50px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}

.gm-hero .gm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gm-hero .gm-hero__media {
  min-width: 0;
}

.gm-hero .gm-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 694px;
  margin-left: auto;
}

.gm-hero .gm-hero__keys {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 36px;
  margin: 24px 0 0; /* v0.16.6: closer to the hero (client feedback); Style → Check items row → Margin */
  padding: 0;
  list-style: none;
}

.gm-hero .gm-hero__key {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-radius: var(--gm-radius-chip);
  background: var(--gm-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.gm-hero .gm-hero__key-text {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  font-weight: 500;
  line-height: 24px;
  color: var(--gm-grey-950);
}

@media (max-width: 1024px) {
  .gm-hero {
    padding-top: 40px;
  }
  .gm-hero .gm-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    min-height: 0;
  }
  .gm-hero .gm-hero__media img {
    margin: 0 auto;
  }
  .gm-hero .gm-hero__keys {
    margin-top: 24px;
  }
  .gm-hero.gm-hero--glow::before {
    top: 25%;
    left: 50%;
    width: 900px;
    height: 900px;
    transform: translateX(-35%);
  }
}

@media (max-width: 767px) {
  .gm-hero {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .gm-hero .gm-hero__content {
    gap: 32px;
  }
  /* Figma mobile: 30/40 heading, 15/22 text, buttons side by side */
  .gm-hero .gm-hero__title {
    font-size: 30px;
    line-height: 40px;
  }
  .gm-hero .gm-hero__text {
    font-size: 15px;
    line-height: 22px;
  }
  .gm-hero .gm-hero__actions {
    flex-wrap: nowrap;
  }
  .gm-hero .gm-hero__actions .gm-btn {
    flex: 0 1 auto;
    min-width: 0;
  }
  .gm-hero .gm-hero__mark {
    display: none;
  }
  .gm-hero .gm-hero__grid {
    gap: 32px;
  }
  .gm-hero .gm-hero__keys {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 32px;
  }
  .gm-hero .gm-hero__key-text {
    font-size: 14px;
    line-height: 20px;
  }
}

/* very narrow phones (and Elementor's 360px preview): keep both buttons on one row */
@media (max-width: 380px) {
  .gm-hero .gm-hero__actions {
    gap: 8px;
  }
  .gm-hero .gm-hero__actions .gm-btn {
    padding-left: 15px;
    padding-right: 15px;
    font-size: 15px;
  }
  .gm-hero .gm-hero__actions .gm-icon {
    width: 20px;
    height: 20px;
  }
}

/* ============================================================
   GM LOGO MARQUEE (gm-logo-marquee)
   Two identical groups slide left forever; each group is at
   least as wide as the widget, so few logos still fill the row.
   ============================================================ */
.gm-marquee {
  --gm-marquee-logo-h: 24px;
  --gm-marquee-gap: 56px;
  --gm-marquee-duration: 40s;
  position: relative;
  overflow: hidden;
  padding: 24px 0; /* Figma "partners": 72px strip, 24px logos */
  background: var(--gm-red-50); /* pale pink band, as in Figma */
}

.gm-marquee.gm-marquee--fade {
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}

.gm-marquee .gm-marquee__track {
  display: flex;
  width: 100%;
}

.gm-marquee .gm-marquee__group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-around;
  gap: var(--gm-marquee-gap);
  min-width: 100%;
  margin: 0;
  padding: 0 var(--gm-marquee-gap) 0 0;
  list-style: none;
  animation: gm-marquee var(--gm-marquee-duration) linear infinite;
}

.gm-marquee.gm-marquee--reverse .gm-marquee__group {
  animation-direction: reverse;
}

.gm-marquee.gm-marquee--pause:hover .gm-marquee__group {
  animation-play-state: paused;
}

.gm-marquee .gm-marquee__logo {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.gm-marquee .gm-marquee__logo img {
  display: block;
  width: auto;
  max-width: none;
  height: var(--gm-marquee-logo-h);
  object-fit: contain;
}

@keyframes gm-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
  .gm-marquee .gm-marquee__group {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
    padding: 0 16px;
  }
  .gm-marquee .gm-marquee__group[aria-hidden="true"] {
    display: none;
  }
}

/* ============================================================
   GM SERVICES (gm-services) — "บริการหลักของ GM"
   Red card: image window on the left (one image per item, slides
   vertically), title + item list + description on the right.
   ============================================================ */
.gm-services {
  padding: 40px var(--gm-gutter) 0; /* Figma: 40px between the logo strip and the red card */
}

.gm-services .gm-services__card {
  position: relative;
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 80px 48px;
  overflow: hidden;
  border-radius: var(--gm-radius-card);
  color: var(--gm-white);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0) 54%, rgba(0, 0, 0, 0.12) 100%),
    radial-gradient(120% 90% at 60% 40%, var(--gm-red) 0%, var(--gm-red-600) 70%);
  isolation: isolate;
}

.gm-services .gm-services__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

.gm-services .gm-services__inner {
  display: grid;
  grid-template-columns: minmax(0, 584px) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}

/* ---- image window ---- */
.gm-services .gm-services__media {
  position: relative;
  align-self: start;
  aspect-ratio: 584 / 620;
  overflow: hidden;
  border-radius: var(--gm-radius-media);
  background: var(--gm-grey-50);
}

.gm-services .gm-services__track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--gm-i, 0) * -100%));
  transition: transform 0.7s var(--gm-ease);
}

.gm-services .gm-services__slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}

.gm-services .gm-services__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* ---- right column ---- */
.gm-services .gm-services__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
}

.gm-services .gm-services__title {
  margin: 0 0 24px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 1;
  color: var(--gm-white);
}

.gm-services .gm-services__tabs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-services .gm-services__tabs > li {
  margin: 0;
  padding: 0;
}

.gm-services .gm-services__tab {
  display: block;
  width: 100%;
  margin: 0;
  padding: 9px 24px; /* 9 + 40 + 9 + 2 × 1px border = 60px, as in Figma */
  border: 1px solid var(--gm-white);
  border-radius: var(--gm-radius-field);
  background: transparent;
  color: var(--gm-white);
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 400;
  line-height: 40px;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  white-space: normal;
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.gm-services .gm-services__tab:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gm-white);
}

.gm-services .gm-services__tab.is-active,
.gm-services .gm-services__tab.is-active:hover {
  background: var(--gm-white);
  color: var(--gm-red);
}

.gm-services .gm-services__tab:focus {
  outline: none;
}

.gm-services .gm-services__tab:focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: 3px;
}

/* ---- description + button + progress ---- */
.gm-services .gm-services__foot {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-services .gm-services__panels {
  display: grid;
}

.gm-services .gm-services__panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.gm-services .gm-services__panel.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.35s ease 0.1s, visibility 0s;
}

.gm-services .gm-services__desc {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-xl);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-white);
}

.gm-services .gm-services__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px 12px 24px;
  border-radius: var(--gm-radius-pill);
  background: var(--gm-white);
  color: var(--gm-red-600);
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.gm-services .gm-services__btn:hover,
.gm-services .gm-services__btn:focus-visible {
  background: var(--gm-red-200);
  color: var(--gm-red-600);
}

.gm-services .gm-services__btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.gm-services .gm-services__progress {
  position: relative;
  height: 2px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--gm-red-200);
}

.gm-services .gm-services__progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc((var(--gm-i, 0) + 1) / var(--gm-n, 1) * 100%);
  border-radius: 24px;
  background: var(--gm-red-900);
  transition: width 0.7s var(--gm-ease);
}

/* ---- tablet ---- */
@media (max-width: 1024px) {
  .gm-services .gm-services__card {
    padding: 48px 32px;
  }
  .gm-services .gm-services__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  /* Mobile order (Figma): title → image → list → description. */
  .gm-services .gm-services__content,
  .gm-services .gm-services__head {
    display: contents;
  }
  .gm-services .gm-services__title {
    order: -1;
    margin-bottom: 0;
  }
  .gm-services .gm-services__foot {
    margin-top: 8px;
  }
  .gm-services .gm-services__media {
    width: 100%;
    max-width: 584px;
    margin: 0 auto;
  }
  .gm-services .gm-services__title {
    font-size: 32px;
    line-height: 1.25;
  }
  .gm-services .gm-services__tab {
    font-size: var(--gm-body-xl);
    line-height: 32px;
    padding: 7px 20px;
  }
}

/* ---- mobile ---- */
@media (max-width: 767px) {
  .gm-services .gm-services__card {
    padding: 32px 16px;
    border-radius: 20px;
  }
  .gm-services .gm-services__inner {
    gap: 20px;
  }
  .gm-services .gm-services__media {
    border-radius: 14px;
  }
  .gm-services .gm-services__title {
    font-size: 28px;
  }
  .gm-services .gm-services__tab {
    padding: 7px 16px;
    border-radius: 12px;
    font-size: var(--gm-body-lg);
    line-height: 28px;
  }
  .gm-services .gm-services__desc {
    font-size: var(--gm-body-md);
    line-height: 1.5;
  }
  .gm-services .gm-services__btn {
    font-size: var(--gm-body-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-services .gm-services__track,
  .gm-services .gm-services__panel,
  .gm-services .gm-services__progress-fill {
    transition: none;
  }
}

/* ============================================================
   GM HEADER (gm-header) — Theme Builder header
   Desktop bar 80px · dropdown boxes · mobile bar 60px + drawer.
   Switches to the mobile layout at 1100px.
   Buttons are reset inside the header (Hello / kit button styles).
   ============================================================ */

/* Sticky: the Theme Builder wrapper sticks, so the header stays on top. */
.elementor-location-header:has(.gm-header--sticky) {
  position: sticky;
  top: 0;
  z-index: 999;
}
body.admin-bar .elementor-location-header:has(.gm-header--sticky) {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .elementor-location-header:has(.gm-header--sticky) {
    top: 46px;
  }
}
@media (max-width: 600px) {
  body.admin-bar .elementor-location-header:has(.gm-header--sticky) {
    top: 0;
  }
}

.gm-header {
  position: relative;
  z-index: 100;
  font-family: var(--gm-font-th);
  color: var(--gm-grey-950);
}

.gm-header ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-header li {
  margin: 0;
  padding: 0;
}

.gm-header a {
  color: inherit;
  text-decoration: none;
}

/* Button reset (beats Hello's `button` and the kit's `.elementor-kit-N button`). */
.gm-header .gm-header__bar button,
.gm-header .gm-drawer button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: inherit;
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}
.gm-header .gm-header__bar button:hover,
.gm-header .gm-header__bar button:focus,
.gm-header .gm-drawer button:hover,
.gm-header .gm-drawer button:focus {
  background: none;
  color: inherit;
}

.gm-header .gm-svg {
  display: block;
  flex: 0 0 auto;
}

.gm-header :focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- bar ---- */
.gm-header .gm-header__bar {
  position: relative;
  z-index: 2;
  background: var(--gm-white);
  border-bottom: 1px solid #f5f5f5;
  padding: 16px var(--gm-gutter) 15px; /* 16 + 48 + 15 + 1px border = 80px */
}

.gm-header .gm-header__inner {
  display: flex;
  align-items: center;
  gap: 0;
  max-width: var(--gm-card-max);
  min-height: 48px;
  margin: 0 auto;
}

.gm-header .gm-header__logo {
  display: block;
  flex: 0 0 auto;
  margin-right: 64px;
  line-height: 0;
}

.gm-header .gm-header__logo img {
  display: block;
  width: auto;
  max-width: none;
  height: 48px;
}

.gm-header .gm-header__logo-text {
  font-size: 20px;
  font-weight: 500;
  line-height: 48px;
  color: var(--gm-red-600);
}

/* ---- desktop menu ---- */
.gm-header .gm-header__nav {
  flex: 1 1 auto;
  min-width: 0;
}

.gm-header .gm-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.gm-header .gm-nav__item {
  position: relative;
}

.gm-header .gm-nav__top,
.gm-header .gm-header__bar .gm-nav__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey-950);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.gm-header .gm-nav__top-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.gm-header .gm-header__bar .gm-nav__top:hover,
.gm-header .gm-header__bar .gm-nav__item.is-current > .gm-nav__top,
.gm-header .gm-header__bar .gm-nav__item.is-current > .gm-nav__top-wrap > *,
.gm-header .gm-header__bar .gm-nav__item.is-open > .gm-nav__top,
.gm-header .gm-header__bar .gm-nav__item.is-open > .gm-nav__top-wrap > *,
.gm-header .gm-header__bar .gm-nav__top-wrap:hover > * {
  color: var(--gm-red-600);
}

.gm-header .gm-header__bar .gm-nav__toggle .gm-svg--caret {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--gm-ease);
}

.gm-header .gm-nav__item.is-open > .gm-nav__toggle .gm-svg--caret,
.gm-header .gm-nav__item.is-open > .gm-nav__top-wrap .gm-svg--caret {
  transform: rotate(180deg);
}

/* ---- dropdown panel ----
   The panel starts right under the menu text; its top padding is an invisible
   bridge so the mouse can travel down to the box (box = 16px under the bar). */
.gm-header .gm-nav__panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  padding-top: 44px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.25s var(--gm-ease), visibility 0s linear 0.25s;
}

.gm-header .gm-nav__item.is-open > .gm-nav__panel {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.25s var(--gm-ease), visibility 0s;
}

.gm-header .gm-nav__panel-box {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow:
    0 3.56px 15.31px rgba(249, 68, 73, 0.15),
    0 4.45px 8.9px rgba(0, 0, 0, 0.04),
    0 16.91px 16.91px rgba(0, 0, 0, 0.04),
    0 37.38px 22.25px rgba(0, 0, 0, 0.02),
    0 65.86px 26.7px rgba(0, 0, 0, 0.01);
}

/* mega: column of cards (+ flyout column) */
.gm-header .gm-nav__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 375px;
  padding: 24px;
}

.gm-header .gm-nav__card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 8px;
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey-950);
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gm-header .gm-nav__card:hover,
.gm-header .gm-nav__col-item.is-active > .gm-nav__card {
  background: var(--gm-red-50);
  color: var(--gm-grey-950);
}

.gm-header .gm-nav__col-item.is-active > .gm-nav__card {
  border-radius: 8px 0 0 8px;
}

.gm-header .gm-nav__icon {
  display: block;
  width: 40px;
  height: 40px;
  max-width: none;
  object-fit: contain;
  flex: 0 0 auto;
}

.gm-header .gm-nav__card-label {
  flex: 1 1 auto;
  white-space: nowrap;
}

.gm-header .gm-nav__card-caret .gm-svg--caret {
  width: 16px;
  height: 16px;
  transform: rotate(-90deg);
}

.gm-header .gm-nav__flyouts {
  display: none;
  padding: 24px 24px 24px 0;
}

.gm-header .gm-nav__panel-box.has-flyout .gm-nav__flyouts {
  display: block;
}

.gm-header .gm-nav__flyout {
  display: none;
  flex-direction: column;
  gap: 8px;
  width: 252px;
}

.gm-header .gm-nav__flyout.is-active {
  display: flex;
}

/* simple dropdown (text links only) */
.gm-header .gm-nav__simple {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 300px; /* 24 + 252 + 24 */
  padding: 24px;
}

.gm-header .gm-nav__plain {
  display: block;
  padding: 16px;
  border-radius: 4px;
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey-950);
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gm-header .gm-nav__plain:hover,
.gm-header .gm-nav__plain.is-current {
  background: var(--gm-red-50);
  color: var(--gm-red-600);
}

/* ---- actions ---- */
.gm-header .gm-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
  margin-left: auto;
}

.gm-header .gm-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 140px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--gm-red-600);
  border-radius: 44px;
  background: var(--gm-white);
  color: var(--gm-red-600);
  font-size: var(--gm-body-md);
  line-height: 24px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.gm-header .gm-header__login:hover {
  background: var(--gm-red-50);
  color: var(--gm-red-600);
}

.gm-header .gm-header__login .gm-svg--user {
  width: 32px;
  height: 32px;
}

.gm-header .gm-header__tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-header .gm-header__lang-label,
.gm-header .gm-header__bar .gm-header__lang-btn {
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey-950);
}

.gm-header .gm-header__lang .gm-nav__panel {
  left: auto;
  right: 0;
  padding-top: 36px;
}

.gm-header .gm-header__lang .gm-nav__simple {
  min-width: 120px;
  padding: 16px;
  gap: 4px;
}

.gm-header .gm-header__search {
  display: block;
  color: var(--gm-grey-950);
}

.gm-header .gm-header__search:hover {
  color: var(--gm-red-600);
}

.gm-header .gm-header__search .gm-svg--search {
  width: 32px;
  height: 32px;
}

.gm-header .gm-header__bar .gm-header__burger {
  display: none;
}

/* ---- drawer (mobile) ---- */
.gm-header .gm-drawer {
  display: none;
}

@media (max-width: 1100px) {
  .gm-header .gm-header__bar {
    padding: 8px 16px 7px; /* 60px with the border */
  }
  .gm-header .gm-header__inner {
    min-height: 44px;
  }
  .gm-header .gm-header__logo {
    margin-right: 16px;
  }
  .gm-header .gm-header__logo img {
    height: 36px;
  }
  .gm-header .gm-header__nav,
  .gm-header .gm-header__lang,
  .gm-header .gm-header__lang-label {
    display: none;
  }
  .gm-header .gm-header__actions {
    gap: 10px;
  }
  .gm-header .gm-header__tools {
    order: -1;
  }
  .gm-header .gm-header__search .gm-svg--search {
    width: 26px;
    height: 26px;
  }
  .gm-header .gm-header__login {
    min-width: 0;
    height: auto;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 40px;
    font-size: 13px;
    line-height: 20px;
  }
  .gm-header .gm-header__login .gm-svg--user {
    width: 20px;
    height: 20px;
  }
  .gm-header .gm-header__bar .gm-header__burger {
    display: inline-flex;
    width: 24px;
    height: 24px;
    color: var(--gm-grey-950);
  }
  .gm-header .gm-header__burger .gm-svg {
    width: 24px;
    height: 24px;
  }
  .gm-header .gm-header__burger .gm-svg--close,
  .gm-header .gm-header__burger[aria-expanded="true"] .gm-svg--burger {
    display: none;
  }
  .gm-header .gm-header__burger[aria-expanded="true"] .gm-svg--close {
    display: block;
  }

  .gm-header .gm-drawer:not([hidden]) {
    position: fixed;
    top: var(--gm-drawer-top, 60px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
  }
  .gm-header .gm-drawer__panel {
    flex: 0 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px 0 24px;
    background: var(--gm-white);
  }
  .gm-header .gm-drawer__overlay {
    flex: 1 1 auto;
    min-height: 24px;
    background: rgba(0, 0, 0, 0.35);
  }
}

/* drawer rows */
.gm-header .gm-drawer__row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #ededed;
}

.gm-header .gm-drawer__link,
.gm-header .gm-drawer .gm-drawer__link {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey-950);
  text-align: left;
}

.gm-header .gm-drawer .gm-drawer__acc--icon {
  flex: 0 0 56px;
  justify-content: center;
}

.gm-header .gm-drawer .gm-svg--chevron {
  width: 16px;
  height: 10px;
  color: var(--gm-grey-950);
  transition: transform 0.25s var(--gm-ease);
}

.gm-header .gm-drawer .gm-drawer__item.is-open > .gm-drawer__row .gm-drawer__link,
.gm-header .gm-drawer .gm-drawer__item.is-open > .gm-drawer__row .gm-svg--chevron,
.gm-header .gm-drawer .gm-drawer__item.is-current > .gm-drawer__row .gm-drawer__link {
  color: var(--gm-red-600);
}

.gm-header .gm-drawer .gm-drawer__item.is-open > .gm-drawer__row .gm-drawer__link {
  font-weight: 500;
}

.gm-header .gm-drawer .gm-drawer__item.is-open > .gm-drawer__row .gm-svg--chevron {
  transform: rotate(180deg);
}

.gm-header .gm-drawer__sub {
  background: var(--gm-grey-50);
  border-bottom: 1px solid #ededed;
}

.gm-header .gm-drawer__sub[hidden] {
  display: none;
}

.gm-header .gm-drawer__sub-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px 14px 24px;
  font-size: 15px;
  line-height: 23px;
  color: var(--gm-grey-950);
}

.gm-header .gm-drawer__sub-item.is-current > .gm-drawer__sub-link {
  color: var(--gm-red-600);
}

.gm-header .gm-drawer__sub-link .gm-nav__icon {
  width: 24px;
  height: 24px;
}

.gm-header .gm-drawer__leaf {
  padding: 14px 20px 14px 61px;
  background:
    linear-gradient(var(--gm-red-600), var(--gm-red-600)) 60px 14px / 1px calc(100% - 28px) no-repeat,
    var(--gm-white);
}

.gm-header .gm-drawer__leaf-link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 14px 16px;
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey-950);
}

.gm-header .gm-drawer__leaf-link.is-current {
  color: var(--gm-red-600);
}

.gm-header .gm-drawer__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 20px 0;
}

.gm-header .gm-drawer__login {
  display: flex;
  justify-content: center;
  padding: 12px;
  border-radius: 40px;
  background: var(--gm-red-600);
  color: var(--gm-white);
  font-size: 15px;
  font-weight: 500;
  line-height: 23px;
}

.gm-header .gm-drawer__login:hover {
  background: var(--gm-red-700);
  color: var(--gm-white);
}

.gm-header .gm-drawer__langs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gm-header .gm-drawer__langs li + li::before {
  content: "|";
  margin-right: 12px;
  color: #ccc;
}

.gm-header .gm-drawer__lang {
  font-size: 14px;
  line-height: 21px;
  color: #8c8c8c;
}

.gm-header .gm-drawer__lang.is-current {
  font-weight: 500;
  color: var(--gm-grey-950);
}

html.gm-drawer-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .gm-header .gm-nav__panel,
  .gm-header .gm-svg {
    transition: none;
  }
}


/* ============================================================
   GM ONLINE FEATURES (gm-online)
   Heading → 4-column tab bar → image window + accordion.
   ============================================================ */
.gm-online {
  padding: 100px var(--gm-gutter);
}

.gm-online .gm-online__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

/* ---- tab bar ---- */
.gm-online .gm-online__tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 60px;
  margin-top: 48px; /* Figma: tab bar starts 160px below the section top */
  padding: 16px 24px;
  border-radius: 24px;
  background: var(--gm-red-50);
}

.gm-online .gm-online__tabs .gm-online__tab {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  padding: 8px 24px;
  border: 0;
  border-radius: 40px;
  background: transparent;
  box-shadow: none;
  color: #a3a3a3;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.gm-online .gm-online__tabs .gm-online__tab:hover,
.gm-online .gm-online__tabs .gm-online__tab:focus {
  background: rgba(215, 38, 56, 0.06);
  color: var(--gm-red-600);
}

.gm-online .gm-online__tabs .gm-online__tab.is-active,
.gm-online .gm-online__tabs .gm-online__tab.is-active:hover {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-online .gm-online__tabs .gm-online__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-online .gm-online__tab-icon {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(64%); /* grey */
  transition: filter 0.25s ease;
}

.gm-online .gm-online__tab:hover .gm-online__tab-icon,
.gm-online .gm-online__tab:focus .gm-online__tab-icon {
  filter: brightness(0) saturate(100%) invert(21%) sepia(62%) saturate(5000%) hue-rotate(341deg) brightness(88%) contrast(95%); /* red */
}

.gm-online .gm-online__tab.is-active .gm-online__tab-icon {
  filter: brightness(0) invert(1); /* white */
}

/* One line, like Figma (a long name may run a little into the gap). */
.gm-online .gm-online__tab-text {
  white-space: nowrap;
}

/* ---- panel ---- */
.gm-online .gm-online__panels {
  margin-top: 32px;
}

.gm-online .gm-online__panel {
  display: grid;
  grid-template-columns: minmax(0, 584px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.gm-online .gm-online__panel[hidden] {
  display: none;
}

.gm-online .gm-online__panel.is-active {
  animation: gm-fade-in 0.35s ease both;
}

@keyframes gm-fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.gm-online .gm-online__media {
  position: relative;
  aspect-ratio: 584 / 600;
  overflow: hidden;
  border-radius: var(--gm-radius-media);
  background: #151314;
}

.gm-online .gm-online__track {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(calc(var(--gm-i, 0) * -100%));
  transition: transform 0.7s var(--gm-ease);
}

.gm-online .gm-online__slide {
  flex: 0 0 100%;
  height: 100%;
  margin: 0;
}

.gm-online .gm-online__slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gm-online .gm-online__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.gm-online .gm-online__intro {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 16px 24px;
}

.gm-online .gm-online__label-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gm-online .gm-online__badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-online .gm-online__badge-icon {
  width: 40px;
  height: 40px;
  filter: brightness(0) invert(1); /* white on the red square */
}

.gm-online .gm-online__label {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  font-weight: 500;
  line-height: 24px;
  color: var(--gm-red-600);
}

.gm-online .gm-online__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-grey-950);
}

/* ---- accordion ---- */
.gm-online .gm-online__accs {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-online .gm-online__acc {
  padding: 0 24px;
  border: 1px solid #a3a3a3;
  border-radius: 8px;
  background: var(--gm-white);
  transition: border-color 0.25s ease;
}

.gm-online .gm-online__acc.is-open {
  border-color: var(--gm-red-600);
}

.gm-online .gm-online__acc-h {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.gm-online .gm-online__acc .gm-online__acc-btn {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 58px; /* 60px item with the 1px borders */
  margin: 0;
  padding: 12px 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--gm-grey-950);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.gm-online .gm-online__acc .gm-online__acc-btn:hover,
.gm-online .gm-online__acc .gm-online__acc-btn:focus,
.gm-online .gm-online__acc.is-open .gm-online__acc-btn {
  background: none;
  color: var(--gm-red-600);
}

.gm-online .gm-online__acc .gm-online__acc-btn:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-online .gm-online__plus {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.gm-online .gm-online__acc-body {
  padding: 12px 0 24px;
}

.gm-online .gm-online__acc-body[hidden] {
  display: none;
}

.gm-online .gm-online__acc-desc {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

/* ---- smaller screens ---- */
@media (max-width: 1280px) {
  .gm-online .gm-online__tabs {
    column-gap: 16px;
  }
  .gm-online .gm-online__tabs .gm-online__tab {
    padding: 8px 16px;
  }
}

@media (max-width: 1100px) {
  .gm-online .gm-online__tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .gm-online .gm-online__tab-text {
    white-space: normal;
  }
}

@media (max-width: 1024px) {
  .gm-online {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .gm-online .gm-online__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .gm-online .gm-online__media {
    width: 100%;
    max-width: 584px;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .gm-online {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  /* one row that scrolls sideways */
  .gm-online .gm-online__tabs {
    display: flex;
    gap: 4px;
    margin: 24px calc(-1 * var(--gm-gutter)) 0;
    padding: 8px var(--gm-gutter);
    border-radius: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gm-gutter);
    scrollbar-width: none;
  }
  .gm-online .gm-online__tabs::-webkit-scrollbar {
    display: none;
  }
  .gm-online .gm-online__tabs .gm-online__tab {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 6px 16px;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .gm-online .gm-online__tab-icon {
    width: 28px;
    height: 28px;
  }
  .gm-online .gm-online__panels {
    margin-top: 24px;
  }
  .gm-online .gm-online__intro {
    padding: 0;
  }
  .gm-online .gm-online__text {
    font-size: 20px;
    line-height: 28px;
  }
  .gm-online .gm-online__acc {
    padding: 0 16px;
  }
  .gm-online .gm-online__acc .gm-online__acc-btn {
    font-size: var(--gm-body-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-online .gm-online__track {
    transition: none;
  }
  .gm-online .gm-online__panel.is-active {
    animation: none;
  }
}


/* ============================================================
   GM CUSTOMER GROUPS (gm-groups) — "กลุ่มลูกค้าของ GM Tour"
   Pink box · photo cards (active = wide) · text of the active card.
   ============================================================ */
.gm-groups {
  padding: 0 var(--gm-gutter);
}

.gm-groups .gm-groups__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 60px 48px;
  border-radius: var(--gm-radius-card);
  background: linear-gradient(180deg, var(--gm-red-50) 0%, #fee6e5 100%);
}

.gm-groups .gm-head {
  align-items: center;
  text-align: center;
}

.gm-groups .gm-groups__cards {
  display: flex;
  gap: 24px;
  width: 100%;
  height: 504px;
}

.gm-groups .gm-groups__card {
  position: relative;
  flex: 427 1 0%;
  min-width: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #d9d9d9;
  transition: flex-grow 0.6s var(--gm-ease), height 0.6s var(--gm-ease);
}

.gm-groups .gm-groups__card.is-active {
  flex-grow: 797;
}

.gm-groups .gm-groups__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: var(--gm-focus, center) center;
  transition: transform 0.8s var(--gm-ease);
}

.gm-groups .gm-groups__card:not(.is-active):hover .gm-groups__img {
  transform: scale(1.03);
}

.gm-groups .gm-groups__shade {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: opacity 0.5s ease;
}

.gm-groups .gm-groups__card.is-active .gm-groups__shade {
  opacity: 0;
}

.gm-groups .gm-groups__card .gm-groups__hit {
  appearance: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
}

.gm-groups .gm-groups__card .gm-groups__hit:hover,
.gm-groups .gm-groups__card .gm-groups__hit:focus {
  background: transparent;
}

.gm-groups .gm-groups__card .gm-groups__hit:focus-visible {
  outline: 3px solid var(--gm-red-600);
  outline-offset: -3px;
  border-radius: 16px;
}

.gm-groups .gm-groups__card.is-active .gm-groups__hit {
  display: none;
}

.gm-groups .gm-groups__pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  padding: 4px 16px;
  border-radius: 999px;
  background: #ffe9eb;
  color: var(--gm-red-600);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  white-space: nowrap;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gm-groups .gm-groups__card.is-active .gm-groups__pill {
  opacity: 0;
}

.gm-groups .gm-groups__card .gm-groups__btn {
  position: absolute;
  right: 24px;
  bottom: 16px;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.4s var(--gm-ease), visibility 0s linear 0.3s, background-color 0.25s ease;
}

.gm-groups .gm-groups__card.is-active .gm-groups__btn {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.35s ease 0.25s, transform 0.45s var(--gm-ease) 0.25s, visibility 0s, background-color 0.25s ease;
}

/* ---- text of the active card ---- */
.gm-groups .gm-groups__infos {
  display: grid;
  width: 100%;
}

.gm-groups .gm-groups__info {
  grid-area: 1 / 1;
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.gm-groups .gm-groups__info[hidden] {
  display: none;
}

.gm-groups .gm-groups__info.is-active {
  animation: gm-fade-in 0.4s ease both;
}

.gm-groups .gm-groups__title {
  flex: 0 0 500px;
  max-width: 500px;
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-red-600);
}

.gm-groups .gm-groups__desc {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

@media (max-width: 1100px) {
  .gm-groups .gm-groups__title {
    flex-basis: 40%;
  }
}

@media (max-width: 1024px) {
  .gm-groups .gm-groups__box {
    padding: 48px 24px;
    gap: 32px;
  }
  .gm-groups .gm-groups__cards {
    height: 400px;
    gap: 16px;
  }
  .gm-groups .gm-groups__info {
    flex-direction: column;
    gap: 12px;
  }
  .gm-groups .gm-groups__title {
    flex-basis: auto;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .gm-groups .gm-groups__box {
    padding: 32px 16px;
    gap: 24px;
    border-radius: 20px;
  }
  /* cards stack: the active one is tall, the others are short strips */
  .gm-groups .gm-groups__cards {
    flex-direction: column;
    height: auto;
    gap: 12px;
  }
  .gm-groups .gm-groups__card {
    flex: none;
    height: 140px;
  }
  .gm-groups .gm-groups__card.is-active {
    height: 260px;
  }
  .gm-groups .gm-groups__card .gm-groups__btn {
    right: 16px;
  }
  .gm-groups .gm-groups__title {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-groups .gm-groups__card,
  .gm-groups .gm-groups__img,
  .gm-groups .gm-groups__card .gm-groups__btn {
    transition: none;
  }
  .gm-groups .gm-groups__info.is-active {
    animation: none;
  }
}

/* ============================================================
   PROMOTION CARD (.gm-pcard) — shared: homepage, Promotions page,
   related promotions. Figma "Blog post card" 400 × 616.
   ============================================================ */
.gm-pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #f5f5f5;
  border-radius: 24px;
  background: var(--gm-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--gm-ease), box-shadow 0.35s ease;
}

.gm-pcard:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.gm-pcard .gm-pcard__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--gm-grey-50);
}

.gm-pcard .gm-pcard__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s var(--gm-ease);
}

.gm-pcard:hover .gm-pcard__img {
  transform: scale(1.03);
}

.gm-pcard .gm-pcard__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.gm-pcard .gm-pcard__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  width: 100%;
}

.gm-pcard .gm-pcard__chip {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 16px;
  background: #fee6e5;
  color: var(--gm-red-600);
  font-family: var(--gm-font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.gm-pcard .gm-pcard__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-700);
  font-weight: 600;
  line-height: 32px;
  color: var(--gm-grey-950);
}

.gm-pcard .gm-pcard__link {
  color: inherit;
  text-decoration: none;
}

/* the whole card is clickable (the title link covers it) */
.gm-pcard .gm-pcard__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gm-pcard .gm-pcard__link:focus-visible {
  outline: none;
}

.gm-pcard:has(.gm-pcard__link:focus-visible) {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-pcard .gm-pcard__dates {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #a3a3a3;
}

.gm-pcard .gm-pcard__to {
  color: var(--gm-grey);
}

.gm-pcard .gm-pcard__btn {
  position: relative;
  z-index: 2;
}

/* ============================================================
   GM PROMOTIONS homepage (gm-promos) — "โปรโมชันสำหรับคุณ"
   ============================================================ */
.gm-promos {
  padding: 100px var(--gm-gutter) 60px;
  background: linear-gradient(180deg, rgba(255, 242, 242, 0) 0%, #fee6e5 100%);
}

.gm-promos .gm-promos__inner {
  max-width: 1240px;
  margin: 0 auto;
}

.gm-promos .gm-promos__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 24px;
}

.gm-promos .gm-promos__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-promos .gm-promos__tabs {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 40px;
  padding: 8px 12px;
  border-radius: 24px;
  background: #fff1f1;
}

.gm-promos .gm-promos__tabs .gm-promos__tab {
  appearance: none;
  flex: 0 1 220px;
  min-width: 0;
  margin: 0;
  padding: 12px 24px;
  border: 0;
  border-radius: 40px;
  background: transparent;
  box-shadow: none;
  color: #a3a3a3;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 600;
  line-height: 24px;
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.gm-promos .gm-promos__tabs .gm-promos__tab:hover,
.gm-promos .gm-promos__tabs .gm-promos__tab:focus {
  background: rgba(215, 38, 56, 0.06);
  color: var(--gm-red-600);
}

.gm-promos .gm-promos__tabs .gm-promos__tab.is-active,
.gm-promos .gm-promos__tabs .gm-promos__tab.is-active:hover {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-promos .gm-promos__tabs .gm-promos__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-promos .gm-promos__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.gm-promos .gm-promos__grid[hidden] {
  display: none;
}

.gm-promos .gm-promos__grid.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-promos .gm-promos__empty {
  margin: 40px 0 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  color: var(--gm-grey);
  text-align: center;
}

@media (max-width: 1100px) {
  .gm-promos .gm-promos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .gm-promos .gm-promos__tabs {
    margin-left: calc(-1 * var(--gm-gutter));
    margin-right: calc(-1 * var(--gm-gutter));
    padding: 8px var(--gm-gutter);
    border-radius: 0;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-padding-inline: var(--gm-gutter);
  }
  .gm-promos .gm-promos__tabs::-webkit-scrollbar {
    display: none;
  }
  .gm-promos .gm-promos__tabs .gm-promos__tab {
    flex: 0 0 auto;
  }
}

@media (max-width: 767px) {
  .gm-promos {
    padding-top: 56px;
    padding-bottom: 48px;
  }
  .gm-promos .gm-promos__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-promos .gm-promos__tabs {
    margin-top: 24px;
  }
  .gm-promos .gm-promos__tabs .gm-promos__tab {
    padding: 10px 18px;
    font-size: 14px;
    line-height: 20px;
  }
  .gm-promos .gm-promos__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    margin-top: 24px;
  }
  .gm-pcard .gm-pcard__title {
    font-size: 20px;
    line-height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-pcard,
  .gm-pcard .gm-pcard__img {
    transition: none;
  }
  .gm-promos .gm-promos__grid.is-active {
    animation: none;
  }
}

/* ============================================================
   GM NEWS homepage (gm-news) — "กิจกรรมและข่าวสาร"
   Heading + pill tabs → big red card + list box → button.
   ============================================================ */
.gm-news {
  padding: 80px var(--gm-gutter) 40px;
}

.gm-news .gm-news__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-news .gm-news__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.gm-news .gm-news__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-news .gm-news__tabs {
  display: inline-flex;
  max-width: 100%;
  gap: 8px;
  padding: 8px;
  border-radius: 40px;
  background: #f5f5f5;
}

.gm-news .gm-news__tabs .gm-news__tab {
  appearance: none;
  flex: 0 0 auto;
  height: 40px;
  margin: 0;
  padding: 8px 16px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  box-shadow: none;
  color: #a3a3a3;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.gm-news .gm-news__tabs .gm-news__tab:hover,
.gm-news .gm-news__tabs .gm-news__tab:focus {
  background: rgba(215, 38, 56, 0.06);
  color: var(--gm-red-600);
}

.gm-news .gm-news__tabs .gm-news__tab.is-active,
.gm-news .gm-news__tabs .gm-news__tab.is-active:hover {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-news .gm-news__tabs .gm-news__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-news .gm-news__panel {
  margin-top: 40px;
}

.gm-news .gm-news__panel[hidden] {
  display: none;
}

.gm-news .gm-news__panel.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-news .gm-news__row {
  display: grid;
  grid-template-columns: minmax(0, 888fr) minmax(0, 432fr);
  gap: 24px;
  align-items: center;
}

.gm-news .gm-news__row--single {
  grid-template-columns: minmax(0, 1fr);
}

/* chips (same look as promotion chips) */
.gm-news .gm-news__chip {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 16px;
  background: #fee6e5;
  color: var(--gm-red-600);
  font-family: var(--gm-font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

/* ---- big card: light grey (homepage design) ---- */
.gm-news .gm-news__feat {
  position: relative;
  display: flex;
  gap: 24px;
  height: 504px;
  padding: 24px;
  border-radius: 16px;
  background: #f5f5f5;
  transition: transform 0.35s var(--gm-ease), box-shadow 0.35s ease;
}

.gm-news .gm-news__feat:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

/* optional red version (Figma "Blog section" variant) */
.gm-news .gm-news__feat--red {
  background: linear-gradient(180deg, var(--gm-red-600) 0%, #991b28 100%);
  box-shadow: 0 4px 2px rgba(132, 132, 132, 0.6);
}

.gm-news .gm-news__feat--red:hover {
  box-shadow: 0 12px 24px rgba(153, 27, 40, 0.3);
}

.gm-news .gm-news__feat-media {
  position: relative;
  flex: 0 0 auto;
  height: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: var(--gm-white);
}

.gm-news .gm-news__feat-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.6s var(--gm-ease);
}

.gm-news .gm-news__feat:hover .gm-news__feat-media img {
  transform: scale(1.03);
}

.gm-news .gm-news__feat-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  min-width: 0;
}

.gm-news .gm-news__feat--red .gm-news__feat-body {
  justify-content: center;
}

.gm-news .gm-news__feat-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-news .gm-news__feat-title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  max-width: 336px;
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-grey-950);
  transition: color 0.2s ease;
}

.gm-news .gm-news__feat:hover .gm-news__feat-title {
  color: var(--gm-red-600);
}

.gm-news .gm-news__feat--red .gm-news__feat-title,
.gm-news .gm-news__feat--red:hover .gm-news__feat-title {
  max-width: none;
  color: #fff1f2;
}

.gm-news .gm-news__feat-link,
.gm-news .gm-news__item-link {
  color: inherit;
  text-decoration: none;
}

.gm-news .gm-news__feat-link::after,
.gm-news .gm-news__item-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gm-news .gm-news__feat-link:focus-visible,
.gm-news .gm-news__item-link:focus-visible {
  outline: none;
}

.gm-news .gm-news__feat:has(.gm-news__feat-link:focus-visible),
.gm-news .gm-news__item:has(.gm-news__item-link:focus-visible) {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-news .gm-news__feat-excerpt {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-news .gm-news__feat-date {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 18px;
  color: #a3a3a3;
}

.gm-news .gm-news__feat--red .gm-news__feat-excerpt {
  color: var(--gm-grey-50);
}

.gm-news .gm-news__feat--red .gm-news__feat-date {
  color: var(--gm-grey-200);
}

/* ---- list box ---- */
.gm-news .gm-news__list {
  margin: 0;
  padding: 0 24px;
  border-radius: 16px;
  background: #f5f5f5;
  list-style: none;
}

.gm-news .gm-news__item {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 24px 0 23px; /* 24 + 120 + 23 + 1px line = 168px, as in Figma */
  border-bottom: 1px solid var(--gm-grey-200);
}

.gm-news .gm-news__item:last-child {
  padding-bottom: 24px;
  border-bottom: 0;
}

.gm-news .gm-news__thumb {
  flex: 0 0 auto;
  width: 120px;
  height: 120px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gm-grey-50);
}

.gm-news .gm-news__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.5s var(--gm-ease);
}

.gm-news .gm-news__item:hover .gm-news__thumb img {
  transform: scale(1.05);
}

.gm-news .gm-news__item-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gm-news .gm-news__item-title {
  display: -webkit-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey-950);
  transition: color 0.2s ease;
}

.gm-news .gm-news__item:hover .gm-news__item-title {
  color: var(--gm-red-600);
}

.gm-news .gm-news__item-date {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 12px;
  line-height: 16px;
  color: #a3a3a3;
}

.gm-news .gm-news__foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.gm-news .gm-news__empty {
  margin: 0;
  padding: 48px 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  color: var(--gm-grey);
  text-align: center;
}

@media (max-width: 1100px) {
  .gm-news .gm-news__row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .gm-news {
    padding-top: 56px;
  }
  .gm-news .gm-news__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-news .gm-news__tabs {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .gm-news .gm-news__tabs::-webkit-scrollbar {
    display: none;
  }
  .gm-news .gm-news__tabs .gm-news__tab {
    font-size: 14px;
    padding: 8px 14px;
  }
  .gm-news .gm-news__panel {
    margin-top: 24px;
  }
  .gm-news .gm-news__feat {
    flex-direction: column;
    height: auto;
    padding: 16px;
    gap: 16px;
  }
  .gm-news .gm-news__feat-media {
    width: 100%;
    height: auto;
  }
  .gm-news .gm-news__feat-title {
    font-size: 20px;
    line-height: 28px;
  }
  .gm-news .gm-news__list {
    padding: 0 16px;
  }
  .gm-news .gm-news__item {
    padding: 16px 0;
  }
  .gm-news .gm-news__thumb {
    width: 96px;
    height: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-news .gm-news__feat,
  .gm-news .gm-news__feat-media img,
  .gm-news .gm-news__thumb img {
    transition: none;
  }
  .gm-news .gm-news__panel.is-active {
    animation: none;
  }
}

/* ============================================================
   GM HELP CARDS (gm-help) — "ศูนย์ช่วยเหลือ GM"
   Colours are variables on each card, so the red state is one
   switch (--on). The red gradient is a ::before layer that fades.
   ============================================================ */
.gm-help {
  padding: 60px var(--gm-gutter) 100px;
}

.gm-help .gm-help__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-help .gm-help__grid {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.gm-help .gm-help__card {
  --on: 0;
  --title: var(--gm-red-600);
  --text: var(--gm-grey);
  --btn-bg: var(--gm-red-600);
  --btn-fg: var(--gm-white);
  --icon: brightness(0) saturate(100%) invert(21%) sepia(62%) saturate(5000%) hue-rotate(341deg) brightness(88%) contrast(95%);
  position: relative;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
  min-height: 405px;
  padding: 56px 40px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  isolation: isolate;
  transition: transform 0.35s var(--gm-ease), box-shadow 0.35s ease;
}

.gm-help .gm-help__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, var(--gm-red-600) 0%, #991b28 100%);
  opacity: var(--on);
  transition: opacity 0.35s ease;
}

/* red state */
.gm-help .gm-help__card.is-hot,
.gm-help.gm-help--follow .gm-help__card:hover,
.gm-help.gm-help--follow .gm-help__card:focus-within {
  --on: 1;
  --title: var(--gm-white);
  --text: var(--gm-white);
  --btn-bg: var(--gm-white);
  --btn-fg: var(--gm-red-600);
  --icon: brightness(0) invert(1);
}

/* while the mouse is on another card, the default red card turns white */
.gm-help.gm-help--follow .gm-help__grid:hover .gm-help__card.is-hot:not(:hover) {
  --on: 0;
  --title: var(--gm-red-600);
  --text: var(--gm-grey);
  --btn-bg: var(--gm-red-600);
  --btn-fg: var(--gm-white);
  --icon: brightness(0) saturate(100%) invert(21%) sepia(62%) saturate(5000%) hue-rotate(341deg) brightness(88%) contrast(95%);
}

.gm-help.gm-help--follow .gm-help__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(153, 27, 40, 0.2);
}

.gm-help .gm-help__icon {
  width: 48px;
  height: 48px;
  filter: var(--icon);
  transition: filter 0.35s ease;
}

.gm-help .gm-help__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-help .gm-help__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--title);
  transition: color 0.35s ease;
}

.gm-help .gm-help__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--text);
  transition: color 0.35s ease;
}

.elementor .gm-help .gm-help__btn,
.gm-help .gm-help__btn {
  border-color: var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
}

.elementor .gm-help .gm-help__btn:hover,
.gm-help .gm-help__btn:hover {
  border-color: var(--btn-bg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  filter: brightness(0.95);
}

@media (max-width: 1100px) {
  .gm-help .gm-help__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .gm-help .gm-help__card {
    min-height: 0;
    padding: 40px 32px;
  }
}

@media (max-width: 767px) {
  .gm-help {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .gm-help .gm-help__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-top: 24px;
  }
  .gm-help .gm-help__card {
    padding: 28px 24px;
    gap: 16px;
  }
  .gm-help .gm-help__title {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ============================================================
   GM FAQ (gm-faq) — heading left, tabs + accordion right
   ============================================================ */
.gm-faq {
  padding: 0 var(--gm-gutter) 100px;
}

.gm-faq .gm-faq__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-faq .gm-faq__title {
  flex: 0 0 auto;
  min-width: 0;
  max-width: 342px;
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-faq .gm-faq__main {
  display: flex;
  flex: 0 1 757px;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.gm-faq .gm-faq__tabs {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  border-bottom: 1px solid #f5f5f5;
}

.gm-faq .gm-faq__tabs .gm-faq__tab {
  appearance: none;
  flex: 0 0 auto;
  margin: 0 0 -1px;
  padding: 8px 16px 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #b9b9b9;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gm-faq .gm-faq__tabs .gm-faq__tab:hover,
.gm-faq .gm-faq__tabs .gm-faq__tab:focus {
  background: none;
  color: var(--gm-grey-950);
}

.gm-faq .gm-faq__tabs .gm-faq__tab.is-active {
  border-bottom-color: var(--gm-red-600);
  color: var(--gm-ink);
}

.gm-faq .gm-faq__tabs .gm-faq__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-faq .gm-faq__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  margin-top: 48px;
}

.gm-faq .gm-faq__tabs + .gm-faq__list,
.gm-faq .gm-faq__list:first-child {
  margin-top: 48px;
}

.gm-faq .gm-faq__list[hidden] {
  display: none;
}

.gm-faq .gm-faq__list.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-faq .gm-faq__item {
  padding: 11px 24px; /* 48px closed, as in Figma */
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: var(--gm-grey-50);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.gm-faq .gm-faq__item:hover {
  border-color: var(--gm-grey-200);
}

.gm-faq .gm-faq__h {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.gm-faq .gm-faq__item .gm-faq__q {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--gm-grey-950);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 600;
  line-height: 24px;
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  cursor: pointer;
}

.gm-faq .gm-faq__item .gm-faq__q:hover,
.gm-faq .gm-faq__item .gm-faq__q:focus {
  background: none;
  color: var(--gm-red-600);
}

.gm-faq .gm-faq__item .gm-faq__q:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 4px;
}

.gm-faq .gm-faq__chev {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  transition: transform 0.3s var(--gm-ease);
}

.gm-faq .gm-faq__item.is-open .gm-faq__chev {
  transform: rotate(180deg);
}

.gm-faq .gm-faq__a {
  padding-top: 24px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-faq .gm-faq__a[hidden] {
  display: none;
}

.gm-faq .gm-faq__a p {
  margin: 0 0 8px;
}

.gm-faq .gm-faq__a p:last-child {
  margin-bottom: 0;
}

.gm-faq .gm-faq__more {
  margin-top: 32px;
}

@media (max-width: 1024px) {
  .gm-faq .gm-faq__inner {
    flex-direction: column;
    gap: 24px;
  }
  .gm-faq .gm-faq__title {
    max-width: none;
  }
  .gm-faq .gm-faq__main {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .gm-faq {
    padding-bottom: 56px;
  }
  .gm-faq .gm-faq__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-faq .gm-faq__tabs {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .gm-faq .gm-faq__tabs::-webkit-scrollbar {
    display: none;
  }
  .gm-faq .gm-faq__list,
  .gm-faq .gm-faq__tabs + .gm-faq__list {
    gap: 12px;
    margin-top: 24px;
  }
  .gm-faq .gm-faq__item {
    padding: 11px 16px;
  }
  .gm-faq .gm-faq__a {
    padding-top: 12px;
  }
}

/* ============================================================
   GM WHY US (gm-why) — stats box
   ============================================================ */
.gm-why {
  padding: 0 var(--gm-gutter) 100px;
}

.gm-why .gm-why__box {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 56px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 100px 72px;
  overflow: hidden;
  border-radius: var(--gm-radius-card);
  background: #f5f5f5;
  isolation: isolate;
}

.gm-why .gm-why__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.16;
  pointer-events: none;
}

.gm-why .gm-why__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.gm-why .gm-why__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-why .gm-why__side {
  display: flex;
  flex: 0 1 544px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.gm-why .gm-why__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-why .gm-why__stats {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-why .gm-why__stat {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

.gm-why .gm-why__num {
  display: inline-block;
  font-family: var(--gm-font-en);
  font-size: 104px;
  font-weight: 600;
  line-height: 112px;
  font-variant-numeric: tabular-nums;
  color: var(--gm-red-600);
}

.gm-why .gm-why__side-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}

.gm-why .gm-why__label {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
  white-space: nowrap;
}

.gm-why .gm-why__suffix {
  font-family: var(--gm-font-en);
  font-size: 56px;
  font-weight: 600;
  line-height: 64px;
  color: var(--gm-red-600);
}

/* laptops: 4 numbers still in one row, slightly smaller */
@media (max-width: 1320px) {
  .gm-why .gm-why__box {
    padding-left: 56px;
    padding-right: 56px;
  }
  .gm-why .gm-why__num {
    font-size: 84px;
    line-height: 92px;
  }
  .gm-why .gm-why__suffix {
    font-size: 46px;
    line-height: 54px;
  }
}

@media (max-width: 1100px) {
  .gm-why .gm-why__box {
    gap: 40px;
    padding: 64px 40px;
  }
  .gm-why .gm-why__top {
    flex-direction: column;
    gap: 16px;
  }
  .gm-why .gm-why__side {
    flex-basis: auto;
    max-width: 640px;
  }
  /* 2 × 2 numbers; the label goes under the number and can wrap */
  .gm-why .gm-why__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .gm-why .gm-why__stat {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "num suffix" "label label";
    align-items: end;
    column-gap: 4px;
    row-gap: 4px;
    min-width: 0;
  }
  .gm-why .gm-why__side-col {
    display: contents;
  }
  .gm-why .gm-why__num {
    grid-area: num;
    font-size: 80px;
    line-height: 88px;
  }
  .gm-why .gm-why__suffix {
    grid-area: suffix;
    align-self: end;
    font-size: 44px;
    line-height: 60px;
  }
  .gm-why .gm-why__label {
    grid-area: label;
    white-space: normal;
  }
}

@media (max-width: 767px) {
  .gm-why {
    padding-bottom: 56px;
  }
  .gm-why .gm-why__box {
    gap: 32px;
    padding: 40px 20px;
    border-radius: 20px;
  }
  .gm-why .gm-why__top {
    flex-direction: column;
    gap: 16px;
  }
  .gm-why .gm-why__side {
    flex-basis: auto;
  }
  .gm-why .gm-why__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-why .gm-why__stats {
    gap: 24px 16px;
  }
  .gm-why .gm-why__num {
    font-size: clamp(34px, 11.5vw, 52px); /* "2000+" must fit half the screen */
    line-height: 1.15;
  }
  .gm-why .gm-why__suffix {
    font-size: clamp(20px, 6.5vw, 30px);
    line-height: 1.4;
  }
  .gm-why .gm-why__label {
    font-size: 13px;
    line-height: 18px;
  }
}

/* ============================================================
   GM FOOTER (gm-footer) — Theme Builder footer
   ============================================================ */
.gm-footer {
  position: relative;
  padding: 96px 70px 48px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gm-red-600) 0%, #991b28 100%);
  color: var(--gm-white);
  font-family: var(--gm-font-en);
  isolation: isolate;
}

.gm-footer .gm-footer__deco {
  position: absolute;
  top: -147px;
  left: -156px;
  z-index: -1;
  width: 659px;
  height: 732px;
  max-width: none;
  object-fit: cover;
  opacity: 0.05;
  pointer-events: none;
}

.gm-footer .gm-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: 1280px;
  margin: 0 auto;
}

.gm-footer p {
  margin: 0;
}

.gm-footer a {
  color: var(--gm-white);
}

.gm-footer .gm-footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.gm-footer .gm-footer__company {
  display: flex;
  flex: 0 1 628px;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  min-width: 0;
}

.gm-footer .gm-footer__logo {
  display: block;
  line-height: 0;
}

.gm-footer .gm-footer__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 89px;
}

.gm-footer .gm-footer__logo-text {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.gm-footer .gm-footer__company-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-footer .gm-footer__address,
.gm-footer .gm-footer__reg {
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-white);
}

.gm-footer .gm-footer__side {
  display: flex;
  width: 100%;
  max-width: 407px;
  flex: 0 1 407px;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
  min-width: 0;
}

.gm-footer .gm-footer__hours-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 325px;
}

.gm-footer .gm-footer__hours-title {
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
}

.gm-footer .gm-footer__hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-footer .gm-footer__hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  font-size: var(--gm-body-md);
  line-height: 24px;
}

.gm-footer .gm-footer__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.gm-footer .gm-footer__line {
  display: block;
  line-height: 0;
}

.gm-footer .gm-footer__line img {
  display: block;
  width: 38px;
  height: 38px;
  max-width: none;
}

.gm-footer .gm-footer__call {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px; /* 38px with the border */
  border: 1px solid var(--gm-white);
  border-radius: 44px;
  font-size: 14px;
  line-height: 22px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.gm-footer .gm-footer__call:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gm-white);
}

.gm-footer .gm-footer__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  padding-top: 31px; /* + 1px line = 32px, as in Figma */
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.gm-footer .gm-footer__copy {
  font-size: 14px;
  line-height: 22px;
}

.gm-footer .gm-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.gm-footer .gm-footer__links a {
  font-size: 14px;
  line-height: 22px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gm-footer .gm-footer__links a:hover {
  color: var(--gm-white);
  opacity: 0.8;
}

.gm-footer :focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: 3px;
}

@media (max-width: 1024px) {
  .gm-footer {
    padding: 72px 40px 40px;
  }
  .gm-footer .gm-footer__top {
    flex-direction: column;
    gap: 48px;
  }
  .gm-footer .gm-footer__company,
  .gm-footer .gm-footer__side {
    flex-basis: auto;
  }
}

@media (max-width: 767px) {
  .gm-footer {
    padding: 56px 20px 32px;
  }
  .gm-footer .gm-footer__inner {
    gap: 40px;
  }
  .gm-footer .gm-footer__company {
    gap: 32px;
  }
  .gm-footer .gm-footer__logo img {
    height: 64px;
  }
  .gm-footer .gm-footer__address,
  .gm-footer .gm-footer__reg,
  .gm-footer .gm-footer__hours li {
    font-size: 14px;
    line-height: 22px;
  }
  .gm-footer .gm-footer__credits {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-help .gm-help__card,
  .gm-help .gm-help__card::before,
  .gm-faq .gm-faq__chev {
    transition: none;
  }
  .gm-faq .gm-faq__list.is-active {
    animation: none;
  }
}


/* ============================================================
   SIDEWAYS-SCROLLING TAB ROWS (phones): a soft fade on the right
   shows there are more tabs. gm-scroll-hint.js adds .is-end at the
   end of the row and .no-scroll when everything fits.
   ============================================================ */
@media (max-width: 900px) {
  .gm-promos .gm-promos__tabs,
  .gm-news .gm-news__tabs,
  .gm-faq .gm-faq__tabs,
  .gm-online .gm-online__tabs {
    -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 48px), transparent 100%);
  }
  .gm-promos .gm-promos__tabs.is-end,
  .gm-news .gm-news__tabs.is-end,
  .gm-faq .gm-faq__tabs.is-end,
  .gm-online .gm-online__tabs.is-end,
  .gm-promos .gm-promos__tabs.no-scroll,
  .gm-news .gm-news__tabs.no-scroll,
  .gm-faq .gm-faq__tabs.no-scroll,
  .gm-online .gm-online__tabs.no-scroll {
    -webkit-mask-image: none;
    mask-image: none;
  }
}

/* ============================================================
   PILL BAR (.gm-pills / .gm-pill) — shared: Promotions page,
   airlines, later News & Support pages. Figma "Background" pills.
   ============================================================ */
.gm-pills {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gm-red-50);
}

.gm-pills.gm-pills--center {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.gm-pills .gm-pill,
.gm-pills button.gm-pill {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 18px; /* 40px pill + 2 × 8px bar padding = 56px, as in Figma */
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: #404040;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gm-pills .gm-pill:hover,
.gm-pills button.gm-pill:hover,
.gm-pills button.gm-pill:focus {
  background: rgba(215, 38, 56, 0.08);
  color: var(--gm-red-600);
}

.gm-pills .gm-pill.is-active,
.gm-pills .gm-pill.is-active:hover,
.gm-pills button.gm-pill.is-active {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-pills .gm-pill:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  /* Figma mobile: the pills wrap onto more rows inside the pink box */
  .gm-pills,
  .gm-pills.gm-pills--center {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px 2px;
    width: auto;
    padding: 8px;
    border-radius: 24px;
  }
  .gm-pills .gm-pill {
    padding: 6px 14px;
    font-size: 14px;
    line-height: 22px;
  }
}

/* ============================================================
   GM PROMO FEATURED (gm-promo-featured) — Promotions page top
   ============================================================ */
.gm-pfeat {
  padding: 96px var(--gm-gutter);
  background: linear-gradient(0deg, var(--gm-white) 0%, var(--gm-red-50) 100%);
}

.gm-pfeat .gm-pfeat__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.gm-pfeat .gm-pfeat__page-title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-1000);
  font-weight: 600;
  line-height: 56px;
  text-align: center;
  color: var(--gm-grey-950);
  transition: color 0.2s ease;
}

.gm-pfeat .gm-pfeat__box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(0deg, var(--gm-red-600) 0%, var(--gm-white) 88.65%);
}

.gm-pfeat .gm-pfeat__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-900);
  font-weight: 600;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-pfeat .gm-pfeat__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.gm-pfeat .gm-pfeat__big {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 652px;
  overflow: hidden;
  border-radius: 20px;
  background: var(--gm-ink);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-pfeat .gm-pfeat__big-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  transition: transform 0.7s var(--gm-ease);
}

.gm-pfeat .gm-pfeat__big:hover .gm-pfeat__big-img {
  transform: scale(1.03);
}

.gm-pfeat .gm-pfeat__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 28%, rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
}

.gm-pfeat .gm-pfeat__big-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding: 32px 28px 28px;
}

.gm-pfeat .gm-pfeat__badge {
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--gm-red-600);
  color: var(--gm-white);
  font-family: var(--gm-font-en);
  font-size: 11px;
  font-weight: 700;
  line-height: 17.6px;
  letter-spacing: 0.88px;
  text-transform: uppercase;
}

.gm-pfeat .gm-pfeat__big-title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: 26px;
  font-weight: 600;
  line-height: 33.8px;
  color: var(--gm-white);
}

.gm-pfeat .gm-pfeat__big-text {
  max-width: 540px;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 22.4px;
  color: rgba(255, 255, 255, 0.85);
}

.gm-pfeat .gm-pfeat__link {
  color: inherit;
  text-decoration: none;
}

.gm-pfeat .gm-pfeat__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gm-pfeat .gm-pfeat__link:focus-visible {
  outline: none;
}

.gm-pfeat .gm-pfeat__big:has(.gm-pfeat__link:focus-visible),
.gm-pfeat .gm-pfeat__item:has(.gm-pfeat__link:focus-visible) {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-pfeat .gm-pfeat__list {
  display: flex;
  flex: 0 0 499px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-pfeat .gm-pfeat__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: var(--gm-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s var(--gm-ease), box-shadow 0.3s ease;
}

.gm-pfeat .gm-pfeat__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.gm-pfeat .gm-pfeat__thumb {
  flex: 0 0 auto;
  width: 127px;
  height: 127px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--gm-grey-50);
}

.gm-pfeat .gm-pfeat__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gm-pfeat .gm-pfeat__item-body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}

.gm-pfeat .gm-pfeat__live {
  margin-bottom: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #ffe9eb;
  color: var(--gm-red-600);
  font-family: var(--gm-font-en);
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.gm-pfeat .gm-pfeat__item-title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-ink);
  transition: color 0.2s ease;
}

.gm-pfeat .gm-pfeat__item:hover .gm-pfeat__item-title {
  color: var(--gm-red-600);
}

@media (max-width: 1100px) {
  .gm-pfeat .gm-pfeat__row {
    flex-direction: column;
  }
  .gm-pfeat .gm-pfeat__big {
    width: 100%;
    flex: none;
    height: 560px;
  }
  .gm-pfeat .gm-pfeat__list {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .gm-pfeat {
    padding-top: 48px;
    padding-bottom: 48px;
  }
  .gm-pfeat .gm-pfeat__inner {
    gap: 24px;
  }
  .gm-pfeat .gm-pfeat__page-title {
    font-size: 32px;
    line-height: 40px;
  }
  .gm-pfeat .gm-pfeat__box {
    gap: 24px;
    padding: 24px 16px;
    border-radius: 20px;
  }
  .gm-pfeat .gm-pfeat__title {
    font-size: 26px;
    line-height: 36px;
  }
  .gm-pfeat .gm-pfeat__big {
    height: auto;
    aspect-ratio: 4 / 5;
  }
  .gm-pfeat .gm-pfeat__big-body {
    padding: 24px 20px 20px;
  }
  .gm-pfeat .gm-pfeat__big-title {
    font-size: 20px;
    line-height: 28px;
  }
  .gm-pfeat .gm-pfeat__list {
    gap: 12px;
  }
  .gm-pfeat .gm-pfeat__thumb {
    width: 88px;
    height: 88px;
  }
  .gm-pfeat .gm-pfeat__item-title {
    font-size: var(--gm-body-md);
  }
}

/* ============================================================
   GM PROMO GRID (gm-promo-grid) — "โปรโมชันทั้งหมด"
   ============================================================ */
.gm-pgrid {
  padding: 64px var(--gm-gutter) 96px;
  scroll-margin-top: 90px; /* the sticky header does not cover the section after a tab click */
}

.gm-pgrid .gm-pgrid__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

/* while the next view loads (no page reload) */
.gm-pgrid.is-loading .gm-pgrid__grid,
.gm-pgrid.is-loading .gm-pager {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.gm-pgrid .gm-pgrid__grid {
  transition: opacity 0.2s ease;
}

.gm-pgrid .gm-pgrid__title,
.gm-airl .gm-airl__title {
  margin: 0 0 40px;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-pgrid .gm-pgrid__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 24px;
  margin-top: 40px;
}

.gm-pgrid .gm-pgrid__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gm-pgrid .gm-pgrid__empty {
  margin: 40px 0 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  color: var(--gm-grey);
  text-align: center;
}

/* pagination */
.gm-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.gm-pager .gm-pager__num,
.gm-pager .gm-pager__dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 44px;
  color: var(--gm-grey);
  font-family: var(--gm-font-en);
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gm-pager a.gm-pager__num:hover {
  background: var(--gm-red-50);
  color: var(--gm-red-600);
}

.gm-pager .gm-pager__num.is-current {
  color: var(--gm-red-600);
  font-weight: 600;
}

.gm-pager .gm-pager__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 44px;
  background: var(--gm-red);
  color: var(--gm-white);
  transition: background-color 0.2s ease;
}

.gm-pager a.gm-pager__arrow:hover {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-pager .gm-pager__arrow.is-disabled {
  background: #d3d3d3;
  cursor: default;
}

.gm-pager .gm-pager__arrow svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1100px) {
  .gm-pgrid .gm-pgrid__grid,
  .gm-pgrid .gm-pgrid__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gm-pgrid {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .gm-pgrid .gm-pgrid__title,
  .gm-airl .gm-airl__title {
    margin-bottom: 24px;
    font-size: 26px;
    line-height: 36px;
  }
  .gm-pgrid .gm-pgrid__grid {
    gap: 24px 16px;
    margin-top: 24px;
  }
  /* Figma mobile: numbers in grey circles, current = red circle */
  .gm-pager {
    gap: 10px;
  }
  .gm-pager .gm-pager__num {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    color: var(--gm-grey-950);
    font-size: 13px;
  }
  .gm-pager .gm-pager__num.is-current {
    background: var(--gm-red-600);
    color: var(--gm-white);
  }
  .gm-pager .gm-pager__dots {
    width: 20px;
  }
  .gm-pager .gm-pager__arrow {
    width: 32px;
    height: 32px;
    background: #f5f5f5;
    color: var(--gm-grey-950);
  }
  .gm-pager a.gm-pager__arrow:hover {
    background: var(--gm-red-50);
    color: var(--gm-red-600);
  }
  .gm-pager .gm-pager__arrow.is-disabled {
    display: none;
  }
}

@media (max-width: 600px) {
  .gm-pgrid .gm-pgrid__grid,
  .gm-pgrid .gm-pgrid__grid--3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   GM AIRLINES (gm-airlines) — "โปรโมชันตามสายการบิน"
   ============================================================ */
.gm-airl {
  padding: 64px var(--gm-gutter) 96px;
}

.gm-airl .gm-airl__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-airl .gm-airl__title {
  text-align: center;
}

.gm-airl .gm-airl__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  max-width: 1080px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.gm-airl .gm-airl__grid[hidden] {
  display: none;
}

.gm-airl .gm-airl__grid.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-airl .gm-airl__grid li {
  margin: 0;
}

.gm-airl .gm-airl__card {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  transition: transform 0.3s var(--gm-ease), box-shadow 0.3s ease, border-color 0.2s ease;
}

/* v0.16.13: Figma hover — thin grey border, deeper soft shadow, a little bigger */
.gm-airl a.gm-airl__card:hover {
  transform: scale(1.04);
  border-color: #e6e6e6;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 24px rgba(0, 0, 0, 0.05);
}

.gm-airl a.gm-airl__card:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-airl .gm-airl__logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 36px;
  object-fit: contain;
}

.gm-airl .gm-airl__name {
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 600;
  color: var(--gm-grey-950);
  text-align: center;
}

@media (max-width: 1024px) {
  .gm-airl .gm-airl__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gm-airl {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .gm-airl .gm-airl__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
  }
  .gm-airl .gm-airl__card {
    height: 80px;
    padding: 12px;
  }
  .gm-airl .gm-airl__logo {
    height: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-pfeat .gm-pfeat__big-img,
  .gm-pfeat .gm-pfeat__item,
  .gm-airl .gm-airl__card {
    transition: none;
  }
  .gm-airl .gm-airl__grid.is-active {
    animation: none;
  }
}

/* ============================================================
   GM PAGE TITLE (gm-page-title) — centred title on a pink band
   ============================================================ */
.gm-ptitle {
  padding: 96px var(--gm-gutter);
  background: linear-gradient(0deg, var(--gm-white) 0%, var(--gm-red-50) 100%);
  text-align: center;
}

.gm-ptitle .gm-ptitle__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-1000);
  font-weight: 600;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-ptitle .gm-ptitle__sub {
  max-width: 720px;
  margin: 16px auto 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  line-height: 26px;
  color: var(--gm-grey);
}

@media (max-width: 767px) {
  .gm-ptitle {
    padding-top: 48px;
    padding-bottom: 40px;
  }
  .gm-ptitle .gm-ptitle__title {
    font-size: 30px;
    line-height: 40px;
  }
}

/* Promo Grid: optional button under the cards (airline page) */
.gm-pgrid .gm-pgrid__foot {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ============================================================
   GM PROMO HEADER (gm-promo-header) — promotion page top
   ============================================================ */
.gm-phead {
  padding: 96px var(--gm-gutter);
  background: linear-gradient(0deg, var(--gm-white) 0%, var(--gm-red-50) 100%);
}

.gm-phead .gm-phead__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-phead .gm-phead__text {
  display: flex;
  flex: 0 1 586px;
  flex-direction: column;
  align-items: flex-start;
  gap: 96px;
  min-width: 0;
}

.gm-phead .gm-phead__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
}

.gm-phead .gm-phead__expired {
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f5f5f5;
  color: var(--gm-grey);
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 20px;
}

.gm-phead .gm-phead__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-1000);
  font-weight: 500;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-phead .gm-phead__meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-phead .gm-phead__date {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: #000;
}

.gm-phead .gm-phead__media {
  flex: 0 1 740px;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
  background: var(--gm-grey-50);
}

.gm-phead .gm-phead__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* share row (shared) */
.gm-share {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.gm-share .gm-share__label {
  font-family: var(--gm-font-en);
  font-size: 14px;
  line-height: 22px;
  color: #000;
}

.gm-share .gm-share__btn,
.gm-share button.gm-share__btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  box-shadow: none;
  color: #1e1e1e;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gm-share .gm-share__btn:hover,
.gm-share button.gm-share__btn:hover,
.gm-share button.gm-share__btn:focus {
  background: none;
  color: var(--gm-red-600);
  transform: translateY(-1px);
}

.gm-share .gm-share__btn:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-share .gm-share__btn svg {
  width: 100%;
  height: 100%;
}

.gm-share .gm-share__toast {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 8px;
  background: var(--gm-grey-950);
  color: var(--gm-white);
  font-family: var(--gm-font-th);
  font-size: 13px;
  line-height: 18px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gm-share .gm-share__toast.is-shown {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .gm-phead .gm-phead__inner {
    flex-direction: column-reverse;
    gap: 32px;
  }
  .gm-phead .gm-phead__text {
    flex-basis: auto;
    gap: 32px;
  }
  .gm-phead .gm-phead__media {
    flex-basis: auto;
    width: 100%;
    max-width: 740px;
  }
}

@media (max-width: 767px) {
  .gm-phead {
    padding-top: 32px;
    padding-bottom: 40px;
  }
  .gm-phead .gm-phead__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-phead .gm-phead__media {
    border-radius: 16px;
  }
}

/* ============================================================
   GM PROMO CONDITIONS (gm-promo-terms)
   ============================================================ */
.gm-pterms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  padding: 48px var(--gm-gutter) 96px;
  background: var(--gm-white);
}

.gm-pterms .gm-pterms__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1064px;
}

.gm-pterms .gm-pterms__period {
  margin: 0;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(0deg, var(--gm-red) 0%, var(--gm-red-600) 100%);
  color: var(--gm-white);
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-700);
  font-weight: 600;
  line-height: 32px;
  text-align: center;
}

.gm-pterms .gm-pterms__block {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gm-pterms .gm-pterms__heading {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0 0 0 10px;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: #333;
}

.gm-pterms .gm-pterms__num {
  flex: 0 0 auto;
  min-width: 17px;
}

.gm-pterms .gm-pterms__box {
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 24px 24px 29px;
  border-radius: 16px;
  background: #f5f5f5;
}

.gm-pterms .gm-pterms__box-title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 600;
  line-height: 24px;
  color: #333;
}

.gm-pterms .gm-pterms__list {
  margin: 0;
  padding: 0 0 0 24px;
  list-style: disc;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: #595c5d;
}

.gm-pterms .gm-pterms__list li {
  margin: 0;
  padding: 0;
}

@media (max-width: 767px) {
  .gm-pterms {
    gap: 48px;
    padding-top: 24px;
    padding-bottom: 56px;
  }
  .gm-pterms .gm-pterms__inner {
    gap: 28px;
  }
  .gm-pterms .gm-pterms__period {
    padding: 16px;
    border-radius: 16px;
    font-size: 18px;
    line-height: 26px;
  }
  .gm-pterms .gm-pterms__heading {
    padding-left: 0;
    font-size: var(--gm-body-md);
  }
  .gm-pterms .gm-pterms__box {
    padding: 18px 16px 20px;
  }
  .gm-pterms .gm-pterms__list {
    padding-left: 20px;
    font-size: 15px;
  }
}

/* ============================================================
   GM RELATED PROMOTIONS (gm-promo-related)
   ============================================================ */
.gm-prel {
  padding: 64px var(--gm-gutter) 96px;
  /* Figma "Diamond": #FCCFD0 in the middle fading to #FFEFEF at the edges */
  background-color: #ffefef;
  background-image:
    radial-gradient(ellipse 62% 70% at 50% 54%, rgba(252, 207, 208, 0.95) 0%, rgba(252, 207, 208, 0.55) 40%, rgba(255, 239, 239, 0) 100%);
}

.gm-prel .gm-prel__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 48px;
}

.gm-prel .gm-prel__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 0 4px;
}

.gm-prel .gm-prel__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-prel .gm-prel__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .gm-prel .gm-prel__inner {
    padding: 24px 0;
  }
  .gm-prel .gm-prel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gm-prel {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .gm-prel .gm-prel__title {
    font-size: 26px;
    line-height: 36px;
  }
  .gm-prel .gm-prel__grid {
    gap: 16px;
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .gm-prel .gm-prel__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   NEWS CARD (.gm-ncard) — shared: News list, related news.
   ============================================================ */
.gm-ncard {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--gm-ease), box-shadow 0.35s ease;
}

.gm-ncard:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.09);
}

.gm-ncard .gm-ncard__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #f7edef;
}

.gm-ncard.gm-ncard--wide .gm-ncard__media {
  aspect-ratio: 384 / 283;
}

.gm-ncard .gm-ncard__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;
  transition: transform 0.6s var(--gm-ease);
}

.gm-ncard.gm-ncard--wide .gm-ncard__media img {
  object-fit: cover;
}

.gm-ncard:hover .gm-ncard__media img {
  transform: scale(1.03);
}

.gm-ncard .gm-ncard__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gm-ncard .gm-ncard__title {
  display: -webkit-box;
  margin: 0;
  padding: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-700);
  font-weight: 600;
  line-height: 32px;
  color: var(--gm-grey-950);
  transition: color 0.2s ease;
}

.gm-ncard:hover .gm-ncard__title {
  color: var(--gm-red-600);
}

.gm-ncard .gm-ncard__link {
  color: inherit;
  text-decoration: none;
}

.gm-ncard .gm-ncard__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gm-ncard .gm-ncard__link:focus-visible {
  outline: none;
}

.gm-ncard:has(.gm-ncard__link:focus-visible) {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-ncard .gm-ncard__text {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-ncard.gm-ncard--wide .gm-ncard__text {
  -webkit-line-clamp: 2;
}

.gm-ncard .gm-ncard__date {
  margin: 8px 0 0;
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 18px;
  color: #a3a3a3;
}

@media (max-width: 767px) {
  .gm-ncard {
    gap: 16px;
    padding: 16px;
  }
  .gm-ncard .gm-ncard__title {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ============================================================
   GM NEWS LATEST (gm-news-latest) — "อัปเดตล่าสุด"
   ============================================================ */
.gm-nlatest {
  padding: 48px var(--gm-gutter) 80px;
}

.gm-nlatest .gm-nlatest__box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1232px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 24px;
  background: linear-gradient(0deg, var(--gm-red-600) 0%, var(--gm-white) 88.65%);
}

.gm-nlatest .gm-nlatest__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  color: var(--gm-grey-950);
}

.gm-nlatest .gm-nlatest__card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 56px;
  height: 504px;
  padding: 32px;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--gm-ease), box-shadow 0.35s ease;
}

.gm-nlatest .gm-nlatest__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
}

.gm-nlatest .gm-nlatest__media {
  flex: 0 0 auto;
  width: 440px;
  height: 440px;
  overflow: hidden;
  border-radius: 8px;
  background: #f7edef;
}

.gm-nlatest .gm-nlatest__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gm-nlatest .gm-nlatest__body {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.gm-nlatest .gm-nlatest__chip {
  padding: 4px 12px;
  border-radius: 16px;
  background: #fee6e5;
  color: var(--gm-red-600);
  font-family: var(--gm-font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
}

.gm-nlatest .gm-nlatest__name {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
  transition: color 0.2s ease;
}

.gm-nlatest .gm-nlatest__card:hover .gm-nlatest__name {
  color: var(--gm-red-600);
}

.gm-nlatest .gm-nlatest__link {
  color: inherit;
  text-decoration: none;
}

.gm-nlatest .gm-nlatest__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.gm-nlatest .gm-nlatest__text {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-xl);
  font-weight: 600;
  line-height: 26px;
  color: var(--gm-grey);
}

.gm-nlatest .gm-nlatest__date {
  margin: 8px 0 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: #a3a3a3;
}

@media (max-width: 1100px) {
  .gm-nlatest .gm-nlatest__card {
    gap: 32px;
    height: auto;
  }
  .gm-nlatest .gm-nlatest__media {
    width: 44%;
    height: auto;
    aspect-ratio: 1 / 1;
  }
}

@media (max-width: 767px) {
  .gm-nlatest {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .gm-nlatest .gm-nlatest__box {
    gap: 24px;
    padding: 24px 16px;
    border-radius: 20px;
  }
  .gm-nlatest .gm-nlatest__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-nlatest .gm-nlatest__card {
    flex-direction: column;
    gap: 20px;
    padding: 16px;
  }
  .gm-nlatest .gm-nlatest__media {
    width: 100%;
  }
  .gm-nlatest .gm-nlatest__name {
    font-size: 22px;
    line-height: 30px;
  }
  .gm-nlatest .gm-nlatest__text {
    font-size: var(--gm-body-md);
    line-height: 24px;
  }
}

/* ============================================================
   GM NEWS GRID (gm-news-grid)
   ============================================================ */
.gm-ngrid {
  padding: 0 var(--gm-gutter) 96px;
  scroll-margin-top: 90px;
}

.gm-ngrid .gm-ngrid__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-ngrid .gm-ngrid__title {
  margin: 0 0 40px;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-ngrid .gm-ngrid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.gm-ngrid .gm-pager {
  margin-top: 80px;
}

.gm-ngrid.is-loading .gm-ngrid__grid,
.gm-ngrid.is-loading .gm-pager {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.gm-ngrid .gm-ngrid__empty {
  margin: 48px 0 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  color: var(--gm-grey);
  text-align: center;
}

@media (max-width: 1100px) {
  .gm-ngrid .gm-ngrid__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gm-ngrid {
    padding-bottom: 56px;
  }
  .gm-ngrid .gm-ngrid__grid {
    gap: 16px;
    margin-top: 24px;
  }
  .gm-ngrid .gm-pager {
    margin-top: 40px;
  }
}

@media (max-width: 600px) {
  .gm-ngrid .gm-ngrid__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   GM NEWS HEADER (gm-news-header) — article top
   ============================================================ */
.gm-nhead {
  padding: 96px var(--gm-gutter) 40px;
}

.gm-nhead .gm-nhead__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-nhead .gm-nhead__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-1000);
  font-weight: 600;
  line-height: 56px;
  color: #000;
}

.gm-nhead .gm-nhead__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  margin-top: 40px;
}

.gm-nhead .gm-nhead__date {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: #000;
}

.gm-share.gm-share--lg {
  gap: 8px;
}

.gm-share.gm-share--lg .gm-share__label {
  margin-right: 8px;
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 27px;
}

.gm-share.gm-share--lg .gm-share__btn,
.gm-share.gm-share--lg button.gm-share__btn {
  width: 32px;
  height: 32px;
}

.gm-share.gm-share--lg .gm-share__toast {
  left: auto;
  right: 0;
}

.gm-nhead .gm-nhead__cover {
  height: 662px;
  margin-top: 40px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gm-grey-50);
}

.gm-nhead .gm-nhead__cover img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .gm-nhead .gm-nhead__cover {
    height: auto;
    aspect-ratio: 1344 / 662;
  }
}

@media (max-width: 767px) {
  .gm-nhead {
    padding-top: 32px;
    padding-bottom: 24px;
  }
  .gm-nhead .gm-nhead__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-nhead .gm-nhead__meta {
    margin-top: 20px;
  }
  .gm-share.gm-share--lg .gm-share__label {
    font-size: var(--gm-body-md);
  }
  .gm-nhead .gm-nhead__cover {
    margin-top: 24px;
    border-radius: 12px;
  }
}

/* ============================================================
   GM NEWS ARTICLE (gm-news-article) — the post text
   ============================================================ */
.gm-narticle {
  padding: 48px var(--gm-gutter) 96px;
}

.gm-narticle .gm-narticle__body {
  max-width: 886px;
  margin: 0 auto;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: #333;
}

.gm-narticle .gm-narticle__body > *:first-child {
  margin-top: 0;
}

.gm-narticle .gm-narticle__body p {
  margin: 0 0 16px;
}

.gm-narticle .gm-narticle__body h2 {
  margin: 24px 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-700);
  font-weight: 600;
  line-height: 32px;
  color: var(--gm-grey-950);
}

.gm-narticle .gm-narticle__body h3,
.gm-narticle .gm-narticle__body h4 {
  margin: 8px 0 16px;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 26px;
  color: var(--gm-grey-950);
}

.gm-narticle .gm-narticle__body ul,
.gm-narticle .gm-narticle__body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}

.gm-narticle .gm-narticle__body li {
  margin: 0 0 4px;
}

.gm-narticle .gm-narticle__body a {
  color: var(--gm-red-600);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gm-narticle .gm-narticle__body a:hover {
  color: var(--gm-red-700);
}

.gm-narticle .gm-narticle__body figure,
.gm-narticle .gm-narticle__body .wp-block-image {
  margin: 24px auto;
}

.gm-narticle .gm-narticle__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 16px;
}

.gm-narticle .gm-narticle__body figcaption {
  margin-top: 8px;
  font-size: 14px;
  color: var(--gm-grey);
  text-align: center;
}

/* pictures side by side: Gallery block / Columns block */
.gm-narticle .gm-narticle__body .wp-block-gallery,
.gm-narticle .gm-narticle__body .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 24px 0;
}

.gm-narticle .gm-narticle__body .wp-block-gallery > figure,
.gm-narticle .gm-narticle__body .wp-block-columns > .wp-block-column {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
}

.gm-narticle .gm-narticle__body .wp-block-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-narticle .gm-narticle__body blockquote {
  margin: 24px 0;
  padding: 8px 0 8px 20px;
  border-left: 3px solid var(--gm-red-600);
  color: var(--gm-grey-950);
}

.gm-narticle .gm-narticle__body iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
  border-radius: 16px;
}

.gm-narticle .gm-narticle__line {
  max-width: var(--gm-card-max);
  height: 0;
  margin: 48px auto 0;
  border: 0;
  border-top: 1px solid var(--gm-grey-200);
}

@media (max-width: 767px) {
  .gm-narticle {
    padding-top: 24px;
    padding-bottom: 56px;
  }
  .gm-narticle .gm-narticle__body .wp-block-gallery,
  .gm-narticle .gm-narticle__body .wp-block-columns {
    flex-direction: column;
  }
  .gm-narticle .gm-narticle__body h2 {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ============================================================
   GM NEWS RELATED (gm-news-related)
   ============================================================ */
.gm-nrel {
  padding: 64px var(--gm-gutter) 96px;
}

.gm-nrel .gm-nrel__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-nrel .gm-nrel__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
}

.gm-nrel .gm-nrel__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-nrel .gm-nrel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

@media (max-width: 1100px) {
  .gm-nrel .gm-nrel__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .gm-nrel {
    padding-top: 40px;
    padding-bottom: 56px;
  }
  .gm-nrel .gm-nrel__title {
    font-size: 26px;
    line-height: 36px;
  }
  .gm-nrel .gm-nrel__grid {
    gap: 16px;
    margin-top: 24px;
  }
}

@media (max-width: 600px) {
  .gm-nrel .gm-nrel__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-ncard,
  .gm-ncard .gm-ncard__media img,
  .gm-nlatest .gm-nlatest__card {
    transition: none;
  }
}

/* ============================================================
   GM HERO — "Equal columns" layout (Solution pages): text 640 / image 640
   ============================================================ */
.gm-hero.gm-hero--equal {
  padding-top: 96px;
  padding-bottom: 111px;
}

.gm-hero.gm-hero--equal .gm-hero__grid {
  grid-template-columns: minmax(0, 640px) minmax(0, 640px);
  justify-content: space-between;
  gap: 64px;
  min-height: 393px;
}

.gm-hero.gm-hero--equal .gm-hero__media img {
  max-width: 640px;
}

@media (max-width: 1024px) {
  .gm-hero.gm-hero--equal {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .gm-hero.gm-hero--equal .gm-hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    min-height: 0;
  }
  .gm-hero.gm-hero--equal .gm-hero__media img {
    margin: 0 auto;
  }
}

/* ============================================================
   Fade-up on scroll ([data-gm-reveal]) — only after gm-reveal.js
   has started, so nothing is hidden without JavaScript.
   ============================================================ */
.gm-reveal-ready [data-gm-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.8s var(--gm-ease);
}

.gm-reveal-ready [data-gm-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ============================================================
   GM FEATURE ROWS (gm-zigzag)
   ============================================================ */
.gm-zig {
  padding: 96px var(--gm-gutter);
}

.gm-zig .gm-zig__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-zig .gm-zig__title {
  margin: 0 0 40px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  text-align: center;
  color: var(--gm-grey-950);
}

.gm-zig .gm-zig__rows {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.gm-zig .gm-zig__row {
  display: flex;
  align-items: stretch;
  gap: 48px;
  min-height: 481px;
  padding: 24px;
  border-radius: 24px;
  background: var(--gm-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
}

.gm-zig .gm-zig__row--flip {
  flex-direction: row-reverse;
}

.gm-zig .gm-zig__tile {
  display: flex;
  flex: 0 1 684px;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  min-width: 0;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(90deg, #fff1f1 26.66%, #fee6e5 100%);
}

.gm-zig .gm-zig__tile img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 636px;
}

.gm-zig .gm-zig__copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-width: 0;
  padding: 0 48px;
}

.gm-zig .gm-zig__name,
.gm-zig .gm-zig__text {
  width: 100%;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
}

.gm-zig .gm-zig__name {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-red-600);
}

.gm-zig .gm-zig__text {
  margin-top: 0;
  margin-bottom: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey);
}

@media (max-width: 1024px) {
  .gm-zig .gm-zig__row,
  .gm-zig .gm-zig__row--flip {
    flex-direction: column;
    gap: 24px;
    min-height: 0;
  }
  .gm-zig .gm-zig__tile {
    flex: none;
    align-self: stretch;
  }
  .gm-zig .gm-zig__copy {
    padding: 0 8px 16px;
  }
  .gm-zig .gm-zig__name,
  .gm-zig .gm-zig__text {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .gm-zig {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .gm-zig .gm-zig__title {
    margin-bottom: 24px;
    font-size: 28px;
    line-height: 38px;
  }
  .gm-zig .gm-zig__rows {
    gap: 24px;
  }
  .gm-zig .gm-zig__row {
    padding: 12px;
    border-radius: 20px;
  }
  .gm-zig .gm-zig__tile {
    padding: 12px;
    border-radius: 16px;
  }
  .gm-zig .gm-zig__name {
    font-size: 20px;
    line-height: 28px;
  }
}

/* ============================================================
   GM IMAGE BANNER (gm-banner) — red "GM Online" box
   ============================================================ */
.gm-banner {
  padding: 88px var(--gm-gutter) 97px;
}

.gm-banner .gm-banner__box {
  position: relative;
  max-width: var(--gm-card-max);
  height: 624px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(90deg, #e3141c 0%, #e8232b 34%, rgba(236, 71, 81, 0.75) 44%, rgba(255, 255, 255, 0.35) 58%, #fff 72%),
    var(--gm-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  isolation: isolate;
}

.gm-banner .gm-banner__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gm-banner .gm-banner__img {
  position: absolute;
  top: 96px;
  left: 532px;
  width: 825px;
  max-width: none;
  height: auto;
  pointer-events: none;
}

.gm-banner .gm-banner__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 480px;
  max-width: 100%;
  padding: 96px 0 0 96px;
  box-sizing: content-box;
}

.gm-banner .gm-banner__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.gm-banner .gm-banner__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  color: var(--gm-white);
}

.gm-banner .gm-banner__title .gm-hl {
  color: var(--gm-white);
}

.gm-banner .gm-banner__texts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-banner .gm-banner__sub,
.gm-banner .gm-banner__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-white);
}

.gm-banner .gm-banner__sub {
  font-weight: 600;
}

.gm-banner .gm-banner__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 8px 0 0;
  list-style: none;
}

.gm-banner .gm-banner__list li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-white);
}

.gm-banner .gm-check-w {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
}

.elementor .gm-banner .gm-banner__btn,
.gm-banner .gm-banner__btn {
  border-color: var(--gm-white);
  background: var(--gm-white);
  color: var(--gm-red-600);
}

.elementor .gm-banner .gm-banner__btn:hover,
.gm-banner .gm-banner__btn:hover {
  border-color: var(--gm-red-50);
  background: var(--gm-red-50);
  color: var(--gm-red-700);
}

@media (max-width: 1280px) {
  .gm-banner .gm-banner__img {
    left: auto;
    right: -180px;
    width: 700px;
  }
  .gm-banner .gm-banner__copy {
    padding-left: 64px;
  }
}

@media (max-width: 1024px) {
  .gm-banner {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .gm-banner .gm-banner__box {
    display: flex;
    flex-direction: column;
    height: auto;
    background: linear-gradient(180deg, #e3141c 0%, #e8232b 55%, #f47a80 80%, #fff 100%);
  }
  .gm-banner .gm-banner__copy {
    width: auto;
    padding: 48px 40px 32px;
  }
  /* phones / tablets: text first, the picture underneath (bleeding right) */
  .gm-banner .gm-banner__copy {
    order: 1;
  }
  .gm-banner .gm-banner__img {
    position: relative;
    order: 2;
    top: auto;
    right: auto;
    left: auto;
    width: 108%;
    margin: 0 0 0 12%;
  }
}

@media (max-width: 767px) {
  .gm-banner .gm-banner__box {
    border-radius: 20px;
  }
  .gm-banner .gm-banner__copy {
    gap: 28px;
    padding: 32px 20px 24px;
  }
  .gm-banner .gm-banner__title {
    font-size: 30px;
    line-height: 40px;
  }
}

/* ============================================================
   GM TAB SHOWCASE (gm-tabshow)
   ============================================================ */
.gm-tshow {
  padding: 96px var(--gm-gutter);
}

.gm-tshow .gm-tshow__inner {
  max-width: 1248px;
  margin: 0 auto;
}

.gm-tshow .gm-tshow__title {
  margin: 0 0 40px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  text-align: center;
  color: var(--gm-grey-950);
}

.gm-tshow .gm-tshow__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 88px;
  padding: 0 40px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, var(--gm-red-600) 0%, #991b28 100%);
}

.gm-tshow .gm-tshow__bar .gm-tshow__tab {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 8px 18px 9px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: var(--gm-white);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.gm-tshow .gm-tshow__bar .gm-tshow__tab:hover,
.gm-tshow .gm-tshow__bar .gm-tshow__tab:focus {
  background: rgba(255, 255, 255, 0.14);
  color: var(--gm-white);
}

.gm-tshow .gm-tshow__bar .gm-tshow__tab.is-active,
.gm-tshow .gm-tshow__bar .gm-tshow__tab.is-active:hover {
  background: var(--gm-white);
  color: var(--gm-red-600);
}

.gm-tshow .gm-tshow__bar .gm-tshow__tab:focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: 2px;
}

.gm-tshow .gm-tshow__panel {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding: 48px;
  border-radius: 0 0 24px 24px;
  background: var(--gm-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-tshow .gm-tshow__panel[hidden] {
  display: none;
}

.gm-tshow .gm-tshow__panel.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-tshow .gm-tshow__media {
  flex: 0 1 560px;
  min-width: 0;
  aspect-ratio: 560 / 320;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gm-grey-50);
}

.gm-tshow .gm-tshow__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gm-tshow .gm-tshow__copy {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
  align-self: stretch;
}

.gm-tshow .gm-tshow__name {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-xl);
  font-weight: 600;
  line-height: 26px;
  color: #000;
}

.gm-tshow .gm-tshow__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-tshow .gm-tshow__list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-tshow .gm-tshow__tick {
  flex: 0 0 auto;
  font-weight: 600;
  color: var(--gm-red);
}

.gm-tshow .gm-tshow__foot {
  display: flex;
  flex: 1 1 auto;
  align-items: flex-end;
  min-height: 64px;
}

.gm-tshow .gm-tshow__btn {
  border-radius: 46px;
}

@media (max-width: 1024px) {
  .gm-tshow .gm-tshow__panel {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
  .gm-tshow .gm-tshow__media {
    flex: none;
    width: 100%;
  }
  .gm-tshow .gm-tshow__foot {
    min-height: 0;
  }
}

@media (max-width: 767px) {
  .gm-tshow {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .gm-tshow .gm-tshow__title {
    margin-bottom: 24px;
    font-size: 28px;
    line-height: 38px;
  }
  .gm-tshow .gm-tshow__bar {
    height: auto;
    padding: 12px;
    gap: 6px;
    overflow-x: auto;
    border-radius: 20px 20px 0 0;
    scrollbar-width: none;
  }
  .gm-tshow .gm-tshow__bar::-webkit-scrollbar {
    display: none;
  }
  .gm-tshow .gm-tshow__bar .gm-tshow__tab {
    flex: 0 0 auto;
    padding: 7px 14px;
    font-size: 14px;
  }
  .gm-tshow .gm-tshow__panel {
    padding: 16px;
    border-radius: 0 0 20px 20px;
  }
}

/* ============================================================
   GM CTA STRIP (gm-cta)
   ============================================================ */
.gm-cta {
  padding: 48px var(--gm-gutter) 96px;
}

.gm-cta .gm-cta__box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
  max-width: 1248px;
  margin: 0 auto;
  padding: 47px 63px; /* + 1px border = Figma's 48 / 64 */
  overflow: hidden;
  border: 1px solid #d3d3d3;
  border-radius: 16px;
  background: #a49e9d;
  isolation: isolate;
}

.gm-cta .gm-cta__deco {
  position: absolute;
  top: -25px;
  right: 18px;
  z-index: -1;
  width: 192px;
  height: 213px;
  max-width: none;
  object-fit: cover;
  opacity: 0.1;
  pointer-events: none;
}

.gm-cta .gm-cta__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: var(--gm-white);
}

.gm-cta .gm-cta__title .gm-hl {
  color: var(--gm-white);
  text-decoration: underline;
  text-decoration-color: var(--gm-red-600);
}

.gm-cta .gm-cta__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 1024px) {
  .gm-cta .gm-cta__box {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
  }
}

@media (max-width: 767px) {
  .gm-cta {
    padding-top: 24px;
    padding-bottom: 56px;
  }
  .gm-cta .gm-cta__box {
    padding: 28px 20px;
  }
  .gm-cta .gm-cta__title {
    font-size: 24px;
    line-height: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-tshow .gm-tshow__panel.is-active {
    animation: none;
  }
}


/* Feature rows: video in the pink tile (YouTube or MP4), same 636 × 376 frame */
.gm-zig .gm-zig__video {
  width: 100%;
  max-width: 636px;
  aspect-ratio: 636 / 376;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.gm-zig .gm-zig__video iframe,
.gm-zig .gm-zig__video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

/* ============================================================
   GM TAB GALLERY (gm-tabgallery) — Figma placeholder block
   ============================================================ */
.gm-tgal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 96px var(--gm-gutter);
  background: linear-gradient(180deg, var(--gm-white) 30.96%, var(--gm-red-50) 100%);
}

.gm-tgal .gm-tgal__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.gm-tgal .gm-tgal__eyebrow {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: #000;
}

.gm-tgal .gm-tgal__title,
.gm-mos .gm-mos__head {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: 56px;
  color: #000;
}

.gm-tgal .gm-tgal__tabs {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  max-width: 1000px;
  border-bottom: 1px solid #f5f5f5;
}

.gm-tgal .gm-tgal__tabs .gm-tgal__tab {
  appearance: none;
  flex: 0 0 auto;
  margin: 0 0 -1px;
  padding: 8px 16px 6px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #b9b9b9;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.gm-tgal .gm-tgal__tabs .gm-tgal__tab:hover,
.gm-tgal .gm-tgal__tabs .gm-tgal__tab:focus {
  background: none;
  color: var(--gm-ink);
}

.gm-tgal .gm-tgal__tabs .gm-tgal__tab.is-active {
  border-bottom-color: var(--gm-red-600);
  color: var(--gm-ink);
}

.gm-tgal .gm-tgal__tabs .gm-tgal__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-tgal .gm-tgal__panel {
  width: 100%;
  max-width: 1000px;
  aspect-ratio: 1000 / 504;
  overflow: hidden;
  border-radius: 16px;
  background: #c4c4c4;
}

.gm-tgal .gm-tgal__panel[hidden] {
  display: none;
}

.gm-tgal .gm-tgal__panel.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-tgal .gm-tgal__panel img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* ============================================================
   GM PHOTO MOSAIC (gm-mosaic) — Figma placeholder blocks
   ============================================================ */
.gm-mos {
  padding: 96px;
  background: linear-gradient(180deg, var(--gm-white) 30.96%, var(--gm-red-50) 100%);
}

.gm-mos .gm-mos__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1248px;
  margin: 0 auto;
}

.gm-mos .gm-mos__grid {
  display: grid;
  grid-template-columns: minmax(0, 797fr) minmax(0, 427fr);
  gap: 24px;
  height: 504px;
}

.gm-mos .gm-mos__stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  min-height: 0;
}

.gm-mos .gm-mos__tile {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #c4c4c4;
}

.gm-mos .gm-mos__tile img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.gm-mos .gm-mos__pill {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 4px 16px;
  border-radius: 999px;
  background: #ffe9eb;
  color: var(--gm-red-600);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  line-height: 24px;
  white-space: nowrap;
}

.gm-mos .gm-mos__foot {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.gm-mos .gm-mos__title {
  flex: 0 0 500px;
  max-width: 500px;
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-red-600);
}

.gm-mos .gm-mos__right {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  min-width: 0;
}

.gm-mos .gm-mos__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-mos .gm-mos__btn {
  min-width: 136px;
}

@media (max-width: 1100px) {
  .gm-mos {
    padding: 72px var(--gm-gutter);
  }
  .gm-mos .gm-mos__foot {
    flex-direction: column;
    gap: 16px;
  }
  .gm-mos .gm-mos__title {
    flex-basis: auto;
    max-width: none;
  }
}

@media (max-width: 767px) {
  .gm-tgal {
    gap: 24px;
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .gm-tgal .gm-tgal__eyebrow {
    font-size: 18px;
    line-height: 26px;
  }
  .gm-tgal .gm-tgal__title,
  .gm-mos .gm-mos__head {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-tgal .gm-tgal__tabs {
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .gm-tgal .gm-tgal__tabs::-webkit-scrollbar {
    display: none;
  }
  .gm-mos {
    padding-top: 56px;
    padding-bottom: 56px;
  }
  .gm-mos .gm-mos__inner {
    gap: 24px;
  }
  .gm-mos .gm-mos__grid {
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    gap: 12px;
  }
  .gm-mos .gm-mos__grid > .gm-mos__tile--1 {
    aspect-ratio: 797 / 504;
  }
  .gm-mos .gm-mos__grid > .gm-mos__tile--2 {
    aspect-ratio: 427 / 504;
  }
  .gm-mos .gm-mos__stack {
    grid-template-rows: none;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .gm-mos .gm-mos__stack .gm-mos__tile {
    aspect-ratio: 427 / 240;
  }
  .gm-mos .gm-mos__pill {
    right: 10px;
    bottom: 10px;
    padding: 2px 10px;
    font-size: 13px;
  }
}


/* ---- GM Hero: soft pink fade background (Solution pages) ---- */
.gm-hero.gm-hero--fade {
  background: linear-gradient(180deg, #fffbfb 0%, #fdeeed 100%);
}

/* ---- GM Hero: floating pictures on the hero image ---- */
.gm-hero .gm-hero__stage {
  position: relative;
  max-width: 694px;
  margin-left: auto;
}

.gm-hero.gm-hero--equal .gm-hero__stage {
  max-width: 640px;
}

.gm-hero.gm-hero--equal .gm-hero__img {
  border-radius: 16px;
}

.gm-hero .gm-hero__float {
  position: absolute;
  z-index: 1;
  display: block;
  pointer-events: none;
}

.gm-hero .gm-hero__float img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  image-rendering: auto;
  /* static tilt done by the browser (sharper than a tilted export) */
  transform: perspective(900px) rotateY(var(--gm-tilt, 0deg)) rotate(var(--gm-rot, 0deg));
  transform-origin: center;
  backface-visibility: hidden;
}

.gm-hero .gm-hero__float.has-shadow img {
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* The drift moves the picture with margin-top, NOT transform: browsers draw
   pictures inside a transform animation with a faster, lower-quality scaler,
   which makes small text on the cards look soft. margin keeps full quality. */
.gm-hero .gm-hero__float.is-floating {
  animation: gm-float 5.5s ease-in-out var(--gm-float-delay, 0s) infinite alternate;
}

@keyframes gm-float {
  from { margin-top: 0; }
  to { margin-top: -8px; }
}

@media (max-width: 1024px) {
  .gm-hero .gm-hero__stage,
  .gm-hero.gm-hero--equal .gm-hero__stage {
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-hero .gm-hero__float.is-floating {
    animation: none;
  }
}

/* ---- Travel Agent: Figma backgrounds for tab showcase + CTA ---- */
.gm-tshow {
  background: linear-gradient(180deg, var(--gm-white) 30.96%, var(--gm-red-50) 100%);
}

.gm-tshow .gm-tshow__panel {
  box-shadow: none;
}

.gm-cta {
  background: var(--gm-red-50);
}

/* ==========================================================
   SOLUTIONS PAGES v0.13 — hero
   ========================================================== */
/* ============================================================
   GM SOLUTION HERO (gm-solution-hero)
   Hero of the Solutions pages: text left, picture right with
   floating chips / stickers, optional tick pills below.
   Figma: 1440 desktop (text 640 / gap 64 / picture 640 × 393),
   mobile frames 393. Chips and stickers are positioned in % of the
   picture and shrink with it (--u = picture width / 640).
   ============================================================ */
.gm-shero {
  --gm-shero-lilac: #c9ccff;     /* Figma chip "Compare Flights" */
  --gm-shero-ink: #2f2e2f;
  --gm-shero-green: #36bc59;     /* Figma Success/default (chip title) */
  --gm-shero-glow: rgba(215, 38, 56, 0.115);
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 96px var(--gm-gutter);
  /* clip sideways only: the glow may continue below the hero, like Figma "Ellipse 9" */
  overflow-x: clip;
  overflow-y: visible;
}

@supports (color: color-mix(in srgb, red 10%, transparent)) {
  .gm-shero {
    --gm-shero-glow: color-mix(in srgb, var(--gm-red-600) 11.5%, transparent);
  }
}

/* Figma "Ellipse 9": 1556 × 1251 pink glow at x 431 / y −371 of the 1440 frame
   (the frame starts 80px above the hero, under the header → −451px here). */
.gm-shero.gm-shero--glow::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -451px;
  left: calc(50% - 720px + 431px);
  width: 1556px;
  height: 1251px;
  background: radial-gradient(closest-side, var(--gm-shero-glow) 0, var(--gm-shero-glow) 30%, transparent 104%);
  clip-path: inset(451px 0 0 0); /* never paint behind the header */
  pointer-events: none;
}

.gm-shero .gm-shero__inner {
  position: relative;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-shero .gm-shero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.gm-shero.gm-shero--top .gm-shero__grid {
  align-items: start;
}

.gm-shero .gm-shero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  min-width: 0;
}

.gm-shero .gm-shero__copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.gm-shero .gm-shero__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-1000);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-shero .gm-shero__text {
  max-width: var(--gm-shero-tw, none); /* Figma Payment: 597 */
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-xl);
  font-weight: 500;
  line-height: 26px;
  color: var(--gm-grey);
}

.gm-shero .gm-shero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- picture ---- */
.gm-shero .gm-shero__media {
  min-width: 0;
}

.gm-shero .gm-shero__stage {
  --u: 1px; /* fallback: 1 design px */
  position: relative;
  width: 100%;
  max-width: 640px;
  margin-left: auto;
  aspect-ratio: 640 / 393;
  container-type: inline-size;
}

@supports (width: 1cqw) {
  .gm-shero .gm-shero__stage {
    --u: calc(100cqw / 640); /* one Figma pixel at the current picture width */
  }
}

.gm-shero .gm-shero__img {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  border-radius: calc(16 * var(--u));
}

.gm-shero.gm-shero--natural .gm-shero__stage {
  aspect-ratio: auto;
}

.gm-shero.gm-shero--natural .gm-shero__img {
  position: relative;
  height: auto;
}

.gm-shero .gm-shero__deco {
  position: absolute;
  z-index: 2;
  display: block;
  pointer-events: none;
}

.gm-shero .gm-shero__deco.is-behind {
  z-index: 0;
}

.gm-shero .gm-shero__deco img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  transform: rotate(var(--gm-rot, 0deg));
}

/* ---- floating chips ---- */
.gm-shero .gm-shero__chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.gm-shero .gm-shero__chip-icon {
  flex: 0 0 auto;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
}

.gm-shero .gm-shero__chip-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* lilac pill — Figma "Compare Flights": Kanit 14/16.8, padding 4 12 4 8, gap 4, radius 40 */
.gm-shero .gm-shero__chip--pill {
  gap: calc(4 * var(--u));
  padding: calc(4 * var(--u)) calc(12 * var(--u)) calc(4 * var(--u)) calc(8 * var(--u));
  border-radius: calc(40 * var(--u));
  background: var(--gm-shero-lilac);
  color: var(--gm-shero-ink);
  font-family: var(--gm-font-th);
  font-size: calc(14 * var(--u));
  font-weight: 500;
  line-height: calc(16.8 * var(--u));
}

/* white / light cards — Figma "card2": Inter 17.064/22.752 semibold, padding 15.168, gap 16, radius 8.161 */
.gm-shero .gm-shero__chip--red,
.gm-shero .gm-shero__chip--green {
  gap: calc(16 * var(--u));
  padding: calc(15.168 * var(--u));
  border-radius: calc(8.161 * var(--u));
  font-family: var(--gm-font-en);
  font-size: calc(17.064 * var(--u));
  font-weight: 600;
  line-height: calc(22.752 * var(--u));
  text-align: center;
}

.gm-shero .gm-shero__chip--red .gm-shero__chip-body,
.gm-shero .gm-shero__chip--green .gm-shero__chip-body {
  gap: calc(3.792 * var(--u));
}

.gm-shero .gm-shero__chip--red {
  background: var(--gm-white);
  color: var(--gm-red-600);
  box-shadow: 0 calc(15.688 * var(--u)) calc(7.844 * var(--u)) rgba(255, 233, 235, 0.04), 0 calc(4.128 * var(--u)) calc(4.128 * var(--u)) rgba(255, 233, 235, 0.04);
}

.gm-shero .gm-shero__chip--green {
  background: var(--gm-grey-50);
  color: var(--gm-shero-green);
  box-shadow: 0 calc(3.303 * var(--u)) calc(7.101 * var(--u)) rgba(255, 233, 235, 0.15), 0 calc(4.128 * var(--u)) calc(4.128 * var(--u)) rgba(255, 233, 235, 0.04);
}

.gm-shero .gm-shero__chip-sub {
  font-size: calc(11.376 * var(--u));
  line-height: calc(18.96 * var(--u));
  color: var(--gm-grey-950);
}

.gm-shero .gm-shero__chip.is-floating,
.gm-shero .gm-shero__deco.is-floating {
  animation: gm-shero-float 5.5s ease-in-out var(--gm-float-delay, 0s) infinite alternate;
}

/* margin (not transform) so small text keeps full rendering quality */
@keyframes gm-shero-float {
  from { margin-top: 0; }
  to { margin-top: -8px; }
}

/* ---- tick pills (Figma "key message") ---- */
.gm-shero .gm-shero__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 36px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.gm-shero .gm-shero__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 8px 12px;
  border-radius: var(--gm-radius-chip);
  background: var(--gm-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.gm-shero .gm-shero__pill-text {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  font-weight: 500;
  line-height: 24px;
  color: var(--gm-grey-950);
}

/* ---- tablet: text above the picture ---- */
@media (max-width: 1024px) {
  .gm-shero {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .gm-shero .gm-shero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .gm-shero .gm-shero__stage {
    margin-left: auto;
    margin-right: auto;
  }
  .gm-shero .gm-shero__pills {
    margin-top: 40px;
  }
}

/* ---- phone: Figma mobile frames (393) ---- */
@media (max-width: 767px) {
  .gm-shero {
    padding-top: 28px;
    padding-bottom: 0;
  }
  .gm-shero.gm-shero--glow::before {
    display: none;
  }
  .gm-shero .gm-shero__grid {
    gap: var(--gm-shero-mgap, 24px);
  }
  .gm-shero .gm-shero__content {
    gap: 24px;
  }
  .gm-shero .gm-shero__title {
    font-size: 25px;
    line-height: 38px;
  }
  .gm-shero .gm-shero__text {
    max-width: none;
    font-size: 14px;
    line-height: 20px;
  }
  .gm-shero .gm-shero__actions {
    flex-wrap: nowrap;
  }
  .gm-shero .gm-shero__stage {
    left: var(--gm-shero-mshift, 0px);
    width: var(--gm-shero-mw, 100%);
    margin: 0 auto var(--gm-shero-mbelow, 32px);
  }
  .gm-shero .gm-shero__pills {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0 0 32px;
  }
  .gm-shero .gm-shero__pill {
    padding: 10px 12px;
  }
  .gm-shero .gm-shero__pill .gm-check {
    width: 22px;
    height: 22px;
  }
  .gm-shero .gm-shero__pill-text {
    font-size: 14px;
    line-height: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-shero .gm-shero__chip.is-floating,
  .gm-shero .gm-shero__deco.is-floating {
    animation: none;
  }
}


/* ==========================================================
   SOLUTIONS PAGES v0.13 — ota
   ========================================================== */
/* ============================================================
   OTA page (Figma "Online Travel Agents") — parts:
   GM Statement Banner (gm-sb), GM Service Carousel (gm-sc),
   GM Benefit Cards (gm-bc).
   Merge into widgets.css by the lead. Colours from tokens.css;
   --gm-pink-600 (#e11d4b, Figma pastel-pink/600) is new -> tokens.css.
   ============================================================ */

.gm-sb,
.gm-sc,
.gm-bc {
  --gm-pink-600: #e11d4b;
}

/* ============================================================
   GM STATEMENT BANNER (gm-sb)
   Heading + red text + picture standing on a red rounded blob.
   Blob and picture are placed in % of the picture, as in Figma.
   ============================================================ */
.gm-sb {
  position: relative;
  padding: 65px var(--gm-gutter) 0;
  overflow-x: clip;
}

.gm-sb .gm-sb__glow {
  position: absolute;
  z-index: 0;
  width: 478px;
  height: 478px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fee5e4 0%, rgba(254, 230, 229, 0) 100%);
  pointer-events: none;
}

.gm-sb .gm-sb__glow--l {
  top: -43px;
  left: -239px;
}

.gm-sb .gm-sb__glow--r {
  top: 234px;
  right: -270px;
}

.gm-sb .gm-sb__inner {
  position: relative;
  z-index: 1;
  max-width: var(--gm-card-max);
  margin: 0 auto;
  text-align: center;
  container-type: inline-size;
}

.gm-sb .gm-sb__title {
  max-width: 887px;
  margin: 0 auto;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-sb .gm-sb__lead {
  max-width: 887px;
  margin: 35px auto 0;
  font-family: var(--gm-font-th);
  font-size: 32px;
  font-weight: 500;
  line-height: var(--gm-scale-900);
  color: var(--gm-red-600);
}

.gm-sb .gm-sb__lead:first-child {
  margin-top: 0;
}

/* Picture: 1176 x 588. Its top overlaps the text (transparent sky), its
   bottom overlaps the next block (transparent) — like Figma. */
.gm-sb .gm-sb__pic {
  --gm-sb-w: min(var(--gm-sb-pic, 1176px), 100cqw);
  position: relative;
  width: var(--gm-sb-w);
  margin: calc(var(--gm-sb-w) * -0.0961) auto calc(var(--gm-sb-w) * -0.0748);
  pointer-events: none;
}

.gm-sb .gm-sb__pic:first-child {
  margin-top: 0;
}

.gm-sb .gm-sb__img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

/* Blob: 835 x 293 at (170, 181) of the 1176 x 588 picture */
.gm-sb .gm-sb__blob {
  position: absolute;
  top: var(--gm-sb-blob-top, 30.78%);
  left: 50%;
  transform: translateX(-50%);
  width: var(--gm-sb-blob-w, 71%);
  height: var(--gm-sb-blob-h, 49.83%);
  overflow: hidden;
  border-radius: 999px;
  background: linear-gradient(
    to top,
    #dd3535 0%,
    #d50d0d 24%,
    #e45a5a 46%,
    #f6aeae 66%,
    #fcecec 86%,
    rgba(255, 255, 255, 0) 100%
  );
}

.gm-sb .gm-sb__blob--img {
  background: none;
}

.gm-sb .gm-sb__tex {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .gm-sb .gm-sb__title {
    font-size: 32px;
    line-height: 44px;
  }
  .gm-sb .gm-sb__lead {
    margin-top: 28px;
    font-size: 24px;
    line-height: 32px;
  }
}

@media (max-width: 767px) {
  .gm-sb {
    padding-top: 48px;
  }
  .gm-sb .gm-sb__glow {
    display: none; /* the Figma phone frame has no glows */
  }
  .gm-sb .gm-sb__title {
    font-size: 24px;
    line-height: 32px;
  }
  .gm-sb .gm-sb__lead {
    margin-top: 40px;
    font-size: 20px;
    line-height: 26px;
  }
  /* Figma phone: picture 370 px wide, starting at the screen edge */
  .gm-sb .gm-sb__pic {
    --gm-sb-w: calc(100cqw + 9px);
    margin: 8px 0 calc(var(--gm-sb-w) * -0.0865) calc(var(--gm-gutter) * -1);
  }
}

/* ============================================================
   GM SERVICE CAROUSEL (gm-sc)
   Pink panel · heading · [dim | BIG | dim] cards · dots + arrows.
   Slides sit in one row (flex, `order` = ring position); the row is
   shifted so the big slide is centred. Sizes in cqw of the viewport.
   ============================================================ */
.gm-sc {
  --gm-sc-a: min(652px, 48.51cqw); /* big slide */
  --gm-sc-s: min(306px, 22.77cqw); /* dimmed slide */
  --gm-sc-gap: 20px;
  --gm-sc-h: min(480px, 35.71cqw);
  padding: 0 var(--gm-gutter) 38px;
}

.gm-sc .gm-sc__panel {
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 60px 0;
  overflow: hidden;
  border-radius: var(--gm-radius-card);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fee6e5);
}

.gm-sc .gm-sc__title {
  margin: 0 0 40px;
  padding: 0 48px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  text-align: center;
  color: var(--gm-grey-950);
}

.gm-sc .gm-sc__viewport {
  overflow: hidden;
  container-type: inline-size;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
}

.gm-sc .gm-sc__viewport:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: -4px;
}

.gm-sc .gm-sc__viewport.is-drag {
  cursor: grabbing;
}

.gm-sc .gm-sc__track {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--gm-sc-gap);
  width: max-content;
  min-height: var(--gm-sc-h);
  margin: 0 0 0 calc(50cqw - var(--gm-sc-s) - var(--gm-sc-gap) - var(--gm-sc-a) / 2);
  padding: 0;
  list-style: none;
}

.gm-sc[data-n="1"] .gm-sc__track,
.gm-sc[data-n="2"] .gm-sc__track {
  margin-left: calc(50cqw - var(--gm-sc-a) / 2);
}

.gm-sc .gm-sc__slide {
  flex: none;
  order: var(--o, 0);
  width: var(--gm-sc-s);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-sc .gm-sc__slide.is-active {
  align-self: center;
  width: var(--gm-sc-a);
}

.gm-sc .gm-sc__card {
  display: block;
  color: inherit;
  text-decoration: none;
}

.gm-sc .gm-sc__media {
  position: relative;
  display: block;
  aspect-ratio: 306 / 300;
  overflow: hidden;
  border-radius: 16px;
  background: #d9d9d9;
}

.gm-sc .gm-sc__slide.is-active .gm-sc__media {
  aspect-ratio: 652 / 354;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-sc .gm-sc__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  -webkit-user-drag: none;
}

.gm-sc .gm-sc__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 30, 30, 0.7);
  transition: opacity 0.4s var(--gm-ease);
}

.gm-sc .gm-sc__slide.is-active .gm-sc__media::after {
  opacity: 0;
}

.gm-sc .gm-sc__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
  transition: opacity 0.4s var(--gm-ease);
}

.gm-sc .gm-sc__slide:not(.is-active) .gm-sc__body {
  opacity: 0.2;
}

.gm-sc .gm-sc__name {
  display: block;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-red-600);
}

.gm-sc .gm-sc__slide:not(.is-active) .gm-sc__name {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.gm-sc .gm-sc__text {
  display: block;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey-950);
}

/* bar: dots in the middle, arrows on the right */
.gm-sc .gm-sc__bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 24px;
  padding: 0 48px;
}

.gm-sc .gm-sc__dots {
  display: flex;
  grid-column: 2;
  align-items: center;
  gap: 8px;
}

.gm-sc .gm-sc__dot {
  position: relative;
  flex: none;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #f9a8a8;
  cursor: pointer;
  transition: width 0.3s var(--gm-ease), background-color 0.3s var(--gm-ease);
}

.gm-sc .gm-sc__dot::before {
  content: "";
  position: absolute;
  inset: -12px -4px;
}

.gm-sc .gm-sc__dot.is-active {
  width: 56px;
  background: var(--gm-red-600);
}

.gm-sc .gm-sc__arrows {
  display: flex;
  grid-column: 3;
  justify-self: end;
  gap: 16px;
}

.gm-sc .gm-sc__arrow {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 28px;
  background: var(--gm-white);
  color: var(--gm-neutral-600);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.gm-sc .gm-sc__arrow:hover,
.gm-sc .gm-sc__arrow:focus-visible {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-sc .gm-sc__ico {
  display: block;
  width: 24px;
  height: 24px;
}

.gm-sc .gm-sc__ico--flip {
  transform: scaleX(-1);
}

@media (max-width: 1024px) {
  .gm-sc .gm-sc__title {
    font-size: 32px;
    line-height: 44px;
  }
  .gm-sc .gm-sc__name {
    font-size: 24px;
    line-height: 32px;
  }
  .gm-sc .gm-sc__bar {
    padding: 0 24px;
  }
}

/* Phone (Figma 393): one card, no pink panel, dots left, arrows right */
@media (max-width: 767px) {
  .gm-sc {
    --gm-sc-a: 100cqw;
    --gm-sc-s: 100cqw;
    --gm-sc-gap: 24px;
    --gm-sc-h: 0px;
    padding: 0 var(--gm-gutter) 40px;
  }
  .gm-sc .gm-sc__panel {
    padding: 8px 0 0;
    background: none;
  }
  .gm-sc .gm-sc__title {
    margin-bottom: 16px;
    padding: 0;
    font-size: 22px;
    line-height: 32px;
  }
  /* room for the card shadow inside the clipping viewport */
  .gm-sc .gm-sc__viewport {
    margin: -8px calc(var(--gm-gutter) * -1) -8px;
    padding: 8px var(--gm-gutter);
  }
  .gm-sc .gm-sc__media,
  .gm-sc .gm-sc__slide.is-active .gm-sc__media {
    aspect-ratio: 361 / 200;
  }
  .gm-sc .gm-sc__name {
    font-size: 19px;
    line-height: 28px;
  }
  .gm-sc .gm-sc__text {
    font-size: 13px;
    line-height: 19px;
  }
  .gm-sc .gm-sc__bar {
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
    padding: 0;
  }
}

/* ============================================================
   GM BENEFIT CARDS (gm-bc)
   Heading · white cards with a red icon square. Cards grow to fill
   a full row but stop at 432 px, so a short last row is centred.
   ============================================================ */
.gm-bc {
  --gm-bc-gap: 24px;
  padding: 96px var(--gm-gutter);
}

.gm-bc .gm-bc__inner {
  max-width: 1118px;
  margin: 0 auto;
}

.gm-bc .gm-bc__title {
  max-width: 768px;
  margin: 0 auto 40px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  text-align: center;
  color: #000;
}

.gm-bc .gm-bc__title .gm-hl {
  color: var(--gm-pink-600);
}

.gm-bc .gm-bc__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px var(--gm-bc-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-bc .gm-bc__list--2 {
  --gm-bc-basis: calc((100% - var(--gm-bc-gap)) / 2 - 0.5px);
}

.gm-bc .gm-bc__list--3 {
  --gm-bc-basis: calc((100% - 2 * var(--gm-bc-gap)) / 3 - 0.5px);
}

.gm-bc .gm-bc__list--4 {
  --gm-bc-basis: calc((100% - 3 * var(--gm-bc-gap)) / 4 - 0.5px);
}

.gm-bc .gm-bc__card {
  position: relative;
  display: flex;
  flex: 1 1 var(--gm-bc-basis);
  flex-direction: column;
  gap: 48px;
  max-width: max(432px, var(--gm-bc-basis));
  margin: 0;
  padding: 32px;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  list-style: none;
}

.gm-bc .gm-bc__tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-bc .gm-bc__icon {
  display: block;
  flex: none;
  width: 48px;
  height: 48px;
  max-width: none;
}

.gm-bc .gm-bc__text {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-xl);
  font-weight: 600;
  line-height: 26px;
  color: var(--gm-grey);
}

@media (max-width: 1024px) {
  .gm-bc {
    padding: 64px var(--gm-gutter);
  }
  .gm-bc .gm-bc__title {
    font-size: 32px;
    line-height: 44px;
  }
  .gm-bc .gm-bc__list {
    --gm-bc-basis: calc((100% - var(--gm-bc-gap)) / 2 - 0.5px);
  }
  .gm-bc .gm-bc__card {
    max-width: var(--gm-bc-basis);
    padding: 24px;
    gap: 32px;
  }
}

/* Phone (Figma 393): one card per row, 48 px icon square, 14/20 text */
@media (max-width: 767px) {
  .gm-bc {
    padding: 40px var(--gm-gutter);
  }
  .gm-bc .gm-bc__title {
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 32px;
  }
  .gm-bc .gm-bc__list {
    row-gap: 16px;
  }
  .gm-bc .gm-bc__list .gm-bc__card {
    flex-basis: 100%;
    gap: 24px;
    padding: 20px 36px;
  }
  .gm-bc .gm-bc__tile {
    width: 48px;
    height: 48px;
  }
  .gm-bc .gm-bc__text {
    font-size: 14px;
    line-height: 20px;
  }
}


/* ==========================================================
   SOLUTIONS PAGES v0.13 — fees
   ========================================================== */
/* ============================================================
   SERVICES & FEES page
   GM FEE TABLE (gm-fee-table) + GM AFTER SALE (gm-after-sale)
   --k = size factor: 1 on desktop, 0.8 from 1280px down (Figma
   mobile frame is the desktop table scaled to 80 %, 1075 px wide,
   scrolling sideways inside its rounded card).
   ============================================================ */

/* ---------- GM Fee Table ---------- */
.gm-fee {
  --k: 1;
  padding: 96px var(--gm-gutter);
}

.gm-fee .gm-fee__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-fee .gm-fee__head {
  display: flex;
  align-items: center;
  gap: 96px;
}

.gm-fee .gm-fee__title {
  flex: 0 0 431px;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-fee .gm-fee__title .gm-hl {
  color: var(--gm-red-600);
}

.gm-fee .gm-fee__intro {
  flex: 1 1 0;
  min-width: 0;
  max-width: 640px;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey);
}

/* card + table (scroll is positioned so the screen-reader texts stay inside it) */
.gm-fee .gm-fee__scroll {
  position: relative;
}

.gm-fee .gm-fee__card {
  overflow: hidden;
  border-radius: var(--gm-radius-card);
  background: var(--gm-white);
  box-shadow:
    0 4px 15px rgba(249, 68, 73, 0.15),
    0 17px 17px rgba(0, 0, 0, 0.04),
    0 4px 9px rgba(0, 0, 0, 0.04);
}

.gm-fee .gm-fee__table {
  width: 100%;
  margin: 0;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-family: var(--gm-font-th);
}

.gm-fee .gm-fee__col--item {
  width: 23.66%; /* 318 of 1344 */
}

.gm-fee .gm-fee__col--remark {
  width: 28.65%; /* 385 of 1344 */
}

/* header */
.gm-fee .gm-fee__th {
  padding: calc(24px * var(--k));
  border: 1px solid var(--gm-red-200);
  border-width: 1px 0 1px 1px;
  background: var(--gm-red-50);
  font-family: var(--gm-font-th);
  font-size: calc(18px * var(--k));
  font-weight: 500;
  line-height: calc(24px * var(--k));
  text-align: center;
  vertical-align: middle;
  color: #000;
}

.gm-fee .gm-fee__th--item {
  background: var(--gm-red-600);
  font-size: calc(20px * var(--k));
  line-height: calc(26px * var(--k));
  color: var(--gm-white);
}

.gm-fee .gm-fee__th--group {
  padding-block: calc(23.5px * var(--k)); /* borders included → header = 2 × 72px as in Figma */
  border-bottom-width: 0;
}

.gm-fee .gm-fee__th--remark {
  padding-block: calc(24px * var(--k));
  border-width: 1px;
}

.gm-fee .gm-fee__th--col {
  padding-block: calc(23px * var(--k));
  border-bottom-width: 1px;
}

/* body */
.gm-fee .gm-fee__group:nth-of-type(odd) {
  background: var(--gm-grey-50);
}

.gm-fee .gm-fee__line {
  height: calc(96px * var(--k));
}

.gm-fee .gm-fee__group.is-solo .gm-fee__line {
  height: calc(120px * var(--k));
}

.gm-fee .gm-fee__cell {
  padding: calc(24px * var(--k));
  border: 0 solid var(--gm-grey-200);
  border-left-width: 1px;
  background: none;
  font-family: var(--gm-font-th);
  text-align: center;
  vertical-align: middle;
}

.gm-fee .gm-fee__group:not(.is-solo) .gm-fee__cell--ch,
.gm-fee .gm-fee__group:not(.is-solo) .gm-fee__cell--price {
  padding-block: calc(8px * var(--k));
}

.gm-fee .gm-fee__cell--price {
  padding-inline: calc(8px * var(--k));
}

.gm-fee .gm-fee__group + .gm-fee__group > .gm-fee__line:first-child > .gm-fee__cell,
.gm-fee .gm-fee__line + .gm-fee__line > .gm-fee__cell {
  border-top-width: 1px;
}

.gm-fee .gm-fee__cell--remark {
  border-right-width: 1px;
  text-align: left;
}

.gm-fee .gm-fee__cell--item {
  font-weight: 500;
  text-align: left;
}

.gm-fee .gm-fee__name {
  font-size: calc(18px * var(--k));
  font-weight: 500;
  line-height: calc(24px * var(--k));
  color: #000;
}

.gm-fee .gm-fee__name.is-red {
  color: var(--gm-red-600);
}

.gm-fee .gm-fee__check {
  display: inline-block;
  width: calc(28px * var(--k));
  height: calc(28px * var(--k));
  vertical-align: middle;
}

.gm-fee .gm-fee__dash {
  display: inline-block;
  font-weight: 500;
}

.gm-fee .gm-fee__dash--ch {
  font-size: calc(24px * var(--k));
  line-height: calc(32px * var(--k));
  color: var(--gm-grey);
}

.gm-fee .gm-fee__dash--price {
  font-size: calc(20px * var(--k));
  line-height: calc(26px * var(--k));
  color: var(--gm-grey-950);
}

.gm-fee .gm-fee__dash--remark {
  display: block;
  font-size: calc(18px * var(--k));
  line-height: calc(24px * var(--k));
  text-align: center;
  color: #000;
}

/* price */
.gm-fee .gm-fee__price {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}

.gm-fee .gm-fee__amt {
  font-size: calc(16px * var(--k));
  font-weight: 600;
  line-height: calc(24px * var(--k));
  color: var(--gm-grey-950);
}

.gm-fee .gm-fee__old {
  font-size: calc(14px * var(--k));
  font-weight: 400;
  line-height: calc(18px * var(--k));
  color: var(--gm-grey);
  text-decoration: line-through;
}

.gm-fee .gm-fee__cap {
  font-size: calc(14px * var(--k));
  font-weight: 400;
  line-height: calc(18px * var(--k));
  color: var(--gm-grey);
}

.gm-fee .gm-fee__badge {
  position: absolute;
  top: calc(-2px * var(--k));
  left: 100%;
  width: calc(24px * var(--k));
  height: calc(24px * var(--k));
  margin-left: calc(4px * var(--k));
  transform: rotate(12deg);
}

/* remark */
.gm-fee .gm-fee__remark {
  margin: 0;
  font-size: calc(16px * var(--k));
  font-weight: 400;
  line-height: calc(24px * var(--k));
  color: var(--gm-grey-950);
}

/* button + notes */
.gm-fee .gm-fee__action {
  display: flex;
  justify-content: center;
}

.gm-fee .gm-fee__notesbox {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-fee .gm-fee__notes-title {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-xl);
  font-weight: 600;
  line-height: 26px;
  color: var(--gm-grey-950);
}

.gm-fee .gm-fee__notes {
  margin: 0;
  padding: 0 0 0 24px;
  list-style: disc;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey);
}

.gm-fee .gm-fee__notes li {
  margin: 0;
  padding: 0;
}

/* tablet + phone: the table keeps its 1075 px and scrolls sideways */
@media (max-width: 1280px) {
  .gm-fee {
    --k: 0.8;
  }
  .gm-fee .gm-fee__scroll {
    margin: -8px calc(-1 * var(--gm-gutter)) -28px;
    padding: 8px var(--gm-gutter) 40px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .gm-fee .gm-fee__scroll:focus-visible {
    outline: 2px solid var(--gm-red-600);
    outline-offset: -2px;
  }
  .gm-fee .gm-fee__card {
    width: 100%;
    min-width: 1075px;
    border-radius: 19.2px;
  }
}

@media (max-width: 1024px) {
  .gm-fee .gm-fee__head {
    gap: 48px;
  }
  .gm-fee .gm-fee__title {
    flex-basis: 320px;
  }
}

@media (max-width: 767px) {
  .gm-fee {
    padding-block: 40px;
  }
  .gm-fee .gm-fee__inner {
    gap: 20px;
  }
  .gm-fee .gm-fee__head {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .gm-fee .gm-fee__title {
    flex: none;
    font-size: 22px;
    line-height: 33px;
  }
  .gm-fee .gm-fee__intro {
    font-size: 13px;
    line-height: 20px;
  }
  .gm-fee .gm-fee__btn {
    padding: 11px 23px;
    font-size: 13px;
    line-height: 20px;
  }
  .gm-fee .gm-fee__notes-title {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-fee .gm-fee__notes {
    padding-left: 19.5px;
    font-size: 13px;
    line-height: 20px;
  }
}

/* ---------- GM After Sale ---------- */
.gm-aft {
  padding: 48px var(--gm-gutter) 96px;
}

.gm-aft .gm-aft__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-aft .gm-aft__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  text-align: center;
  color: var(--gm-grey-950);
}

.gm-aft .gm-aft__body {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  width: 100%;
}

.gm-aft .gm-aft__tabs {
  display: flex;
  flex: 0 1 432px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.gm-aft .gm-aft__panels {
  flex: 1 1 0;
  min-width: 0;
}

.gm-aft .gm-aft__tabs .gm-aft__tab {
  appearance: none;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 78px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--gm-grey-200);
  border-radius: var(--gm-radius-field);
  background: var(--gm-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  color: #000;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-xl);
  font-weight: 500;
  line-height: 26px;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-aft .gm-aft__tabs .gm-aft__tab:hover,
.gm-aft .gm-aft__tabs .gm-aft__tab:focus {
  border-color: var(--gm-red-200);
  background: var(--gm-white);
  color: var(--gm-red-600);
}

.gm-aft .gm-aft__tabs .gm-aft__tab.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--gm-red-600), #991b28);
  box-shadow: none;
  color: var(--gm-white);
}

.gm-aft .gm-aft__tabs .gm-aft__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-aft .gm-aft__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

.gm-aft .gm-aft__list[hidden] {
  display: none;
}

.gm-aft .gm-aft__list.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-aft .gm-aft__item {
  padding: 11px 24px; /* 48px closed, as in Figma */
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: linear-gradient(0deg, var(--gm-white), var(--gm-red-50));
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.gm-aft .gm-aft__item:hover {
  opacity: 1;
}

.gm-aft .gm-aft__item.is-open {
  padding-block: 15px;
}

.gm-aft .gm-aft__h {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.gm-aft .gm-aft__item .gm-aft__q {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--gm-grey-950);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.gm-aft .gm-aft__item .gm-aft__q:hover,
.gm-aft .gm-aft__item .gm-aft__q:focus {
  background: none;
  color: var(--gm-red-600);
}

.gm-aft .gm-aft__item .gm-aft__q:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 4px;
}

.gm-aft .gm-aft__chev {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  transition: transform 0.3s var(--gm-ease);
}

.gm-aft .gm-aft__item.is-open .gm-aft__chev {
  transform: rotate(180deg);
}

.gm-aft .gm-aft__a {
  padding-top: 24px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-aft .gm-aft__a[hidden] {
  display: none;
}

.gm-aft .gm-aft__a p {
  margin: 0 0 8px;
}

.gm-aft .gm-aft__a p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .gm-aft .gm-aft__body {
    flex-direction: column;
    gap: 16px;
  }
  .gm-aft .gm-aft__tabs {
    flex: none;
    width: 100%;
    gap: 10px;
  }
  .gm-aft .gm-aft__tabs .gm-aft__tab {
    min-height: 45px;
    padding: 11px 15px;
    font-size: 14px;
    line-height: 21px;
  }
  .gm-aft .gm-aft__panels {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .gm-aft {
    padding-block: 40px;
  }
  .gm-aft .gm-aft__inner {
    gap: 16px;
  }
  .gm-aft .gm-aft__item {
    padding: 13px 16px;
  }
  .gm-aft .gm-aft__item.is-open {
    padding-block: 15px;
  }
  .gm-aft .gm-aft__a {
    padding-top: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-aft .gm-aft__chev,
  .gm-aft .gm-aft__item,
  .gm-aft .gm-aft__tabs .gm-aft__tab {
    transition: none;
  }
  .gm-aft .gm-aft__list.is-active {
    animation: none;
  }
}


/* ==========================================================
   SOLUTIONS PAGES v0.13 — airline
   ========================================================== */
/* ============================================================
   AIRLINE PARTNERS page — GM Stats Card (gm-stats-card) and
   GM Airline Types (gm-airline-types).
   Figma 77278:34332 (desktop 1440) / 81001:34668 (mobile 393).
   ============================================================ */

/* colours used here that are not in tokens.css yet */
.gm-stats,
.gm-atypes {
  --gm-red-100: #fee6e5;      /* confident-red/100 — pale pink panel */
  --gm-red-grad-end: #991b28; /* end of the red gradient */
}

/* ---------- GM STATS CARD ---------- */
.gm-stats {
  padding: 48px var(--gm-gutter) 96px;
}

.gm-stats .gm-stats__box {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 80px;
  min-height: 472px; /* Figma: fixed height, content centred */
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 48px 70px;
  overflow: hidden;
  border-radius: var(--gm-radius-card);
  background: linear-gradient(180deg, var(--gm-red-600) 0%, var(--gm-red-grad-end) 100%);
  color: var(--gm-white);
  isolation: isolate;
}

.gm-stats .gm-stats__bg {
  position: absolute;
  top: -91px;
  right: -88px;
  z-index: -1;
  width: 684px;
  height: 598px;
  max-width: none;
  object-fit: contain;
  opacity: 0.12;
  pointer-events: none;
}

.gm-stats .gm-stats__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.gm-stats .gm-stats__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-white);
}

.gm-stats .gm-stats__line {
  display: block;
}

.gm-stats .gm-stats__line:first-child:not(:last-child) {
  color: var(--gm-grey-200);
}

.gm-stats .gm-stats__text {
  flex: 0 1 544px;
  min-width: 0;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-white);
}

.gm-stats .gm-stats__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-stats .gm-stats__item {
  display: flex;
  align-items: flex-start;
  margin: 0;
}

.gm-stats .gm-stats__num {
  display: inline-block;
  font-family: var(--gm-font-en);
  font-size: 104px;
  font-weight: 600;
  line-height: 112px;
  font-variant-numeric: tabular-nums;
  color: var(--gm-white);
}

.gm-stats .gm-stats__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
}

.gm-stats .gm-stats__label {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-white);
  white-space: nowrap;
}

.gm-stats .gm-stats__suffix {
  font-family: var(--gm-font-en);
  font-size: 56px;
  font-weight: 600;
  line-height: 64px;
  color: var(--gm-white);
}

/* laptops: 4 numbers still in one row, a little smaller */
@media (max-width: 1320px) {
  .gm-stats .gm-stats__box {
    padding-left: 48px;
    padding-right: 48px;
  }
  .gm-stats .gm-stats__num {
    font-size: 84px;
    line-height: 92px;
  }
  .gm-stats .gm-stats__suffix {
    font-size: 46px;
    line-height: 54px;
  }
}

/* tablets: 2 × 2 numbers, label under the number (as the mobile frame) */
@media (max-width: 1100px) {
  .gm-stats .gm-stats__box {
    gap: 40px;
    min-height: 0;
    padding: 40px;
  }
  .gm-stats .gm-stats__top {
    flex-direction: column;
    gap: 16px;
  }
  .gm-stats .gm-stats__text {
    flex-basis: auto;
    max-width: 640px;
  }
  .gm-stats .gm-stats__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .gm-stats .gm-stats__item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: "num suffix" "label label";
    align-items: start;
    column-gap: 4px;
    row-gap: 2px;
    min-width: 0;
  }
  .gm-stats .gm-stats__side {
    display: contents;
  }
  .gm-stats .gm-stats__num {
    grid-area: num;
    font-size: 72px;
    line-height: 80px;
  }
  .gm-stats .gm-stats__suffix {
    grid-area: suffix;
    font-size: 28px;
    line-height: 40px;
  }
  .gm-stats .gm-stats__label {
    grid-area: label;
    white-space: normal;
  }
}

/* mobile frame 393 */
@media (max-width: 767px) {
  .gm-stats {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .gm-stats .gm-stats__box {
    gap: 24px;
    padding: 24px 20px;
  }
  .gm-stats .gm-stats__bg {
    display: none;
  }
  .gm-stats .gm-stats__top {
    gap: 24px;
  }
  .gm-stats .gm-stats__title {
    font-size: 22px;
    line-height: 32px;
  }
  .gm-stats .gm-stats__text {
    font-size: 13px;
    line-height: 19px;
  }
  .gm-stats .gm-stats__list {
    gap: 18px 21px;
  }
  .gm-stats .gm-stats__item {
    column-gap: 2px;
  }
  .gm-stats .gm-stats__num {
    font-size: 40px;
    line-height: 58px;
  }
  .gm-stats .gm-stats__suffix {
    width: 8px;
    font-size: 12px;
    line-height: 17px;
  }
  .gm-stats .gm-stats__label {
    font-size: 12px;
    line-height: 17px;
  }
}

/* ---------- GM AIRLINE TYPES ---------- */
.gm-atypes {
  padding: 48px var(--gm-gutter) 96px;
}

.gm-atypes .gm-atypes__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-atypes .gm-atypes__title {
  margin: 0 0 40px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
  text-align: center;
}

.gm-atypes .gm-atypes__card {
  overflow: hidden;
  border-radius: var(--gm-radius-card);
}

/* red tab bar */
.gm-atypes .gm-atypes__bar {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 88px;
  padding: 0 40px;
  border-radius: var(--gm-radius-card) var(--gm-radius-card) 0 0;
  background: linear-gradient(180deg, var(--gm-red-600) 0%, var(--gm-red-grad-end) 100%);
}

.gm-atypes .gm-atypes__tab,
.gm-atypes button.gm-atypes__tab {
  appearance: none;
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  padding: 8px 18px 9px;
  border: 0;
  border-radius: var(--gm-radius-pill);
  background: transparent;
  box-shadow: none;
  color: var(--gm-white);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  text-align: center;
  text-transform: none;
  letter-spacing: normal;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gm-atypes .gm-atypes__tab:hover,
.gm-atypes button.gm-atypes__tab:hover,
.gm-atypes button.gm-atypes__tab:focus {
  background: rgba(255, 255, 255, 0.16);
  color: var(--gm-white);
}

.gm-atypes .gm-atypes__tab.is-active,
.gm-atypes .gm-atypes__tab.is-active:hover,
.gm-atypes button.gm-atypes__tab.is-active {
  background: var(--gm-white);
  color: var(--gm-red-600);
}

.gm-atypes .gm-atypes__tab:focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: 2px;
}

.gm-atypes .gm-atypes__tab.is-active:focus-visible {
  outline-color: var(--gm-red-200);
}

/* pale-pink panel */
.gm-atypes .gm-atypes__panel {
  padding: 72px 48px 48px;
  border-radius: 0 0 var(--gm-radius-card) var(--gm-radius-card);
  background: linear-gradient(180deg, var(--gm-red-100) 0%, var(--gm-white) 100%);
}

.gm-atypes .gm-atypes__panel[hidden] {
  display: none;
}

.gm-atypes .gm-atypes__panel.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-atypes .gm-atypes__pin {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: 1116px;
  margin: 0 auto;
}

.gm-atypes .gm-atypes__phead {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.gm-atypes .gm-atypes__ptitle {
  flex: 0 0 300px;
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: 32px;
  font-weight: 500;
  line-height: var(--gm-scale-900);
  color: var(--gm-grey-950);
}

.gm-atypes .gm-atypes__ptext {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey);
}

.gm-atypes .gm-atypes__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-atypes .gm-atypes__grid li {
  margin: 0;
}

.gm-atypes .gm-atypes__logocard {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  padding: 24px 16px;
  border: 1px solid transparent;
  border-radius: var(--gm-radius-field);
  background: var(--gm-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.3s var(--gm-ease), box-shadow 0.3s ease, border-color 0.2s ease;
}

.gm-atypes a.gm-atypes__logocard:hover {
  transform: translateY(-3px);
  border-color: var(--gm-red-200);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.gm-atypes a.gm-atypes__logocard:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-atypes .gm-atypes__logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 48px;
  object-fit: contain;
}

.gm-atypes .gm-atypes__name {
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 600;
  color: var(--gm-grey-950);
  text-align: center;
}

@media (max-width: 1024px) {
  .gm-atypes .gm-atypes__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .gm-atypes .gm-atypes__tab {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* mobile frame 393: tab bar scrolls sideways, 2-column logo grid */
@media (max-width: 767px) {
  .gm-atypes {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .gm-atypes .gm-atypes__title {
    margin-bottom: 40px;
    font-size: 24px;
    line-height: 32px;
  }
  .gm-atypes .gm-atypes__bar {
    gap: 6px;
    min-height: 52px;
    padding: 0 22px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gm-atypes .gm-atypes__bar::-webkit-scrollbar {
    display: none;
  }
  .gm-atypes .gm-atypes__bar::after {
    content: "";
    flex: 0 0 16px; /* room after the last tab when scrolled to the end */
  }
  .gm-atypes .gm-atypes__tab,
  .gm-atypes button.gm-atypes__tab {
    flex: 0 0 auto;
    padding: 8px 18px 9px;
    font-size: 13px;
    line-height: 19px;
  }
  .gm-atypes .gm-atypes__panel {
    padding: 24px 16px 48px;
  }
  .gm-atypes .gm-atypes__pin {
    gap: 48px;
    padding: 0 16px;
  }
  .gm-atypes .gm-atypes__phead {
    flex-direction: column;
    gap: 12px;
  }
  .gm-atypes .gm-atypes__ptitle {
    flex: none;
    font-size: 19px;
    line-height: 28px;
  }
  .gm-atypes .gm-atypes__ptext {
    font-size: 13px;
    line-height: 19px;
  }
  .gm-atypes .gm-atypes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 8px;
  }
  .gm-atypes .gm-atypes__logocard {
    height: 76px;
    padding: 16px;
  }
  .gm-atypes .gm-atypes__logo {
    max-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-atypes .gm-atypes__logocard,
  .gm-atypes .gm-atypes__tab {
    transition: none;
  }
  .gm-atypes .gm-atypes__panel.is-active {
    animation: none;
  }
}


/* ==========================================================
   SOLUTIONS PAGES v0.13 — payment
   ========================================================== */
/* ============================================================
   PAYMENT & CREDIT page — gm-payment-methods, gm-credit-terms,
   gm-billing-steps, gm-billing-schedule.
   Figma: Payment & Credit 77278:39581 (desktop 1440), 81001:34670 (mobile 393).
   ============================================================ */

/* Colours that Figma uses but tokens.css does not have (yet). */
.gm-pmeth,
.gm-cterm,
.gm-bsteps,
.gm-bsched {
  --gm-pay-red-100: #fee6e5;   /* confident-red/100 */
  --gm-pay-red-800: #98192d;   /* confident-red/800 */
  --gm-pay-red-btm: #b61a2e;   /* confident-red/700 (icon badge end) */
  --gm-pay-grey-100: #f5f5f5;  /* innovative-grey/100 */
  --gm-pay-grey-400: #a3a3a3;  /* innovative-grey/400 */
  --gm-pay-peach-100: #ffe0e1; /* peach/100 */
}

/* Outline icon (inline SVG or uploaded picture) */
.gm-pmeth .gm-pay-icon,
.gm-bsteps .gm-pay-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================================
   1. PAYMENT METHODS
   ============================================================ */
.gm-pmeth {
  padding: 96px var(--gm-gutter);
  background: linear-gradient(180deg, var(--gm-white), var(--gm-red-50));
}

.gm-pmeth .gm-pmeth__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-pmeth .gm-pmeth__title {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-red-600);
}

.gm-pmeth .gm-pmeth__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

.gm-pmeth .gm-pmeth__card {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 23px; /* + 1px border = Figma's 24 */
  border: 1px solid var(--gm-grey-200);
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.gm-pmeth .gm-pmeth__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: center;
  width: 90px;
  height: 90px;
  padding: 21px;
  border-radius: 43px;
  background: linear-gradient(180deg, var(--gm-red-600), var(--gm-pay-red-btm));
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  color: var(--gm-white);
}

.gm-pmeth .gm-pmeth__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-pmeth .gm-pmeth__name {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: var(--gm-font-th);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-grey-950);
}

.gm-pmeth .gm-pmeth__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-pmeth .gm-pmeth__chip {
  padding: 8px 24px;
  border-radius: 24px;
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey-950);
  white-space: nowrap;
}

.gm-pmeth .gm-pmeth__chip--red {
  background: var(--gm-pay-red-100);
}

.gm-pmeth .gm-pmeth__chip--grey {
  background: var(--gm-pay-grey-100);
}

.gm-pmeth .gm-pmeth__list,
.gm-pmeth .gm-pmeth__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-pmeth .gm-pmeth__list {
  padding: 0 0 0 24px;
  list-style: disc;
}

@media (max-width: 767px) {
  .gm-pmeth {
    padding: 40px var(--gm-gutter);
  }
  .gm-pmeth .gm-pmeth__inner {
    gap: 16px;
  }
  .gm-pmeth .gm-pmeth__title {
    font-size: 22px;
    line-height: 33px;
  }
  .gm-pmeth .gm-pmeth__grid {
    gap: 14px;
  }
  .gm-pmeth .gm-pmeth__card {
    padding: 44px 35px;
  }
  .gm-pmeth .gm-pmeth__icon {
    width: 64px;
    height: 64px;
    padding: 11px;
  }
  .gm-pmeth .gm-pmeth__name {
    font-size: 17px;
    line-height: 26px;
  }
  .gm-pmeth .gm-pmeth__chips {
    flex-direction: column;
    align-items: stretch;
  }
  .gm-pmeth .gm-pmeth__chip {
    padding: 8px 16px;
    line-height: 21px;
    white-space: normal;
  }
  .gm-pmeth .gm-pmeth__list,
  .gm-pmeth .gm-pmeth__text {
    font-size: 13px;
    line-height: 20px;
  }
  .gm-pmeth .gm-pmeth__list {
    padding-left: 19.5px;
  }
}

/* ============================================================
   2. CREDIT TERMS
   ============================================================ */
.gm-cterm {
  padding: 96px var(--gm-gutter);
  background: var(--gm-white);
}

.gm-cterm .gm-cterm__band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 48px;
  border-radius: var(--gm-radius-card);
  background: linear-gradient(180deg, var(--gm-red-600), var(--gm-pay-red-800));
}

.gm-cterm .gm-cterm__title {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-red-50);
}

.gm-cterm .gm-cterm__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
  width: 100%;
  padding: 0 48px;
}

.gm-cterm .gm-cterm__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-height: 331px;
  padding: 23px; /* + 1px border = Figma's 24 */
  border: 1px solid var(--gm-pay-grey-100);
  border-radius: var(--gm-radius-card);
  background: var(--gm-white);
}

.gm-cterm .gm-cterm__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.gm-cterm .gm-cterm__label {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: var(--gm-red-600);
}

.gm-cterm .gm-cterm__pills {
  display: flex;
  gap: 8px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}

.gm-cterm .gm-cterm__pill {
  padding: 4px 12px;
  border-radius: 16px;
  font-family: var(--gm-font-en);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
}

.gm-cterm .gm-cterm__pill--soft {
  background: var(--gm-pay-red-100);
  color: var(--gm-red-600);
}

.gm-cterm .gm-cterm__pill--red {
  background: var(--gm-red-600);
  color: var(--gm-red-50);
}

.gm-cterm .gm-cterm__pill--dark {
  background: var(--gm-grey);
  color: var(--gm-red-50);
}

.gm-cterm .gm-cterm__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gm-cterm .gm-cterm__name {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--gm-grey-950);
}

.gm-cterm .gm-cterm__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: var(--gm-pay-grey-400);
}

.gm-cterm .gm-cterm__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: auto;
}

.gm-cterm .gm-cterm__btn {
  width: 100%;
}

.gm-cterm .gm-cterm__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  color: var(--gm-pay-grey-400);
}

.gm-cterm .gm-cterm__note-icon {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
}

@media (max-width: 1024px) {
  .gm-cterm .gm-cterm__band {
    padding: 40px 24px;
  }
  .gm-cterm .gm-cterm__row {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .gm-cterm {
    padding: 40px var(--gm-gutter);
  }
  .gm-cterm .gm-cterm__band {
    gap: 25px;
    padding: 48px 16px;
  }
  .gm-cterm .gm-cterm__title {
    font-size: 22px;
    line-height: 33px;
  }
  .gm-cterm .gm-cterm__row {
    gap: 14px;
  }
  .gm-cterm .gm-cterm__card {
    min-height: 0;
    padding: 23px 15px;
    gap: 24px;
  }
  .gm-cterm .gm-cterm__head {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .gm-cterm .gm-cterm__label {
    text-align: center;
    line-height: 21px;
  }
  .gm-cterm .gm-cterm__pills {
    margin: 0;
  }
  .gm-cterm .gm-cterm__pill {
    flex: 1 1 0;
    min-width: 0;
    line-height: 21px;
    white-space: normal;
  }
  .gm-cterm .gm-cterm__name {
    font-size: 17px;
    line-height: 26px;
  }
  .gm-cterm .gm-cterm__text {
    line-height: 21px;
  }
  .gm-cterm .gm-cterm__actions {
    margin-top: -20px;
  }
}

/* ============================================================
   3. BILLING STEPS
   ============================================================ */
.gm-bsteps {
  padding: 96px var(--gm-gutter);
  background: linear-gradient(180deg, var(--gm-white), var(--gm-red-50));
}

.gm-bsteps .gm-bsteps__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-bsteps .gm-bsteps__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 860px;
  text-align: center;
}

.gm-bsteps .gm-bsteps__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-bsteps .gm-bsteps__intro {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 400;
  line-height: 1.5;
  color: #000;
}

.gm-bsteps .gm-bsteps__list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  width: 100%;
  max-width: 1116px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-bsteps .gm-bsteps__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 586px);
  align-items: center;
  gap: 24px;
  padding: 32px 48px;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-bsteps .gm-bsteps__lead {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.gm-bsteps .gm-bsteps__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 90px;
  height: 90px;
  padding: 25px;
  border-radius: 43px;
  background: var(--gm-white);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  color: var(--gm-red-600);
}

.gm-bsteps .gm-bsteps__name {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #000;
}

.gm-bsteps .gm-bsteps__text {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: #000;
}

.gm-bsteps .gm-bsteps__foot {
  max-width: 882px;
  margin: 0;
  text-align: center;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 400;
  line-height: 1.5;
  color: var(--gm-grey);
}

@media (max-width: 1024px) {
  .gm-bsteps .gm-bsteps__row {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 32px 24px;
  }
}

@media (max-width: 767px) {
  .gm-bsteps {
    padding: 40px var(--gm-gutter) 40px;
  }
  .gm-bsteps .gm-bsteps__inner {
    gap: 16px;
  }
  .gm-bsteps .gm-bsteps__head {
    align-items: stretch;
    gap: 24px;
    max-width: none;
  }
  .gm-bsteps .gm-bsteps__title {
    font-size: 22px;
    line-height: 33px;
    text-align: left;
  }
  .gm-bsteps .gm-bsteps__intro {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-bsteps .gm-bsteps__list {
    gap: 36px;
    margin-top: 8px;
  }
  .gm-bsteps .gm-bsteps__lead {
    flex-direction: column;
    align-items: flex-start;
  }
  .gm-bsteps .gm-bsteps__name {
    font-family: var(--gm-font-th);
    font-weight: 500;
  }
  .gm-bsteps .gm-bsteps__text {
    font-family: var(--gm-font-th);
  }
}

/* ============================================================
   4. BILLING SCHEDULE (slider)
   ============================================================ */
.gm-bsched {
  padding: 96px var(--gm-gutter);
  background: var(--gm-white);
}

.gm-bsched .gm-bsched__band {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
  padding: 48px;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--gm-radius-card);
  /* dark red top/bottom, lighter glow across the middle (Figma: grey base + red colour layer) */
  background:
    radial-gradient(60% 45% at 78% 55%, rgba(255, 96, 108, 0.45), rgba(255, 96, 108, 0) 100%),
    linear-gradient(180deg, #b90f21 0%, #cf2337 30%, #ea3c4d 55%, #cd2135 78%, #b90d20 100%);
}

/* the vertical stripes on the right */
.gm-bsched .gm-bsched__band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 7px, rgba(120, 0, 15, 0.07) 7px 14px);
  -webkit-mask-image: linear-gradient(90deg, transparent 52%, #000 82%);
  mask-image: linear-gradient(90deg, transparent 52%, #000 82%);
  pointer-events: none;
}

.gm-bsched .gm-bsched__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  pointer-events: none;
}

.gm-bsched .gm-bsched__title {
  margin: 0;
  padding: 0;
  text-align: center;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-900);
  font-weight: 600;
  line-height: var(--gm-scale-1100);
  color: var(--gm-white);
}

.gm-bsched .gm-bsched__stage {
  position: relative;
  width: 100%;
  max-width: 1114px;
}

.gm-bsched .gm-bsched__track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: safe center;
  gap: 24px;
  /* padding + negative margin keep the card shadows from being clipped */
  margin: -24px 0;
  padding: 24px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.gm-bsched .gm-bsched__track::-webkit-scrollbar {
  display: none;
}

.gm-bsched .gm-bsched__track:focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: -2px;
  border-radius: 16px;
}

/* room before the first / after the last card so that any card can be centred */
.gm-bsched .gm-bsched__track:not(.is-fit)::before,
.gm-bsched .gm-bsched__track:not(.is-fit)::after {
  content: "";
  flex: 0 0 max(0px, calc(50% - var(--gm-bs-active, 516px) / 2 - 24px));
}

.gm-bsched .gm-bsched__card {
  display: flex;
  flex-direction: column;
  flex: 0 0 var(--gm-bs-idle, 318px);
  width: var(--gm-bs-idle, 318px);
  padding: 24px;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  scroll-snap-align: center;
  cursor: pointer;
  font-family: var(--gm-font-en);
}

.gm-bsched .gm-bsched__card.is-active {
  flex-basis: var(--gm-bs-active, 516px);
  width: var(--gm-bs-active, 516px);
  padding: 36px;
  cursor: default;
}

/* folded card: title, then pill on the right */
.gm-bsched .gm-bsched__head {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.gm-bsched .gm-bsched__card.is-active .gm-bsched__head {
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
}

.gm-bsched .gm-bsched__name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: #000;
}

.gm-bsched .gm-bsched__pill {
  align-self: flex-end;
  flex: 0 0 auto;
  padding: 8px 24px;
  border-radius: 24px;
  background: var(--gm-pay-grey-100);
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  color: var(--gm-red-600);
  white-space: nowrap;
}

.gm-bsched .gm-bsched__card.is-active .gm-bsched__pill {
  align-self: flex-start;
}

.gm-bsched .gm-bsched__text,
.gm-bsched .gm-bsched__flow,
.gm-bsched .gm-bsched__btn {
  display: none;
}

.gm-bsched .gm-bsched__card.is-active .gm-bsched__text {
  display: block;
  margin: 8px 0 0;
  font-size: var(--gm-body-md);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-bsched .gm-bsched__card.is-active .gm-bsched__flow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.gm-bsched .gm-bsched__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  padding: 8px 24px;
  border-radius: 24px;
  background: var(--gm-pay-grey-100);
  font-size: 14px;
  line-height: 22px;
  text-align: center;
  white-space: nowrap;
}

.gm-bsched .gm-bsched__step-label {
  color: var(--gm-pay-grey-400);
}

.gm-bsched .gm-bsched__step-value {
  color: var(--gm-red-600);
}

.gm-bsched .gm-bsched__arrow {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  color: var(--gm-red-600);
}

.gm-bsched .gm-bsched__arrow svg {
  display: block;
  width: 24px;
  height: 24px;
}

.gm-bsched .gm-bsched__card.is-active .gm-bsched__btn {
  display: inline-flex;
  width: 100%;
  margin-top: 96px;
  font-family: var(--gm-font-en);
}

.gm-bsched .gm-bsched__btn .gm-icon,
.gm-bsched .gm-bsched__btn:hover .gm-icon {
  transform: none;
}

.gm-bsched .gm-bsched__card.is-active .gm-bsched__text,
.gm-bsched .gm-bsched__card.is-active .gm-bsched__flow,
.gm-bsched .gm-bsched__card.is-active .gm-bsched__btn {
  animation: gm-bsched-in 0.35s var(--gm-ease) both;
}

@keyframes gm-bsched-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* dots: current one is a wide dash */
.gm-bsched .gm-bsched__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
}

.gm-bsched .gm-bsched__dot {
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 40px;
  background: var(--gm-peach-500);
  cursor: pointer;
  transition: width 0.3s var(--gm-ease), background-color 0.3s ease;
}

.gm-bsched .gm-bsched__dot.is-active {
  width: 56px;
  background: var(--gm-pay-peach-100);
  cursor: default;
}

.gm-bsched .gm-bsched__dot:focus-visible,
.gm-bsched .gm-bsched__nav:focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: 3px;
}

/* optional arrows (off by default) */
.gm-bsched .gm-bsched__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: -22px 0 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--gm-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: var(--gm-red-600);
  cursor: pointer;
}

.gm-bsched .gm-bsched__nav svg {
  width: 22px;
  height: 22px;
}

.gm-bsched .gm-bsched__nav--prev {
  left: 0;
}

.gm-bsched .gm-bsched__nav--prev svg {
  transform: scaleX(-1);
}

.gm-bsched .gm-bsched__nav--next {
  right: 0;
}

.gm-bsched .gm-bsched__nav:disabled {
  opacity: 0.4;
  cursor: default;
}

@media (max-width: 1024px) {
  .gm-bsched .gm-bsched__band {
    padding: 40px 24px;
  }
}

/* phones and small tablets: one full-width card per slide */
@media (max-width: 767px) {
  .gm-bsched {
    padding: 40px var(--gm-gutter);
  }
  .gm-bsched .gm-bsched__band {
    align-items: stretch;
    padding: 48px 24px;
  }
  .gm-bsched .gm-bsched__title {
    font-size: 22px;
    line-height: 33px;
    text-align: left;
  }
  .gm-bsched .gm-bsched__track {
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
  }
  .gm-bsched .gm-bsched__track:not(.is-fit)::before,
  .gm-bsched .gm-bsched__track:not(.is-fit)::after {
    display: none;
  }
  .gm-bsched .gm-bsched__card,
  .gm-bsched .gm-bsched__card.is-active {
    flex: 0 0 100%;
    width: 100%;
    padding: 36px 16px;
    cursor: default;
  }
  .gm-bsched .gm-bsched__head,
  .gm-bsched .gm-bsched__card.is-active .gm-bsched__head {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }
  .gm-bsched .gm-bsched__name {
    font-size: 17px;
    line-height: 26px;
  }
  .gm-bsched .gm-bsched__pill,
  .gm-bsched .gm-bsched__card.is-active .gm-bsched__pill {
    align-self: stretch;
    padding: 8px 16px;
    line-height: 21px;
    white-space: normal;
  }
  .gm-bsched .gm-bsched__text,
  .gm-bsched .gm-bsched__flow,
  .gm-bsched .gm-bsched__btn {
    animation: none;
  }
  .gm-bsched .gm-bsched__text {
    display: block;
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 20px;
    color: var(--gm-grey);
  }
  .gm-bsched .gm-bsched__flow,
  .gm-bsched .gm-bsched__card.is-active .gm-bsched__flow {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    margin: 32px 0 0;
    padding: 0;
    list-style: none;
  }
  .gm-bsched .gm-bsched__step {
    padding: 8px 16px;
    line-height: 21px;
  }
  .gm-bsched .gm-bsched__arrow {
    align-self: center;
    flex-basis: auto;
    transform: rotate(90deg);
  }
  .gm-bsched .gm-bsched__btn,
  .gm-bsched .gm-bsched__card.is-active .gm-bsched__btn {
    display: inline-flex;
    width: 100%;
    margin-top: 40px;
    font-size: 13px;
    line-height: 20px;
    white-space: normal;
  }
  .gm-bsched .gm-bsched__nav--prev {
    left: -12px;
  }
  .gm-bsched .gm-bsched__nav--next {
    right: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-bsched .gm-bsched__card.is-active .gm-bsched__text,
  .gm-bsched .gm-bsched__card.is-active .gm-bsched__flow,
  .gm-bsched .gm-bsched__card.is-active .gm-bsched__btn {
    animation: none;
  }
  .gm-bsched .gm-bsched__dot {
    transition: none;
  }
}



/* CTA strip — wide variant (Solutions pages) */
.gm-cta.gm-cta--wide .gm-cta__box {
  max-width: var(--gm-card-max);
}

@media (max-width: 767px) {
  .gm-cta.gm-cta--wide {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  .gm-cta.gm-cta--wide .gm-cta__box {
    align-items: center;
    padding: 23px 19px;
    text-align: center;
  }
  .gm-cta.gm-cta--wide .gm-cta__title {
    font-size: 19px;
    line-height: 28px;
  }
  .gm-cta.gm-cta--wide .gm-cta__actions {
    justify-content: center;
  }
}

/* Benefit card: optional link covering the whole card */
.gm-bc .gm-bc__cover {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.gm-bc .gm-bc__cover:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-bc .gm-bc__card:has(.gm-bc__cover):hover {
  border-color: var(--gm-red-200);
}

/* CTA strip: "None (white)" section background (Solutions pages) */
.gm-cta.gm-cta--plain {
  background: transparent;
}

/* v0.16.8: Figma About GM / Support — white at the top fading to soft pink */
.gm-cta.gm-cta--gradient {
  background: linear-gradient(180deg, var(--gm-white) 0%, var(--gm-red-50) 100%);
}

/* v0.16.8: equal space above and below the box (Figma About GM 96 / 96) */
.gm-cta.gm-cta--equal {
  padding-top: 96px;
  padding-bottom: 96px;
}

@media (max-width: 767px) {
  .gm-cta.gm-cta--equal {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ==========================================================
   RESOURCES / CONTACT / SEARCH v0.14 — about
   ========================================================== */
/* ============================================================
   PARTS/ABOUT.CSS — About GM page widgets:
   gm-about-band, gm-about-story, gm-about-values, gm-about-timeline,
   gm-about-airlines, gm-about-certs, gm-about-video.
   Merged into widgets.css by the lead later.
   ============================================================ */

/* ============================================================
   GM ABOUT STAT BAND (red gradient bar under the hero)
   ============================================================ */
.gm-aband {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * var(--gm-aband-overlap, 80px));
  padding: 0 var(--gm-gutter);
}

.gm-aband .gm-aband__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-aband .gm-aband__card {
  display: flex;
  margin: 0;
  padding: 40px;
  list-style: none;
  /* Figma "help": confident-red 600 → 900-ish gradient */
  background: linear-gradient(180deg, var(--gm-red-600) 0%, #991b28 100%);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-aband .gm-aband__item {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0 24px;
  border-right: 1px solid var(--gm-white);
}

.gm-aband .gm-aband__item:last-child {
  border-right: 0;
}

.gm-aband .gm-aband__icon {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--gm-white);
}

.gm-aband .gm-aband__txt {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.gm-aband .gm-aband__num {
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-white);
  white-space: nowrap;
}

.gm-aband .gm-aband__label {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-white);
}

@media (max-width: 1024px) {
  .gm-aband .gm-aband__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 32px 24px;
  }
  .gm-aband .gm-aband__item {
    justify-content: flex-start;
    padding: 0;
    border-right: 0;
  }
}

@media (max-width: 767px) {
  .gm-aband .gm-aband__card {
    gap: 11px 10px;
    padding: 20px;
    border-radius: 12px;
  }
  .gm-aband .gm-aband__item {
    gap: 10px;
    justify-content: center;
  }
  .gm-aband .gm-aband__icon {
    width: 30px;
    height: 30px;
  }
  .gm-aband .gm-aband__num {
    font-size: 24px;
    line-height: 35px;
  }
  .gm-aband .gm-aband__label {
    font-size: 12px;
    line-height: 15px;
  }
}

/* ============================================================
   GM ABOUT STORY (text left, photo carousel right)
   ============================================================ */
.gm-astory {
  padding: 96px var(--gm-gutter);
}

.gm-astory .gm-astory__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-astory .gm-astory__grid {
  display: grid;
  /* v0.16.8: Figma 626 : 718 as a ratio, so the picture keeps its size on
     1025–1440px screens instead of being squeezed by a fixed text column. */
  grid-template-columns: minmax(0, 626fr) minmax(0, 718fr);
  gap: 24px;
  align-items: start;
}

.gm-astory .gm-astory__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-astory .gm-astory__text {
  margin: 16px 0 0;
  font-family: var(--gm-font-th);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-grey);
}

.gm-astory .gm-astory__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 718 / 446;
  border-radius: 16px;
  background: var(--gm-grey-200);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-astory .gm-astory__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.gm-astory .gm-astory__slide.is-active {
  opacity: 1;
}

.gm-astory .gm-astory__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-astory .gm-astory__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.gm-astory .gm-astory__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gm-red-200);
  cursor: pointer;
  transition: width 0.3s var(--gm-ease), background-color 0.3s ease;
}

.gm-astory .gm-astory__dot.is-active {
  width: 56px;
  background: var(--gm-red-600);
}

.gm-astory .gm-astory__dot:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .gm-astory {
    padding: 64px var(--gm-gutter);
  }
  .gm-astory .gm-astory__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .gm-astory {
    padding: 40px var(--gm-gutter);
  }
  .gm-astory .gm-astory__title {
    font-size: 24px;
    line-height: 32px;
  }
  .gm-astory .gm-astory__text {
    margin-top: 8px;
    font-size: 16px;
    line-height: 24px;
  }
  .gm-astory .gm-astory__media {
    border-radius: 8px;
  }
  .gm-astory .gm-astory__dots {
    bottom: 8px;
    gap: 4px;
  }
  .gm-astory .gm-astory__dot {
    width: 4px;
    height: 4px;
  }
  .gm-astory .gm-astory__dot.is-active {
    width: 28px;
  }
}

/* ============================================================
   GM ABOUT VALUE CARDS (Convenience / Content / Care)
   ============================================================ */
.gm-avalues {
  padding: 96px var(--gm-gutter);
  background: linear-gradient(180deg, var(--gm-white) 0%, var(--gm-red-50) 100%);
}

.gm-avalues.gm-avalues--plain {
  background: none;
}

.gm-avalues .gm-avalues__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-avalues .gm-avalues__title {
  margin: 0 0 40px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
  text-align: center;
}

.gm-avalues .gm-avalues__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.gm-avalues .gm-avalues__card {
  display: flex;
  flex-direction: column;
  height: 528px;
  overflow: hidden;
  background: var(--gm-white);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-avalues .gm-avalues__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 32px 24px 0;
}

.gm-avalues .gm-avalues__badge {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gm-red-600);
  border-radius: 4px;
  color: var(--gm-white);
}

.gm-avalues .gm-avalues__badge svg,
.gm-avalues .gm-avalues__badge img {
  width: 24px;
  height: 24px;
}

.gm-avalues .gm-avalues__name {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--gm-red-600);
}

.gm-avalues .gm-avalues__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 24px 24px 16px;
}

.gm-avalues .gm-avalues__sub {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-grey-950);
}

.gm-avalues .gm-avalues__list {
  margin: 0;
  padding: 0 0 0 24px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-avalues .gm-avalues__img {
  height: 289px;
  margin-top: auto;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
}

.gm-avalues .gm-avalues__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--gm-av-pos, 50% 50%);
  transform: scale(var(--gm-av-zoom, 1));
  transform-origin: var(--gm-av-pos, 50% 50%);
}

@media (max-width: 1024px) {
  .gm-avalues {
    padding: 64px var(--gm-gutter);
  }
  .gm-avalues .gm-avalues__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .gm-avalues .gm-avalues__card {
    height: auto;
  }
  .gm-avalues .gm-avalues__img {
    height: 240px;
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  .gm-avalues {
    padding: 40px var(--gm-gutter);
  }
  .gm-avalues .gm-avalues__title {
    margin-bottom: 16px;
    font-size: 24px;
    line-height: 33px;
  }
  .gm-avalues .gm-avalues__top {
    margin: 24px 20px 0;
  }
  .gm-avalues .gm-avalues__badge {
    width: 34px;
    height: 34px;
  }
  .gm-avalues .gm-avalues__badge svg,
  .gm-avalues .gm-avalues__badge img {
    width: 20px;
    height: 20px;
  }
  .gm-avalues .gm-avalues__name {
    font-size: 20px;
    line-height: 28px;
  }
  .gm-avalues .gm-avalues__body {
    margin: 20px 20px 16px;
  }
  .gm-avalues .gm-avalues__sub {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-avalues .gm-avalues__list {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-avalues .gm-avalues__img {
    height: 240px;
  }
}

/* ============================================================
   GM ABOUT TIMELINE (scroll-driven company history)
   ============================================================ */
.gm-abtl {
  background: var(--gm-white);
  padding: 96px var(--gm-gutter);
}

/* JS mode: the section becomes a tall track, the stage pins */
.gm-abtl.gm-abtl--js {
  height: calc(100vh + (var(--gm-abtl-n, 1) - 1) * 80vh);
  padding: 0 var(--gm-gutter);
}

.gm-abtl .gm-abtl__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-abtl.gm-abtl--js .gm-abtl__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  padding-top: 72px;
}

.gm-abtl .gm-abtl__title {
  margin: 0 0 40px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
  text-align: center;
}

.gm-abtl .gm-abtl__view {
  position: relative;
  width: 100%;
}

.gm-abtl.gm-abtl--js .gm-abtl__view {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 900px;
  width: 100%;
}

/* items stack in the flow when there is no JS */
.gm-abtl:not(.gm-abtl--js) .gm-abtl__view {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.gm-abtl .gm-abtl__line {
  position: absolute;
  top: 12px;
  bottom: 58px;
  left: calc(50% - 1.5px);
  width: 3px;
  background: var(--gm-red-600);
  opacity: 0.5;
}

.gm-abtl .gm-abtl__dot {
  position: absolute;
  left: calc(50% - 12px);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(249, 68, 73, 0.3);
}

.gm-abtl .gm-abtl__dot::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--gm-red-600);
}

.gm-abtl .gm-abtl__dot--top {
  top: 0;
}

.gm-abtl .gm-abtl__dot--low {
  bottom: 46px;
}

.gm-abtl .gm-abtl__item {
  position: relative;
  min-height: 680px;
}

.gm-abtl.gm-abtl--js .gm-abtl__item {
  position: absolute;
  inset: 0;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.gm-abtl.gm-abtl--js .gm-abtl__item.is-active {
  opacity: 1;
  visibility: visible;
}

.gm-abtl .gm-abtl__year {
  position: absolute;
  top: 26px;
  left: 50%;
  z-index: 1;
  margin: 0;
  padding: 0 66px;
  background: var(--gm-white);
  font-family: var(--gm-font-en);
  font-size: 104px;
  font-weight: 600;
  line-height: 112px;
  color: var(--gm-red-600);
  transform: translateX(-50%);
}

.gm-abtl.gm-abtl--js .gm-abtl__year {
  transform: translateX(-50%) translateY(24px);
  transition: transform 0.5s var(--gm-ease);
}

.gm-abtl.gm-abtl--js .gm-abtl__item.is-active .gm-abtl__year {
  transform: translateX(-50%) translateY(0);
}

.gm-abtl .gm-abtl__text {
  position: absolute;
  top: 55%;
  left: 0;
  width: 40%;
  transform: translateY(-50%);
  font-family: var(--gm-font-th);
  color: var(--gm-grey);
}

.gm-abtl.gm-abtl--js .gm-abtl__text {
  transform: translateY(calc(-50% + 24px));
  transition: transform 0.5s var(--gm-ease) 0.05s;
}

.gm-abtl.gm-abtl--js .gm-abtl__item.is-active .gm-abtl__text {
  transform: translateY(-50%);
}

.gm-abtl .gm-abtl__text p {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
}

.gm-abtl .gm-abtl__text ul {
  margin: 0;
  padding: 0 0 0 27px;
  font-size: var(--gm-body-lg);
  font-weight: 500;
  line-height: 24px;
}

.gm-abtl .gm-abtl__text li + li {
  margin-top: 4px;
}

.gm-abtl .gm-abtl__text strong {
  font-weight: 500;
  color: var(--gm-grey-950);
}

.gm-abtl .gm-abtl__pics {
  position: absolute;
  top: var(--gm-abtl-pics-top, 176px); /* below the year (26 + 112) + gap, never touching it */
  right: var(--gm-abtl-pics-right, 4%);
  width: min(43.6%, var(--gm-abtl-pics-w, 586px));
  aspect-ratio: 586 / 487;
}

.gm-abtl.gm-abtl--js .gm-abtl__pics {
  transform: translateY(32px);
  transition: transform 0.55s var(--gm-ease) 0.1s;
}

.gm-abtl.gm-abtl--js .gm-abtl__item.is-active .gm-abtl__pics {
  transform: translateY(0);
}

.gm-abtl .gm-abtl__pic {
  position: absolute;
  display: block;
  overflow: hidden;
  border-radius: 16px;
  box-shadow:
    0 3.6px 15.3px rgba(249, 68, 73, 0.15),
    0 16.9px 16.9px rgba(0, 0, 0, 0.04),
    0 4.5px 8.9px rgba(0, 0, 0, 0.04);
}

.gm-abtl .gm-abtl__pic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-abtl .gm-abtl__pic--top {
  z-index: 1;
  top: 4.4%;
  left: 2.6%;
  width: 51%;
  aspect-ratio: 299 / 220;
  transform: rotate(-8.77deg);
}

.gm-abtl .gm-abtl__pic--main {
  z-index: 2;
  top: 15.6%;
  left: 44%;
  width: 56%;
  aspect-ratio: 328 / 242;
}

.gm-abtl .gm-abtl__pic--low {
  z-index: 3;
  top: 47.6%;
  left: 15.1%;
  width: 51%;
  aspect-ratio: 299 / 220;
  transform: rotate(15deg);
}

@media (max-width: 1024px) {
  .gm-abtl .gm-abtl__year {
    padding: 0 40px;
    font-size: 72px;
    line-height: 80px;
  }
  .gm-abtl .gm-abtl__text p {
    font-size: 20px;
    line-height: 28px;
  }
  .gm-abtl .gm-abtl__item {
    min-height: 560px;
  }
}

@media (max-width: 767px) {
  .gm-abtl {
    padding: 40px var(--gm-gutter);
  }
  .gm-abtl.gm-abtl--js {
    padding: 0 var(--gm-gutter);
  }
  .gm-abtl.gm-abtl--js .gm-abtl__stage {
    padding-top: 40px;
  }
  .gm-abtl .gm-abtl__title {
    margin-bottom: 20px;
    font-size: 22px;
    line-height: 32px;
  }
  .gm-abtl .gm-abtl__line,
  .gm-abtl .gm-abtl__dot {
    display: none;
  }
  .gm-abtl .gm-abtl__item {
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding-top: 104px;
  }
  /* horizontal rail with a dot on the left, the year sits on it */
  .gm-abtl .gm-abtl__item::before {
    content: "";
    position: absolute;
    top: 56px;
    right: 20px;
    left: 14px;
    height: 4px;
    border-radius: 4px;
    background: var(--gm-red-600);
    opacity: 0.5;
  }
  .gm-abtl .gm-abtl__item::after {
    content: "";
    position: absolute;
    top: 46px;
    left: 13px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--gm-red-600) 0 5px, rgba(249, 68, 73, 0.3) 5px 12px);
  }
  .gm-abtl .gm-abtl__year {
    top: 14px;
    padding: 10px;
    font-size: 40px;
    line-height: 56px;
  }
  .gm-abtl .gm-abtl__text {
    position: static;
    width: 100%;
    transform: none;
    text-align: center;
  }
  .gm-abtl.gm-abtl--js .gm-abtl__text,
  .gm-abtl.gm-abtl--js .gm-abtl__item.is-active .gm-abtl__text {
    transform: none;
  }
  .gm-abtl .gm-abtl__text p {
    font-size: 18px;
    line-height: 24px;
  }
  .gm-abtl .gm-abtl__text ul {
    display: inline-block;
    text-align: left;
    font-size: 16px;
    line-height: 22px;
  }
  .gm-abtl .gm-abtl__pics {
    position: static;
    width: 89%;
    margin: 16px auto 0;
    aspect-ratio: auto;
    transform: none;
  }
  .gm-abtl.gm-abtl--js .gm-abtl__pics,
  .gm-abtl.gm-abtl--js .gm-abtl__item.is-active .gm-abtl__pics {
    transform: none;
  }

  /* Phone, "First photo only" mode */
  .gm-abtl.gm-abtl--mone .gm-abtl__pic--top,
  .gm-abtl.gm-abtl--mone .gm-abtl__pic--low {
    display: none;
  }
  .gm-abtl.gm-abtl--mone .gm-abtl__pic--main {
    position: static;
    width: 100%;
    border-radius: 12px;
  }

  /* Phone, "Swipe strip" mode (default): all photos, slightly tilted,
     swipe sideways with snap. The strip scrolls inside itself, so the
     page never scrolls sideways. */
  .gm-abtl.gm-abtl--mstrip .gm-abtl__pics {
    display: flex;
    gap: 14px;
    width: auto;
    margin: 20px calc(var(--gm-gutter) * -1) 0;
    padding: 14px var(--gm-gutter) 18px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gm-abtl.gm-abtl--mstrip .gm-abtl__pics::-webkit-scrollbar {
    display: none;
  }
  .gm-abtl.gm-abtl--mstrip .gm-abtl__pic {
    position: static;
    flex: 0 0 76%;
    aspect-ratio: 299 / 220;
    border-radius: 12px;
    scroll-snap-align: center;
  }
  .gm-abtl.gm-abtl--mstrip .gm-abtl__pic--top {
    transform: rotate(-2.5deg);
  }
  .gm-abtl.gm-abtl--mstrip .gm-abtl__pic--main {
    transform: rotate(1.5deg);
  }
  .gm-abtl.gm-abtl--mstrip .gm-abtl__pic--low {
    transform: rotate(-1.5deg);
  }
  .gm-abtl.gm-abtl--mstrip .gm-abtl__pic:only-child {
    flex-basis: 100%;
    transform: none;
  }
}

/* ------------------------------------------------------------
   GM ABOUT TIMELINE — v0.16.8 "Cinematic" change (client reference)
   Only when JS runs (gm-abtl--js) and the option is "Cinematic".
   Down = photos wipe up from the bottom, up = they wipe down.
   ------------------------------------------------------------ */
.gm-abtl .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.gm-abtl .gm-abtl__digit {
  display: inline-block;
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item {
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

/* year: each letter comes out of a soft blur */
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__year,
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__year {
  transform: translateX(-50%);
  transition: none;
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__digit {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(0.28em) scale(1.12);
  transition:
    opacity 0.6s ease calc(var(--d, 0) * 0.08s),
    filter 0.75s ease calc(var(--d, 0) * 0.08s),
    transform 0.85s var(--gm-ease) calc(var(--d, 0) * 0.08s);
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic[data-dir="up"] .gm-abtl__digit {
  transform: translateY(-0.28em) scale(1.12);
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__digit {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

/* photos: each one wipes open, the picture inside settles from a zoom */
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__pics,
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pics {
  transform: none;
  transition: none;
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__pic {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__pic img {
  clip-path: inset(100% 0 0 0);
  transform: scale(1.22);
  transition:
    clip-path 0.95s cubic-bezier(0.77, 0, 0.18, 1),
    transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic[data-dir="up"] .gm-abtl__pic img {
  clip-path: inset(0 0 100% 0);
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic {
  opacity: 1;
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic img {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}

/* one after another: top → big → bottom */
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic--top,
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic--top img {
  transition-delay: 0.1s;
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic--main,
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic--main img {
  transition-delay: 0.25s;
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic--low,
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__pic--low img {
  transition-delay: 0.4s;
}

/* text: rises out of a light blur after the year */
.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__text {
  opacity: 0;
  filter: blur(6px);
  transition:
    opacity 0.6s ease,
    filter 0.6s ease,
    transform 0.8s var(--gm-ease);
}

.gm-abtl.gm-abtl--js.gm-abtl--fx-cinematic .gm-abtl__item.is-active .gm-abtl__text {
  opacity: 1;
  filter: blur(0);
  transition-delay: 0.3s;
}

/* v0.16.10 — "Arrows only" mode: the section is NOT pinned, the page keeps
   scrolling; all years sit on top of each other in one grid cell (so the
   box is as tall as the tallest year) and only the arrows change them. */
.gm-abtl.gm-abtl--js.gm-abtl--mode-arrows {
  height: auto;
  padding: 96px var(--gm-gutter);
}

.gm-abtl.gm-abtl--js.gm-abtl--mode-arrows .gm-abtl__stage {
  position: static;
  height: auto;
  padding-top: 0;
}

.gm-abtl.gm-abtl--js.gm-abtl--mode-arrows .gm-abtl__view {
  display: grid;
  flex: none;
  max-height: none;
}

.gm-abtl.gm-abtl--js.gm-abtl--mode-arrows .gm-abtl__item {
  position: relative;
  inset: auto;
  grid-area: 1 / 1;
  min-height: 680px;
}

/* Alternate sides: 2nd, 4th … year = photos left, text right (Figma) */
.gm-abtl .gm-abtl__item--flip .gm-abtl__text {
  right: 0;
  left: auto;
}

.gm-abtl .gm-abtl__item--flip .gm-abtl__pics {
  right: auto;
  left: var(--gm-abtl-pics-right, 4%);
}

/* keep the arrows clear of the photos / text on the right */
@media (min-width: 768px) {
  .gm-abtl.gm-abtl--has-nav .gm-abtl__item:not(.gm-abtl__item--flip) .gm-abtl__pics {
    right: calc(var(--gm-abtl-pics-right, 4%) + 48px);
  }
  .gm-abtl.gm-abtl--has-nav .gm-abtl__item--flip .gm-abtl__text {
    right: 64px;
    width: calc(40% - 64px);
  }
}

@media (max-width: 1024px) {
  .gm-abtl.gm-abtl--js.gm-abtl--mode-arrows .gm-abtl__item {
    min-height: 560px;
  }
}

@media (max-width: 767px) {
  .gm-abtl.gm-abtl--js.gm-abtl--mode-arrows {
    padding: 40px var(--gm-gutter);
  }
  .gm-abtl.gm-abtl--js.gm-abtl--mode-arrows .gm-abtl__item {
    min-height: 0;
  }
  /* phones: arrows + counter centred under the photos, away from the year */
  .gm-abtl.gm-abtl--js.gm-abtl--mode-arrows .gm-abtl__view {
    padding-bottom: 52px;
  }
  .gm-abtl.gm-abtl--mode-arrows .gm-abtl__nav {
    top: auto;
    right: auto;
    bottom: 0;
    left: 50%;
    gap: 16px;
    transform: translateX(-50%);
  }
}

/* ↑ ↓ arrows + counter (right side, centred on the line height) */
.gm-abtl .gm-abtl__nav {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transform: translateY(-50%);
}

.gm-abtl .gm-abtl__nav[hidden] {
  display: none;
}

.gm-abtl .gm-abtl__nav .gm-abtl__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--gm-red-200);
  border-radius: 50%;
  background: var(--gm-white);
  box-shadow: none;
  color: var(--gm-red-600);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.gm-abtl .gm-abtl__nav .gm-abtl__arrow:hover,
.gm-abtl .gm-abtl__nav .gm-abtl__arrow:focus-visible {
  border-color: var(--gm-red-600);
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-abtl .gm-abtl__nav .gm-abtl__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

.gm-abtl .gm-abtl__nav .gm-abtl__arrow svg {
  width: 20px;
  height: 20px;
}

.gm-abtl .gm-abtl__count {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--gm-font-en);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  color: var(--gm-grey);
  font-variant-numeric: tabular-nums;
}

.gm-abtl .gm-abtl__count-now {
  color: var(--gm-red-600);
}

.gm-abtl .gm-abtl__count-sep {
  width: 1px;
  height: 12px;
  margin: 3px 0;
  overflow: hidden;
  background: var(--gm-grey-200);
  color: transparent;
}

@media (max-width: 767px) {
  .gm-abtl .gm-abtl__nav {
    top: 12px;
    flex-direction: row;
    transform: none;
  }
  .gm-abtl .gm-abtl__nav .gm-abtl__arrow {
    width: 32px;
    height: 32px;
  }
  .gm-abtl .gm-abtl__count {
    flex-direction: row;
    gap: 4px;
  }
  .gm-abtl .gm-abtl__count-sep {
    width: auto;
    height: auto;
    margin: 0;
    background: none;
    color: var(--gm-grey);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-abtl .gm-abtl__digit,
  .gm-abtl .gm-abtl__pic,
  .gm-abtl .gm-abtl__pic img,
  .gm-abtl .gm-abtl__text {
    opacity: 1 !important;
    filter: none !important;
    clip-path: none !important;
    transform: none;
    transition: none !important;
  }
}

/* ------------------------------------------------------------
   GM ABOUT VIDEO — v0.16.8 band looks (Figma stripes / own picture)
   ------------------------------------------------------------ */
.gm-avideo .gm-avideo__band.gm-avideo__band--stripes {
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.85) 18%, rgba(255, 255, 255, 0) 62%),
    linear-gradient(90deg,
      #fde8e8 0 6.25%,
      #f8c7c7 6.25% 15%,
      #f6a3a3 15% 23.75%,
      #f27474 23.75% 32.5%,
      #f05b5f 32.5% 41.25%,
      #ef4d55 41.25% 50%,
      #e9444d 50% 58.75%,
      #dc3c47 58.75% 67.5%,
      #c93a44 67.5% 76.25%,
      #a8363e 76.25% 85%,
      #bd6b70 85% 93.75%,
      #ecc6c8 93.75% 100%);
}

.gm-avideo .gm-avideo__band.gm-avideo__band--stripes::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.2) 100%);
}

.gm-avideo .gm-avideo__band.gm-avideo__band--img {
  overflow: hidden;
  background: #fff;
}

.gm-avideo .gm-avideo__band.gm-avideo__band--img::after {
  content: none;
}

.gm-avideo .gm-avideo__band .gm-avideo__band-img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center top;
}

/* ============================================================
   GM ABOUT AIRLINE NETWORK (pink band, logo strip, button)
   ============================================================ */
.gm-abnet {
  position: relative;
  overflow: hidden;
  padding: 96px var(--gm-gutter);
  background:
    radial-gradient(90% 160% at 88% 0%, rgba(249, 68, 73, 0.22) 0%, rgba(249, 68, 73, 0) 55%),
    radial-gradient(70% 140% at 0% 100%, rgba(249, 68, 73, 0.16) 0%, rgba(249, 68, 73, 0) 55%),
    linear-gradient(180deg, #fdecec 0%, var(--gm-red-50) 100%);
}

.gm-abnet .gm-abnet__plane {
  position: absolute;
  bottom: -55px;
  left: -290px;
  width: 772px;
  height: auto;
  color: rgba(215, 38, 56, 0.14);
  pointer-events: none;
}

.gm-abnet .gm-abnet__inner {
  position: relative;
  max-width: 1248px;
  margin: 0 auto;
  text-align: center;
}

.gm-abnet .gm-abnet__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-abnet .gm-abnet__text {
  margin: 16px 0 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  font-weight: 500;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-abnet .gm-marquee {
  --gm-marquee-logo-h: 36px;
  margin-top: 40px;
  background: transparent;
}

.gm-abnet .gm-abnet__actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

@media (max-width: 767px) {
  .gm-abnet {
    padding: 40px var(--gm-gutter);
  }
  .gm-abnet .gm-abnet__title {
    font-size: 22px;
    line-height: 32px;
  }
  .gm-abnet .gm-abnet__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 20px;
  }
  .gm-abnet .gm-marquee {
    --gm-marquee-logo-h: 25px;
    margin-top: 20px;
  }
  .gm-abnet .gm-abnet__actions {
    margin-top: 20px;
  }
  .gm-abnet .gm-abnet__plane {
    bottom: -30px;
    left: -200px;
    width: 480px;
  }
}

/* v0.16.8: exported Figma plane — Figma place: x -290, y 299 in the 500 px band */
/* v0.16.12: exported Figma plane — size / place / turn come from the
   widget's "Plane drawing position" settings (CSS variables below), the
   picture keeps its own shape (height auto), never cut by a fixed height. */
.gm-abnet .gm-abnet__plane.gm-abnet__plane--img {
  top: auto;
  right: auto;
  bottom: var(--gm-abnet-py, 0px);
  left: var(--gm-abnet-px, 0px);
  width: var(--gm-abnet-pw, 700px);
  height: auto;
  max-width: none;
  transform: rotate(var(--gm-abnet-rot, 0deg));
  transform-origin: left bottom;
}

@media (max-width: 767px) {
  .gm-abnet .gm-abnet__plane.gm-abnet__plane--img {
    bottom: var(--gm-abnet-py, 0px);
    left: var(--gm-abnet-px, -60px);
    width: var(--gm-abnet-pw, 420px);
  }
}

/* ============================================================
   GM ABOUT CERTIFICATIONS (logo cards, logo grows on hover)
   ============================================================ */
.gm-acerts {
  padding: 96px var(--gm-gutter);
  background: var(--gm-white);
}

.gm-acerts .gm-acerts__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-acerts .gm-acerts__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-acerts .gm-acerts__text {
  margin: 8px 0 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-lg);
  font-weight: 500;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-acerts .gm-acerts__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 40px auto 0;
  padding: 0;
  list-style: none;
}

.gm-acerts .gm-acerts__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 233px;
  margin: 0;
  padding: 24px 16px;
  overflow: hidden;
  background: var(--gm-white);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.gm-acerts .gm-acerts__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 192px;
  height: 127px;
  transition: transform 0.35s var(--gm-ease);
}

.gm-acerts .gm-acerts__logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gm-acerts .gm-acerts__caption {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
  text-align: center;
  transition: opacity 0.3s ease;
}

@media (hover: hover) {
  .gm-acerts.gm-acerts--grow .gm-acerts__card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1);
  }
  .gm-acerts.gm-acerts--grow .gm-acerts__card:hover .gm-acerts__logo {
    transform: translateY(29px) scale(1.76);
  }
  .gm-acerts.gm-acerts--grow .gm-acerts__card:hover .gm-acerts__caption {
    opacity: 0;
  }
}

@media (max-width: 767px) {
  .gm-acerts {
    padding: 40px var(--gm-gutter);
  }
  .gm-acerts .gm-acerts__title {
    font-size: 24px;
    line-height: 32px;
  }
  .gm-acerts .gm-acerts__text {
    font-size: 14px;
    line-height: 20px;
  }
  .gm-acerts .gm-acerts__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
  }
  .gm-acerts .gm-acerts__card {
    min-height: 239px;
    gap: 10px;
  }
  .gm-acerts .gm-acerts__logo {
    width: 100%;
    height: 127px;
  }
  .gm-acerts .gm-acerts__caption {
    font-size: 12px;
    line-height: 18px;
  }
}

/* ============================================================
   GM ABOUT VIDEO BANNER (heading + video card on a red band)
   ============================================================ */
.gm-avideo {
  position: relative;
  padding: 96px var(--gm-gutter) 56px;
}

.gm-avideo .gm-avideo__band {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 467px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(249, 68, 73, 0.45) 45%, var(--gm-red-600) 100%);
}

.gm-avideo .gm-avideo__inner {
  position: relative;
  max-width: var(--gm-card-max);
  margin: 0 auto;
  text-align: center;
}

.gm-avideo .gm-avideo__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-avideo .gm-avideo__card {
  position: relative;
  width: min(910px, 100%);
  margin: 56px auto 0;
  overflow: hidden;
  aspect-ratio: 910 / 512;
  background: var(--gm-grey-200);
  border-radius: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-avideo .gm-avideo__poster {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-avideo .gm-avideo__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--gm-red-600);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--gm-ease), background-color 0.25s ease;
}

.gm-avideo .gm-avideo__play svg {
  width: 40px;
  height: 40px;
}

.gm-avideo .gm-avideo__play:hover {
  background: var(--gm-white);
  transform: translate(-50%, -50%) scale(1.06);
}

.gm-avideo .gm-avideo__play:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-avideo .gm-avideo__card.is-playing .gm-avideo__play,
.gm-avideo .gm-avideo__card.is-playing .gm-avideo__poster {
  display: none;
}

.gm-avideo .gm-avideo__card iframe,
.gm-avideo .gm-avideo__card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 767px) {
  .gm-avideo {
    padding: 40px var(--gm-gutter) 24px;
  }
  .gm-avideo .gm-avideo__band {
    height: 146px;
  }
  .gm-avideo .gm-avideo__title {
    font-size: 24px;
    line-height: 33px;
  }
  .gm-avideo .gm-avideo__card {
    margin-top: 32px;
    border-radius: 12px;
  }
  .gm-avideo .gm-avideo__play {
    width: 56px;
    height: 56px;
  }
  .gm-avideo .gm-avideo__play svg {
    width: 26px;
    height: 26px;
  }
}


/* ==========================================================
   RESOURCES / CONTACT / SEARCH v0.14 — support
   ========================================================== */
/* ============================================================
   SUPPORT & FAQ (Resources) — gm-support-faq, gm-support-grid,
   gm-support-header, gm-support-steps, gm-support-related and
   the shared support card (.gm-scard).
   ============================================================ */

/* ---- GM Support FAQ (gm-supfaq): Browse by Category ---- */
.gm-supfaq {
  padding: 96px var(--gm-gutter);
}

.gm-supfaq.gm-supfaq--glow {
  background: linear-gradient(40deg, var(--gm-white) 58%, #fee6e5 98%);
}

.gm-supfaq .gm-supfaq__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-supfaq .gm-supfaq__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-supfaq .gm-supfaq__body {
  display: flex;
  align-items: flex-start;
  gap: 56px;
  width: 100%;
}

.gm-supfaq .gm-supfaq__tabs {
  display: flex;
  flex: 0 0 432px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.gm-supfaq .gm-supfaq__panels {
  flex: 1 1 0;
  min-width: 0;
}

.gm-supfaq .gm-supfaq__tabs .gm-supfaq__tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 23px 24px; /* + 1px border = 96px high, as in Figma */
  border: 1px solid var(--gm-grey-200);
  border-radius: var(--gm-radius-field);
  background: var(--gm-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  color: var(--gm-grey-950);
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-supfaq .gm-supfaq__tab .gm-supfaq__tab-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  color: var(--gm-red-600);
}

.gm-supfaq .gm-supfaq__tab .gm-supfaq__tab-icon svg {
  width: 100%;
  height: 100%;
}

/* Uploaded category icons (one-colour pictures) are painted with filters. */
.gm-supfaq .gm-supfaq__tab .gm-supfaq__tab-icon .gm-fi {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(21%) sepia(62%) saturate(5000%) hue-rotate(341deg) brightness(88%) contrast(95%); /* ≈ red-600 */
}

.gm-supfaq .gm-supfaq__tabs .gm-supfaq__tab:hover,
.gm-supfaq .gm-supfaq__tabs .gm-supfaq__tab:focus {
  border-color: var(--gm-red-200);
  background: var(--gm-white);
  color: var(--gm-red-600);
}

.gm-supfaq .gm-supfaq__tabs .gm-supfaq__tab.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--gm-red-600), #991b28);
  box-shadow: none;
  color: var(--gm-white);
}

.gm-supfaq .gm-supfaq__tab.is-active .gm-supfaq__tab-icon {
  color: var(--gm-white);
}

.gm-supfaq .gm-supfaq__tab.is-active .gm-supfaq__tab-icon .gm-fi {
  filter: brightness(0) invert(1);
}

.gm-supfaq .gm-supfaq__tabs .gm-supfaq__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-supfaq .gm-supfaq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.gm-supfaq .gm-supfaq__list[hidden] {
  display: none;
}

.gm-supfaq .gm-supfaq__list.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-supfaq .gm-supfaq__item {
  padding: 23px 24px; /* + 1px border = 72px closed, as in Figma */
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: var(--gm-grey-50);
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.gm-supfaq .gm-supfaq__item:hover {
  opacity: 1;
}

.gm-supfaq .gm-supfaq__item.is-open {
  padding-block: 15px; /* 128px with one answer line pair, as in Figma */
}

.gm-supfaq .gm-supfaq__h {
  margin: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}

.gm-supfaq .gm-supfaq__item .gm-supfaq__q {
  appearance: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--gm-grey-950);
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

.gm-supfaq .gm-supfaq__item .gm-supfaq__q:hover,
.gm-supfaq .gm-supfaq__item .gm-supfaq__q:focus {
  background: none;
  color: var(--gm-red-600);
}

.gm-supfaq .gm-supfaq__item .gm-supfaq__q:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 4px;
}

.gm-supfaq .gm-supfaq__chev {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  transition: transform 0.3s var(--gm-ease);
}

.gm-supfaq .gm-supfaq__item.is-open .gm-supfaq__chev {
  transform: rotate(180deg);
}

.gm-supfaq .gm-supfaq__a {
  padding-top: 24px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-supfaq .gm-supfaq__a[hidden] {
  display: none;
}

.gm-supfaq .gm-supfaq__a p {
  margin: 0 0 8px;
}

.gm-supfaq .gm-supfaq__a p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .gm-supfaq .gm-supfaq__body {
    gap: 32px;
  }
  .gm-supfaq .gm-supfaq__tabs {
    flex-basis: 340px;
  }
}

@media (max-width: 900px) {
  .gm-supfaq {
    padding-block: 48px;
  }
  .gm-supfaq .gm-supfaq__inner {
    gap: 24px;
  }
  .gm-supfaq .gm-supfaq__body {
    flex-direction: column;
    gap: 24px;
  }
  .gm-supfaq .gm-supfaq__tabs {
    flex: none;
    width: 100%;
  }
  .gm-supfaq .gm-supfaq__tabs .gm-supfaq__tab {
    min-height: 0;
    gap: 16px;
    padding: 16px;
    font-size: 20px;
    line-height: 28px;
  }
  .gm-supfaq .gm-supfaq__tab .gm-supfaq__tab-icon {
    width: 40px;
    height: 40px;
  }
  .gm-supfaq .gm-supfaq__panels {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .gm-supfaq .gm-supfaq__title {
    font-size: 24px;
    line-height: 32px;
  }
  .gm-supfaq .gm-supfaq__item {
    padding: 16px;
  }
  .gm-supfaq .gm-supfaq__item .gm-supfaq__q {
    font-size: var(--gm-body-md);
  }
  .gm-supfaq .gm-supfaq__a {
    padding-top: 16px;
  }
}

/* ---- The support card (gm-support-grid + gm-support-related) ---- */
.gm-scard {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 24px;
  border: 1px solid var(--gm-grey-200);
  border-radius: var(--gm-radius-field);
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

/* v0.16.8: equal height inside the grids; shadow stays (Figma) even when
   theme link styles try to reset it */
.gm-supgrid .gm-scard,
.gm-srel .gm-scard {
  box-sizing: border-box;
  height: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
}

.gm-supgrid .gm-scard:hover,
.gm-supgrid .gm-scard:focus-visible,
.gm-srel .gm-scard:hover,
.gm-srel .gm-scard:focus-visible {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 24px rgba(0, 0, 0, 0.05);
}

.gm-scard:hover,
.gm-scard:focus-visible {
  border-color: var(--gm-red-200);
  box-shadow: 0 12px 28px rgba(215, 38, 56, 0.14);
  transform: translateY(-4px);
}

/* Figma hover state: the card title turns red */
.gm-scard:hover .gm-scard__title,
.gm-scard:focus-visible .gm-scard__title {
  color: var(--gm-red-600);
}

@media (prefers-reduced-motion: reduce) {
  .gm-scard:hover,
  .gm-scard:focus-visible {
    transform: none;
  }
}

.gm-scard:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-scard .gm-scard__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--gm-red-600), #b61a2e);
  box-shadow: 0 4px 2px rgba(0, 0, 0, 0.25);
  color: var(--gm-white);
}

.gm-scard .gm-scard__glyph {
  width: 48px;
  height: 48px;
}

.gm-scard .gm-scard__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gm-scard .gm-scard__title {
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  text-align: center;
  color: var(--gm-grey-950);
}

.gm-scard .gm-scard__text {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

/* ---- GM Support Grid (gm-supgrid): ศูนย์ช่วยเหลือ ---- */
.gm-supgrid {
  position: relative;
  padding: 48px var(--gm-gutter);
  background: var(--gm-white);
}

.gm-supgrid .gm-supgrid__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.gm-supgrid .gm-supgrid__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.gm-supgrid .gm-supgrid__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-supgrid .gm-head {
  align-items: center;
  gap: 16px;
  text-align: center;
}

.gm-supgrid .gm-head .gm-head__title {
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-1000);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
}

.gm-supgrid .gm-head .gm-head__text {
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-xl);
  font-weight: 600;
  line-height: 26px;
  color: var(--gm-grey);
}

.gm-supgrid .gm-supgrid__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch; /* v0.16.8: all cards in a row get the same height */
}

@media (max-width: 1024px) {
  .gm-supgrid .gm-supgrid__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .gm-supgrid .gm-supgrid__inner {
    gap: 24px;
  }
  .gm-supgrid .gm-head .gm-head__title {
    font-size: 32px;
    line-height: 40px;
  }
  .gm-supgrid .gm-head .gm-head__text {
    font-size: var(--gm-body-md);
    line-height: 22px;
  }
  .gm-supgrid .gm-supgrid__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* ---- GM Support Header (gm-shead): title, line under it, cover ---- */
.gm-shead {
  padding: 96px var(--gm-gutter) 0;
}

.gm-shead .gm-shead__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-shead .gm-shead__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-1000);
  font-weight: 600;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-shead .gm-shead__sub {
  margin: 40px 0 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-700);
  font-weight: 400;
  line-height: 32px;
  color: var(--gm-grey-950);
}

.gm-shead .gm-shead__cover {
  max-width: 816px;
  margin: 88px auto 0;
  border-radius: var(--gm-radius-card);
  overflow: hidden;
}

.gm-shead .gm-shead__cover img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .gm-shead {
    padding-top: 40px;
  }
  .gm-shead .gm-shead__title {
    font-size: 32px;
    line-height: 40px;
  }
  .gm-shead .gm-shead__sub {
    margin-top: 16px;
    font-size: var(--gm-body-lg);
    line-height: 26px;
  }
  .gm-shead .gm-shead__cover {
    margin-top: 32px;
    border-radius: var(--gm-radius-media);
  }
}

/* ---- GM Support Steps (gm-ssteps): zigzag steps / article text ---- */
.gm-ssteps {
  padding: 80px var(--gm-gutter) 0;
}

.gm-ssteps .gm-ssteps__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-ssteps .gm-ssteps__row {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 0 24px;
}

.gm-ssteps .gm-ssteps__row--flip {
  flex-direction: row-reverse;
}

.gm-ssteps .gm-ssteps__text {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.gm-ssteps .gm-ssteps__step {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-900);
  font-weight: 600;
  line-height: var(--gm-scale-1100);
  color: var(--gm-red-600);
}

.gm-ssteps .gm-ssteps__body {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-ssteps .gm-ssteps__body p {
  margin: 0 0 8px;
}

.gm-ssteps .gm-ssteps__body p:last-child {
  margin-bottom: 0;
}

.gm-ssteps .gm-ssteps__body ol,
.gm-ssteps .gm-ssteps__body ul {
  margin: 0;
  padding-left: 24px;
}

.gm-ssteps .gm-ssteps__body a {
  color: var(--gm-red-600);
  text-decoration: underline;
}

.gm-ssteps .gm-ssteps__body a:hover {
  color: var(--gm-red-700);
}

.gm-ssteps .gm-ssteps__btn {
  margin-top: 16px; /* 24px gap + 16 = 40px to the text, as in Figma */
}

.gm-ssteps .gm-ssteps__media {
  flex: 0 0 610px;
  max-width: 610px;
}

.gm-ssteps .gm-ssteps__media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--gm-radius-card);
}

/* Article text when the post has no steps (one comfortable column). */
.gm-ssteps .gm-ssteps__article {
  max-width: 816px;
  margin: 0 auto;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-ssteps .gm-ssteps__article p {
  margin: 0 0 16px;
}

.gm-ssteps .gm-ssteps__article h2,
.gm-ssteps .gm-ssteps__article h3 {
  margin: 32px 0 12px;
  font-family: var(--gm-font-en);
  font-weight: 600;
  color: var(--gm-grey-950);
}

.gm-ssteps .gm-ssteps__article img {
  max-width: 100%;
  height: auto;
  border-radius: var(--gm-radius-media);
}

.gm-ssteps .gm-ssteps__article a {
  color: var(--gm-red-600);
  text-decoration: underline;
}

.gm-ssteps .gm-ssteps__line {
  width: 100%;
  margin: 32px 0 0;
  border: 0;
  border-top: 1px solid var(--gm-grey-200);
}

@media (max-width: 1200px) {
  .gm-ssteps .gm-ssteps__media {
    flex-basis: 46%;
    max-width: 46%;
  }
}

@media (max-width: 900px) {
  .gm-ssteps {
    padding-top: 40px;
  }
  .gm-ssteps .gm-ssteps__inner {
    gap: 40px;
  }
  .gm-ssteps .gm-ssteps__row,
  .gm-ssteps .gm-ssteps__row--flip {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 0;
  }
  .gm-ssteps .gm-ssteps__media {
    flex: none;
    max-width: 100%;
  }
  .gm-ssteps .gm-ssteps__step {
    font-size: 32px;
    line-height: 40px;
  }
  .gm-ssteps .gm-ssteps__media img {
    border-radius: var(--gm-radius-media);
  }
  .gm-ssteps .gm-ssteps__line {
    margin-top: 8px;
  }
}

/* ---- GM Support Related (gm-srel) ---- */
.gm-srel {
  padding: 64px var(--gm-gutter) 96px;
}

.gm-srel .gm-srel__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px 24px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-srel .gm-srel__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-srel .gm-srel__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch; /* v0.16.8: all cards in a row get the same height */
}

@media (max-width: 1024px) {
  .gm-srel .gm-srel__grid {
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .gm-srel .gm-srel__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .gm-srel {
    padding-block: 40px 64px;
  }
  .gm-srel .gm-srel__inner {
    gap: 24px;
  }
  .gm-srel .gm-srel__title {
    order: 0;
    width: 100%;
    font-size: 24px;
    line-height: 32px;
  }
  .gm-srel .gm-srel__grid {
    order: 1;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .gm-srel .gm-srel__all {
    order: 2;
    margin: 0 auto;
  }
}


/* ==========================================================
   RESOURCES / CONTACT / SEARCH v0.14 — search
   ========================================================== */
/* ============================================================
   SEARCH (gm-search overlay + gm-search-results page)
   Figma: Search 77278:47242 / 47910 / 48578 (overlay states),
   Search Result Page 77278:46895, mobiles 81001:34712 / 34714.
   ============================================================ */

/* ---------- Shared rounded search box (results hero) ---------- */
.gm-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 560px;
  max-width: 100%;
  height: 48px;
  padding: 0 12px;
  border: 1px solid var(--gm-grey-200);
  border-radius: 24px;
  background: var(--gm-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.gm-search-box:focus-within {
  border-color: var(--gm-red-600);
}

.gm-search-box .gm-search-box__submit {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gm-grey-950);
  cursor: pointer;
}

.gm-search-box .gm-search-box__submit svg {
  width: 24px;
  height: 24px;
}

.gm-search-box .gm-search-box__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey-950);
}

.gm-search-box .gm-search-box__input::placeholder {
  color: #a3a3a3;
  opacity: 1;
}

/* v0.16.8 — the theme / Elementor "Form fields" kit styles gave the input its
   own border, padding and white background. It grew taller than the box and
   covered the box's top and bottom border. :not(#gm) beats those styles. */
.gm-search-box:not(#gm) .gm-search-box__input,
.gm-search-box:not(#gm) .gm-search-box__input:focus {
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
}

.gm-search-box:not(#gm) .gm-search-box__input::-webkit-search-decoration {
  -webkit-appearance: none;
}

.gm-search-box:not(#gm) .gm-search-box__submit,
.gm-search-box:not(#gm) .gm-search-box__submit:hover,
.gm-search-box:not(#gm) .gm-search-box__submit:focus {
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: var(--gm-grey-950);
}

/* ============================================================
   GM SEARCH — overlay under the header
   ============================================================ */
.gm-search {
  position: fixed;
  top: var(--gm-search-top, 0);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1400;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

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

.gm-search .gm-search__bar {
  pointer-events: auto;
  background: var(--gm-white);
  border-bottom: 1px solid #f5f5f5;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.25s var(--gm-ease), opacity 0.25s ease;
}

.gm-search.is-open .gm-search__bar,
.gm-search.gm-search--preview .gm-search__bar {
  transform: none;
  opacity: 1;
}

.gm-search .gm-search__row {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 80px;
  padding: 12px 64px;
}

.gm-search .gm-search__form {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.gm-search .gm-search__submit,
.gm-search .gm-search__close {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--gm-grey-950);
  cursor: pointer;
  transition: color 0.2s ease;
}

.gm-search .gm-search__submit svg,
.gm-search .gm-search__close svg {
  width: 32px;
  height: 32px;
}

.gm-search .gm-search__close svg {
  width: 24px;
  height: 24px;
}

.gm-search .gm-search__submit:hover,
.gm-search .gm-search__close:hover {
  color: var(--gm-red-600);
}

.gm-search .gm-search__submit:focus-visible,
.gm-search .gm-search__close:focus-visible,
.gm-search .gm-search__chip:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
  border-radius: 4px;
}

.gm-search .gm-search__input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: none;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey-950);
}

.gm-search .gm-search__input::placeholder {
  color: #a3a3a3;
  opacity: 1;
}

.gm-search .gm-search__suggest {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  padding: 0 64px 20px;
}

.gm-search .gm-search__suggest-label {
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 22px;
  color: var(--gm-grey);
}

.gm-search .gm-search__chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--gm-grey-200);
  border-radius: 999px;
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 22px;
  color: #404040;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.gm-search .gm-search__chip:hover {
  border-color: var(--gm-red-600);
  background: var(--gm-red-50);
  color: var(--gm-red-600);
}

.gm-search .gm-search__scrim {
  flex: 1;
  pointer-events: auto;
  background: rgba(215, 38, 56, 0.04);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* Editor preview: shown in place, not over the page */
.gm-search.gm-search--preview {
  position: static;
  pointer-events: auto;
}

.gm-search.gm-search--preview .gm-search__scrim {
  flex: none;
  min-height: 160px;
}

@media (max-width: 1024px) {
  .gm-search .gm-search__row {
    padding: 12px var(--gm-gutter);
  }
  .gm-search .gm-search__suggest {
    padding: 0 var(--gm-gutter) 20px;
  }
}

@media (max-width: 767px) {
  .gm-search .gm-search__row {
    min-height: 50px;
    padding: 8px var(--gm-gutter);
    gap: 12px;
  }
  .gm-search .gm-search__form {
    gap: 12px;
  }
  .gm-search .gm-search__submit,
  .gm-search .gm-search__submit svg {
    width: 24px;
    height: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-search .gm-search__bar {
    transition: none;
    transform: none;
  }
}

/* ============================================================
   GM SEARCH RESULTS
   ============================================================ */

/* ---------- Hero (pink glow, heading, search box) ---------- */
.gm-sres .gm-sres__hero {
  padding: 96px var(--gm-gutter);
  background:
    linear-gradient(
      -78.76deg,
      rgba(246, 135, 139, 0.1) 0.13%,
      rgba(255, 255, 255, 0.2) 25.9%,
      rgba(255, 255, 255, 0.2) 66.27%,
      rgba(245, 119, 123, 0.1) 98.97%
    ),
    var(--gm-white);
}

.gm-sres .gm-sres__hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-sres .gm-sres__hero-title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-1000);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
  text-align: center;
}

/* ---------- Results body ---------- */
.gm-sres .gm-sres__body {
  padding: 48px var(--gm-gutter) 96px;
  background: var(--gm-white);
}

.gm-sres .gm-sres__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-sres .gm-sres__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.gm-sres .gm-sres__label {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-sres .gm-sres__count {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey);
}

/* ---------- Groups ---------- */
.gm-sres .gm-sres__group {
  padding-bottom: 72px;
  border-bottom: 1px solid var(--gm-red);
  margin-bottom: 40px;
}

.gm-sres .gm-sres__group:last-of-type {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.gm-sres .gm-sres__group-title {
  margin: 0 0 40px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-grey-950);
}

/* ---------- Cards with a picture (Promotions / News) ---------- */
.gm-sres .gm-sres__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gm-sres .gm-ncard__text {
  -webkit-line-clamp: 2;
}

/* Promotions: the photo fills a square with rounded top corners */
.gm-sres .gm-sres__card--photo .gm-ncard__media {
  border-radius: 16px 16px 0 0;
  background: transparent;
}

.gm-sres .gm-sres__card--photo .gm-ncard__media img {
  object-fit: cover;
}

/* News: light grey card, no shadow (Figma "Event & Webinars" result) */
.gm-sres .gm-sres__group--news .gm-ncard {
  background: #f5f5f5;
  box-shadow: none;
}

.gm-sres .gm-sres__group--news .gm-ncard:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.07);
}

/* ---------- Row cards (Pages / FAQ) ---------- */
.gm-sres .gm-sres__rows {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gm-sres .gm-sres__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

.gm-sres .gm-sres__row-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.gm-sres .gm-sres__row-title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-xl);
  font-weight: 500;
  line-height: 26px;
  color: #000;
}

.gm-sres .gm-sres__row-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.gm-sres .gm-sres__row-link:hover {
  color: var(--gm-red-600);
}

.gm-sres .gm-sres__row-body {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-sres .gm-sres__row-btn {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* ---------- The found word ---------- */
.gm-sres .gm-sres__hl {
  color: var(--gm-red-600);
}

/* ---------- Nothing found / no word yet ---------- */
.gm-sres .gm-sres__empty {
  padding: 64px 0;
  text-align: center;
}

.gm-sres .gm-sres__empty-title {
  margin: 0 0 8px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-700);
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-grey-950);
}

.gm-sres .gm-sres__empty-text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  line-height: 24px;
  color: var(--gm-grey);
}

/* ---------- Loading (instant page switch) ---------- */
.gm-sres.is-loading .gm-sres__group,
.gm-sres.is-loading .gm-pager {
  opacity: 0.5;
  transition: opacity 0.15s ease;
}

/* ---------- Smaller screens ---------- */
@media (max-width: 1024px) {
  .gm-sres .gm-sres__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 767px) {
  .gm-sres .gm-sres__hero {
    padding: 32px var(--gm-gutter);
  }
  .gm-sres .gm-sres__hero-inner {
    gap: 20px;
  }
  .gm-sres .gm-sres__hero-title {
    font-size: 24px;
    line-height: 34px;
  }
  .gm-search-box .gm-search-box__input {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-sres .gm-sres__body {
    padding: 28px var(--gm-gutter) 40px;
  }
  .gm-sres .gm-sres__head {
    margin-bottom: 24px;
  }
  .gm-sres .gm-sres__label {
    font-size: 20px;
    line-height: 30px;
  }
  .gm-sres .gm-sres__count {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-sres .gm-sres__group {
    padding-bottom: 40px;
    margin-bottom: 24px;
  }
  .gm-sres .gm-sres__group-title {
    margin-bottom: 14px;
    font-size: 17px;
    line-height: 26px;
  }
  .gm-sres .gm-sres__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  /* Figma mobile: promo photos become wide (329 × 200) */
  .gm-sres .gm-sres__card--photo .gm-ncard__media {
    aspect-ratio: 329 / 200;
  }
  .gm-sres .gm-sres__group--news .gm-ncard .gm-ncard__media {
    aspect-ratio: auto;
    height: 200px;
  }
  .gm-sres .gm-sres__rows {
    gap: 16px;
  }
  /* Figma mobile FAQ result: text with the button under it */
  .gm-sres .gm-sres__row {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }
  .gm-sres .gm-sres__row-title {
    font-size: 15px;
    line-height: 23px;
  }
  .gm-sres .gm-sres__row-body {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-sres .gm-sres__empty {
    padding: 40px 0;
  }
}


/* ==========================================================
   RESOURCES / CONTACT / SEARCH v0.14 — contact
   ========================================================== */
/* ============================================================
   CONTACT PAGE — gm-contact-info, gm-contact-channels,
   gm-contact-map, gm-form-shell  (Figma Contact-Support 77278:49221,
   mobile 81001:29781). Merged into widgets.css by the lead.
   Non-token colours from Figma: #555 (grey/33 text), #f5f5f5
   (innovative-grey/100 card), #9e9e9e (grey/62 labels),
   #19a24f (spring-green/37 map dot).
   ============================================================ */

/* ---- Shared white contact row (office rows + department cards) ---- */
.gm-crow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 14px;
  background: var(--gm-white);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  list-style: none;
}

.gm-crow .gm-crow__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--gm-red-600);
}

.gm-crow .gm-crow__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gm-crow .gm-crow__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.gm-crow .gm-crow__label {
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-crow .gm-crow__value {
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-ink);
  overflow-wrap: anywhere;
}

.gm-crow .gm-crow__link {
  color: inherit;
  text-decoration: none;
}

.gm-crow .gm-crow__link:hover {
  text-decoration: underline;
}

/* ============================================================
   GM CONTACT INFO (gm-contact-info) — section 1
   ============================================================ */
.gm-cinfo {
  padding: 96px var(--gm-gutter) 48px;
}

.gm-cinfo .gm-cinfo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-cinfo .gm-cinfo__title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-ink);
}

.gm-cinfo .gm-cinfo__text {
  margin: 13px 0 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: #555;
}

.gm-cinfo .gm-cinfo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}

.gm-cinfo .gm-cinfo__card {
  padding: 24px;
  background: #f5f5f5;
  border-radius: var(--gm-radius-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-cinfo .gm-cinfo__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-cinfo .gm-crow__value {
  color: var(--gm-red-600);
}

@media (max-width: 1024px) {
  .gm-cinfo {
    padding-top: 64px;
  }
  .gm-cinfo .gm-cinfo__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .gm-cinfo {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  .gm-cinfo .gm-cinfo__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-cinfo .gm-cinfo__text {
    font-size: var(--gm-body-md);
  }
  .gm-cinfo .gm-cinfo__actions {
    margin-top: 28px;
  }
  .gm-cinfo .gm-cinfo__card {
    padding: 16px;
  }
}

/* ============================================================
   GM CONTACT CHANNELS (gm-contact-channels) — section 2
   ============================================================ */
.gm-cchan {
  padding: 48px var(--gm-gutter);
}

.gm-cchan .gm-cchan__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-cchan .gm-cchan__head {
  max-width: 1040px;
  text-align: center;
}

.gm-cchan .gm-cchan__title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-ink);
}

.gm-cchan .gm-cchan__text {
  margin: 18px 0 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: #555;
}

.gm-cchan .gm-cchan__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(330px, auto)); /* cards size to their text, like Figma (≥330px) */
  justify-content: center;
  gap: 24px;
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 767px) {
  .gm-cchan {
    padding: 32px var(--gm-gutter);
  }
  .gm-cchan .gm-cchan__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-cchan .gm-cchan__text {
    margin-top: 12px;
    font-size: var(--gm-body-md);
  }
  .gm-cchan .gm-cchan__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
}

/* ============================================================
   GM CONTACT MAP (gm-contact-map) — section 4
   ============================================================ */
.gm-cmap {
  padding: 80px var(--gm-gutter);
  background: var(--gm-white);
  scroll-margin-top: 96px; /* #gm-contact-map anchor under the sticky header */
}

.gm-cmap .gm-cmap__inner {
  display: flex;
  flex-direction: column;
  gap: 64px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-cmap .gm-cmap__title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-ink);
}

.gm-cmap .gm-cmap__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(480px, 100%), 1fr));
  gap: 64px;
}

.gm-cmap .gm-cmap__office {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.gm-cmap .gm-cmap__frame {
  position: relative;
  aspect-ratio: 640 / 443;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gm-grey-50);
}

.gm-cmap .gm-cmap__frame iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gm-cmap .gm-cmap__empty {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gm-grey-200);
}

.gm-cmap .gm-cmap__empty-icon {
  width: 48px;
  height: 48px;
  color: var(--gm-grey);
}

.gm-cmap .gm-cmap__pin-label {
  position: absolute;
  left: 50%;
  top: 65%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--gm-white);
  border-radius: var(--gm-radius-pill);
  box-shadow: 0 6px 9px rgba(0, 0, 0, 0.12);
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 600;
  line-height: 24px; /* pill = 44px tall, as in Figma */
  color: var(--gm-ink);
  white-space: nowrap;
  pointer-events: none;
  max-width: calc(100% - 24px);
  overflow: hidden;
  text-overflow: ellipsis;
}

.gm-cmap .gm-cmap__pin-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: #19a24f;
  box-shadow: 0 0 8px rgba(25, 162, 79, 0.6);
}

.gm-cmap .gm-cmap__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-cmap .gm-cmap__item {
  display: flex;
  gap: 14px;
}

.gm-cmap .gm-cmap__item-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: var(--gm-red-600);
}

.gm-cmap .gm-cmap__svg {
  display: block;
  width: 100%;
  height: 100%;
}

.gm-cmap .gm-cmap__item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gm-cmap .gm-cmap__label {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: #9e9e9e;
}

.gm-cmap .gm-cmap__value {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey-950);
  overflow-wrap: anywhere;
}

.gm-cmap .gm-cmap__phone {
  font-weight: 500;
  color: var(--gm-red-600);
  text-decoration: none;
}

.gm-cmap .gm-cmap__phone:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .gm-cmap {
    padding: 64px var(--gm-gutter);
  }
  .gm-cmap .gm-cmap__inner {
    gap: 40px;
  }
  .gm-cmap .gm-cmap__grid {
    gap: 48px;
  }
}

@media (max-width: 767px) {
  .gm-cmap {
    padding: 48px var(--gm-gutter);
  }
  .gm-cmap .gm-cmap__title {
    font-size: 28px;
    line-height: 38px;
  }
  .gm-cmap .gm-cmap__inner {
    gap: 24px;
  }
  .gm-cmap .gm-cmap__grid {
    gap: 40px;
  }
  .gm-cmap .gm-cmap__details {
    gap: 16px;
  }
}

/* ============================================================
   GM FORM SHELL (gm-form-shell) — form look only, no submission.
   .gm-fshell__embed styles a form plugin's own markup (CF7 /
   Fluent Forms …): labels, inputs, textarea, select, submit.
   ============================================================ */
.gm-fshell {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-fshell.gm-fshell--card {
  padding: 24px;
  background: #f5f5f5;
  border-radius: var(--gm-radius-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.gm-fshell .gm-fshell__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
}

.gm-fshell .gm-fshell__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.gm-fshell .gm-fshell__field--full {
  grid-column: 1 / -1;
}

.gm-fshell .gm-fshell__actions {
  align-items: flex-start;
  margin-top: 8px;
}

.gm-fshell label,
.gm-fshell .gm-fshell__label {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-ink);
}

.gm-fshell input[type="text"],
.gm-fshell input[type="email"],
.gm-fshell input[type="tel"],
.gm-fshell input[type="url"],
.gm-fshell input[type="number"],
.gm-fshell input[type="date"],
.gm-fshell textarea,
.gm-fshell select {
  width: 100%;
  padding: 11px 15px;
  background: var(--gm-white);
  border: 1px solid var(--gm-grey-200);
  border-radius: var(--gm-radius-field);
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-fshell input::placeholder,
.gm-fshell textarea::placeholder {
  color: var(--gm-grey);
  opacity: 1;
}

.gm-fshell input:focus,
.gm-fshell textarea:focus,
.gm-fshell select:focus {
  outline: none;
  border-color: var(--gm-red-600);
  box-shadow: 0 0 0 3px var(--gm-red-50);
}

.gm-fshell textarea {
  min-height: 140px;
  resize: vertical;
}

/* Embedded form plugin: spacing + submit button in the GM look. */
.gm-fshell .gm-fshell__embed p {
  margin: 0 0 16px;
}

.gm-fshell .gm-fshell__embed label {
  display: block;
  margin-bottom: 6px;
}

.gm-fshell .gm-fshell__embed input[type="submit"],
.gm-fshell .gm-fshell__embed button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 23px;
  background: var(--gm-red-600);
  border: 1px solid var(--gm-red-600);
  border-radius: var(--gm-radius-btn);
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-white);
  cursor: pointer;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.gm-fshell .gm-fshell__embed input[type="submit"]:hover,
.gm-fshell .gm-fshell__embed button[type="submit"]:hover {
  background: var(--gm-red-700);
  border-color: var(--gm-red-700);
}

@media (max-width: 767px) {
  .gm-fshell.gm-fshell--card {
    padding: 16px;
  }
  .gm-fshell .gm-fshell__grid {
    grid-template-columns: 1fr;
  }
  .gm-fshell .gm-fshell__field--half {
    grid-column: 1 / -1;
  }
}

/* ---- Contact Form 7 inside the form shell: same look as the design ---- */
.gm-fshell .gm-fshell__embed .wpcf7-form-control-wrap {
  display: block;
}

.gm-fshell .gm-fshell__embed .wpcf7-form p {
  margin: 0;
}

.gm-fshell .gm-fshell__embed .wpcf7-not-valid-tip {
  display: block;
  margin-top: 6px;
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 20px;
  color: var(--gm-red-600);
}

.gm-fshell .gm-fshell__embed .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--gm-grey-200);
  border-radius: var(--gm-radius-chip);
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  color: var(--gm-ink);
}

.gm-fshell .gm-fshell__embed .wpcf7-form.sent .wpcf7-response-output {
  border-color: var(--gm-success-500);
  background: var(--gm-success-50);
}

.gm-fshell .gm-fshell__embed .wpcf7-form.invalid .wpcf7-response-output,
.gm-fshell .gm-fshell__embed .wpcf7-form.failed .wpcf7-response-output {
  border-color: var(--gm-red-200);
  background: var(--gm-red-50);
}

.gm-fshell .gm-fshell__embed .wpcf7-spinner {
  margin: 0 0 0 12px;
}

.gm-fshell .gm-fshell__embed input[type="submit"]::after {
  content: none;
}

.gm-fshell .gm-fshell__embed .gm-fshell__actions input[type="submit"] {
  min-width: 160px;
}

/* ==========================================================
   TRAINING CENTER v0.15 — training
   ========================================================== */
/* ============================================================
   TRAINING CENTER page widgets:
   GM Training Topics (gm-trt) · GM Video Guides (gm-vg) ·
   GM Question Band (gm-qband)
   To be merged into widgets.css by the lead.
   ============================================================ */

/* ---------- GM Training Topics ---------- */
.gm-trt {
  padding: 96px var(--gm-gutter);
  background: linear-gradient(47deg, var(--gm-white) 58%, #fee6e5 98%);
}

/* v0.16.8: Figma Training Center — one smooth diagonal from light grey to
   soft pink behind the big page title AND the tutorials (no seam). */
.gm-trt.gm-trt--bg-figma {
  background: linear-gradient(125.88deg, #fafafa 43.5%, #fee6e5 102.5%);
}

.gm-trt.gm-trt--bg-none {
  background: none;
}

.gm-trt .gm-trt__ptitle {
  max-width: 888px;
  margin: 0 auto 96px;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-scale-1000);
  font-weight: 600;
  line-height: 56px;
  text-align: center;
  color: var(--gm-grey-950);
}

@media (max-width: 767px) {
  .gm-trt .gm-trt__ptitle {
    margin-bottom: 40px;
    font-size: 30px;
    line-height: 40px;
  }
}

.gm-trt .gm-trt__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-trt .gm-trt__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-trt .gm-trt__body {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
}

.gm-trt .gm-trt__tabs {
  display: flex;
  flex: 0 1 432px;
  flex-direction: column;
  gap: 24px;
  min-width: 0;
}

.gm-trt .gm-trt__tabs .gm-trt__tab {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-height: 96px;
  margin: 0;
  padding: 23px 24px;
  border: 1px solid var(--gm-grey-200);
  border-radius: var(--gm-radius-field);
  background: var(--gm-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  color: var(--gm-grey-950);
  font-family: var(--gm-font-th);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: normal;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-trt .gm-trt__ico {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--gm-red-600);
}

.gm-trt .gm-trt__tabs .gm-trt__tab:hover,
.gm-trt .gm-trt__tabs .gm-trt__tab:focus {
  border-color: var(--gm-red-200);
  background: var(--gm-white);
  color: var(--gm-red-600);
}

.gm-trt .gm-trt__tabs .gm-trt__tab.is-active {
  border-color: transparent;
  background: linear-gradient(90deg, var(--gm-red-600), #991b28);
  box-shadow: none;
  color: var(--gm-white);
}

.gm-trt .gm-trt__tab.is-active .gm-trt__ico {
  color: var(--gm-white);
}

.gm-trt .gm-trt__tabs .gm-trt__tab:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-trt .gm-trt__panels {
  flex: 1 1 0;
  min-width: 0;
}

.gm-trt .gm-trt__panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-content: space-between;
  height: 100%;
  padding: 24px;
  border: 1px solid var(--gm-grey-200);
  border-radius: var(--gm-radius-field);
  background: var(--gm-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.gm-trt .gm-trt__panel[hidden] {
  display: none;
}

.gm-trt .gm-trt__panel.is-active {
  animation: gm-fade-in 0.35s ease both;
}

.gm-trt .gm-trt__group {
  padding: 16px;
}

.gm-trt .gm-trt__group-title {
  margin: 0 0 16px;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-grey-950);
}

.gm-trt .gm-trt__links {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-trt .gm-trt__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px;
  border-radius: 8px;
  color: var(--gm-grey-950);
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.gm-trt a.gm-trt__link:hover,
.gm-trt a.gm-trt__link:focus {
  background: var(--gm-red-50);
  color: var(--gm-grey-950);
}

.gm-trt a.gm-trt__link:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-trt .gm-trt__licon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: var(--gm-red-600);
}

@media (max-width: 1024px) {
  .gm-trt .gm-trt__body {
    flex-direction: column;
  }
  .gm-trt .gm-trt__tabs {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .gm-trt {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .gm-trt .gm-trt__inner {
    gap: 16px;
  }
  .gm-trt .gm-trt__title {
    font-size: 20px;
    line-height: 30px;
  }
  .gm-trt .gm-trt__tabs {
    gap: 10px;
  }
  .gm-trt .gm-trt__tabs .gm-trt__tab {
    gap: 24px;
    min-height: 72px;
    padding: 11px 16px;
    font-size: 18px;
    line-height: 26px;
  }
  .gm-trt .gm-trt__panel {
    grid-template-columns: 1fr;
    gap: 14px;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }
  .gm-trt .gm-trt__group-title {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 21px;
  }
  .gm-trt .gm-trt__link {
    font-size: 14px;
    line-height: 21px;
  }
}

/* ---------- GM Video Guides ---------- */
.gm-vg {
  position: relative;
  padding: 96px var(--gm-gutter) 80px;
  background: var(--gm-white);
  overflow: hidden;
}

.gm-vg .gm-vg__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
  pointer-events: none;
}

.gm-vg .gm-vg__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-vg .gm-vg__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-en);
  font-size: 32px;
  font-weight: 600;
  line-height: 40px;
  color: var(--gm-grey-950);
}

.gm-vg .gm-vg__pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  width: fit-content;
  padding: 8px 12px;
  border-radius: var(--gm-radius-pill);
  background: var(--gm-red-50);
}

.gm-vg .gm-vg__pills .gm-vg__pill {
  appearance: none;
  margin: 0;
  padding: 8px 18px 9px;
  border: 0;
  border-radius: var(--gm-radius-pill);
  background: none;
  box-shadow: none;
  color: #404040;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.gm-vg .gm-vg__pills .gm-vg__pill:hover,
.gm-vg .gm-vg__pills .gm-vg__pill:focus {
  background: none;
  color: var(--gm-red-600);
}

.gm-vg .gm-vg__pills .gm-vg__pill.is-active {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-vg .gm-vg__pills .gm-vg__pill:focus-visible {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 2px;
}

.gm-vg .gm-vg__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px 24px;
}

.gm-vg .gm-vg__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 24px;
  border-radius: var(--gm-radius-field);
  background: var(--gm-white);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.2s ease;
}

.gm-vg .gm-vg__card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.gm-vg .gm-vg__card[hidden] {
  display: none;
}

.gm-vg .gm-vg__media {
  aspect-ratio: 395 / 218; /* v0.16.8: landscape cover (Figma update) */
  border: 1px solid #f5f5f5;
  border-radius: 8px;
  background: var(--gm-grey-50);
  overflow: hidden;
}

.gm-vg .gm-vg__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-vg .gm-vg__body {
  display: flex;
  flex-direction: column;
}

.gm-vg .gm-vg__ctitle {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-grey-950);
}

.gm-vg .gm-vg__link {
  color: inherit;
  text-decoration: none;
}

.gm-vg .gm-vg__link:hover,
.gm-vg .gm-vg__link:focus {
  color: var(--gm-red-600);
}

.gm-vg .gm-vg__text {
  margin: 8px 0 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}

.gm-vg .gm-vg__date {
  margin: 16px 0 0;
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #a3a3a3;
}

@media (max-width: 1024px) {
  .gm-vg .gm-vg__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .gm-vg {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .gm-vg .gm-vg__inner {
    gap: 20px;
  }
  .gm-vg .gm-vg__title {
    font-size: 20px;
    line-height: 30px;
  }
  .gm-vg .gm-vg__scroll {
    margin: 0 calc(-1 * var(--gm-gutter));
    padding: 4px var(--gm-gutter);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .gm-vg .gm-vg__scroll::-webkit-scrollbar {
    display: none;
  }
  .gm-vg .gm-vg__pills {
    flex-wrap: nowrap;
  }
  .gm-vg .gm-vg__pills .gm-vg__pill {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-vg .gm-vg__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gm-vg .gm-vg__media {
    aspect-ratio: 313 / 190;
  }
  .gm-vg .gm-vg__ctitle {
    font-size: 18px;
    line-height: 26px;
  }
  .gm-vg .gm-vg__text {
    font-size: 14px;
    line-height: 21px;
  }
  .gm-vg .gm-vg__date {
    font-size: 12px;
    line-height: 19px;
  }
}

/* v0.16.8 — Video Guides: same text lines in every card + whole card link */
.gm-vg .gm-vg__card {
  position: relative;
}

.gm-vg .gm-vg__body {
  flex: 1 1 auto;
}

/* title always takes 2 lines, text always 2 lines, date sits at the bottom */
.gm-vg .gm-vg__ctitle {
  display: -webkit-box;
  min-height: calc(2 * 32px);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gm-vg .gm-vg__text {
  display: -webkit-box;
  min-height: calc(2 * 24px);
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gm-vg .gm-vg__date {
  margin-top: auto;
  padding-top: 16px;
}

.gm-vg .gm-vg__card--link {
  cursor: pointer;
}

.gm-vg .gm-vg__card--link .gm-vg__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.gm-vg .gm-vg__card--link:hover .gm-vg__link,
.gm-vg .gm-vg__card--link:focus-within .gm-vg__link {
  color: var(--gm-red-600);
}

.gm-vg .gm-vg__card--link:focus-within {
  outline: 2px solid var(--gm-red-600);
  outline-offset: 3px;
}

.gm-vg .gm-vg__card--link .gm-vg__link:focus-visible {
  outline: none;
}

@media (max-width: 767px) {
  .gm-vg .gm-vg__ctitle {
    min-height: calc(2 * 26px);
  }
  .gm-vg .gm-vg__text {
    min-height: calc(2 * 21px);
  }
  .gm-vg .gm-vg__media {
    aspect-ratio: 395 / 218;
  }
}

/* ---------- GM Question Band ---------- */
.gm-qband {
  padding: 0 var(--gm-gutter) 96px;
}

.gm-qband .gm-qband__box {
  position: relative;
  max-width: var(--gm-card-max);
  min-height: 371px;
  margin: 0 auto;
  border-radius: var(--gm-radius-card);
  background: linear-gradient(180deg, var(--gm-white) 0%, #fdeeed 100%);
  overflow: hidden;
}

.gm-qband .gm-qband__shape {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, var(--gm-red) 0%, var(--gm-red-600) 45%, #c81f30 100%);
  clip-path: polygon(0 0, 68% 0, 89% 50%, 68% 100%, 0 100%);
}

.gm-qband .gm-qband__plane {
  position: absolute;
  top: 50%;
  left: 59%;
  width: 26.5%;
  height: auto;
  transform: translateY(-50%);
}

.gm-qband .gm-qband__content {
  position: relative;
  max-width: 766px;
  padding: 53px 58px 44px;
  color: var(--gm-white);
}

.gm-qband .gm-qband__title {
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-white);
}

.gm-qband .gm-qband__text {
  margin: 16px 0 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-xl);
  font-weight: 400;
  line-height: 26px;
  color: var(--gm-white);
}

.gm-qband .gm-qband__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin-top: 80px;
}

.gm-qband .gm-qband__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--gm-radius-btn);
  background: var(--gm-white);
  color: var(--gm-red-600);
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.gm-qband .gm-qband__btn:hover,
.gm-qband .gm-qband__btn:focus {
  background: var(--gm-red-50);
  color: var(--gm-red-600);
}

.gm-qband .gm-qband__btn:focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: 3px;
}

.gm-qband .gm-qband__btn .gm-icon {
  width: 24px;
  height: 24px;
}

.gm-qband .gm-qband__contact {
  margin: 0;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-white);
}

.gm-qband .gm-qband__contact-link {
  color: var(--gm-white);
  font-weight: 600;
  text-decoration: underline;
}

.gm-qband a.gm-qband__contact-link:hover,
.gm-qband a.gm-qband__contact-link:focus {
  color: var(--gm-red-50);
}

@media (max-width: 1024px) {
  .gm-qband .gm-qband__content {
    max-width: 60%;
    padding: 40px;
  }
  .gm-qband .gm-qband__title {
    font-size: 32px;
    line-height: 44px;
  }
  .gm-qband .gm-qband__actions {
    margin-top: 40px;
  }
}

@media (max-width: 767px) {
  .gm-qband {
    padding-bottom: 40px;
  }
  .gm-qband .gm-qband__box {
    min-height: 0;
    background: none;
  }
  .gm-qband .gm-qband__shape {
    clip-path: none;
  }
  .gm-qband .gm-qband__plane {
    display: none;
  }
  .gm-qband .gm-qband__content {
    max-width: none;
    padding: 28px 20px;
  }
  .gm-qband .gm-qband__title {
    font-size: 24px;
    line-height: 36px;
  }
  .gm-qband .gm-qband__text {
    margin-top: 16px;
    font-size: 14px;
    line-height: 23px;
  }
  .gm-qband .gm-qband__actions {
    align-items: stretch;
    margin-top: 40px;
  }
  .gm-qband .gm-qband__btn {
    width: 100%;
  }
  .gm-qband .gm-qband__contact {
    font-size: 14px;
    line-height: 21px;
  }
}

/* Question band: soft pink section background (Figma Training Center) */
.gm-qband.gm-qband--pink {
  background: linear-gradient(180deg, rgba(254, 242, 242, 0) 0%, var(--gm-red-50) 78%);
}

/* Training topics: uploaded own icon — red normally, white on the active topic */
.gm-trt .gm-trt__ico--img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(21%) sepia(62%) saturate(5000%) hue-rotate(341deg) brightness(88%) contrast(95%); /* red-600 */
}

.gm-trt .gm-trt__tab.is-active .gm-trt__ico--img {
  filter: brightness(0) invert(1); /* white */
}

/* ==========================================================
   PRODUCTS & FEATURES v0.16 — products
   ========================================================== */
/* ==========================================================================
   Products & Features page (Figma section "Products" 77278:31661)
   gm-products-main (.gm-prm) · gm-products-more (.gm-pra) ·
   gm-product-header (.gm-prdh, reuses .gm-shero) · gm-product-showcase
   (.gm-prsh) · gm-product-sections (.gm-prds, reuses .gm-sc) ·
   gm-product-bens (.gm-prb) · phone slider bar (.gm-prc)
   ========================================================================== */

/* ---------- Main products: 3 big cards -------------------------------- */

.gm-prm {
  --gm-prm-media: 354px;
  padding: 96px var(--gm-gutter);
  background: var(--gm-white);
}

.gm-prm .gm-prm__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-prm .gm-head,
.gm-pra .gm-head {
  align-items: center;
  text-align: center;
}

.gm-prm .gm-prm__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-prm .gm-prm__slide {
  display: flex;
  margin: 0;
  padding: 0;
}

.gm-prm .gm-prm__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--gm-grey-200);
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s var(--gm-ease, ease), transform 0.25s var(--gm-ease, ease);
}

.gm-prm .gm-prm__card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.gm-prm .gm-prm__media {
  height: var(--gm-prm-media);
  flex: none;
  background: #d9d9d9;
}

.gm-prm .gm-prm__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-prm .gm-prm__badge,
.gm-pra .gm-pra__badge {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--gm-white);
  color: var(--gm-red-600);
  filter: drop-shadow(0 4px 2px rgba(0, 0, 0, 0.25));
  z-index: 1;
}

.gm-prm .gm-prm__badge {
  top: calc(var(--gm-prm-media) - 46px);
  right: 25px;
  width: 90px;
  height: 90px;
}

.gm-prm .gm-prm__ico,
.gm-pra .gm-pra__ico {
  display: block;
  width: 48px;
  height: 48px;
}

.gm-prm .gm-prm__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.gm-prm .gm-prm__title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-red-600);
}

.gm-prm .gm-prm__link,
.gm-pra .gm-pra__link {
  color: inherit;
  text-decoration: none;
}

.gm-prm .gm-prm__link:hover,
.gm-pra .gm-pra__link:hover {
  color: var(--gm-red-700);
}

/* the title link covers the whole card (the button stays on top) */
.gm-prm .gm-prm__link::after,
.gm-pra .gm-pra__link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.gm-prm .gm-prm__btn,
.gm-pra .gm-pra__btn {
  position: relative;
  z-index: 1;
}

.gm-prm .gm-prm__points {
  margin: 0;
  padding: 0 0 0 24px;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey);
}

.gm-prm .gm-prm__points li {
  margin: 0;
}

.gm-prm .gm-prm__btn {
  margin-top: auto;
}

/* phone slider chrome — hidden on wide screens */
.gm-prc .gm-prc__bar {
  display: none;
}

/* ---------- Additional services: 450 × 450 cards ----------------------- */

.gm-pra {
  --gm-pra-media: 218px;
  padding: 96px var(--gm-gutter);
  background: var(--gm-white);
}

.gm-pra .gm-pra__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-pra .gm-pra__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-pra .gm-pra__cell {
  display: flex;
  width: 450px;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.gm-pra .gm-pra__card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 450px;
  overflow: hidden;
  border: 1px solid var(--gm-grey-200);
  border-radius: 16px;
  background: var(--gm-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s var(--gm-ease, ease), transform 0.25s var(--gm-ease, ease);
}

.gm-pra .gm-pra__card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.gm-pra .gm-pra__media {
  height: var(--gm-pra-media);
  flex: none;
  background: #d9d9d9;
}

.gm-pra .gm-pra__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gm-pra .gm-pra__badge {
  top: calc(var(--gm-pra-media) - 36px);
  right: 25px;
  width: 70px;
  height: 70px;
}

.gm-pra .gm-pra__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
}

.gm-pra .gm-pra__title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--gm-red-600);
}

.gm-pra .gm-pra__text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey);
}

.gm-pra .gm-pra__btn {
  margin-top: auto;
}

/* ---------- Product detail: showcase (bar + video + features) ---------- */

.gm-prsh {
  padding: 0 var(--gm-gutter) 48px;
}

.gm-prsh .gm-prsh__inner {
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-prsh .gm-prsh__bar {
  border-radius: 24px 24px 0 0;
  background: linear-gradient(180deg, var(--gm-red-600), #991b28);
  padding: 24px 40px; /* Figma bar height 88 = 40px pill + 2 × 24 */
}

.gm-prsh .gm-prsh__pills {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.gm-prsh .gm-prsh__pills::-webkit-scrollbar {
  display: none;
}

.gm-prsh .gm-prsh__item {
  flex: none;
  margin: 0;
  padding: 0;
}

.gm-prsh .gm-prsh__pill {
  display: block;
  min-width: 166px;
  padding: 8px 18px;
  border-radius: 999px;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  text-align: center;
  white-space: nowrap;
  color: var(--gm-white);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.gm-prsh .gm-prsh__pill:hover,
.gm-prsh .gm-prsh__pill:focus-visible,
.gm-prsh .gm-prsh__pill.is-active {
  background: var(--gm-white);
  color: var(--gm-red-600);
}

.gm-prsh .gm-prsh__panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 72px 72px 96px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #fee6e5, var(--gm-white)); /* confident-red/100 (not a token) */
}

.gm-prsh .gm-prsh__panel--solo {
  border-radius: 24px;
}

.gm-prsh .gm-prsh__media {
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
  border-radius: 28px;
  background: #d9d9d9;
}

.gm-prsh .gm-prsh__media img {
  display: block;
  width: 100%;
  height: auto;
}

.gm-prsh .gm-prsh__media--video {
  aspect-ratio: 1200 / 735;
}

.gm-prsh .gm-prsh__media--video iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.gm-prsh .gm-prsh__features {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
}

.gm-prsh .gm-prsh__title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-800, 32px);
  font-weight: 500;
  line-height: var(--gm-scale-900);
  color: var(--gm-grey-950);
}

.gm-prsh .gm-prsh__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-prsh .gm-prsh__feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.gm-prsh .gm-prsh__tile {
  display: grid;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-prsh .gm-prsh__ico {
  display: block;
  width: 40px;
  height: 40px;
}

.gm-prsh .gm-prsh__ftext {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.gm-prsh .gm-prsh__name {
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-grey-950);
}

.gm-prsh .gm-prsh__text {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey);
}

/* ---------- Product detail: content slides (reuses .gm-sc) ------------- */

/* Figma desktop shows only the dots */
.gm-prds .gm-sc__arrows {
  display: none;
}

/* ---------- Product detail: benefits ----------------------------------- */

.gm-prb {
  padding: 96px var(--gm-gutter);
  background: var(--gm-white);
}

.gm-prb .gm-prb__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-prb .gm-prb__title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  text-align: center;
  color: var(--gm-grey-950);
}

.gm-prb .gm-prb__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gm-prb .gm-prb__ben {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 220px;
  margin: 0;
  padding: 0;
  text-align: center;
}

.gm-prb .gm-prb__tile {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-prb .gm-prb__ico {
  display: block;
  width: 44px;
  height: 44px;
}

.gm-prb .gm-prb__name {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-xl);
  font-weight: 500;
  line-height: 26px;
  color: var(--gm-grey-950);
}

.gm-prb .gm-prb__text {
  font-family: var(--gm-font-th);
  font-size: var(--gm-body-md);
  font-weight: 400;
  line-height: var(--gm-scale-700);
  color: var(--gm-grey);
}

/* ==========================================================================
   1024 and down
   ========================================================================== */

@media (max-width: 1024px) {
  .gm-prm {
    --gm-prm-media: 260px;
    padding: 64px var(--gm-gutter);
  }

  .gm-prm .gm-prm__track {
    gap: 16px;
  }

  .gm-prm .gm-prm__badge {
    right: 16px;
    width: 70px;
    height: 70px;
    top: calc(var(--gm-prm-media) - 36px);
  }

  .gm-pra {
    padding: 64px var(--gm-gutter);
  }

  .gm-pra .gm-pra__cell {
    width: calc(50% - 12px);
  }

  .gm-prsh .gm-prsh__panel {
    padding: 40px 32px 64px;
  }

  .gm-prsh .gm-prsh__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gm-prb {
    padding: 64px var(--gm-gutter);
  }

  .gm-prb .gm-prb__ben {
    min-width: 180px;
  }
}

/* ==========================================================================
   Phone (Figma 393)
   ========================================================================== */

@media (max-width: 767px) {
  /* main products become a one-per-view swipe slider */
  .gm-prm {
    --gm-prm-media: 273px;
    padding: 40px var(--gm-gutter);
  }

  .gm-prm .gm-prm__inner {
    gap: 16px;
  }

  .gm-prc .gm-prc__viewport {
    margin: -8px calc(var(--gm-gutter) * -1);
    padding: 8px var(--gm-gutter);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .gm-prc .gm-prc__viewport::-webkit-scrollbar {
    display: none;
  }

  .gm-prm .gm-prm__track {
    display: flex;
    gap: 16px;
    width: max-content;
    min-width: 100%;
  }

  .gm-prc .gm-prc__slide {
    flex: none;
    width: calc(100vw - 2 * var(--gm-gutter));
    scroll-snap-align: center;
  }

  .gm-prm .gm-prm__badge {
    right: 16px;
    width: 64px;
    height: 64px;
    top: calc(var(--gm-prm-media) - 32px);
  }

  .gm-prc .gm-prc__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 16px;
  }

  .gm-prc .gm-prc__dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .gm-prc .gm-prc__dot {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #f9a8a8;
    cursor: pointer;
    transition: width 0.3s var(--gm-ease, ease), background-color 0.3s var(--gm-ease, ease);
  }

  .gm-prc .gm-prc__dot::before {
    content: "";
    position: absolute;
    inset: -12px -4px;
  }

  .gm-prc .gm-prc__dot.is-active {
    width: 56px;
    background: var(--gm-red-600);
  }

  .gm-prc .gm-prc__arrows {
    display: flex;
    gap: 16px;
  }

  .gm-prc .gm-prc__arrow {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: var(--gm-grey-50);
    color: var(--gm-neutral-600);
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
  }

  .gm-prc .gm-prc__arrow:hover,
  .gm-prc .gm-prc__arrow:focus-visible {
    background: var(--gm-red-600);
    color: var(--gm-white);
  }

  .gm-prc .gm-prc__ico {
    display: block;
    width: 24px;
    height: 24px;
  }

  .gm-prc .gm-prc__ico--flip {
    transform: scaleX(-1);
  }

  /* additional services stack */
  .gm-pra {
    --gm-pra-media: 218px;
    padding: 40px var(--gm-gutter);
  }

  .gm-pra .gm-pra__inner {
    gap: 16px;
  }

  .gm-pra .gm-pra__cell {
    width: 100%;
  }

  .gm-pra .gm-pra__card {
    min-height: 0;
  }

  .gm-pra .gm-pra__badge {
    right: 16px;
  }

  /* showcase */
  .gm-prsh {
    padding: 0 var(--gm-gutter) 24px;
  }

  .gm-prsh .gm-prsh__bar {
    margin: 0 calc(var(--gm-gutter) * -1);
    padding: 8px 10px;
    border-radius: 0;
  }

  .gm-prsh .gm-prsh__pills {
    justify-content: flex-start;
  }

  .gm-prsh .gm-prsh__pill {
    min-width: 0;
    font-size: 14px;
    line-height: 20px;
  }

  .gm-prsh .gm-prsh__panel {
    margin: 0 calc(var(--gm-gutter) * -1);
    padding: 24px 32px 40px;
    border-radius: 0;
  }

  .gm-prsh .gm-prsh__grid {
    grid-template-columns: 1fr;
  }

  .gm-prsh .gm-prsh__feature {
    flex-direction: column;
    gap: 16px;
  }

  .gm-prsh .gm-prsh__title {
    font-size: 24px;
    line-height: 30px;
  }

  /* content slides: dots left, arrows right (widgets.css shows the bar) */
  .gm-prds .gm-sc__arrows {
    display: flex;
  }

  /* benefits: 2 × 2 */
  .gm-prb {
    padding: 40px var(--gm-gutter);
  }

  .gm-prb .gm-prb__title {
    font-size: 26px;
    line-height: 36px;
  }

  .gm-prb .gm-prb__grid {
    gap: 20px 12px;
  }

  .gm-prb .gm-prb__ben {
    flex: 0 0 calc(50% - 6px);
    min-width: 0;
  }

  .gm-prb .gm-prb__tile {
    width: 56px;
    height: 56px;
    margin-bottom: 4px;
  }

  .gm-prb .gm-prb__ico {
    width: 36px;
    height: 36px;
  }

  .gm-prb .gm-prb__name {
    font-size: 16px;
    line-height: 21px;
  }

  .gm-prb .gm-prb__text {
    font-size: 13px;
    line-height: 20px;
  }
}

/* dimmed side slides on the product detail carousel are lighter than the
   OTA one (Figma: rgba(30,30,30,.2)) */
.gm-prds .gm-sc__media::after {
  background: rgba(30, 30, 30, 0.2);
}

/* Solution hero: small red label above the heading (Products & Features) */
.gm-shero .gm-shero__eyebrow {
  margin: 0 0 12px;
  font-family: var(--gm-font-en);
  font-size: var(--gm-body-lg);
  font-weight: 600;
  line-height: 24px;
  color: var(--gm-red-600);
}


/* News article: "ended" label (v0.16.5) */
.gm-nhead .gm-nhead__ended {
  display: inline-block;
  margin: 0 0 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f5f5f5;
  color: var(--gm-grey);
  font-family: var(--gm-font-th);
  font-size: 14px;
  line-height: 20px;
}

/* ============================================================
   Fading slider (.gm-slides) — GM News Latest / GM Promo Featured (v0.16.5)
   ============================================================ */
.gm-slides .gm-slides__track {
  display: grid;
}

.gm-slides .gm-slides__slide {
  grid-area: 1 / 1;
  min-width: 0;
}

.gm-slides[data-gm-slides] .gm-slides__slide {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.gm-slides[data-gm-slides] .gm-slides__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.gm-slides .gm-slides__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}

.gm-slides .gm-slides__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-slides .gm-slides__dots .gm-slides__dot {
  appearance: none;
  position: relative;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: none;
  cursor: pointer;
  transition: width 0.35s var(--gm-ease), background-color 0.3s ease;
}

.gm-slides .gm-slides__dots .gm-slides__dot.is-active {
  width: 48px;
  background: rgba(255, 255, 255, 0.4);
}

.gm-slides .gm-slides__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--gm-white);
  border-radius: inherit;
}

.gm-slides .gm-slides__dot.is-active .gm-slides__bar {
  width: 100%;
}

.gm-slides.is-auto .gm-slides__dot.is-active .gm-slides__bar {
  width: 0;
  animation: gm-slide-bar var(--gm-slide-ms, 5000ms) linear forwards;
}

.gm-slides.is-auto.is-paused .gm-slides__dot.is-active .gm-slides__bar {
  animation-play-state: paused;
}

@keyframes gm-slide-bar {
  from { width: 0; }
  to { width: 100%; }
}

.gm-slides .gm-slides__arrows {
  display: flex;
  gap: 12px;
}

.gm-slides .gm-slides__arrows .gm-slides__arrow {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gm-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: var(--gm-red-600);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gm-slides .gm-slides__arrows .gm-slides__arrow:hover,
.gm-slides .gm-slides__arrows .gm-slides__arrow:focus {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-slides .gm-slides__arrow svg {
  width: 22px;
  height: 22px;
}

.gm-slides .gm-slides__dot:focus-visible,
.gm-slides .gm-slides__arrow:focus-visible {
  outline: 2px solid var(--gm-white);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .gm-slides .gm-slides__nav {
    margin-top: 16px;
  }
  .gm-slides .gm-slides__arrows .gm-slides__arrow {
    width: 38px;
    height: 38px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-slides[data-gm-slides] .gm-slides__slide {
    transition: none;
  }
}

/* GM Promo Featured: big card slider (v0.16.5) — dots/arrows sit on the photo */
.gm-pfeat .gm-pfeat__slides {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
}

.gm-pfeat .gm-pfeat__slides .gm-pfeat__big {
  width: 100%;
}

.gm-pfeat .gm-pfeat__slides .gm-slides__nav {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  z-index: 3;
  margin: 0;
  pointer-events: none;
}

.gm-pfeat .gm-pfeat__slides .gm-slides__dots,
.gm-pfeat .gm-pfeat__slides .gm-slides__arrows {
  pointer-events: auto;
}

.gm-pfeat .gm-pfeat__slides .gm-slides__arrows .gm-slides__arrow {
  width: 38px;
  height: 38px;
}

@media (max-width: 1100px) {
  .gm-pfeat .gm-pfeat__slides {
    flex: none;
    width: 100%;
  }
}


/* ============================================================
   v0.16.6 — client feedback fixes
   ============================================================ */

/* #2 Sticky header, scrolled look (Figma "navbar - 1"): floating white bar,
   24px corners, thin grey bottom line, soft red-tinted shadow, solid red
   login button. The header keeps its 80px height (no page jump); the white
   bar just floats 16px down. Desktop only — phones keep the normal header. */
@media (min-width: 1101px) {
  .gm-header.gm-header--sticky .gm-header__bar,
  .gm-header.gm-header--sticky .gm-header__inner {
    transition: background-color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease,
      transform 0.35s var(--gm-ease), padding 0.35s var(--gm-ease), border-radius 0.35s ease;
  }
  .gm-header.gm-header--sticky.is-scrolled .gm-header__bar {
    padding: 0 var(--gm-gutter);
    border-bottom: 0; /* the white bar has its own line; keeps the header at 80px */
    background: transparent;
  }
  .gm-header.gm-header--sticky.is-scrolled .gm-header__inner {
    padding: 16px 40px 15px;
    border-bottom: 1px solid #e9e9e9;
    border-radius: 24px;
    background: var(--gm-white);
    box-shadow:
      0 2px 2px rgba(215, 38, 56, 0.1),
      0 8px 4px rgba(215, 38, 56, 0.09),
      0 18px 5.5px rgba(215, 38, 56, 0.05),
      0 32px 6.5px rgba(215, 38, 56, 0.01);
    transform: translateY(16px);
  }
  .gm-header.gm-header--sticky.is-scrolled .gm-header__login {
    border-color: var(--gm-red-600);
    background: var(--gm-red-600);
    color: var(--gm-white);
  }
  .gm-header.gm-header--sticky.is-scrolled .gm-header__login:hover {
    border-color: var(--gm-red-700);
    background: var(--gm-red-700);
    color: var(--gm-white);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gm-header.gm-header--sticky .gm-header__bar,
  .gm-header.gm-header--sticky .gm-header__inner {
    transition: none;
  }
}

/* #6 GM Online: the icon in the red square next to the title is always fully
   shown (was drawn as big as the square, so round icons were cut off). */
.gm-online .gm-online__badge {
  overflow: hidden;
}

.gm-online .gm-online__badge .gm-online__badge-icon {
  width: 26px;
  height: 26px;
  max-width: 26px;
  max-height: 26px;
  object-fit: contain;
}

/* #4 Main services red card: Figma's soft vertical stripes with a brighter glow
   in the middle-right (Style → Stripes pattern → Opacity to soften / hide). */
.gm-services .gm-services__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 3px, rgba(255, 255, 255, 0) 3px 13px),
    radial-gradient(ellipse 36% 52% at 66% 40%, rgba(255, 120, 132, 0.5) 0%, rgba(255, 120, 132, 0) 100%);
  -webkit-mask-image: radial-gradient(ellipse 40% 62% at 66% 40%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 40% 62% at 66% 40%, #000 0%, rgba(0, 0, 0, 0.55) 45%, transparent 100%);
}


/* ==========================================================================
   v0.16.11 — SAME LINES IN EVERY CARD (PM feedback slides 30/31)
   Every article-type card keeps room for 3 title lines (longer = "…") and a
   fixed number of text lines, so the short text and the date start on the
   same line in every card of a row, and all cards in a row are equally tall.
   "1lh" = one line of that text, so changes in the Style tab still fit.
   ========================================================================== */
.gm-scard .gm-scard__title,
.gm-ncard .gm-ncard__title,
.gm-pcard .gm-pcard__title,
.gm-vg .gm-vg__ctitle {
  display: -webkit-box;
  min-height: calc(3 * 32px);
  min-height: 3lh;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.gm-scard .gm-scard__text {
  display: -webkit-box;
  min-height: calc(2 * 24px);
  min-height: 2lh;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gm-ncard .gm-ncard__text {
  min-height: 24px;
  min-height: 1lh;
}

.gm-ncard.gm-ncard--wide .gm-ncard__text {
  min-height: calc(2 * 24px);
  min-height: 2lh;
}

.gm-vg .gm-vg__text {
  min-height: calc(2 * 24px);
  min-height: 2lh;
}

/* equal height: the card fills its grid cell, the body takes the spare room */
.gm-scard,
.gm-ncard,
.gm-pcard,
.gm-vg .gm-vg__card {
  box-sizing: border-box;
  height: 100%;
}

.gm-scard .gm-scard__body,
.gm-ncard .gm-ncard__body {
  flex: 1 1 auto;
}

.gm-ncard .gm-ncard__date {
  margin-top: auto;
  padding-top: 8px;
}

@media (max-width: 767px) {
  .gm-ncard .gm-ncard__title,
  .gm-pcard .gm-pcard__title {
    min-height: calc(3 * 28px);
    min-height: 3lh;
  }
}

/* ==========================================================================
   v0.16.11 — News card type label (new Figma News & Event page, slide 44)
   ========================================================================== */
.gm-ncard .gm-ncard__chip {
  align-self: flex-start;
  margin-bottom: 4px;
  padding: 2px 12px;
  border-radius: 16px;
  background: #fee6e5;
  color: var(--gm-red-600);
  font-family: var(--gm-font-th);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

/* ==========================================================================
   v0.16.11 — CTA "Support" background (slide 33): white at the top, a soft
   pink glow towards the bottom, like the Figma Support page.
   ========================================================================== */
.gm-cta.gm-cta--glow {
  position: relative;
  isolation: isolate;
  background: var(--gm-white);
}

/* v0.16.12: white above the grey box; the pink glow starts at the box's top
   edge (= the space above the box, changeable in the widget) and gets
   stronger towards the bottom. */
.gm-cta.gm-cta--glow::before {
  content: "";
  position: absolute;
  top: var(--gm-cta-glow-top, 48px);
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 15%),
    linear-gradient(180deg, #fdf0f0 0%, #fbe1e1 100%);
}

.gm-cta.gm-cta--glow.gm-cta--equal::before {
  top: var(--gm-cta-glow-top, 96px);
}

@media (max-width: 767px) {
  .gm-cta.gm-cta--glow::before {
    top: var(--gm-cta-glow-top, 24px);
  }
  .gm-cta.gm-cta--glow.gm-cta--equal::before {
    top: var(--gm-cta-glow-top, 40px);
  }
}

/* ==========================================================================
   v0.16.13 — Airline promotion page (slide 2): title → cards = Figma 113 px.
   GM Page Title on an airline page gets a smaller bottom space; the promo
   grid below keeps its 64 px top (49 + 64 = 113).
   ========================================================================== */
.gm-ptitle.gm-ptitle--airline {
  padding-bottom: 49px;
}

@media (max-width: 767px) {
  .gm-ptitle.gm-ptitle--airline {
    padding-bottom: 24px;
  }
}

/* v0.16.13 — Statement banner (slide 1): move the plane closer to the text */
/* v0.16.15: the default lives here (not in the widget), so it works even
   before Elementor rebuilds the page CSS. Figma: ~70 px from text to plane. */
@media (min-width: 1025px) {
  .gm-sb .gm-sb__pic {
    margin-top: calc(var(--gm-sb-w) * -0.0961 - var(--gm-sb-up, 110px));
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .gm-sb .gm-sb__pic {
    margin-top: calc(var(--gm-sb-w) * -0.0961 - var(--gm-sb-up, 70px));
  }
}

@media (max-width: 767px) {
  .gm-sb .gm-sb__pic {
    margin-top: calc(8px - var(--gm-sb-up, 24px));
  }
}

.gm-sb .gm-sb__pic:first-child {
  margin-top: 0;
}

/* the text always stays above the plane picture */
.gm-sb .gm-sb__title,
.gm-sb .gm-sb__lead {
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   v0.16.14 — GM Help cards (slide: "Align the buttons"): the text area takes
   the spare room, so every card's button sits on the same line at the bottom.
   ========================================================================== */
.gm-help .gm-help__card {
  flex-direction: column;
  align-items: flex-start;
}

.gm-help .gm-help__body {
  flex: 1 1 auto;
  width: 100%;
}

.gm-help .gm-help__btn {
  margin-top: auto;
}

/* ==========================================================================
   v0.16.14 — GM Image Banner ("GM Online", Travel Agent page): Figma look =
   red on the left, fading through soft vertical stripes into white on the
   right. Option "Figma stripes" (when no background picture is uploaded).
   ========================================================================== */
.gm-banner.gm-banner--stripes .gm-banner__box {
  /* v0.16.16: Figma — solid red, then a soft fade to white, with thin soft
     white stripes only inside the fade. Every number is a widget setting. */
  isolation: isolate;
  background: linear-gradient(90deg,
    var(--gm-bn-red, #e3202f) 0%,
    var(--gm-bn-red, #e3202f) var(--gm-bn-from, 42%),
    var(--gm-bn-mid, #f2737c) calc((var(--gm-bn-from, 42%) + var(--gm-bn-to, 70%)) / 2),
    var(--gm-bn-white, #ffffff) var(--gm-bn-to, 70%),
    var(--gm-bn-white, #ffffff) 100%);
}

.gm-banner.gm-banner--stripes .gm-banner__box::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0,
    rgba(255, 255, 255, 0) var(--gm-bn-gap, 30px),
    rgba(255, 255, 255, var(--gm-bn-op, 0.35)) calc(var(--gm-bn-gap, 30px) + var(--gm-bn-sw, 26px) / 2),
    rgba(255, 255, 255, 0) calc(var(--gm-bn-gap, 30px) + var(--gm-bn-sw, 26px)));
  -webkit-mask-image: linear-gradient(90deg, transparent calc(var(--gm-bn-from, 42%) - 2%), #000 calc(var(--gm-bn-from, 42%) + 6%), #000 calc(var(--gm-bn-to, 70%) + 6%), transparent calc(var(--gm-bn-to, 70%) + 16%));
  mask-image: linear-gradient(90deg, transparent calc(var(--gm-bn-from, 42%) - 2%), #000 calc(var(--gm-bn-from, 42%) + 6%), #000 calc(var(--gm-bn-to, 70%) + 6%), transparent calc(var(--gm-bn-to, 70%) + 16%));
}

/* v0.16.16 — Product showcase: "coming soon" panel + admin-only note */
.gm-prsh .gm-prsh__panel--empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 240px;
  text-align: center;
}

.gm-prsh .gm-prsh__empty-title {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 32px;
  font-weight: 600;
  line-height: 44px;
  color: var(--gm-red-600);
}

.gm-prsh .gm-prsh__empty-text {
  margin: 0;
  font-family: var(--gm-font-th);
  font-size: 18px;
  line-height: 28px;
  color: var(--gm-grey);
}

.gm-prsh .gm-prsh__admin-note {
  margin: 8px 0 0;
  padding: 6px 12px;
  border-radius: 8px;
  background: #fff8db;
  color: #6b5600;
  font-family: var(--gm-font-en);
  font-size: 12px;
  line-height: 18px;
}

/* ==========================================================================
   v0.16.18 — GM Online Features on iPad (768–1024): the tab menu is the
   same single sideways-scrolling row as on phones (PM feedback).
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
  .gm-online .gm-online__tabs {
    display: flex;
    gap: 4px;
    margin: 32px calc(-1 * var(--gm-gutter)) 0;
    padding: 8px var(--gm-gutter);
    border-radius: 0;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-inline: var(--gm-gutter);
    scrollbar-width: none;
  }
  .gm-online .gm-online__tabs::-webkit-scrollbar {
    display: none;
  }
  .gm-online .gm-online__tabs .gm-online__tab {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 6px 16px;
    white-space: nowrap;
    scroll-snap-align: start;
  }
  .gm-online .gm-online__tab-text {
    white-space: nowrap;
  }
}

/* ==========================================================================
   v0.16.18 — Statement banner: "Lift the plane" moves the whole picture
   (plane + red shape) up visually by any amount and removes the same
   space below, so it can really sit next to the text on desktop.
   ========================================================================== */
.gm-sb .gm-sb__pic {
  transform: translateY(calc(-1 * var(--gm-sb-lift, 0px)));
  margin-bottom: calc(var(--gm-sb-w) * -0.0748 - var(--gm-sb-lift, 0px));
}

@media (max-width: 767px) {
  .gm-sb .gm-sb__pic {
    margin-bottom: calc(var(--gm-sb-w) * -0.0865 - var(--gm-sb-lift, 0px));
  }
}

/* ==========================================================================
   v0.16.21 — GM Plane Hero (OTA page): text + ONE plane picture in a plain
   column. The gap / width / space below are widget settings.
   ========================================================================== */
.gm-phero {
  position: relative;
  padding: 65px var(--gm-gutter) 0;
  overflow-x: clip;
  text-align: center;
}

.gm-phero .gm-phero__glow {
  position: absolute;
  z-index: 0;
  width: 478px;
  height: 478px;
  border-radius: 50%;
  background: radial-gradient(closest-side, #fee5e4 0%, rgba(254, 230, 229, 0) 100%);
  pointer-events: none;
}

.gm-phero .gm-phero__glow--l {
  top: -43px;
  left: -239px;
}

.gm-phero .gm-phero__glow--r {
  top: 234px;
  right: -270px;
}

.gm-phero .gm-phero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--gm-card-max);
  margin: 0 auto;
}

.gm-phero .gm-phero__title {
  position: relative;
  z-index: 2;
  max-width: 887px;
  margin: 0;
  padding: 0;
  font-family: var(--gm-font-th);
  font-size: var(--gm-scale-900);
  font-weight: 500;
  line-height: var(--gm-scale-1100);
  color: var(--gm-grey-950);
}

.gm-phero .gm-phero__lead {
  position: relative;
  z-index: 2;
  max-width: 887px;
  margin: 35px 0 0;
  font-family: var(--gm-font-th);
  font-size: 32px;
  font-weight: 500;
  line-height: var(--gm-scale-900);
  color: var(--gm-red-600);
}

.gm-phero .gm-phero__pic {
  position: relative;
  z-index: 1;
  width: 1176px;
  max-width: 100%;
  margin-top: 24px;
}

.gm-phero .gm-phero__img {
  display: block;
  width: 100%;
  height: auto;
}

.gm-phero .gm-phero__empty {
  padding: 48px 16px;
  border: 2px dashed var(--gm-red-200);
  border-radius: 16px;
  color: var(--gm-grey);
  font-size: 14px;
}

@media (max-width: 767px) {
  .gm-phero {
    padding-top: 40px;
  }
  .gm-phero .gm-phero__title {
    font-size: 28px;
    line-height: 40px;
  }
  .gm-phero .gm-phero__lead {
    margin-top: 16px;
    font-size: 18px;
    line-height: 28px;
  }
}

/* ==========================================================================
   v0.16.21 — About timeline (slide 75): photos never touch the centre line.
   The photo block lives entirely on its own half, 48 px away from the line.
   ========================================================================== */
@media (min-width: 768px) {
  .gm-abtl .gm-abtl__item .gm-abtl__pics,
  .gm-abtl.gm-abtl--has-nav .gm-abtl__item:not(.gm-abtl__item--flip) .gm-abtl__pics {
    right: auto;
    left: calc(50% + 48px);
    width: min(calc(50% - 48px - 64px), var(--gm-abtl-pics-w, 586px));
  }
  .gm-abtl .gm-abtl__item.gm-abtl__item--flip .gm-abtl__pics {
    left: auto;
    right: calc(50% + 48px);
    width: min(calc(50% - 48px - 24px), var(--gm-abtl-pics-w, 586px));
  }
}

/* ==========================================================================
   v0.16.21 — 2 title lines instead of 3 ONLY on the Training Center (Video
   Guides) and the News & Event page (News Grid with type pills).
   ========================================================================== */
.gm-vg .gm-vg__ctitle,
.gm-ngrid.gm-ngrid--types .gm-ncard .gm-ncard__title {
  min-height: calc(2 * 32px);
  min-height: 2lh;
  -webkit-line-clamp: 2;
}

/* ==========================================================================
   v0.16.23 — GM Service Carousel, updated Figma (OTA "บริการของเรา"):
   the slides live INSIDE the pink panel with 48 px side space (the dimmed
   side cards are cut at the panel's inner edge), dots centred and arrows
   right on the same inner width. Sizes are measured on that 1248 px area.
   ========================================================================== */
@media (min-width: 768px) {
  .gm-sc .gm-sc__panel {
    padding-right: 0;
    padding-left: 0;
  }
  .gm-sc .gm-sc__viewport {
    margin: 0 48px;
  }
  .gm-sc {
    --gm-sc-a: min(652px, 52.24cqw);
    --gm-sc-s: min(306px, 24.52cqw);
    --gm-sc-h: min(480px, 38.46cqw);
  }
  .gm-sc .gm-sc__bar {
    padding: 0 52px 0 56px;
  }
}

/* ==========================================================================
   v0.16.23 — GM Products Main "Slider on desktop / tablet too" (Figma
   Travel Agent): 3 cards in view, sideways scroll-snap, dots centred below.
   ========================================================================== */
@media (min-width: 768px) {
  .gm-prc.gm-prc--desk .gm-prc__viewport {
    margin: -12px -12px 0;
    padding: 12px 12px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .gm-prc.gm-prc--desk .gm-prc__viewport::-webkit-scrollbar {
    display: none;
  }
  .gm-prc.gm-prc--desk .gm-prm__track {
    display: flex;
    gap: 24px;
  }
  .gm-prc.gm-prc--desk .gm-prc__slide {
    flex: 0 0 calc((100% - 48px) / 3);
    scroll-snap-align: start;
  }
  .gm-prc.gm-prc--desk .gm-prc__bar {
    display: flex;
    justify-content: center;
    margin-top: 24px;
  }
  .gm-prc.gm-prc--desk .gm-prc__bar.is-empty {
    display: none;
  }
  .gm-prc.gm-prc--desk .gm-prc__dots {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .gm-prc.gm-prc--desk .gm-prc__dot {
    position: relative;
    flex: none;
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: #d9d9d9;
    cursor: pointer;
    transition: width 0.3s var(--gm-ease, ease), background-color 0.3s var(--gm-ease, ease);
  }
  .gm-prc.gm-prc--desk .gm-prc__dot[hidden] {
    display: none;
  }
  .gm-prc.gm-prc--desk .gm-prc__dot.is-active {
    width: 24px;
    background: var(--gm-red-600);
  }
  .gm-prc.gm-prc--desk .gm-prc__arrows {
    display: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .gm-prc.gm-prc--desk .gm-prc__slide {
    flex-basis: calc((100% - 24px) / 2);
  }
}

/* v0.16.23 — News & Event page (slide 81): more space between the page
   title and the type pills, like Figma. */
.gm-ngrid.gm-ngrid--types .gm-pills {
  margin-top: 40px;
}

@media (max-width: 767px) {
  .gm-ngrid.gm-ngrid--types .gm-pills {
    margin-top: 24px;
  }
}

/* v0.16.23 — device-only line breaks typed as [d] / [t] / [m] */
br.gm-br-t,
br.gm-br-m {
  display: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
  br.gm-br-d {
    display: none;
  }
  br.gm-br-t {
    display: inline;
  }
}

@media (max-width: 767px) {
  br.gm-br-d {
    display: none;
  }
  br.gm-br-m {
    display: inline;
  }
}

/* rich-text links / bold inside the Solution Hero text */
.gm-shero .gm-shero__text a {
  color: var(--gm-red-600);
  text-decoration: underline;
}

.gm-shero .gm-shero__text strong,
.gm-shero .gm-shero__text b {
  font-weight: 600;
}

/* ==========================================================================
   v0.16.24 — Service carousel (slide 71): the middle card sits HIGHER than
   the two dimmed cards (Figma: side cards start 24 px lower).
   ========================================================================== */
@media (min-width: 768px) {
  .gm-sc .gm-sc__slide.is-active {
    align-self: flex-start;
  }
  .gm-sc .gm-sc__slide:not(.is-active) {
    padding-top: 24px;
  }
}

/* ==========================================================================
   v0.16.24 — Card hover (slide 88): no red border — the Figma hover is a
   deeper soft shadow (+ small lift).
   ========================================================================== */
.gm-scard:hover,
.gm-scard:focus-visible,
.gm-supgrid .gm-scard:hover,
.gm-supgrid .gm-scard:focus-visible,
.gm-srel .gm-scard:hover,
.gm-srel .gm-scard:focus-visible {
  border-color: #e6e6e6;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 24px rgba(0, 0, 0, 0.05);
}

.gm-bc .gm-bc__card:has(.gm-bc__cover):hover {
  border-color: #e6e6e6;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* v0.16.24 — About timeline rich text (slides 73 + 2024–2026 Figma) */
.gm-abtl .gm-abtl__text--rich p {
  margin: 0 0 8px;
}

.gm-abtl .gm-abtl__text--rich ul,
.gm-abtl .gm-abtl__text--rich ol {
  margin: 0 0 8px;
  padding-left: 1.25em;
}

.gm-abtl .gm-abtl__text--rich ul ul,
.gm-abtl .gm-abtl__text--rich ol ul {
  margin: 4px 0 4px;
  font-size: 0.875em;
}

.gm-abtl .gm-abtl__text--rich strong,
.gm-abtl .gm-abtl__text--rich b {
  font-weight: 600;
  color: var(--gm-grey-950);
}

.gm-abtl .gm-abtl__text--rich a {
  color: var(--gm-red-600);
  text-decoration: underline;
}

/* ==========================================================================
   v0.16.30 — Support FAQ categories + Training Center tutorials (slides
   90/91): hover looks exactly like the active item (red gradient, white).
   ========================================================================== */
@media (hover: hover) {
  .gm-supfaq .gm-supfaq__tabs .gm-supfaq__tab:hover,
  .gm-trt .gm-trt__tabs .gm-trt__tab:hover {
    border-color: transparent;
    background: linear-gradient(90deg, var(--gm-red-600), #991b28);
    box-shadow: none;
    color: var(--gm-white);
  }
  .gm-supfaq .gm-supfaq__tab:hover .gm-supfaq__tab-icon,
  .gm-trt .gm-trt__tab:hover .gm-trt__ico {
    color: var(--gm-white);
  }
  .gm-supfaq .gm-supfaq__tab:hover .gm-supfaq__tab-icon .gm-fi,
  .gm-trt .gm-trt__tab:hover .gm-trt__ico--img {
    filter: brightness(0) invert(1);
  }
}

/* ==========================================================================
   v0.16.32 — slide 94: Homepage promotions tabs as small pills
   (like the News & Event pills). "Wide bar" = old look (backup).
   ========================================================================== */
.gm-promos.gm-promos--pills .gm-promos__tabs {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--gm-red-50);
}

.gm-promos.gm-promos--pills .gm-promos__tabs .gm-promos__tab {
  flex: 0 0 auto;
  padding: 6px 16px;
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  color: var(--gm-grey);
}

@media (max-width: 767px) {
  .gm-promos.gm-promos--pills .gm-promos__tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .gm-promos.gm-promos--pills .gm-promos__tabs::-webkit-scrollbar {
    display: none;
  }
}

/* ==========================================================================
   v0.16.32 — slide 95: header login button is solid red by default
   ========================================================================== */
.gm-header .gm-header__login {
  border-color: var(--gm-red-600);
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-header .gm-header__login:hover {
  border-color: var(--gm-red-700);
  background: var(--gm-red-700);
  color: var(--gm-white);
}

/* ==========================================================================
   v0.16.32 — slide 98: certification cards hover like the airline cards
   ========================================================================== */
.gm-acerts.gm-acerts--lift .gm-acerts__card {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .gm-acerts.gm-acerts--lift .gm-acerts__card:hover {
    transform: scale(1.04);
    border-color: #e6e6e6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15), 0 4px 24px rgba(0, 0, 0, 0.05);
  }
}

/* ==========================================================================
   v0.16.32 — slide 99: bigger ↑ ↓ buttons + counter on the About timeline
   ========================================================================== */
.gm-abtl .gm-abtl__nav {
  gap: 14px;
}

.gm-abtl .gm-abtl__nav .gm-abtl__arrow {
  width: 56px;
  height: 56px;
  border-width: 1.5px;
}

.gm-abtl .gm-abtl__nav .gm-abtl__arrow svg {
  width: 28px;
  height: 28px;
}

.gm-abtl .gm-abtl__count {
  font-size: 18px;
  line-height: 24px;
}

.gm-abtl .gm-abtl__count-sep {
  height: 16px;
}

@media (min-width: 768px) {
  .gm-abtl.gm-abtl--has-nav .gm-abtl__item:not(.gm-abtl__item--flip) .gm-abtl__pics,
  .gm-abtl .gm-abtl__item .gm-abtl__pics {
    width: min(calc(50% - 48px - 80px), var(--gm-abtl-pics-w, 586px));
  }
}

@media (max-width: 767px) {
  .gm-abtl .gm-abtl__nav .gm-abtl__arrow {
    width: 44px;
    height: 44px;
  }
  .gm-abtl .gm-abtl__nav .gm-abtl__arrow svg {
    width: 22px;
    height: 22px;
  }
  .gm-abtl .gm-abtl__count {
    font-size: 16px;
  }
}

/* ==========================================================================
   v0.16.32 — slide 101: "ดูเพิ่มเติม" button on each Video Guides card
   (the whole card is the link; the button is the visible cue)
   ========================================================================== */
.gm-vg .gm-vg__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 16px;
  padding: 6px 16px;
  border: 1px solid var(--gm-red-600);
  border-radius: 999px;
  background: var(--gm-white);
  color: var(--gm-red-600);
  font-family: var(--gm-font-th);
  font-size: 14px;
  font-weight: 500;
  line-height: 22px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.gm-vg .gm-vg__card--link:hover .gm-vg__more {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-vg .gm-vg__date + .gm-vg__more {
  margin-top: 12px;
}

/* ==========================================================================
   v0.16.32 — slide 97: GM Hero picture area can show a YouTube / MP4 video
   (silent loop, sound via the controls) or a slider mixing both.
   ========================================================================== */
.gm-hero .gm-hero__video {
  position: relative;
  width: 100%;
  max-width: 694px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 24px;
  aspect-ratio: 694 / 509;
  background: #000;
}

.gm-hero .gm-hero__video video,
.gm-hero .gm-hero__video iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.gm-hero .gm-hero__slides {
  position: relative;
  display: grid;
}

.gm-hero .gm-hero__slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.gm-hero .gm-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
}

.gm-hero .gm-hero__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.gm-hero .gm-hero__dot {
  width: 8px;
  height: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gm-red-200);
  cursor: pointer;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.gm-hero .gm-hero__dot.is-active {
  width: 24px;
  background: var(--gm-red-600);
}

@media (max-width: 767px) {
  .gm-hero .gm-hero__video {
    border-radius: 16px;
  }
}

/* v0.16.34 — slide 101: button on a card WITHOUT a link shows but does nothing */
.gm-vg .gm-vg__more.is-disabled {
  cursor: default;
  pointer-events: none;
}

/* v0.16.35 — slide 102: the active promotion pill keeps WHITE text (the
   v0.16.32 pill rule had turned it grey on the red background). */
.gm-promos.gm-promos--pills .gm-promos__tabs .gm-promos__tab.is-active,
.gm-promos.gm-promos--pills .gm-promos__tabs .gm-promos__tab.is-active:hover,
.gm-promos.gm-promos--pills .gm-promos__tabs .gm-promos__tab.is-active:focus {
  background: var(--gm-red-600);
  color: var(--gm-white);
}

.gm-promos.gm-promos--pills .gm-promos__tabs .gm-promos__tab:not(.is-active):hover,
.gm-promos.gm-promos--pills .gm-promos__tabs .gm-promos__tab:not(.is-active):focus-visible {
  background: rgba(215, 38, 56, 0.06);
  color: var(--gm-red-600);
}

/* ==========================================================================
   v0.16.36 — slide 104: FAQ "White boxes, + on the left" style
   ========================================================================== */
.gm-faq .gm-faq__plus {
  display: none;
}

.gm-faq.gm-faq--plus .gm-faq__item {
  padding: 12px 20px;
  border: 1px solid var(--gm-grey-200);
  border-radius: 8px;
  background: var(--gm-white);
}

.gm-faq.gm-faq--plus .gm-faq__item:hover {
  border-color: var(--gm-red-200);
}

.gm-faq.gm-faq--plus .gm-faq__item.is-open {
  border-color: var(--gm-red-600);
}

.gm-faq.gm-faq--plus .gm-faq__item .gm-faq__q {
  justify-content: flex-start;
  gap: 12px;
}

.gm-faq.gm-faq--plus .gm-faq__item.is-open .gm-faq__q {
  color: var(--gm-red-600);
}

.gm-faq.gm-faq--plus .gm-faq__chev {
  display: none;
}

.gm-faq.gm-faq--plus .gm-faq__plus {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  fill: none;
}

.gm-faq.gm-faq--plus .gm-faq__plus-v {
  transform-origin: 12px 12px;
  transition: transform 0.3s var(--gm-ease);
}

/* open: "+" becomes "−" */
.gm-faq.gm-faq--plus .gm-faq__item.is-open .gm-faq__plus-v {
  transform: scaleY(0);
}

.gm-faq.gm-faq--plus .gm-faq__a {
  padding-top: 12px;
  padding-left: 30px;
}

/* ==========================================================================
   v0.16.36 — slide 105: "โปรโมชันที่เราแนะนำ" box lined up LEFT with the page
   content (option "Box position"; Centre = old)
   ========================================================================== */
.gm-pfeat.gm-pfeat--left .gm-pfeat__inner {
  max-width: var(--gm-card-max);
  margin-left: 0;
}

/* ==========================================================================
   v0.16.36 — slide 106: airline pills + cards on the LEFT (heading unchanged)
   ========================================================================== */
.gm-airl.gm-airl--left .gm-pills.gm-pills--center {
  margin-left: 0;
  margin-right: auto;
}

.gm-airl.gm-airl--left .gm-airl__grid {
  margin-left: 0;
  margin-right: auto;
}

/* ==========================================================================
   v0.17.2 — PDF feedback 9 Nov
   ========================================================================== */

/* Slide 1 — hero video. Box size stays 694 × 509 (client: "size is perfect").
   Fill (default): the video covers the whole box like the picture does. */
.gm-hero .gm-hero__video.gm-hero__video--cover {
  container-type: size;
}
.gm-hero .gm-hero__video.gm-hero__video--cover iframe {
  /* 16:9 video scaled up until it covers the box, centred (fallback for the 694:509 box) */
  max-width: none; /* v0.18.9: the theme caps iframes at 100% width → that caused the black bars */
  max-height: none;
  min-width: 0;
  margin: 0;
  inset: auto;
  top: 50%;
  left: 50%;
  width: 130.4%;
  height: 100%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
@supports (width: 1cqw) {
  .gm-hero .gm-hero__video.gm-hero__video--cover iframe {
    width: max(100cqw, 177.78cqh);
    height: max(100cqh, 56.25cqw);
  }
}
.gm-hero .gm-hero__video.gm-hero__video--cover video {
  max-width: none;
  object-fit: cover;
}
/* 16:9 box: the frame takes the normal video shape, so nothing is cut and no bars */
.gm-hero .gm-hero__video.gm-hero__video--ratio {
  aspect-ratio: 16 / 9;
  background: transparent;
}
.gm-hero .gm-hero__video.gm-hero__video--ratio video {
  object-fit: cover;
}
/* As before: whole video inside the 694:509 box with black bars */
.gm-hero .gm-hero__video.gm-hero__video--contain video {
  object-fit: contain;
}

/* own sound button (YouTube in Fill mode) */
.gm-hero .gm-hero__sound {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.gm-hero .gm-hero__sound:hover {
  background: var(--gm-red-600, #d72638);
  transform: scale(1.06);
}
.gm-hero .gm-hero__sound:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.gm-hero .gm-hero__sound .gm-hero__sound-on,
.gm-hero .gm-hero__sound[aria-pressed="true"] .gm-hero__sound-off {
  display: none;
}
.gm-hero .gm-hero__sound[aria-pressed="true"] .gm-hero__sound-on {
  display: block;
}
@media (max-width: 767px) {
  .gm-hero .gm-hero__sound {
    right: 10px;
    bottom: 10px;
    width: 38px;
    height: 38px;
  }
}

/* Slide 2 — check items grouped under the text, above the buttons */
.gm-hero.gm-hero--keys-in .gm-hero__content {
  gap: 28px;
}
.gm-hero .gm-hero__keys.gm-hero__keys--in {
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
}
.gm-hero .gm-hero__keys--in .gm-hero__key {
  align-items: center; /* v0.18.11: icon centred on the text, whatever its line height */
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.gm-hero .gm-hero__keys--in .gm-check {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 0;
}
.gm-hero .gm-hero__keys--in .gm-hero__key-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--gm-grey);
}
@media (max-width: 767px) {
  .gm-hero.gm-hero--keys-in .gm-hero__content {
    gap: 24px;
  }
  .gm-hero .gm-hero__keys.gm-hero__keys--in {
    gap: 8px;
    margin: 0;
  }
  .gm-hero .gm-hero__keys--in .gm-hero__key-text {
    font-size: 14px;
    line-height: 22px;
  }
}

/* Slide 3 — promotion cards with a 4:5 (tall) picture. To keep the card about
   as tall as before: title max 2 lines, dates sit next to the button. */
.gm-pcard.gm-pcard--45 {
  container-type: inline-size;
}
.gm-pcard.gm-pcard--45 .gm-pcard__media {
  aspect-ratio: 4 / 5;
}
.gm-pcard.gm-pcard--45 .gm-pcard__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  align-items: end;
  gap: 8px 12px;
  padding: 20px;
}
.gm-pcard.gm-pcard--45 .gm-pcard__text {
  display: contents;
}
.gm-pcard.gm-pcard--45 .gm-pcard__chip {
  grid-column: 1 / -1;
  justify-self: start;
  align-self: start;
}
.gm-pcard.gm-pcard--45 .gm-pcard__title {
  grid-column: 1 / -1;
  align-self: start;
  min-height: calc(2 * 32px);
  min-height: 2lh;
  -webkit-line-clamp: 2;
}
.gm-pcard.gm-pcard--45 .gm-pcard__dates {
  grid-column: 1;
  align-self: center;
  margin-top: 8px;
  column-gap: 4px;
  row-gap: 0;
}
.gm-pcard.gm-pcard--45 .gm-pcard__btn {
  grid-column: 2;
  align-self: end;
  margin-top: 8px;
}
.gm-pcard.gm-pcard--45 .gm-pcard__body:not(:has(.gm-pcard__btn)) .gm-pcard__dates {
  grid-column: 1 / -1;
}
/* narrow card (tablet 2 columns, small phones): dates above the button */
@container (max-width: 330px) {
  .gm-pcard.gm-pcard--45 .gm-pcard__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .gm-pcard.gm-pcard--45 .gm-pcard__dates,
  .gm-pcard.gm-pcard--45 .gm-pcard__btn {
    grid-column: 1;
    justify-self: start;
  }
}
@media (max-width: 767px) {
  .gm-pcard.gm-pcard--45 .gm-pcard__body {
    padding: 16px;
  }
  .gm-pcard.gm-pcard--45 .gm-pcard__title {
    min-height: calc(2 * 28px);
    min-height: 2lh;
  }
}

/* Slide 3 — mobile swipe slider (GM Promotions + GM Promo Grid → "Mobile: cards as" = Swipe slider) */
.gm-pslider.gm-pslider > .gm-pcard.is-clone,
.gm-pslider-dots {
  display: none;
}
@media (max-width: 767px) {
  .gm-pslider.gm-pslider.gm-pslider:not([hidden]) {
    display: flex;
    gap: 12px;
    margin-left: calc(-1 * var(--gm-gutter));
    margin-right: calc(-1 * var(--gm-gutter));
    padding: 8px var(--gm-gutter) 16px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .gm-pslider::-webkit-scrollbar {
    display: none;
  }
  .gm-pslider.gm-pslider > .gm-pcard,
  .gm-pslider.gm-pslider > .gm-pcard.is-clone {
    display: flex;
    flex: 0 0 84%;
    height: auto;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .gm-pslider.gm-pslider.is-single > .gm-pcard {
    flex-basis: 100%;
  }
  .gm-pslider.gm-pslider > .gm-pcard:hover {
    transform: none;
  }
  .gm-pslider:not([hidden]) + .gm-pslider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
  }
  .gm-pslider-dots .gm-pslider-dot {
    width: 8px;
    height: 8px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--gm-red-200, #fbc7c4);
    cursor: pointer;
    transition: width 0.3s ease, background-color 0.3s ease;
  }
  .gm-pslider-dots .gm-pslider-dot.is-active {
    width: 24px;
    background: var(--gm-red-600, #d72638);
  }
}

/* Slide 5 (PDF page 7) — GM Promo Featured "Box position: Auto": left on notebooks
   (up to ~1536px wide, e.g. MacBook 1512), centred on desktop monitors (1600px+) */
@media (min-width: 1600px) {
  .gm-pfeat.gm-pfeat--auto .gm-pfeat__inner {
    margin-left: auto;
    margin-right: auto;
  }
}

/* Slide 6 — "Why work with GM Tour": the "+" stays right after the number
   ("130+" never breaks apart). Option "Where the + goes" = Under the label = old look. */
.gm-why.gm-why--plus-num .gm-why__stat {
  display: grid;
  grid-template-columns: auto auto 1fr;
  grid-template-areas: "num suffix label";
  align-items: start;
  column-gap: 0;
  min-width: 0;
}
.gm-why.gm-why--plus-num .gm-why__side-col {
  display: contents;
}
.gm-why.gm-why--plus-num .gm-why__num {
  grid-area: num;
  white-space: nowrap;
}
.gm-why.gm-why--plus-num .gm-why__suffix {
  grid-area: suffix;
  align-self: center;
  margin-right: 8px;
  white-space: nowrap;
}
.gm-why.gm-why--plus-num .gm-why__label {
  grid-area: label;
  padding-left: 4px;
}
@media (max-width: 1100px) {
  .gm-why.gm-why--plus-num .gm-why__stat {
    grid-template-columns: auto 1fr;
    grid-template-areas: "num suffix" "label label";
    align-items: end;
    column-gap: 4px;
  }
  .gm-why.gm-why--plus-num .gm-why__suffix {
    align-self: center;
    justify-self: start;
    margin-right: 0;
  }
  .gm-why.gm-why--plus-num .gm-why__label {
    padding-left: 0;
  }
}

/* Slide 7 — airline logos use the full content width (same edges as the menu bar) */
.gm-airl.gm-airl--full .gm-airl__grid {
  max-width: none;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1279px) {
  .gm-airl.gm-airl--full .gm-airl__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 1024px) {
  .gm-airl.gm-airl--full .gm-airl__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  .gm-airl.gm-airl--full .gm-airl__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Slide 8 — Contact: department e-mail cards in 2 wide columns over the full width */
.gm-cchan.gm-cchan--full .gm-cchan__inner {
  align-items: stretch;
}
.gm-cchan.gm-cchan--full .gm-cchan__head {
  align-self: center;
}
.gm-cchan.gm-cchan--full .gm-cchan__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
}
.gm-cchan.gm-cchan--full .gm-cchan__grid > li,
.gm-cchan.gm-cchan--full .gm-cchan__grid .gm-crow {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .gm-cchan.gm-cchan--full .gm-cchan__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Slide 8 — Products page "บริการเสริม" (additional services): big cards,
   2 per row over the full content width. "Cards size: Small" = old look. */
.gm-pra.gm-pra--full {
  --gm-pra-media: 300px;
}
.gm-pra.gm-pra--full .gm-pra__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gm-pra.gm-pra--full .gm-pra__cell {
  width: auto;
}
.gm-pra.gm-pra--full .gm-pra__card {
  min-height: 0;
}
@media (max-width: 1024px) {
  .gm-pra.gm-pra--full {
    --gm-pra-media: 240px;
  }
}
@media (max-width: 767px) {
  .gm-pra.gm-pra--full {
    --gm-pra-media: 218px;
  }
  .gm-pra.gm-pra--full .gm-pra__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Slide 9 — footer: extra social icons added by the client (same size as LINE) */
.gm-footer .gm-footer__social {
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.gm-footer a.gm-footer__social:hover,
.gm-footer a.gm-footer__line:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.gm-footer .gm-footer__social img {
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .gm-footer .gm-footer__social {
    transition: none;
  }
}

/* v0.18.10 — hero check icons: red circle + white tick (PDF slide 2). Option "Check icon colour" = Light green for the old look. */
.gm-hero.gm-hero--check-red .gm-check circle {
  fill: var(--gm-red-600, #d72638);
}
.gm-hero.gm-hero--check-red .gm-check path {
  stroke: #fff;
}
