/* Autonews — ДИЗАЙН 2.0 (2026-09-25). Шар поверх теми fastnews (= дизайн 1.0). */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/onest-cyrillic-ext.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/onest-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/onest-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/onest-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Autonews redesign 2026 — шар поверх теми fastnews. Усе під body.an-rd */

/* ---------- токени ---------- */
.an-rd{
  --an-font:'Onest',system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;
  --an-ink:#18212c;
  --an-ink-2:#3b4653;
  --an-mute:#5a6572;
  --an-line:#e4e8ee;
  --an-bg:#f2f4f7;
  --an-card:#ffffff;
  --an-blue:#1e6fb8;
  --an-blue-d:#155893;
  --an-blue-soft:#eaf2fa;
  --an-r-lg:14px;
  --an-r:10px;
  --an-r-sm:6px;
  --an-shadow:0 1px 2px rgba(18,38,63,.05),0 6px 20px rgba(18,38,63,.06);
}

/* ---------- шрифт і база ---------- */
.an-rd,
.an-rd h1,.an-rd h2,.an-rd h3,.an-rd h4,.an-rd h5,.an-rd h6,
.an-rd #main-menu > li > a,.an-rd #main-menu li ul li a,.an-rd #footer-menu li a,
.an-rd .widget .widget-title,.an-rd #main-content .widget .widget-title,
.an-rd .widget_categories ul li,.an-rd .b-bottom-sidebar .widget_categories ul li,
.an-rd .pagination ul li,.an-rd .list-container-3 ul li a,.an-rd .entry-box footer p a,
.an-rd .author-name,.an-rd .kp-dropcap,
.an-rd .search-box .search-form .search-text,.an-rd .search-box .search-form .search-submit,
.an-rd input,.an-rd select,.an-rd textarea,.an-rd button{
  font-family:var(--an-font);
}
body.an-rd{
  font-size:16px;
  line-height:1.6;
  color:var(--an-ink-2);
  background:var(--an-bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
.an-rd a{transition:color .2s ease}
.an-rd h1,.an-rd h2,.an-rd h3,.an-rd h4,.an-rd h5,.an-rd h6{
  color:var(--an-ink);
  font-weight:700;
  letter-spacing:-.012em;
  text-wrap:balance;
}
.an-rd .entry-title a{color:var(--an-ink)}
.an-rd .entry-title a:hover{color:var(--an-blue)}
.an-rd :focus-visible{outline:2px solid var(--an-blue);outline-offset:2px;border-radius:4px}
html:has(body.an-rd){scroll-behavior:smooth}

/* ---------- шапка ---------- */
.an-rd #header-top{background:var(--an-blue)}
.an-rd #main-menu > li > a{font-size:14px;font-weight:600;letter-spacing:.02em}
.an-rd #header-bottom,.an-rd #page-header{background:#fff}

/* ---------- основне полотно ---------- */
.an-rd #main-content{background:transparent;padding-top:8px}
.an-rd #main-content > .wrapper{
  background:var(--an-card);
  border:0;
  border-radius:var(--an-r-lg);
  box-shadow:var(--an-shadow);
  margin-top:16px;
  margin-bottom:28px;
}
.an-rd .col-a,.an-rd .col-b,.an-rd .main-col,.an-rd .sidebar,
.an-rd .widget-area-3,.an-rd .widget-area-4,.an-rd .widget-area-2{border-color:var(--an-line)}
.an-rd .main-col{border-right:0}
.an-rd .sidebar{border-left:1px solid var(--an-line)}

/* ---------- ширина: великі екрани ---------- */
@media only screen and (min-width:1300px){
  .an-rd .wrapper{width:1280px}
  /* стаття / рубрика: основна колонка + сайдбар */
  .an-rd .main-col{width:920px;padding:28px 36px 8px}
  .an-rd .sidebar{width:361px;padding:28px 26px 8px}
  /* головна: 2 колонки, права ділиться на стрічку + вузьку */
  .an-rd .col-a{width:620px;padding:24px 26px 0}
  .an-rd .col-b{width:661px;padding:24px 26px 0}
  .an-rd .widget-area-2{padding:0 26px 18px;margin:0 -26px}
  .an-rd .widget-area-3{width:386px;padding:22px 22px 0 0}
  .an-rd .widget-area-4{width:223px;padding:22px 0 0 22px}
  .an-rd .kp-categories-5 .widget-area-3{padding:22px 0 0 22px}
  .an-rd .kp-categories-5 .widget-area-4{padding:22px 22px 0 0}
}

/* ---------- заголовки блоків ---------- */
.an-rd .widget-title,
.an-rd .widget-area-3 .widget-title,.an-rd .widget-area-4 .widget-title,.an-rd .sidebar .widget-title{
  position:relative;
  font-size:13px!important;
  line-height:1.2!important;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:var(--an-ink)!important;
  border:0!important;
  padding:0 0 12px!important;
  margin:0 0 18px!important;
  background:none;
}
.an-rd .widget-title:after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:var(--an-line);
}
.an-rd .widget-title:before{
  content:"";position:absolute;left:0;bottom:0;width:36px;height:3px;border-radius:2px;background:var(--an-blue);z-index:1;
}
.an-rd .widget-title a{color:inherit!important}

/* ---------- картинки ---------- */
.an-rd .entry-thumb{border-radius:var(--an-r);overflow:hidden;margin-bottom:12px}
.an-rd .entry-thumb a{display:block;overflow:hidden}
.an-rd .entry-thumb img{transition:transform .5s cubic-bezier(.2,.7,.2,1);will-change:transform}
.an-rd .entry-item:hover .entry-thumb img,.an-rd .entry-thumb a:hover img{transform:scale(1.04)}
.an-rd .kp-video-widget .entry-thumb{border-radius:var(--an-r)}

/* ---------- дати / мета ---------- */
.an-rd .entry-date,.an-rd .entry-date a{
  font-style:normal!important;
  font-size:13px;
  color:var(--an-mute)!important;
  font-variant-numeric:tabular-nums;
}
.an-rd .entry-content p{color:var(--an-ink-2)}
.an-rd .more-link{font-weight:600;font-size:14px;color:var(--an-blue)!important}

