/* Public UI refresh 1.0.1 — shared layout width, responsive safeguards, premium footer.
   One central stylesheet covers all 35 legacy pages. No original asset paths changed. */
:root {
  --site-content-max: 1180px;
  --site-side-gap: clamp(16px, 3vw, 28px);
}
html { scroll-padding-top: 86px; }
body { min-width: 0; }
body .container {
  width: calc(100% - (var(--site-side-gap) * 2));
  max-width: var(--site-content-max);
  margin-inline: auto;
}
main, main > section { min-width: 0; }
main > section > .container, .site-header .nav-wrap, .footer .container {
  max-width: var(--site-content-max);
}
main :where(.hero-grid,.split,.howto-wrap,.contact-strip,.services-grid,.feature-grid,.menu-grid,.faq-grid,.tips-grid,.keyword-lines) > * {
  min-width: 0;
}
main :where(img,picture,video,iframe,table,pre,svg) { max-inline-size: 100%; }
main :where(.btn,.menu-chip,.keyword-line,.eyebrow,.contact-box a) { min-width: 0; overflow-wrap: anywhere; }
main :where(.hero-cta,.footer-cta-actions,.keyword-cloud,.keyword-wall) { min-width: 0; }

/* The previous hero image spanned the whole viewport while all other content was 1180px.
   Treat it like a normal page section so the left/right edges finally align. */
main > .hero-image {
  width: calc(100% - (var(--site-side-gap) * 2));
  max-width: var(--site-content-max);
  margin: clamp(14px, 2.4vw, 30px) auto 0;
  border-radius: clamp(16px, 2.4vw, 28px);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 48px rgba(14, 34, 63, .14);
  border: 1px solid rgba(12, 41, 79, .07);
}
main > .hero-image img { display: block; width: 100%; height: auto; }

/* Existing responsive menu retains its behavior. */
.public-menu-toggle {
  display: none; align-items: center; gap: 7px; appearance: none;
  border: 1px solid #dbe3ef; background: #fff; color: #102c55;
  font: 700 .92rem system-ui, Tahoma, sans-serif;
  padding: 10px 13px; border-radius: 14px; cursor: pointer;
  box-shadow: 0 3px 12px #0c26421a; white-space: nowrap;
}
:where(.public-menu-toggle,.nav-links a,.premium-footer a):focus-visible {
  outline: 3px solid #ffb651; outline-offset: 4px;
}





