/* V Tech Fin CMS — blog layout + content blocks (shortcodes). Loaded on blog pages only. */
:root {
  --la-navy: #0a1d35; --la-teal: #0f5d6a; --la-teal-2: #266472; --la-gold: #b8967e; --la-gold-2: #a4826b;
  --la-text: #1b1f24; --la-muted: #5b6574; --la-line: #e2e6ec; --la-soft: #f4f7fa;
  --la-info: #1d6fb8; --la-warn: #b7791f; --la-danger: #c0392b; --la-ok: #1f8a4c;
  --la-radius: 10px; --la-head: "Lora", Georgia, serif;
}

/* ---------- hero + banners ---------- */
.la-hero { background: var(--la-navy); color: #fff; padding: 140px 0 48px; }
.la-hero__inner { max-width: 900px; margin: 0 auto; text-align: center; }
.la-hero__cat { display: inline-block; color: var(--la-gold); font: 600 13px/1 var(--font-body, system-ui), sans-serif; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; text-decoration: none; }
.la-hero__cat:hover { color: #fff; }
.la-post-title { font: 700 clamp(28px, 4vw, 40px)/1.25 var(--la-head); color: #fff; margin: 0 0 14px; }
.la-hero__meta { color: #c7d1de; font-size: 15px; margin: 0; }
.la-hero__meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.la-banner { flex-direction: column !important; text-align: center; }
.la-banner__page, .la-banner__kicker { font-size: .6em; opacity: .75; }
.la-banner__sub { color: #c7d1de; margin: 6px 0 0; }
.la-banner__crumbs ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 0 1rem; padding: 0; margin: 10px 0 0; }
.la-banner__crumbs li { list-style: none; color: #fff; }
.la-banner__crumbs li + li::before { content: "/"; color: var(--la-gold); margin-right: 1rem; font-size: 12px; }
.la-banner__crumbs a { color: var(--la-gold); text-decoration: none; }

/* ---------- article ---------- */
.la-post { color: var(--la-text); font-size: 17px; line-height: 1.75; }
.la-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; padding: 0; margin: 0 0 16px; font-size: 14px; }
.la-breadcrumb li { color: var(--la-muted); }
.la-breadcrumb li + li::before { content: "›"; margin: 0 8px; color: #9aa4b2; }
.la-breadcrumb a { color: var(--la-navy); font-weight: 600; text-decoration: none; }
.la-breadcrumb [aria-current] { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.la-featured { margin: 0 0 18px; }
.la-featured img { width: 100%; height: auto; border-radius: var(--la-radius); display: block; }
.la-featured figcaption { font-size: 13px; color: var(--la-muted); margin-top: 6px; }
.la-byline { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14px; color: var(--la-muted); padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--la-line); }
.la-byline a { color: var(--la-teal-2); text-decoration: none; }
.la-byline .fa-circle-check { color: var(--la-ok); }

.la-tldr { background: #f1f7f8; border: 1px solid #d3e5e8; border-left: 5px solid var(--la-teal); border-radius: var(--la-radius); padding: 16px 20px; margin: 0 0 24px; }
.la-tldr p { margin: 0; font-size: 17px; }
.la-tldr .la-tldr__label { font: 700 13px/1 var(--font-body, system-ui), sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--la-teal); margin-bottom: 8px; }

.la-toc { background: var(--la-soft); border: 1px solid var(--la-line); border-radius: var(--la-radius); margin: 0 0 28px; }
.la-toc details { padding: 14px 20px; }
.la-toc summary { cursor: pointer; font: 700 18px/1.3 var(--la-head); color: var(--la-navy); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.la-toc summary::-webkit-details-marker { display: none; }
.la-toc summary::after { content: "+"; font: 400 22px/1 sans-serif; color: var(--la-muted); }
.la-toc details[open] summary::after { content: "–"; }
.la-toc ol { margin: 12px 0 0; padding-left: 22px; }
.la-toc li { margin: 5px 0; font-size: 15.5px; line-height: 1.45; }
.la-toc li.la-toc__sub { margin-left: 18px; list-style-type: circle; font-size: 14.5px; }
.la-toc a { color: var(--la-teal); text-decoration: none; }
.la-toc a:hover, .la-toc a.is-current { text-decoration: underline; font-weight: 600; }

.la-content { overflow-wrap: break-word; }
.la-content h2, .la-content h3, .la-content h4 { font-family: var(--la-head); color: var(--la-navy); line-height: 1.3; margin: 1.8em 0 .6em; scroll-margin-top: 110px; }
.la-content h2 { font-size: clamp(24px, 2.6vw, 30px); }
.la-content h3 { font-size: clamp(20px, 2.1vw, 23px); }
.la-content h4 { font-size: 19px; }
.la-content p, .la-content li { font-size: 17px; line-height: 1.75; color: var(--la-text); font-weight: 400; }
.la-content p { margin: 0 0 1.1em; }
.la-content a { color: var(--la-teal); text-decoration: underline; text-underline-offset: 2px; }
.la-content img { max-width: 100%; height: auto; border-radius: 8px; }
.la-content figure { margin: 1.5em 0; }
.la-content figcaption { font-size: 14px; color: var(--la-muted); text-align: center; margin-top: 6px; }
.la-content blockquote:not(.la-quote blockquote) { border-left: 4px solid var(--la-gold); margin: 1.5em 0; padding: .4em 0 .4em 1.2em; color: #374151; font-style: italic; }
.la-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: 15.5px; display: block; overflow-x: auto; }
.la-content th, .la-content td { border: 1px solid var(--la-line); padding: 9px 12px; text-align: left; vertical-align: top; }
.la-content th { background: var(--la-soft); color: var(--la-navy); }
.la-content > *:first-child { margin-top: 0; }

.la-tags { margin: 28px 0 0; font-size: 14px; }
.la-tags span { font-weight: 700; margin-right: 6px; }
.la-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 12px; border-radius: 14px; background: var(--la-soft); border: 1px solid var(--la-line); color: var(--la-navy); text-decoration: none; }
.la-share { display: flex; align-items: center; gap: 8px; margin: 22px 0; padding: 14px 0; border-top: 1px solid var(--la-line); border-bottom: 1px solid var(--la-line); }
.la-share span { font-weight: 700; font-size: 14px; margin-right: 4px; }
.la-share a, .la-share button { width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--la-soft); color: var(--la-navy); border: 1px solid var(--la-line); cursor: pointer; text-decoration: none; transition: .15s; }
.la-share a:hover, .la-share button:hover { background: var(--la-navy); color: #fff; }
.la-share button.is-copied { background: var(--la-ok); color: #fff; }

/* ---------- author ---------- */
.la-author { display: flex; gap: 18px; align-items: flex-start; background: var(--la-soft); border: 1px solid var(--la-line); border-radius: var(--la-radius); padding: 20px; margin: 28px 0; }
.la-author__img, .la-author__initial { width: 76px; height: 76px; flex: 0 0 76px; border-radius: 50%; object-fit: cover; }
.la-author__initial { display: grid; place-items: center; background: var(--la-navy); color: #fff; font: 700 30px var(--la-head); }
.la-author__body p { margin: 0 0 6px; font-size: 15.5px; }
.la-author__label { font: 600 12px var(--font-body, system-ui), sans-serif !important; text-transform: uppercase; letter-spacing: .08em; color: var(--la-muted); }
.la-author__name { font: 700 19px var(--la-head) !important; }
.la-author__name a { color: var(--la-navy); text-decoration: none; }
.la-author__role { font: 400 14px system-ui, sans-serif; color: var(--la-muted); }
.la-author__links a { font-size: 13.5px; margin-right: 12px; color: var(--la-teal); }
.la-profile { display: flex; gap: 24px; align-items: flex-start; margin-bottom: 32px; }
.la-profile__img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; flex: 0 0 140px; }
.la-profile__label { font-weight: 700; margin: 14px 0 4px; }
.la-section-title { font: 700 24px var(--la-head); color: var(--la-navy); margin: 0 0 20px; }
.la-archive-intro { margin-bottom: 24px; font-size: 16.5px; }

/* ---------- related + prev/next ---------- */
.la-more { margin: 36px 0 10px; }
.la-more__title { font: 700 24px var(--la-head); color: var(--la-navy); margin: 0 0 16px; }
.la-more__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.la-more__item { display: flex; flex-direction: column; text-decoration: none; color: var(--la-text); }
.la-more__item img, .la-more__item .la-card__placeholder { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.la-more__cat { font: 600 12px var(--font-body, system-ui), sans-serif; text-transform: uppercase; letter-spacing: .06em; color: var(--la-teal-2); }
.la-more__name { font-weight: 700; line-height: 1.35; font-size: 15.5px; }
.la-more__item:hover .la-more__name { color: var(--la-teal); text-decoration: underline; }
.la-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0 10px; }
.la-prevnext a { display: block; padding: 14px 16px; border: 1px solid var(--la-line); border-radius: var(--la-radius); color: var(--la-navy); font-weight: 600; text-decoration: none; line-height: 1.35; font-family: var(--font-body, system-ui), sans-serif; }
.la-prevnext a small { display: block; color: var(--la-muted); font-weight: 400; margin-bottom: 4px; }
.la-prevnext a:hover { border-color: var(--la-teal); }
.la-prevnext__next { text-align: right; grid-column: 2; }

/* ---------- listing cards ---------- */
.la-card { height: 100%; border-radius: var(--la-radius); overflow: hidden; background: var(--la-navy); }
.la-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.la-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: #13294a; }
.la-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.la-card__link:hover .la-card__img { transform: scale(1.03); }
.la-card__placeholder { display: block; width: 100%; height: 100%; min-height: 140px; background: linear-gradient(135deg, #13294a, var(--la-teal)); }
.la-card .blog-caption { flex: 1; padding: 12px 16px 16px; }
.la-card .blog-caption small { color: var(--la-gold); font-family: var(--font-body, system-ui), sans-serif; letter-spacing: .05em; text-transform: uppercase; }
.la-card__title { font-size: 18px !important; line-height: 1.35 !important; margin: 4px 0 0; }
.pagination .gap span { padding: 8px 6px; color: var(--la-muted); }

/* ---------- buttons ---------- */
.la-btn { display: inline-block; padding: 11px 22px; border-radius: 7px; font: 600 15px/1.2 var(--font-body, system-ui), sans-serif; text-decoration: none !important; border: 2px solid transparent; transition: .15s; cursor: pointer; }
.la-btn--primary { background: var(--la-navy); color: #fff !important; }
.la-btn--primary:hover { background: var(--la-teal); }
.la-btn--accent { background: var(--la-gold); color: #fff !important; }
.la-btn--accent:hover { background: var(--la-gold-2); }
.la-btn--outline { border-color: var(--la-navy); color: var(--la-navy) !important; background: transparent; }
.la-btn--outline:hover { background: var(--la-navy); color: #fff !important; }
.la-align-center { text-align: center; }
.la-align-right { text-align: right; }

/* ---------- content blocks ---------- */
.la-box-title { font: 700 18px/1.3 var(--la-head) !important; color: var(--la-navy) !important; margin: 0 0 10px !important; }
.la-box-title i { color: var(--la-teal); margin-right: 4px; }

.la-callout { display: flex; gap: 14px; padding: 16px 18px; margin: 1.6em 0; border-radius: var(--la-radius); border: 1px solid; background: #eef5fc; border-color: #c8def3; }
.la-callout__icon { font-size: 20px; line-height: 1.5; color: var(--la-info); }
.la-callout__body { flex: 1; min-width: 0; }
.la-callout__body > :last-child { margin-bottom: 0 !important; }
.la-callout__title { font-weight: 700 !important; margin-bottom: 4px !important; color: var(--la-navy) !important; }
.la-callout--tip { background: #f0f7f1; border-color: #cbe5d1; }
.la-callout--tip .la-callout__icon { color: var(--la-ok); }
.la-callout--success { background: #edf8f1; border-color: #c2e5cf; }
.la-callout--success .la-callout__icon { color: var(--la-ok); }
.la-callout--warning { background: #fdf6e7; border-color: #f1dfb3; }
.la-callout--warning .la-callout__icon { color: var(--la-warn); }
.la-callout--danger { background: #fdeeec; border-color: #f2c7c1; }
.la-callout--danger .la-callout__icon { color: var(--la-danger); }

.la-takeaways, .la-related, .la-sources, .la-steps { background: var(--la-soft); border: 1px solid var(--la-line); border-radius: var(--la-radius); padding: 18px 22px; margin: 1.6em 0; }
.la-takeaways { border-top: 4px solid var(--la-gold); }
.la-takeaways ul { margin: 0; padding-left: 0; list-style: none; }
.la-takeaways li { position: relative; padding-left: 28px; margin: 6px 0; }
.la-takeaways li::before { content: "\f00c"; font: 900 13px "Font Awesome 6 Free"; position: absolute; left: 2px; top: 5px; color: var(--la-teal); }
.la-related ul { margin: 0; padding-left: 20px; }
.la-sources ol, .la-sources ul { margin: 0; padding-left: 22px; }
.la-sources li { font-size: 15px !important; margin: 4px 0; }

.la-tabs { margin: 1.6em 0; border: 1px solid var(--la-line); border-radius: var(--la-radius); overflow: hidden; }
.la-tabs__list { display: flex; overflow-x: auto; background: var(--la-soft); border-bottom: 1px solid var(--la-line); }
.la-tabs__list button { flex: 0 0 auto; background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 18px; font: 600 15px var(--font-body, system-ui), sans-serif; color: var(--la-muted); cursor: pointer; }
.la-tabs__list button[aria-selected="true"] { color: var(--la-navy); border-bottom-color: var(--la-gold); background: #fff; }
.la-tabs__panel { padding: 18px 20px; }
.la-tabs__panel > :last-child { margin-bottom: 0; }

.la-accordion, .la-faq { margin: 1.6em 0; }
.la-acc, .la-faq__item { border: 1px solid var(--la-line); border-radius: 8px; margin-bottom: 10px; background: #fff; }
.la-acc summary, .la-faq__item summary { cursor: pointer; list-style: none; padding: 14px 48px 14px 18px; position: relative; font-weight: 600; color: var(--la-navy); }
.la-acc summary::-webkit-details-marker, .la-faq__item summary::-webkit-details-marker { display: none; }
.la-acc summary::after, .la-faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--la-gold); }
.la-acc[open] summary::after, .la-faq__item[open] summary::after { content: "–"; }
.la-acc[open] summary, .la-faq__item[open] summary { background: var(--la-navy); color: #fff; border-radius: 7px 7px 0 0; }
.la-faq__item[open] .la-faq__q { color: #fff; }
.la-acc__body, .la-faq__a { padding: 14px 18px 4px; }
.la-faq__q { display: inline; font: 600 17px/1.4 var(--font-head, system-ui), sans-serif !important; margin: 0 !important; color: inherit; }

.la-steps__list { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.la-step { position: relative; padding: 0 0 18px 52px; counter-increment: step; }
.la-step::before { content: counter(step); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; background: var(--la-navy); color: #fff; display: grid; place-items: center; font: 700 15px var(--font-body, system-ui), sans-serif; }
.la-step:not(:last-child)::after { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 2px; background: var(--la-line); }
.la-step__title { font-weight: 700 !important; margin: 4px 0 4px !important; color: var(--la-navy) !important; }
.la-step__body > :last-child { margin-bottom: 0; }

.la-cta { display: flex; align-items: center; gap: 24px; justify-content: space-between; border-radius: 12px; padding: 24px 28px; margin: 2em 0; }
.la-cta--dark { background: linear-gradient(120deg, var(--la-navy), #13355c); color: #fff; }
.la-cta--dark p { color: #d9e1ec !important; }
.la-cta--light { background: #fbf6f1; border: 1px solid #ecdccd; }
.la-cta__title { font: 700 21px/1.3 var(--la-head) !important; margin: 0 0 6px !important; }
.la-cta--dark .la-cta__title { color: #fff !important; }
.la-cta__text p:last-child { margin-bottom: 0; }

.la-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 1.6em 0; }
.la-compare__col { border: 1px solid var(--la-line); border-radius: var(--la-radius); padding: 16px 18px; background: #fff; }
.la-compare__title { font-weight: 700 !important; font-size: 17px !important; margin: 0 0 8px !important; color: var(--la-navy) !important; }
.la-compare__col ul { list-style: none; padding: 0; margin: 0; }
.la-compare__col li { position: relative; padding-left: 26px; margin: 6px 0; }
.la-compare__col li::before { position: absolute; left: 0; top: 4px; font: 900 14px "Font Awesome 6 Free"; content: "\f105"; color: var(--la-teal); }
.la-compare__col--good { border-top: 4px solid var(--la-ok); }
.la-compare__col--good li::before { content: "\f00c"; color: var(--la-ok); }
.la-compare__col--bad { border-top: 4px solid var(--la-danger); }
.la-compare__col--bad li::before { content: "\f00d"; color: var(--la-danger); }

.la-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin: 1.6em 0; }
.la-stats .la-stat { margin: 0; }
.la-stat { display: flex; flex-direction: column; gap: 4px; border: 1px solid var(--la-line); border-left: 5px solid var(--la-gold); border-radius: var(--la-radius); padding: 16px 18px; margin: 1.6em 0; background: #fff; }
.la-stat__value { font: 700 32px/1.1 var(--la-head); color: var(--la-navy); }
.la-stat__label { font-size: 15.5px; color: var(--la-text); }
.la-stat__source { font-size: 13px; color: var(--la-muted); }

.la-quote { margin: 1.8em 0; padding: 20px 24px; background: var(--la-soft); border-radius: var(--la-radius); position: relative; }
.la-quote::before { content: "\201C"; position: absolute; left: 14px; top: -8px; font: 700 64px/1 Georgia, serif; color: var(--la-gold); opacity: .6; }
.la-quote blockquote { margin: 0; padding-left: 20px; font: italic 19px/1.6 var(--la-head); color: var(--la-navy); }
.la-quote blockquote p { font: inherit !important; color: inherit !important; }
.la-quote figcaption { margin-top: 8px; padding-left: 20px; font-size: 14.5px; color: var(--la-muted); }
.la-quote cite { font-style: normal; font-weight: 700; color: var(--la-navy); }

.la-video { position: relative; aspect-ratio: 16 / 9; margin: 1.6em 0; border-radius: var(--la-radius); overflow: hidden; background: #000; cursor: pointer; }
.la-video img { width: 100%; height: 100%; object-fit: cover; opacity: .9; border-radius: 0; }
.la-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.la-video__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 50px; border: 0; border-radius: 12px; background: rgba(200, 0, 0, .9); cursor: pointer; }
.la-video__play::before { content: ""; position: absolute; left: 29px; top: 15px; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; }
.la-video:hover .la-video__play { background: #f00; }

/* ---------- misc ---------- */
.la-preview-bar { position: sticky; top: 0; z-index: 9999; background: var(--la-gold); color: #fff; text-align: center; padding: 8px 12px; font-weight: 600; }
.la-preview-bar a { color: var(--la-navy); text-decoration: underline; margin-left: 8px; }
.la-preview-bar small { display: block; font-weight: 400; opacity: .9; }
.la-standalone-preview .la-hero { padding-top: 48px; }
.la-404 { padding: 48px 0 64px; }
.la-404__lead { font-size: 19px; }
.la-404__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 32px; }
.la-404__list { padding-left: 20px; }
.la-404__list li { margin: 6px 0; }

@media (max-width: 767px) {
  .la-hero { padding: 110px 0 32px; }
  .la-post, .la-content p, .la-content li { font-size: 16.5px; }
  .la-more__grid, .la-compare { grid-template-columns: 1fr; }
  .la-cta { flex-direction: column; align-items: flex-start; }
  .la-prevnext { grid-template-columns: 1fr; }
  .la-prevnext__next { grid-column: auto; }
  .la-profile { flex-direction: column; }
  .la-author { flex-direction: column; }
}
@media print {
  .la-share, .la-more, .la-prevnext, .la-toc, .la-cta { display: none !important; }
}

/* ======================================================================
   Phase 6 — automatic formatting
   ====================================================================== */
/* Tables: scroll sideways on phones, clean header, striped rows */
.la-table { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.6em 0; border: 1px solid var(--la-line); border-radius: var(--la-radius); background: #fff; }
.la-table:focus-visible { outline: 2px solid var(--la-teal); outline-offset: 2px; }
.la-content .la-table table { display: table; width: 100%; min-width: 520px; margin: 0; border-collapse: collapse; font-size: 15.5px; overflow: visible; }
.la-content .la-table th, .la-content .la-table td { border: 0; border-bottom: 1px solid var(--la-line); padding: 11px 14px; text-align: left; vertical-align: top; }
.la-content .la-table th { background: var(--la-navy); color: #fff; font: 600 15px/1.35 var(--font-body, system-ui), sans-serif; letter-spacing: .02em; }
.la-content .la-table tbody tr:nth-child(even) td { background: #f7f9fb; }
.la-content .la-table tbody tr:last-child td { border-bottom: 0; }
.la-content .la-table td p, .la-content .la-table th p, .la-content .la-table td li { font-size: inherit; line-height: 1.55; margin: 0 0 .4em; }
.la-content .la-table td > :last-child { margin-bottom: 0; }

/* External links get a small "opens elsewhere" icon */
.la-content[data-la-fmt~="ext-icons"] a[href^="http"]:not([href*="vtechfin.com"]):not(.la-btn):not(:has(img))::after {
  content: "\f35d"; font: 900 .62em "Font Awesome 6 Free"; margin-left: .3em; vertical-align: .18em; opacity: .65; text-decoration: none; display: inline-block;
}

/* "Copy link to this section" next to headings */
.la-anchor { display: inline-block; margin-left: .35em; font-size: .62em; color: var(--la-muted) !important; text-decoration: none !important; opacity: 0; transition: opacity .15s; vertical-align: middle; border: 0; background: none; cursor: pointer; padding: 0 .2em; }
.la-content h2:hover .la-anchor, .la-content h3:hover .la-anchor, .la-anchor:focus-visible { opacity: 1; }
.la-anchor.is-copied { opacity: 1; color: var(--la-ok) !important; }
@media (hover: none) { .la-anchor { opacity: .45; } }

/* Reading progress bar */
.la-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000; pointer-events: none; background: transparent; }
.la-progress span { display: block; height: 100%; width: 0; background: var(--la-gold); transition: width .08s linear; }

/* Image zoom */
.la-content img.la-zoomable { cursor: zoom-in; }
.la-lightbox { position: fixed; inset: 0; z-index: 10001; background: rgba(10, 29, 53, .93); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; cursor: zoom-out; animation: la-fade .15s ease-out; }
.la-lightbox img { max-width: 100%; max-height: calc(100% - 40px); border-radius: 6px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.la-lightbox p { color: #d9e1ec; font-size: 14px; margin: 0; text-align: center; max-width: 800px; }
.la-lightbox button { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
@keyframes la-fade { from { opacity: 0; } }

/* Contents that stays in view (desktop sidebar) */
.la-toc-float { position: sticky; top: 110px; margin: 24px 0; background: #fff; border: 1px solid var(--la-line); border-radius: var(--la-radius); padding: 16px 16px 12px; max-height: calc(100vh - 140px); overflow-y: auto; }
.la-toc-float__title { font: 700 16px/1.3 var(--la-head); color: var(--la-navy); margin: 0 0 8px; }
.la-toc-float ol { list-style: none; margin: 0; padding: 0; }
.la-toc-float li { margin: 2px 0; }
.la-toc-float li.la-toc__sub { padding-left: 12px; }
.la-toc-float a { display: block; padding: 4px 0 4px 10px; border-left: 2px solid var(--la-line); color: var(--la-muted); font-size: 14px; line-height: 1.35; text-decoration: none; }
.la-toc-float a:hover { color: var(--la-navy); }
.la-toc-float a.is-current { color: var(--la-teal); border-left-color: var(--la-gold); font-weight: 600; }
@media (max-width: 991px) { .la-toc-float { display: none; } }
@media print { .la-progress, .la-toc-float, .la-anchor { display: none !important; } }

/* ======================================================================
   Phase 6.1 — mobile polish
   ====================================================================== */
/* Category chips (phones only) */
.la-chips { display: none; }
@media (max-width: 767.98px) {
  .la-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -12px 20px; padding: 2px 12px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .la-chips::-webkit-scrollbar { display: none; }
  .la-chips a { flex: 0 0 auto; padding: 8px 16px; border-radius: 20px; border: 1px solid var(--la-line); background: #fff; color: var(--la-navy); font: 500 14px/1.2 var(--font-body, system-ui), sans-serif; text-decoration: none; white-space: nowrap; }
  .la-chips a.is-active { background: var(--la-navy); border-color: var(--la-navy); color: #fff; }

  /* Sidebar on phones: form lives in the slide-up panel; recent posts and categories are replaced by
     "Keep reading" and the chips */
  .la-sidebar .la-side-recent, .la-sidebar .la-side-cats { display: none; }
  .la-sidebar.la-lead-moved { padding-bottom: 0 !important; }

  .la-hero { padding-bottom: 26px; }
  .la-post-title { font-size: 26px; }
  .la-hero__meta { font-size: 14px; }
}

/* Pinned "Get quick assistance" bar (phones) */
.la-leadbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--la-navy); box-shadow: 0 -6px 20px rgba(10, 29, 53, .25);
  transform: translateY(110%); transition: transform .25s ease; }
.la-leadbar.is-visible { transform: none; }
.la-leadbar__text { color: #fff; font: 500 14px/1.3 var(--font-body, system-ui), sans-serif; }
.la-leadbar .la-btn { padding: 10px 16px; font-size: 14px; white-space: nowrap; }
.la-leadbar[hidden], .la-sheet[hidden] { display: none !important; }
body.la-has-leadbar { padding-bottom: 68px; }
@media (min-width: 768px) { .la-leadbar, .la-sheet { display: none !important; } body.la-has-leadbar { padding-bottom: 0; } }

/* Slide-up form panel */
.la-sheet { position: fixed; inset: 0; z-index: 9995; }
.la-sheet__backdrop { position: absolute; inset: 0; background: rgba(10, 29, 53, .55); animation: la-fade .2s ease-out; }
.la-sheet__panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; -webkit-overflow-scrolling: touch; background: #fff;
  border-radius: 16px 16px 0 0; padding: 18px 14px calc(18px + env(safe-area-inset-bottom)); animation: la-slide-up .25s ease-out; }
.la-sheet__panel::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: #cfd6e0; margin: -6px auto 10px; }
.la-sheet__close { position: absolute; top: 8px; right: 10px; width: 40px; height: 40px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--la-muted); cursor: pointer; }
.la-sheet .enquiry-form { border: 0 !important; padding: 0 !important; }
body.la-sheet-open { overflow: hidden; }
@keyframes la-slide-up { from { transform: translateY(100%); } }

/* ======================================================================
   Phase 9 — CMS pages + navigation
   ====================================================================== */
.la-hero--page { padding-bottom: 40px; }
.la-hero__lead { color: #d9e1ec; font-size: 18px; max-width: 760px; margin: 0 auto; }
.la-page-wrap { padding-bottom: 40px; }
.la-page-meta { margin: 28px 0 0; padding-top: 14px; border-top: 1px solid var(--la-line); font-size: 14px; color: var(--la-muted); }
.la-page-meta .fa-circle-check { color: var(--la-ok); }

/* ======================================================================
   Phase 9.1 — page layouts & layout blocks
   ====================================================================== */
/* Page settings */
.la-hero--image { position: relative; background-size: cover; background-position: center; }
.la-hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,29,53,.78), rgba(10,29,53,.88)); }
.la-hero--image > .container { position: relative; }
.la-hero__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 0; }
.la-hero__buttons--plain { justify-content: flex-start; margin: 0 0 24px; }
.la-btn--ghost { border-color: rgba(255,255,255,.7); color: #fff !important; background: transparent; }
.la-btn--ghost:hover { background: #fff; color: var(--la-navy) !important; }
.la-page-wrap--nohero { padding-top: 130px; }
.la-post-title--plain { color: var(--la-navy); margin-bottom: 10px; }
.la-page-lead { font-size: 19px; color: var(--la-muted); margin: 0 0 22px; }
.la-page-wrap { --la-inner: 760px; overflow-x: clip; }
.la-page-wrap--wide { --la-inner: 1000px; }
.la-page-wrap--full { --la-inner: 1140px; }

/* Section: full-width band on pages, contained box inside blog posts */
.la-section { margin: 2em 0; padding: 32px 28px; border-radius: 12px; background: var(--la-soft); }
.la-page .la-section { width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; border-radius: 0; padding: 56px 16px; }
.la-section__inner { max-width: var(--la-inner, 100%); margin: 0 auto; }
.la-section__inner > :last-child { margin-bottom: 0; }
.la-section--large { padding-top: 80px; padding-bottom: 80px; }
.la-section--center { text-align: center; }
.la-section--center .la-cards, .la-section--center .la-columns { text-align: left; }
.la-section--white { background: #fff; }
.la-section--gold { background: #fbf6f1; }
.la-section--navy, .la-section--image { background-color: var(--la-navy); color: #e6ecf3; }
.la-section--image { background-size: cover; background-position: center; position: relative; }
.la-section--image::before { content: ""; position: absolute; inset: 0; background: rgba(10,29,53,.82); }
.la-section--image > .la-section__inner { position: relative; }
.la-section--navy h2, .la-section--navy h3, .la-section--image h2, .la-section--image h3,
.la-section--navy .la-section__title, .la-section--image .la-section__title { color: #fff; }
.la-section--navy p, .la-section--navy li, .la-section--image p, .la-section--image li { color: #d9e1ec; }
.la-section--navy a:not(.la-btn), .la-section--image a:not(.la-btn) { color: #e8d3c3; }
.la-section__title { font: 700 clamp(24px, 3vw, 32px)/1.25 var(--la-head); color: var(--la-navy); margin: 0 0 18px; }

/* Columns */
.la-columns { display: grid; gap: 28px; margin: 1.6em 0; }
.la-columns--2 { grid-template-columns: repeat(2, 1fr); }
.la-columns--3 { grid-template-columns: repeat(3, 1fr); }
.la-columns--center { align-items: center; }
.la-col > :first-child { margin-top: 0; }
.la-col > :last-child { margin-bottom: 0; }

/* Cards */
.la-cards { display: grid; gap: 18px; margin: 1.6em 0; }
.la-cards--2 { grid-template-columns: repeat(2, 1fr); }
.la-cards--3 { grid-template-columns: repeat(3, 1fr); }
.la-cards--4 { grid-template-columns: repeat(4, 1fr); }
.la-card2 { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--la-line); border-radius: var(--la-radius); padding: 22px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.la-card2--linked:hover { border-color: var(--la-teal); box-shadow: 0 8px 24px rgba(10,29,53,.08); transform: translateY(-2px); }
.la-card2__icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #eef5f6; color: var(--la-teal); font-size: 21px; margin-bottom: 14px; }
.la-card2__title { font: 700 18px/1.3 var(--la-head) !important; color: var(--la-navy) !important; margin: 0 0 6px !important; }
.la-card2__body { flex: 1; }
.la-card2__body p { font-size: 15.5px !important; margin: 0 0 .6em; color: var(--la-text); }
.la-card2__link { margin-top: 10px; font-weight: 600; font-size: 15px; color: var(--la-teal) !important; text-decoration: none !important; }
.la-card2__link::after { content: ""; position: absolute; inset: 0; } /* whole card clickable */
.la-cards--navy .la-card2 { background: var(--la-navy); border-color: var(--la-navy); }
.la-cards--navy .la-card2__icon { background: rgba(255,255,255,.1); color: var(--la-gold); }
.la-cards--navy .la-card2__title { color: #fff !important; }
.la-cards--navy .la-card2__body p { color: #d9e1ec; }
.la-cards--navy .la-card2__link { color: var(--la-gold) !important; }
.la-section--navy .la-card2, .la-section--image .la-card2 { border-color: transparent; }

/* Image + text */
.la-split { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin: 2em 0; }
.la-split--right .la-split__media { order: 2; }
.la-split__media img { width: 100%; height: auto; border-radius: var(--la-radius); display: block; }
.la-split__text > :first-child { margin-top: 0; }

/* Urgent notice */
.la-notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; margin: 0 0 1.6em; border-radius: var(--la-radius); font-size: 17px; }
.la-notice__icon { font-size: 24px; line-height: 1.3; }
.la-notice__title { font-weight: 800 !important; margin: 0 0 4px !important; font-size: 18px !important; }
.la-notice__body > :last-child { margin-bottom: 0; }
.la-notice--urgent { background: #b42318; color: #fff; }
.la-notice--urgent p, .la-notice--urgent li, .la-notice--urgent .la-notice__title { color: #fff !important; }
.la-notice--urgent a { color: #fff !important; text-decoration: underline; }
.la-notice--important { background: #fdf3e0; border: 1px solid #f1d8a8; color: #5c3d00; }
.la-notice--important .la-notice__icon { color: #b7791f; }
.la-notice--info { background: #eef5fc; border: 1px solid #c8def3; }
.la-notice--info .la-notice__icon { color: var(--la-info); }

@media (max-width: 991.98px) {
  .la-columns--3, .la-cards--3, .la-cards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
  .la-columns--2, .la-columns--3, .la-cards--2, .la-cards--3, .la-cards--4, .la-split { grid-template-columns: 1fr; }
  .la-split--right .la-split__media { order: 0; }
  .la-page .la-section { padding: 40px 16px; }
  .la-page-wrap--nohero { padding-top: 100px; }
}

/* ======================================================================
   Phase 10 — forms, section lists, hubs
   ====================================================================== */
.la-form { background: #fff; border: 1px solid var(--la-line); border-radius: 12px; padding: 24px; margin: 1.6em 0; box-shadow: 0 6px 24px rgba(10,29,53,.06); }
.la-section--navy .la-form, .la-section--image .la-form { color: var(--la-text); }
.la-form__title { font: 700 22px/1.3 var(--la-head) !important; color: var(--la-navy) !important; margin: 0 0 14px !important; }
.la-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.la-field { display: flex; flex-direction: column; gap: 5px; font-size: 14.5px; font-weight: 600; color: var(--la-navy); margin: 0; }
.la-field b { color: #b42318; }
.la-field--full { grid-column: 1 / -1; }
.la-field input, .la-field select, .la-field textarea { width: 100%; font: 400 16px/1.4 system-ui, sans-serif; color: var(--la-text); padding: 11px 12px; border: 1px solid #cfd6e0; border-radius: 8px; background: #fff; }
.la-field input:focus, .la-field select:focus, .la-field textarea:focus { outline: none; border-color: var(--la-teal); box-shadow: 0 0 0 3px rgba(15,93,106,.15); }
.la-field .iti { width: 100%; }
.la-check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 14.5px; color: var(--la-muted); }
.la-check input { margin-top: 4px; width: 18px; height: 18px; flex: 0 0 18px; }
.la-form__submit { width: 100%; border: 0; font-size: 16px; padding: 14px 22px; }
.la-form__note { margin: 12px 0 0 !important; font-size: 13.5px !important; color: var(--la-muted) !important; text-align: center; }
.la-section-list { margin-top: 36px; }
.la-section-list--siblings { padding-top: 20px; border-top: 1px solid var(--la-line); }
.la-pagelist { margin: 0 0 10px; padding-left: 20px; }
.la-pagelist li { margin: 6px 0; }
.la-backlink { font-weight: 600; color: var(--la-teal); text-decoration: none; }
.la-hubchip a { font-weight: 600; }
.la-hubchip .fa-layer-group { color: var(--la-teal); }
@media (max-width: 767.98px) { .la-form__grid { grid-template-columns: 1fr; } .la-form { padding: 18px; } }

/* Phase 10 fix: theme list styles must not number the breadcrumb */
.la-breadcrumb ol, .la-breadcrumb li { list-style: none !important; margin-left: 0; padding-left: 0; }
.la-breadcrumb li::marker { content: ""; }

/* ======================================================================
   Landing page style (designed pages built from sections)
   ====================================================================== */
.la-page-wrap--landing { padding-bottom: 0; }
.la-page--landing .la-breadcrumb { margin-top: 18px; }
.la-page--landing .la-tldr { background: none; border: 0; padding: 36px 0 8px; margin: 0 auto; max-width: 760px; text-align: center; }
.la-page--landing .la-tldr p { font-size: 19px; line-height: 1.65; color: var(--la-text); }
.la-page--landing .la-content > .la-section:first-child { margin-top: 0; }
.la-page--landing .la-content > .la-section:last-child { margin-bottom: 0; }
.la-page--landing .la-section { margin-top: 0; margin-bottom: 0; }
.la-page--landing .la-section__title { text-align: center; margin-bottom: 28px; }
.la-page--landing .la-page-meta { text-align: center; border-top: 0; padding: 22px 0 32px; margin: 0; }
.la-section--center .la-steps, .la-section--center .la-faq, .la-section--center .la-compare, .la-section--center .la-form,
.la-section--center .la-callout, .la-section--center .la-notice, .la-section--center .la-cards { text-align: left; }
.la-page .la-section[id] { scroll-margin-top: 110px; }

/* Steps as numbered cards */
.la-steps--cards { background: none; border: 0; padding: 0; }
.la-steps--cards .la-steps__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.la-steps--cards .la-step { padding: 22px 18px 18px; background: #fff; border: 1px solid var(--la-line); border-radius: var(--la-radius); }
.la-steps--cards .la-step::before { position: static; margin-bottom: 12px; width: 40px; height: 40px; background: var(--la-gold); font-size: 17px; }
.la-steps--cards .la-step::after { display: none; }
.la-steps--cards .la-step__title { font-size: 17px !important; }
.la-steps--cards .la-step__body p { font-size: 15px !important; line-height: 1.6; }

/* Team block (Who We Are) */
.la-team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin: 1.6em 0; text-align: left; }
.la-team__card { background: #fff; border: 1px solid var(--la-line); border-radius: 12px; padding: 24px 22px; display: flex; flex-direction: column; }
.la-team__img, .la-team__initial { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 14px; }
.la-team__initial { display: grid; place-items: center; background: var(--la-navy); color: #fff; font: 700 36px var(--la-head); }
.la-team__name { font: 700 19px/1.3 var(--la-head) !important; margin: 0 0 2px !important; }
.la-team__name a { color: var(--la-navy); text-decoration: none; }
.la-team__role { font-size: 14.5px !important; color: var(--la-teal) !important; font-weight: 600; margin: 0 0 10px !important; }
.la-team__bio { font-size: 15px !important; line-height: 1.6; margin: 0 0 10px !important; }
.la-team__creds { list-style: none; padding: 0; margin: 0 0 12px; font-size: 14px; }
.la-team__creds li { position: relative; padding-left: 20px; margin: 4px 0; font-size: 14px !important; }
.la-team__creds li::before { content: "\f00c"; font: 900 11px "Font Awesome 6 Free"; position: absolute; left: 0; top: 5px; color: var(--la-ok); }
.la-team__links { margin: auto 0 0 !important; font-size: 14px !important; }
.la-team__links a { color: var(--la-teal); }

/* Fix 10.6.1 — "copy link to this section" icon: the theme styles every <button> (gold box, padding),
   so reset it completely; show it only while hovering a heading on desktop, never on touch screens. */
.la-content h2 > button.la-anchor, .la-content h3 > button.la-anchor {
  all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
  width: 1.4em; height: 1.4em; margin-left: .3em; vertical-align: middle; border-radius: 6px;
  font-size: .5em; line-height: 1; color: #9aa4b2; background: transparent !important; border: 0 !important;
  box-shadow: none !important; padding: 0 !important; cursor: pointer; opacity: 0; transition: opacity .15s, color .15s, background .15s;
}
.la-content h2:hover > button.la-anchor, .la-content h3:hover > button.la-anchor,
.la-content h2 > button.la-anchor:focus-visible, .la-content h3 > button.la-anchor:focus-visible { opacity: 1; }
.la-content h2 > button.la-anchor:hover, .la-content h3 > button.la-anchor:hover { color: var(--la-teal); background: #eef3f5 !important; }
.la-content h2 > button.la-anchor:focus-visible, .la-content h3 > button.la-anchor:focus-visible { outline: 2px solid var(--la-teal); outline-offset: 2px; }
.la-content h2 > button.la-anchor.is-copied, .la-content h3 > button.la-anchor.is-copied { opacity: 1; color: var(--la-ok); }
@media (hover: none), (max-width: 767.98px) { .la-content button.la-anchor { display: none !important; } }