/* ---------- головна: слайдер ---------- */
.an-rd .home-slider,.an-rd .kp-slider-widget .flexslider{border-radius:var(--an-r-lg);overflow:hidden;border:0;box-shadow:none;margin-bottom:26px}
.an-rd .home-slider .flex-caption{
  background:linear-gradient(180deg,rgba(9,20,34,0) 0%,rgba(9,20,34,.55) 38%,rgba(9,20,34,.88) 100%)!important;
  padding:60px 26px 22px!important;
}
.an-rd .home-slider .flex-caption h2{font-size:26px!important;line-height:1.2!important;margin:6px 0 8px!important}
.an-rd .home-slider .flex-caption h2 a{color:#fff!important}
.an-rd .home-slider .flex-caption p{color:rgba(255,255,255,.88)!important;font-size:15px}
.an-rd .home-slider .flex-caption header,.an-rd .home-slider .flex-caption header a,.an-rd .home-slider .flex-caption .entry-date{color:rgba(255,255,255,.8)!important;font-size:12px}

/* ---------- головна: блоки рубрик (ліва колонка) ---------- */
.an-rd .widget-area-1 .kp-article-list-widget .entry-item .entry-title,
.an-rd .kp-categories-4 .entry-list li:first-child .entry-item .entry-title,
.an-rd .kp-categories-5 .entry-list li:first-child .entry-item .entry-title{font-size:21px;line-height:1.25}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li .entry-content .entry-title,
.an-rd .widget-area-1 .kp-small-list-widget ul li .entry-content .entry-title{font-size:16px;line-height:1.3}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li,
.an-rd .widget-area-1 .kp-small-list-widget ul li{border-color:var(--an-line)}
.an-rd .widget-area-1 .widget,.an-rd .widget-area-3 .widget,.an-rd .widget-area-4 .widget{margin-bottom:30px}

/* «Нові матеріали» (каруселька) */
.an-rd .kp-featured-news-widget .entry-title{font-size:15px;line-height:1.3;margin-bottom:6px}
.an-rd .kp-featured-news-widget .entry-content p{font-size:14px;line-height:1.45}

/* «Стрічка новин» */
.an-rd .widget-area-3 .kp-article-list-widget .older-post li .entry-title,
.an-rd .widget-area-3 .kp-small-list-widget ul li .entry-title{font-size:16px;line-height:1.3}
.an-rd .widget-area-3 .kp-small-list-widget ul li .entry-thumb{width:140px}
.an-rd .widget-area-3 .kp-small-list-widget ul li,.an-rd .widget-area-3 .kp-article-list-widget .older-post li{border-color:var(--an-line)}
.an-rd .widget-area-4 .kp-video-widget .entry-title{font-size:15px;line-height:1.3}

/* ---------- рубрика / архів / пошук ---------- */
.an-rd .main-col .entry-list > li{border-color:var(--an-line)!important;padding-bottom:26px!important;margin-bottom:26px!important}
@media only screen and (min-width:800px){
  .an-rd .main-col .entry-list .entry-thumb{width:300px!important;max-width:40%;margin:0 26px 0 0!important;float:left}
  .an-rd .main-col .entry-list .entry-thumb img{aspect-ratio:16/10;object-fit:cover;height:auto}
  .an-rd .main-col .entry-list .entry-content{overflow:hidden}
}
.an-rd .main-col .entry-list .entry-title{font-size:23px!important;line-height:1.25!important;margin:0 0 8px!important}
.an-rd .main-col .entry-list .entry-content p{font-size:15px;line-height:1.6;margin-bottom:10px}
.an-rd .breadcrumb{font-size:12px;letter-spacing:.03em;color:var(--an-mute);border-color:var(--an-line)!important;padding-bottom:12px;margin-bottom:22px}
.an-rd .breadcrumb a{color:var(--an-mute)}
.an-rd .breadcrumb .current-page{color:var(--an-blue)}

/* пагінація */
.an-rd .pagination ul li a,.an-rd .pagination ul li span{border-radius:var(--an-r-sm);border-color:var(--an-line)!important;min-width:40px;text-align:center}
.an-rd .pagination ul li .current,.an-rd .pagination ul li span.current{background:var(--an-blue)!important;color:#fff!important;border-color:var(--an-blue)!important}

/* ---------- стаття ---------- */
.an-rd .entry-box .entry-thumb{border-radius:var(--an-r-lg);margin-bottom:22px}
.an-rd .entry-box .entry-thumb > img{width:100%;height:auto}
.an-rd .entry-box > header .entry-title,.an-rd .entry-box h1.entry-title{
  font-size:38px!important;line-height:1.14!important;letter-spacing:-.022em;font-weight:800;margin:0 0 12px!important;
}
.an-rd .entry-box > header .entry-date{font-size:14px}
.an-rd .elements-box{font-size:18px;line-height:1.72;color:#27313c}
.an-rd .elements-box p{margin:0 0 1.15em}
.an-rd .elements-box h2{font-size:27px;line-height:1.25;margin:1.7em 0 .6em;color:var(--an-ink)!important}
.an-rd .elements-box h3{font-size:21px;line-height:1.3;margin:1.4em 0 .5em;color:var(--an-ink)!important}
.an-rd .elements-box ul li,.an-rd .elements-box ol li{margin-bottom:.45em}
.an-rd .elements-box a{color:var(--an-blue);text-decoration-thickness:1px;text-underline-offset:3px}
.an-rd .elements-box a:not(:has(img)){text-decoration:none!important;background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;padding-bottom:2px;-webkit-box-decoration-break:slice;box-decoration-break:slice;transition:background-size .3s ease,color .15s ease;cursor:pointer}
.an-rd .elements-box a:not(:has(img)):hover,.an-rd .elements-box a:not(:has(img)):focus-visible{background-size:100% 2px;color:var(--an-blue-d)}
@media (prefers-reduced-motion:reduce){.an-rd .elements-box a:not(:has(img)){transition:none}}
.an-rd .elements-box img{border-radius:var(--an-r);height:auto}
.an-rd .elements-box figure,.an-rd .elements-box .wp-caption{margin:1.6em 0}
.an-rd .elements-box .wp-caption-text,.an-rd .elements-box figcaption{font-size:13px;line-height:1.45;color:var(--an-mute);margin-top:8px}
.an-rd .elements-box table{font-size:15px}
.an-rd .elements-box blockquote{font-family:var(--an-font);border-left:3px solid var(--an-blue);background:var(--an-blue-soft);border-radius:0 var(--an-r) var(--an-r) 0;padding:14px 20px;font-size:17px}
.an-rd .elements-box .autonews-byline{font-size:15px!important}
.an-rd .entry-box footer,.an-rd .kopa-related-post,.an-rd .kopa-author-wrapper{border-color:var(--an-line)!important}
.an-rd .kopa-related-post .entry-title{font-size:16px;line-height:1.3}
.an-rd .tag-box a,.an-rd .entry-box .tag-box a{
  display:inline-block;padding:5px 12px;margin:0 6px 8px 0;border-radius:999px;background:var(--an-bg);color:var(--an-ink-2)!important;font-size:13px;border:0;
}

/* ---------- САЙДБАР ---------- */
.an-rd .sidebar .widget{margin-bottom:34px}

/* рубрики -> чипи */
.an-rd .sidebar .widget_categories ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0}
.an-rd .sidebar .widget_categories ul li{
  list-style:none;margin:0!important;padding:0!important;border:0!important;background:none;font-size:14px;line-height:1;
}
.an-rd .sidebar .widget_categories ul li:before{display:none!important}
.an-rd .sidebar .widget_categories ul li a{
  display:inline-block;padding:9px 14px;border-radius:999px;background:var(--an-bg);color:var(--an-ink-2)!important;font-weight:500;
  transition:background .2s ease,color .2s ease,transform .2s ease;
}
.an-rd .sidebar .widget_categories ul li a:hover{background:var(--an-blue);color:#fff!important}
.an-rd .sidebar .widget_categories ul li a:active{transform:translateY(1px)}
.an-rd .sidebar .widget_categories ul li.current-cat a{background:var(--an-blue);color:#fff!important}

/* список статей у сайдбарі */
.an-rd .sidebar .kp-article-list-widget > .entry-item .entry-thumb{margin-bottom:12px}
.an-rd .sidebar .kp-article-list-widget > .entry-item .entry-thumb img{aspect-ratio:16/10;object-fit:cover;height:auto}
.an-rd .sidebar .kp-article-list-widget > .entry-item .entry-title{font-size:19px;line-height:1.28;margin:0 0 6px}
.an-rd .sidebar .kp-article-list-widget > .entry-item .entry-content p{font-size:14px;line-height:1.5;margin:6px 0 0}
.an-rd .sidebar .kp-article-list-widget .older-post li:first-child{border-top:1px solid var(--an-line)!important;padding-top:18px;margin-top:18px}
.an-rd .sidebar .kp-article-list-widget .older-post li{padding-top:14px;margin-top:14px;border-top:1px solid var(--an-line)}
.an-rd .sidebar .kp-article-list-widget .older-post li .entry-thumb{width:96px!important;margin:0 14px 0 0!important;border-radius:var(--an-r-sm)}
.an-rd .sidebar .kp-article-list-widget .older-post li .entry-thumb img{aspect-ratio:4/3;object-fit:cover;height:auto}
.an-rd .sidebar .kp-article-list-widget .older-post li .entry-title{font-size:15px!important;line-height:1.3!important;margin:0 0 4px!important}
.an-rd .sidebar .kp-article-list-widget .older-post li .entry-content p{display:none}
.an-rd .sidebar .kp-article-list-widget .older-post li .entry-date{display:block;font-size:12px}
.an-rd .sidebar .kp-small-list-widget ul li .entry-thumb{width:96px;border-radius:var(--an-r-sm)}
.an-rd .sidebar .kp-small-list-widget ul li .entry-title{font-size:15px;line-height:1.3}

/* хмара тегів -> рівні чипи */
.an-rd .tagcloud{display:flex;flex-wrap:wrap;gap:6px}
.an-rd .tagcloud a{
  font-size:13px!important;line-height:1!important;display:inline-block;padding:8px 12px;margin:0!important;
  border-radius:var(--an-r-sm);background:#fff;border:1px solid var(--an-line);color:var(--an-ink-2)!important;font-weight:500;
  transition:border-color .2s ease,color .2s ease,background .2s ease;
}
.an-rd .tagcloud a:hover{border-color:var(--an-blue);color:var(--an-blue)!important;background:var(--an-blue-soft)}

/* ---------- підвал ---------- */
.an-rd #bottom-sidebar{background:#fff;border-top:1px solid var(--an-line)}
.an-rd #footer-menu li a{font-size:13px;font-weight:500}
.an-rd #kp-page-footer{background:var(--an-ink);color:rgba(255,255,255,.7)}
.an-rd .b-bottom-sidebar .widget-title{color:var(--an-ink)!important}

/* ---------- планшет і телефон: лише типографіка й повітря ---------- */
@media only screen and (max-width:799px){
  .an-rd #main-content > .wrapper{border-radius:0;margin-top:0;box-shadow:none}
  .an-rd .entry-box > header .entry-title,.an-rd .entry-box h1.entry-title{font-size:28px!important;line-height:1.18!important}
  .an-rd .elements-box{font-size:17px;line-height:1.68}
  .an-rd .elements-box h2{font-size:23px}
  .an-rd .main-col .entry-list .entry-title{font-size:20px!important}
  .an-rd .home-slider .flex-caption h2{font-size:21px!important}
}

@media (prefers-reduced-motion:reduce){
  .an-rd .entry-thumb img{transition:none}
  .an-rd .entry-item:hover .entry-thumb img{transform:none}
}

/* ---------- шапка: логотип і смужка-біжучий рядок ---------- */
.an-rd #header-middle{background:#fff;padding:6px 0}
.an-rd #header-bottom{background:#fff;border-top:1px solid var(--an-line);border-bottom:1px solid var(--an-line)}
.an-rd #header-bottom .wrapper{border:0!important}
.an-rd .kp-headline-wrapper{border:0!important}
.an-rd .kp-headline-title{
  border:0!important;margin:7px 14px 0 0!important;
  background:var(--an-blue);color:#fff!important;border-radius:var(--an-r-sm);
  font-size:11px!important;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1!important;padding:8px 11px!important;
}
.an-rd .kp-headline dd a,.an-rd .ticker-1 dd a{color:var(--an-ink)!important;font-size:14px;font-weight:500}
.an-rd .kp-headline dd a:hover{color:var(--an-blue)!important}

/* ---------- головна: блоки рубрик у лівій колонці на широких екранах ---------- */
@media only screen and (min-width:1300px){
  .an-rd .widget-area-1 .kp-article-list-widget .entry-item{width:236px;margin-right:22px}
  .an-rd .widget-area-1 .kp-article-list-widget .older-post{width:300px}
  .an-rd .widget-area-1 .kp-small-list-widget ul li{width:262px}
}
.an-rd .widget-area-1 .kp-article-list-widget .entry-item .entry-title{font-size:19px!important;line-height:1.25!important;margin:0 0 6px}
.an-rd .widget-area-1 .kp-article-list-widget .entry-item .entry-thumb img{aspect-ratio:4/3;object-fit:cover;height:auto}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li{padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--an-line)}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li:last-child{border-bottom:0;margin-bottom:0}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li .entry-thumb{width:104px;margin:0 14px 0 0;border-radius:var(--an-r-sm)}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li .entry-thumb img{aspect-ratio:4/3;object-fit:cover;height:auto}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li .entry-content .entry-title{font-size:15px!important;line-height:1.3!important}
.an-rd .widget-area-1 .kp-article-list-widget .older-post li .entry-content p{font-size:13px;line-height:1.45;color:var(--an-mute);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.an-rd .widget-area-1 .kp-article-list-widget .entry-item .entry-content p{font-size:14px;line-height:1.5}

/* «Стрічка новин»: однакові мініатюри */
.an-rd .widget-area-3 .kp-small-list-widget ul li .entry-thumb img{aspect-ratio:4/3;object-fit:cover;height:auto}
.an-rd .widget-area-3 .kp-small-list-widget ul li .entry-content p{font-size:14px;line-height:1.5}
.an-rd .kp-featured-news-widget .entry-thumb img{aspect-ratio:4/3;object-fit:cover;height:auto}

/* ---------- стаття: бокова панель іде за скролом (desktop) ---------- */
@media only screen and (min-width:980px){
  .an-rd:is(.single,.archive,.search) #main-content > .wrapper{display:flex;align-items:flex-start}
  .an-rd:is(.single,.archive,.search) #main-content > .wrapper > .main-col{flex:0 0 auto;float:none}
  .an-rd:is(.single,.archive,.search) #main-content > .wrapper > .sidebar{flex:0 0 auto;float:none;position:sticky;top:var(--an-stick,16px);align-self:flex-start}
  .an-rd:is(.single,.archive,.search) #main-content > .wrapper > .clear{display:none}
}

/* ---------- 2.0.1: логотипи марок у хмарі тегів ---------- */
.an-rd .tagcloud a.an-logo{display:inline-flex;align-items:center;gap:7px}
.an-rd .tagcloud a.an-logo:before{content:"";flex:0 0 16px;width:16px;height:16px;background:currentColor;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;opacity:.85}
.an-rd .tagcloud a.an-logo:hover:before{opacity:1}
.an-rd .an-logo-astonmartin:before{-webkit-mask-image:url(logos/astonmartin.svg);mask-image:url(logos/astonmartin.svg)}
.an-rd .an-logo-audi:before{-webkit-mask-image:url(logos/audi.svg);mask-image:url(logos/audi.svg)}
.an-rd .an-logo-bentley:before{-webkit-mask-image:url(logos/bentley.svg);mask-image:url(logos/bentley.svg)}
.an-rd .an-logo-bmw:before{-webkit-mask-image:url(logos/bmw.svg);mask-image:url(logos/bmw.svg)}
.an-rd .an-logo-bugatti:before{-webkit-mask-image:url(logos/bugatti.svg);mask-image:url(logos/bugatti.svg)}
.an-rd .an-logo-byd:before{-webkit-mask-image:url(logos/byd.svg);mask-image:url(logos/byd.svg)}
.an-rd .an-logo-cadillac:before{-webkit-mask-image:url(logos/cadillac.svg);mask-image:url(logos/cadillac.svg)}
.an-rd .an-logo-chery:before{-webkit-mask-image:url(logos/chery.svg);mask-image:url(logos/chery.svg)}
.an-rd .an-logo-chevrolet:before{-webkit-mask-image:url(logos/chevrolet.svg);mask-image:url(logos/chevrolet.svg)}
.an-rd .an-logo-ferrari:before{-webkit-mask-image:url(logos/ferrari.svg);mask-image:url(logos/ferrari.svg)}
.an-rd .an-logo-fiat:before{-webkit-mask-image:url(logos/fiat.svg);mask-image:url(logos/fiat.svg)}
.an-rd .an-logo-ford:before{-webkit-mask-image:url(logos/ford.svg);mask-image:url(logos/ford.svg)}
.an-rd .an-logo-geely:before{-webkit-mask-image:url(logos/geely.svg);mask-image:url(logos/geely.svg)}
.an-rd .an-logo-generalmotors:before{-webkit-mask-image:url(logos/generalmotors.svg);mask-image:url(logos/generalmotors.svg)}
.an-rd .an-logo-honda:before{-webkit-mask-image:url(logos/honda.svg);mask-image:url(logos/honda.svg)}
.an-rd .an-logo-hyundai:before{-webkit-mask-image:url(logos/hyundai.svg);mask-image:url(logos/hyundai.svg)}
.an-rd .an-logo-jeep:before{-webkit-mask-image:url(logos/jeep.svg);mask-image:url(logos/jeep.svg)}
.an-rd .an-logo-kia:before{-webkit-mask-image:url(logos/kia.svg);mask-image:url(logos/kia.svg)}
.an-rd .an-logo-lamborghini:before{-webkit-mask-image:url(logos/lamborghini.svg);mask-image:url(logos/lamborghini.svg)}
.an-rd .an-logo-mazda:before{-webkit-mask-image:url(logos/mazda.svg);mask-image:url(logos/mazda.svg)}
.an-rd .an-logo-mercedes:before{-webkit-mask-image:url(logos/mercedes.svg);mask-image:url(logos/mercedes.svg)}
.an-rd .an-logo-mitsubishi:before{-webkit-mask-image:url(logos/mitsubishi.svg);mask-image:url(logos/mitsubishi.svg)}
.an-rd .an-logo-nissan:before{-webkit-mask-image:url(logos/nissan.svg);mask-image:url(logos/nissan.svg)}
.an-rd .an-logo-porsche:before{-webkit-mask-image:url(logos/porsche.svg);mask-image:url(logos/porsche.svg)}
.an-rd .an-logo-renault:before{-webkit-mask-image:url(logos/renault.svg);mask-image:url(logos/renault.svg)}
.an-rd .an-logo-rollsroyce:before{-webkit-mask-image:url(logos/rollsroyce.svg);mask-image:url(logos/rollsroyce.svg)}
.an-rd .an-logo-skoda:before{-webkit-mask-image:url(logos/skoda.svg);mask-image:url(logos/skoda.svg)}
.an-rd .an-logo-subaru:before{-webkit-mask-image:url(logos/subaru.svg);mask-image:url(logos/subaru.svg)}
.an-rd .an-logo-tesla:before{-webkit-mask-image:url(logos/tesla.svg);mask-image:url(logos/tesla.svg)}
.an-rd .an-logo-toyota:before{-webkit-mask-image:url(logos/toyota.svg);mask-image:url(logos/toyota.svg)}
.an-rd .an-logo-volkswagen:before{-webkit-mask-image:url(logos/volkswagen.svg);mask-image:url(logos/volkswagen.svg)}
.an-rd .an-logo-volvo:before{-webkit-mask-image:url(logos/volvo.svg);mask-image:url(logos/volvo.svg)}
.an-rd .an-logo-xiaomi:before{-webkit-mask-image:url(logos/xiaomi.svg);mask-image:url(logos/xiaomi.svg)}

/* ===== 2.1 (живе з 2026-09-25): липке меню, прогрес читання, рубрики сіткою, картки навігації, темний підвал ===== */
/* Autonews — ДИЗАЙН 2.1 (прев'ю: ?an_design=1). Шар поверх 2.0, усе під body.an-rd */

/* ---------- 1. «Липке» меню при прокрутці (клас ставить an-next.js) ---------- */
.an-rd.an-nav-fixed #header-top{
  position:fixed;top:0;left:0;right:0;z-index:60;
  box-shadow:0 6px 18px rgba(12,34,58,.18);
  animation:an-nav-in .25s ease-out;
}
.an-rd.an-nav-fixed .kp-page-header{padding-top:var(--an-navh,44px)}
@keyframes an-nav-in{from{transform:translateY(-100%)}to{transform:none}}
.admin-bar.an-rd.an-nav-fixed #header-top{top:32px}

/* ---------- 2. Прогрес читання статті ---------- */
.an-progress{position:fixed;left:0;top:0;height:3px;width:100%;z-index:70;pointer-events:none;
  background:linear-gradient(90deg,#1e6fb8,#3a8fd6);transform-origin:0 50%;transform:scaleX(0)}
.admin-bar .an-progress{top:32px}

/* ---------- 3. Рубрика / архів: головна картка + сітка 2 колонки ---------- */
@media only screen and (min-width:800px){
  .an-rd:is(.archive,.search) .main-col .entry-list{display:grid!important;grid-template-columns:1fr 1fr;gap:30px 28px;height:auto!important;margin:0 0 28px}
  .an-rd:is(.archive,.search) .main-col .entry-list > li{
    position:static!important;left:auto!important;top:auto!important;transform:none!important;
    width:auto!important;float:none!important;margin:0!important;padding:0!important;border:0!important;
  }
  .an-rd:is(.archive,.search) .main-col .entry-list > li .entry-item{border:0!important;padding:0!important}
  .an-rd:is(.archive,.search) .main-col .entry-list .entry-thumb{float:none!important;width:100%!important;max-width:none!important;margin:0 0 14px!important}
  .an-rd:is(.archive,.search) .main-col .entry-list .entry-thumb img{aspect-ratio:16/10;object-fit:cover;width:100%;height:auto}
  .an-rd:is(.archive,.search) .main-col .entry-list .entry-title{font-size:20px!important;line-height:1.28!important}
  /* перша новина — головна, на всю ширину */
  .an-rd:is(.archive,.search) .main-col .entry-list > li:first-child{grid-column:1/-1}
  .an-rd:is(.archive,.search) .main-col .entry-list > li:first-child .entry-thumb img{aspect-ratio:21/10}
  .an-rd:is(.archive,.search) .main-col .entry-list > li:first-child .entry-title{font-size:32px!important;line-height:1.15!important;letter-spacing:-.02em}
  .an-rd:is(.archive,.search) .main-col .entry-list > li:first-child .entry-content p{font-size:17px;max-width:62ch}
}
.an-rd:is(.archive,.search) .main-col .entry-list .more-link{display:none!important}
.an-rd:is(.archive,.search) .main-col .entry-list .entry-content p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

/* ---------- 4. Стаття: навігація, теги, автор, схожі ---------- */
.an-rd .entry-box > footer{display:grid;grid-template-columns:1fr 1fr;gap:14px;border:0!important;padding:0!important;margin:34px 0 20px!important}
.an-rd .entry-box > footer p{margin:0!important;padding:16px 18px;border-radius:12px;background:var(--an-bg);transition:background .2s ease,transform .2s ease;float:none!important;width:auto!important}
.an-rd .entry-box > footer p:hover{background:var(--an-blue-soft);transform:translateY(-2px)}
.an-rd .entry-box > footer p > a:first-child{display:block;font-size:12px!important;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--an-mute)!important;margin-bottom:6px}
.an-rd .entry-box > footer p a.article-title{display:block;font-size:16px!important;font-weight:600;line-height:1.35;color:var(--an-ink)!important}
.an-rd .entry-box > footer p.next-post{text-align:right}
.an-rd .entry-box > footer p:only-child{grid-column:1/-1}

.an-rd .tag-box{display:flex;flex-wrap:wrap;align-items:center;gap:8px;border:0!important;padding:0!important;margin:0 0 28px!important}
.an-rd .tag-box > span{font-size:13px;font-weight:600;color:var(--an-mute);margin-right:4px}
.an-rd .tag-box a{margin:0!important}

.an-rd .about-author{background:var(--an-bg);border:0!important;border-radius:14px;padding:22px 24px!important;margin:0 0 30px!important}
.an-rd .about-author > h3{font-size:12px!important;letter-spacing:.09em;text-transform:uppercase;color:var(--an-mute)!important;margin:0 0 12px!important;font-weight:700}
.an-rd .about-author .avatar-thumb img{width:72px!important;height:72px!important;border-radius:50%;object-fit:cover}
.an-rd .about-author .author-name{font-size:18px!important;font-weight:700;color:var(--an-ink)!important}
.an-rd .about-author .author-content p{font-size:15px;line-height:1.6;color:var(--an-ink-2)}

.an-rd .kopa-related-post{border:0!important;padding:0!important}
.an-rd .kopa-related-post > h3{position:relative;font-size:13px!important;letter-spacing:.09em;text-transform:uppercase;color:var(--an-ink)!important;padding:0 0 12px;margin:0 0 18px!important;border-bottom:1px solid var(--an-line)}
.an-rd .kopa-related-post > h3:after{content:"";position:absolute;left:0;bottom:-1px;width:36px;height:3px;border-radius:2px;background:var(--an-blue)}
.an-rd .kopa-related-post ul{display:grid!important;grid-template-columns:1fr 1fr;gap:16px 24px;margin:0 0 20px!important;padding:0!important}
.an-rd .kopa-related-post ul > li{float:none!important;width:auto!important;margin:0!important;padding:0!important;border:0!important;list-style:none}
.an-rd .kopa-related-post ul > .clear,.an-rd .kopa-related-post ul > div.clear{display:none}
.an-rd .kopa-related-post .entry-item{display:flex;gap:14px;align-items:flex-start}
.an-rd .kopa-related-post .entry-thumb{flex:0 0 88px;width:88px!important;margin:0!important;border-radius:10px}
.an-rd .kopa-related-post .entry-thumb img{aspect-ratio:1/1;object-fit:cover}
.an-rd .kopa-related-post .entry-content{flex:1;min-width:0}
.an-rd .kopa-related-post .entry-title{font-size:15px!important;line-height:1.35!important;margin:0 0 4px!important}

/* ---------- 5. Смуга «Статті» перед підвалом ---------- */
.an-rd .widget-area-11{background:#fff;border-top:1px solid var(--an-line);padding:34px 0 16px}
.an-rd .widget-area-11 .wrapper{border:0!important}
.an-rd .widget-area-11 .entry-title{font-size:15px!important;line-height:1.3!important}
.an-rd .widget-area-11 .entry-thumb img{aspect-ratio:4/3;object-fit:cover;height:auto}

/* ---------- 6. Темний підвал ---------- */
.an-rd #bottom-sidebar{background:#0f1a26!important;border:0!important;color:rgba(255,255,255,.72);padding:34px 0 10px}
.an-rd #bottom-sidebar .wrapper{border:0!important}
.an-rd #bottom-sidebar .t-bottom-sidebar{border-color:rgba(255,255,255,.12)!important;padding-bottom:22px;margin-bottom:26px}
.an-rd #bottom-sidebar .footer-logo img{filter:brightness(0) invert(1);opacity:.95}
.an-rd #footer-menu li a{color:rgba(255,255,255,.78)!important;font-size:13px}
.an-rd #footer-menu li a:hover{color:#fff!important}
.an-rd #footer-menu li{border-color:rgba(255,255,255,.12)!important}
.an-rd #bottom-sidebar .widget-title,.an-rd .b-bottom-sidebar .widget-title{color:#fff!important}
.an-rd #bottom-sidebar .widget-title:after{background:rgba(255,255,255,.14)}
.an-rd #bottom-sidebar .widget-title:before{background:#4b9be0}
.an-rd #bottom-sidebar p,.an-rd #bottom-sidebar .textwidget{color:rgba(255,255,255,.72)!important;font-size:14px;line-height:1.65}
.an-rd #bottom-sidebar a{color:#9fcbf2!important}
.an-rd #bottom-sidebar a:hover{color:#fff!important}
.an-rd #bottom-sidebar strong{color:#fff}
.an-rd #kp-page-footer{background:#0a121b!important;color:rgba(255,255,255,.55)!important;border:0!important;font-size:13px;padding:16px 0}
.an-rd #kp-page-footer #copyright{color:rgba(255,255,255,.55)!important}

/* ---------- 7. Дрібниці ---------- */
.an-rd .entry-box .elements-box > p:first-of-type strong:first-child{color:var(--an-ink)}
.an-rd ::selection{background:#cfe3f6;color:var(--an-ink)}

@media only screen and (max-width:799px){
  .an-rd .entry-box > footer{grid-template-columns:1fr}
  .an-rd .entry-box > footer p.next-post{text-align:left}
  .an-rd .kopa-related-post ul{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){
  .an-rd.an-nav-fixed #header-top{animation:none}
}

/* виправлення: clearfix-псевдоелементи не мають ставати комірками сітки */
.an-rd .kopa-related-post ul:before,.an-rd .kopa-related-post ul:after,
.an-rd:is(.archive,.search) .main-col .entry-list:before,.an-rd:is(.archive,.search) .main-col .entry-list:after{content:none!important;display:none!important}
.an-rd .kopa-related-post > h3{background:none!important;color:var(--an-ink)!important;padding-left:0!important;padding-right:0!important;height:auto!important;line-height:1.2!important}
.an-rd .entry-box > footer:before,.an-rd .entry-box > footer:after,.an-rd .tag-box:before,.an-rd .tag-box:after{content:none!important;display:none!important}
.an-rd .entry-box > footer p.prev-post{text-align:left}
.an-rd .about-author .about-author-detail{border:0!important;padding:0!important;background:none!important;display:flex;gap:18px;align-items:flex-start}
.an-rd .about-author .about-author-detail:before,.an-rd .about-author .about-author-detail:after{content:none!important;display:none!important}
.an-rd .about-author .avatar-thumb{float:none!important;flex:0 0 72px;margin:0!important}
.an-rd .about-author .author-content{flex:1;min-width:0;margin:0!important}

/* 2.1.1: однакова висота прев'ю в блоках (ручні анонси виводились повністю) — заголовок до 3 рядків, анонс до 3 */
.an-rd .widget .entry-item .entry-title,
.an-rd .widget .entry-item .entry-title a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
.an-rd .widget .entry-item .entry-content > p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}

/* ===== 2.2 (живе з 2026-09-25): мегаменю «Новини» / «Статті» (autonews-megamenu.php) ===== */

/* ===== 2.2: мегаменю «Новини» / «Статті» (десктоп ≥980px) ===== */
.an-rd .an-mega{display:none}
@media (min-width:980px){
  .an-rd #header-top .wrapper,.an-rd #main-nav{position:static}
  .an-rd #header-top{position:relative;z-index:1000}
  .an-rd.an-nav-fixed #header-top{position:fixed}
  .an-rd #main-menu > li.an-has-mega{position:static}
  .an-rd #main-menu > li.an-has-mega > ul.sub-menu{display:none!important}
  .an-rd #main-menu > li.an-has-mega > a:after{content:"";display:inline-block;width:6px;height:6px;margin:0 0 3px 8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.75;transition:transform .2s}
  .an-rd #main-menu > li.an-has-mega:hover > a:after,.an-rd #main-menu > li.an-has-mega:focus-within > a:after{transform:rotate(-135deg);margin-bottom:-1px}
  .an-rd .an-mega{display:block;position:absolute;left:0;right:0;top:100%;padding-top:0;visibility:hidden;opacity:0;transform:translateY(6px);transition:opacity .18s ease,transform .18s ease,visibility 0s linear .18s;pointer-events:none}
  .an-rd #main-menu > li.an-has-mega:hover > .an-mega,
  .an-rd #main-menu > li.an-has-mega:focus-within > .an-mega{visibility:visible;opacity:1;transform:none;transition-delay:.08s,.08s,0s;pointer-events:auto}
  .an-rd .an-mega-in{max-width:1280px;margin:0 auto;box-sizing:border-box;background:var(--an-card);border-radius:0 0 var(--an-r-lg) var(--an-r-lg);box-shadow:0 18px 40px rgba(18,38,63,.18);border-top:3px solid var(--an-blue-d);display:grid;grid-template-columns:minmax(0,1fr) 320px;text-align:left}
  .an-rd .an-mega-main{padding:24px 28px 26px}
  .an-rd .an-mega-side{padding:24px 26px 22px;background:var(--an-bg);border-radius:0 0 var(--an-r-lg) 0;display:flex;flex-direction:column}
  .an-rd .an-mega-h{font:700 12px/1 var(--an-font);letter-spacing:.08em;text-transform:uppercase;color:var(--an-mute);margin:0 0 16px}
  .an-rd .an-mega a{text-decoration:none!important;color:var(--an-ink);font-family:var(--an-font);text-transform:none;letter-spacing:0;padding:0;background:none;float:none;line-height:1.3}
  .an-rd .an-mega-thumb{display:block;overflow:hidden;border-radius:var(--an-r);background:var(--an-line)}
  .an-rd .an-mega-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
  .an-rd .an-mega-txt{display:flex;flex-direction:column;gap:6px;min-width:0}
  .an-rd .an-mega-t{font-weight:650;font-size:15px;line-height:1.3;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
  .an-rd .an-mega-d{font-size:12.5px;color:var(--an-mute);font-weight:500}
  .an-rd .an-mega a:hover .an-mega-t{color:var(--an-blue)}
  .an-rd .an-mega a:hover .an-mega-thumb img{transform:scale(1.05)}
  /* Новини: 4 картки */
  .an-rd .an-mega-grid4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
  .an-rd .an-mega-card{display:flex;flex-direction:column;gap:10px}
  .an-rd .an-mega-card .an-mega-thumb{aspect-ratio:16/10}
  /* марки */
  .an-rd .an-mega-brands{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
  .an-rd .an-mega a.an-mega-brand{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;height:66px;background:var(--an-card);border:1px solid var(--an-line);border-radius:var(--an-r);font-size:12px;font-weight:600;color:var(--an-ink-2);transition:border-color .15s,color .15s,box-shadow .15s}
  .an-rd .an-mega a.an-mega-brand:before{content:"";width:24px;height:24px;background:currentColor;-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center}
  .an-rd .an-mega a.an-mega-brand:hover{border-color:var(--an-blue);color:var(--an-blue);box-shadow:0 4px 12px rgba(30,111,184,.12)}
  .an-rd .an-mega a.an-mega-all{margin-top:auto;padding-top:16px;font-weight:700;font-size:14px;color:var(--an-blue)}
  .an-rd .an-mega a.an-mega-all span{display:inline-block;transition:transform .15s}
  .an-rd .an-mega a.an-mega-all:hover span{transform:translateX(4px)}
  /* Статті: рубрики */
  .an-rd .an-mega-cats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 16px}
  .an-rd .an-mega a.an-mega-cat{display:flex;align-items:center;gap:14px;padding:10px 12px;border-radius:var(--an-r);transition:background .15s}
  .an-rd .an-mega a.an-mega-cat:hover{background:var(--an-blue-soft)}
  .an-rd .an-mega-ic{flex:0 0 42px;height:42px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--an-blue-soft);color:var(--an-blue);transition:background .15s,color .15s}
  .an-rd .an-mega a.an-mega-cat:hover .an-mega-ic{background:var(--an-blue);color:#fff}
  .an-rd .an-mega-cat .an-mega-t{font-size:15px;-webkit-line-clamp:1}
  .an-rd .an-mega-cat .an-mega-txt{gap:2px}
  /* Статті: нові статті рядками */
  .an-rd .an-mega-list{display:flex;flex-direction:column;gap:14px}
  .an-rd .an-mega a.an-mega-row{display:flex;gap:12px;align-items:flex-start}
  .an-rd .an-mega-row .an-mega-thumb{flex:0 0 92px;height:62px}
  .an-rd .an-mega-row .an-mega-t{font-size:14px}
}
@media (min-width:980px){
  .an-rd .an-mega-more{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;margin-top:22px;padding-top:14px;border-top:1px solid var(--an-line)}
  .an-rd .an-mega-more a{display:flex;gap:12px;align-items:baseline;padding:9px 0;border-bottom:1px dashed var(--an-line)}
  .an-rd .an-mega-more .an-mega-d{flex:0 0 38px;font-weight:700;color:var(--an-blue)}
  .an-rd .an-mega-more .an-mega-t{font-size:14.5px;font-weight:600;-webkit-line-clamp:1}
}
/* 2.2.1: стрілка й біля «Статті» — superfish додає .sf-with-ul зі своїм :after (absolute, border-width:0) */
@media (min-width:980px){
  .an-rd #main-menu > li.an-has-mega > a.sf-with-ul{padding-right:16px}
  .an-rd #main-menu > li.an-has-mega > a.sf-with-ul:after{position:static;top:auto;right:auto;margin:0 0 3px 8px;border-style:solid;border-color:currentColor;border-width:0 2px 2px 0;border-top-color:currentColor}
  .an-rd #main-menu > li.an-has-mega:hover > a.sf-with-ul:after,.an-rd #main-menu > li.an-has-mega:focus-within > a.sf-with-ul:after{margin-bottom:-1px}
}

/* 2.2.2: email не розривати на дефісі (ua-vip@ukr.net у підвалі) */
.an-rd a[href^="mailto:"]{white-space:nowrap}

/* 2.2.3: підвал на телефоні — одна колонка, меню чипами замість select теми (#responsive-menu) */
@media only screen and (max-width:799px){
  .an-rd #bottom-sidebar .b-bottom-sidebar .row > [class*="col-"]{width:100%!important;float:none!important;padding-left:15px;padding-right:15px}
  .an-rd #bottom-sidebar .b-bottom-sidebar .row > [class*="col-"] + [class*="col-"]{margin-top:22px}
  .an-rd #bottom-sidebar .b-bottom-sidebar .row > [class*="col-"]:empty{display:none}
  .an-rd #responsive-menu{display:none!important}
  .an-rd .t-bottom-sidebar #footer-menu{display:flex!important;flex-wrap:wrap;gap:8px;float:none!important;margin:16px 0 0!important;padding:0!important}
  .an-rd .t-bottom-sidebar #footer-menu li{float:none!important;margin:0!important;padding:0!important;background:none!important;border:0!important}
  .an-rd .t-bottom-sidebar #footer-menu li a{display:block;padding:8px 12px!important;border:1px solid rgba(255,255,255,.18);border-radius:999px;font-size:13px;line-height:1.2;white-space:nowrap}
  .an-rd .t-bottom-sidebar #footer-menu li a:hover{border-color:rgba(255,255,255,.5)}
  .an-rd .t-bottom-sidebar .footer-logo{float:none!important}
}
@media only screen and (max-width:799px){.an-rd .t-bottom-sidebar #footer-menu:before,.an-rd .t-bottom-sidebar #footer-menu:after{content:none!important;display:none!important}}

/* ===== 2.3 етап 1 (живе з 2026-09-26): нова шапка (autonews-header.php) ===== */

/* ===== 2.3 етап 1: шапка — бургер/тема | логотип по центру | УКР·РУС/пошук; меню під нею; без біжучого рядка ===== */
.an-rd.an-hdr .kp-page-header{display:flex;flex-direction:column}
.an-rd.an-hdr #header-middle{order:1;background:var(--an-card);border-bottom:1px solid var(--an-line)}
.an-rd.an-hdr #header-top{order:2}
.an-rd.an-hdr #header-bottom{display:none!important}
.an-rd.an-hdr #header-middle .wrapper{display:grid!important;grid-template-columns:1fr auto 1fr;align-items:center;min-height:84px;padding-top:10px;padding-bottom:10px}
.an-rd.an-hdr #header-middle .wrapper:before,.an-rd.an-hdr #header-middle .wrapper:after{content:none!important;display:none!important}
.an-rd.an-hdr #header-middle .logo-image{float:none!important;grid-column:2;justify-self:center;margin:0!important;padding:0!important}
.an-rd.an-hdr #header-middle .logo-image img{display:block;max-height:46px;width:auto}
.an-rd.an-hdr #header-middle .top-banner{display:none!important}
.an-rd .an-hdr-left{grid-column:1;grid-row:1;display:flex;align-items:center;gap:6px;justify-self:start}
.an-rd .an-hdr-right{grid-column:3;grid-row:1;display:flex;align-items:center;gap:10px;justify-self:end}
.an-rd .an-hdr-btn{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:var(--an-ink);width:42px;height:42px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s,color .15s}
.an-rd .an-hdr-btn:hover{background:var(--an-blue-soft);color:var(--an-blue)}
.an-rd .an-hdr-btn:focus-visible{outline:2px solid var(--an-blue);outline-offset:2px}
.an-rd .an-burger{flex-direction:column;gap:5px}
.an-rd .an-burger span{display:block;width:22px;height:2px;border-radius:2px;background:currentColor;transition:transform .2s,opacity .2s}
.an-rd.an-drawer-open .an-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.an-rd.an-drawer-open .an-burger span:nth-child(2){opacity:0}
.an-rd.an-drawer-open .an-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.an-rd .an-theme-toggle svg:nth-child(2){display:none}
html[data-theme="dark"] .an-rd .an-theme-toggle svg:nth-child(1){display:none}
html[data-theme="dark"] .an-rd .an-theme-toggle svg:nth-child(2){display:inline}
.an-rd .an-lang{display:flex;align-items:center;gap:2px;font:700 13px/1 var(--an-font);letter-spacing:.04em}
.an-rd .an-lang a,.an-rd .an-lang span{padding:8px 8px;border-radius:8px;color:var(--an-mute);text-decoration:none!important}
.an-rd .an-lang a.is-active{color:var(--an-ink)}
.an-rd .an-lang a.is-active:after{content:"";display:block;height:2px;background:var(--an-blue);border-radius:2px;margin-top:4px}
.an-rd .an-lang-soon{opacity:.45;cursor:default}
/* меню під шапкою — по центру, пошук переїхав у панель */
@media (min-width:980px){
  .an-rd.an-hdr #header-top .wrapper{display:flex;justify-content:center}
  .an-rd.an-hdr #main-nav{float:none!important}
  .an-rd.an-hdr #header-top .search-box{display:none!important}
}
/* телефон/планшет: меню ховаємо — його замінює бургер */
@media (max-width:979px){
  .an-rd.an-hdr #header-top{display:none!important}
  .an-rd.an-hdr #header-middle .wrapper{min-height:64px;padding-left:8px;padding-right:8px}
  .an-rd.an-hdr #header-middle .logo-image img{max-height:34px}
  .an-rd .an-hdr-btn{width:40px;height:40px}
  .an-rd .an-lang a,.an-rd .an-lang span{padding:6px 5px;font-size:12px}
  .an-rd .an-hdr-right{gap:2px}
}
@media (max-width:420px){.an-rd .an-lang-soon{display:none}.an-rd .an-lang a.is-active:after{display:none}}
/* висувна панель */
.an-rd .an-drawer-overlay{position:fixed;inset:0;background:rgba(10,20,32,.45);z-index:10000;opacity:0;transition:opacity .25s}
.an-rd .an-drawer{position:fixed;top:0;left:0;bottom:0;width:min(360px,88vw);background:var(--an-card);z-index:10001;box-shadow:12px 0 40px rgba(10,20,32,.2);transform:translateX(-100%);transition:transform .25s ease;display:flex;flex-direction:column;overflow-y:auto;font-family:var(--an-font)}
.an-rd.an-drawer-open .an-drawer{transform:none}
.an-rd.an-drawer-open .an-drawer-overlay{opacity:1}
.an-rd .an-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:14px 14px 6px 20px}
.an-rd .an-drawer-title{font:700 12px/1 var(--an-font);letter-spacing:.08em;text-transform:uppercase;color:var(--an-mute)}
.an-rd .an-drawer-search{display:flex;margin:8px 16px 14px;border:1px solid var(--an-line);border-radius:12px;overflow:hidden;background:var(--an-bg)}
.an-rd .an-drawer-search input{flex:1;border:0!important;background:transparent!important;padding:12px 14px!important;font:500 15px var(--an-font);color:var(--an-ink);min-width:0;box-shadow:none!important;height:auto!important}
.an-rd .an-drawer-search button{border:0;background:var(--an-blue);color:#fff;width:48px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.an-rd .an-drawer-nav ul{list-style:none;margin:0;padding:0}
.an-rd .an-drawer-nav > ul > li{border-top:1px solid var(--an-line)}
.an-rd .an-drawer-nav > ul > li > a{display:block;padding:13px 20px;font:700 15px/1.2 var(--an-font);color:var(--an-ink);text-decoration:none!important}
.an-rd .an-drawer-nav .sub-menu{padding:0 12px 10px 20px!important;display:flex!important;flex-wrap:wrap;gap:6px;position:static!important;visibility:visible!important;opacity:1!important;background:none!important;box-shadow:none!important;width:auto!important}
.an-rd .an-drawer-nav .sub-menu li{border:0}
.an-rd .an-drawer-nav .sub-menu a{display:block;padding:7px 11px;border-radius:999px;background:var(--an-bg);font:600 13px/1.1 var(--an-font);color:var(--an-ink-2);text-decoration:none!important}
.an-rd .an-drawer-nav a:hover{color:var(--an-blue)}
.an-rd.an-drawer-open{overflow:hidden}
/* автореклама Google, вставлена в шапку, — під меню, а не над логотипом */
.an-rd.an-hdr .kp-page-header > *:not(#header-middle):not(#header-top){order:3}
.an-rd .an-drawer-nav li{list-style:none!important;background:none!important;padding-left:0!important;margin:0!important}
.an-rd .an-drawer-nav li:before,.an-rd .an-drawer-nav li:after,.an-rd .an-drawer-nav ul:before,.an-rd .an-drawer-nav ul:after{content:none!important;display:none!important}
.an-rd .an-drawer-search{display:flex!important;height:48px;align-items:stretch;flex:0 0 auto}
.an-rd .an-drawer-search input[type=search]{display:block!important;width:auto!important;height:48px!important;line-height:48px!important;font-size:15px!important;border-radius:0!important;margin:0!important;outline:none}
.an-rd .an-drawer-search button{height:48px;padding:0!important;margin:0!important;border-radius:0!important}
/* 2.3.1: підпис під логотипом */
.an-rd .an-tagline{margin-top:6px;text-align:center;font:600 11px/1.2 var(--an-font);letter-spacing:.14em;text-transform:uppercase;color:var(--an-mute);white-space:nowrap}
@media (max-width:979px){.an-rd .an-tagline{font-size:9px;letter-spacing:.08em;margin-top:4px}}
@media (max-width:360px){.an-rd .an-tagline{display:none}}
.an-rd .an-tagline:before{content:"Автомобільний новинний портал"}

/* ===== 2.3 етап 2 (живе з 2026-09-26): головна новина на всю ширину замість слайдера (autonews-home.php) ===== */

/* ===== 2.3 етап 2: головна новина замість слайдера (autonews-home.php) ===== */
.an-rd.an-home23 #kopa_widget_flexslider-2{display:none!important}
.an-rd .an-hero{clear:both;width:100%;box-sizing:border-box;padding:28px 26px 0;font-family:var(--an-font)}
.an-rd .an-hero-main{display:grid;grid-template-columns:minmax(0,46%) minmax(0,1fr);gap:clamp(24px,3vw,40px);align-items:center;text-decoration:none!important;color:var(--an-ink);border-radius:12px;transition:transform .15s ease}
.an-rd .an-hero-main:active{transform:translateY(1px)}
.an-rd .an-hero-main:focus-visible,.an-rd .an-hero-list a:focus-visible{outline:2px solid var(--an-blue);outline-offset:4px}
.an-rd .an-hero-pic{position:relative;border-radius:10px;overflow:hidden;aspect-ratio:3/2;background:var(--an-line);box-shadow:0 1px 2px rgba(18,38,63,.06),0 10px 28px -12px rgba(18,38,63,.28)}
.an-rd .an-hero-pic img{display:block;width:100%!important;height:100%!important;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.an-rd .an-hero-main:hover .an-hero-pic img{transform:scale(1.035)}
.an-rd .an-hero-body{padding:4px 0 6px}
.an-rd .an-hero-meta{display:flex;align-items:center;gap:12px;font:600 13px/1 var(--an-font);color:var(--an-mute);margin-bottom:16px;font-variant-numeric:tabular-nums}
.an-rd .an-hero-cat{color:var(--an-blue);font-weight:700;letter-spacing:.07em;text-transform:uppercase;font-size:12px;position:relative;padding-right:12px}
.an-rd .an-hero-cat:after{content:"";position:absolute;right:0;top:50%;width:3px;height:3px;margin-top:-1.5px;border-radius:50%;background:var(--an-mute)}
.an-rd .an-hero-title{font:800 clamp(28px,2.9vw,42px)/1.1 var(--an-font)!important;letter-spacing:-.018em;margin:0 0 16px!important;color:var(--an-ink)!important;text-wrap:balance;transition:color .2s}
.an-rd .an-hero-main:hover .an-hero-title{color:var(--an-blue)!important}
.an-rd .an-hero-exc{max-width:60ch;font-size:16.5px;line-height:1.6;color:var(--an-ink-2);margin:0;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
/* рядок останніх новин */
.an-rd .an-hero-list{list-style:none!important;margin:28px 0 0!important;padding:22px 0 30px!important;border-top:1px solid var(--an-line);border-bottom:1px solid var(--an-line);display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.an-rd .an-hero-list li{list-style:none!important;margin:0!important;padding:0 20px!important;border-left:1px solid var(--an-line);background:none!important}
.an-rd .an-hero-list li:first-child{border-left:0;padding-left:0!important}
.an-rd .an-hero-list li:last-child{padding-right:0!important}
.an-rd .an-hero-list li:before,.an-rd .an-hero-list li:after{content:none!important}
.an-rd .an-hero-list a{display:block;text-decoration:none!important;color:var(--an-ink);border-radius:6px}
.an-rd .an-hero-list time{display:flex;align-items:center;gap:8px;font:600 12px/1 var(--an-font);color:var(--an-mute);margin-bottom:10px;font-variant-numeric:tabular-nums}
.an-rd .an-hero-list time:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--an-blue);flex:0 0 6px}
.an-rd .an-hero-list span{font:650 15.5px/1.35 var(--an-font);letter-spacing:-.003em;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden;transition:color .2s}
.an-rd .an-hero-list a:hover span{color:var(--an-blue)}
@media (max-width:979px){
  .an-rd .an-hero{padding:18px 16px 0}
  .an-rd .an-hero-main{grid-template-columns:1fr;gap:16px}
  .an-rd .an-hero-title{font-size:26px!important}
  .an-rd .an-hero-exc{font-size:15.5px}
  .an-rd .an-hero-list{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;margin-top:20px!important;padding:18px 0 22px!important}
  .an-rd .an-hero-list::-webkit-scrollbar{display:none}
  .an-rd .an-hero-list li{flex:0 0 72%;scroll-snap-align:start}
}
@media (prefers-reduced-motion:reduce){.an-rd .an-hero-pic img,.an-rd .an-hero-main{transition:none}}
/* темна «лід»-смуга в тон підвалу */
.an-rd .an-hero{--hx-bg:#0f1a26;--hx-ink:#f3f6f9;--hx-ink2:#c3ccd6;--hx-mute:#8e9aa8;--hx-line:rgba(255,255,255,.1);--hx-accent:#7db8ee;
  background:radial-gradient(900px 420px at 18% -10%,#1b3148 0%,rgba(27,49,72,0) 70%),radial-gradient(700px 380px at 100% 120%,#14263a 0%,rgba(20,38,58,0) 70%),var(--hx-bg);
  border-radius:var(--an-r-lg) var(--an-r-lg) 0 0;padding:30px 30px 0;margin:0 0 26px;color:var(--hx-ink)}
.an-rd .an-hero-main,.an-rd .an-hero-list a{color:var(--hx-ink)}
.an-rd .an-hero-title{color:var(--hx-ink)!important}
.an-rd .an-hero-main:hover .an-hero-title,.an-rd .an-hero-list a:hover span{color:var(--hx-accent)!important}
.an-rd .an-hero-exc{color:var(--hx-ink2)}
.an-rd .an-hero-meta,.an-rd .an-hero-list time{color:var(--hx-mute)}
.an-rd .an-hero-cat{color:var(--hx-accent)}
.an-rd .an-hero-cat:after{background:var(--hx-mute)}
.an-rd .an-hero-pic{box-shadow:0 0 0 1px rgba(255,255,255,.06),0 18px 40px -16px rgba(0,0,0,.6);background:#1a2a3c}
.an-rd .an-hero-list{border-top-color:var(--hx-line);border-bottom:0}
.an-rd .an-hero-list li{border-left-color:var(--hx-line)}
.an-rd .an-hero-list time:before{background:var(--hx-accent)}
.an-rd .an-hero-main:focus-visible,.an-rd .an-hero-list a:focus-visible{outline-color:var(--hx-accent)}
@media (max-width:979px){.an-rd .an-hero{padding:18px 16px 0;border-radius:0}}
/* у темній темі (етап 3) смуга має бути СВІТЛІШОЮ за тло сторінки, щоб лишатися акцентом і теми не зливались */
html[data-theme="dark"] .an-rd .an-hero{--hx-bg:#1a2c40;background:radial-gradient(900px 420px at 18% -10%,#24405e 0%,rgba(36,64,94,0) 70%),var(--hx-bg);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06)}
/* на всю ширину екрана: смуга поза карткою, вміст — по сітці .wrapper */
.an-rd .an-hero{border-radius:0!important;margin:-8px 0 0!important;padding:0!important;width:100%}
.an-rd .an-hero-in{box-sizing:border-box;padding:34px 26px 0;background:none!important;box-shadow:none!important;border:0!important}
.an-rd .an-hero-in:before,.an-rd .an-hero-in:after{content:none!important;display:none!important}
.an-rd.an-home23 #main-content > .wrapper{margin-top:26px}
@media (max-width:979px){.an-rd .an-hero-in{padding:20px 16px 0}}


/* ===== 2.3 етап 3 (живе з 2026-09-26): темна тема — кнопка і системна. Джерело: /root/an/dark/rules.css (D = префікс) ===== */
html[data-theme="dark"] body.an-rd{color-scheme:dark;--an-ink:#e6ebf1;--an-ink-2:#c1cad4;--an-mute:#8d99a7;--an-line:#233140;--an-bg:#0b1219;--an-card:#121c27;--an-blue:#6cade8;--an-blue-d:#4a92d3;--an-blue-soft:#162739;--an-shadow:0 1px 2px rgba(0,0,0,.45),0 10px 28px rgba(0,0,0,.35);background:var(--an-bg)!important;color:var(--an-ink)}
html[data-theme="dark"] body.an-rd #main-content,html[data-theme="dark"] body.an-rd .kp-page-header{background:transparent}
html[data-theme="dark"] body.an-rd #header-top{background:#12304d!important}
html[data-theme="dark"] body.an-rd #header-middle{background:var(--an-card)!important;border-bottom-color:var(--an-line)!important}
html[data-theme="dark"] body.an-rd .logo-image img{filter:invert(1) hue-rotate(180deg) brightness(1.15)}
html[data-theme="dark"] body.an-rd h1,html[data-theme="dark"] body.an-rd h2,html[data-theme="dark"] body.an-rd h3,html[data-theme="dark"] body.an-rd h4,html[data-theme="dark"] body.an-rd h5,html[data-theme="dark"] body.an-rd h6,html[data-theme="dark"] body.an-rd .entry-title,html[data-theme="dark"] body.an-rd .entry-title a,html[data-theme="dark"] body.an-rd .widget-title,html[data-theme="dark"] body.an-rd .widget-title a{color:var(--an-ink)!important}
html[data-theme="dark"] body.an-rd p,html[data-theme="dark"] body.an-rd li,html[data-theme="dark"] body.an-rd dd,html[data-theme="dark"] body.an-rd dt,html[data-theme="dark"] body.an-rd td,html[data-theme="dark"] body.an-rd th,html[data-theme="dark"] body.an-rd .entry-content,html[data-theme="dark"] body.an-rd .elements-box,html[data-theme="dark"] body.an-rd .entry-date,html[data-theme="dark"] body.an-rd label{color:var(--an-ink-2)}
html[data-theme="dark"] body.an-rd a{color:var(--an-blue)}
html[data-theme="dark"] body.an-rd .entry-title a:hover,html[data-theme="dark"] body.an-rd .widget a:hover{color:var(--an-blue)!important}
html[data-theme="dark"] body.an-rd .widget,html[data-theme="dark"] body.an-rd .widget-area-1,html[data-theme="dark"] body.an-rd .widget-area-2,html[data-theme="dark"] body.an-rd .widget-area-3,html[data-theme="dark"] body.an-rd .widget-area-4,html[data-theme="dark"] body.an-rd .col-a,html[data-theme="dark"] body.an-rd .col-b,html[data-theme="dark"] body.an-rd .main-col,html[data-theme="dark"] body.an-rd .sidebar{background:transparent!important;border-color:var(--an-line)!important}
html[data-theme="dark"] body.an-rd hr,html[data-theme="dark"] body.an-rd .entry-list > li,html[data-theme="dark"] body.an-rd .older-post li,html[data-theme="dark"] body.an-rd .widget li{border-color:var(--an-line)!important}
html[data-theme="dark"] body.an-rd input,html[data-theme="dark"] body.an-rd textarea,html[data-theme="dark"] body.an-rd select{background:var(--an-bg)!important;color:var(--an-ink)!important;border-color:var(--an-line)!important}
html[data-theme="dark"] body.an-rd input::placeholder,html[data-theme="dark"] body.an-rd textarea::placeholder{color:var(--an-mute)!important}
html[data-theme="dark"] body.an-rd .elements-box [style*="background"]:not(.mk-dot):not(.mk-src > div){background:var(--an-blue-soft)!important;color:var(--an-ink-2)!important}
html[data-theme="dark"] body.an-rd .elements-box table,html[data-theme="dark"] body.an-rd .elements-box th,html[data-theme="dark"] body.an-rd .elements-box td{border-color:var(--an-line)!important;background:transparent!important}
html[data-theme="dark"] body.an-rd .elements-box th,html[data-theme="dark"] body.an-rd .elements-box thead td{background:var(--an-blue-soft)!important;color:var(--an-ink)!important}
html[data-theme="dark"] body.an-rd .elements-box strong,html[data-theme="dark"] body.an-rd .elements-box b{color:var(--an-ink)}
html[data-theme="dark"] body.an-rd figcaption,html[data-theme="dark"] body.an-rd .wp-caption-text{color:var(--an-mute)!important}
html[data-theme="dark"] body.an-rd .tagcloud a,html[data-theme="dark"] body.an-rd .widget_categories li a{background:var(--an-blue-soft)!important;color:var(--an-ink-2)!important;border-color:var(--an-line)!important}
html[data-theme="dark"] body.an-rd .breadcrumb,html[data-theme="dark"] body.an-rd .breadcrumb a,html[data-theme="dark"] body.an-rd .kp-breadcrumb,html[data-theme="dark"] body.an-rd .kp-breadcrumb a{color:var(--an-mute)!important}
html[data-theme="dark"] body.an-rd .an-hero{--hx-bg:#172a3e;background:radial-gradient(900px 420px at 18% -10%,#22405f 0%,rgba(34,64,95,0) 70%),var(--hx-bg)!important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.06)}
html[data-theme="dark"] body.an-rd #bottom-sidebar,html[data-theme="dark"] body.an-rd #kp-page-footer{background:#070c12!important}
html[data-theme="dark"] body.an-rd ::selection{background:#27496b;color:#fff}
html[data-theme="dark"] body.an-rd #main-menu > li.current-menu-item > a,html[data-theme="dark"] body.an-rd #main-menu > li.current-menu-parent > a,html[data-theme="dark"] body.an-rd #main-menu > li:hover > a{background:var(--an-card)!important;color:var(--an-ink)!important}
html[data-theme="dark"] body.an-rd .an-hero-main,html[data-theme="dark"] body.an-rd .an-hero-list a,html[data-theme="dark"] body.an-rd .an-hero-list a span{color:var(--hx-ink)!important}
html[data-theme="dark"] body.an-rd .an-hero-list a:hover span,html[data-theme="dark"] body.an-rd .an-hero-main:hover .an-hero-title{color:var(--hx-accent)!important}
html[data-theme="dark"] body.an-rd .ct,html[data-theme="dark"] body.an-rd .mk{--ink:#e6ebf1;--mute:#8d99a7;--line:#233140;--soft:#162739;--b:#6cade8;--bd:#0b1219}
html[data-theme="dark"] body.an-rd .an-about{--an-blue:#6cade8;--an-blue-d:#4a92d3;--an-ink:#e6ebf1;--an-line:#233140;--an-mute:#8d99a7;--an-soft:#162739}
html[data-theme="dark"] body.an-rd .ct-card,html[data-theme="dark"] body.an-rd .ct-ico,html[data-theme="dark"] body.an-rd .ct-pill,html[data-theme="dark"] body.an-rd .an-gauge,html[data-theme="dark"] body.an-rd .an-author,html[data-theme="dark"] body.an-rd .an-check li,html[data-theme="dark"] body.an-rd .an-ghost,html[data-theme="dark"] body.an-rd .mk-num,html[data-theme="dark"] body.an-rd .mk-chart,html[data-theme="dark"] body.an-rd .mk-card,html[data-theme="dark"] body.an-rd .mk-f,html[data-theme="dark"] body.an-rd .mk-btn.gh{background:var(--an-card)!important;border-color:var(--an-line)!important}
html[data-theme="dark"] body.an-rd .mk-donut:after{background:var(--an-card)!important}
html[data-theme="dark"] body.an-rd .wpcf7{--f-ink:#e6ebf1;--f-mute:#8d99a7;--f-line:#233140;--f-soft:#0b1219;--f-b:#4a92d3;--f-bd:#3a7fbf}
html[data-theme="dark"] body.an-rd .wpcf7 form{background:var(--an-card)!important;border-color:var(--an-line)!important;box-shadow:none!important}
html[data-theme="dark"] body.an-rd .wpcf7 input:focus,html[data-theme="dark"] body.an-rd .wpcf7 select:focus,html[data-theme="dark"] body.an-rd .wpcf7 textarea:focus{background:var(--an-bg)!important}
html[data-theme="dark"] body.an-rd .widget-area-11,html[data-theme="dark"] body.an-rd #bottom-sidebar .widget-area-11{background:var(--an-card)!important;border-color:var(--an-line)!important}
html[data-theme="dark"] body.an-rd .widget-area-11 .entry-title a,html[data-theme="dark"] body.an-rd .widget-area-11 h4 a{color:var(--an-ink)!important}
html[data-theme="dark"] body.an-rd .widget-area-11 p,html[data-theme="dark"] body.an-rd .widget-area-11 .entry-date{color:var(--an-mute)!important}
html[data-theme="dark"] body.an-rd #SinoptikInformer{filter:invert(.92) hue-rotate(180deg);border-radius:10px}

@media (prefers-color-scheme:dark){
html:not([data-theme="light"]) body.an-rd{color-scheme:dark;--an-ink:#e6ebf1;--an-ink-2:#c1cad4;--an-mute:#8d99a7;--an-line:#233140;--an-bg:#0b1219;--an-card:#121c27;--an-blue:#6cade8;--an-blue-d:#4a92d3;--an-blue-soft:#162739;--an-shadow:0 1px 2px rgba(0,0,0,.45),0 10px 28px rgba(0,0,0,.35);background:var(--an-bg)!important;color:var(--an-ink)}
html:not([data-theme="light"]) body.an-rd #main-content,html:not([data-theme="light"]) body.an-rd .kp-page-header{background:transparent}
html:not([data-theme="light"]) body.an-rd #header-top{background:#12304d!important}
html:not([data-theme="light"]) body.an-rd #header-middle{background:var(--an-card)!important;border-bottom-color:var(--an-line)!important}
html:not([data-theme="light"]) body.an-rd .logo-image img{filter:invert(1) hue-rotate(180deg) brightness(1.15)}
html:not([data-theme="light"]) body.an-rd h1,html:not([data-theme="light"]) body.an-rd h2,html:not([data-theme="light"]) body.an-rd h3,html:not([data-theme="light"]) body.an-rd h4,html:not([data-theme="light"]) body.an-rd h5,html:not([data-theme="light"]) body.an-rd h6,html:not([data-theme="light"]) body.an-rd .entry-title,html:not([data-theme="light"]) body.an-rd .entry-title a,html:not([data-theme="light"]) body.an-rd .widget-title,html:not([data-theme="light"]) body.an-rd .widget-title a{color:var(--an-ink)!important}
html:not([data-theme="light"]) body.an-rd p,html:not([data-theme="light"]) body.an-rd li,html:not([data-theme="light"]) body.an-rd dd,html:not([data-theme="light"]) body.an-rd dt,html:not([data-theme="light"]) body.an-rd td,html:not([data-theme="light"]) body.an-rd th,html:not([data-theme="light"]) body.an-rd .entry-content,html:not([data-theme="light"]) body.an-rd .elements-box,html:not([data-theme="light"]) body.an-rd .entry-date,html:not([data-theme="light"]) body.an-rd label{color:var(--an-ink-2)}
html:not([data-theme="light"]) body.an-rd a{color:var(--an-blue)}
html:not([data-theme="light"]) body.an-rd .entry-title a:hover,html:not([data-theme="light"]) body.an-rd .widget a:hover{color:var(--an-blue)!important}
html:not([data-theme="light"]) body.an-rd .widget,html:not([data-theme="light"]) body.an-rd .widget-area-1,html:not([data-theme="light"]) body.an-rd .widget-area-2,html:not([data-theme="light"]) body.an-rd .widget-area-3,html:not([data-theme="light"]) body.an-rd .widget-area-4,html:not([data-theme="light"]) body.an-rd .col-a,html:not([data-theme="light"]) body.an-rd .col-b,html:not([data-theme="light"]) body.an-rd .main-col,html:not([data-theme="light"]) body.an-rd .sidebar{background:transparent!important;border-color:var(--an-line)!important}
html:not([data-theme="light"]) body.an-rd hr,html:not([data-theme="light"]) body.an-rd .entry-list > li,html:not([data-theme="light"]) body.an-rd .older-post li,html:not([data-theme="light"]) body.an-rd .widget li{border-color:var(--an-line)!important}
html:not([data-theme="light"]) body.an-rd input,html:not([data-theme="light"]) body.an-rd textarea,html:not([data-theme="light"]) body.an-rd select{background:var(--an-bg)!important;color:var(--an-ink)!important;border-color:var(--an-line)!important}
html:not([data-theme="light"]) body.an-rd input::placeholder,html:not([data-theme="light"]) body.an-rd textarea::placeholder{color:var(--an-mute)!important}
html:not([data-theme="light"]) body.an-rd .elements-box [style*="background"]:not(.mk-dot):not(.mk-src > div){background:var(--an-blue-soft)!important;color:var(--an-ink-2)!important}
html:not([data-theme="light"]) body.an-rd .elements-box table,html:not([data-theme="light"]) body.an-rd .elements-box th,html:not([data-theme="light"]) body.an-rd .elements-box td{border-color:var(--an-line)!important;background:transparent!important}
html:not([data-theme="light"]) body.an-rd .elements-box th,html:not([data-theme="light"]) body.an-rd .elements-box thead td{background:var(--an-blue-soft)!important;color:var(--an-ink)!important}
html:not([data-theme="light"]) body.an-rd .elements-box strong,html:not([data-theme="light"]) body.an-rd .elements-box b{color:var(--an-ink)}
html:not([data-theme="light"]) body.an-rd figcaption,html:not([data-theme="light"]) body.an-rd .wp-caption-text{color:var(--an-mute)!important}
html:not([data-theme="light"]) body.an-rd .tagcloud a,html:not([data-theme="light"]) body.an-rd .widget_categories li a{background:var(--an-blue-soft)!important;color:var(--an-ink-2)!important;border-color:var(--an-line)!important}
html:not([data-theme="light"]) body.an-rd .breadcrumb,html:not([data-theme="light"]) body.an-rd .breadcrumb a,html:not([data-theme="light"]) body.an-rd .kp-breadcrumb,html:not([data-theme="light"]) body.an-rd .kp-breadcrumb a{color:var(--an-mute)!important}
html:not([data-theme="light"]) body.an-rd .an-hero{--hx-bg:#172a3e;background:radial-gradient(900px 420px at 18% -10%,#22405f 0%,rgba(34,64,95,0) 70%),var(--hx-bg)!important;box-shadow:inset 0 -1px 0 rgba(255,255,255,.06)}
html:not([data-theme="light"]) body.an-rd #bottom-sidebar,html:not([data-theme="light"]) body.an-rd #kp-page-footer{background:#070c12!important}
html:not([data-theme="light"]) body.an-rd ::selection{background:#27496b;color:#fff}
html:not([data-theme="light"]) body.an-rd #main-menu > li.current-menu-item > a,html:not([data-theme="light"]) body.an-rd #main-menu > li.current-menu-parent > a,html:not([data-theme="light"]) body.an-rd #main-menu > li:hover > a{background:var(--an-card)!important;color:var(--an-ink)!important}
html:not([data-theme="light"]) body.an-rd .an-hero-main,html:not([data-theme="light"]) body.an-rd .an-hero-list a,html:not([data-theme="light"]) body.an-rd .an-hero-list a span{color:var(--hx-ink)!important}
html:not([data-theme="light"]) body.an-rd .an-hero-list a:hover span,html:not([data-theme="light"]) body.an-rd .an-hero-main:hover .an-hero-title{color:var(--hx-accent)!important}
html:not([data-theme="light"]) body.an-rd .ct,html:not([data-theme="light"]) body.an-rd .mk{--ink:#e6ebf1;--mute:#8d99a7;--line:#233140;--soft:#162739;--b:#6cade8;--bd:#0b1219}
html:not([data-theme="light"]) body.an-rd .an-about{--an-blue:#6cade8;--an-blue-d:#4a92d3;--an-ink:#e6ebf1;--an-line:#233140;--an-mute:#8d99a7;--an-soft:#162739}
html:not([data-theme="light"]) body.an-rd .ct-card,html:not([data-theme="light"]) body.an-rd .ct-ico,html:not([data-theme="light"]) body.an-rd .ct-pill,html:not([data-theme="light"]) body.an-rd .an-gauge,html:not([data-theme="light"]) body.an-rd .an-author,html:not([data-theme="light"]) body.an-rd .an-check li,html:not([data-theme="light"]) body.an-rd .an-ghost,html:not([data-theme="light"]) body.an-rd .mk-num,html:not([data-theme="light"]) body.an-rd .mk-chart,html:not([data-theme="light"]) body.an-rd .mk-card,html:not([data-theme="light"]) body.an-rd .mk-f,html:not([data-theme="light"]) body.an-rd .mk-btn.gh{background:var(--an-card)!important;border-color:var(--an-line)!important}
html:not([data-theme="light"]) body.an-rd .mk-donut:after{background:var(--an-card)!important}
html:not([data-theme="light"]) body.an-rd .wpcf7{--f-ink:#e6ebf1;--f-mute:#8d99a7;--f-line:#233140;--f-soft:#0b1219;--f-b:#4a92d3;--f-bd:#3a7fbf}
html:not([data-theme="light"]) body.an-rd .wpcf7 form{background:var(--an-card)!important;border-color:var(--an-line)!important;box-shadow:none!important}
html:not([data-theme="light"]) body.an-rd .wpcf7 input:focus,html:not([data-theme="light"]) body.an-rd .wpcf7 select:focus,html:not([data-theme="light"]) body.an-rd .wpcf7 textarea:focus{background:var(--an-bg)!important}
html:not([data-theme="light"]) body.an-rd .widget-area-11,html:not([data-theme="light"]) body.an-rd #bottom-sidebar .widget-area-11{background:var(--an-card)!important;border-color:var(--an-line)!important}
html:not([data-theme="light"]) body.an-rd .widget-area-11 .entry-title a,html:not([data-theme="light"]) body.an-rd .widget-area-11 h4 a{color:var(--an-ink)!important}
html:not([data-theme="light"]) body.an-rd .widget-area-11 p,html:not([data-theme="light"]) body.an-rd .widget-area-11 .entry-date{color:var(--an-mute)!important}
html:not([data-theme="light"]) body.an-rd #SinoptikInformer{filter:invert(.92) hue-rotate(180deg);border-radius:10px}
}

/* ===== 2.3: «жива» лід-смуга — повільні світіння (лише transform/opacity, GPU) ===== */
.an-rd .an-hero{position:relative;overflow:hidden;isolation:isolate}
.an-rd .an-hero:before,.an-rd .an-hero:after{content:"";position:absolute;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(60px);will-change:transform,opacity}
.an-rd .an-hero:before{width:62vw;height:62vw;max-width:980px;max-height:980px;left:-12vw;top:-38vw;background:radial-gradient(circle,rgba(56,132,204,.55) 0%,rgba(56,132,204,0) 62%);animation:an-glow-a 22s ease-in-out infinite alternate}
.an-rd .an-hero:after{width:52vw;height:52vw;max-width:860px;max-height:860px;right:-14vw;bottom:-34vw;background:radial-gradient(circle,rgba(9,141,148,.42) 0%,rgba(9,141,148,0) 62%);animation:an-glow-b 28s ease-in-out infinite alternate}
.an-rd .an-hero-in{position:relative;z-index:1}
.an-rd .an-hero-in:before{content:"";position:absolute;inset:-40% -20%;z-index:-1;pointer-events:none;background:radial-gradient(closest-side,rgba(125,184,238,.16),rgba(125,184,238,0));animation:an-glow-c 17s ease-in-out infinite alternate;display:block!important}
@keyframes an-glow-a{0%{transform:translate3d(0,0,0) scale(1);opacity:.85}50%{transform:translate3d(14vw,6vw,0) scale(1.15);opacity:1}100%{transform:translate3d(28vw,2vw,0) scale(.95);opacity:.75}}
@keyframes an-glow-b{0%{transform:translate3d(0,0,0) scale(1);opacity:.7}50%{transform:translate3d(-16vw,-5vw,0) scale(1.2);opacity:.95}100%{transform:translate3d(-30vw,-2vw,0) scale(1);opacity:.65}}
@keyframes an-glow-c{0%{transform:translate3d(-25%,0,0);opacity:.4}100%{transform:translate3d(25%,0,0);opacity:.9}}
@media (prefers-reduced-motion:reduce){.an-rd .an-hero:before,.an-rd .an-hero:after,.an-rd .an-hero-in:before{animation:none}}
/* 2.3.2: підвал — кредит веб-студії ADUP */
.an-rd #copyright{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px 22px}
.an-rd .an-credit{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--an-mute)}
.an-rd .an-credit a{display:inline-flex;align-items:center;gap:8px;color:#c9d3dd!important;text-decoration:none!important;padding:4px 10px 4px 8px;border-radius:999px;border:1px solid rgba(255,255,255,.12);transition:border-color .2s,background .2s}
.an-rd .an-credit a:hover{border-color:rgba(255,255,255,.35);background:rgba(255,255,255,.05)}
.an-rd .an-credit img{height:20px;width:auto;display:block}
.an-rd .an-credit,.an-rd .an-credit a{white-space:nowrap}
@media (max-width:480px){.an-rd .an-credit{flex-direction:column;gap:6px}}
/* 2.3.3: лого ADUP — оригінал (чорні літери) на світлій плашці в обох темах */
.an-rd .an-credit a{background:#f4f6f8;border-color:#f4f6f8;color:#18212c!important}
.an-rd .an-credit a:hover{background:#fff;border-color:#fff}
/* темна тема — так само, як світла (рішення користувача) */
/* 2.3.4: плашка ADUP — ненав'язливе анімоване світіння в кольорах лого */
@property --an-cr-a{syntax:"<angle>";inherits:false;initial-value:0deg}
.an-rd .an-credit a{position:relative;isolation:isolate;border-color:transparent!important}
.an-rd .an-credit a:before{content:"";position:absolute;inset:-2px;border-radius:inherit;z-index:-2;background:conic-gradient(from var(--an-cr-a),#e5473d,#f0902c,#f6d91e,#e5473d 50%,rgba(229,71,61,0) 62%,rgba(229,71,61,0) 88%,#e5473d);filter:blur(7px);opacity:.5;animation:an-cr-spin 7s linear infinite;transition:opacity .3s}
.an-rd .an-credit a:after{content:"";position:absolute;inset:0;border-radius:inherit;z-index:-1;background:#f4f6f8;box-shadow:inset 0 0 0 1px rgba(255,255,255,.6)}
.an-rd .an-credit a:hover{background:transparent!important}
.an-rd .an-credit a:hover:before{opacity:.85}
.an-rd .an-credit a:hover:after{background:#fff}
@keyframes an-cr-spin{to{--an-cr-a:360deg}}
@media (prefers-reduced-motion:reduce){.an-rd .an-credit a:before{animation:none}}

/* ===== 2.3 (живе з 2026-09-26): блоки нових рубрик 2×2 на головній (autonews-home.php) ===== */

/* ===== 2.3: блоки нових рубрик 2×2 під головною новиною ===== */
.an-rd .an-rubrics{padding:0!important;overflow:hidden}
.an-rd .an-rubrics-in{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.an-rd .an-rub{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);grid-template-rows:auto 1fr;gap:16px 22px;padding:24px 26px 26px;font-family:var(--an-font);border-color:var(--an-line)}
.an-rd .an-rub:nth-child(odd){border-right:1px solid var(--an-line)}
.an-rd .an-rub:nth-child(n+3){border-top:1px solid var(--an-line)}
.an-rd .an-rub-head{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px}
.an-rd .an-rub-name{display:inline-flex;align-items:center;gap:10px;font:800 19px/1.2 var(--an-font);letter-spacing:-.01em;color:var(--an-ink)!important;text-decoration:none!important}
.an-rd .an-rub-ic{width:32px;height:32px;border-radius:9px;display:inline-flex;align-items:center;justify-content:center;background:var(--an-blue-soft);color:var(--an-blue);transition:background .2s,color .2s}
.an-rd .an-rub-name:hover .an-rub-ic{background:var(--an-blue);color:#fff}
.an-rd .an-rub-all{font:700 13px/1 var(--an-font);color:var(--an-blue)!important;text-decoration:none!important;white-space:nowrap}
.an-rd .an-rub-all span{display:inline-block;transition:transform .15s}
.an-rd .an-rub-all:hover span{transform:translateX(3px)}
.an-rd .an-rub-lead{display:flex;flex-direction:column;gap:10px;text-decoration:none!important;color:var(--an-ink)}
.an-rd .an-rub-pic{display:block;aspect-ratio:16/10;border-radius:10px;overflow:hidden;background:var(--an-line)}
.an-rd .an-rub-pic img{display:block;width:100%!important;height:100%!important;object-fit:cover;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.an-rd .an-rub-lead:hover .an-rub-pic img{transform:scale(1.04)}
.an-rd .an-rub-lt{font:750 17px/1.28 var(--an-font);letter-spacing:-.005em;text-wrap:pretty;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;transition:color .2s}
.an-rd .an-rub-lead:hover .an-rub-lt{color:var(--an-blue)}
.an-rd .an-rub-lead time{font:600 12px/1 var(--an-font);color:var(--an-mute)}
.an-rd .an-rub-list{list-style:none!important;margin:0!important;padding:0!important;display:flex;flex-direction:column}
.an-rd .an-rub-list li{list-style:none!important;margin:0!important;padding:12px 0!important;border-top:1px solid var(--an-line);background:none!important}
.an-rd .an-rub-list li:first-child{border-top:0;padding-top:0!important}
.an-rd .an-rub-list li:before{content:none!important}
.an-rd .an-rub-list a{font:650 15px/1.35 var(--an-font);color:var(--an-ink)!important;text-decoration:none!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;transition:color .2s}
.an-rd .an-rub-list a:hover{color:var(--an-blue)!important}
.an-rd .an-rub a:focus-visible{outline:2px solid var(--an-blue);outline-offset:3px;border-radius:6px}
@media (max-width:1099px){.an-rd .an-rub{grid-template-columns:1fr}}
@media (max-width:799px){
  .an-rd .an-rubrics-in{grid-template-columns:1fr}
  .an-rd .an-rub{padding:20px 16px}
  .an-rd .an-rub:nth-child(odd){border-right:0}
  .an-rd .an-rub:nth-child(n+2){border-top:1px solid var(--an-line)}
}
/* 2.3.5: службові сторінки в панелі меню */
.an-rd .an-drawer-extra{display:flex;flex-wrap:wrap;gap:6px 16px;padding:16px 20px 28px;border-top:1px solid var(--an-line);margin-top:auto}
.an-rd .an-drawer-extra a{font:600 13.5px/1.3 var(--an-font);color:var(--an-mute)!important;text-decoration:none!important}
.an-rd .an-drawer-extra a:hover{color:var(--an-blue)!important}

/* ===== 2.3.6: широкі екрани ≥1420px — сітка 1380 (+100) ===== */
@media only screen and (min-width:1420px){
  .an-rd .wrapper{width:1380px}
  .an-rd .main-col{width:1000px}
  .an-rd .sidebar{width:381px}
  .an-rd .col-a{width:720px}
  .an-rd .col-b{width:661px}
  .an-rd .widget-area-1 .kp-article-list-widget .entry-item{width:276px}
  .an-rd .widget-area-1 .kp-article-list-widget .older-post{width:360px}
  .an-rd .widget-area-1 .kp-small-list-widget ul li{width:312px}
  .an-rd .widget-area-1 > .widget{margin-bottom:62px!important}
  .an-rd .widget-area-1 .kp-article-list-widget .older-post li{padding-bottom:16px;margin-bottom:16px}
  .an-rd .an-mega-in{max-width:1380px}
}
/* 2.3.7: сітка рубрик по лінії колонок головної (--an-cola ставить JS з ширини .col-a) */
@media (min-width:800px){.an-rd .an-rubrics-in{grid-template-columns:var(--an-cola,minmax(0,1fr)) minmax(0,1fr)}}
/* темна тема: заголовки статей у блоках рубрик — не кольором посилання */
html[data-theme="dark"] body.an-rd .an-rub-lead,html[data-theme="dark"] body.an-rd .an-rub-lt{color:var(--an-ink)!important}
html[data-theme="dark"] body.an-rd .an-rub-lead:hover .an-rub-lt{color:var(--an-blue)!important}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.an-rd .an-rub-lead,html:not([data-theme="light"]) body.an-rd .an-rub-lt{color:var(--an-ink)!important}html:not([data-theme="light"]) body.an-rd .an-rub-lead:hover .an-rub-lt{color:var(--an-blue)!important}}
/* 2.3.8: мобільна головна — коротша і без дублів (ПК без змін) */
@media (max-width:799px){
  .an-rd.home #kopa_widget_articles_carousel-4{display:none!important}
  .an-rd.home .widget-area-3 .kp-small-list-widget ul > li:nth-child(n+9){display:none!important}
  .an-rd.home .widget-area-4 .kp-video-widget ul > li:nth-child(n+4),.an-rd.home .widget-area-4 .kp-entry-list-widget ul > li:nth-child(n+4){display:none!important}
  .an-rd.home .widget-area-4 .widget_tag_cloud{display:none!important}
}
@media (max-width:799px){
  .an-rd.home .widget-area-1 .kp-article-list-widget .older-post li:nth-child(n+3){display:none!important}
  .an-rd.home .widget-area-4 .kp-video-widget ul > li:nth-child(n+3){display:none!important}
}
@media (min-width:800px){.an-rd .an-rub:last-child:nth-child(odd){grid-column:1/-1;border-right:0}}
/* 2026-09-30: 10 пунктів меню (+Комерційні авто, Агротехніка) — щоб влазило в 1 рядок на 980–1319px */
@media (min-width:980px) and (max-width:1319px){.an-rd #main-menu > li > a{padding-left:8px!important;padding-right:8px!important;font-size:13px;letter-spacing:0}}
/* 2026-09-30: мінімальні блоки Комерційні авто / Агротехніка (.an-minis) */
.an-rd .an-minis{padding:0!important;overflow:hidden}
.an-rd .an-minis-in{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
.an-rd .an-mini{padding:16px 22px 18px;font-family:var(--an-font)}
.an-rd .an-mini+.an-mini{border-left:1px solid var(--an-line)}
.an-rd .an-mini-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.an-rd .an-mini-name{display:inline-flex;align-items:center;gap:8px;font:800 15px/1.2 var(--an-font);color:var(--an-ink)!important;text-decoration:none!important}
.an-rd .an-mini-ic{width:26px;height:26px;border-radius:7px;display:inline-flex;align-items:center;justify-content:center;background:var(--an-blue-soft);color:var(--an-blue)}
.an-rd .an-mini-ic svg{width:15px;height:15px}
.an-rd .an-mini-all{font:700 12px/1 var(--an-font);color:var(--an-blue)!important;text-decoration:none!important;white-space:nowrap}
.an-rd .an-mini-list{list-style:none!important;margin:0!important;padding:0!important;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.an-rd .an-mini-list li{list-style:none!important;margin:0!important;padding:0!important;background:none!important}
.an-rd .an-mini-list li:before{content:none!important}
.an-rd .an-mini-list a{display:flex;gap:10px;align-items:flex-start;text-decoration:none!important;color:var(--an-ink)!important}
.an-rd .an-mini-pic{flex:0 0 64px;height:48px;border-radius:7px;overflow:hidden;background:var(--an-line)}
.an-rd .an-mini-pic img{display:block;width:100%!important;height:100%!important;object-fit:cover}
.an-rd .an-mini-t{font:650 13.5px/1.32 var(--an-font);display:flex;flex-direction:column;gap:5px}
.an-rd .an-mini-t{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
.an-rd .an-mini-t time{display:block;margin-top:4px;font:600 11.5px/1 var(--an-font);color:var(--an-mute)}
.an-rd .an-mini-list a:hover .an-mini-t{color:var(--an-blue)}
@media (min-width:800px){.an-rd .an-minis-in{grid-template-columns:var(--an-cola,minmax(0,1fr)) minmax(0,1fr)}.an-rd .an-minis-in>.an-mini:only-child{grid-column:1/-1}}
@media (max-width:1099px){.an-rd .an-mini-list{grid-template-columns:1fr;gap:10px}}
@media (max-width:799px){.an-rd .an-mini+.an-mini{border-left:0;border-top:1px solid var(--an-line)}.an-rd .an-mini{padding:14px 16px}}
/* 2026-09-30: компактна панель підменю «Автоправо» (мало рубрик) */
@media (min-width:980px){.an-rd .an-mega-sm .an-mega-in{max-width:960px}}

/* ===== Інфографіка HTML (з 2026-09-30): /root/an/bin/infographic_html.py → <figure class="an-ig"> у тексті статті ===== */
.an-ig{--ig-bg:#fff;--ig-tile:#f2f6fa;--ig-ink:#18212c;--ig-mute:#5b6675;--ig-line:#dbe5ef;--ig-blue:#1e6fb8;--ig-track:#eaf2fa;--ig-hl:#e0662b;--ig-dark:#18212c;--ig-cap1:#1e6fb8;--ig-cap3:#e0662b;
  margin:28px 0!important;padding:26px 28px 0!important;background:var(--ig-bg);color:var(--ig-ink);border:1px solid var(--ig-line);border-radius:16px;overflow:hidden;max-width:100%!important;font-family:Onest,system-ui,sans-serif;box-shadow:0 1px 2px rgba(16,24,40,.04)}
html[data-theme="dark"] .an-ig{--ig-bg:#121c27;--ig-tile:#182534;--ig-ink:#e6ebf1;--ig-mute:#8d99a7;--ig-line:#233140;--ig-blue:#6cade8;--ig-track:#1d2d3f;--ig-hl:#f08a55;--ig-dark:#2c3d50;--ig-cap1:#245f98;--ig-cap3:#b5562a}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) .an-ig{--ig-bg:#121c27;--ig-tile:#182534;--ig-ink:#e6ebf1;--ig-mute:#8d99a7;--ig-line:#233140;--ig-blue:#6cade8;--ig-track:#1d2d3f;--ig-hl:#f08a55;--ig-dark:#2c3d50;--ig-cap1:#245f98;--ig-cap3:#b5562a}}
.an-ig p.an-ig__title{margin:0!important;font-size:24px;line-height:1.2;font-weight:800;letter-spacing:-.01em;color:var(--ig-ink)!important}
.an-ig p.an-ig__sub{margin:6px 0 0!important;font-size:15px;line-height:1.4;color:var(--ig-mute)!important}
html body .an-ig.an-ig.an-ig.an-ig table{width:100%;margin:0!important;border:0!important;border-collapse:collapse;background:none!important;font-size:16px}
html body .an-ig.an-ig.an-ig.an-ig th,html body .an-ig.an-ig.an-ig.an-ig td{border:0!important;background:none!important;padding:0;color:var(--ig-ink)!important;vertical-align:middle;text-align:left}
/* bar */
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars{margin-top:20px!important;border-collapse:separate!important;border-spacing:0 10px!important}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars th{width:34%;padding-right:14px!important;font-weight:600;text-align:right!important;line-height:1.25}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars .an-ig__track{width:auto}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars .an-ig__track span{display:block;height:26px;min-width:4px;border-radius:7px;background:var(--ig-blue)}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars .an-ig__track{background:linear-gradient(var(--ig-track),var(--ig-track)) no-repeat center/100% 26px!important;border-radius:7px}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars tr.hl .an-ig__track span{background:var(--ig-hl)}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars tr.hl th,html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars tr.hl .an-ig__val{color:var(--ig-hl)!important}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars .an-ig__val{width:1%;white-space:nowrap;padding-left:12px!important;font-weight:800;font-size:17px;font-variant-numeric:tabular-nums}
/* stat */
.an-ig ul.an-ig__stats{display:grid;gap:14px;margin:20px 0 4px!important;padding:0!important;list-style:none!important}
.an-ig__stats.n2{grid-template-columns:repeat(2,1fr)}.an-ig__stats.n3{grid-template-columns:repeat(3,1fr)}.an-ig__stats.n4{grid-template-columns:repeat(4,1fr)}.an-ig__stats.n4 .an-ig__num{font-size:34px}.an-ig__stats.n4 .an-ig__num small{font-size:16px}
.an-ig__stats li{margin:0!important;padding:18px 18px 20px!important;background:var(--ig-tile);border-top:5px solid var(--ig-blue);border-radius:14px;list-style:none!important}
.an-ig__stats li::before,.an-ig__tl li::before{content:none!important;display:none!important}
.an-ig__num{display:block;white-space:nowrap;font-size:40px;line-height:1;font-weight:800;letter-spacing:-.02em;color:var(--ig-blue);font-variant-numeric:tabular-nums}
.an-ig__num small{font-size:19px;font-weight:700;margin-left:2px}
.an-ig__lbl{display:block;margin-top:10px;font-size:15px;line-height:1.35;font-weight:500;color:var(--ig-ink)}
/* compare */
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp{display:grid;gap:14px;margin:20px 0 4px}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp.n2{grid-template-columns:repeat(2,1fr)}html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp.n3{grid-template-columns:repeat(3,1fr)}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp table{border:1px solid var(--ig-line)!important;border-radius:14px;border-collapse:separate!important;overflow:hidden}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp caption{caption-side:top;padding:12px 16px;background:var(--ig-cap1);color:#fff;font-size:18px;font-weight:800;text-align:left;border-radius:14px 14px 0 0}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp table:nth-child(2) caption{background:var(--ig-dark)}html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp table:nth-child(3) caption{background:var(--ig-cap3)}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp tr+tr th,html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp tr+tr td{border-top:1px solid var(--ig-line)!important}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp th{padding:10px 8px 10px 16px!important;font-weight:500;font-size:15px;color:var(--ig-mute)!important}
html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp td{padding:10px 16px 10px 8px!important;font-weight:800;text-align:right!important;font-size:15px}
/* timeline */
.an-ig ol.an-ig__tl{margin:20px 0 4px!important;padding:0!important;list-style:none!important;position:relative}
.an-ig__tl li{position:relative;margin:0!important;padding:0 0 16px 30px!important;list-style:none!important}
.an-ig__tl li::after{content:"";position:absolute;left:5px;top:6px;width:14px;height:14px;border-radius:50%;background:var(--ig-blue);box-shadow:0 0 0 5px var(--ig-track)}
.an-ig__tl li:not(:last-child){background:linear-gradient(var(--ig-line),var(--ig-line)) no-repeat 11px 16px/2px 100%}
.an-ig__date{display:block;font-weight:800;font-size:17px;color:var(--ig-blue)}
.an-ig__ev{display:block;margin-top:2px;font-size:16px;line-height:1.4}
/* footer */
.an-ig figcaption.an-ig__foot{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:18px -28px 0!important;padding:12px 28px!important;background:var(--ig-tile)!important;border-top:3px solid var(--ig-blue);font-size:13px!important;line-height:1.35;color:var(--ig-mute)!important;text-align:left!important;font-style:normal!important}
.an-ig__brand{font-weight:800;letter-spacing:.02em;color:var(--ig-ink);white-space:nowrap}
@media (max-width:640px){
 .an-ig{padding:20px 16px 0!important}.an-ig p.an-ig__title{font-size:20px}
 .an-ig figcaption.an-ig__foot{margin:16px -16px 0!important;padding:10px 16px!important}
 .an-ig__stats.n3,.an-ig__stats.n4{grid-template-columns:repeat(2,1fr)}
 .an-ig__stats li{padding:14px!important}.an-ig__num{font-size:30px}.an-ig__lbl{font-size:14px}
 html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp.n2,html body .an-ig.an-ig.an-ig.an-ig .an-ig__cmp.n3{grid-template-columns:1fr}
 html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars th{width:38%;font-size:14px}html body .an-ig.an-ig.an-ig.an-ig .an-ig__bars .an-ig__val{font-size:15px}
}

/* Таблиці в статтях (2026-10-01): лінії між рядками, відступи, прокрутка на мобільному. Інфографіку .an-ig не зачіпає. */
.an-rd .elements-box > table{width:100%;margin:0 0 1.4em;border-collapse:collapse;line-height:1.45}
.an-rd .elements-box > table th,.an-rd .elements-box > table td{padding:9px 10px;border-bottom:1px solid var(--an-line);text-align:left;vertical-align:top}
.an-rd .elements-box > table thead th{font-weight:700;border-bottom:2px solid var(--an-blue,#1e6fb8)}
.an-rd .elements-box > table tbody td:first-child{font-weight:600}
@media (max-width:600px){.an-rd .elements-box > table{display:block;overflow-x:auto;font-size:14px}.an-rd .elements-box > table th,.an-rd .elements-box > table td{min-width:120px}}

/* ===== 2026-10-09: «Нові матеріали» на всю ширину (.an-fresh, autonews-home.php), 4 картки, більші фото ===== */
.an-rd .an-fresh{padding:22px 26px 18px!important;box-sizing:border-box}
.an-rd .an-fresh .kp-featured-news-widget{margin:0!important;padding:0!important;border:0!important}
.an-rd .an-fresh .kp-featured-news-widget .entry-title{font-size:17px;line-height:1.3}
.an-rd .an-fresh .kp-featured-news-widget .entry-content p{font-size:14.5px}
.an-rd .an-fresh .kp-featured-news-widget .entry-thumb img{aspect-ratio:16/10;border-radius:10px}
@media (max-width:799px){.an-rd .an-fresh{display:none!important}}
.an-rd .col-b > .widget-area-3:first-child,.an-rd .col-b > .widget-area-3:first-child + .widget-area-4{padding-top:0!important}
/* 2026-10-09: висота каруселі «Нові матеріали» — за вмістом (carouFredSel фіксував висоту до завантаження lazy-фото → пустота знизу) */
.an-rd .an-fresh .caroufredsel_wrapper{height:auto!important}
.an-rd .an-fresh ul.kopa-featured-news-carousel{position:relative!important;height:auto!important}
.an-rd .an-fresh ul.kopa-featured-news-carousel>li{height:auto!important}
.an-rd .an-fresh .kp-featured-news-widget .entry-item{margin-bottom:0!important}
.an-rd .an-fresh .kp-featured-news-widget .entry-thumb{aspect-ratio:16/10;overflow:hidden;border-radius:10px}
.an-rd .an-fresh .kp-featured-news-widget .entry-thumb a{display:block;height:100%}
.an-rd .an-fresh .kp-featured-news-widget .entry-thumb img{width:100%!important;height:100%!important;object-fit:cover}

/* ===== 2026-10-09: помітніші назви блоків (Суперкари, Нові матеріали, Стрічка новин…) ===== */
.an-rd .widget-title,
.an-rd .widget-area-3 .widget-title,.an-rd .widget-area-4 .widget-title,.an-rd .sidebar .widget-title,
.an-rd .widget .widget-title,.an-rd #main-content .widget .widget-title{
  font-size:19px!important;line-height:1.15!important;font-weight:800!important;letter-spacing:.03em!important;
  padding:0 0 13px 15px!important;margin:0 0 20px!important;
}
.an-rd .widget-title:before{left:0;top:1px;bottom:auto;width:5px;height:19px;border-radius:3px}
.an-rd .widget-title:after{height:2px;background:linear-gradient(90deg,var(--an-blue) 0,var(--an-blue) 64px,var(--an-line) 64px)}
@media (max-width:1319px){.an-rd .widget-area-4 .widget-title{font-size:16px!important}}
.an-rd .an-fresh .carousel-nav{top:-56px}

/* ===== 2026-10-09 юзабіліті-аудит п.1,2,6,7 (звіт /root/an/ux/AUDIT-20261009.md) ===== */
/* п.1 текст статті: повітря між рядками (тема давала p{line-height:22px}) + комфортна довжина рядка на ПК */
.an-rd .elements-box p,.an-rd .elements-box li{line-height:1.68!important}
.an-rd .elements-box li{margin-bottom:.45em}
@media (min-width:980px){
  .an-rd.single .elements-box > p,.an-rd.single .elements-box > ul,.an-rd.single .elements-box > ol,
  .an-rd.single .elements-box > blockquote,.an-rd.single .elements-box > h2,.an-rd.single .elements-box > h3,.an-rd.single .elements-box > h4{max-width:740px}
}
/* п.2 мобільні: без довгого хвоста сайдбару (Категорії 30 чипів + Позначки ~60 марок) — це є в меню */
@media (max-width:799px){
  .an-rd .sidebar #categories-4,.an-rd .sidebar #tag_cloud-2{display:none!important}
}
/* п.6 карусель «Статті» на мобільних: замість 3 крихітних колонок — стрічка, що гортається пальцем */
@media (max-width:799px){
  .an-rd #kopa_widget_articles_carousel-3 .caroufredsel_wrapper{height:auto!important;width:100%!important}
  .an-rd #kopa_widget_articles_carousel-3 ul.kopa-featured-news-carousel{position:static!important;left:auto!important;width:auto!important;height:auto!important;display:flex!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding-bottom:8px;margin:0!important}
  .an-rd #kopa_widget_articles_carousel-3 ul.kopa-featured-news-carousel>li{float:none!important;flex:0 0 74%!important;width:auto!important;height:auto!important;margin:0!important;scroll-snap-align:start}
  .an-rd #kopa_widget_articles_carousel-3 .entry-thumb{aspect-ratio:16/10;overflow:hidden;border-radius:10px}
  .an-rd #kopa_widget_articles_carousel-3 .entry-thumb a{display:block;height:100%}
  .an-rd #kopa_widget_articles_carousel-3 .entry-thumb img{width:100%!important;height:100%!important;object-fit:cover}
  .an-rd #kopa_widget_articles_carousel-3 .entry-title{font-size:16px!important;line-height:1.3!important}
  .an-rd #kopa_widget_articles_carousel-3 .list-carousel{margin:0!important}
  .an-rd #kopa_widget_articles_carousel-3 .entry-item,.an-rd #kopa_widget_articles_carousel-3 .entry-content{margin-left:0!important;padding-left:0!important}
  .an-rd #kopa_widget_articles_carousel-3 .carousel-nav{display:none!important}
}
/* п.7 зони натискання: «Усі →» ширша зона без зміни вигляду; стрілки каруселей 32px і помітні в обох темах; іконки «поділитися» */
.an-rd .an-rub-all,.an-rd .an-mini-all{display:inline-block;padding:10px 8px;margin:-10px -8px}
.an-rd .carousel-nav a{position:relative;width:32px!important;height:32px!important;box-sizing:border-box;border:1.5px solid var(--an-mute)!important;background:none!important;margin-left:6px!important;transition:border-color .15s}
.an-rd .carousel-nav a:before{content:"";position:absolute;left:50%;top:50%;width:8px;height:8px;border:solid var(--an-ink);border-width:0 2px 2px 0}
.an-rd .carousel-nav .carousel-prev:before{transform:translate(-35%,-50%) rotate(135deg)}
.an-rd .carousel-nav .carousel-next:before{transform:translate(-65%,-50%) rotate(-45deg)}
.an-rd .carousel-nav a:hover,.an-rd .carousel-nav a:focus-visible{border-color:var(--an-blue)!important}
.an-rd .carousel-nav{top:-58px}
.an-rd .an-fresh .carousel-nav{top:-62px}
/* 2026-10-28: віджет має overflow:hidden → верх 32px-стрілок обрізався; слайди й так обрізає caroufredsel_wrapper */
.an-rd .an-fresh .kp-featured-news-widget{overflow:visible!important}
.an-rd .social-link li a{display:inline-flex!important;align-items:center;justify-content:center;min-width:36px;min-height:36px}
/* п.4 пошук: поле уточнення + порожній результат */
.an-rd .an-srch{display:flex;gap:8px;margin:0 0 14px}
.an-rd .an-srch input{flex:1;min-width:0;height:46px;padding:0 14px;border:1.5px solid var(--an-line);border-radius:10px;background:transparent;color:var(--an-ink);font:500 16px/1 var(--an-font)}
.an-rd .an-srch input:focus{border-color:var(--an-blue);outline:none}
.an-rd .an-srch button{height:46px;padding:0 18px;border:0;border-radius:10px;background:var(--an-blue);color:#fff;font:700 15px/1 var(--an-font);cursor:pointer}
.an-rd .an-srch-n{margin:0 0 22px;color:var(--an-mute);font-size:14px}
.an-rd .an-srch-empty{margin:4px 0 28px;padding:18px 20px;border:1px solid var(--an-line);border-radius:12px}
.an-rd .an-srch-empty p{margin:0 0 6px;line-height:1.6}
html[data-theme="dark"] body.an-rd .an-srch button{color:#0b1219}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.an-rd .an-srch button{color:#0b1219}}
/* усі каруселі kopa: висота за вмістом (як .an-fresh) — інакше пустота під картками до завантаження lazy-фото */
.an-rd .kp-featured-news-widget .caroufredsel_wrapper{height:auto!important}
.an-rd .kp-featured-news-widget ul.kopa-featured-news-carousel{height:auto!important}
.an-rd .kp-featured-news-widget ul.kopa-featured-news-carousel>li{height:auto!important}
.an-rd .kp-featured-news-widget .entry-thumb{aspect-ratio:4/3;overflow:hidden;border-radius:10px}
.an-rd .kp-featured-news-widget .entry-thumb a{display:block;height:100%}
.an-rd .kp-featured-news-widget .entry-thumb img{width:100%!important;height:100%!important;object-fit:cover}
.an-rd .an-fresh .kp-featured-news-widget .entry-thumb{aspect-ratio:16/10}
@media (min-width:800px){.an-rd .kp-featured-news-widget ul.kopa-featured-news-carousel{position:relative!important}}

/* ===== 2026-10-09 кнопки «Поділитися» (mu-plugins/autonews-share.php) ===== */
.an-rd .an-share{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin:26px 0;padding:16px 0;border-top:1px solid var(--an-line);border-bottom:1px solid var(--an-line);font-family:var(--an-font)}
.an-rd .an-share-label{font:700 14px/1.2 var(--an-font);color:var(--an-ink)}
.an-rd .an-share-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none!important;margin:0!important;padding:0!important}
.an-rd .an-share-list li{list-style:none!important;margin:0!important;padding:0!important;background:none!important}
.an-rd .an-share-list li:before{content:none!important}
.an-rd .an-share-btn{display:inline-flex;align-items:center;gap:8px;height:40px;padding:0 14px;border:1px solid var(--an-line);border-radius:999px;background:var(--an-card,transparent);color:var(--an-ink)!important;font:600 14px/1 var(--an-font);text-decoration:none!important;cursor:pointer;transition:border-color .15s,background-color .15s;-webkit-appearance:none;appearance:none}
.an-rd .an-share-btn[hidden]{display:none}
.an-rd .an-share-btn svg{width:18px;height:18px;flex:0 0 18px}
.an-rd .an-share-tg svg{color:#229ED9}.an-rd .an-share-vb svg{color:#7360F2}.an-rd .an-share-fb svg{color:#1877F2}
.an-rd .an-share-copy svg,.an-rd .an-share-mail svg,.an-rd .an-share-native svg{color:var(--an-blue)}
.an-rd .an-share-btn:hover,.an-rd .an-share-btn:focus-visible{border-color:var(--an-blue)}
.an-rd .an-share-status{font:600 13px/1 var(--an-font);color:var(--an-blue)}
.an-rd .an-share-status:empty{display:none}
@media (max-width:599px){.an-rd .an-share-label{flex-basis:100%}.an-rd .an-share-btn{height:44px}.an-rd .an-share-copy span{font-size:0}.an-rd .an-share-copy span:after{content:"Копіювати";font-size:14px}}
.an-rd .an-share-list li[hidden]{display:none!important}

/* ===== 2026-10-09 юзабіліті п.9–10 ===== */
/* п.9 «Автор:» — інлайн color:#666 давав 3:1 у темній темі */
.an-rd .elements-box .autonews-byline{color:var(--an-mute)!important}
/* п.10 посилання «Перейти до змісту»: видно лише при фокусі з клавіатури */
.an-skip{position:absolute;left:12px;top:-60px;z-index:100000;padding:12px 18px;border-radius:10px;background:#1e6fb8;color:#fff!important;font:700 15px/1 var(--an-font,sans-serif);text-decoration:none!important;transition:top .15s}
.an-skip:focus{top:12px;outline:3px solid #fff;outline-offset:2px}
#main-content:focus{outline:none}
/* п.10 дати в міні-блоках Комерційні авто / Агро — не дрібніше 12.5px */
.an-rd .an-mini-t time{font-size:12.5px}
.an-rd .an-credit{color:#9aa6b3}
@media (max-width:599px){html[lang^="ru"] body.an-rd .an-share-copy span:after{content:"Копировать"}}
html[lang^="ru"] body.an-rd .an-tagline:before{content:"Автомобильный новостной портал"}
/* «Звідки приходять читачі» (сторінка Реклама): темно-синій сегмент у темній темі світліший */
html[data-theme="dark"] body.an-rd .mk-src>div:nth-child(3),html[data-theme="dark"] body.an-rd .mk-srcl>div:nth-child(3) .mk-dot{background:#5f86b0!important}
html:not([data-theme="light"]) body.an-rd .mk-src>div:nth-child(3),html:not([data-theme="light"]) body.an-rd .mk-srcl>div:nth-child(3) .mk-dot{background:#5f86b0!important}

/* Моніторинг цін на пальне (сторінка /tsiny-na-palne/, 2026-10-21) — таблиці в обгортці з горизонтальним скролом */
.an-rd .elements-box .an-fuel-tw{overflow-x:auto;margin:0 0 1.4em;-webkit-overflow-scrolling:touch}
.an-rd .elements-box table.an-fuel{width:100%;min-width:560px;margin:0;border-collapse:collapse;line-height:1.45;font-variant-numeric:tabular-nums}
.an-rd .elements-box table.an-fuel th,.an-rd .elements-box table.an-fuel td{padding:8px 10px;border-bottom:1px solid var(--an-line);text-align:right;white-space:nowrap}
.an-rd .elements-box table.an-fuel th:first-child{text-align:left}
.an-rd .elements-box table.an-fuel thead th{font-size:13px;text-transform:uppercase;letter-spacing:.03em;border-bottom:2px solid var(--an-blue,#1e6fb8)}
.an-rd .elements-box table.an-fuel small{opacity:.7}
.an-rd .elements-box .an-fuel-upd{opacity:.8}

/* Звичайне підменю верхнього меню (не мегаменю; напр. «Пальне» → «Ціни на пальне», 2026-10-21): стрілка як у мегаменю, панель у кольорах дизайну */
@media (min-width:980px){
  .an-rd #main-menu > li.menu-item-has-children:not(.an-has-mega) > a:after{content:"";display:inline-block!important;position:static!important;width:6px;height:6px;margin:0 0 3px 8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.75;transition:transform .2s}
  .an-rd #main-menu > li.menu-item-has-children:not(.an-has-mega):hover > a:after,.an-rd #main-menu > li.menu-item-has-children:not(.an-has-mega):focus-within > a:after{transform:rotate(-135deg);margin-bottom:-1px}
  .an-rd #main-menu > li:not(.an-has-mega) > ul.sub-menu{background:var(--an-card)!important;border:0!important;border-top:3px solid var(--an-blue-d)!important;border-radius:0 0 var(--an-r) var(--an-r);box-shadow:0 18px 40px rgba(18,38,63,.18);padding:8px 0!important;min-width:220px}
  .an-rd #main-menu > li:not(.an-has-mega) > ul.sub-menu > li{background:none!important;border:0!important;float:none}
  .an-rd #main-menu > li:not(.an-has-mega) > ul.sub-menu > li > a{display:block;background:none!important;color:var(--an-ink)!important;font:600 15px/1.3 var(--an-font)!important;text-transform:none!important;letter-spacing:0!important;padding:10px 18px!important;white-space:nowrap}
  .an-rd #main-menu > li:not(.an-has-mega) > ul.sub-menu > li > a:hover,.an-rd #main-menu > li:not(.an-has-mega) > ul.sub-menu > li > a:focus{color:var(--an-blue)!important;background:var(--an-bg)!important}
}

/* ===== 2026-10-28: блоки рубрик у лівій колонці (Поради, Огляди, Автотюнінг…) — без пустоти під великою карткою =====
   було: велика картка (~430px) + стовпчик із 7 статей (~1200px) → під карткою порожньо.
   стало: велика картка + 3 статті праворуч, решта — під ними у дві колонки (ul.older-post → display:contents, li стають клітинками сітки) */
@media (min-width:980px){
  .an-rd .widget-area-1 .kp-article-list-widget{display:grid!important;grid-template-columns:1fr 1fr;column-gap:26px;align-items:start}
  .an-rd .widget-area-1 .kp-article-list-widget:before,.an-rd .widget-area-1 .kp-article-list-widget:after,
  .an-rd .widget-area-1 .kp-article-list-widget>.older-post:before,.an-rd .widget-area-1 .kp-article-list-widget>.older-post:after{display:none!important}
  .an-rd .widget-area-1 .kp-article-list-widget>.widget-title{grid-column:1/-1}
  .an-rd .widget-area-1 .kp-article-list-widget>.entry-item{grid-column:1;grid-row:2/span 3;float:none!important;width:auto!important;margin:0!important}
  .an-rd .widget-area-1 .kp-article-list-widget>.older-post{display:contents!important}
  .an-rd .widget-area-1 .kp-article-list-widget>.older-post>li{float:none!important;width:auto!important;margin:0 0 14px!important}
  .an-rd .widget-area-1 .kp-article-list-widget>.older-post>li:nth-child(n+4):nth-last-child(2):nth-child(even){border-bottom:0;margin-bottom:0!important}
  .an-rd .widget-area-1 .kp-article-list-widget>.older-post>li:last-child{margin-bottom:0!important}
}
@media (min-width:980px){
  /* велика картка тягнеться на висоту трьох сусідніх статей: фото заповнює решту (object-fit) */
  .an-rd .widget-area-1 .kp-article-list-widget>.entry-item{align-self:stretch;display:flex!important;flex-direction:column;margin-bottom:14px!important}
  .an-rd .widget-area-1 .kp-article-list-widget>.entry-item>.entry-thumb{flex:1 1 auto;min-height:200px;overflow:hidden;border-radius:var(--an-r-sm);position:relative}
  .an-rd .widget-area-1 .kp-article-list-widget>.entry-item>.entry-thumb a{position:absolute;inset:0;display:block}
  .an-rd .widget-area-1 .kp-article-list-widget>.entry-item>.entry-thumb img{width:100%!important;height:100%!important;aspect-ratio:auto!important;object-fit:cover}
}
@media (min-width:980px){
  /* роздільник один: тема дає border-top, шар — border-bottom → подвійні лінії; лишаємо лише верхній (крім першої статті) */
  .an-rd .widget-area-1 .kp-article-list-widget>.older-post>li{border-bottom:0!important;margin-bottom:0!important}
  .an-rd .widget-area-1 .kp-article-list-widget>.older-post>li:first-child{border-top:0!important;padding-top:0!important}
}

/* 15.11.2026: H1 сторінок «Ціни на пальне» (тема не виводить заголовок сторінки) */
.an-rd .entry-content h1.an-fuel-h1,h1.an-fuel-h1{font-size:32px;line-height:1.2;font-weight:800;margin:4px 0 12px;letter-spacing:-.01em}
@media(max-width:600px){.an-rd .entry-content h1.an-fuel-h1,h1.an-fuel-h1{font-size:24px}}

/* 16.11: посилання в тексті — насичений синій у темній темі, щоб не зливалось із текстом */
html[data-theme="dark"] body.an-rd .elements-box a:not(:has(img)),html:not([data-theme="light"]) body.an-rd .elements-box a:not(:has(img)){color:#3d9bff!important}
html[data-theme="dark"] body.an-rd .elements-box a:not(:has(img)):hover,html:not([data-theme="light"]) body.an-rd .elements-box a:not(:has(img)):hover{color:#7ab9ff!important}
.an-rd .elements-box a:not(:has(img)){color:#1565c0}
.an-rd .elements-box a:not(:has(img)) b,.an-rd .elements-box a:not(:has(img)) strong,.an-rd .elements-box a:not(:has(img)) em,.an-rd .elements-box a:not(:has(img)) span{color:inherit!important}

/* ===== 2026-11-20: прогрес читання прилипає до нижнього краю меню + кнопка «нагору» ===== */
#header-top,.kp-page-header{position:relative}
.an-rd.an-nav-fixed #header-top{position:fixed}
.an-progress{position:absolute!important;left:0!important;right:0;bottom:0!important;top:auto!important;width:100%;height:4px;z-index:5;pointer-events:none;
  background:rgba(255,255,255,.14)!important;transform:none!important;overflow:hidden}
.an-progress i{display:block;height:100%;width:100%;transform-origin:0 50%;transform:scaleX(0);
  background:linear-gradient(90deg,#2eb3ff,#8fe1ff);box-shadow:0 0 8px rgba(80,200,255,.7);transition:transform .08s linear}
.an-totop{position:fixed;right:20px;bottom:calc(24px + env(safe-area-inset-bottom,0px));z-index:9980;width:46px;height:46px;border:0;border-radius:50%;
  background:var(--an-blue,#1e6fb8);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 18px rgba(12,34,58,.28);opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .2s ease,transform .2s ease,visibility .2s,background-color .15s}
.an-totop.is-on{opacity:1;visibility:visible;transform:none}
.an-totop:hover{background:var(--an-blue-d,#155893)}
.an-totop:focus-visible{outline:3px solid #fff;outline-offset:2px;box-shadow:0 0 0 6px var(--an-blue,#1e6fb8)}
.an-totop svg{width:22px;height:22px}
@media (max-width:600px){.an-totop{right:14px;bottom:calc(18px + env(safe-area-inset-bottom,0px));width:42px;height:42px}}
@media (prefers-reduced-motion:reduce){.an-totop{transition:none}}

/* ===== 2026-11-20: телефон — права частина шапки (мова + пошук) не вміщалась, лупа вилазила за екран ===== */
@media (max-width:480px){
  .an-rd.an-hdr #header-middle .wrapper{grid-template-columns:auto minmax(0,1fr) auto;column-gap:4px;padding-left:6px;padding-right:6px}
  .an-rd.an-hdr #header-middle .logo-image{min-width:0;max-width:100%}
  .an-rd.an-hdr #header-middle .logo-image img{max-height:30px;max-width:100%;height:auto}
  .an-rd .an-hdr-btn{width:38px;height:38px}
  .an-rd .an-hdr-left{gap:0}
}

/* ===== 2026-11-20: «Популярні теми» в бічній колонці + повна хмара позначок у підвалі ===== */
.an-rd .an-topics{display:flex;flex-wrap:wrap;gap:8px}
.an-footer-topics{border-top:1px solid rgba(255,255,255,.1);margin-top:26px;padding:22px 0 6px}
.an-footer-topics-title{font:700 13px/1 var(--an-font,inherit);letter-spacing:.08em;text-transform:uppercase;color:#fff;opacity:.85;margin:0 0 14px}
.an-footer-topics .tagcloud{display:flex;flex-wrap:wrap;gap:8px}
.an-footer-topics .tagcloud a{font-size:13px!important;line-height:1;padding:7px 11px;border-radius:999px;border:1px solid rgba(255,255,255,.16);color:rgba(255,255,255,.78)!important;text-decoration:none!important;transition:background .15s,color .15s,border-color .15s}
.an-footer-topics .tagcloud a:hover{background:rgba(255,255,255,.1);color:#fff!important;border-color:rgba(255,255,255,.3)}
/* підвал: перебиваємо загальний світлий стиль .tagcloud */
#bottom-sidebar .an-footer-topics .an-footer-topics-title{color:#fff!important;opacity:.85}
#bottom-sidebar .an-footer-topics .tagcloud a{background:transparent!important;color:rgba(255,255,255,.8)!important;border:1px solid rgba(255,255,255,.18)!important;box-shadow:none!important;font-size:13px!important}
#bottom-sidebar .an-footer-topics .tagcloud a:hover{background:rgba(255,255,255,.1)!important;color:#fff!important;border-color:rgba(255,255,255,.35)!important}

/* ===== 2026-11-20: «Ціни на пальне» (смуга на головній + віджет), вставка «Коротко», «Оновлено» ===== */
.an-fuel-w{font-family:var(--an-font);color:var(--an-ink)}
.an-fuel-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.an-fuel-ic{display:inline-flex;width:30px;height:30px;border-radius:8px;align-items:center;justify-content:center;background:var(--an-blue-soft);color:var(--an-blue)}
.an-rd a.an-fuel-t{font-weight:700;font-size:16px;color:var(--an-ink)!important;text-decoration:none!important}
.an-rd a.an-fuel-t:hover{color:var(--an-blue)!important}
.an-fuel-note{font-size:12px;color:var(--an-mute)}
.an-fuel-it{display:flex;align-items:baseline;gap:6px}
.an-fuel-n{font-size:13px;color:var(--an-mute);font-weight:600}
.an-fuel-p{font-size:19px;font-weight:700;font-variant-numeric:tabular-nums;color:var(--an-ink)}
.an-fuel-d{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;white-space:nowrap}
.an-fuel-d.is-down{color:#1f9d55}.an-fuel-d.is-up{color:#d64545}.an-fuel-d.is-flat{color:var(--an-mute)}
html[data-theme="dark"] .an-fuel-d.is-down{color:#4cd38a}html[data-theme="dark"] .an-fuel-d.is-up{color:#ff7a7a}
.an-rd a.an-fuel-more{font-size:13px;font-weight:600;color:var(--an-blue)!important;text-decoration:none!important;white-space:nowrap}
.an-rd a.an-fuel-more:hover{text-decoration:underline!important}
/* смуга на головній */
.an-fuel-sec{margin-top:14px!important;margin-bottom:18px!important}
.an-fuel-strip{display:flex;align-items:center;gap:14px 28px;flex-wrap:wrap;background:var(--an-card);border:1px solid var(--an-line);border-radius:var(--an-r-lg,14px);padding:14px 20px;box-shadow:0 1px 2px rgba(12,34,58,.04)}
.an-fuel-strip .an-fuel-head{flex:0 0 auto}
.an-fuel-strip .an-fuel-note{flex-basis:100%;padding-left:38px;margin-top:-6px}
.an-fuel-strip .an-fuel-row{display:flex;gap:10px 30px;flex-wrap:wrap;flex:1 1 auto}
.an-fuel-strip .an-fuel-more{margin-left:auto}
@media (max-width:700px){
  .an-fuel-strip{padding:12px 14px;gap:10px}
  .an-fuel-strip .an-fuel-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%}
  .an-fuel-strip .an-fuel-it{flex-direction:column;gap:1px;align-items:flex-start}
  .an-fuel-strip .an-fuel-p{font-size:17px}
  .an-fuel-strip .an-fuel-more{margin-left:0}
}
/* віджет у бічній колонці */
.an-fuel-side{border:1px solid var(--an-line);border-radius:var(--an-r-lg,14px);padding:16px;background:var(--an-card)}
.an-fuel-side .an-fuel-note{flex-basis:100%;padding-left:38px;margin-top:-4px}
.an-fuel-side .an-fuel-row{display:flex;flex-direction:column;margin:10px 0 12px}
.an-fuel-side .an-fuel-it{justify-content:space-between;padding:7px 0;border-bottom:1px solid var(--an-line)}
.an-fuel-side .an-fuel-it:last-child{border-bottom:0}
.an-fuel-side .an-fuel-n{flex:1}
.an-fuel-side .an-fuel-p{font-size:17px}
.an-fuel-side .an-fuel-d{min-width:58px;text-align:right}
/* «Коротко:» */
.an-rd .elements-box p.an-korotko{background:var(--an-blue-soft);border-left:4px solid var(--an-blue);border-radius:0 var(--an-r,10px) var(--an-r,10px) 0;padding:14px 18px;margin:0 0 22px}
.an-rd .elements-box p.an-korotko strong:first-child{color:var(--an-blue)}
/* «Оновлено» */
.an-updated{color:var(--an-blue);font-weight:600}

/* ===== 2026-11-20: широкі монітори ≥1640px — сітка 1560 (+180), рішення власника «сайт вузенький» ===== */
@media only screen and (min-width:1640px){
  .an-rd .wrapper{width:1560px}
  .an-rd .main-col{width:1140px}
  .an-rd .sidebar{width:421px}
  .an-rd .col-a{width:820px}
  .an-rd .col-b{width:741px}
  .an-rd .widget-area-1 .kp-article-list-widget .entry-item{width:316px}
  .an-rd .widget-area-1 .kp-article-list-widget .older-post{width:410px}
  .an-rd .widget-area-1 .kp-small-list-widget ul li{width:362px}
  .an-rd .an-mega-in{max-width:1560px}
  .an-rd .widget-area-3{width:436px}
  .an-rd .widget-area-4{width:253px}
}
/* 2026-11-20: у віджеті цін 5 видів пального */
.an-fuel-strip .an-fuel-row{justify-content:space-between;gap:10px 24px}
.an-fuel-side .an-fuel-n{white-space:nowrap}
@media (max-width:700px){.an-fuel-strip .an-fuel-row{grid-template-columns:repeat(3,minmax(0,1fr))}.an-fuel-strip .an-fuel-n{font-size:12px}}
/* вузька колонка головної (widget-area-4): 5 видів пального вміщуються */
.an-rd .widget-area-4 .an-fuel-side{padding:12px}
.an-rd .widget-area-4 .an-fuel-side .an-fuel-it{gap:6px}
.an-rd .widget-area-4 .an-fuel-side .an-fuel-n{white-space:normal;font-size:12px;line-height:1.2}
.an-rd .widget-area-4 .an-fuel-side .an-fuel-p{font-size:15px}
.an-rd .widget-area-4 .an-fuel-side .an-fuel-d{min-width:0;font-size:11px}
.an-rd .widget-area-4 .an-fuel-side .an-fuel-note{padding-left:0;margin-top:2px}
/* 2026-11-20: міні-калькулятор розмитнення в бічних колонках (під цінами на пальне) */
.an-cmini{border:1px solid var(--an-line);border-radius:var(--an-r-lg,14px);padding:16px;background:var(--an-card);font-family:var(--an-font)}
.an-cmini-f{display:flex;flex-direction:column;gap:9px;margin:12px 0}
.an-cmini label{display:flex;flex-direction:column;gap:4px;margin:0;font-size:12px;font-weight:600;color:var(--an-mute)}
.an-cmini label[hidden]{display:none}
.an-cmini input[type=number],.an-cmini select{width:100%;min-height:38px;border:1px solid var(--an-line);border-radius:8px;padding:6px 10px;font:600 15px var(--an-font);color:var(--an-ink);background:var(--an-bg);box-sizing:border-box}
.an-cmini-2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
.an-cmini .an-cmini-eu{flex-direction:row;align-items:center;gap:7px;font-weight:500;color:var(--an-ink);cursor:pointer}
.an-cmini-eu input{accent-color:var(--an-blue);width:16px;height:16px;margin:0}
.an-cmini-res{display:flex;flex-direction:column;gap:1px;padding:10px 0;border-top:1px solid var(--an-line);margin-bottom:6px}
.an-cmini-res span{font-size:12px;font-weight:600;color:var(--an-mute)}
.an-cmini-sum{font:800 22px/1.2 var(--an-font);color:var(--an-blue);font-variant-numeric:tabular-nums}
.an-cmini-pen{font-size:12px;color:var(--an-mute)}
.an-rd .widget-area-4 .an-cmini{padding:12px}
.an-rd .widget-area-4 .an-cmini-sum{font-size:19px}
.an-rd .widget-area-4 .an-cmini-2{grid-template-columns:1fr}
#bottom-sidebar .an-footer-topics .an-footer-topics-title2{margin-top:20px}

/* ===== Віджети v2: «Ціни на пальне» + «Калькулятор розмитнення» (20.11) ===== */
.an-rd .an-wv2-t{margin-bottom:14px!important}
.an-rd .an-wv2{--wv2-bg:#fff;--wv2-btn-ink:#fff;position:relative;background:var(--wv2-bg);border:1px solid color-mix(in srgb,var(--an-blue) 30%,var(--an-line));border-top:3px solid var(--an-blue);border-radius:12px;box-shadow:0 1px 2px rgba(12,34,58,.05),0 8px 22px rgba(12,34,58,.07)}
html[data-theme="dark"] body.an-rd .an-wv2{--wv2-bg:#172433;--wv2-btn-ink:#0b1219;box-shadow:0 1px 2px rgba(0,0,0,.45),0 10px 26px rgba(0,0,0,.4)}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.an-rd .an-wv2{--wv2-bg:#172433;--wv2-btn-ink:#0b1219;box-shadow:0 1px 2px rgba(0,0,0,.45),0 10px 26px rgba(0,0,0,.4)}}
.an-rd .an-wv2 .an-fuel-ic,.an-rd .an-wv2 a.an-fuel-t{display:none}
.an-rd .an-cmini.an-wv2>.an-fuel-head{display:none}
.an-rd .an-wv2 .an-fuel-note{padding-left:0!important;margin-top:0!important;font-size:12px;color:var(--an-ink-2,var(--an-mute))}
/* пальне */
.an-rd .an-fuel-side.an-wv2 .an-fuel-row{margin:8px 0 14px}
.an-rd .an-fuel-side.an-wv2 .an-fuel-it{padding:8px 0;align-items:center}
.an-rd .an-fuel-side.an-wv2 .an-fuel-n{font-size:14px;color:var(--an-ink-2,var(--an-ink))}
.an-rd .an-fuel-side.an-wv2 .an-fuel-p{font-size:19px;font-weight:800}
.an-rd .widget-area-4 .an-fuel-side.an-wv2 .an-fuel-n{font-size:13px}
.an-rd .widget-area-4 .an-fuel-side.an-wv2 .an-fuel-p{font-size:17px}
/* калькулятор */
.an-rd .an-cmini.an-wv2 .an-cmini-f{margin-top:2px}
.an-rd .an-cmini.an-wv2 label{color:var(--an-ink-2,var(--an-mute))}
.an-rd .an-cmini.an-wv2 .an-cmini-eu{color:var(--an-ink)}
.an-rd .an-cmini.an-wv2 .an-cmini-res{border:0;background:var(--an-blue-soft);border-radius:10px;padding:12px 14px;margin:4px 0 0;gap:3px}
.an-rd .an-cmini.an-wv2 .an-cmini-res span{color:var(--an-ink-2,var(--an-mute))}
.an-rd .an-cmini.an-wv2 .an-cmini-sum{font-size:24px}
.an-rd .widget-area-4 .an-cmini.an-wv2 .an-cmini-sum{font-size:21px}
/* кнопка замість текстового посилання */
.an-rd .an-wv2 a.an-fuel-more{display:flex;align-items:center;justify-content:center;gap:6px;min-height:42px;margin-top:12px;padding:8px 12px;border-radius:9px;background:var(--an-blue);color:var(--wv2-btn-ink)!important;font-size:14px;font-weight:700;white-space:normal;text-align:center;line-height:1.25;transition:background-color .15s}
.an-rd .an-wv2 a.an-fuel-more:hover{background:var(--an-blue-d);text-decoration:none!important}
.an-rd .widget-area-4 .an-wv2 a.an-fuel-more{font-size:13px}
.an-rd .widget-area-4 .an-wv2-t{font-size:17px!important;letter-spacing:.01em!important}
/* Віджети v2 — «жевріння» (20.11): світіння навколо картки, лише opacity; блоки по черзі */
.an-rd .an-wv2{isolation:isolate;--wv2-glow:rgba(30,111,184,.38)}
html[data-theme="dark"] body.an-rd .an-wv2{--wv2-glow:rgba(108,173,232,.5)}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.an-rd .an-wv2{--wv2-glow:rgba(108,173,232,.5)}}
.an-rd .an-wv2:before{content:"";position:absolute;inset:-1px;top:-3px;border-radius:inherit;pointer-events:none;z-index:-1;box-shadow:0 0 0 1px var(--wv2-glow),0 0 22px 2px var(--wv2-glow);opacity:.15;animation:an-wv2-glow 5s ease-in-out infinite}
.an-rd .an-cmini.an-wv2:before{animation-delay:-2.5s}
.an-rd .an-wv2:hover:before{opacity:1;animation-play-state:paused}
@keyframes an-wv2-glow{0%,100%{opacity:.15}50%{opacity:1}}
@media (prefers-reduced-motion:reduce){.an-rd .an-wv2:before{animation:none;opacity:.45}}
/* «Жевріння» і для смуги цін на головній (20.11) */
.an-rd .an-fuel-strip{position:relative;isolation:isolate;--wv2-glow:rgba(30,111,184,.38)}
html[data-theme="dark"] body.an-rd .an-fuel-strip{--wv2-glow:rgba(108,173,232,.5)}
@media (prefers-color-scheme:dark){html:not([data-theme="light"]) body.an-rd .an-fuel-strip{--wv2-glow:rgba(108,173,232,.5)}}
.an-rd .an-fuel-strip:before{content:"";position:absolute;inset:-1px;border-radius:inherit;pointer-events:none;z-index:-1;box-shadow:0 0 0 1px var(--wv2-glow),0 0 22px 2px var(--wv2-glow);opacity:.15;animation:an-wv2-glow 5s ease-in-out infinite}
.an-rd .an-fuel-strip:hover:before{opacity:1;animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.an-rd .an-fuel-strip:before{animation:none;opacity:.45}}
/* смуга цін: відступ знизу = зверху (28px; .an-hero має margin-top:-8px) — 20.11 */
.an-rd .an-fuel-sec{margin-bottom:36px!important}

/* ===== 2026-11-21: текст статті на всю ширину колонки (сітка розширена 20.11, обмеження 740px з аудиту 09.10 лишало порожнечу праворуч) ===== */
@media (min-width:980px){
  .an-rd.single .elements-box > p,.an-rd.single .elements-box > ul,.an-rd.single .elements-box > ol,
  .an-rd.single .elements-box > blockquote,.an-rd.single .elements-box > h2,.an-rd.single .elements-box > h3,.an-rd.single .elements-box > h4{max-width:none}
}

/* 2026-11-29: права вузька колонка (віджети пального й розмитнення) падала під стрічку при зменшеному масштабі браузера:
   ширини колонок сходились у нуль запасу, а Chrome при зумі округлює рамку 1px до фізичного пікселя (>1 CSS px).
   Тепер колонка не float з фіксованою шириною, а займає залишок поруч зі стрічкою (BFC, flow-root — без обрізання світіння). */
@media (min-width:1000px){.an-rd .col-b > .widget-area-3 + .widget-area-4{float:none!important;width:auto!important;display:flow-root;min-width:0}}
