/* auto-remap.com new design: inner pages (articles, news list, legal pages, converted landing pages).
   Loaded after site.css + home.css; components of the homepage (.card, .g3/.g4/.g5, .opt, .badge, .qs, .band) are reused. */
:root{--xc-ink:#0B1B33;--xc-text:#1E293B;--xc-muted:#5B6B82;--xc-line:#E3E9F1;--xc-soft:#F4F7FB;--xc-tint:#EEF4FF;--xc-blue:#1B4FA6;--xc-brand:linear-gradient(100deg,#1B4FA6,#0055E9)}

/* ---- title band ---- */
.xc-head{padding-top:clamp(20px,2.6vw,32px);padding-bottom:clamp(16px,2vw,24px)}
.xc-crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;margin:0 0 12px;font-size:13.5px;color:var(--xc-muted)}
.xc-crumbs a{color:var(--xc-muted);padding:4px 0}.xc-crumbs a:hover{color:var(--xc-blue)}
.xc-crumbs span[aria-current]{color:var(--xc-text);font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60ch}
.xc-title{margin:0;font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(26px,3vw,38px);line-height:1.18;letter-spacing:-.02em;color:var(--xc-ink);max-width:28ch;text-wrap:balance}
.xc-title+.xc-title{margin-top:6px;font-size:clamp(20px,2vw,26px);color:var(--xc-text)}
.xc-date{margin:10px 0 0;font-size:14px;color:var(--xc-muted)}
.xc-lead{margin:10px 0 0;max-width:62ch;font-size:16px;line-height:1.6;color:var(--xc-muted)}
.xc-body{padding-bottom:clamp(40px,5vw,72px)}

