/*
 * XnView Gallery landing page (/en|fr|de/xnview-gallery/).
 * Loaded only by src/contents/{en,fr,de}/xnview-gallery.php.
 * Every rule is scoped under .xng so the site navbar, footer and Bootstrap styles stay untouched.
 * Class names that exist in Bootstrap (.card, .btn, .lead, .h1-.h4, .progress) are renamed here
 * (.tile, .xbtn, .intro, .hud-a-d, .xng-progress).
 */

.xng {
  --bg: #ffffff;
  --bg-alt: #fbf1ec;
  --line: #efe0d7;
  --text: #221813;
  --muted: #52443c;
  --faint: #85746b;
  --brand: #ff944c;
  --brand-hi: #ffa465;
  --brand-strong: #dc6417;
  --brand-text: #a3521a;
  --brand-tint: #fff1e9;
  --brand-line: #ffd2bb;
  --on-brand: #3d1c00;
  --hero-a: #ffa25f;
  --hero-b: #ff8a3a;
  --on-hero: #3d1c00;
  --on-hero-soft: rgba(61, 28, 0, .8);
  --star: #f0a400;
  --deep: #2b1a10;
  --slot: #f7efea;
  --f-display: "Manrope", "Open Sans", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --r-card: 16px;
  --shadow: 0 18px 40px -24px rgba(61, 28, 0, .35);
  --nav-h: 0px; /* height of a fixed site navbar above the page (none: the site header is not included) */

  padding-top: var(--nav-h);
  overflow-x: clip;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  color-scheme: light;
}

.xng *, .xng *::before, .xng *::after { box-sizing: border-box; }
.xng [id] { scroll-margin-top: calc(var(--nav-h) + 70px); }
.xng a { color: var(--brand-text); text-decoration: underline; text-underline-offset: 3px; }
.xng :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.xng h1, .xng h2, .xng h3, .xng h4 { margin: 0; text-wrap: balance; color: var(--text); font-family: var(--f-display); letter-spacing: -.02em; line-height: 1.2; }
.xng p { margin: 0; }
.xng figure { margin: 0; }
.xng img { max-width: 100%; }
.xng .wrap { max-width: 1140px; margin-inline: auto; position: relative; padding-inline: 16px; }
.xng .kicker { font: 600 .74rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--brand-text); }

/* Page sub-header, sticky under the fixed site navbar */
.xng .sub { position: sticky; top: var(--nav-h); z-index: 15; background: rgba(255, 255, 255, .92); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.xng .sub .wrap { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.xng .brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 800 1.05rem/1 var(--f-display); letter-spacing: -.02em; }
.xng .brand svg { flex: none; }
.xng .sub-links { display: flex; gap: 4px; margin-left: auto; }
.xng .sub-links a { color: var(--muted); text-decoration: none; font-size: .9rem; font-weight: 500; padding: 7px 12px; border-radius: 999px; }
.xng .sub-links a:hover { color: var(--text); background: var(--bg-alt); }
.xng .tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.xng .sub-links + .tools { margin-left: 0; }
.xng .home { color: var(--muted); text-decoration: none; font-size: .86rem; font-weight: 500; white-space: nowrap; }
.xng .home:hover { color: var(--text); }
.xng .seg { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); }
.xng .seg a { font: 600 .74rem/1 var(--f-body); color: var(--muted); text-decoration: none; padding: 7px 10px; border-radius: 999px; }
.xng .seg a[aria-current="page"] { background: #fff; color: var(--text); box-shadow: 0 1px 3px rgba(18, 32, 43, .15); }

/* Buttons: orange on white; dark brown on the orange bands (hero, download card) */
.xng .xbtn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; text-decoration: none; cursor: pointer;
  font: 600 1rem/1 var(--f-body); padding: 13px 22px; border-radius: 12px; border: 1px solid transparent; }