/* PREMIUM EDITORIAL SYSTEM 1.0.4 — all 35 articles; full-width reading layout, mobile-safe. */
main #article.section { padding-block: clamp(24px, 4vw, 58px); }
main #article .article-wrap {
  max-width: 100%; padding: clamp(10px, 1.4vw, 16px);
  background: #ffffff; border: 1px solid rgba(22,49,86,.10);
  border-radius: clamp(24px, 3vw, 34px);
  box-shadow: 0 22px 65px rgba(13,37,75,.08), 0 2px 10px rgba(16,52,93,.035);
  overflow: clip;
}
main #article .seo-article.editorial-article { max-width: none; margin: 0; color: #30445f; font-size: 1rem; line-height: 1.84; }
main #article .editorial-article, main #article .editorial-article * { box-sizing: border-box; }
main #article .editorial-article :where(h2,h3,p,ul,ol) { letter-spacing: normal; }
main #article .editorial-article :where(p,li) { overflow-wrap: anywhere; }
main #article .editorial-article :where(a) { color: #104c8b; text-underline-offset: 3px; }
main #article .editorial-article :where(a):focus-visible { outline: 3px solid #f7b453; outline-offset: 3px; border-radius: 3px; }
main #article .editorial-article :where(h2)::before,
main #article .editorial-article :where(h3)::before { display: none; content: none; }
main #article .editorial-article :where(h2,h3) { display: block; padding: 0; margin: 0; line-height: 1.36; }
main #article .editorial-article p { margin: 0 0 15px; font-size: .98rem; line-height: 1.88; color: #3f526d; }
main #article .editorial-hero {
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: clamp(21px, 2.6vw, 29px);
  background: radial-gradient(ellipse at 93% 0%, rgba(39,107,171,.40), transparent 49%),
    radial-gradient(ellipse at 2% 95%, rgba(213,140,45,.20), transparent 44%),
    linear-gradient(137deg,#07172d 0%,#102b4e 54%,#0b2443 100%);
  color: #eaf2fc; padding: clamp(25px,4.5vw,55px);
}
main #article .editorial-hero::after {
  content: ''; position: absolute; z-index: -1; pointer-events: none;
  right: -115px; top: -170px; width: 480px; height: 480px;
  border: 1px solid rgba(248,202,135,.13); border-radius: 50%;
  box-shadow: 0 0 0 37px rgba(248,202,135,.018), 0 0 0 76px rgba(248,202,135,.018);
}
main #article .editorial-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,212,153,.24); border-radius: 99px;
  padding: 8px 15px; background: rgba(240,179,95,.11);
  font-size: .79rem; line-height: 1.5; letter-spacing: .012em;
  color: #ffd696; font-weight: 800;
}
main #article .editorial-kicker::before { content: '✦'; color: #ffc56b; font-size: .9rem; }
main #article .editorial-hero h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.05rem); max-width: 1000px;
  font-weight: 950; line-height: 1.28; color: #fff;
  margin: 19px 0 15px; text-wrap: balance;
}
main #article .editorial-hero .editorial-lead {
  max-width: 930px; color: #d4e2f4; font-size: clamp(.99rem,1.3vw,1.1rem);
  line-height: 1.78; margin-bottom: 20px;
}
main #article .editorial-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 13px 0;
  border-top: 1px solid rgba(255,255,255,.13); border-bottom: 1px solid rgba(255,255,255,.13);
  color: #bacce2; font-size: .76rem; font-weight: 650; line-height: 1.55;
}
main #article .editorial-meta > * { min-width: 0; }
main #article .editorial-meta > *:not(:first-child)::before { content: '•'; color: #e5b473; padding-right: 12px; }
main #article .editorial-intro { max-width: 1000px; padding-top: 22px; }
main #article .editorial-intro p { color: #d6e3f4; margin-bottom: 11px; }
main #article .editorial-intro strong { font-weight: 850; }
main #article .editorial-intro a.editorial-self-link {
  font-weight: 900; color: #ffe0a5; text-decoration: underline;
  text-decoration-color: rgba(255,224,165,.56); text-decoration-thickness: 1.5px;
}
main #article .editorial-intro a.editorial-self-link:hover { color: #fff; }
main #article .editorial-quickgrid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px;
  margin-top: clamp(20px,3vw,32px);
}
main #article .editorial-quickgrid > div {
  min-width: 0; padding: 17px 18px;
  border: 1px solid rgba(255,255,255,.17); border-radius: 17px;
  background: rgba(255,255,255,.075); backdrop-filter: blur(6px);
}
main #article .editorial-quickgrid span { display: block; font-size: .7rem; font-weight: 900; color: #f3bd78; line-height: 1.45; letter-spacing: .045em; }
main #article .editorial-quickgrid strong { display: block; color: #fff; line-height: 1.35; font-weight: 900; margin: 5px 0 4px; font-size: 1rem; }
main #article .editorial-quickgrid small { display: block; color: #c2d4e9; font-size: .81rem; line-height: 1.65; }
main #article .editorial-toc {
  display: grid; grid-template-columns: auto minmax(0,1fr);
  align-items: center; gap: 15px 28px; margin: 14px 0 0;
  padding: clamp(17px,2.2vw,24px) clamp(17px,3vw,34px);
  border: 1px solid #e9edf4; border-radius: 20px; background: #f7f9fc;
}
main #article .editorial-toc > strong { color: #102e53; font-weight: 900; white-space: nowrap; font-size: .91rem; }
main #article .editorial-toc > div { display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
main #article .editorial-toc a {
  display: inline-flex; align-items: center; padding: 6px 11px;
  text-decoration: none; white-space: nowrap; border-radius: 10px;
  background: #fff; color: #27517d; border: 1px solid #e3eaf2;
  font-size: .77rem; font-weight: 800; line-height: 1.5;
  transition: border-color .18s ease,background .18s ease,transform .18s ease;
}
main #article .editorial-toc a:hover { color: #0f3662; border-color: #e6b975; background: #fffbf4; transform: translateY(-1px); }
main #article .editorial-content { padding: 7px clamp(8px,2.5vw,32px) 0; }
main #article .editorial-section { scroll-margin-top: 103px; padding: clamp(29px,4.1vw,53px) clamp(7px,1.3vw,18px); min-width: 0; }
main #article .editorial-section + .editorial-section { border-top: 1px solid #e8edf4; }
main #article .editorial-label { display: block; margin-bottom: 12px; font-size: .74rem; font-weight: 900; color: #b16d22; letter-spacing: .11em; line-height: 1.4; }
main #article .editorial-section > h2 {
  color: #122c50; font-size: clamp(1.35rem,2.15vw,2.03rem);
  margin: 0 0 20px; max-width: 970px; font-weight: 950; line-height: 1.37;
  padding-left: 17px; border-left: 4px solid #e6a04b; text-wrap: balance;
}
main #article .editorial-section > h3 {
  margin: 22px 0 10px; color: #153963; font-size: 1.07rem;
  font-weight: 900; line-height: 1.5;
}
main #article .editorial-section > p { max-width: 1030px; }
main #article .editorial-callout,main #article .editorial-info-panel,main #article .editorial-example {
  min-width: 0; padding: 22px 25px; border-radius: 19px;
  border: 1px solid rgba(216,154,60,.24);
  background: linear-gradient(120deg,#fff9ef,#fffdf9 65%,#f6f9fd);
  margin-top: 22px;
}
main #article .editorial-callout > strong,main #article .editorial-info-panel > strong,main #article .editorial-example > strong {
  display: block; font-size: 1.01rem; color: #143459; font-weight: 900; margin-bottom: 6px;
}
main #article .editorial-callout p,main #article .editorial-info-panel p,main #article .editorial-example p { color: #465a72; margin: 0; }
main #article .editorial-info-panel p + p { margin-top: 10px; }
main #article .editorial-steps {
  counter-reset: edstep; display: grid; grid-template-columns: repeat(2,minmax(0,1fr));
  list-style: none; margin: 25px 0; padding: 0; gap: 12px;
  border: 0; background: none; box-shadow: none;
}
main #article .editorial-steps li {
  counter-increment: edstep; position: relative;
  margin: 0; padding: 19px 19px 19px 66px; min-width: 0;
  background: #fbfcfe; border: 1px solid #e6ebf3; border-radius: 18px;
  color: #374e67; font-weight: 500;
}
main #article .editorial-steps li::before {
  content: counter(edstep,decimal-leading-zero); position: absolute; left: 18px; top: 20px;
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px;
  background: #112c50; color: #fbd095; font: 900 .72rem/1 system-ui,sans-serif;
}
main #article .editorial-steps strong { display:block; color: #17375c; font-weight:900; font-size: .97rem; margin: 0 0 5px; line-height: 1.45; }
main #article .editorial-steps span { display:block; font-size: .9rem; line-height: 1.8; }
main #article .editorial-table-wrap {
  max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling:touch;
  border: 1px solid #e3e9f1; border-radius: 18px;
  box-shadow: 0 9px 25px rgba(24,55,91,.045); margin: 20px 0 23px;
}
main #article .editorial-table { width: 100%; min-width: 620px; border-collapse:collapse; border:0; table-layout: auto; background:#fff; font-size:.88rem; }
main #article .editorial-table th { background: #102c4d; color: #fff; text-align: left; font-weight: 850; padding: 15px 17px; line-height:1.5; }
main #article .editorial-table th:first-child { min-width: 130px; }
main #article .editorial-table td { color: #3c536f; padding: 14px 17px; vertical-align:top; line-height:1.7; border-bottom: 1px solid #ecf0f6; overflow-wrap:normal; }
main #article .editorial-table tbody tr:nth-child(even) td { background:#f8fafc; }
main #article .editorial-table tbody tr:last-child td { border-bottom:0; }
main #article .editorial-scenarios { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap:14px; margin-top:22px; }
main #article .editorial-scenarios > div {
  min-width: 0; padding: 22px; background: linear-gradient(180deg,#fff,#fafcff);
  border: 1px solid #e4eaf3; border-radius: 21px;
  box-shadow: 0 12px 22px rgba(13,40,75,.045);
}
main #article .editorial-scenarios span { color:#a36519; font-size:.73rem; font-weight:900; letter-spacing:.055em; }
main #article .editorial-scenarios h3 { font-weight:900; margin: 9px 0 11px; color: #133359; font-size:1.05rem; line-height:1.5; }
main #article .editorial-scenarios p { margin-bottom:12px; font-size:.9rem; line-height:1.84; }
main #article .editorial-scenarios p:last-child { margin-bottom:0; }
main #article .editorial-disclosure { font-size:.85rem!important; color:#697b90!important; border-left:3px solid #c5d1e1; padding-left:13px; }
main #article .editorial-checklist { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:14px; margin:24px 0; }
main #article .editorial-checklist > div { min-width:0; padding:21px 22px; border-radius:19px; background:#f4f8fc; border:1px solid #e0eaf2; }
main #article .editorial-checklist strong { display:block; color:#12375e; font-size:1rem; font-weight:900; margin-bottom:8px; }
main #article .editorial-checklist strong::before { content:'✓'; color:#13764e; margin-right:9px; }
main #article .editorial-checklist p { margin:0; font-size:.91rem; }
main #article .editorial-example p { font-size:.95rem; }
main #article .editorial-faq-list { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:12px; align-items:start; margin:22px 0 0; }
main #article .editorial-faq-list details { min-width:0; margin:0; overflow:clip; border-radius:17px; border:1px solid #e3eaf3; background:#fff; box-shadow:0 8px 19px rgba(19,44,77,.035); }
main #article .editorial-faq-list details[open] { border-color:#e4bc81; background:#fffdf9; }
main #article .editorial-faq-list summary { display:grid; grid-template-columns:minmax(0,1fr) 25px; gap:12px; align-items:center; cursor:pointer; color:#12355b; font-weight:850; line-height:1.58; font-size:.92rem; padding:18px 18px; list-style:none; }
main #article .editorial-faq-list summary::-webkit-details-marker { display:none; }
main #article .editorial-faq-list summary::after { content:'+'; display:grid;place-items:center;width:25px;height:25px;color:#d58c25;background:#fff1d8;border-radius:8px;font-size:1.12rem; }
main #article .editorial-faq-list details[open] summary::after { content:'−'; background:#15375e;color:#fff; }
main #article .editorial-faq-list details p { margin:0;padding:0 18px 18px; font-size:.88rem; line-height:1.8; }
main #article .editorial-sources { padding:17px 20px 17px 38px; margin:22px 0; border:1px solid #e0e7ee; border-radius:18px; background:#f7f9fc;box-shadow:none; }
main #article .editorial-sources li { margin:9px 0; color:#3b526d;font-size:.9rem;line-height:1.8;font-weight:500; }
main #article .editorial-date-note { color:#62758c!important;font-size:.84rem!important; }
main #article .editorial-bottom-cta {
  display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);
  align-items:center; gap:24px; padding:clamp(22px,3vw,35px);
  background: linear-gradient(115deg,#f8f0e4,#fcfcfe 62%,#f1f6fc);
  border:1px solid #ecdccc; border-radius:22px; margin:10px 0 0;
}
main #article .editorial-bottom-cta > div { min-width:0; }
main #article .editorial-bottom-cta span { display:block;color:#ab671e;font-size:.76rem;font-weight:900;line-height:1.5;margin-bottom:5px; }
main #article .editorial-bottom-cta strong {display:block;color:#102d54;line-height:1.38;font-weight:900;font-size:clamp(1.06rem,1.8vw,1.36rem);}
main #article .editorial-bottom-cta p {margin:9px 0 0;font-size:.88rem;color:#5c7188;}
main #article .editorial-cta-actions { display:grid;gap:10px; }
main #article .editorial-cta-actions a {display:flex;justify-content:center;align-items:center;min-height:48px;padding:10px 14px;text-align:center;text-decoration:none;border-radius:12px;font-weight:900;line-height:1.4;font-size:.92rem;}
main #article .editorial-cta-actions .ed-line {background:#2bbf6a;color:#061d13;box-shadow:0 5px 12px rgba(30,160,89,.13);}
main #article .editorial-cta-actions .ed-phone {background:#112c50;color:#fff;}
main #article .editorial-cta-actions a:hover {filter:brightness(1.06);transform:translateY(-1px);}
@media (max-width:980px){
  main #article .editorial-scenarios {grid-template-columns:1fr;}
  main #article .editorial-toc {grid-template-columns:1fr;}
  main #article .editorial-quickgrid {grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media (max-width:750px){
  main #article.section {padding-block:24px;}
  main #article .article-wrap {padding:8px;border-radius:24px;}
  main #article .editorial-hero {padding:25px 20px;border-radius:19px;}
  main #article .editorial-hero h2 {font-size:clamp(1.65rem,7.4vw,2.4rem);line-height:1.25;margin:15px 0 12px;}
  main #article .editorial-meta {gap:7px 12px;}
  main #article .editorial-meta > *:not(:first-child)::before {padding-right:8px;}
  main #article .editorial-quickgrid {grid-template-columns:1fr;gap:9px;}
  main #article .editorial-quickgrid > div {padding:13px 15px;}
  main #article .editorial-content {padding:5px 9px 0;}
  main #article .editorial-section {padding:28px 8px;}
  main #article .editorial-section > h2 {font-size:clamp(1.23rem,5.8vw,1.7rem);padding-left:12px;line-height:1.38;}
  main #article .editorial-article p {font-size:.92rem;line-height:1.83;}
  main #article .editorial-steps,main #article .editorial-checklist,main #article .editorial-faq-list {grid-template-columns:1fr;}
  main #article .editorial-steps {gap:10px;}
  main #article .editorial-steps li {padding:17px 15px 17px 61px;}
  main #article .editorial-steps li::before {left:15px;top:16px;}
  main #article .editorial-bottom-cta {grid-template-columns:1fr;gap:17px;padding:20px;border-radius:19px;}
  main #article .editorial-toc {padding:15px;gap:10px;}
  main #article .editorial-toc a {padding:7px 10px;font-size:.75rem;}
  main #article .editorial-callout,main #article .editorial-info-panel,main #article .editorial-example {padding:17px 18px;border-radius:16px;}
}
@media (max-width:380px){
  main #article .editorial-hero {padding:20px 16px;}
  main #article .editorial-kicker {font-size:.69rem;padding:8px 11px;}
  main #article .editorial-meta > *:not(:first-child)::before {display:none;}
  main #article .editorial-quickgrid {margin-top:18px;}
  main #article .editorial-scenarios > div {padding:17px;}
  main #article .editorial-section {padding:23px 4px;}
}
@media (prefers-reduced-motion:reduce){
  main #article .editorial-article :where(a,summary,details) {transition:none!important;}
}