/* ---- reading column ---- */
.xc-prose{max-width:860px;background:#fff;border:1px solid var(--xc-line);border-radius:18px;padding:clamp(20px,3.4vw,44px)}
.xc-text{font-size:16.5px;line-height:1.72;color:var(--xc-text);overflow-wrap:break-word}
.xc-text>*:first-child{margin-top:0}
.xc-text p{margin:0 0 1em}
.xc-text h2{margin:1.9em 0 .55em;font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(21px,2vw,25px);line-height:1.28;letter-spacing:-.01em;color:var(--xc-ink);scroll-margin-top:90px;border:0!important;padding:0!important}
.xc-text h3{margin:1.6em 0 .45em;font-family:Manrope,sans-serif;font-weight:700;font-size:18.5px;line-height:1.35;color:var(--xc-ink);scroll-margin-top:90px}
.xc-text h4{margin:1.4em 0 .4em;font-size:16.5px;font-weight:700;color:var(--xc-ink)}
.xc-text a{color:var(--xc-blue);text-decoration:underline;text-decoration-color:rgba(27,79,166,.35);text-underline-offset:3px}
.xc-text a:hover{text-decoration-color:currentColor}
/* buttons placed inside text keep the button look */
.xc-text a.x-btn,.xc-text a.x-btn:hover{color:#fff;text-decoration:none}
.xc-text a.x-btn-line,.xc-text a.x-btn-line:hover{color:var(--xc-ink);text-decoration:none}
.xc-text .xl-btns{margin:1.2em 0}
.xc-text ul,.xc-text ol{margin:0 0 1.15em;padding-left:1.35em}
.xc-text li{margin:.35em 0}
.xc-text li::marker{color:var(--xc-blue)}
.xc-text img{max-width:100%;height:auto;border-radius:12px}
.xc-text p>img:only-child{display:block;margin:1.4em auto}
.xc-text figure{margin:1.6em 0}.xc-text figcaption{margin-top:.6em;font-size:14px;color:var(--xc-muted)}
.xc-text blockquote{margin:1.4em 0;padding:.9em 1.2em;border-left:4px solid var(--xc-blue);background:var(--xc-tint);border-radius:0 12px 12px 0}
.xc-text code{font:500 .9em ui-monospace,Consolas,monospace;background:var(--xc-soft);padding:1px 6px;border-radius:5px}
.xc-text hr{border:0;border-top:1px solid var(--xc-line);margin:2em 0}
.xc-text table{border-collapse:collapse;width:100%;font-size:14.5px;line-height:1.5}
.xc-text caption{caption-side:top;text-align:left;font-size:14px;color:var(--xc-muted);padding-bottom:.5em}
.xc-text th,.xc-text td{border:1px solid var(--xc-line);padding:.6em .75em;text-align:left;vertical-align:top}
.xc-text th{background:var(--xc-soft);font-weight:700;color:var(--xc-ink)}
.xc-text tbody tr:nth-child(even){background:#FAFBFD}
.xc-text .ar-table-wrap,.xc-text .xc-scroll{overflow-x:auto;margin:1.2em 0 1.8em;border-radius:12px}
.xc-text .ar-table-wrap table{min-width:620px}
.xc-text>table,.xc-text>div>table{display:block;overflow-x:auto}
.xc-text .pull-left{float:left;margin:0 1.2em 1em 0;max-width:45%}.xc-text .pull-right{float:right;margin:0 0 1em 1.2em;max-width:45%}
@media (max-width:620px){.xc-text .pull-left,.xc-text .pull-right{float:none;margin:0 0 1em;max-width:100%}}
/* old articles pasted from Word / Google Docs carry inline fonts: keep the page typography */
.xc-text [style]{font-family:inherit!important;font-size:inherit!important;line-height:inherit!important;background-color:transparent!important;white-space:normal!important}
.xc-text .MsoNormal{margin:0 0 1em!important}

/* ---- article components (ar-*) in the new colours ---- */
.xc-text .ar-post{max-width:none;margin:0;font-size:inherit;line-height:inherit}
.xc-text .ar-meta{font-size:17.5px;line-height:1.6;color:var(--xc-muted);margin:0 0 1.4em}
.xc-text .ar-langs{font-size:14px!important;color:var(--xc-muted)!important}
.xc-text .ar-tldr{background:var(--xc-tint);border:0;border-radius:14px;padding:1.2em 1.4em;margin:1.4em 0 1.8em}
.xc-text .ar-tldr h2{margin:0 0 .5em;font-size:13px;letter-spacing:.1em;text-transform:uppercase;color:var(--xc-blue)}
.xc-text .ar-tldr ul{margin-bottom:0}
.xc-text .ar-toc{border:1px solid var(--xc-line);border-radius:14px;padding:1.1em 1.4em;margin:1.6em 0;background:#FCFDFF}
.xc-text .ar-toc strong{display:block;margin-bottom:.5em;color:var(--xc-ink)}
.xc-text .ar-toc ol{margin-bottom:0}
.xc-text .ar-key{border-left:4px solid #0055E9;background:var(--xc-tint);padding:.95em 1.15em;margin:1.5em 0;border-radius:0 12px 12px 0}
.xc-text .ar-note{border-left:4px solid #D97706;background:#FFF7ED;padding:.95em 1.15em;margin:1.5em 0;border-radius:0 12px 12px 0}
.xc-text .ar-updated{border:1px solid var(--xc-line);background:var(--xc-soft);padding:.9em 1.1em;border-radius:12px;margin:1.2em 0}
.xc-text .ar-cta{background:radial-gradient(700px 260px at 90% 0%,rgba(0,85,233,.35),transparent 60%),#00011F;color:#DCE6F5;padding:1.6em 1.8em;border-radius:16px;margin:2.2em 0}
.xc-text .ar-cta h2{margin-top:0;color:#fff}
.xc-text .ar-cta a{color:#9CC2FF}
.xc-text .ar-cta strong{color:#fff}
.xc-text .ar-cta li::marker{color:#9CC2FF}
.xc-text .ar-cta-note{font-size:.92em;color:#AFC0DD;margin-bottom:0}
.xc-text .ar-final{border:1px solid var(--xc-line);border-left:4px solid #0055E9;border-radius:0 12px 12px 0;background:#fff;padding:1em 1.2em;margin:1.8em 0}
.xc-text .ar-faq h3{font-size:16.5px;margin-bottom:.25em}
.xc-text .ar-related ul{list-style:none;padding-left:0}
.xc-text .ar-related li{padding-left:1.2em;position:relative}
.xc-text .ar-related li::before{content:"›";position:absolute;left:0;color:#0055E9;font-weight:800}
.xc-text .ar-disclaimer{font-size:13.5px;color:var(--xc-muted);margin-top:2.4em}
.xc-text .ar-moto-brands{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:10px}
.xc-text .ar-moto-brands a{display:flex;flex-direction:column;align-items:center;gap:6px;padding:12px;border:1px solid var(--xc-line);border-radius:12px;text-decoration:none;color:var(--xc-ink);font-weight:600;font-size:14px}
.xc-text .ar-moto-brands img{width:56px;height:40px;object-fit:contain;border-radius:0}

/* ---- news cards ---- */
.xc-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
@media (max-width:1100px){.xc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.xc-cards{grid-template-columns:1fr}}
.xc-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--xc-line);border-radius:16px;overflow:hidden;transition:border-color .2s,box-shadow .2s,transform .2s}
.xc-card:hover{border-color:#C9DBF3;box-shadow:0 10px 28px rgba(11,27,51,.07);transform:translateY(-2px)}
.xc-card-img{display:block;aspect-ratio:16/9;background:#00011F;overflow:hidden}
.xc-card-img img{display:block;width:100%;height:100%;object-fit:cover}
.xc-card-body{display:flex;flex-direction:column;flex:1 1 auto;padding:18px 20px 20px}
.xc-card-date{margin:0 0 6px;font-size:13px;color:var(--xc-muted)}
.xc-card-title{margin:0;font-family:Manrope,sans-serif;font-weight:800;font-size:18px;line-height:1.3;letter-spacing:-.01em}
.xc-card-title a{color:var(--xc-ink)}.xc-card-title a:hover{color:var(--xc-blue)}
.xc-card-text{margin-top:8px;font-size:14.5px;line-height:1.6;color:var(--xc-muted);display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.xc-card-text p{margin:0}
.xc-card-text [style]{font-size:inherit!important;color:inherit!important;font-family:inherit!important}
.xc-card-more{margin-top:auto;padding-top:14px;display:inline-flex;align-items:center;gap:6px;font-weight:600;font-size:14px;color:var(--xc-blue)}
.xc-pages{margin-top:28px}
.xc-pages ul{list-style:none;display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0;padding:0}
.xc-pages li a,.xc-pages li span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 12px;border-radius:10px;border:1px solid var(--xc-line);background:#fff;color:var(--xc-ink);font-weight:600;font-size:14px}
.xc-pages li a:hover{border-color:#9FB6D6;color:var(--xc-blue)}
.xc-pages li.active span,.xc-pages li.active a,.xc-pages [aria-current] {background:var(--xc-brand);border-color:transparent;color:#fff}
.xc-pages li.disabled span{opacity:.45}
.xc-pages .icon-angle-left::before{content:"‹"}.xc-pages .icon-angle-right::before{content:"›"}.xc-pages .icon-angle-double-left::before{content:"«"}.xc-pages .icon-angle-double-right::before{content:"»"}
.xc-pages .visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* ---- converted landing pages ---- */
.xl-hero{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);border-radius:22px;overflow:hidden;background:#00011F;color:#fff;min-height:260px;margin-top:4px}
.xl-hero-txt{padding:clamp(24px,3.4vw,44px);display:flex;flex-direction:column;justify-content:center;min-width:0}
.xl-hero .kick{color:#8FB4FF;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;margin:0 0 8px}
.xl-hero h1,.xl-hero h2,.xl-hero .xl-h{margin:0;font-family:Manrope,sans-serif;font-weight:800;font-size:clamp(24px,2.6vw,34px);line-height:1.2;letter-spacing:-.015em;color:#fff;text-wrap:balance}
.xl-hero p{margin:12px 0 0;color:#B9C8E2;font-size:15.5px;line-height:1.6;max-width:56ch}
.xl-hero .xl-btns{margin-top:20px}
.xl-photo{position:relative;min-height:200px;background:#00011F center/cover no-repeat}
.xl-photo::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#00011F 0%,rgba(0,1,31,0) 30%)}
@media (max-width:860px){.xl-hero{grid-template-columns:1fr}.xl-photo{order:-1;min-height:150px}.xl-photo::before{background:linear-gradient(180deg,rgba(0,1,31,0) 50%,#00011F 100%)}}
.xl-btns{display:flex;flex-wrap:wrap;gap:10px}
.xl-btns .x-btn,.xl-btns .x-btn-line{height:46px}
.xl-hero .x-btn-line{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.28);color:#fff}
.xl-hero .x-btn-line:hover{background:rgba(255,255,255,.14);color:#fff}
.xl-sec{padding-top:clamp(28px,3.6vw,48px)}
.xl-sec .xc-prose{max-width:none}
.xl-sec .xc-text{max-width:80ch}
.xl-hero-min{min-height:170px}
.xl-hero-min .xl-hero-txt{padding-top:28px;padding-bottom:28px}
.xl-cols{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:clamp(20px,3vw,40px);align-items:start}
@media (max-width:860px){.xl-cols{grid-template-columns:1fr}}
.xl-cols .xl-media img{width:100%;height:auto;border-radius:14px;display:block}
.xl-cta{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;padding:clamp(22px,3vw,32px) clamp(22px,3.4vw,40px);border-radius:20px;background:radial-gradient(800px 300px at 90% 0%,rgba(0,85,233,.4),transparent 60%),#00011F;color:#fff}
.xl-cta b,
.xl-cta strong{display:block;font-family:Manrope,sans-serif;font-size:clamp(19px,2vw,24px);font-weight:800}
.xl-cta span{display:block;margin-top:4px;color:#B9C8E2;font-size:15px}
.xl-feat{text-align:center;padding:26px 22px 24px}
.xl-feat .xl-ic{width:64px;height:64px;margin:0 auto 14px;border-radius:16px;background:var(--xc-tint);display:flex;align-items:center;justify-content:center;color:#1F5FD6}
.xl-feat h4,.xl-feat h3{margin:0 0 6px;font-size:17px;font-weight:700;color:var(--xc-ink)}
.xl-feat p{margin:0;color:var(--xc-muted);font-size:14.5px;line-height:1.55}
.xl-faq{display:flex;flex-direction:column;gap:10px}
.xl-faq details{background:#fff;border:1px solid var(--xc-line);border-radius:14px;overflow:hidden}
.xl-faq details[open]{border-color:#C9DBF3;box-shadow:0 8px 24px rgba(11,27,51,.06)}
.xl-faq summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 20px;font-weight:700;font-size:16px;color:var(--xc-ink)}
.xl-faq summary::-webkit-details-marker{display:none}
.xl-faq summary::after{content:"+";flex-shrink:0;width:28px;height:28px;border-radius:8px;background:var(--xc-tint);color:var(--xc-blue);display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700}
.xl-faq details[open] summary::after{content:"–"}
.xl-faq .xl-ans{padding:0 20px 18px}
.xl-qr{display:flex;align-items:center;gap:16px;margin-top:18px;padding:14px;border:1px solid var(--xc-line);border-radius:14px;background:#fff;max-width:420px}
.xl-qr img{width:120px;height:120px;border-radius:8px}
.xl-qr span{font-size:14px;color:var(--xc-muted)}
.xl-qr b,
.xl-qr strong{display:block;color:var(--xc-ink);font-size:15px}

/* Joomla system messages */
#system-message-container{max-width:1248px;margin:12px auto 0;padding:0 clamp(16px,3.2vw,32px)}
@media (max-width:480px){.xc-prose{padding:18px 16px;border-radius:14px}.xc-text{font-size:16px}}

/* Article title (24.10.2026): full width of the article column instead of 28ch, slightly smaller — 2 lines instead of 3–4 */
.xc-head .xc-title{max-width:860px;font-size:clamp(23px,2.5vw,31px);line-height:1.24;letter-spacing:-.015em}
.xc-head .xc-crumbs span[aria-current]{max-width:min(100%,860px);min-width:0}
@media (max-width:480px){.xc-head .xc-title{font-size:22px;line-height:1.26}}

/* News article: right sticky column with TOC + order box (24.10.2026). 860 + 24 + 300 = width of the header row */
.xc-body.xc-has-aside{display:grid;grid-template-columns:minmax(0,860px) 300px;gap:24px;align-items:start}
.xc-has-aside .xc-prose{max-width:none}
.xc-aside{position:sticky;top:96px;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 112px);overflow:auto}
.xc-aside-toc{background:#fff;border:1px solid var(--xc-line);border-radius:18px;padding:18px 18px 14px}
.xc-aside-toc strong{display:block;font-family:Manrope,sans-serif;font-size:13px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--xc-muted);margin-bottom:8px}
.xc-aside-toc ol{list-style:none;margin:0;padding:0;counter-reset:t}
.xc-aside-toc li{counter-increment:t}
.xc-aside-toc a{display:flex;gap:8px;padding:6px 8px;border-radius:8px;color:var(--xc-text);font-size:14px;line-height:1.35;text-decoration:none}
.xc-aside-toc a::before{content:counter(t);flex:none;min-width:18px;color:var(--xc-muted);font-weight:700}
.xc-aside-toc a:hover{background:#F1F5F9;color:var(--xc-blue)}
.xc-aside-toc a.on{background:#EEF4FF;color:var(--xc-blue);font-weight:600}
.xc-aside-cta{background:#0B1B33;color:#B9C8E2;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:10px}
.xc-aside-cta strong{color:#fff;font-family:Manrope,sans-serif;font-size:17px;line-height:1.3}
.xc-aside-cta p{margin:0;font-size:14px;line-height:1.5}
.xc-aside-cta .x-btn,.xc-aside-cta .x-btn-line{justify-content:center;text-align:center;width:100%}
.xc-aside-cta .x-btn-line{background:transparent;color:#fff;border-color:rgba(255,255,255,.35)}
.xc-aside-wa{color:#7EE2A8;font-size:14px;font-weight:600;text-align:center;padding:4px 0}
@media (max-width:1100px){.xc-body.xc-has-aside{display:block}.xc-aside{display:none}}
.xc-aside{scrollbar-width:none}.xc-aside::-webkit-scrollbar{display:none}
