/* Shared styles: the header, and what the design's inline styles cannot express (breakpoints). */
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #0A1422; overflow-x: hidden; }
img { max-width: 100%; }
/* A size the build wrote on the tag only reserves the picture's shape; the layout stays whatever the page says. */
:where(img[data-dim]) { width: auto; height: auto; }
[id] { scroll-margin-top: 88px; }
.eb-if { display: contents; }
.eb-if[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.eb-skip { position: absolute; left: 16px; top: -64px; z-index: 100; padding: 12px 16px; border-radius: 10px; background: #0E1A2B; color: #FFFFFF; font: 600 15px 'Be Vietnam Pro', system-ui, sans-serif; text-decoration: none; }
.eb-skip:focus { top: 12px; color: #FFFFFF; }

/* Header, desktop */
.eb-header { position: sticky; top: 0; z-index: 50; background: #FFFFFF; border-bottom: 1px solid #E3E7EC; font-family: 'Be Vietnam Pro', system-ui, sans-serif; color: #0E1A2B; -webkit-font-smoothing: antialiased; }
.eb-header a { color: #0E1A2B; text-decoration: none; }
.eb-header a:hover { color: #A34A08; }
.eb-header-in { max-width: 1264px; margin: 0 auto; padding: 14px 32px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 12px 28px; }
.eb-logo { height: 48px; display: flex; align-items: center; flex: none; }
.eb-logo img { display: block; width: 184px; height: 38px; }
.eb-menu { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.eb-nav { margin: 0 auto; }
.eb-nav ul { list-style: none; margin: 0; padding: 0; }
.eb-nav > ul { display: flex; align-items: center; gap: 2px; }
.eb-nav > ul > li { position: relative; }
.eb-nav > ul > li > a { min-height: 44px; padding: 0 14px; display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 500; white-space: nowrap; }
.eb-nav a[aria-current="page"] { color: #A34A08; }
.eb-sub { position: absolute; left: 0; top: 100%; min-width: 300px; padding: 8px; border: 1px solid #E3E7EC; border-radius: 14px; background: #FFFFFF; box-shadow: 0 16px 40px rgba(14,26,43,0.14); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s; }
.eb-has-sub:hover > .eb-sub, .eb-has-sub:focus-within > .eb-sub { opacity: 1; visibility: visible; transform: none; }
.eb-sub a { min-height: 44px; padding: 0 12px; border-radius: 8px; display: flex; align-items: center; gap: 12px; font-size: 15px; }
.eb-sub a:hover { background: #F3F5F7; }
.eb-sub-n { flex: none; width: 22px; font: 500 11px 'JetBrains Mono', ui-monospace, monospace; color: #5B6673; }
.eb-header-end { display: flex; align-items: center; gap: 12px; flex: none; }
.eb-lang { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: #F3F5F7; }
.eb-lang a { min-width: 44px; height: 38px; border-radius: 8px; color: #5B6673; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.eb-lang a[aria-current] { background: #FFFFFF; color: #0E1A2B; box-shadow: 0 1px 2px rgba(14,26,43,0.12); }
.eb-lang-l { display: none; }
.eb-header a.eb-cta { height: 48px; padding: 0 20px; border-radius: 12px; background: #F68C1E; color: #0E1A2B; display: flex; align-items: center; font-size: 15px; font-weight: 600; white-space: nowrap; }
.eb-burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: #F3F5F7; color: #0E1A2B; align-items: center; justify-content: center; cursor: pointer; }
.eb-ic-close { display: none; }
.eb-only-m { display: none !important; }
:focus-visible { outline: 2px solid #F68C1E; outline-offset: 2px; }

/* Header, phone-style menu from 1200px down (as the design specifies) */
@media (max-width: 1200px) {
  .eb-header-in { height: 64px; padding: 0 12px 0 20px; }
  .eb-logo { height: 44px; }
  .eb-logo img { width: 151px; height: 32px; }
  .eb-burger { display: flex; }
  .eb-menu { display: none; position: fixed; left: 0; right: 0; top: 65px; bottom: 0; overflow-y: auto; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 0 20px 24px; background: #0E1A2B; color: #FFFFFF; }
  .eb-open .eb-menu { display: flex; }
  .eb-open .eb-ic-open { display: none; }
  .eb-open .eb-ic-close { display: block; }
  .eb-only-m { display: block !important; }
  .eb-header .eb-menu a { color: #FFFFFF; }
  .eb-nav { margin: 0; order: 2; }
  .eb-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .eb-nav > ul > li { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .eb-nav > ul > li > a { min-height: 52px; padding: 0; justify-content: space-between; font-size: 17px; font-weight: 600; }
  .eb-header .eb-nav a[aria-current="page"] { color: #F68C1E; }
  .eb-sub { position: static; min-width: 0; padding: 0 0 10px; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .eb-header .eb-sub a { padding: 0; color: #D3DAE3; }
  .eb-sub a:hover { background: none; }
  .eb-sub-n { color: #8794A6; }
  .eb-header-end { display: contents; }
  .eb-lang { order: 1; margin: 16px 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 12px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
  .eb-header .eb-lang a { height: 44px; border-radius: 9px; color: #D3DAE3; font-size: 14px; font-weight: 500; }
  .eb-header .eb-lang a[aria-current] { background: #FFFFFF; color: #0E1A2B; font-weight: 600; box-shadow: none; }
  .eb-lang-s { display: none; }
  .eb-lang-l { display: inline; }
  .eb-header .eb-menu a.eb-cta { order: 3; margin-top: 24px; height: 52px; padding: 0 18px; color: #0E1A2B; font-size: 16px; justify-content: center; }
  .eb-header a.eb-hotline { order: 4; display: flex !important; height: 44px; margin-top: 8px; align-items: center; justify-content: center; font-size: 15px; font-weight: 600; }
  body.eb-lock { overflow: hidden; }
  [id] { scroll-margin-top: 76px; }
}

/* Phone: the design's desktop gutters and section spacing, tightened to the mobile artboards' values. */
@media (max-width: 700px) {
  main [style*="max-width: 1264px"], footer [style*="max-width: 1264px"] { padding-left: 20px !important; padding-right: 20px !important; }
  main > section[style*="padding: 96px 0"], main > section[style*="padding: 88px 0 96px"] { padding-top: 64px !important; padding-bottom: 64px !important; }
}
@media (max-width: 700px) {
  /* Heading sizes of the mobile artboards. */
  main h1 { font-size: 36px !important; }
  main [style*="font-size: 44px"] { font-size: 28px !important; }
  main h2[style*="font-size: 32px"] { font-size: 26px !important; }
  main h2[style*="font-size: 28px"] { font-size: 24px !important; }
}
@media (max-width: 700px) {
  /* Three stat cards in a row: tighter so "2,000+" fits a phone column. */
  main [style*="grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px"] > div { padding: 16px 10px !important; }
  main [style*="grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px"] > div > [style*="font-size: 32px"] { font-size: 24px !important; }
}

/* Motion. The hidden starting state exists only once site.js has added .eb-rv, so nothing is hidden without JavaScript. */
.eb-mq-away .eb-mq-track { animation-play-state: paused !important; }
.eb-rv { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); will-change: opacity, transform; }
.eb-rv.eb-rv-l { transform: translateX(-36px); }
.eb-rv.eb-rv-r { transform: translateX(36px); }
.eb-rv.eb-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .eb-rv { opacity: 1; transform: none; transition: none; } }

/* Article body: text brought over from the old site, dressed in the article design's styles. */
.eb-prose > :first-child { margin-top: 0; }
.eb-prose p { margin: 18px 0 0; }
.eb-prose h2 { margin: 48px 0 0; font-size: 28px; line-height: 1.25; font-weight: 700; letter-spacing: -0.02em; color: #0E1A2B; }
.eb-prose h3 { margin: 32px 0 0; font-size: 22px; line-height: 1.35; font-weight: 600; color: #0E1A2B; }
.eb-prose h4, .eb-prose h5, .eb-prose h6 { margin: 24px 0 0; font-size: 18px; line-height: 1.4; font-weight: 600; color: #0E1A2B; }
.eb-prose strong { color: #0E1A2B; font-weight: 600; }
.eb-prose a { color: #A34A08; text-decoration: underline; text-underline-offset: 3px; }
.eb-prose a:hover { color: #0E1A2B; }
.eb-prose ul, .eb-prose ol { margin: 18px 0 0; padding: 0 0 0 22px; }
.eb-prose ul { list-style: none; padding-left: 0; }
.eb-prose ul > li { position: relative; padding-left: 20px; }
.eb-prose ul > li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 2px; background: #F68C1E; }
.eb-prose li + li { margin-top: 10px; }
.eb-prose li > ul, .eb-prose li > ol { margin-top: 10px; }
.eb-prose figure { margin: 32px 0 0; }
.eb-prose img { display: block; max-width: 100%; height: auto; border-radius: 16px; background: #E3E7EC; }
.eb-prose figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: #5B6673; text-align: left; }
.eb-prose blockquote { margin: 28px 0 0; padding: 24px 28px; border-radius: 18px; background: #0E1A2B; color: #FFFFFF; font-size: 20px; line-height: 1.5; font-weight: 500; }
.eb-prose blockquote p { margin: 0; }
.eb-prose blockquote p + p { margin-top: 12px; }
.eb-prose blockquote strong, .eb-prose blockquote a { color: #FFFFFF; }
.eb-prose figure.wp-block-table { overflow-x: auto; }
.eb-prose table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; }
.eb-prose th, .eb-prose td { padding: 12px 14px; border: 1px solid #E3E7EC; text-align: left; vertical-align: top; }
.eb-prose th, .eb-prose thead td { background: #F3F5F7; color: #0E1A2B; font-weight: 600; }
.eb-prose math { font-size: 1.1em; }
.eb-prose .rank-math-block { margin-top: 20px; border-top: 1px solid #E3E7EC; }
.eb-prose .rank-math-list-item { padding: 20px 0; border-bottom: 1px solid #E3E7EC; }
.eb-prose .rank-math-question { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 600; }
.eb-prose .rank-math-answer p { margin: 8px 0 0; font-size: 17px; line-height: 1.7; color: #4A5563; }
@media (max-width: 700px) {
  .eb-prose h2 { font-size: 24px; margin-top: 40px; }
  .eb-prose h3 { font-size: 20px; }
  .eb-prose blockquote { padding: 20px; font-size: 18px; }
}

/* Branch map: provinces and pins light up outward from Ho Chi Minh City. The waiting state is set by
   site.js only, so without JavaScript (or with reduced motion) the finished map simply shows. */
.eb-map .eb-prov { transition: fill .7s ease var(--d, 0ms); }
.eb-map .eb-pin { transform-box: fill-box; transform-origin: 50% 100%; transition: transform .55s cubic-bezier(.2, 1.6, .4, 1) var(--d, 0ms), opacity .2s linear var(--d, 0ms); }
.eb-map .eb-map-label { transition: opacity .5s ease var(--d, 0ms); }
.eb-map .eb-pulse { fill: none; stroke: #FFFFFF; stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; pointer-events: none; }
.eb-map.eb-map-wait .eb-prov { fill: #2B3C53; transition: none; }
.eb-map.eb-map-wait .eb-pin { transform: scale(0); opacity: 0; transition: none; }
.eb-map.eb-map-wait .eb-map-label { opacity: 0; transition: none; }
.eb-map.eb-map-go .eb-pulse { animation: eb-map-pulse 1.5s ease-out 2; }
.eb-map.eb-map-go .eb-pulse-2 { animation-delay: .45s; }
@keyframes eb-map-pulse { 0% { opacity: .9; transform: scale(.4); } 100% { opacity: 0; transform: scale(9); } }
/* Map under the pointer (devices with a mouse, after the opening wave has finished). */
.eb-map.eb-map-done .eb-pin { transition: transform .22s cubic-bezier(.2, 1.4, .4, 1), filter .22s ease; cursor: pointer; }
.eb-map.eb-map-done .eb-prov { transition: fill .2s ease; }
@media (hover: hover) {
  .eb-map.eb-map-done .eb-pin:hover { transform: scale(1.45) translateY(-4%); filter: drop-shadow(0 0 10px rgba(255, 255, 255, .75)); }
  .eb-map.eb-map-done .eb-prov:hover { fill: #FFB259; }
}

/* Province name that follows the pointer over the map. */
.eb-tip { position: fixed; z-index: 60; left: 0; top: 0; transform: translate(-50%, calc(-100% - 14px)); padding: 6px 11px; border-radius: 8px; background: #FFFFFF; color: #0E1A2B; font: 600 13px/1.3 'Be Vietnam Pro', system-ui, sans-serif; white-space: nowrap; box-shadow: 0 8px 22px rgba(0, 0, 0, .28); pointer-events: none; opacity: 0; transition: opacity .12s ease; }
.eb-tip.eb-tip-on { opacity: 1; }
.eb-tip::after { content: ""; position: absolute; left: 50%; top: 100%; margin-left: -5px; border: 5px solid transparent; border-top-color: #FFFFFF; }
.eb-map.eb-map-done .eb-area { cursor: default; }
@media (hover: hover) { .eb-map.eb-map-done .eb-area:not(.eb-prov):hover { fill: #3D5270; } }

/* Hover on the rest of the page (devices with a mouse only). Nothing here changes layout. */
main a[style*="background: #F68C1E"], .eb-header a.eb-cta, main button[style*="background: #F68C1E"] { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
main a > svg:last-child, main button > svg:last-child, footer a > svg:last-child { transition: transform .2s ease; }
main article > a:first-child, main a[style*="flex-direction: column"] > img { border-radius: 16px; }
main article > a:first-child { overflow: hidden; }
main article > a:first-child img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
main a[style*="flex-direction: column"] > img { transition: transform .35s ease, box-shadow .35s ease; }
main [style*="display: grid"] > [style*="border: 1px solid"]:not(.eb-rv),
main [style*="display: grid"] > [style*="border-radius: 1"]:not(.eb-rv):not(article) { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.eb-mq-track [style*="border: 1px solid"] { transition: border-color .2s ease, transform .2s ease; }
@media (hover: hover) {
  main a[style*="background: #F68C1E"]:hover, .eb-header a.eb-cta:hover, main button[style*="background: #F68C1E"]:hover { color: #0E1A2B; background-color: #FF9D38 !important; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(246, 140, 30, .38); }
  main a:hover > svg:last-child, main button:hover > svg:last-child, footer a:hover > svg:last-child { transform: translateX(4px); }
  main article:hover > a:first-child img { transform: scale(1.06); }
  main article:hover h3 a { color: #A34A08; }
  main a[style*="flex-direction: column"]:hover > img { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(14, 26, 43, .16); }
  main [style*="display: grid"] > [style*="border: 1px solid #E3E7EC"]:not(.eb-rv):hover { transform: translateY(-4px); border-color: #F68C1E !important; box-shadow: 0 16px 36px rgba(14, 26, 43, .10); }
  main [style*="display: grid"] > [style*="border: 1px solid rgba(255"]:not(.eb-rv):hover { transform: translateY(-4px); border-color: rgba(246, 140, 30, .7) !important; }
  .eb-mq-track [style*="border: 1px solid"]:hover { border-color: #F68C1E !important; transform: translateY(-2px); }
  .eb-nav > ul > li > a { transition: color .15s ease; }
}
@media (hover: hover) {
  /* Any rounded card sitting in a grid lifts a little under the pointer. */
  main [style*="display: grid"] > [style*="border-radius: 1"]:not(.eb-rv):not(article):hover,
  main [style*="display: grid"] > [style*="border-radius: 2"]:not(.eb-rv):not(article):hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(14, 26, 43, .12); }
}
main [style*="display: grid"] > [style*="border-radius: 2"]:not(.eb-rv):not(article) { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }

/* Video card: the picture plays the film in place; the arrow is the way out to YouTube. */
.eb-yt-frame { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: #000; }
.eb-yt-out { box-sizing: content-box; padding: 12px; margin: -12px; border-radius: 10px; transition: background-color .15s ease, transform .2s ease; }
@media (hover: hover) { .eb-yt-out:hover { background-color: rgba(255, 255, 255, .14); } }
/* Player with nothing but play and pause: the layer covers the film and shows one round button. */
.eb-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.eb-yt .eb-yt-frame { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; pointer-events: none; }
.eb-yt-layer { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #0E1A2B; }
.eb-yt-layer svg { box-sizing: content-box; padding: 18px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); opacity: 0; transform: scale(.9); transition: opacity .18s ease, transform .18s ease; }
.eb-yt-layer .eb-yt-ic-play { display: none; }
.eb-yt-paused .eb-yt-layer { background: rgba(14, 26, 43, .35); }
.eb-yt-paused .eb-yt-ic-play { display: block; opacity: 1; transform: none; }
.eb-yt-paused .eb-yt-ic-pause { display: none; }
.eb-yt-layer:focus-visible svg { opacity: 1; transform: none; }
@media (hover: hover) { .eb-yt-layer:hover svg { opacity: 1; transform: none; } }

/* Hotline: the handset rings (a short shake, then a rest), and faster under the pointer. */
a[href^="tel:"] > svg:first-child { transform-origin: 50% 60%; animation: eb-ring 2.6s ease-in-out infinite; }
@keyframes eb-ring {
  0%, 46%, 100% { transform: rotate(0); }
  4%, 12%, 20%, 28%, 36% { transform: rotate(-16deg) scale(1.12); }
  8%, 16%, 24%, 32%, 40% { transform: rotate(16deg) scale(1.12); }
}
@media (hover: hover) { a[href^="tel:"]:hover > svg:first-child { animation-duration: 1.1s; } }
@media (prefers-reduced-motion: reduce) { a[href^="tel:"] > svg:first-child { animation: none; } }

/* ---------- Arrival ----------
   First page of a visit: a white panel with the logo lifts away, an orange panel follows it, and the
   page's opening section assembles behind them. Later pages skip the panels and only assemble.
   All of it is decoration on top of a finished page: with reduced motion, or without JavaScript for the
   panels, the page is simply there. Animations fill "backwards" only, so nothing keeps a transform. */
html { --t0: .05s; }
html.eb-intro { --t0: 1.15s; }
@media (prefers-reduced-motion: no-preference) {
  html.eb-intro:not(.eb-intro-done) body::before,
  html.eb-intro:not(.eb-intro-done) body::after { content: ""; position: fixed; inset: 0; pointer-events: none; }
  html.eb-intro:not(.eb-intro-done) body::before { z-index: 201; background: #FFFFFF url(/assets/img/7a4237ac921a4c93cea518dcaee6d983.svg) center / min(58vw, 300px) auto no-repeat; animation: eb-curtain .8s cubic-bezier(.76, 0, .24, 1) .75s forwards; }
  html.eb-intro:not(.eb-intro-done) body::after { z-index: 200; background: #F68C1E; animation: eb-curtain .8s cubic-bezier(.76, 0, .24, 1) .9s forwards; }
  @keyframes eb-curtain { to { transform: translateY(-101%); } }

  .eb-header { animation: eb-drop .7s cubic-bezier(.2, .8, .2, 1) var(--t0) backwards; }
  @keyframes eb-drop { from { transform: translateY(-100%); opacity: 0; } }

  main > section:first-of-type :has(> h1) > * { animation: eb-rise .85s cubic-bezier(.2, .8, .2, 1) calc(var(--t0) + .15s) backwards; }
  main > section:first-of-type :has(> h1) > :nth-child(2) { animation-delay: calc(var(--t0) + .27s); }
  main > section:first-of-type :has(> h1) > :nth-child(3) { animation-delay: calc(var(--t0) + .39s); }
  main > section:first-of-type :has(> h1) > :nth-child(4) { animation-delay: calc(var(--t0) + .51s); }
  main > section:first-of-type :has(> h1) > :nth-child(n+5) { animation-delay: calc(var(--t0) + .63s); }
  main > section:first-of-type :has(> h1) > h1 { animation-name: eb-rise-clip; animation-duration: 1s; }
  @keyframes eb-rise { from { opacity: 0; transform: translateY(26px); } }
  @keyframes eb-rise-clip { from { opacity: 0; transform: translateY(44px); clip-path: inset(0 0 100% 0); } 60% { opacity: 1; } to { clip-path: inset(0 0 -10% 0); } }

  /* Home: the photograph settles from a slight zoom and the figures bar comes up last. */
  main .eb-hero .eb-hero-s1 { animation: eb-hero-fade 24s ease-in-out -1.2s infinite, eb-hero-zoom 3.2s cubic-bezier(.2, .7, .2, 1) var(--t0) backwards; }
  @keyframes eb-hero-zoom { from { transform: scale(1.14); } }
  main .eb-hero > div:last-child { animation: eb-rise .9s cubic-bezier(.2, .8, .2, 1) calc(var(--t0) + .75s) backwards; }
}
/* YouTube draws its title, logo and "more videos" row along the top and bottom edges of its frame.
   The frame is made three times the height of the picture and centred, so the film still fills the
   card exactly while those edges fall outside it and are cut off. */
.eb-yt .eb-yt-frame { top: -100%; bottom: auto; height: 300%; }

/* Hover: service cards (picture on top) and the licence / certificate chips. */
main article[style*="border: 1px solid"]:not(.eb-rv) { transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
main article[style*="border: 1px solid"] > img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
main li[style*="border: 1px solid"] { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
main li[style*="border: 1px solid"] > svg { transition: transform .25s cubic-bezier(.2, 1.6, .4, 1); }
@media (hover: hover) {
  main article[style*="border: 1px solid"]:not(.eb-rv):hover { transform: translateY(-6px); border-color: #F68C1E !important; box-shadow: 0 22px 44px rgba(14, 26, 43, .14); }
  main article[style*="border: 1px solid"]:hover > img { transform: scale(1.06); }
  main li[style*="border: 1px solid"]:hover { transform: translateY(-3px); border-color: #F68C1E !important; box-shadow: 0 10px 22px rgba(14, 26, 43, .10); }
  main li[style*="border: 1px solid"]:hover > svg { transform: scale(1.22) rotate(-6deg); }
}

/* Long titles and wide tables must never push a page sideways. */
main article, main a[style*="flex-direction: column"] { min-width: 0; }
main article h3, main article p, main a[style*="flex-direction: column"] > span, .eb-prose { overflow-wrap: anywhere; }
.eb-prose { min-width: 0; }
.eb-prose table { display: block; max-width: 100%; overflow-x: auto; }
.eb-prose pre, .eb-prose math { max-width: 100%; overflow-x: auto; }