/* PREMIUM MENU GRID / INTERNAL LINK HUB */
main #links.section {
  position: relative;
  margin-top: clamp(18px, 2.5vw, 34px);
}
main #links > .container {
  position: relative;
  padding: clamp(24px, 4vw, 42px);
  border-radius: clamp(26px, 3vw, 34px);
  background:
    radial-gradient(circle at 6% 8%, rgba(254, 215, 147, .15), transparent 24%),
    radial-gradient(circle at 100% 0%, rgba(12, 63, 121, .08), transparent 28%),
    linear-gradient(180deg, #fcfbf9 0%, #f5f2ed 100%);
  border: 1px solid rgba(21, 49, 88, .08);
  box-shadow: 0 22px 54px rgba(15, 36, 63, .08), inset 0 1px 0 rgba(255,255,255,.84);
}
main #links .section-title {
  max-width: 1000px;
  margin: 0 auto clamp(22px, 3vw, 30px);
  text-align: center;
}
main #links .section-title .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(231, 174, 92, .32);
  background: linear-gradient(180deg, #fffaf1 0%, #fff3de 100%);
  box-shadow: 0 10px 22px rgba(200, 145, 45, .12);
  color: #9a5d12;
  font-weight: 900;
  letter-spacing: .01em;
}
main #links .section-title h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.2vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #102b55;
  text-wrap: balance;
}
main #links .section-title p {
  max-width: 900px;
  margin: 15px auto 0;
  font-size: clamp(.98rem, 1.35vw, 1.06rem);
  line-height: 1.9;
  color: #5c708d;
}
main #links .menu-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
main #links .menu-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 92px;
  padding: 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(16, 51, 95, .08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 26px rgba(12, 30, 55, .06);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  text-decoration: none;
}
main #links .menu-chip::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #f3b34d 0%, #d78a1e 100%);
  opacity: .9;
}
main #links .menu-chip::after {
  content: "↗";
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: .9rem;
  color: #89a0bc;
  opacity: .7;
  transition: transform .22s ease, color .22s ease, opacity .22s ease;
}
main #links .menu-chip:hover {
  transform: translateY(-3px);
  border-color: rgba(218, 146, 37, .28);
  box-shadow: 0 20px 36px rgba(12, 30, 55, .09);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
}
main #links .menu-chip:hover::after {
  transform: translate(2px, -2px);
  color: #d78a1e;
  opacity: 1;
}
main #links .menu-chip .chip-icon {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff5e4 0%, #fffaf2 100%);
  border: 1px solid rgba(228, 164, 66, .22);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.86), 0 8px 16px rgba(205, 147, 58, .08);
  font-size: 1.15rem;
}
main #links .menu-chip b {
  display: block;
  padding-right: 26px;
  color: #11355f;
  font-size: 1.06rem;
  line-height: 1.5;
  font-weight: 900;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