.xng .xbtn .stack { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.xng .xbtn small { font: 600 .66rem/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.xng .xbtn-orange { color: var(--on-brand); background: var(--brand); box-shadow: 0 10px 24px -12px rgba(255, 148, 76, .8); }
.xng .xbtn-orange:hover { color: var(--on-brand); background: var(--brand-hi); }
.xng .hero .xbtn-orange, .xng .dl .xbtn-orange { color: #fff; background: var(--on-brand); box-shadow: 0 12px 26px -12px rgba(61, 28, 0, .7); }
.xng .hero .xbtn-orange:hover, .xng .dl .xbtn-orange:hover { color: #fff; background: #57290a; }
.xng .sub .xbtn { padding: 8px 14px; font-size: .86rem; }

/* Hero: orange band, phone rising from its bottom edge */
.xng .hero { position: relative; overflow: hidden; text-align: center; padding-top: 64px; color: var(--on-hero);
  background: radial-gradient(80% 60% at 50% 100%, rgba(255, 255, 255, .28), transparent 70%), linear-gradient(160deg, var(--hero-a), var(--hero-b)); }
.xng .hero .wrap { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.xng .pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.xng .pill { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--on-hero); padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(61, 28, 0, .16); background: rgba(255, 255, 255, .35); }
.xng .hero h1 { color: var(--on-hero); font-size: clamp(2.4rem, 5.6vw, 4.4rem); line-height: 1.08; font-weight: 800; letter-spacing: -.035em; max-width: 16ch; }
.xng .hero h1 strong, .xng .dl h2 strong { font-weight: 800; color: var(--on-brand); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .9);
  text-decoration-thickness: .1em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.xng .h1-pre { display: block; margin-bottom: .55em; font: 700 clamp(.95rem, 1.6vw, 1.1rem)/1.3 var(--f-body); letter-spacing: .01em; color: var(--on-hero-soft); }
.xng .hero .intro { color: var(--on-hero-soft); font-size: clamp(1.05rem, 1.7vw, 1.2rem); max-width: 62ch; }
.xng .cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.xng .note { font-size: .86rem; color: var(--on-hero-soft); }
.xng .note b { color: var(--on-hero); font-weight: 600; }

.xng .stage { position: relative; width: 100%; display: flex; justify-content: center; padding-top: 26px; }
.xng .hud { position: absolute; display: flex; align-items: center; gap: 8px; white-space: nowrap; font: 500 .78rem/1 var(--f-mono); color: var(--text);
  padding: 9px 12px; border-radius: 12px; background: #fff; box-shadow: 0 16px 34px -16px rgba(61, 28, 0, .55); }
.xng .hud .t { font-weight: 500; font-size: .66rem; letter-spacing: .08em; padding: 3px 6px; border-radius: 5px; }
.xng .t-brand { color: var(--brand-text); background: var(--brand-tint); }
.xng .t-star { color: #7a5200; background: #fff3cc; }
.xng .t-dark { color: #fff; background: var(--deep); }
.xng .stars { color: var(--star); letter-spacing: .1em; }
.xng .hud-a { top: 18%; left: calc(50% - 350px); }
.xng .hud-b { top: 38%; right: calc(50% - 370px); }
.xng .hud-c { bottom: 34%; left: calc(50% - 320px); }
.xng .hud-d { bottom: 18%; right: calc(50% - 330px); }

/* Phone frame around a 1080x2340 screenshot */
.xng .phone { position: relative; margin: 0; width: 280px; max-width: 100%; flex: none;
  padding: 10px; border-radius: 40px; background: #1b1f25; box-shadow: var(--shadow), 0 0 0 1px #0d1014; }
.xng .phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; border-radius: 999px; background: #000; z-index: 3; }
.xng .hero .phone { border-bottom-left-radius: 0; border-bottom-right-radius: 0; aspect-ratio: 9 / 14; padding-bottom: 0; box-shadow: 0 -10px 60px -10px rgba(0, 0, 0, .4); }
.xng .hero .phone .screen { border-bottom-left-radius: 0; border-bottom-right-radius: 0; height: 100%; aspect-ratio: auto; }
.xng .screen { position: relative; width: 100%; aspect-ratio: 1080 / 2340; overflow: hidden; border-radius: 31px; background: var(--slot); }
.xng .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Pillars */
.xng .pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 64px; }
.xng .pillar { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; min-width: 0; }
.xng .ring { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-tint); border: 1.5px solid var(--brand); color: var(--brand-strong); }
.xng .ring svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xng .pillar h3 { font-size: 1.5rem; font-weight: 800; }
.xng .pillar p { color: var(--muted); max-width: 34ch; }

/* Format strip (items are printed twice by the page for a seamless loop) */
.xng .strip { overflow: hidden; padding-block: 14px; border-block: 1px solid var(--line); background: var(--bg-alt); }
.xng .track { display: flex; gap: 10px; width: max-content; }
.xng .track span { font: 500 .82rem/1 var(--f-mono); color: var(--muted); padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; white-space: nowrap; background: #fff; }
.xng .track span.hot { color: var(--brand-text); border-color: var(--brand-line); background: var(--brand-tint); }
@media (prefers-reduced-motion: no-preference) {
  .xng .track { animation: xng-mq 60s linear infinite; }
  .xng .strip:hover .track { animation-play-state: paused; }
  @keyframes xng-mq { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .xng .track { flex-wrap: wrap; width: auto; justify-content: center; }
  .xng .track [aria-hidden="true"] { display: none; }
}

/* Feature bands: one feature per band, screenshot and text alternate sides */
.xng .feature { padding-block: 80px; }
.xng .feature.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.xng .feature .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.xng .feature.flip .phones { order: 2; }
.xng .copy { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.xng .copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.xng .copy h2 strong { color: var(--brand-strong); }
.xng .copy > p { color: var(--muted); font-size: 1.05rem; max-width: 52ch; }
.xng .copy > p.intro { color: var(--text); font-size: 1.15rem; }
.xng .ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.xng .ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; }
.xng .ticks li::before { content: "\2713"; font-weight: 700; color: var(--brand-strong); }
.xng .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.xng .chip { font: 500 .8rem/1 var(--f-mono); padding: 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--text); }
.xng .chip.on { background: var(--brand-tint); border-color: var(--brand-line); color: var(--brand-text); }
.xng .chip.neg { background: #fde7e3; border-color: #f7c2b8; color: #b23a24; }
.xng .phones { display: flex; justify-content: center; align-items: flex-start; gap: 22px; min-width: 0; }
.xng .phones .phone { width: min(46%, 250px); }
.xng .phones .phone:nth-child(2) { margin-top: 64px; }
.xng .phones.single .phone { width: min(100%, 280px); }
.xng .divider { padding-block: 72px 0; }
.xng .divider .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.xng .divider h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; max-width: 20ch; }
.xng .divider h2 strong { color: var(--brand-strong); }
.xng .divider p { color: var(--muted); font-size: 1.05rem; max-width: 56ch; }
.xng .divider + .feature { padding-top: 56px; }

/* Thumbnails your way: three phones side by side */
.xng .custom-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; max-width: 900px; margin: 0 auto; }
.xng .custom-item { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; }
.xng .custom-item .phone { width: min(100%, 250px); }
.xng .custom-item figcaption { display: flex; flex-direction: column; gap: 2px; text-align: center; color: var(--muted); font-size: .92rem; }
.xng .custom-item figcaption b { color: var(--text); font-weight: 600; }
.xng .custom .head p { color: var(--muted); font-size: 1.05rem; max-width: 62ch; }

/* Sections */
.xng section.block { padding-block: 80px; }
.xng section.block.alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.xng .head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin: 0 auto 44px; max-width: 760px; }
.xng .head h2 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); line-height: 1.1; font-weight: 800; letter-spacing: -.03em; }
.xng .head h2 strong { color: var(--brand-strong); }

/* Card grid */
.xng .bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.xng .tile { position: relative; overflow: hidden; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); transition: border-color .2s, box-shadow .2s; --mx: 50%; --my: 50%; }
.xng .tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 148, 76, .08), transparent 45%); }
.xng .tile:hover { border-color: var(--brand-line); box-shadow: var(--shadow); }
.xng .tile:hover::after { opacity: 1; }
.xng .tile > * { position: relative; z-index: 1; }
.xng .tile h3 { font-size: 1.15rem; font-weight: 700; }
.xng .tile p { color: var(--muted); font-size: .95rem; }
.xng .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-tint); color: var(--brand-text); }
.xng .ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.xng .s7 { grid-column: span 7; }
.xng .s5 { grid-column: span 5; }
.xng .s4 { grid-column: span 4; }
.xng .tile.lead-tile { background: var(--brand-tint); border-color: var(--brand-line); }
.xng .tile.lead-tile .ico { background: #fff; }
.xng .tile.lead-tile h3 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; }

