/* Avlast blog redesign: listing + article. All rules are scoped to .avb so the rest of the site is untouched. */
:root {
  --avb-ink: #14213d;
  --avb-text: #3a4458;
  --avb-muted: #6b7587;
  --avb-line: #e6e9f0;
  --avb-bg: #f6f7fb;
  --avb-card: #ffffff;
  --avb-brand: #2b467b;
  --avb-brand-dark: #1d3260;
  --avb-accent: #d95e38;
  --avb-accent-soft: #fdeee9;
  --avb-radius: 18px;
  --avb-shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 10px 30px rgba(20, 33, 61, .07);
  --avb-shadow-hover: 0 2px 4px rgba(20, 33, 61, .06), 0 18px 44px rgba(20, 33, 61, .13);
  --avb-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --avb-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}

body.avb-theme { background: var(--avb-bg); }
body.avb-theme .site-content { padding: 0; margin: 0; }
body.avb-theme #content { width: 100%; float: none; }

.avb, .avb * { box-sizing: border-box; }
.avb { font-family: var(--avb-body); color: var(--avb-text); font-size: 16px; line-height: 1.7; width: 100%; float: none; margin: 0; }
.avb a { text-decoration: none; }
.avb h1, .avb h2, .avb h3, .avb h4 { font-family: var(--avb-head); color: var(--avb-ink); letter-spacing: -.015em; }

.avb-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.avb-wrap--narrow { max-width: 860px; }