/* PREMIUM FAQ BLOCK — denser, fuller, more professional across all landing pages */
main #faq.section {
  position: relative;
  margin-top: clamp(22px, 3vw, 38px);
}
main #faq > .container {
  position: relative;
  padding: clamp(24px, 4vw, 44px);
  border-radius: clamp(26px, 3.2vw, 34px);
  background:
    radial-gradient(circle at top left, rgba(255, 197, 115, .16), transparent 28%),
    radial-gradient(circle at bottom right, rgba(14, 65, 120, .09), transparent 26%),
    linear-gradient(180deg, #fdfbf8 0%, #f7f3ee 100%);
  border: 1px solid rgba(21, 49, 88, .08);
  box-shadow: 0 22px 54px rgba(15, 36, 63, .08), inset 0 1px 0 rgba(255,255,255,.85);
}
main #faq .section-title {
  max-width: 980px;
  margin: 0 auto clamp(20px, 3vw, 30px);
  text-align: center;
}
main #faq .section-title .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(231, 174, 92, .32);
  background: linear-gradient(180deg, #fffaf1 0%, #fff3de 100%);
  box-shadow: 0 10px 22px rgba(200, 145, 45, .12);
  color: #9a5d12;
  font-weight: 900;
  letter-spacing: .01em;
}
main #faq .section-title h2 {
  margin-top: 18px;
  font-size: clamp(2.15rem, 4.5vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: #102b55;
  text-wrap: balance;
}
main #faq .section-title p {
  max-width: 860px;
  margin: 16px auto 0;
  font-size: clamp(.98rem, 1.4vw, 1.08rem);
  line-height: 1.92;
  color: #5c708d;
}
main #faq .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
main #faq .faq-item {
  position: relative;
  overflow: clip;
  margin: 0;
  border: 1px solid rgba(16, 51, 95, .08);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 14px 26px rgba(12, 30, 55, .06);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