/* Privacy */
.xng .trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.xng .big { display: block; margin-bottom: 6px; font: 800 2.8rem/1 var(--f-display); letter-spacing: -.04em; color: var(--brand-strong); }

/* Facts + FAQ */
.xng .facts-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
.xng .facts { width: 100%; border-collapse: collapse; font-size: .95rem; }
.xng .facts th, .xng .facts td { text-align: left; vertical-align: top; padding: 13px 20px; border-top: 1px solid var(--line); }
.xng .facts tr:first-child th, .xng .facts tr:first-child td { border-top: 0; }
.xng .facts th { width: 28%; min-width: 150px; font-weight: 600; color: var(--muted); }
.xng .faq { display: flex; flex-direction: column; gap: 8px; max-width: 860px; margin: 0 auto; }
.xng .faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.xng .faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 20px; font-weight: 600; color: var(--text); }
.xng .faq summary::-webkit-details-marker { display: none; }
.xng .faq summary::after { content: "+"; font-size: 1.2rem; line-height: 1; color: var(--brand-strong); }
.xng .faq details[open] summary { color: var(--brand-text); }
.xng .faq details[open] summary::after { content: "\2212"; }
.xng .faq details p { padding: 0 20px 18px; color: var(--muted); max-width: 70ch; }