/* per-category accent for covers */
.avb-accent-0 { --c1: #2b467b; --c2: #4b74c9; }
.avb-accent-1 { --c1: #d95e38; --c2: #f0a04b; }
.avb-accent-2 { --c1: #0f766e; --c2: #34b8a8; }
.avb-accent-3 { --c1: #6d3fb5; --c2: #a77ce8; }
.avb-accent-4 { --c1: #b4233c; --c2: #ee6a82; }
.avb-accent-5 { --c1: #3f6212; --c2: #8bbf3c; }

/* ---------- Hero ---------- */
.avb-hero { background: linear-gradient(135deg, #14213d 0%, #2b467b 55%, #3b5da3 100%); color: #fff; padding: 64px 0 56px; position: relative; overflow: hidden; }
.avb-hero::after { content: ""; position: absolute; right: -120px; top: -140px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 94, 56, .45), rgba(217, 94, 56, 0) 70%); pointer-events: none; }
.avb-hero .avb-wrap { position: relative; z-index: 1; }
.avb-kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #ffd2c3; margin: 0 0 14px; }
.avb-hero__title { color: #fff !important; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.12; font-weight: 800; margin: 0 0 14px; max-width: 880px; }
.avb-hero__lead { color: #d4dcf0; font-size: 18px; max-width: 680px; margin-bottom: 26px; }
.avb-hero__lead p { margin: 0; }
.avb-hero--post { padding: 48px 0 44px; }
.avb-hero--post .avb-hero__title { font-size: clamp(26px, 3.6vw, 42px); }

.avb-search { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 18px; max-width: 560px; box-shadow: 0 12px 30px rgba(0, 0, 0, .18); color: var(--avb-muted); margin-bottom: 24px; }
.avb-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; color: var(--avb-ink); padding: 8px 0; box-shadow: none; height: auto; }
.avb-search button { border: 0; background: var(--avb-accent); color: #fff; font: 600 14px var(--avb-body); padding: 11px 22px; border-radius: 999px; cursor: pointer; transition: background .2s; }
.avb-search button:hover { background: #bf4a28; }

.avb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.avb-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 500; color: #e6ecfb; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); transition: all .2s; }
.avb-chip span { font-size: 11.5px; opacity: .7; }
.avb-chip:hover { background: rgba(255, 255, 255, .22); color: #fff; }
.avb-chip.is-active { background: #fff; color: var(--avb-brand); border-color: #fff; }

/* ---------- Sections ---------- */
.avb-section { padding: 52px 0 64px; }
.avb-section--tint { background: #fff; border-top: 1px solid var(--avb-line); }
.avb-h2 { font-size: 28px; font-weight: 800; margin: 0 0 26px; }

/* ---------- Cards ---------- */
.avb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.avb-card { background: var(--avb-card); border-radius: var(--avb-radius); overflow: hidden; box-shadow: var(--avb-shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; border: 1px solid var(--avb-line); }
.avb-card:hover { transform: translateY(-5px); box-shadow: var(--avb-shadow-hover); }
.avb-cover { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--c1, #2b467b), var(--c2, #4b74c9)); }
.avb-cover__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.avb-card:hover .avb-cover__img { transform: scale(1.05); }
.avb-cover__art { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; }
.avb-cover__pattern { position: absolute; inset: 0; background:
  radial-gradient(circle at 85% 18%, rgba(255, 255, 255, .28) 0 60px, transparent 61px),
  radial-gradient(circle at 70% 70%, rgba(255, 255, 255, .14) 0 110px, transparent 111px),
  radial-gradient(circle at 12% 95%, rgba(0, 0, 0, .18) 0 90px, transparent 91px); }
.avb-cover__label { position: relative; font-family: var(--avb-head); font-weight: 800; font-size: 20px; line-height: 1.15; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); max-width: 80%; }

.avb-card__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.avb-card__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--avb-muted); margin-bottom: 10px; }
.avb-dot { width: 3px; height: 3px; border-radius: 50%; background: #b5bccb; }
.avb-tag { background: var(--avb-accent-soft); color: var(--avb-accent); font-weight: 600; padding: 3px 10px; border-radius: 999px; font-size: 12px; }
.avb-tag:hover { background: var(--avb-accent); color: #fff; }
.avb-card__title { font-size: 19px; line-height: 1.3; font-weight: 700; margin: 0 0 10px; }
.avb-card__title a { color: var(--avb-ink); background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s; }
.avb-card:hover .avb-card__title a { background-size: 100% 2px; }
.avb-card__excerpt { font-size: 14.5px; color: var(--avb-text); margin: 0 0 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.avb-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding-top: 14px; border-top: 1px solid var(--avb-line); }
.avb-read { color: var(--avb-muted); }
.avb-more { color: var(--avb-brand); font-weight: 600; }
.avb-more span { display: inline-block; transition: transform .2s; }
.avb-card:hover .avb-more span { transform: translateX(4px); }

/* featured (first) card spans the whole row */
.avb-card--featured { grid-column: 1 / -1; flex-direction: row; }
.avb-card--featured .avb-cover { flex: 0 0 54%; aspect-ratio: auto; min-height: 340px; }
.avb-card--featured .avb-card__body { padding: 38px 40px; justify-content: center; }
.avb-card--featured .avb-card__title { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.2; }
.avb-card--featured .avb-card__excerpt { font-size: 16.5px; -webkit-line-clamp: 4; }
.avb-card--featured .avb-card__foot { margin-top: 8px; border-top: 0; padding-top: 0; justify-content: flex-start; gap: 22px; }
.avb-card--featured .avb-cover__label { font-size: 30px; }

/* ---------- Pagination ---------- */
.avb-pagination { margin-top: 44px; }
.avb-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 0; }
.avb-pagination li { margin: 0; padding: 0; }
.avb-pagination .page-numbers { display: inline-flex; min-width: 42px; height: 42px; padding: 0 14px; align-items: center; justify-content: center; border-radius: 12px; background: #fff; border: 1px solid var(--avb-line); color: var(--avb-ink); font-weight: 600; font-size: 14px; transition: all .2s; }
.avb-pagination a.page-numbers:hover { border-color: var(--avb-brand); color: var(--avb-brand); }
.avb-pagination .page-numbers.current { background: var(--avb-brand); border-color: var(--avb-brand); color: #fff; }
.avb-pagination .dots { border: 0; background: transparent; }

.avb-empty { text-align: center; background: #fff; border: 1px dashed #cfd5e3; border-radius: var(--avb-radius); padding: 60px 24px; }

/* ---------- Buttons / CTA ---------- */
.avb-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--avb-accent); color: #fff !important; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 999px; transition: background .2s, transform .2s; border: 1px solid transparent; }
.avb-btn:hover { background: #bf4a28; transform: translateY(-1px); }
.avb-btn--light { background: #fff; color: var(--avb-brand) !important; }
.avb-btn--light:hover { background: #eef2fb; }
.avb-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .45); }
.avb-btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.avb-btn--block { display: flex; width: 100%; }

.avb-cta { background: linear-gradient(120deg, #14213d, #2b467b); color: #fff; padding: 52px 0; }
.avb-cta__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.avb-cta h2 { color: #fff !important; font-size: 28px; margin: 0 0 8px; font-weight: 800; }
.avb-cta p { color: #cfd8ee; margin: 0; max-width: 560px; }
.avb-cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Article ---------- */
.avb-progress { position: fixed; left: 0; top: 0; right: 0; height: 4px; z-index: 99999; background: transparent; }
.avb-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--avb-accent), #f0a04b); transition: width .08s linear; }

.avb-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: #b8c4e4; margin-bottom: 18px; }
.avb-crumbs a { color: #e6ecfb; }
.avb-crumbs a:hover { color: #fff; text-decoration: underline; }

.avb-byline { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.avb-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--avb-accent); color: #fff; display: grid; place-items: center; font: 800 18px var(--avb-head); }
.avb-byline strong { display: block; color: #fff; font-size: 15px; line-height: 1.2; }
.avb-byline small { color: #b8c4e4; font-size: 13px; }

.avb-feature { margin-top: -26px; position: relative; z-index: 2; }
.avb-feature__img { width: 100%; height: auto; border-radius: var(--avb-radius); box-shadow: var(--avb-shadow-hover); display: block; }

.avb-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 48px; padding-top: 44px; padding-bottom: 56px; align-items: start; }
.avb-main { min-width: 0; background: #fff; border-radius: var(--avb-radius); border: 1px solid var(--avb-line); box-shadow: var(--avb-shadow); padding: 46px 52px 40px; }

.avb-prose { font-size: 17.5px; line-height: 1.8; color: #2b3447; overflow-wrap: break-word; }
.avb-prose > *:first-child { margin-top: 0; }
.avb-prose p { margin: 0 0 1.25em; }
.avb-prose h2 { font-size: 28px; line-height: 1.25; font-weight: 800; margin: 2em 0 .6em; padding-top: .3em; scroll-margin-top: 90px; position: relative; }
.avb-prose h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; background: var(--avb-accent); margin-bottom: 14px; }
.avb-prose h3 { font-size: 21px; line-height: 1.35; font-weight: 700; margin: 1.7em 0 .5em; scroll-margin-top: 90px; }
.avb-prose h4 { font-size: 18px; margin: 1.4em 0 .4em; }
.avb-prose a { color: var(--avb-brand); text-decoration: underline; text-decoration-color: rgba(43, 70, 123, .35); text-underline-offset: 3px; font-weight: 500; }
.avb-prose a:hover { color: var(--avb-accent); text-decoration-color: currentColor; }
.avb-prose ul, .avb-prose ol { margin: 0 0 1.4em; padding-left: 1.35em; }
.avb-prose li { margin-bottom: .45em; padding-left: .2em; }
.avb-prose li::marker { color: var(--avb-accent); font-weight: 700; }
.avb-prose img { max-width: 100%; height: auto; border-radius: 14px; margin: 1.2em 0; }
.avb-prose blockquote { margin: 1.8em 0; padding: 20px 26px; border-left: 5px solid var(--avb-accent); background: var(--avb-accent-soft); border-radius: 0 14px 14px 0; font-size: 1.05em; color: var(--avb-ink); }
.avb-prose blockquote p:last-child { margin: 0; }
.avb-prose figure { margin: 1.6em 0; }
.avb-prose figcaption { font-size: 13.5px; color: var(--avb-muted); text-align: center; margin-top: 8px; }
.avb-prose hr { border: 0; border-top: 1px solid var(--avb-line); margin: 2.4em 0; }

/* tables scroll on phones */
.avb-prose table, .avb-prose .wp-block-table table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.6em 0; font-size: 15px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--avb-line); border-radius: 14px; }
.avb-prose .wp-block-table { margin: 0; overflow-x: auto; }
.avb-prose th { background: var(--avb-brand); color: #fff; text-align: left; font-weight: 600; padding: 12px 16px; white-space: nowrap; border: 0; }
.avb-prose td { padding: 12px 16px; border-top: 1px solid var(--avb-line); border-left: 0; vertical-align: top; }
.avb-prose tbody tr:nth-child(even) td { background: #f8f9fc; }

/* summary box + takeaways written by the n8n workflow */
.avb-summary { background: linear-gradient(135deg, #eef3fd, #fdf3ee); border: 1px solid #d8e1f5; border-left: 5px solid var(--avb-accent); border-radius: 14px; padding: 20px 24px; margin: 0 0 2em; }
.avb-summary__label { font: 700 12px var(--avb-head); letter-spacing: .12em; text-transform: uppercase; color: var(--avb-accent); margin-bottom: 8px; display: block; }
.avb-summary p { margin: 0; font-size: 16.5px; color: var(--avb-ink); }
.avb-takeaways { background: var(--avb-brand); color: #e6ecfb; border-radius: 16px; padding: 24px 28px; margin: 2em 0; }
.avb-takeaways h2, .avb-takeaways h3 { color: #fff !important; margin: 0 0 12px !important; font-size: 20px !important; padding: 0 !important; }
.avb-takeaways h2::before { display: none; }
.avb-takeaways ul { margin: 0; }
.avb-takeaways li::marker { color: #ffb59f; }

/* FAQ accordion */
.avb-faq { margin: 1.6em 0 0; display: grid; gap: 12px; }
.avb-faq__item { border: 1px solid var(--avb-line); border-radius: 14px; background: #fff; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.avb-faq__item[open] { border-color: #c9d4ee; box-shadow: var(--avb-shadow); }
.avb-faq__item summary { cursor: pointer; list-style: none; padding: 16px 52px 16px 20px; font: 700 16.5px/1.4 var(--avb-head); color: var(--avb-ink); position: relative; }
.avb-faq__item summary::-webkit-details-marker { display: none; }
.avb-faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--avb-accent-soft); color: var(--avb-accent); display: grid; place-items: center; font-size: 20px; font-weight: 700; transition: transform .2s; }
.avb-faq__item[open] summary::after { content: "–"; background: var(--avb-accent); color: #fff; }
.avb-faq__a { padding: 0 20px 18px; font-size: 16px; }
.avb-faq__a p:last-child { margin-bottom: 0; }

/* hide the Easy-TOC block that the plugin injects: the sidebar carries its own */
.avb-prose #ez-toc-container, .avb-prose .ez-toc-container { display: none !important; }

.avb-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--avb-line); }
.avb-tags a { background: var(--avb-bg); color: var(--avb-brand); padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 500; }
.avb-tags a:hover { background: var(--avb-brand); color: #fff; }

.avb-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.avb-postnav__item { display: block; padding: 16px 18px; border: 1px solid var(--avb-line); border-radius: 14px; background: #fff; transition: all .2s; }
.avb-postnav__item:hover { border-color: var(--avb-brand); box-shadow: var(--avb-shadow); }
.avb-postnav__item small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--avb-accent); font-weight: 600; margin-bottom: 4px; }
.avb-postnav__item span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--avb-ink); font-weight: 600; font-size: 14.5px; line-height: 1.4; }
.avb-postnav__item--next { text-align: right; grid-column: 2; }

/* ---------- Sidebar ---------- */
.avb-side { position: sticky; top: 24px; display: grid; gap: 18px; max-height: calc(100vh - 48px); overflow-y: auto; scrollbar-width: thin; padding-bottom: 4px; }
.avb-box { background: #fff; border: 1px solid var(--avb-line); border-radius: 16px; padding: 20px; box-shadow: var(--avb-shadow); }
.avb-box h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .1em; color: var(--avb-muted); margin: 0 0 14px; font-weight: 700; }
.avb-toc ol { list-style: none; counter-reset: t; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; scrollbar-width: thin; }
.avb-toc li { counter-increment: t; margin: 0; }
.avb-toc a { display: flex; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; line-height: 1.4; color: var(--avb-text); transition: all .15s; }
.avb-toc a::before { content: counter(t, decimal-leading-zero); font-weight: 700; color: #b5bccb; font-size: 12px; padding-top: 1px; }
.avb-toc a:hover { background: var(--avb-bg); color: var(--avb-brand); }
.avb-toc a.is-current { background: var(--avb-accent-soft); color: var(--avb-accent); font-weight: 600; }
.avb-toc a.is-current::before { color: var(--avb-accent); }

.avb-tts { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.avb-tts .tts-icon-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--avb-brand); color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s; }
.avb-tts .tts-icon-btn:hover { background: var(--avb-accent); }
.avb-tts .tts-icon-btn svg { fill: currentColor !important; }
.avb-tts .tts-progress-wrap { flex: 1; min-width: 60px; height: 6px; background: var(--avb-line); border-radius: 6px; overflow: hidden; }
.avb-tts .tts-progress-bar { height: 100%; width: 0; background: var(--avb-accent); }
.avb-tts .tts-time { font-size: 12px; color: var(--avb-muted); width: 100%; text-align: right; }

.avb-share, .avb-ai { display: flex; flex-wrap: wrap; gap: 8px; }
.avb-share { margin-bottom: 12px; }
.avb-share a, .avb-ai a { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; transition: all .2s; }
.avb-share a { background: var(--avb-bg); color: var(--avb-brand); }
.avb-share a:hover { background: var(--avb-brand); color: #fff; }
.avb-ai a { border: 1px solid var(--avb-line); color: var(--avb-ink); }
.avb-ai a:hover { border-color: var(--avb-accent); color: var(--avb-accent); }

.avb-box--cta { background: linear-gradient(135deg, #14213d, #2b467b); border: 0; color: #d4dcf0; }
.avb-box--cta h3 { color: #ffd2c3; }
.avb-box--cta p { font-size: 14.5px; margin: 0 0 16px; }
.avb-side__phone { display: block; text-align: center; color: #fff; font-weight: 600; margin-top: 12px; font-size: 14.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .avb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avb-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avb-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .avb-side { position: static; max-height: none; overflow: visible; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .avb-main { padding: 38px 40px 32px; }
}
@media (max-width: 820px) {
  .avb-card--featured { flex-direction: column; }
  .avb-card--featured .avb-cover { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
  .avb-card--featured .avb-card__body { padding: 24px 22px; }
}
@media (max-width: 640px) {
  .avb-wrap { padding: 0 16px; }
  .avb-hero { padding: 44px 0 38px; }
  .avb-hero__lead { font-size: 16px; }
  .avb-search { padding-left: 14px; }
  .avb-search button { padding: 10px 16px; }
  .avb-grid, .avb-grid--3 { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .avb-section { padding: 36px 0 44px; }
  .avb-main { padding: 26px 18px 24px; border-radius: 14px; }
  .avb-prose { font-size: 16.5px; line-height: 1.75; }
  .avb-prose h2 { font-size: 23px; }
  .avb-prose h3 { font-size: 19px; }
  .avb-side { grid-template-columns: minmax(0, 1fr); }
  .avb-postnav { grid-template-columns: 1fr; }
  .avb-postnav__item--next { grid-column: auto; text-align: left; }
  .avb-cta { padding: 40px 0; }
  .avb-cta h2 { font-size: 23px; }
  .avb-cta__btns { width: 100%; }
  .avb-cta__btns .avb-btn { flex: 1; }
  .avb-chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 8px; scrollbar-width: none; }
  .avb-chip { white-space: nowrap; flex: none; }
  .avb-summary, .avb-takeaways { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .avb *, .avb *::before, .avb *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   v2 polish
   ===================================================================== */
/* Fix: theme header is floated and never cleared; .avb-hero (overflow:hidden) was squeezed to 0px. */
body.avb-theme .site-header { float: none; clear: both; width: 100%; }
body.avb-theme .site-header::after { content: ""; display: table; clear: both; }
body.avb-theme #content.site-content { clear: both; display: flow-root; }
body.avb-theme .avb { clear: both; }

body.avb-theme { background: #f3f5fb; }

/* header */
body.avb-theme .site-header { background: #fff; position: relative; z-index: 20; box-shadow: 0 1px 0 var(--avb-line), 0 8px 24px rgba(20, 33, 61, .06); }
body.avb-theme .site-header-main { padding: 10px 0 6px; }
body.avb-theme .logo img { max-width: 100%; height: auto; display: block; }
body.avb-theme .main-navigation ul.primary-menu > li > a { font-family: var(--avb-body); font-weight: 600; letter-spacing: .01em; transition: color .2s; }
body.avb-theme .main-navigation ul.primary-menu > li > a:hover,
body.avb-theme .main-navigation ul.primary-menu > li.current-menu-item > a { color: var(--avb-accent); }

/* hero */
.avb-hero { background:
    radial-gradient(900px 420px at 88% -10%, rgba(217, 94, 56, .55), transparent 60%),
    radial-gradient(700px 380px at -5% 110%, rgba(75, 116, 201, .55), transparent 60%),
    linear-gradient(135deg, #0f1a33 0%, #1d3260 50%, #2b467b 100%);
  padding: 84px 0 110px; }
.avb-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104' fill='none' stroke='%23ffffff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M30 2l30 17v34L30 70 0 53V19zM90 54l30 17v34l-30 17-30-17V71z'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%, #000); mask-image: linear-gradient(90deg, transparent, #000 45%, #000); }
.avb-hero::after { right: auto; left: 0; top: auto; bottom: -1px; width: 100%; height: 54px; border-radius: 0; background: #f3f5fb; clip-path: ellipse(60% 100% at 50% 100%); }
.avb-hero--post::after { display: none; }
.avb-hero--post { padding: 56px 0 60px; }
.avb-kicker { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #ffe1d6; padding: 6px 14px; border-radius: 999px; backdrop-filter: blur(6px); margin-bottom: 20px; }
.avb-kicker::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff8a5c; margin-right: 9px; box-shadow: 0 0 0 4px rgba(255, 138, 92, .25); vertical-align: 1px; }
.avb-hero__title { font-size: clamp(34px, 5vw, 60px); letter-spacing: -.03em; margin-bottom: 18px; }
.avb-hero--list .avb-hero__title { background: linear-gradient(90deg, #fff 30%, #ffd2c3); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent !important; }
.avb-hero__lead { font-size: 19px; color: #cfd9f1; margin-bottom: 32px; }
.avb-search { max-width: 640px; padding: 8px 8px 8px 22px; box-shadow: 0 18px 44px rgba(5, 10, 30, .35); margin-bottom: 28px; }
.avb-search input { font-size: 16px; }
.avb-search button { padding: 14px 30px; font-size: 15px; box-shadow: 0 6px 16px rgba(217, 94, 56, .4); }
.avb-chip { background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); padding: 8px 16px; font-size: 14px; }
.avb-chip:hover { transform: translateY(-2px); }

/* section */
.avb-section { padding: 8px 0 80px; margin-top: -26px; position: relative; z-index: 2; }
.avb-sechead { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.avb-sechead .avb-h2 { margin: 0; font-size: 30px; display: flex; align-items: center; gap: 14px; }
.avb-sechead .avb-h2::before { content: ""; width: 6px; height: 30px; border-radius: 6px; background: linear-gradient(var(--avb-accent), #f0a04b); }
.avb-count { font-size: 14px; color: var(--avb-muted); font-weight: 500; background: #fff; border: 1px solid var(--avb-line); padding: 5px 14px; border-radius: 999px; }
.avb-section--tint { background: #fff; }

/* cards */
.avb-grid { gap: 30px; }
.avb-card { border: 0; border-radius: 22px; box-shadow: 0 2px 4px rgba(20, 33, 61, .04), 0 14px 36px rgba(20, 33, 61, .08); }
.avb-card:hover { transform: translateY(-8px); box-shadow: 0 4px 8px rgba(20, 33, 61, .06), 0 28px 56px rgba(20, 33, 61, .16); }
.avb-cover { aspect-ratio: 16 / 9.5; }
.avb-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8, 14, 32, .28)); pointer-events: none; opacity: .9; }
.avb-card__body { padding: 24px 26px 22px; }
.avb-card__title { font-size: 20px; line-height: 1.32; margin-bottom: 12px; }
.avb-card__excerpt { color: #566077; }
.avb-card__foot { border-top: 1px dashed var(--avb-line); }
.avb-more { background: var(--avb-accent-soft); color: var(--avb-accent); padding: 7px 14px; border-radius: 999px; font-size: 13px; transition: background .2s, color .2s; }
.avb-card:hover .avb-more { background: var(--avb-accent); color: #fff; }
.avb-badge { position: absolute; top: 22px; right: 22px; z-index: 3; background: #fff; color: var(--avb-accent); font: 700 12px var(--avb-head); letter-spacing: .08em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; box-shadow: 0 8px 20px rgba(0, 0, 0, .18); }
.avb-card--featured .avb-card__body { padding: 44px 46px; }
.avb-card--featured .avb-cover { min-height: 380px; }

/* cover fallback (no featured image): branded artwork */
.avb-cover__art { padding: 22px 24px; flex-direction: column; justify-content: space-between; align-items: flex-start; z-index: 1; }
.avb-cover__pattern { background:
    radial-gradient(circle at 88% 16%, rgba(255, 255, 255, .30) 0 54px, transparent 55px),
    radial-gradient(circle at 78% 78%, rgba(255, 255, 255, .13) 0 120px, transparent 121px),
    radial-gradient(circle at 8% 100%, rgba(0, 0, 0, .20) 0 100px, transparent 101px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='1.3'%3E%3Cpath d='M30 2l30 17v34L30 70 0 53V19zM90 54l30 17v34l-30 17-30-17V71z'/%3E%3C/svg%3E"); }
.avb-cover__brand { position: relative; background: #fff; border-radius: 12px; padding: 7px 12px; box-shadow: 0 8px 22px rgba(0, 0, 0, .22); line-height: 0; }
.avb-cover__brand img { height: 30px; width: auto; display: block; }
.avb-cover__label { font-size: 22px; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); max-width: 85%; }
.avb-cover__label::before { content: ""; display: block; width: 34px; height: 4px; border-radius: 4px; background: #fff; opacity: .85; margin-bottom: 10px; }
.avb-card--featured .avb-cover__brand img { height: 40px; }
.avb-card--featured .avb-cover__label { font-size: 34px; }

/* pagination + CTA */
.avb-pagination .page-numbers { border-radius: 14px; box-shadow: 0 2px 6px rgba(20, 33, 61, .05); }
.avb-cta { position: relative; overflow: hidden; background:
    radial-gradient(500px 260px at 90% 0, rgba(217, 94, 56, .5), transparent 65%),
    linear-gradient(120deg, #0f1a33, #2b467b); padding: 64px 0; }
.avb-cta h2 { font-size: 32px; }
.avb-cta p { font-size: 17px; }
.avb-cta .avb-btn { padding: 15px 30px; font-size: 16px; }

@media (max-width: 820px) {
  .avb-card--featured .avb-card__body { padding: 26px 22px; }
  .avb-card--featured .avb-cover { min-height: 0; }
  .avb-hero { padding: 60px 0 90px; }
}
@media (max-width: 640px) {
  .avb-hero { padding: 44px 0 76px; }
  .avb-hero__lead { font-size: 16.5px; }
  .avb-sechead .avb-h2 { font-size: 24px; }
  .avb-cover__label { font-size: 19px; }
}
body.avb-theme #page, body.avb-theme .site-inner, body.avb-theme #content.site-content, .avb-section { background: transparent; }
.avb-hero__title { max-width: 1000px; }

/* =====================================================================
   v3: article page built for lead generation (flat editorial layout)
   ===================================================================== */
.avb-single { background: #fff; }
body.single.avb-theme { background: #fff; }

/* hero */
.avb-hero--lead { padding: 56px 0 40px; min-height: 560px; box-sizing: border-box; }
.avb-hero--lead::after { display: none; }
.avb-hero__copy { max-width: calc(100% - 440px); position: relative; z-index: 1; }
.avb-hero--lead .avb-hero__title { font-size: clamp(28px, 3.5vw, 44px); line-height: 1.15; max-width: none; background: none; -webkit-text-fill-color: #fff; color: #fff !important; }
.avb-hero .entry-title1 { float: none; width: auto; clear: both; }
.avb-meta { clear: both; color: #b8c4e4; font-size: 14px; margin: 0 0 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.avb-meta strong { color: #fff; }
.avb-meta .avb-dot { background: #8b9ac4; }
.avb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.avb-hero__actions .avb-btn { padding: 14px 26px; font-size: 15.5px; box-shadow: 0 10px 24px rgba(217, 94, 56, .35); }
.avb-hero__actions .avb-btn--ghost { box-shadow: none; }
.avb-trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #dbe4f7; font-size: 14px; }
.avb-trust li { padding-left: 22px; position: relative; }
.avb-trust li::before { content: ""; position: absolute; left: 0; top: .35em; width: 14px; height: 14px; border-radius: 50%; background: #2fb67c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.6 7.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* layout: open article column + sticky quote rail pulled up beside the hero */
.avb-layout--lead { grid-template-columns: minmax(0, 1fr) 390px; gap: 64px; padding-top: 0; padding-bottom: 72px; }
.avb-layout--lead .avb-side { margin-top: -520px; z-index: 5; max-height: none; overflow: visible; top: 20px; }
.avb-layout--lead .avb-main { background: none; border: 0; box-shadow: none; border-radius: 0; padding: 56px 0 0; max-width: 760px; }
.avb-layout--lead .avb-prose { font-size: 18px; line-height: 1.85; }
.avb-layout--lead .avb-feature { margin: 0 0 30px; }
.avb-layout--lead .avb-feature__img { box-shadow: none; }

/* quote panel (the main conversion element) */
.avb-quote { background: linear-gradient(165deg, #14213d 0%, #24407a 100%); color: #dbe4f7; border-radius: 18px; padding: 28px 26px 22px; box-shadow: 0 30px 60px rgba(15, 26, 51, .35); position: relative; overflow: hidden; }
.avb-quote::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 94, 56, .5), transparent 70%); pointer-events: none; }
.avb-quote > * { position: relative; }
.avb-quote__kicker { display: inline-block; font: 700 11.5px var(--avb-head); letter-spacing: .14em; text-transform: uppercase; color: #ffb59f; margin-bottom: 8px; }
.avb-quote__title { color: #fff !important; font-size: 22px; line-height: 1.25; margin: 0 0 8px; font-weight: 800; }
.avb-quote__lead { font-size: 14.5px; margin: 0 0 18px; color: #c5d1ee; }
.avb-quote__alt { text-align: center; font-size: 13.5px; margin: 14px 0 0; color: #b8c4e4; }
.avb-quote__alt a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* form (shared by panel and closing band) */
.avb-form { display: grid; grid-template-columns: 1fr; gap: 12px; }
.avb-form--full { grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.avb-field--wide, .avb-form__submit, .avb-form__note { grid-column: 1 / -1; }
.avb-field label { display: block; font: 600 12.5px var(--avb-body); color: #c5d1ee; margin: 0 0 5px; letter-spacing: .01em; }
.avb-field input, .avb-field select, .avb-field textarea { width: 100%; height: auto; border: 1.5px solid transparent; background: #fff; color: var(--avb-ink); border-radius: 10px; padding: 11px 13px; font: 400 15px/1.4 var(--avb-body); box-shadow: none; transition: border-color .15s, box-shadow .15s; -webkit-appearance: none; appearance: none; }
.avb-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%236b7587' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 13px center; padding-right: 34px; }
.avb-field textarea { resize: vertical; min-height: 64px; }
.avb-field input::placeholder, .avb-field textarea::placeholder { color: #9aa3b5; }
.avb-field input:focus, .avb-field select:focus, .avb-field textarea:focus { outline: 0; border-color: var(--avb-accent); box-shadow: 0 0 0 4px rgba(217, 94, 56, .28); }
.avb-form__submit { border: 0; cursor: pointer; padding: 15px 22px; font-size: 16px; margin-top: 4px; box-shadow: 0 10px 24px rgba(217, 94, 56, .4); }
.avb-form__note { margin: 2px 0 0; font-size: 12.5px; color: #9fb0d6; text-align: center; }
.avb-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.avb-lead__ok { text-align: center; padding: 18px 6px; color: #fff; }
.avb-lead__ok p { color: #c5d1ee; font-size: 15px; margin: 8px 0 0; }
.avb-lead__ok a { color: #fff; text-decoration: underline; }
.avb-lead__tick { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #2fb67c; color: #fff; font-size: 26px; margin-bottom: 12px; }
.avb-lead__err { background: #fde8e8; color: #8a1c1c; border-radius: 10px; padding: 12px 14px; font-size: 14px; margin-bottom: 14px; }
.avb-lead__err a { color: inherit; text-decoration: underline; }
.avb-lead.is-sent .avb-form, .avb-lead.is-sent .avb-lead__err { display: none; }

/* plain rail blocks (no cards) */
.avb-rail { padding: 22px 4px 0; }
.avb-rail h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--avb-muted); margin: 0 0 12px; font-weight: 700; }
.avb-rail.avb-toc { border-left: 3px solid var(--avb-line); padding: 2px 0 2px 18px; margin-top: 26px; }
.avb-rail.avb-toc ol { max-height: 260px; }
.avb-rail.avb-toc a { padding: 6px 8px; margin-left: -8px; }

/* inline quote strip inside the article */
.avb-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 2.4em 0; padding: 22px 26px; background: linear-gradient(100deg, #fdf0ea, #eef3fd); border-left: 5px solid var(--avb-accent); border-radius: 0 14px 14px 0; }
.avb-inline-cta strong { display: block; font: 800 19px/1.3 var(--avb-head); color: var(--avb-ink); margin-bottom: 4px; }
.avb-inline-cta span { font-size: 15px; color: var(--avb-text); line-height: 1.55; display: block; }
.avb-inline-cta .avb-btn { white-space: nowrap; flex: none; }

/* closing lead band */
.avb-leadband { background:
    radial-gradient(600px 320px at 100% 0, rgba(217, 94, 56, .45), transparent 65%),
    linear-gradient(135deg, #0f1a33, #24407a); color: #dbe4f7; padding: 76px 0; scroll-margin-top: 20px; }
.avb-leadband__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.avb-leadband h2 { color: #fff !important; font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; font-weight: 800; margin: 0 0 16px; }
.avb-leadband__copy p { font-size: 17px; color: #c5d1ee; }
.avb-checks { list-style: none; margin: 22px 0; padding: 0; display: grid; gap: 10px; }
.avb-checks li { position: relative; padding-left: 32px; color: #fff; font-weight: 500; }
.avb-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%; background: #2fb67c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.6 7.3l2.2 2.2 4.6-4.8' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.avb-leadband__contact { font-size: 17px !important; }
.avb-leadband__contact a { color: #fff; font-weight: 700; }
.avb-leadband__form { background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 30px; backdrop-filter: blur(6px); }

/* keep reading: plain list, no cards */
.avb-reading { background: #f6f7fb; padding: 64px 0 72px; }
.avb-reading .avb-h2 { margin-bottom: 8px; }
.avb-reading__list { list-style: none; margin: 0; padding: 0; }
.avb-reading__list li { margin: 0; border-bottom: 1px solid var(--avb-line); }
.avb-reading__list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 20px; padding: 20px 0; color: var(--avb-ink); transition: padding .2s, color .2s; }
.avb-reading__list a:hover { padding-left: 10px; color: var(--avb-accent); }
.avb-reading__meta { grid-column: 1; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--avb-accent); }
.avb-reading__title { grid-column: 1; font: 700 19px/1.35 var(--avb-head); }
.avb-reading__go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 22px; color: var(--avb-muted); transition: transform .2s, color .2s; }
.avb-reading__list a:hover .avb-reading__go { transform: translateX(6px); color: var(--avb-accent); }

/* sticky quick-contact bar (phones only) */
.avb-mbar { display: none; }

@media (max-width: 1080px) {
  .avb-hero--lead { padding: 44px 0 56px; min-height: 0; }
  .avb-hero__copy { max-width: none; }
  .avb-layout--lead { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 48px; }
  .avb-layout--lead .avb-side { position: static; margin-top: 0; display: block; max-width: 680px; }
  .avb-layout--lead .avb-main { padding-top: 40px; max-width: none; }
  .avb-quote { margin-top: 36px; }
  .avb-leadband__in { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .avb-hero--lead { padding: 36px 0 44px; }
  .avb-hero__actions .avb-btn { flex: 1 1 100%; }
  .avb-trust { flex-direction: column; gap: 8px; }
  .avb-layout--lead .avb-prose { font-size: 17px; line-height: 1.8; }
  .avb-inline-cta { flex-direction: column; align-items: flex-start; padding: 20px; }
  .avb-inline-cta .avb-btn { width: 100%; }
  .avb-form--full { grid-template-columns: 1fr; }
  .avb-leadband { padding: 52px 0; }
  .avb-leadband__form { padding: 22px 18px; }
  .avb-reading__title { font-size: 17px; }
  body.single.avb-theme { padding-bottom: 64px; }
  .avb-mbar { display: grid; grid-template-columns: 1fr auto; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -8px 24px rgba(20, 33, 61, .16); }
  .avb-mbar a { display: flex; align-items: center; justify-content: center; border-radius: 999px; font: 700 15px var(--avb-body); padding: 12px 22px; }
  .avb-mbar__quote { background: var(--avb-accent); color: #fff !important; }
  .avb-mbar__call { background: var(--avb-brand); color: #fff !important; }
}

/* Headings written as <h2><strong>…</strong></h2> picked up the theme's orange <strong> style */
.avb-prose h2 strong, .avb-prose h3 strong, .avb-prose h4 strong { color: inherit; font: inherit; letter-spacing: inherit; }

/* Theme CSS floats every <ul> left and sets it to 14px Calibri. That shrank bullet text and let the next
   heading slide up and overlap the list (seen above "Conclusion"). Reset lists inside articles. */
.avb-prose { display: flow-root; }
.avb-prose ul, .avb-prose ol { float: none !important; width: auto !important; font: inherit; line-height: inherit; color: inherit; }
.avb-prose li { float: none !important; font: inherit; line-height: inherit; }
.avb-prose h2, .avb-prose h3, .avb-prose h4 { clear: both; }

/* =====================================================================
   Tables. Post content often carries inline styles (Arial, own borders and colours),
   so these rules use !important to give every table one consistent look.
   ===================================================================== */
.avb-prose .wp-block-table, .avb-prose figure.wp-block-table { margin: 2em 0; overflow: visible; }
.avb-prose table {
  display: block; width: 100% !important; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
  border-collapse: separate !important; border-spacing: 0 !important;
  margin: 2em 0; border: 1px solid #dfe5f1 !important; border-radius: 16px;
  box-shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 12px 30px rgba(20, 33, 61, .07);
  font-family: var(--avb-body) !important; font-size: 15px !important; line-height: 1.55 !important; color: var(--avb-text) !important;
  background: #fff;
}
.avb-prose .wp-block-table table { margin: 0; }
/* post content wraps tables in a div with its own inline border/shadow: neutralise it so only the table styles apply */
.avb-prose div:has(> table) { border: 0 !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; background: none !important; }
.avb-prose table tr { background: transparent !important; }
.avb-prose table th, .avb-prose table td {
  padding: 13px 15px !important; border: 0 !important; border-bottom: 1px solid #e8ecf5 !important; text-align: left;
  vertical-align: top; min-width: 90px; font-family: inherit !important; font-size: inherit !important; line-height: inherit !important;
}
.avb-prose table thead th, .avb-prose table tr:first-child th {
  background: #1d3260 !important; color: #fff !important;
  font-family: var(--avb-head) !important; font-weight: 700 !important; font-size: 13px !important; letter-spacing: .04em; text-transform: uppercase; white-space: normal; line-height: 1.35 !important; border-bottom: 0 !important;
}
.avb-prose table tbody tr:nth-child(even) td { background: #f6f8fd !important; }
.avb-prose table tbody tr:nth-child(odd) td { background: #fff !important; }
.avb-prose table tbody tr:hover td { background: #fdeee9 !important; }
.avb-prose table tbody tr:last-child td { border-bottom: 0 !important; }
.avb-prose table td:first-child, .avb-prose table tbody th { font-weight: 700; color: var(--avb-ink); }
.avb-prose table td strong, .avb-prose table td b { color: var(--avb-ink); font: inherit; font-weight: 700; }
.avb-prose table td p, .avb-prose table th p { margin: 0; }
.avb-prose table caption { caption-side: top; text-align: left; font: 700 14px var(--avb-head); color: var(--avb-muted); padding: 0 0 10px; }
.avb-prose table td a { word-break: break-word; }
@media (max-width: 640px) {
  .avb-prose table { border-radius: 12px; font-size: 14px !important; }
  .avb-prose table th, .avb-prose table td { padding: 11px 14px !important; min-width: 130px; }
}

/* =====================================================================
   AI Summary: a clearly highlighted feature block at the top of the article
   ===================================================================== */
.avb-prose .avb-summary {
  position: relative; margin: 0 0 2.4em; padding: 30px 32px 28px;
  background: linear-gradient(135deg, #14213d 0%, #24407a 100%); color: #e8eefb;
  border: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 33, 61, .22);
}
.avb-prose .avb-summary::before { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 94, 56, .55), transparent 70%); pointer-events: none; }
.avb-prose .avb-summary::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--avb-accent), #f0a04b); }
.avb-prose .avb-summary > * { position: relative; }
.avb-prose .avb-summary__label { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 6px 14px 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .24); color: #fff; font: 700 12px var(--avb-head); letter-spacing: .12em; text-transform: uppercase; }
.avb-prose .avb-summary__label::before { content: "\2726"; color: #ffb59f; font-size: 14px; letter-spacing: 0; }
.avb-prose .avb-summary p { margin: 0 0 .8em; font-size: 17.5px; line-height: 1.7; color: #f1f5ff; font-weight: 500; }
.avb-prose .avb-summary p:last-child { margin-bottom: 0; }
.avb-prose .avb-summary ul, .avb-prose .avb-summary ol { margin: 0; padding-left: 1.2em; color: #f1f5ff; }
.avb-prose .avb-summary li { margin-bottom: .5em; font-size: 17px; line-height: 1.6; }
.avb-prose .avb-summary li::marker { color: #ffb59f; }
.avb-prose .avb-summary a { color: #fff; text-decoration-color: rgba(255, 255, 255, .5); }
@media (max-width: 640px) { .avb-prose .avb-summary { padding: 24px 20px 22px 24px; border-radius: 14px; } .avb-prose .avb-summary p { font-size: 16.5px; } }

/* =====================================================================
   Flat colours only: no gradients anywhere (overrides all gradient backgrounds above)
   ===================================================================== */
.avb-hero { background: #14213d !important; }
.avb-hero::before { -webkit-mask-image: none !important; mask-image: none !important; }
.avb-hero--list .avb-hero__title, .avb-hero__title { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: #fff !important; color: #fff !important; }
.avb-hero--list::after, .avb-hero::after { background: #f3f5fb !important; }
.avb-hero--lead::after, .avb-hero--post::after { display: none !important; }
.avb-cover { background: var(--c1, #2b467b) !important; }
.avb-cover::after { display: none !important; }
.avb-cover__pattern { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104' fill='none' stroke='%23ffffff' stroke-opacity='.18' stroke-width='1.3'%3E%3Cpath d='M30 2l30 17v34L30 70 0 53V19zM90 54l30 17v34l-30 17-30-17V71z'/%3E%3C/svg%3E") !important; }
.avb-cta { background: #14213d !important; }
.avb-leadband { background: #1d3260 !important; }
.avb-quote { background: #1d3260 !important; }
.avb-quote::before { display: none !important; }
.avb-box--cta { background: #1d3260 !important; }
.avb-prose .avb-summary { background: #1d3260 !important; }
.avb-prose .avb-summary::before { display: none !important; }
.avb-prose .avb-summary::after { background: var(--avb-accent) !important; }
.avb-inline-cta { background: #fdf0ea !important; }
.avb-summary { background: #eef3fd; }
.avb-progress span { background: var(--avb-accent) !important; }
.avb-sechead .avb-h2::before { background: var(--avb-accent) !important; }
.avb-card__title a { background: none !important; text-decoration: none; }
.avb-card:hover .avb-card__title a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.avb-quote::before, .avb-prose .avb-summary::before, .avb-cover::after { display: none !important; background: none !important; background-image: none !important; }
.avb-field input, .avb-field textarea, .avb-search input, .avb-search button { background-image: none !important; }
.avb-hp input { background-image: none !important; }

/* =====================================================================
   Author box (Simple Author Box plugin): spacing above + cleaner layout
   ===================================================================== */
.avb-prose .saboxplugin-wrap {
  margin: 64px 0 0 !important; padding: 0 !important; float: none !important; clear: both;
  background: #f6f8fd !important; border: 0 !important; border-left: 5px solid var(--avb-accent) !important; border-radius: 14px !important;
  box-shadow: none !important; font-family: var(--avb-body) !important;
}
.avb-prose .saboxplugin-wrap .saboxplugin-tab {
  display: grid !important; grid-template-columns: 112px minmax(0, 1fr); column-gap: 26px; align-items: start;
  padding: 28px 30px 24px !important; float: none !important; width: auto !important;
}
.avb-prose .saboxplugin-wrap .saboxplugin-gravatar { grid-column: 1; grid-row: 1 / span 2; float: none !important; width: 112px !important; margin: 0 !important; padding: 0 !important; }
.avb-prose .saboxplugin-wrap .saboxplugin-gravatar img {
  display: block; width: 112px !important; height: 112px !important; max-width: none; object-fit: contain; margin: 0 !important;
  background: #fff; border: 1px solid #dfe5f1 !important; border-radius: 14px !important; padding: 12px; box-shadow: none !important;
}
.avb-prose .saboxplugin-wrap .saboxplugin-authorname { grid-column: 2; margin: 0 0 8px !important; padding: 0 !important; font-size: 22px !important; line-height: 1.25 !important; font-family: var(--avb-head) !important; }
.avb-prose .saboxplugin-wrap .saboxplugin-authorname::before { content: "Written by"; display: block; margin-bottom: 4px; font: 700 11.5px var(--avb-head); letter-spacing: .14em; text-transform: uppercase; color: var(--avb-accent); }
.avb-prose .saboxplugin-wrap .saboxplugin-authorname a.vcard, .avb-prose .saboxplugin-wrap .saboxplugin-authorname a.vcard span { color: var(--avb-ink) !important; font-weight: 800 !important; text-decoration: none !important; }
.avb-prose .saboxplugin-wrap .saboxplugin-desc { grid-column: 2; margin: 0 !important; padding: 0 !important; font-size: 15.5px !important; line-height: 1.75 !important; color: var(--avb-text) !important; }
.avb-prose .saboxplugin-wrap .saboxplugin-desc p { margin: 0 0 .8em !important; font: inherit !important; color: inherit !important; text-align: left !important; }
.avb-prose .saboxplugin-wrap .saboxplugin-desc p:last-child { margin-bottom: 0 !important; }
.avb-prose .saboxplugin-wrap .saboxplugin-desc a { color: var(--avb-brand) !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(43, 70, 123, .35); text-underline-offset: 3px; }
.avb-prose .saboxplugin-wrap .saboxplugin-desc a:hover { color: var(--avb-accent) !important; text-decoration-color: currentColor; }
.avb-prose .saboxplugin-wrap .clearfix { display: none; }
/* admin-only links (Edit profile / Settings / Add Social Links): keep them out of the way */
.avb-prose .saboxplugin-wrap .sab-profile-edit { font-size: 12px; font-weight: 600; margin-left: 10px; }
.avb-prose .saboxplugin-wrap .sab-edit-settings, .avb-prose .saboxplugin-wrap .saboxplugin-tab > a { grid-column: 2; font-size: 12.5px; opacity: .8; margin-top: 12px; }
@media (max-width: 640px) {
  .avb-prose .saboxplugin-wrap { margin-top: 44px !important; }
  .avb-prose .saboxplugin-wrap .saboxplugin-tab { grid-template-columns: 1fr; padding: 22px 20px 20px !important; }
  .avb-prose .saboxplugin-wrap .saboxplugin-gravatar { grid-row: auto; margin-bottom: 14px !important; }
  .avb-prose .saboxplugin-wrap .saboxplugin-gravatar img { width: 84px !important; height: 84px !important; }
  .avb-prose .saboxplugin-wrap .saboxplugin-authorname, .avb-prose .saboxplugin-wrap .saboxplugin-desc, .avb-prose .saboxplugin-wrap .sab-edit-settings, .avb-prose .saboxplugin-wrap .saboxplugin-tab > a { grid-column: 1; }
}