main #faq .faq-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, #f3b34d 0%, #d78a1e 100%);
  opacity: .9;
}
main #faq .faq-item:hover {
  transform: translateY(-2px);
  border-color: rgba(218, 146, 37, .28);
  box-shadow: 0 20px 36px rgba(12, 30, 55, .09);
}
main #faq .faq-item[open] {
  border-color: rgba(218, 146, 37, .34);
  box-shadow: 0 24px 40px rgba(12, 30, 55, .1);
  background: linear-gradient(180deg, #ffffff 0%, #fffaf3 100%);
}
main #faq .faq-item summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 22px 24px 22px 26px;
  color: #11355f;
  font-size: clamp(1.03rem, 1.35vw, 1.18rem);
  font-weight: 900;
  line-height: 1.5;
}
main #faq .faq-item summary::-webkit-details-marker { display: none; }
main #faq .faq-item summary::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(228, 164, 66, .28);
  background: linear-gradient(180deg, #fff4df 0%, #ffe9c1 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  color: #df8f16;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
main #faq .faq-item[open] summary::after {
  content: "–";
  background: linear-gradient(180deg, #133861 0%, #102b55 100%);
  color: #f8c97b;
  border-color: rgba(16, 51, 95, .22);
  transform: rotate(180deg);
}
main #faq .faq-item p {
  margin: 0;
  padding: 0 24px 24px 26px;
  color: #536a88;
  font-size: .97rem;
  line-height: 1.9;
}
main #faq .faq-item p:empty { display: none; }
main #faq .faq-item[open] p {
  animation: faqFadeIn .22s ease both;
}
@keyframes faqFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* PREMIUM PUBLIC FOOTER */
.footer.premium-footer {
  position: relative; isolation: isolate; width: 100%; max-width: 100%;
  margin-top: clamp(50px, 6vw, 84px);
  padding: 0 0 max(104px, calc(82px + env(safe-area-inset-bottom)));
  overflow: hidden;
  background: radial-gradient(ellipse at 5% 0%, rgba(239, 148, 40, .15), transparent 37%),
              radial-gradient(ellipse at 94% 9%, rgba(25, 92, 149, .27), transparent 40%),
              linear-gradient(142deg, #071426 0%, #0a2039 58%, #0c2542 100%);
  color: #dee8f5;
  font-family: "Noto Sans Thai", "Prompt", "Sarabun", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}
.footer.premium-footer::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: 0; background: linear-gradient(180deg, rgba(255, 255, 255, .045), transparent 33%);
}
.footer.premium-footer::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  right: -180px; top: 4%; bottom: auto; width: 440px; height: 440px;
  border-radius: 50%; filter: blur(18px); background: rgba(241, 151, 36, .055);
}
.premium-footer__accent {
  height: 4px; width: 100%;
  background: linear-gradient(90deg, #b77a31 0%, #ffe1a1 26%, #f6a742 53%, #b26d2e 73%, #efd29c 100%);
  box-shadow: 0 0 25px rgba(246, 169, 66, .32);
}
.premium-footer .premium-footer__inner {
  position: relative; z-index: 1;
  width: calc(100% - (var(--site-side-gap) * 2));
  max-width: var(--site-content-max);
  margin-inline: auto;
  padding: clamp(38px, 4.6vw, 66px) 0 0;
}
.premium-footer a { color: inherit; text-decoration: none; }
.premium-footer a:hover { color: #ffd28c; text-decoration: none; }
.premium-footer p, .premium-footer li { margin: 0; line-height: 1.7; }
.premium-footer :where(h2,h3) { margin: 0; color: #fff; letter-spacing: -.025em; }
.premium-footer__lead {
  display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, .86fr);
  align-items: stretch; gap: clamp(22px, 3.4vw, 52px);
}
.premium-footer__intro { min-width: 0; padding: 6px 0 10px; }
.premium-footer__identity { display: flex; align-items: center; gap: 18px; min-width: 0; margin-bottom: 26px; }
.premium-footer__logo-link {
  width: 132px; min-width: 108px; flex: 0 0 132px; padding: 11px 10px;
  display: grid; place-items: center; border-radius: 21px;
  border: 1px solid rgba(247, 201, 137, .25);
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .055));
  box-shadow: inset 0 1px rgba(255, 255, 255, .12), 0 12px 25px rgba(0, 0, 0, .12);
}
.premium-footer__logo { width: 100%; height: auto; max-height: 75px; object-fit: contain; filter: drop-shadow(0 4px 9px rgba(0, 0, 0, .14)); }
.premium-footer__identity-copy { min-width: 0; display: grid; gap: 7px; }
.premium-footer__eyebrow { color: #f7ca8b; font-size: .78rem; letter-spacing: .055em; font-weight: 850; line-height: 1.5; }
.premium-footer__sparkle { color: #ffbc63; padding-right: 4px; }
.premium-footer__name { color: #fff; font-weight: 900; line-height: 1.3; font-size: clamp(1.14rem, 1.75vw, 1.55rem); overflow-wrap: anywhere; }
.premium-footer__headline { font-size: clamp(1.85rem, 3vw, 2.65rem); line-height: 1.27; font-weight: 950; max-width: 680px; }
.premium-footer__headline span { display: block; color: #f5ba68; }
.premium-footer__description { max-width: 630px; color: #b9cbdd !important; margin: 17px 0 0 !important; font-size: .97rem; }
.premium-footer__tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 22px; }
.premium-footer__tags span {
  display: inline-flex; align-items: center; border: 1px solid rgba(241, 195, 130, .24);
  color: #ecdaaf; background: rgba(241, 172, 70, .08); border-radius: 100px;
  padding: 7px 12px; font-size: .79rem; font-weight: 750; line-height: 1.35;
  max-width: 100%;
}
.premium-footer__tags span::before { content: ""; background: #f0b65b; height: 5px; width: 5px; flex: 0 0 5px; margin-right: 8px; border-radius: 50%; }
.premium-footer__contact-box {
  min-width: 0; position: relative; overflow: hidden;
  border-radius: 26px; padding: clamp(23px, 2.6vw, 34px);
  border: 1px solid rgba(244, 199, 126, .42);
  background: linear-gradient(148deg, rgba(39, 68, 100, .95), rgba(14, 38, 69, .97));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .24), inset 0 1px rgba(255, 255, 255, .1);
  display: flex; flex-direction: column; justify-content: center;
}
.premium-footer__contact-box::before {
  content: ""; width: 180px; height: 180px; position: absolute; top: -100px; right: -75px;
  border-radius: 50%; background: rgba(245, 168, 71, .18); filter: blur(5px); pointer-events: none;
}
.premium-footer__contact-heading { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.premium-footer__contact-mark { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center;
  border: 1px solid rgba(255, 218, 157, .3); border-radius: 13px; background: rgba(255, 188, 97, .17); color: #ffd08d; }
.premium-footer__contact-mark svg { width: 23px; height: 23px; }
.premium-footer__contact-kicker { color: #f8cd93; font-size: .81rem; font-weight: 850; letter-spacing: .035em; }
.premium-footer .premium-footer__contact-box h3 { font-size: clamp(1.48rem, 2.6vw, 2.06rem); line-height: 1.3; }
.premium-footer__contact-box > p:not(.premium-footer__contact-note) { color: #c8d6e7; font-size: .94rem; margin: 10px 0 19px; }
.premium-footer__buttons { display: grid; gap: 11px; }
.premium-footer .premium-footer__button {
  display: flex; align-items: center; justify-content: flex-start; min-width: 0;
  gap: 12px; border-radius: 13px; padding: 11px 15px;
  font-weight: 850; font-size: .98rem; line-height: 1.2;
  border: 1px solid transparent; transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.premium-footer .premium-footer__button:hover { transform: translateY(-2px); text-decoration: none; }
.premium-footer__button svg { width: 23px; height: 23px; flex: 0 0 23px; }
.premium-footer__button span { display: block; min-width: 0; overflow-wrap: anywhere; }
.premium-footer__button small { display: block; font-size: .83rem; font-weight: 750; margin-top: 3px; opacity: .82; }
.premium-footer .premium-footer__button--line { background: #2dbf66; border-color: #57d288; color: #061b14; }
.premium-footer .premium-footer__button--line:hover { color: #061b14; background: #50dd87; box-shadow: 0 11px 24px rgba(21, 163, 86, .24); }
.premium-footer .premium-footer__button--phone { border-color: rgba(255, 255, 255, .36); color: #fff; background: rgba(255, 255, 255, .085); }
.premium-footer .premium-footer__button--phone:hover { background: rgba(255, 255, 255, .17); color: #fff; }
.premium-footer .premium-footer__contact-note { color: #aebfd4; font-size: .73rem; margin-top: 14px; }
.premium-footer__highlights {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0; margin-top: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 20px; background: rgba(255, 255, 255, .043);
  box-shadow: inset 0 1px rgba(255, 255, 255, .045);
}
.premium-footer__highlight { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 19px clamp(15px, 2vw, 27px); }
.premium-footer__highlight + .premium-footer__highlight { border-left: 1px solid rgba(255, 255, 255, .1); }
.premium-footer__highlight-icon { flex: 0 0 39px; width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; border: 1px solid rgba(255, 196, 115, .22); background: rgba(255, 184, 91, .12); color: #f6c785; font-size: .78rem; font-weight: 850; }
.premium-footer__highlight div { min-width: 0; }
.premium-footer__highlight strong { display: block; color: #fff; font-weight: 850; font-size: .88rem; line-height: 1.5; }
.premium-footer__highlight small { display: block; color: #aabed3; margin-top: 3px; font-size: .77rem; line-height: 1.55; overflow-wrap: anywhere; }
.premium-footer__links {
  display: grid; grid-template-columns: 1fr 1fr 1.06fr 1.26fr;
  gap: clamp(19px, 3.3vw, 44px);
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 1px solid rgba(255, 255, 255, .115);
}
.premium-footer__column { min-width: 0; }
.premium-footer .premium-footer__column h3 { color: #fff; font-size: 1.02rem; font-weight: 900; margin: 0 0 22px; padding-bottom: 12px; position: relative; }
.premium-footer__column h3::after { content: ""; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; border-radius: 2px; background: #eab36e; }
.premium-footer__column ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.premium-footer__column li { padding: 0; color: #b6c9dd; font-size: .9rem; font-weight: 650; }
.premium-footer__column li::before { display: none; }
.premium-footer__column li a { display: inline-block; color: #bdcee0; overflow-wrap: anywhere; }
.premium-footer__column li a:hover { color: #ffd28c; }
.premium-footer__column--contact { display: block; }
.premium-footer__contact-link { display: grid; gap: 3px; margin-bottom: 12px; }
.premium-footer__contact-link span { font-size: .74rem; color: #9faec2; font-weight: 700; }
.premium-footer .premium-footer__contact-link strong { font-size: .94rem; font-weight: 900; color: #fff; overflow-wrap: anywhere; }
.premium-footer .premium-footer__contact-link:hover strong { color: #ffd28c; }
.premium-footer__help-text { display: block; color: #9aadc5; font-size: .78rem; margin-top: 15px; line-height: 1.65; }
.premium-footer__column--company > strong { display: block; color: #fff; font-size: .94rem; margin-bottom: 8px; overflow-wrap: anywhere; }
.premium-footer .premium-footer__column--company p { font-size: .87rem; color: #b6c9dd; line-height: 1.8; }
.premium-footer .premium-footer__privacy { display: inline-block; font-weight: 800; color: #f3c587; font-size: .79rem; margin-top: 17px; line-height: 1.7; }
.premium-footer__privacy:hover { color: #fff; }
.premium-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; padding-top: 23px; }
.premium-footer .premium-footer__copyright { color: #8fa6be; font-size: .81rem; font-weight: 650; line-height: 1.6; }
.premium-footer__copyright span { margin-left: 6px; }
.premium-footer__credits { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 9px; max-width: 100%; }
.premium-footer__credits > span { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px; padding: 8px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 10px; background: rgba(255, 255, 255, .045); color: #9facbf; font-size: .77rem; line-height: 1.45; }
.premium-footer__credits a { color: #fff; font-weight: 900; overflow-wrap: anywhere; }
.premium-footer__credits a:hover { color: #f8c786; }



@media (max-width: 1100px) {
  main #links .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  main #links > .container { padding: 22px 18px; }
  main #links .menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  main #links .section-title { margin-bottom: 20px; }
  main #links .section-title h2 { font-size: clamp(1.85rem, 7.4vw, 2.9rem); }

  main #faq > .container { padding: 22px 18px; }
  main #faq .faq-grid { grid-template-columns: 1fr; gap: 14px; }
  main #faq .section-title { margin-bottom: 18px; }
  main #faq .section-title h2 { font-size: clamp(1.95rem, 8vw, 3rem); }
}

@media (max-width: 1080px) {
  .site-header .nav-wrap { position: relative; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
  .site-header .public-menu-toggle { display: inline-flex; order: 1; }
  .site-header .nav-links { display: none !important; position: relative; order: 2; flex: 0 0 100%; width: 100%; padding: 10px; border: 1px solid #e5e9f2; border-radius: 16px; background: #fff; box-shadow: 0 15px 32px #182e411a; z-index: 60; flex-direction: column; align-items: stretch; }
  .site-header .nav-links.is-open { display: flex !important; }
  .site-header .nav-links a { padding: 10px 14px; }
  .premium-footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 42px; }
}
@media (max-width: 820px) {
  .premium-footer__lead { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .premium-footer__intro { padding-bottom: 0; }
  .premium-footer__headline { max-width: 600px; }
  .premium-footer__contact-box { padding: 25px; }
  .premium-footer__buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .premium-footer__highlights { grid-template-columns: 1fr; }
  .premium-footer__highlight + .premium-footer__highlight { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .premium-footer__highlight { padding: 15px 22px; }
  .premium-footer__bottom { align-items: flex-start; flex-direction: column; }
  .premium-footer__credits { justify-content: flex-start; }
}
@media (max-width: 720px) {
  main #links.section { margin-top: 16px; }
  main #links > .container { width: 100%; border-radius: 22px; padding: 18px 14px; }
  main #links .section-title .eyebrow { font-size: .74rem; padding: 8px 14px; }
  main #links .section-title h2 { margin-top: 14px; line-height: 1.12; }
  main #links .section-title p { margin-top: 12px; font-size: .93rem; line-height: 1.8; }
  main #links .menu-grid { grid-template-columns: 1fr; gap: 12px; }
  main #links .menu-chip { min-height: 76px; padding: 14px 16px; border-radius: 18px; gap: 12px; }
  main #links .menu-chip .chip-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px; font-size: 1rem; }
  main #links .menu-chip b { font-size: .97rem; line-height: 1.42; padding-right: 22px; }
  main #links .menu-chip::after { top: 50%; right: 14px; transform: translateY(-50%); }
  main #links .menu-chip:hover::after { transform: translate(2px, -50%); }
  main #faq.section { margin-top: 18px; }
  main #faq > .container { width: 100%; border-radius: 22px; padding: 18px 14px; }
  main #faq .section-title .eyebrow { font-size: .74rem; padding: 8px 14px; }
  main #faq .section-title h2 { margin-top: 14px; line-height: 1.12; }
  main #faq .section-title p { margin-top: 12px; font-size: .93rem; line-height: 1.8; }
  main #faq .faq-item { border-radius: 17px; }
  main #faq .faq-item summary { min-height: 72px; padding: 18px 18px 18px 20px; gap: 12px; font-size: .98rem; line-height: 1.45; }
  main #faq .faq-item summary::after { width: 32px; height: 32px; border-radius: 11px; font-size: 1.26rem; }
  main #faq .faq-item p { padding: 0 18px 18px 20px; font-size: .9rem; line-height: 1.8; }

  :root { --site-side-gap: 16px; }
  .site-header .brand { width: auto; flex: 1 1 0; justify-content: flex-start; min-width: 0; }
  .site-header .brand img { width: min(142px, 38vw); }
  .site-header .nav-wrap { justify-content: space-between; }
  main > .hero-image { margin-top: 14px; border-radius: 19px; }
  main .hero-grid h1 { font-size: clamp(1.8rem, 8.2vw, 2.55rem); line-height: 1.24; text-wrap: balance; }
  main :where(.answer-card,.keyword-section,.glass,.article-wrap,.office-card,.contact-strip) { max-width: 100%; }
  .floating-cta { bottom: max(14px, env(safe-area-inset-bottom)); }
  .footer.premium-footer { margin-top: 48px; }
  .premium-footer .premium-footer__inner { padding-top: 37px; }
  .premium-footer__identity { gap: 13px; margin-bottom: 22px; }
  .premium-footer__logo-link { width: 100px; flex-basis: 100px; min-width: 88px; border-radius: 17px; }
  .premium-footer__logo { max-height: 62px; }
  .premium-footer__eyebrow { font-size: .69rem; }
  .premium-footer__name { font-size: 1.1rem; }
  .premium-footer__headline { font-size: clamp(1.55rem, 6.3vw, 2.15rem); }
  .premium-footer__description { font-size: .9rem; }
  .premium-footer__contact-box { padding: 22px 20px; border-radius: 21px; }
  .premium-footer__buttons { grid-template-columns: 1fr; }
  .premium-footer__highlights { margin-top: 27px; border-radius: 16px; }
  .premium-footer__links { gap: 27px 16px; padding: 35px 0; }
  .premium-footer .premium-footer__column h3 { font-size: .95rem; margin-bottom: 17px; }
  .premium-footer__column li { font-size: .84rem; }
  .premium-footer__column--contact, .premium-footer__column--company { min-width: 0; }
  .premium-footer__credits { gap: 7px; }
  .premium-footer__credits > span { padding: 7px 10px; }
}
@media (max-width: 430px) {
  .premium-footer__links { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 15px; }
  .premium-footer__column--company { grid-column: 1 / -1; }
  .premium-footer__logo-link { width: 88px; flex-basis: 88px; padding: 8px; }
  .premium-footer__eyebrow { font-size: .66rem; }
  .premium-footer__tags { gap: 7px; }
  .premium-footer__tags span { font-size: .73rem; padding: 7px 10px; }
  .premium-footer__credits { display: grid; grid-template-columns: 1fr; align-items: stretch; width: 100%; }
  .premium-footer__credits > span { justify-content: flex-start; }
}
@media (max-width: 350px) {
  :root { --site-side-gap: 13px; }
  .premium-footer__identity { align-items: flex-start; }
  .premium-footer__logo-link { width: 80px; flex-basis: 80px; }
  .premium-footer__links { grid-template-columns: 1fr; }
  .premium-footer__column--company { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ===============================================================
   Public layout repair v1.0.5
   One horizontal rhythm for the original 35 templates, regardless
   of the individual page's older embedded styles.
   =============================================================== */
:root {
  --site-content-max: 1180px;
  --site-side-gap: clamp(16px, 3vw, 28px);
  --site-card-shadow: 0 15px 35px rgba(18, 43, 74, .075);
  --site-card-border: rgba(25, 55, 91, .11);
}

/* Keep the outer edges identical for the header, banners, text panels,
   image panels, articles, link directory, FAQ and footer.  Earlier
   mobile overrides gave #links/#faq a mismatched full-bleed width. */
body .container,
main > section > .container,
main #links > .container,
main #faq > .container,
.site-header .nav-wrap,
.footer .container {
  width: calc(100% - (var(--site-side-gap) * 2));
  max-width: var(--site-content-max);
  margin-inline: auto;
  min-width: 0;
}
main > .hero-image {
  width: calc(100% - (var(--site-side-gap) * 2));
  max-width: var(--site-content-max);
  margin-inline: auto;
}
main > section.section { padding-block: clamp(32px, 4vw, 53px); }
main > section.section.tight { padding-block: clamp(22px, 3vw, 36px); }

/* Figures originally retained a browser margin of 40px on each side,
   so image cards were visibly narrower than their neighboring content. */
main :where(figure.image-panel, .split > figure, .howto-wrap > figure) {
  margin: 0;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}
main .image-panel { width: 100%; max-width: 100%; min-width: 0; margin: 0; padding: 0; }
main .image-panel :where(img,picture,video),
main > .hero-image img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
}
main .image-panel figcaption {
  max-width: calc(100% - 28px);
  overflow-wrap: anywhere;
  white-space: normal;
}
main :where(.hero-grid,.split,.howto-wrap,.contact-strip,.feature-grid,
  .services-grid,.tips-grid,.menu-grid,.faq-grid,.mini-feature-grid,
  .editorial-quickgrid,.editorial-checklist,.editorial-scenarios) > * {
  min-width: 0;
  max-width: 100%;
}
main :where(.glass,.answer-card,.office-card,.keyword-section,.contact-strip,
  .image-panel,.service-card,.feature-card,.tip,.stat) {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Balance the legacy cards and align headings without making long
   sentences run edge-to-edge across a wide monitor. */
main .section-title { width: 100%; max-width: 940px; margin-inline: auto; }
main .section-title > h2 { line-height: 1.22; text-wrap: balance; }
main :where(.image-panel,.answer-card,.glass,.office-card,.keyword-section,
  .service-card,.feature-card) {
  border-color: var(--site-card-border);
  box-shadow: var(--site-card-shadow);
}
main #links .section-title h2,
main #faq .section-title h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.85rem);
  line-height: 1.22;
  letter-spacing: -.025em;
}
main #links .menu-grid { gap: 13px; }
main #links .menu-chip {
  min-height: 78px;
  padding: 13px 17px;
  gap: 12px;
  border-radius: 18px;
}
main #links .menu-chip .chip-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  border-radius: 13px;
}
main #links .menu-chip b { font-size: .97rem; line-height: 1.42; }
main #links .menu-chip[aria-current="page"] {
  border-color: rgba(213,139,31,.44);
  background: linear-gradient(180deg, #fffaf1, #fff5e6);
  box-shadow: inset 0 0 0 1px rgba(213,139,31,.09), 0 10px 24px rgba(26,50,79,.05);
}
main #links .menu-chip[aria-current="page"]::after { content: "✓"; color: #bd791d; }
main #faq .faq-grid { gap: 13px; }
main #faq .faq-item summary { min-height: 73px; padding: 17px 19px 17px 22px; }
main #faq .faq-item summary::after { width: 33px; height: 33px; }
main #faq .faq-item p { padding: 0 19px 19px 22px; }

/* Long-form reading: full-width section card, consistent inner gutters,
   safe table scroll contained INSIDE the article, never the viewport. */
main #article .article-wrap:not(.container) { width: 100%; max-width: 100%; }
/* Two legacy pages use the same element for .container and .article-wrap. */
main #article .container.article-wrap {
  width: calc(100% - (var(--site-side-gap) * 2));
  max-width: var(--site-content-max);
  margin-inline: auto;
}
main #article .seo-article.editorial-article { min-width: 0; width: 100%; }
main #article .editorial-content { min-width: 0; }
main #article .editorial-section { padding-block: clamp(23px, 3vw, 40px); }
main #article .editorial-toc { gap: 12px 20px; }
main #article .editorial-toc a { white-space: normal; }
main #article .editorial-table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}
main #article .editorial-table { max-width: none; }

/* Tablet: columns flow naturally into one reading column while the
   content itself still follows the same global left/right margins. */
@media (max-width: 900px) {
  main :where(.hero-grid,.split,.howto-wrap,.contact-strip) {
    grid-template-columns: minmax(0,1fr);
  }
  main :where(.split,.howto-wrap) { gap: 19px; }
  main #links .menu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  main #faq .faq-grid { grid-template-columns: minmax(0,1fr); }
  main #links > .container,
  main #faq > .container { padding: clamp(17px,3vw,27px); }
}
@media (max-width: 720px) {
  :root { --site-side-gap: 16px; }
  main > section.section { padding-block: 26px; }
  main > section.section.tight { padding-block: 18px; }
  main #links > .container,
  main #faq > .container {
    width: calc(100% - (var(--site-side-gap) * 2));
    max-width: var(--site-content-max);
    padding: 18px 14px;
    border-radius: 20px;
  }
  main #links .section-title,
  main #faq .section-title { max-width: 100%; margin-bottom: 19px; }
  main #links .section-title h2,
  main #faq .section-title h2 { font-size: clamp(1.55rem, 6.4vw, 2.2rem); line-height: 1.22; }
  main #links .section-title p,
  main #faq .section-title p { font-size: .92rem; line-height: 1.72; }
  main #links .menu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  main #links .menu-chip { min-height: 80px; padding: 12px 10px; gap: 8px; border-radius: 15px; }
  main #links .menu-chip .chip-icon { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 10px; font-size: .91rem; }
  main #links .menu-chip b { font-size: .81rem; line-height: 1.42; padding-right: 0; }
  main #links .menu-chip::after { display: none; }
  main #faq .faq-item { border-radius: 16px; }
  main #faq .faq-item summary { min-height: 65px; padding: 14px 13px 14px 17px; gap: 8px; font-size: .92rem; }
  main #faq .faq-item summary::after { width: 28px; height: 28px; font-size: 1.16rem; }
  main #faq .faq-item p { padding: 0 15px 17px 17px; }
  main #article .editorial-section { padding-block: 24px; }
  main #article .editorial-content { padding-inline: 7px; }
  main #article .editorial-toc a { white-space: normal; }
  main .image-panel figcaption { max-width: 100%; }
}
@media (max-width: 359px) {
  :root { --site-side-gap: 14px; }
  main #links .menu-grid { grid-template-columns: minmax(0, 1fr); }
  main #links .menu-chip { min-height: 64px; padding: 11px 14px; gap: 12px; }
  main #links .menu-chip .chip-icon { width: 36px; height: 36px; flex-basis: 36px; }
  main #links .menu-chip b { font-size: .91rem; }
  main #article .editorial-content { padding-inline: 3px; }
}

/* WebP fallback wrapper. display:contents preserves all existing grid/image dimensions. */
.webp-picture { display: contents; }
.webp-picture > img { max-width: 100%; height: auto; }