/* Download card */
.xng .dl { padding-block: 80px; }
.xng .dl-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 48px; border-radius: 24px; color: var(--on-hero); background: linear-gradient(160deg, var(--hero-a), var(--hero-b)); }
.xng .dl-card::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 65%); pointer-events: none; }
.xng .dl-card > * { position: relative; }
.xng .dl h2 { color: var(--on-hero); font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -.03em; }
.xng .dl p { color: var(--on-hero-soft); margin-top: 10px; }
.xng .dl .cta { justify-content: flex-start; }
.xng .credit { padding-block: 0 32px; color: var(--faint); font-size: .82rem; text-align: center; }

/* Motion: hero load-in; scroll-driven reveals only where animation-timeline is supported */
.xng .xng-progress { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .xng .hero .stage .phone { animation: xng-rise 1s cubic-bezier(.16, 1, .3, 1) both; }
  .xng .hud { animation: xng-pop .7s cubic-bezier(.16, 1, .3, 1) both; }
  .xng .hud-a { animation-delay: .4s; }
  .xng .hud-b { animation-delay: .55s; }
  .xng .hud-c { animation-delay: .7s; }
  .xng .hud-d { animation-delay: .85s; }
  @keyframes xng-rise { from { transform: translateY(70px); opacity: .4; } }
  @keyframes xng-pop { from { transform: translateY(14px) scale(.94); opacity: .15; } }

  @supports (animation-timeline: view()) {
    .xng .xng-progress { display: block; position: fixed; z-index: 1031; top: var(--nav-h); left: 0; right: 0; height: 3px;
      background: var(--brand); transform-origin: 0 50%; animation: xng-grow linear both; animation-timeline: scroll(root); }
    @keyframes xng-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

    .xng .pillar, .xng .tile, .xng .facts-wrap, .xng .faq details, .xng .divider .wrap, .xng .head {
      animation: xng-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    .xng .pillar:nth-child(2) { animation-range: entry 10% entry 80%; }
    .xng .pillar:nth-child(3) { animation-range: entry 20% entry 90%; }
    .xng .custom-item { animation: xng-fan-up linear both; animation-timeline: view(); animation-range: entry 0% cover 40%; }
    .xng .custom-item:nth-child(1) { --tilt: -6deg; }
    .xng .custom-item:nth-child(2) { animation-range: entry 10% cover 50%; }
    .xng .custom-item:nth-child(3) { --tilt: 6deg; animation-range: entry 20% cover 60%; }
    @keyframes xng-fan-up { from { opacity: .15; transform: translateY(120px) rotate(var(--tilt, 0deg)) scale(.88); } }
    @keyframes xng-reveal { from { opacity: .2; transform: translateY(48px); } }

    .xng .feature .phones { perspective: 1400px; }
    .xng .feature .phone { animation: xng-phone-in-l linear both, xng-float linear both; animation-timeline: view(), view();
      animation-range: entry 0% cover 45%, cover 40% exit 100%; }
    .xng .feature.flip .phone { animation-name: xng-phone-in-r, xng-float; }
    .xng .feature .phones .phone:nth-child(2) { animation-name: xng-phone-in-l, xng-float-2; animation-range: entry 10% cover 55%, entry 0% exit 100%; }
    .xng .feature.flip .phones .phone:nth-child(2) { animation-name: xng-phone-in-r, xng-float-2; }
    @keyframes xng-phone-in-l { from { opacity: .15; transform: translateY(160px) rotateX(24deg) rotateY(22deg) scale(.8); } }
    @keyframes xng-phone-in-r { from { opacity: .15; transform: translateY(160px) rotateX(24deg) rotateY(-22deg) scale(.8); } }
    @keyframes xng-float { to { translate: 0 -70px; } }
    @keyframes xng-float-2 { from { translate: 0 80px; } to { translate: 0 -110px; } }
    .xng .feature .copy > * { animation: xng-from-r linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .xng .feature.flip .copy > * { animation-name: xng-from-l; }
    .xng .feature .copy > :nth-child(2) { animation-range: entry 5% cover 35%; }
    .xng .feature .copy > :nth-child(3) { animation-range: entry 10% cover 40%; }
    .xng .feature .copy > :nth-child(n+4) { animation-range: entry 15% cover 45%; }
    @keyframes xng-from-r { from { opacity: .1; transform: translateX(90px); } }
    @keyframes xng-from-l { from { opacity: .1; transform: translateX(-90px); } }
  }
}

/* Responsive */
@media (max-width: 1080px) {
  .xng .hud { display: none; }
  .xng .s7, .xng .s5, .xng .s4 { grid-column: span 6; }
}
@media (max-width: 860px) {
  .xng .sub-links { display: none; }
  .xng .sub-links + .tools { margin-left: auto; }
  .xng .pillars { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 48px; }
  .xng .feature { padding-block: 56px; }
  .xng .feature .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .xng .feature .phones, .xng .feature.flip .phones { order: 1; }
  .xng .trust { grid-template-columns: minmax(0, 1fr); }
  .xng .dl-card { grid-template-columns: minmax(0, 1fr); padding: 32px 24px; }
}
@media (max-width: 600px) {
  .xng .sub .xbtn { display: none; }
  .xng .hero { padding-top: 44px; }
  .xng .stage .phone { width: min(100%, 250px); }
  .xng .phones .phone { width: min(48%, 200px); }
  .xng .phones .phone:nth-child(2) { margin-top: 36px; }
  .xng .custom-phones { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; overflow-x: auto;
    scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
  .xng .custom-item { scroll-snap-align: center; }
  .xng .bento { grid-template-columns: minmax(0, 1fr); }
  .xng .s7, .xng .s5, .xng .s4 { grid-column: auto; }
  .xng section.block { padding-block: 60px; }
  .xng .dl { padding-block: 60px; }
  .xng .cta .xbtn { width: 100%; max-width: 340px; }
}
@media (max-width: 430px) {
  .xng .home { display: none; } /* not enough room next to the brand and EN/FR/DE; the page ends with a link back */
}
