/*
 * Buying Mobile Solution - premium shared footer (2026-11-13)
 * Scoped to .bms-footer: keeps existing pages and CMS untouched.
 */
.bms-footer {
  --bmsf-paper: #f7fbff;
  --bmsf-muted: #9eb1ca;
  --bmsf-dim: #7189a9;
  --bmsf-gold: #f3ca80;
  --bmsf-green: #30d58c;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  padding: 44px 0 0;
  color: var(--bmsf-paper);
  background: #041025;
  background-image:
    radial-gradient(ellipse 48% 28% at 91% 7%, rgba(10,83,123,.26), transparent 79%),
    radial-gradient(ellipse 45% 33% at 1% 55%, rgba(16,51,119,.25), transparent 78%),
    linear-gradient(180deg, #081830 0%, #041125 54%, #030c1b 100%);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.bms-footer *, .bms-footer *::before, .bms-footer *::after { box-sizing: border-box; }
.bms-footer a { color: inherit; text-decoration: none; }
.bms-footer a:focus-visible { outline: 2px solid #ffd992; outline-offset: 4px; border-radius: 5px; }
.bms-footer svg { display: block; flex: 0 0 auto; }
.bms-footer h2, .bms-footer h3, .bms-footer h4, .bms-footer p { margin-top: 0; }
.bmsf-backdrop { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.bmsf-backdrop::before {
  content: ""; position: absolute; width: 600px; height: 600px; top: -355px; right: -210px;
  border: 1px solid rgba(243,202,128,.07); border-radius: 50%; box-shadow: 0 0 0 75px rgba(243,202,128,.017), 0 0 0 150px rgba(243,202,128,.014);
}
.bmsf-backdrop::after {
  content: ""; position: absolute; width: 850px; height: 850px; bottom: -660px; left: -400px;
  border: 1px solid rgba(62,138,192,.08); border-radius: 50%; box-shadow: 0 0 0 100px rgba(38,122,187,.015);
}
.bmsf-wrap { width: min(1320px, calc(100% - 64px)); margin: 0 auto; position: relative; z-index: 1; }

/* Premium contact hero */
.bmsf-hero {
  position: relative; overflow: hidden; display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(282px, .72fr);
  align-items: center; gap: 40px; min-height: 280px;
  padding: clamp(30px, 4vw, 56px) clamp(30px, 4.8vw, 65px);
  border: 1px solid rgba(243,202,128,.25); border-radius: 30px;
  background:
    radial-gradient(ellipse 72% 120% at 94% 84%, rgba(18,113,111,.26), transparent 75%),
    linear-gradient(117deg, #102c52 0%, #0c2a4a 41%, #0b3149 100%);
  box-shadow: 0 26px 75px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.07);
}
.bmsf-hero::before {
  content: ""; position: absolute; inset: 0 auto auto 0; width: 47%; height: 2px;
  background: linear-gradient(90deg, #f8d38d, rgba(248,211,141,0)); pointer-events: none;
}
.bmsf-hero::after {
  content: ""; position: absolute; width: 280px; height: 280px; right: 26%; bottom: -175px;
  border: 1px solid rgba(243,202,128,.14); border-radius: 50%; pointer-events: none;
}
.bmsf-hero-copy, .bmsf-hero-action { position: relative; z-index: 1; min-width: 0; }
.bmsf-eyebrow { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; color: #e7d3aa; font-size: 11px; font-weight: 800; letter-spacing: 2px; }
.bmsf-live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--bmsf-green); box-shadow: 0 0 0 4px rgba(48,213,140,.13); }
.bmsf-eyebrow-separator { color: rgba(255,255,255,.28); }
.bmsf-hero h2 { margin: 15px 0 12px; font-size: clamp(29px, 3.9vw, 52px); line-height: 1.17; font-weight: 900; letter-spacing: -.8px; color: #fff; }
.bmsf-hero h2 em { font-style: normal; color: var(--bmsf-gold); }
.bmsf-hero p { max-width: 675px; margin: 0; color: #c0d2e8; font-size: clamp(13px, 1.1vw, 15px); line-height: 1.9; }
.bmsf-hero-action { padding: 19px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(3,22,38,.47); box-shadow: 0 12px 35px rgba(1,8,20,.1); }
.bmsf-action-caption { display: block; margin: 0 0 12px 3px; font-size: 10px; letter-spacing: 2px; font-weight: 800; color: #a8c1ce; }
.bmsf-line-cta { display: flex; align-items: center; gap: 13px; padding: 14px; min-height: 75px; border-radius: 14px; background: linear-gradient(135deg,#29b96e,#108f59); color: #fff !important; box-shadow: 0 10px 26px rgba(3,74,51,.32); transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.bmsf-line-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 28px rgba(3,74,51,.4); filter: brightness(1.08); }
.bmsf-line-symbol { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.18); flex: 0 0 auto; }
.bmsf-line-symbol svg { width: 25px; height: 25px; }
.bmsf-line-cta strong { display: block; font-size: 17px; line-height: 1.35; font-weight: 900; }
.bmsf-line-cta small { display: block; font-size: 12px; font-weight: 700; opacity: .9; margin-top: 2px; }
.bmsf-cta-arrow { margin-left: auto; display: grid; place-items: center; }
.bmsf-call-cta { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 42px; margin-top: 10px; color: #edf7ff !important; border: 1px solid rgba(255,255,255,.14); border-radius: 11px; font-weight: 750; transition: background .2s ease; }
.bmsf-call-cta:hover { background: rgba(255,255,255,.1); }
.bmsf-call-cta svg { width: 16px; height: 16px; }
.bmsf-call-hint { padding-top: 12px; text-align: center; font-size: 12px; color: #bbd0da; }

/* Value strip */
.bmsf-assurance { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 27px 6px 31px; border-bottom: 1px solid rgba(255,255,255,.105); }
.bmsf-assurance-item { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 0 22px; }
.bmsf-assurance-item + .bmsf-assurance-item { border-left: 1px solid rgba(255,255,255,.1); }
.bmsf-assurance-item:first-child { padding-left: 4px; }
.bmsf-assurance-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 43px; color: #efc67f; border: 1px solid rgba(239,198,127,.18); background: rgba(239,198,127,.055); border-radius: 14px; }
.bmsf-assurance-icon svg { width: 20px; height: 20px; }
.bmsf-assurance-item strong { display: block; font-size: 13px; line-height: 1.5; font-weight: 850; color: #f5f8ff; }
.bmsf-assurance-item small { display: block; margin-top: 2px; font-size: 11px; line-height: 1.5; color: #95aec9; }

/* Four dense, balanced information columns */
.bmsf-overview { display: grid; grid-template-columns: minmax(0,1.32fr) repeat(3,minmax(0,1fr)); gap: 13px; align-items: stretch; margin: 26px 0 17px; }
.bmsf-about, .bmsf-link-panel, .bmsf-guide-panel { min-width: 0; padding: 24px; border-radius: 20px; border: 1px solid rgba(163,187,217,.12); background: linear-gradient(155deg, rgba(22,42,73,.69), rgba(8,25,48,.86)); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.bmsf-about { position: relative; background: linear-gradient(145deg,rgba(19,55,84,.85),rgba(8,27,49,.93)); border-color: rgba(148,196,217,.22); }
.bmsf-about::after { content: ""; position: absolute; width: 72px; height: 2px; background: #f4cb82; top: 0; left: 25px; }
.bmsf-about-top { display: flex; align-items: center; gap: 14px; }
.bmsf-logo-frame { display: grid; place-items: center; width: 98px; height: 102px; flex: 0 0 98px; padding: 5px; border-radius: 14px; border: 1px solid rgba(243,202,128,.14); background: rgba(255,255,255,.055); }
.bmsf-logo-frame img { display: block !important; width: 100%; height: 100%; object-fit: contain; max-width: none; margin: 0; filter: drop-shadow(0 6px 12px rgba(0,0,0,.20)); }
.bmsf-about-name { min-width: 0; }
.bmsf-about-name > span { color: #e7bf78; font-size: 9px; font-weight: 850; letter-spacing: 1.4px; }
.bmsf-about-name h3 { font-size: clamp(15px, 1.35vw, 19px); line-height: 1.35; font-weight: 900; color: #fff; overflow-wrap: anywhere; margin: 5px 0 3px; }
.bmsf-about-name small { color: #9cc0d4; font-size: 10px; font-weight: 700; }
.bmsf-about > p { color: #b6c8dc; margin: 16px 0; font-size: 12px; line-height: 1.85; }
.bmsf-about-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.bmsf-about-tags span { display: inline-flex; align-items: center; gap: 4px; padding: 5px 8px; border-radius: 8px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.065); color: #c6d8e8; font-size: 10px; font-weight: 700; }
.bmsf-about-tags svg { width: 12px; height: 12px; color: #5ee4a8; }
.bmsf-about-contact { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding-top: 16px; margin-top: 16px; border-top: 1px solid rgba(255,255,255,.09); }
.bmsf-about-contact > span { color: #90a9c3; font-size: 11px; }
.bmsf-about-contact a { display: inline-flex; align-items: center; gap: 4px; color: #7ff0b9; font-size: 12px; font-weight: 850; }
.bmsf-about-contact a:hover { color: #bcffe0; }
.bmsf-about-contact svg { width: 14px; height: 14px; }
.bmsf-panel-top { padding: 0 0 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.bmsf-panel-index { color: #dcb773; letter-spacing: 1.8px; font-size: 10px; font-weight: 900; }
.bmsf-panel-top h3 { color: #fff; font-size: 19px; font-weight: 850; line-height: 1.4; margin: 7px 0 3px; }
.bmsf-panel-top p { color: #819cb9; font-size: 11px; margin: 0; line-height: 1.55; }
.bmsf-panel-links { padding-top: 8px; }
.bmsf-panel-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 35px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.065); color: #c7d7e8; font-size: 12px; font-weight: 650; line-height: 1.5; transition: color .15s ease, padding-left .15s ease; }
.bmsf-panel-links a:last-child { border-bottom: 0; }
.bmsf-panel-links a:hover { color: var(--bmsf-gold); padding-left: 5px; }
.bmsf-panel-links svg { width: 14px; height: 14px; color: #6786a8; }
.bmsf-panel-links a:hover svg { color: var(--bmsf-gold); }
.bmsf-steps { display: grid; gap: 16px; padding: 19px 0 0; margin: 0; list-style: none; }
.bmsf-steps li { display: flex; align-items: flex-start; gap: 12px; padding: 0; color: inherit; }
.bmsf-steps li b { display: grid; place-items: center; width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; font-size: 10px; color: #f3cc88; background: rgba(243,204,136,.095); border: 1px solid rgba(243,204,136,.14); }
.bmsf-steps li strong { display: block; color: #e9f3ff; font-size: 12px; font-weight: 850; line-height: 1.5; }
.bmsf-steps li small { display: block; color: #90a7c0; font-size: 11px; margin-top: 2px; line-height: 1.5; }
.bmsf-guide-more { display: flex; align-items: center; justify-content: space-between; gap: 8px; border-radius: 12px; background: rgba(61,151,214,.1); border: 1px solid rgba(100,179,236,.16); color: #c2e6fc !important; font-size: 12px; font-weight: 800; padding: 11px 13px; margin-top: 17px; transition: background .2s ease; }
.bmsf-guide-more:hover { background: rgba(61,151,214,.2); }
.bmsf-guide-more svg { width: 15px; height: 15px; }

/* Deep brand directory: 48 destinations, no oversized empty panels */
.bmsf-directory { padding: 28px; border: 1px solid rgba(156,186,216,.15); border-radius: 22px; background: linear-gradient(120deg, rgba(18,40,68,.72), rgba(7,24,45,.66)); }
.bmsf-directory-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.1); }
.bmsf-section-eyebrow { display: block; font-size: 10px; font-weight: 900; letter-spacing: 2px; color: #e3bb77; }
.bmsf-directory-header h3 { color: #fff; font-size: clamp(22px,2vw,28px); line-height: 1.3; margin: 5px 0; font-weight: 900; }
.bmsf-directory-header p { color: #a2b7ce; margin: 0; font-size: 12px; }
.bmsf-brand-count { display: flex; align-items: baseline; gap: 7px; white-space: nowrap; font-size: 10px; letter-spacing: 1.4px; font-weight: 800; color: #a9c0d6; }
.bmsf-brand-count strong { font-size: 30px; letter-spacing: -.5px; color: var(--bmsf-gold); font-weight: 950; line-height: 1; }
.bmsf-directory-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 23px; margin-top: 22px; }
.bmsf-brand-section { min-width: 0; }
.bmsf-brand-section + .bmsf-brand-section { border-left: 1px solid rgba(255,255,255,.09); padding-left: 22px; }
.bmsf-brand-heading { display: flex; align-items: center; gap: 9px; min-height: 31px; margin: 0 0 13px; }
.bmsf-brand-heading > span { display: grid; place-items: center; width: 25px; height: 25px; flex: 0 0 25px; border-radius: 8px; border: 1px solid rgba(243,202,128,.2); background: rgba(243,202,128,.075); color: #edc67f; font-size: 10px; font-weight: 950; }
.bmsf-brand-heading h4 { margin: 0; color: #eaf3fb; font-size: 13px; line-height: 1.4; font-weight: 900; }
.bmsf-brand-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.bmsf-brand-links a { display: flex; align-items: center; justify-content: space-between; min-width: 0; gap: 4px; min-height: 34px; padding: 7px 8px 7px 10px; border: 1px solid rgba(162,190,223,.11); border-radius: 9px; background: rgba(255,255,255,.038); color: #bdcede; font-size: 11px; font-weight: 650; line-height: 1.4; transition: color .18s ease, border-color .18s ease, background .18s ease, transform .18s ease; }
.bmsf-brand-links a span { min-width: 0; overflow-wrap: anywhere; }
.bmsf-brand-links svg { width: 11px; height: 11px; color: #68849e; }
.bmsf-brand-links a:hover { color: #fff; border-color: rgba(243,202,128,.35); background: rgba(243,202,128,.105); transform: translateY(-1px); }
.bmsf-brand-links a:hover svg { color: var(--bmsf-gold); }

.bmsf-prebottom { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 21px 2px; border-bottom: 1px solid rgba(255,255,255,.1); }
.bmsf-prebottom p { display: flex; align-items: center; gap: 8px; margin: 0; color: #8197b2; font-size: 11px; line-height: 1.65; }
.bmsf-prebottom p span { color: #9baeaf; }
.bmsf-prebottom p svg { width: 17px; height: 17px; }
.bmsf-prebottom > a { display: flex; align-items: center; white-space: nowrap; gap: 6px; color: #c5daeb; font-size: 12px; font-weight: 750; }
.bmsf-prebottom > a:hover { color: var(--bmsf-gold); }
.bmsf-prebottom > a svg { width: 13px; height: 13px; }

/* Partner credits must remain fully readable and clickable */
.bmsf-bottom { display: flex; justify-content: space-between; align-items: center; min-height: 93px; gap: 20px; padding: 22px 0 24px; }
.bmsf-copyright { display: flex; align-items: center; flex-wrap: wrap; column-gap: 9px; row-gap: 2px; color: #9cb0c7; font-size: 12px; }
.bmsf-copyright-mark { color: #f1c67f; font-weight: 900; }
.bmsf-copyright-detail { color: #6e85a1; font-size: 11px; }
.bmsf-credits { display: inline-flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; color: #8fa4bb; font-size: 11px; font-weight: 650; }
.bmsf-credits > span { display: inline-flex; align-items: center; white-space: nowrap; gap: 5px; }
.bmsf-credits > span + span::before { content: ""; display: inline-block; width: 1px; height: 15px; background: rgba(255,255,255,.16); margin-right: 7px; }
.bmsf-credits a { display: inline-flex; align-items: center; gap: 3px; color: #f5f8ff; font-size: 12px; font-weight: 900; transition: color .16s ease; }
.bmsf-credits a:hover { color: #f1c681; }
.bmsf-credits a svg { width: 12px; height: 12px; color: #d9b371; }
.bmsf-to-top { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; margin-left: 6px; border: 1px solid rgba(243,202,128,.24); border-radius: 12px; background: rgba(243,202,128,.085); color: #e8c58a !important; transition: transform .18s ease, background .18s ease; }
.bmsf-to-top:hover { transform: translateY(-3px); background: rgba(243,202,128,.18); }
.bmsf-to-top svg { width: 17px; height: 17px; }

@media (max-width: 1200px) {
  .bmsf-overview { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bmsf-assurance-item { padding: 0 13px; }
  .bmsf-assurance-icon { width: 38px; height: 38px; flex-basis: 38px; }
  .bmsf-directory-grid { gap: 15px; }
  .bmsf-brand-section + .bmsf-brand-section { padding-left: 15px; }
  .bmsf-credits { justify-content: flex-start; }
  .bmsf-bottom { flex-wrap: wrap; }
}
@media (max-width: 880px) {
  .bmsf-wrap { width: min(1320px, calc(100% - 36px)); }
  .bmsf-hero { grid-template-columns: minmax(0,1fr) minmax(245px,.8fr); gap: 20px; padding: 32px; }
  .bmsf-hero h2 { font-size: clamp(27px,4vw,38px); }
  .bmsf-assurance { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px 0; }
  .bmsf-assurance-item:nth-child(3) { border-left: 0; padding-left: 4px; }
  .bmsf-directory-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 25px 18px; }
  .bmsf-brand-section:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 630px) {
  .bms-footer { padding-top: 20px; padding-bottom: 73px; }
  .bmsf-wrap { width: min(1320px, calc(100% - 24px)); }
  .bmsf-hero { grid-template-columns: 1fr; gap: 20px; padding: 25px 21px; border-radius: 21px; }
  .bmsf-eyebrow { font-size: 9px; gap: 7px; letter-spacing: 1.2px; }
  .bmsf-hero h2 { font-size: clamp(25px, 6.9vw, 36px); line-height: 1.24; }
  .bmsf-hero p { font-size: 12px; }
  .bmsf-hero-action { padding: 11px; border-radius: 15px; }
  .bmsf-line-cta { min-height: 62px; padding: 10px; }
  .bmsf-line-symbol { width: 38px; height: 38px; border-radius: 10px; }
  .bmsf-line-cta strong { font-size: 15px; }
  .bmsf-action-caption { font-size: 9px; margin-bottom: 9px; }
  .bmsf-assurance { grid-template-columns: repeat(2,minmax(0,1fr)); padding: 20px 0; gap: 17px 0; }
  .bmsf-assurance-item { gap: 8px; padding: 0 6px; }
  .bmsf-assurance-item:nth-child(3) { padding-left: 6px; }
  .bmsf-assurance-icon { flex: 0 0 32px; height: 34px; width: 32px; border-radius: 10px; }
  .bmsf-assurance-icon svg { width: 17px; height: 17px; }
  .bmsf-assurance-item strong { font-size: 11px; }
  .bmsf-assurance-item small { font-size: 9px; }
  .bmsf-overview { grid-template-columns: 1fr; gap: 9px; margin: 17px 0 10px; }
  .bmsf-about, .bmsf-link-panel, .bmsf-guide-panel { padding: 19px; border-radius: 16px; }
  .bmsf-about-name h3 { font-size: 17px; }
  .bmsf-panel-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 13px; }
  .bmsf-panel-links a { font-size: 11px; }
  .bmsf-steps { grid-template-columns: 1fr; gap: 14px; }
  .bmsf-directory { padding: 20px 15px; border-radius: 18px; }
  .bmsf-directory-header { gap: 8px; padding-bottom: 15px; }
  .bmsf-directory-header h3 { font-size: 22px; }
  .bmsf-directory-header p { font-size: 11px; }
  .bmsf-brand-count { display: none; }
  .bmsf-directory-grid { grid-template-columns: 1fr; gap: 21px; margin-top: 19px; }
  .bmsf-brand-section + .bmsf-brand-section { border-left: 0; padding: 18px 0 0; border-top: 1px solid rgba(255,255,255,.085); }
  .bmsf-brand-heading { margin-bottom: 12px; }
  .bmsf-brand-links { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .bmsf-brand-links a { min-height: 36px; font-size: 10.5px; padding: 6px 7px; }
  .bmsf-prebottom { align-items: flex-start; flex-direction: column; gap: 10px; padding: 16px 4px; }
  .bmsf-bottom { align-items: stretch; flex-direction: column; gap: 16px; padding: 20px 1px; }
  .bmsf-copyright { justify-content: center; text-align: center; font-size: 11px; }
  .bmsf-credits { justify-content: center; gap: 7px 10px; font-size: 10px; }
  .bmsf-credits > span + span::before { margin-right: 3px; }
  .bmsf-credits a { font-size: 11px; }
  .bmsf-to-top { align-self: center; width: 34px; height: 34px; margin: 0; }
}
@media (max-width: 390px) {
  .bmsf-brand-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bmsf-panel-links { grid-template-columns: 1fr; }
  .bmsf-logo-frame { width: 80px; height: 86px; flex-basis: 80px; }
  .bmsf-about-name h3 { font-size: 15px; }
  .bmsf-credits { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .bms-footer a, .bms-footer a:hover { transition: none !important; transform: none !important; }
}

/* ============================================================================
 * 2026-11-14 — Dedicated brand showcase, now immediately below sale.png.
 * This component lives OUTSIDE the dark footer and contains the 48 brand links.
 * ========================================================================== */
.warehouse-band-sale.bms-brand-attached { padding-bottom: 18px !important; }
.bms-brand-showcase {
  --brand-ivory: #f7f9ff;
  --brand-amber: #efc886;
  --brand-white: #f9fcff;
  --brand-muted: #9eafc6;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 3vw, 48px) 0 clamp(50px, 7vw, 96px);
  background: linear-gradient(180deg, #f4f7fc 0%, #eef3fa 58%, #f7f9fc 100%);
  color: var(--brand-white);
  font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.bms-brand-showcase *, .bms-brand-showcase *::before, .bms-brand-showcase *::after { box-sizing: border-box; }
.bms-brand-showcase a { text-decoration: none; color: inherit; }
.bms-brand-showcase a:focus-visible { outline: 2px solid var(--brand-amber); outline-offset: 3px; }
.bms-brand-showcase svg { display: block; flex: 0 0 auto; }
.bms-brand-wrap { position: relative; width: min(1272px, calc(100% - 48px)); margin: 0 auto; }
.bms-brand-surface {
  position: relative; overflow: hidden; padding: clamp(24px, 3.5vw, 48px);
  border: 1px solid #1e3a5d; border-radius: 30px;
  background:
    radial-gradient(ellipse 48% 52% at 100% -8%, rgba(48,124,164,.25), transparent 73%),
    radial-gradient(ellipse 60% 48% at 0 112%, rgba(15,72,142,.27), transparent 70%),
    linear-gradient(125deg, #0e2747 0%, #091d37 48%, #071629 100%);
  box-shadow: 0 26px 55px rgba(22,53,87,.17), 0 4px 13px rgba(22,53,87,.055), inset 0 1px 0 rgba(255,255,255,.10);
}
.bms-brand-surface::before { content: ""; position: absolute; z-index: 0; inset: 0 auto auto 0; width: 48%; height: 3px; background: linear-gradient(90deg, #f1cc8b, rgba(241,204,139,0)); pointer-events: none; }
.bms-brand-surface > * { position: relative; z-index: 1; }
.bms-brand-intro { display: flex; justify-content: space-between; align-items: center; gap: 28px; margin-bottom: 29px; padding-bottom: 27px; border-bottom: 1px solid rgba(192,212,236,.15); }
.bms-brand-intro-copy { max-width: 750px; min-width: 0; }
.bms-brand-overline { display: flex; align-items: center; gap: 11px; flex-wrap: wrap; color: #f0c98c; font-weight: 900; letter-spacing: 2.25px; font-size: 11px; }
.bms-brand-overline-dot { display: inline-block; width: 7px; height: 7px; background: #51e0ad; border-radius: 50%; box-shadow: 0 0 0 4px rgba(81,224,173,.15); }
.bms-brand-overline-bar { color: rgba(255,255,255,.3); }
.bms-brand-intro h2 { margin: 9px 0 7px; color: #fff; font-weight: 900; letter-spacing: -.35px; line-height: 1.3; font-size: clamp(28px, 3vw, 43px); }
.bms-brand-intro h2 span { color: var(--brand-amber); margin-left: .23em; }
.bms-brand-intro p { max-width: 680px; margin: 0; color: #b2c3d9; font-size: 13px; line-height: 1.9; }
.bms-brand-total { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 13px; min-width: 188px; padding: 16px 20px; border-radius: 18px; background: rgba(239,200,134,.065); border: 1px solid rgba(239,200,134,.25); }
.bms-brand-total strong { color: var(--brand-amber); font: 900 47px/1 Arial,sans-serif; letter-spacing: -1.5px; }
.bms-brand-total span { color: #b7cce1; font: 800 10px/1.55 Arial,sans-serif; letter-spacing: 1.6px; }
.bms-brand-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; }
.bms-brand-card { min-width: 0; padding: 20px 16px 17px; border: 1px solid rgba(175,206,232,.14); border-radius: 17px; background: linear-gradient(160deg, rgba(31,58,89,.79), rgba(14,35,61,.82)); box-shadow: inset 0 1px 0 rgba(255,255,255,.045); }
.bms-brand-card-head { display: flex; align-items: center; gap: 9px; min-height: 40px; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(202,217,239,.12); }
.bms-brand-number { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid rgba(243,203,136,.26); border-radius: 11px; background: rgba(243,203,136,.1); color: #f2ca87; font: 800 11px/1 Arial,sans-serif; }
.bms-brand-card h3 { margin: 0; color: #f7fbff; font-size: clamp(12px, 1.1vw, 15px); line-height: 1.55; font-weight: 900; }
.bms-brand-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.bms-brand-links a { min-width: 0; min-height: 37px; display: flex; align-items: center; justify-content: space-between; gap: 5px; padding: 8px 9px 8px 11px; border: 1px solid rgba(164,191,220,.14); border-radius: 10px; background: rgba(6,22,42,.28); color: #c4d5e8; font-size: 11px; font-weight: 750; line-height: 1.4; transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease; }
.bms-brand-links a span { min-width: 0; overflow-wrap: anywhere; }
.bms-brand-links a svg { width: 12px; height: 12px; color: #83a1bc; }
.bms-brand-links a:hover { color: #fff; background: rgba(241,200,136,.12); border-color: rgba(241,200,136,.45); transform: translateY(-2px); }
.bms-brand-links a:hover svg { color: #f3cb8d; }
.bms-brand-afterword { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 26px; margin-top: 22px; color: #aabed5; font-size: 11px; line-height: 1.75; }
.bms-brand-afterword > span { display: inline-flex; align-items: center; gap: 8px; }
.bms-brand-afterword strong { color: #e6eef9; }
.bms-brand-afterword svg { width: 17px; height: 17px; color: var(--brand-amber); }
.bms-brand-afterword a { display: inline-flex; align-items: center; gap: 7px; color: #f3cf96; font-weight: 800; }
.bms-brand-afterword a:hover { color: #fff; }
.bms-brand-afterword a svg { width: 14px; height: 14px; }

/* Editorial links are intentionally text-like: bold, accessible, no link box. */
.article-shell a.cms-seo-anchor,
.deep-article-section a.cms-seo-anchor {
  color: #0756a7;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(7,86,167,.38);
  transition: color .18s ease, text-decoration-color .18s ease;
}
.article-shell a.cms-seo-anchor:hover,
.deep-article-section a.cms-seo-anchor:hover { color: #073b78; text-decoration-color: currentColor; }
.article-shell a.cms-seo-anchor:focus-visible { outline: 2px solid #0756a7; outline-offset: 2px; }
.article-shell a.cms-seo-anchor strong { font-weight: 900; }

@media (max-width: 1150px) {
  .bms-brand-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .bms-brand-card h3 { font-size: 15px; }
  .bms-brand-links a { font-size: 12px; }
}
@media (max-width: 690px) {
  .bms-brand-showcase { padding: 17px 0 52px; }
  .bms-brand-wrap { width: calc(100% - 24px); }
  .bms-brand-surface { padding: 22px 16px; border-radius: 21px; }
  .bms-brand-intro { align-items: flex-start; gap: 18px; margin-bottom: 20px; padding-bottom: 18px; }
  .bms-brand-overline { font-size: 9px; letter-spacing: 1.4px; gap: 7px; }
  .bms-brand-intro h2 { font-size: clamp(24px, 6.3vw, 32px); }
  .bms-brand-intro p { font-size: 12px; }
  .bms-brand-total { min-width: 0; padding: 10px 12px; border-radius: 12px; gap: 6px; }
  .bms-brand-total strong { font-size: 29px; }
  .bms-brand-total span { font-size: 7px; letter-spacing: .65px; }
  .bms-brand-grid { grid-template-columns: 1fr; gap: 12px; }
  .bms-brand-card { padding: 16px 13px; border-radius: 14px; }
  .bms-brand-card-head { margin-bottom: 12px; padding-bottom: 11px; }
  .bms-brand-links { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; }
  .bms-brand-links a { padding: 7px; font-size: 10.5px; min-height: 37px; }
  .bms-brand-afterword { font-size: 10px; margin-top: 17px; }
  .bms-brand-afterword > span { align-items: flex-start; }
}
@media (max-width: 410px) {
  .bms-brand-intro { flex-direction: column; gap: 13px; }
  .bms-brand-total { align-self: flex-start; }
  .bms-brand-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .bms-brand-links a, .bms-brand-links a:hover { transition: none !important; transform: none !important; }
}
