/* AA v2 design layer for autoabsichern.de (2026-12-06, requested by the site owner).
   Loaded last by templates/ts_saifway/aa_v2.php, which also adds body.aa-v2 + .aa-lang-* + .aa-page-*.
   Every rule is scoped to body.aa-v2, so removing the hook restores the previous look.
   The com_forms quote forms keep their own styles (grokbot-ux.css / claude-aa.css). */

body.aa-v2 {
  --aa-navy: #0b1f4b;
  --aa-navy-2: #12306e;
  --aa-blue: #1554d1;
  --aa-blue-dark: #0d3fa3;
  --aa-blue-soft: #eaf1fd;
  --aa-green: #0f7a41;
  --aa-green-dark: #0b6534;
  --aa-ink: #0f172a;
  --aa-text: #334155;
  --aa-muted: #5b6678;
  --aa-line: #e2e8f0;
  --aa-bg: #f4f7fc;
  --aa-radius: 16px;
  --aa-shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 24px rgba(15, 23, 42, .07);
  --aa-shadow-lg: 0 2px 4px rgba(15, 23, 42, .06), 0 18px 48px rgba(11, 31, 75, .16);
  background: #fff;
  color: var(--aa-text);
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.aa-v2 *, body.aa-v2 *::before, body.aa-v2 *::after { box-sizing: border-box; }
body.aa-v2 .t3-wrapper { background: #fff; overflow-x: clip; }
body.aa-v2 :focus-visible { outline: 3px solid #f5b301; outline-offset: 2px; border-radius: 4px; }
body.aa-v2 ::selection { background: #cfe0ff; color: var(--aa-ink); }
html:has(body.aa-v2) { scroll-behavior: smooth; scroll-padding-top: 24px; }
@media (prefers-reduced-motion: reduce) { html:has(body.aa-v2) { scroll-behavior: auto; } }

/* ============================== Header + navigation ============================== */
body.aa-v2 #t3-header { position: relative !important; z-index: 30 !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; background: transparent !important; }
body.aa-v2 #t3-header > .row { display: flex !important; align-items: center !important; justify-content: space-between !important; min-height: 76px !important; margin: 0 !important; }
body.aa-v2 #t3-header > .row::before, body.aa-v2 #t3-header > .row::after { display: none !important; }
body.aa-v2 #t3-header .logo { float: none !important; width: auto !important; flex: 0 0 auto !important; padding: 0 !important; margin: 0 !important; }
body.aa-v2 #t3-header .logo-image, body.aa-v2 #t3-header .logo a { display: block !important; margin: 0 !important; padding: 0 !important; }
body.aa-v2 #t3-header .logo .logo-img { width: 196px !important; height: auto !important; margin: 0 !important; }
body.aa-v2 #t3-header .header-right { float: none !important; width: auto !important; flex: 0 0 auto !important; padding: 0 !important; margin: 0 !important; display: flex !important; align-items: center !important; }
/* Guide pill menu that some RU pages print into the header: the same links are in the main menu and footer. */
body.aa-v2 #t3-header .header-right > :not(.languageswitcherload) { display: none !important; }
body.aa-v2 #t3-header #blogru-menu { display: none !important; }
body.aa-v2 #t3-header .languageswitcherload { margin: 0 !important; padding: 0 !important; float: none !important; position: static !important; }
body.aa-v2 .mod-languages { margin: 0 !important; }
body.aa-v2 .mod-languages .btn-group { display: block !important; margin: 0 !important; }
body.aa-v2 .mod-languages .dropdown-toggle { display: inline-flex !important; align-items: center !important; flex-direction: row-reverse !important; gap: 8px !important; min-height: 40px !important; padding: 0 14px !important; margin: 0 !important; border: 1px solid var(--aa-line) !important; border-radius: 999px !important; background: #fff !important; box-shadow: none !important; color: var(--aa-ink) !important; font-size: 14px !important; font-weight: 600 !important; line-height: 1 !important; text-decoration: none !important; text-transform: none !important; }
body.aa-v2 .mod-languages .dropdown-toggle:hover, body.aa-v2 .mod-languages .open > .dropdown-toggle { border-color: #b9c6dc !important; background: var(--aa-bg) !important; color: var(--aa-ink) !important; }
body.aa-v2 .mod-languages .dropdown-toggle .caret { margin: 0 !important; border-top-color: currentColor !important; }
body.aa-v2 .mod-languages .dropdown-toggle::before { content: "" !important; width: 16px !important; height: 16px !important; flex: 0 0 16px !important; order: 2 !important; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='1.8' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.8 3 2.8 15 0 18M12 3c-2.8 3-2.8 15 0 18'/%3E%3C/svg%3E") !important; }
body.aa-v2 .mod-languages .dropdown-menu { left: auto !important; right: 0 !important; min-width: 150px !important; margin-top: 8px !important; padding: 6px !important; border: 1px solid var(--aa-line) !important; border-radius: 12px !important; box-shadow: var(--aa-shadow-lg) !important; background: #fff !important; }
body.aa-v2 .mod-languages .dropdown-menu > li { display: block !important; margin: 0 !important; padding: 0 !important; float: none !important; }
body.aa-v2 .mod-languages .dropdown-menu > li > a { display: block !important; padding: 9px 12px !important; border-radius: 8px !important; color: var(--aa-ink) !important; font-size: 15px !important; text-decoration: none !important; }
body.aa-v2 .mod-languages .dropdown-menu > li > a:hover { background: var(--aa-bg) !important; }
body.aa-v2 .mod-languages .dropdown-menu > li.lang-active > a { background: var(--aa-blue-soft) !important; color: var(--aa-blue-dark) !important; font-weight: 700 !important; }

body.aa-v2 #t3-mainnav { position: relative !important; z-index: 20 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
body.aa-v2 #t3-mainnav > .container { top: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.aa-v2 #t3-mainnav .t3-mainnav-inner { margin: 0 !important; padding: 0 !important; background: transparent !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }

@media (min-width: 768px) {
  body.aa-v2 #t3-mainnav { border-top: 1px solid var(--aa-line) !important; border-bottom: 1px solid var(--aa-line) !important; background: #fff !important; }
  body.aa-v2 #t3-mainnav .navbar-header { display: none !important; }
  body.aa-v2 #t3-mainnav .t3-navbar { display: block !important; height: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu { display: flex !important; align-items: center !important; gap: 4px !important; min-height: 56px !important; margin: 0 !important; padding: 0 !important; float: none !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li { float: none !important; margin: 0 !important; padding: 0 !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li > a,
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li > .nav-header.gb-menu-guides { display: inline-flex !important; align-items: center !important; gap: 6px !important; min-height: 40px !important; padding: 0 14px !important; margin: 0 !important; border: 0 !important; border-radius: 10px !important; background: transparent !important; color: var(--aa-ink) !important; font-family: inherit !important; font-size: 15.5px !important; font-weight: 600 !important; line-height: 1.2 !important; letter-spacing: 0 !important; text-decoration: none !important; text-transform: none !important; white-space: nowrap !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li > a:hover,
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li > a:focus,
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li:hover > .nav-header.gb-menu-guides,
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li.open > .nav-header.gb-menu-guides { background: var(--aa-bg) !important; color: var(--aa-blue-dark) !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li.current > a,
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li.active > a { background: transparent !important; color: var(--aa-blue-dark) !important; box-shadow: inset 0 -2px 0 var(--aa-blue) !important; border-radius: 0 !important; text-decoration: none !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li:last-child { margin-left: auto !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li > a.gb-menu-cta.gb-menu-cta { min-height: 42px !important; padding: 0 20px !important; border-radius: 999px !important; background: var(--aa-green) !important; color: #fff !important; box-shadow: 0 6px 16px rgba(15, 122, 65, .28) !important; font-weight: 700 !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li > a.gb-menu-cta.gb-menu-cta:hover { background: var(--aa-green-dark) !important; transform: translateY(-1px) !important; }
  body.aa-v2 #t3-mainnav .t3-navbar li.dropdown > .dropdown-menu { margin-top: 0 !important; padding: 10px !important; min-width: 290px !important; max-height: calc(100vh - 160px) !important; overflow: auto !important; border: 1px solid var(--aa-line) !important; border-radius: 14px !important; background: #fff !important; box-shadow: var(--aa-shadow-lg) !important; }
  body.aa-v2 #t3-mainnav .t3-navbar li.dropdown > .dropdown-menu > li > a { padding: 8px 12px !important; border-radius: 8px !important; color: var(--aa-ink) !important; font-size: 15px !important; font-weight: 500 !important; }
  body.aa-v2 #t3-mainnav .t3-navbar li.dropdown > .dropdown-menu > li > a:hover { background: var(--aa-blue-soft) !important; color: var(--aa-blue-dark) !important; }
  body.aa-v2 #t3-mainnav .t3-navbar .dropdown-menu .nav-header.gb-menu-group { padding: 12px 12px 4px !important; color: var(--aa-muted) !important; font-size: 11.5px !important; }
}

/* Wide screens: logo, menu and language switcher share one row */
@media (min-width: 1100px) {
  body.aa-v2 #t3-header { pointer-events: none !important; }
  body.aa-v2 #t3-header .logo, body.aa-v2 #t3-header .header-right { pointer-events: auto !important; }
  body.aa-v2 #t3-mainnav { margin-top: -76px !important; border-top: 0 !important; background: transparent !important; }
  body.aa-v2 #t3-mainnav > .container { pointer-events: none !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu { min-height: 76px !important; margin: 0 150px 0 232px !important; pointer-events: auto !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li:last-child { margin-left: 12px !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li.current > a,
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li.active > a { box-shadow: none !important; background: var(--aa-blue-soft) !important; border-radius: 10px !important; }
  body.aa-v2 #t3-mainnav .t3-navbar > ul.nav.menu > li > a.gb-menu-cta.gb-menu-cta { margin-left: auto !important; }
}

@media (max-width: 767px) {
  body.aa-v2 #t3-header { border-bottom: 1px solid var(--aa-line) !important; }
  body.aa-v2 #t3-header > .row { min-height: 60px !important; padding-right: 52px !important; }
  body.aa-v2 #t3-header .logo .logo-img { width: 150px !important; }
  body.aa-v2 .mod-languages .dropdown-toggle { min-height: 40px !important; padding: 0 12px !important; font-size: 13.5px !important; }
  body.aa-v2 #t3-mainnav { position: absolute !important; top: 0 !important; right: 0 !important; left: 0 !important; height: 0 !important; z-index: 40 !important; }
  body.aa-v2 #t3-mainnav > .container { position: relative !important; height: 0 !important; }
  body.aa-v2 #t3-mainnav .navbar-header { position: static !important; float: none !important; margin: 0 !important; padding: 0 !important; height: 0 !important; }
  body.aa-v2 #t3-mainnav .off-canvas-toggle { position: absolute !important; top: 10px !important; right: 15px !important; left: auto !important; z-index: 40 !important; width: 40px !important; height: 40px !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 10px !important; background: var(--aa-navy) !important; color: #fff !important; box-shadow: none !important; font-size: 17px !important; line-height: 40px !important; }
  body.aa-v2 #t3-mainnav .t3-mainnav-inner { display: none !important; }
}

/* off-canvas menu */
body.aa-v2 #t3-off-canvas { background: #fff; }
body.aa-v2 #t3-off-canvas .t3-off-canvas-header { background: var(--aa-navy); color: #fff; }
body.aa-v2 #t3-off-canvas .t3-off-canvas-header-title { color: #fff; font-family: "Montserrat", "Roboto", sans-serif; font-weight: 700; }
body.aa-v2 #t3-off-canvas .t3-off-canvas-header .close { color: #fff; opacity: 1; text-shadow: none; }
body.aa-v2 #t3-off-canvas .nav > li > a { color: var(--aa-ink); font-weight: 600; }
body.aa-v2 #t3-off-canvas .nav-pills > li.active > a { background-color: var(--aa-blue-soft) !important; color: var(--aa-blue-dark) !important; }
body.aa-v2 #t3-off-canvas .nav > li > a.gb-menu-cta { border-radius: 999px; }

/* ============================== Typography + content ============================== */
body.aa-v2 #t3-mainbody { padding-top: 28px; padding-bottom: 56px; }
body.aa-v2 #t3-content { padding-top: 0; padding-bottom: 0; }
body.aa-v2 #t3-content h1, body.aa-v2 #t3-content h2, body.aa-v2 #t3-content h3, body.aa-v2 #t3-content h4 {
  font-family: "Montserrat", "Roboto", system-ui, sans-serif; font-weight: 700; color: var(--aa-ink);
  text-transform: none !important; letter-spacing: -.01em; text-wrap: balance;
}
body.aa-v2 #t3-content .article-content h1 { margin: 0 0 16px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.16; letter-spacing: -.02em; }
body.aa-v2 #t3-content .article-content h2 { margin: 44px 0 14px; font-size: clamp(23px, 2.3vw, 29px); line-height: 1.25; color: var(--aa-ink) !important; }
body.aa-v2 #t3-content .article-content h3 { margin: 30px 0 10px; font-size: clamp(19px, 1.7vw, 21.5px); line-height: 1.3; }
body.aa-v2 #t3-content .article-content h4 { margin: 24px 0 8px; font-size: 18px; line-height: 1.35; }
body.aa-v2 #t3-content .article-content p,
body.aa-v2 #t3-content .article-content li { font-size: 17px; line-height: 1.7; color: var(--aa-text); text-align: left !important; hyphens: manual; }
body.aa-v2 #t3-content .article-content p { margin: 0 0 16px; }
body.aa-v2 #t3-content .article-content ul, body.aa-v2 #t3-content .article-content ol { margin: 0 0 18px; padding-left: 24px; }
body.aa-v2 #t3-content .article-content li { margin: 0 0 6px; }
body.aa-v2 #t3-content .article-content li::marker { color: var(--aa-blue); }
body.aa-v2 #t3-content .article-content a { color: var(--aa-blue); text-decoration: underline; text-decoration-color: rgba(21, 84, 209, .35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
body.aa-v2 #t3-content .article-content a:hover { color: var(--aa-blue-dark); text-decoration-color: currentColor; }
body.aa-v2 #t3-content .article-content strong { color: var(--aa-ink); }
body.aa-v2 #t3-content .article-content img { border: 0 !important; border-radius: 14px !important; box-shadow: var(--aa-shadow); }
body.aa-v2 #t3-content .article-content .img-right { float: right; margin: 6px 0 18px 28px; max-width: 42%; }
@media (max-width: 767px) { body.aa-v2 #t3-content .article-content .img-right { float: none; max-width: 100%; margin: 0 0 18px; } }

/* tables */
body.aa-v2 #t3-content .article-content .aa-table-wrap { margin: 18px 0 26px; border: 1px solid var(--aa-line); border-radius: 14px; overflow-x: auto; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); -webkit-overflow-scrolling: touch; }
body.aa-v2 #t3-content .article-content table { width: 100% !important; margin: 0 !important; border-collapse: collapse !important; border: 0 !important; font-size: 15.5px !important; }
body.aa-v2 #t3-content .article-content :not(.aa-table-wrap) > table { margin: 18px 0 26px !important; }
body.aa-v2 #t3-content .article-content table th,
body.aa-v2 #t3-content .article-content table td { padding: 12px 16px !important; border: 0 !important; border-bottom: 1px solid var(--aa-line) !important; text-align: left; vertical-align: top; font-size: 15.5px; line-height: 1.5; }
body.aa-v2 #t3-content .article-content table th { background: var(--aa-bg) !important; color: var(--aa-ink); font-weight: 700; white-space: nowrap; }
body.aa-v2 #t3-content .article-content table tr:last-child td { border-bottom: 0 !important; }
body.aa-v2 #t3-content .article-content table tbody tr:hover td { background: #fafcff; }

/* breadcrumbs + meta */
body.aa-v2 #t3-content .aa-crumbs { margin: 0 0 18px; }
body.aa-v2 #t3-content .aa-crumbs ol { display: flex; padding: 0 !important; list-style: none !important; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; }
body.aa-v2 #t3-content .aa-crumbs li { display: inline-flex; align-items: center; margin: 0 !important; padding: 0 !important; font-size: 14px; line-height: 1.4; color: var(--aa-muted); }
body.aa-v2 #t3-content .aa-crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 10px; border-top: 1.5px solid #9aa6b8; border-right: 1.5px solid #9aa6b8; transform: rotate(45deg); }
body.aa-v2 #t3-content .aa-crumbs a { color: var(--aa-muted) !important; font-weight: 400; text-decoration: none !important; border: 0; background: none; }
body.aa-v2 #t3-content .aa-crumbs a:hover { color: var(--aa-blue); text-decoration: underline; }
body.aa-v2 #t3-content .aa-crumbs [aria-current] { color: var(--aa-ink); font-weight: 500; }
body.aa-v2 #t3-content .article-content p.aa-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -4px 0 22px; font-size: 14.5px; color: var(--aa-muted); }
body.aa-v2 .aa-meta__item { display: inline-flex; align-items: center; gap: 7px; }
body.aa-v2 .aa-meta__item::before { content: ""; width: 16px; height: 16px; background: no-repeat center / contain; opacity: .8; }
body.aa-v2 .aa-meta__date::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='3'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
body.aa-v2 .aa-meta__by::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 7.8-8 9-4.800-1.200-8-4.500-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
body.aa-v2 .aa-meta__read::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }

/* ============================== Guide pages ============================== */
body.aa-page-guide main#main-content, body.aa-page-legal main#main-content, body.aa-page-page main#main-content { background: linear-gradient(180deg, var(--aa-bg) 0, #fff 340px); }
body.aa-page-guide #t3-content .article-content,
body.aa-page-legal #t3-content .article-content,
body.aa-page-page #t3-content .article-content { position: relative; max-width: 780px; margin: 0 auto; }
@media (min-width: 1200px) {
  body.aa-page-guide.aa-has-toc #t3-content .article-content { margin: 0 340px 0 0; }
  body.aa-page-guide.aa-has-toc #t3-content .aa-related,
  body.aa-page-guide.aa-has-toc #t3-content .aa-cta { margin-right: 0; }
}
body.aa-page-guide #t3-content .aa-related, body.aa-page-guide #t3-content .aa-cta { max-width: 780px; margin-left: auto; margin-right: auto; }
@media (min-width: 1200px) {
  body.aa-page-guide.aa-has-toc #t3-content .aa-related, body.aa-page-guide.aa-has-toc #t3-content .aa-cta { max-width: none; margin-left: 0; }
}

/* table of contents (built by aa-v2.js) */
body.aa-v2 .aa-toc { margin: 8px 0 28px; border: 1px solid var(--aa-line); border-radius: 14px; background: #fff; }
body.aa-v2 .aa-toc > summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-family: "Montserrat", "Roboto", sans-serif; font-size: 15px; font-weight: 700; color: var(--aa-ink); }
body.aa-v2 .aa-toc > summary::-webkit-details-marker { display: none; }
body.aa-v2 .aa-toc > summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--aa-muted); border-bottom: 2px solid var(--aa-muted); transform: rotate(45deg); transition: transform .15s ease; }
body.aa-v2 .aa-toc[open] > summary::after { transform: rotate(-135deg); }
body.aa-v2 #t3-content .article-content .aa-toc ol { margin: 0; padding: 0 10px 12px; list-style: none; counter-reset: aatoc; }
body.aa-v2 #t3-content .article-content .aa-toc li { margin: 0; counter-increment: aatoc; }
body.aa-v2 #t3-content .article-content .aa-toc a { display: flex; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--aa-text); font-size: 15px; line-height: 1.4; text-decoration: none; }
body.aa-v2 #t3-content .article-content .aa-toc a::before { content: counter(aatoc); flex: 0 0 auto; min-width: 18px; color: #94a3b8; font-variant-numeric: tabular-nums; font-weight: 600; }
body.aa-v2 #t3-content .article-content .aa-toc a:hover { background: var(--aa-bg); color: var(--aa-blue-dark); }
body.aa-v2 #t3-content .article-content .aa-toc a.is-active { background: var(--aa-blue-soft); color: var(--aa-blue-dark); font-weight: 600; }
@media (min-width: 1200px) {
  body.aa-page-guide.aa-has-toc .aa-toc-rail { position: absolute; top: 0; bottom: 0; left: calc(100% + 56px); width: 284px; }
  body.aa-page-guide.aa-has-toc .aa-toc-rail .aa-toc { position: sticky; top: 24px; margin: 0; max-height: calc(100vh - 48px); overflow: auto; box-shadow: var(--aa-shadow); }
  body.aa-page-guide.aa-has-toc .aa-toc-rail .aa-toc > summary { cursor: default; pointer-events: none; padding-bottom: 8px; }
  body.aa-page-guide.aa-has-toc .aa-toc-rail .aa-toc > summary::after { display: none; }
}
@media (max-width: 1199px) { body.aa-v2 .aa-toc-rail { display: contents; } }

/* PLZ block inside articles (inline styles from the editor are overridden) */
body.aa-v2 #t3-content .gb-plz-block:not(.aa-plz-card) {
  margin: 26px 0 32px !important; padding: 26px 28px !important;
  border: 1px solid #d5e2f7 !important; border-left: 1px solid #d5e2f7 !important; border-radius: var(--aa-radius) !important;
  background: linear-gradient(135deg, #f1f6ff 0%, #f8fbff 60%, #f3fbf6 100%) !important; box-shadow: var(--aa-shadow) !important;
}
body.aa-v2 #t3-content .gb-plz-block:not(.aa-plz-card) > div:first-child { margin: 0 0 12px !important; padding: 5px 12px !important; background: #fff !important; border: 1px solid #d5e2f7; color: var(--aa-blue-dark) !important; font-size: 12.5px !important; letter-spacing: .04em; text-transform: uppercase; }
body.aa-v2 #t3-content .gb-plz-block:not(.aa-plz-card) h4,
body.aa-v2 #t3-content .gb-plz-block:not(.aa-plz-card) h3 { margin: 0 0 8px !important; font-size: clamp(20px, 2vw, 24px) !important; line-height: 1.25 !important; color: var(--aa-ink) !important; }
body.aa-v2 #t3-content .gb-plz-block:not(.aa-plz-card) p { font-size: 15.5px !important; color: var(--aa-text) !important; }
body.aa-v2 #t3-content .gb-plz-block:not(.aa-plz-card) p:last-child { margin: 16px 0 0 !important; padding-top: 14px !important; border-top: 1px solid #dbe6f7 !important; font-size: 14.5px !important; color: var(--aa-muted) !important; }
body.aa-v2 #t3-content .quote-form { gap: 12px !important; }
body.aa-v2 #t3-content .quote-form .zip-label, body.aa-v2 #t3-content .quote-form label { margin: 0 0 6px; color: var(--aa-ink); font-size: 14.5px; font-weight: 700; }
body.aa-v2 #t3-content .quote-form input[name="zipcode"],
body.aa-v2 .aa-plz-form input[name="zipcode"] {
  width: 100%; height: 54px !important; min-height: 54px; padding: 0 16px !important;
  border: 1.5px solid #b9c6dc !important; border-radius: 12px !important; background: #fff !important; box-shadow: none;
  color: var(--aa-ink); font-size: 18px !important; font-weight: 600; letter-spacing: .04em;
  transition: border-color .15s ease, box-shadow .15s ease;
}
body.aa-v2 #t3-content .quote-form input[name="zipcode"]::placeholder,
body.aa-v2 .aa-plz-form input[name="zipcode"]::placeholder { color: #94a3b8; font-weight: 400; letter-spacing: 0; }
body.aa-v2 #t3-content .quote-form input[name="zipcode"]:focus,
body.aa-v2 .aa-plz-form input[name="zipcode"]:focus { outline: 0; border-color: var(--aa-blue) !important; box-shadow: 0 0 0 4px rgba(21, 84, 209, .16); }
body.aa-v2 #t3-content .quote-form button[type="submit"],
body.aa-v2 .aa-plz-form button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px !important; padding: 0 28px !important;
  border: 0 !important; border-radius: 12px !important; background: var(--aa-green) !important; color: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 122, 65, .28) !important;
  font-family: inherit; font-size: 17px !important; font-weight: 700 !important; line-height: 1.2; letter-spacing: 0; text-transform: none; white-space: nowrap; cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
body.aa-v2 #t3-content .quote-form button[type="submit"]::after,
body.aa-v2 .aa-plz-form button[type="submit"]::after {
  content: ""; width: 18px; height: 18px; flex: 0 0 18px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
body.aa-v2 #t3-content .quote-form button[type="submit"]:hover,
body.aa-v2 .aa-plz-form button[type="submit"]:hover { background: var(--aa-green-dark) !important; transform: translateY(-1px); box-shadow: 0 10px 24px rgba(15, 122, 65, .34) !important; }
@media (max-width: 575px) {
  body.aa-v2 #t3-content .gb-plz-block:not(.aa-plz-card) { padding: 20px 18px !important; }
  body.aa-v2 #t3-content .quote-form > div { flex: 1 1 100% !important; max-width: none !important; min-width: 0 !important; }
  body.aa-v2 #t3-content .quote-form button[type="submit"], body.aa-v2 .aa-plz-form button[type="submit"] { width: 100%; }
}

/* FAQ accordion (built by aa-v2.js from the question headings) */
body.aa-v2 .aa-acc { margin: 18px 0 8px; border: 1px solid var(--aa-line); border-radius: 14px; background: #fff; overflow: hidden; }
body.aa-v2 .aa-acc__item + .aa-acc__item { border-top: 1px solid var(--aa-line); }
body.aa-v2 #t3-content .article-content .aa-acc__q { margin: 0 !important; font-size: 17.5px !important; line-height: 1.4 !important; }
body.aa-v2 .aa-acc__btn { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 17px 20px; border: 0; background: transparent; color: var(--aa-ink); font: inherit; text-align: left; cursor: pointer; }
body.aa-v2 .aa-acc__btn:hover { background: #fafcff; }
body.aa-v2 .aa-acc__btn::after { content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 4px; border-right: 2px solid var(--aa-blue); border-bottom: 2px solid var(--aa-blue); transform: rotate(45deg) translate(-2px, -2px); transition: transform .18s ease; }
body.aa-v2 .aa-acc__btn[aria-expanded="true"]::after { transform: rotate(-135deg) translate(-2px, -2px); }
body.aa-v2 .aa-acc__a { padding: 0 20px 18px; }
body.aa-v2 .aa-acc__a[hidden] { display: none; }
body.aa-v2 #t3-content .article-content .aa-acc__a > :last-child { margin-bottom: 0; }

/* closing CTA */
body.aa-v2 .aa-cta {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: center;
  margin-top: 48px; margin-bottom: 8px; padding: 32px; border-radius: 20px;
  background: radial-gradient(1200px 400px at 100% 0%, #1a4fb8 0%, rgba(26, 79, 184, 0) 60%), linear-gradient(135deg, var(--aa-navy) 0%, var(--aa-navy-2) 100%);
  color: #fff; box-shadow: var(--aa-shadow-lg);
}
body.aa-v2 .aa-cta__title { margin: 0 0 8px; font-family: "Montserrat", "Roboto", sans-serif; font-size: clamp(21px, 2vw, 25px); font-weight: 700; line-height: 1.25; color: #fff; text-wrap: balance; }
body.aa-v2 .aa-cta__text { margin: 0 0 14px; font-size: 16px; line-height: 1.55; color: #d6e2fb; }
body.aa-v2 .aa-cta__points { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
body.aa-v2 .aa-cta__points li { display: flex; align-items: center; gap: 9px; margin: 0; font-size: 14.5px; line-height: 1.4; color: #e8effd; }
body.aa-v2 .aa-cta__points li::before, body.aa-v2 .aa-checks li::before {
  content: ""; flex: 0 0 18px; width: 18px; height: 18px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='11' fill='%2322c55e'/%3E%3Cpath d='M7 12.500l3.300 3.300L17 9' fill='none' stroke='%23fff' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body.aa-v2 .aa-cta__form { padding: 22px; border-radius: 16px; background: #fff; color: var(--aa-ink); }
body.aa-v2 .aa-cta__form label { display: block; margin: 0 0 8px; font-size: 14.5px; font-weight: 700; color: var(--aa-ink); }
body.aa-v2 .aa-cta__row { display: flex; gap: 10px; }
body.aa-v2 .aa-cta__row input { flex: 1 1 auto; min-width: 0; }
body.aa-v2 .aa-cta__note { margin: 12px 0 0; font-size: 13px; line-height: 1.45; color: var(--aa-muted); }
@media (max-width: 860px) { body.aa-v2 .aa-cta { grid-template-columns: 1fr; padding: 24px 20px; } }
@media (max-width: 480px) { body.aa-v2 .aa-cta__row { flex-direction: column; } }

/* related guides as cards */
body.aa-v2 #t3-content .aa-related { margin-top: 40px; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.aa-v2 #t3-content .aa-related__title { margin: 0 0 16px; font-family: "Montserrat", "Roboto", sans-serif; font-size: clamp(21px, 2vw, 25px); font-weight: 700; line-height: 1.25; color: var(--aa-ink); text-transform: none; }
body.aa-v2 #t3-content .aa-related__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
body.aa-v2 #t3-content .aa-related__list li { position: relative; margin: 0; padding: 18px 44px 18px 18px; border: 1px solid var(--aa-line); border-radius: 14px; background: #fff; color: var(--aa-muted); font-size: 14.5px; line-height: 1.5; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
body.aa-v2 #t3-content .aa-related__list li:hover { border-color: #b9cdf3; box-shadow: var(--aa-shadow); transform: translateY(-2px); }
body.aa-v2 #t3-content .aa-related__list li a { display: block; margin: 0 0 4px; color: var(--aa-ink); font-size: 16px; font-weight: 700; line-height: 1.35; text-decoration: none; }
body.aa-v2 #t3-content .aa-related__list li a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
body.aa-v2 #t3-content .aa-related__list li:hover a { color: var(--aa-blue-dark); }
body.aa-v2 #t3-content .aa-related__list li::after { content: ""; position: absolute; top: 22px; right: 18px; width: 9px; height: 9px; border-top: 2px solid var(--aa-blue); border-right: 2px solid var(--aa-blue); transform: rotate(45deg); }

/* ============================== Home page ============================== */
body.aa-page-home #t3-mainbody { padding-top: 0; }
body.aa-page-home #t3-content .article-content { max-width: none; }
body.aa-v2 .aa-hero {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center;
  padding: 64px 0 72px; color: #fff;
  isolation: isolate;
}
/* full-width backdrop behind the boxed hero */
body.aa-v2 .aa-hero::before {
  content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  background: radial-gradient(900px 520px at 78% 0%, #2463d6 0%, rgba(36, 99, 214, 0) 62%), linear-gradient(135deg, var(--aa-navy) 0%, var(--aa-navy-2) 100%);
}
body.aa-v2 { overflow-x: clip; }
body.aa-v2 #t3-content .article-content .aa-hero h1 { margin: 0 0 18px; color: #fff; font-size: clamp(31px, 4vw, 48px); line-height: 1.1; }
body.aa-v2 #t3-content .article-content .aa-hero .aa-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); color: #dbe7ff; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
body.aa-v2 #t3-content .article-content .aa-hero .aa-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .22); }
body.aa-v2 #t3-content .article-content .aa-hero .aa-lead { margin: 0 0 22px; max-width: 60ch; color: #d6e2fb; font-size: 17.5px; line-height: 1.65; }
body.aa-v2 #t3-content .article-content .aa-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 0; padding: 0; list-style: none; }
body.aa-v2 #t3-content .article-content .aa-checks li { display: inline-flex; align-items: center; gap: 9px; margin: 0; color: #fff; font-size: 15.5px; font-weight: 500; }
body.aa-v2 #t3-content .aa-plz-card { margin: 0 !important; padding: 30px !important; border: 0 !important; border-radius: 20px !important; background: #fff !important; box-shadow: var(--aa-shadow-lg) !important; color: var(--aa-text); }
body.aa-v2 #t3-content .article-content .aa-plz-card__tag { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: var(--aa-blue-soft); color: var(--aa-blue-dark); font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
body.aa-v2 #t3-content .article-content .aa-plz-card__title { margin: 0 0 8px !important; font-size: clamp(21px, 2vw, 25px) !important; line-height: 1.25 !important; color: var(--aa-ink) !important; }
body.aa-v2 #t3-content .article-content .aa-plz-card__text { margin: 0 0 18px; font-size: 15.5px; line-height: 1.55; color: var(--aa-text); }
body.aa-v2 #t3-content .article-content .aa-plz-card__tip { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--aa-line); font-size: 14px; line-height: 1.55; color: var(--aa-muted); }
body.aa-v2 #t3-content .aa-plz-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0; }
body.aa-v2 #t3-content .aa-plz-form__field { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
body.aa-v2 #t3-content .aa-plz-form__action { flex: 0 0 auto; }
body.aa-v2 #t3-content .aa-plz-card .aa-plz-form__action, body.aa-v2 #t3-content .aa-plz-card .aa-plz-form__action button { flex: 1 1 100%; width: 100%; }

body.aa-v2 .aa-section { margin: 72px 0 0; }
body.aa-v2 #t3-content .article-content .aa-section > h2:first-child,
body.aa-v2 #t3-content .article-content .aa-split__copy > h2:first-child,
body.aa-v2 #t3-content .article-content .aa-home-ins__copy > h2:first-child { margin-top: 0; font-size: clamp(25px, 2.6vw, 33px); }
body.aa-v2 #t3-content .article-content .aa-section > h2:first-child + p { max-width: 78ch; }
body.aa-v2 .aa-section--intro { max-width: 880px; }

body.aa-v2 #t3-content .article-content .aa-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 26px 0 22px; padding: 0; list-style: none; counter-reset: aastep; }
body.aa-v2 #t3-content .article-content .aa-steps > li { position: relative; margin: 0; padding: 26px 24px 22px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: #fff; box-shadow: var(--aa-shadow); counter-increment: aastep; }
body.aa-v2 #t3-content .article-content .aa-steps > li::before { content: counter(aastep); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin: 0 0 16px; border-radius: 12px; background: var(--aa-blue); color: #fff; font-family: "Montserrat", "Roboto", sans-serif; font-size: 18px; font-weight: 700; }
body.aa-v2 #t3-content .article-content .aa-steps h3 { margin: 0 0 8px; font-size: 19px; }
body.aa-v2 #t3-content .article-content .aa-steps p { margin: 0; font-size: 15.5px; line-height: 1.6; }

body.aa-v2 .aa-split { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 44px; align-items: center; }
body.aa-v2 .aa-split__media img { display: block; width: 100%; height: auto; }

body.aa-v2 .aa-cards { display: grid; gap: 20px; margin: 28px 0 0; }
body.aa-v2 .aa-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
body.aa-v2 .aa-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
body.aa-v2 .aa-card { padding: 26px 24px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: #fff; box-shadow: var(--aa-shadow); }
body.aa-v2 #t3-content .article-content .aa-card h3 { margin: 0 0 10px; font-size: 20px; }
body.aa-v2 #t3-content .article-content .aa-card h2 { margin: 0 0 12px; font-size: clamp(21px, 2vw, 25px); }
body.aa-v2 #t3-content .article-content .aa-card p { font-size: 15.5px; line-height: 1.65; }
body.aa-v2 #t3-content .article-content .aa-card p:last-child { margin-bottom: 0; }
body.aa-v2 .aa-card--liability::before, body.aa-v2 .aa-card--partial::before, body.aa-v2 .aa-card--full::before {
  content: ""; display: block; width: 48px; height: 48px; margin: 0 0 16px; border-radius: 14px;
  background: var(--aa-blue-soft) no-repeat center / 26px 26px;
}
body.aa-v2 .aa-card--liability::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231554d1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 4.5-3.2 7.8-8 9-4.800-1.200-8-4.500-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
body.aa-v2 .aa-card--partial::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231554d1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 18a4.500 4.500 0 0 0 .5-8.970A6 6 0 0 0 6 10.500 3.800 3.800 0 0 0 6.500 18'/%3E%3Cpath d='M9 19l-1 2M13 19l-1 2M17 19l-1 2' /%3E%3C/svg%3E"); }
body.aa-v2 .aa-card--full::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231554d1' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 14l1.800-5a2 2 0 0 1 1.900-1.300h8.600a2 2 0 0 1 1.900 1.300L20 14v4h-2.500v-1.500h-11V18H4z'/%3E%3Ccircle cx='7.500' cy='14' r='.8'/%3E%3Ccircle cx='16.500' cy='14' r='.8'/%3E%3C/svg%3E"); }
body.aa-v2 .aa-card--topic { background: linear-gradient(180deg, #fff 0, #f9fbff 100%); }
body.aa-v2 #t3-content .article-content p.aa-more { margin: 20px 0 0; }
body.aa-v2 #t3-content .article-content p.aa-more a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; }
body.aa-v2 #t3-content .article-content p.aa-more a::after { content: ""; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }

body.aa-v2 .aa-faq { max-width: 880px; }
body.aa-v2 .aa-home-ins { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; padding: 40px; border-radius: 24px; background: var(--aa-bg); }
body.aa-v2 #t3-content .aa-home-ins .aa-plz-card { box-shadow: var(--aa-shadow) !important; }
body.aa-v2 .aa-next { padding: 40px; border-radius: 24px; background: linear-gradient(135deg, #eef4ff 0%, #f1fbf5 100%); text-align: center; }
body.aa-v2 #t3-content .article-content .aa-next p { max-width: 70ch; margin-left: auto; margin-right: auto; text-align: center !important; }
body.aa-v2 #t3-content .article-content a.aa-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 12px; background: var(--aa-green); color: #fff; font-weight: 700; text-decoration: none; box-shadow: 0 8px 20px rgba(15, 122, 65, .28); }
body.aa-v2 #t3-content .article-content a.aa-btn:hover { background: var(--aa-green-dark); color: #fff; }
body.aa-page-home #t3-content .aa-related { margin-top: 72px; }

@media (max-width: 991px) {
  body.aa-v2 .aa-hero { grid-template-columns: 1fr; gap: 32px; padding: 40px 0 48px; }
  body.aa-v2 #t3-content .article-content .aa-steps, body.aa-v2 .aa-cards--3 { grid-template-columns: 1fr; }
  body.aa-v2 .aa-cards--2, body.aa-v2 .aa-split, body.aa-v2 .aa-home-ins { grid-template-columns: 1fr; }
  body.aa-v2 .aa-split { gap: 24px; }
  body.aa-v2 .aa-section { margin-top: 52px; }
  body.aa-v2 .aa-home-ins, body.aa-v2 .aa-next { padding: 26px 20px; }
}
@media (max-width: 575px) {
  body.aa-v2 .aa-hero { padding: 30px 0 38px; }
  body.aa-v2 #t3-content .aa-plz-card { padding: 22px 18px !important; }
  body.aa-v2 #t3-content .article-content .aa-hero .aa-lead { font-size: 16.5px; }
}

/* ============================== Footer ============================== */
body.aa-v2 .aa-footer { margin: 0; padding: 56px 0 28px; border: 0; background: var(--aa-navy); color: #c7d3ea; font-size: 15px; line-height: 1.6; }
body.aa-v2 .aa-footer a { color: #dbe5f8; text-decoration: none; }
body.aa-v2 .aa-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
body.aa-v2 .aa-footer__top { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 56px; }
body.aa-v2 .aa-footer__logo { display: inline-block; margin: 0 0 14px; color: #fff !important; font-family: "Montserrat", "Roboto", sans-serif; font-size: 23px; font-weight: 700; letter-spacing: -.01em; text-decoration: none !important; }
body.aa-v2 .aa-footer__logo span { color: #4ade80; }
body.aa-v2 .aa-footer__brand p { margin: 0 0 20px; font-size: 15px; line-height: 1.65; color: #b7c5e0; }
body.aa-v2 .aa-footer__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 12px; background: var(--aa-green); color: #fff !important; font-weight: 700; text-decoration: none !important; }
body.aa-v2 .aa-footer__cta:hover { background: #12924e; }
body.aa-v2 .aa-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 28px; }
body.aa-v2 .aa-footer__h { margin: 0 0 14px; color: #fff; font-family: "Montserrat", "Roboto", sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.aa-v2 .aa-footer ul { margin: 0; padding: 0; list-style: none; }
body.aa-v2 .aa-footer__col li { margin: 0 0 9px; line-height: 1.4; }
body.aa-v2 .aa-footer__col a { font-size: 14.5px; }
body.aa-v2 .aa-footer__disclaimer { margin: 44px 0 0; padding: 22px 0 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13.5px; line-height: 1.6; color: #9fb0d0; }
body.aa-v2 .aa-footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin: 22px 0 0; }
body.aa-v2 .aa-footer__copy { margin: 0; font-size: 14px; color: #9fb0d0; }
body.aa-v2 .aa-footer .footer-menu { margin: 0; padding: 0; float: none; }
body.aa-v2 .aa-footer__legal, body.aa-v2 .aa-footer__langs { display: flex; flex-wrap: wrap; gap: 6px 20px; }
body.aa-v2 .aa-footer__legal li, body.aa-v2 .aa-footer__langs li { margin: 0; padding: 0; float: none; }
body.aa-v2 .aa-footer__legal a, body.aa-v2 .aa-footer__langs a { display: inline-block; padding: 4px 0; font-size: 14px; background: transparent; }
body.aa-v2 .aa-footer__langs a[aria-current] { color: #fff; font-weight: 700; }
@media (max-width: 991px) {
  body.aa-v2 .aa-footer__top { grid-template-columns: 1fr; gap: 36px; }
  body.aa-v2 .aa-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  body.aa-v2 .aa-footer { padding-top: 40px; }
  body.aa-v2 .aa-footer__cols { grid-template-columns: 1fr; }
  body.aa-v2 .aa-footer__col a { display: inline-block; padding: 3px 0; }
}

/* back-to-top */
body.aa-v2 #back-to-top { position: fixed !important; z-index: 60; right: 20px; left: auto; top: auto; bottom: 20px; width: 44px; height: 44px; margin: 0; transition: opacity .2s ease, visibility .2s ease; }
body.aa-v2 #back-to-top.affix-top { opacity: 0; visibility: hidden; }
body.aa-v2 #back-to-top .btn { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--aa-navy); color: #fff; box-shadow: var(--aa-shadow-lg); }
body.aa-v2.gb-has-sticky #back-to-top { bottom: 84px; }

/* form pages: only the page background and spacing, the form itself keeps its styles */
body.aa-page-form main#main-content { background: linear-gradient(180deg, var(--aa-bg) 0, #fff 520px); }


/* ============================== RU guides built by com_forms (cf-seo-pro markup) ============================== */
body.aa-page-cfpro main#main-content { background: linear-gradient(180deg, var(--aa-bg) 0, #fff 420px); }
body.aa-v2 .cf-seo-page { color: var(--aa-text); font-size: 17px; line-height: 1.7; }
body.aa-v2 .cf-seo-page h1 { margin: 0 0 18px; font-size: clamp(29px, 3.4vw, 42px); line-height: 1.14; }
body.aa-v2 .cf-seo-page h2 { margin: 0 0 14px; font-size: clamp(22px, 2.3vw, 28px); line-height: 1.22; }
body.aa-v2 .cf-seo-page h3 { margin: 0 0 8px; font-size: 18px; line-height: 1.3; }
body.aa-v2 .cf-seo-page p { margin: 0 0 14px; }
body.aa-v2 .cf-seo-page ul { margin: 0 0 14px; padding-left: 22px; }
body.aa-v2 .cf-seo-page li { margin: 0 0 8px; }
body.aa-v2 .cf-seo-kicker { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border-radius: 999px; background: var(--aa-blue-soft); color: var(--aa-blue-dark); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
body.aa-v2 .cf-pro-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 36px; align-items: start; margin: 0 0 32px; }
body.aa-v2 .cf-pro-copy > p { max-width: 68ch; font-size: 17.5px; }
body.aa-v2 .cf-pro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 18px; }
body.aa-v2 .cf-pro-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 1px solid transparent; border-radius: 12px; font-size: 16px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none !important; transition: background .15s ease, transform .15s ease, border-color .15s ease; }
body.aa-v2 .cf-pro-btn--primary { background: var(--aa-green); color: #fff !important; box-shadow: 0 8px 18px rgba(15, 122, 65, .22); }
body.aa-v2 .cf-pro-btn--primary:hover { background: var(--aa-green-dark); transform: translateY(-1px); }
body.aa-v2 .cf-pro-btn--ghost { border-color: #c9d5ea; background: #fff; color: var(--aa-blue-dark) !important; }
body.aa-v2 .cf-pro-btn--ghost:hover { border-color: var(--aa-blue); background: var(--aa-blue-soft); }
body.aa-v2 .cf-pro-btn--block { display: flex; width: 100%; margin-top: 10px; }
body.aa-v2 .cf-pro-tags { display: flex; flex-wrap: wrap; gap: 8px; }
body.aa-v2 .cf-pro-tags span { padding: 5px 12px; border: 1px solid var(--aa-line); border-radius: 999px; background: #fff; color: var(--aa-muted); font-size: 13.5px; }
body.aa-v2 .cf-pro-sidepanel { display: grid; gap: 12px; }
body.aa-v2 .cf-pro-mini-card, body.aa-v2 .cf-pro-rail-card, body.aa-v2 .cf-seo-card { padding: 18px 20px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: #fff; box-shadow: var(--aa-shadow); }
body.aa-v2 .cf-pro-mini-card p, body.aa-v2 .cf-seo-card p, body.aa-v2 .cf-pro-rail-card p { margin: 0; font-size: 15.5px; line-height: 1.6; }
body.aa-v2 .cf-pro-rail-card ul { margin: 0; font-size: 15.5px; line-height: 1.55; }
body.aa-v2 .cf-pro-formpanel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: center; margin: 0 0 36px; padding: 32px; border: 1px solid #d5e2f8; border-radius: 20px; background: linear-gradient(135deg, #eef4ff 0%, #f1faf5 100%); }
body.aa-v2 .cf-pro-formpanel__copy p { margin: 0; }
body.aa-v2 .cf-form-shell { padding: 24px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: #fff; box-shadow: var(--aa-shadow-lg); }
body.aa-v2 .cf-form-shell h3 { margin: 0 0 14px; font-size: 19px; }
body.aa-v2 .cf-form-shell .quote-form { display: grid; gap: 10px; margin: 0; }
body.aa-v2 .cf-form-shell .quote-form input[name="zipcode"], body.aa-v2 .cf-form-shell .quote-form .btn-quote { width: 100%; max-width: none; margin: 0; }
body.aa-v2 .cf-form-shell .quote-note { margin: 12px 0 0; color: var(--aa-muted); font-size: 13.5px; line-height: 1.5; }
body.aa-v2 .cf-pro-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; }
body.aa-v2 .cf-pro-main { min-width: 0; }
body.aa-v2 .cf-pro-section-card { margin: 0 0 36px; }
body.aa-v2 .cf-pro-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 0 0 14px; }
body.aa-v2 .cf-seo-checklist { padding: 0 !important; list-style: none; }
body.aa-v2 .cf-seo-checklist li { position: relative; padding-left: 30px; }
body.aa-v2 .cf-seo-checklist li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: #dff5e8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%230f7a41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.4l2.6 2.6L12 5.6'/%3E%3C/svg%3E") center / 12px no-repeat; }
body.aa-v2 .cf-seo-note { margin: 0 0 14px; padding: 16px 18px; border-left: 4px solid var(--aa-blue); border-radius: 0 12px 12px 0; background: var(--aa-blue-soft); font-size: 16px; }
body.aa-v2 .cf-pro-rail { display: grid; gap: 14px; position: sticky; top: 24px; }
body.aa-v2 .cf-seo-table-wrap { overflow-x: auto; margin: 0 0 18px; border: 1px solid var(--aa-line); border-radius: var(--aa-radius); background: #fff; }
body.aa-v2 .cf-seo-table { width: 100%; margin: 0; border-collapse: collapse; font-size: 15.5px; }
body.aa-v2 .cf-seo-table th, body.aa-v2 .cf-seo-table td { padding: 12px 14px; border-bottom: 1px solid var(--aa-line); text-align: left; vertical-align: top; }
body.aa-v2 .cf-seo-table th { background: var(--aa-bg); color: var(--aa-ink); font-weight: 700; }
body.aa-v2 .cf-seo-table tr:last-child td { border-bottom: 0; }
body.aa-v2 .cf-seo-faq h3 { margin-top: 18px; }
body.aa-v2 .cf-seo-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 36px; padding-top: 24px; border-top: 1px solid var(--aa-line); }
body.aa-v2 .cf-seo-links a { padding: 8px 16px; border: 1px solid #c9d5ea; border-radius: 999px; background: #fff; color: var(--aa-blue-dark); font-size: 15px; font-weight: 600; text-decoration: none; }
body.aa-v2 .cf-seo-links a:hover { border-color: var(--aa-blue); background: var(--aa-blue-soft); }
@media (max-width: 991px) {
  body.aa-v2 .cf-pro-hero, body.aa-v2 .cf-pro-formpanel, body.aa-v2 .cf-pro-layout { grid-template-columns: 1fr; gap: 24px; }
  body.aa-v2 .cf-pro-rail { position: static; }
  body.aa-v2 .cf-pro-formpanel { padding: 22px 18px; }
}

/* Phones: the trail ends at the parent page, the H1 right below names the current one */
@media (max-width: 767px) {
  body.aa-v2 #t3-content .aa-crumbs li[aria-current] { display: none; }
  body.aa-v2 #t3-content .aa-crumbs li:first-child::before { content: ""; width: 6px; height: 6px; margin: 0 8px 0 2px; border-bottom: 1.5px solid #9aa6b8; border-left: 1.5px solid #9aa6b8; transform: rotate(45deg); }
}

body.aa-v2 #t3-content .aa-crumbs li::marker { content: none; }

/* Guides dropdown: two columns on desktop, current page in brand blue instead of the theme green */
@media (min-width: 768px) {
  body.aa-v2 #t3-mainnav .t3-navbar li.dropdown > .dropdown-menu { column-count: 2; column-gap: 8px; min-width: 500px !important; }
  body.aa-v2 #t3-mainnav .t3-navbar li.dropdown > .dropdown-menu > li { break-inside: avoid; }
  body.aa-v2 #t3-mainnav .t3-navbar li.dropdown > .dropdown-menu > li.current > a,
  body.aa-v2 #t3-mainnav .t3-navbar li.dropdown > .dropdown-menu > li.active > a { background: var(--aa-blue-soft) !important; color: var(--aa-blue-dark) !important; font-weight: 700 !important; }
}

/* The bundled Montserrat file is Latin-only: Russian headings use the system UI font instead of a random fallback */
body.aa-lang-ru h1, body.aa-lang-ru h2, body.aa-lang-ru h3, body.aa-lang-ru h4,
body.aa-lang-ru .aa-footer__logo, body.aa-lang-ru .aa-footer h2, body.aa-lang-ru .aa-footer h3 { font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important; letter-spacing: -.01em; }
