/* ============================================================
   Оболочка bestherb.ru в оформлении v3: шапка, подвал, тексты
   ============================================================

   Палитра (--bg, --text, --accent…) и шрифт объявлены в bestherb-v2.css
   плагина вместе с тёмным вариантом под html[data-theme="dark"]. Здесь они
   раздаются Astra и её шапке с подвалом, поэтому тёмная тема работает на
   всём сайте, а не только на странице промокодов.

   Почти все правила начинаются с html[data-theme]: атрибут ставит эта тема
   (functions.php), и такая приставка заодно перебивает селекторы Astra
   из её встроенных стилей, не прибегая к !important. */

/* ---------- Цвета Astra ----------
   Astra красит сайт девятью глобальными цветами. Подменяем их своими —
   и фон, текст, заголовки, ссылки, рамки темы перекрашиваются разом,
   включая мобильное меню и подвал. Второе значение — на случай, если
   плагин выключен и палитры нет. */
html[data-theme]{
  --ast-global-color-0:var(--link,#046bd2);
  --ast-global-color-1:var(--link-hover,#045cb4);
  --ast-global-color-2:var(--text,#1e293b);
  --ast-global-color-3:var(--text2,#334155);
  --ast-global-color-4:var(--bg,#fff);
  --ast-global-color-5:var(--surface,#f0f5fa);
  --ast-global-color-6:var(--text,#111);
  --ast-global-color-7:var(--line,#d1d5db);
  --ast-global-color-8:var(--text,#111);
  --ast-border-color:var(--line,#d1d5db);
  --ast-form-input-text:var(--text,#475569);
  --ast-form-input-focus-text:var(--text,#475569);
  --ast-comment-inputs-background:var(--surface,#fff);
  background:var(--bg,#fff);
}
html[data-theme] body{background:var(--bg);color:var(--text2);-webkit-font-smoothing:antialiased;transition:background-color .25s ease,color .25s ease}
html[data-theme] :is(body,button,input,select,textarea,.ast-button,.ast-custom-button){font-family:var(--font)}
html[data-theme] :is(h1,h2,h3,h4,h5,h6),
html[data-theme] .entry-content :where(h1,h2,h3,h4,h5,h6),
html[data-theme] .entry-title,
html[data-theme] .entry-title a{font-family:var(--font);color:var(--text)}
html[data-theme] ::selection{background:var(--accent);color:var(--on-accent)}
html[data-theme] :is(.ast-plain-container,.ast-separate-container,.ast-page-builder-template){background:var(--bg)}

/* ---------- Шапка ---------- */

/* Липкая, полупрозрачная, с размытием под собой, как в макете.
   Размытие — на псевдоэлементе, а не на самой шапке: backdrop-filter у
   предка ломает position:fixed у потомков, а шторка выбора страны и
   мобильное меню — как раз fixed внутри шапки. */
html[data-theme] #masthead{position:sticky;top:0;z-index:100;background:transparent;border-bottom:1px solid var(--line)}
html[data-theme] #masthead::before{content:'';position:absolute;inset:0;z-index:-1;background:var(--header);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html[data-theme] #masthead :is(.ast-primary-header-bar,.main-header-bar,.ast-above-header-bar,.ast-below-header-bar){background:transparent;border-bottom:0;box-shadow:none}
/* Под полосой админки (видна только вошедшему в админку). Шапка встаёт под
   полосу, вкладки разделов — под шапку. «html[data-theme]» в селекторе нужен:
   без него правило слабее основного выше, шапка оставалась на top:0 и уходила
   под полосу на 32px, а вкладки, сдвинутые на те же 32px, оставляли над собой
   щель, в которой просвечивали карточки. До 600px полоса уезжает вместе со
   страницей — там сдвига нет. */
@media (min-width:783px){html[data-theme] .admin-bar #masthead{top:32px}.admin-bar .tabs{top:calc(var(--hdr) + 32px)}}
@media (min-width:601px) and (max-width:782px){html[data-theme] .admin-bar #masthead{top:46px}.admin-bar .tabs{top:calc(var(--hdr) + 46px)}}
@media (max-width:600px){html[data-theme] .admin-bar #masthead{top:0}}

/* Логотип текстом (см. bestherb_text_logo) */
.bh-logo{display:inline-block;font-family:var(--font);font-weight:600;font-size:22px;line-height:1;letter-spacing:-.02em;white-space:nowrap}
html[data-theme] a.bh-logo,
html[data-theme] a.bh-logo:hover{color:var(--text);text-decoration:none}
.bh-logo span{color:var(--accent-text)}
html[data-theme] #masthead .ast-site-title-wrap{display:none}
html[data-theme] #masthead .ast-logo-title-inline .site-logo-img{padding-right:0}

/* Строка: логотип · меню ………… тема · страна. Меню Astra держит в правой
   секции, поэтому секция растягивается, а меню прижимается влево. */
html[data-theme] #ast-desktop-header .ast-builder-grid-row{grid-template-columns:auto minmax(0,1fr);column-gap:40px}
html[data-theme] #ast-desktop-header .site-header-primary-section-right{justify-content:flex-end;min-width:0}
html[data-theme] #ast-desktop-header .ast-builder-menu-1{margin-right:auto;min-width:0}
html[data-theme] .ast-builder-menu-1 .main-header-menu{background:transparent}
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link{padding:0 14px;font-size:15px;color:var(--text2)}
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item:first-child > .menu-link{padding-left:0}
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link:hover,
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item:hover > .menu-link,
html[data-theme] .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link{color:var(--text)}
html[data-theme] .ast-builder-menu-1 .sub-menu{background:var(--surface);border-color:var(--accent)}

/* Переключатель темы. Видна подпись, подходящая к текущей теме. */
html[data-theme] button.bh-theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:38px;margin:0 0 0 12px;padding:0 14px;border:1px solid var(--line);border-radius:10px;background:transparent;box-shadow:none;color:var(--text2);font-family:var(--font);font-size:14px;font-weight:400;line-height:1;white-space:nowrap;cursor:pointer;flex:none}
html[data-theme] button.bh-theme-toggle:hover,
html[data-theme] button.bh-theme-toggle:focus{background:transparent;color:var(--text);border-color:var(--line-2)}
.bh-theme-ic{width:14px;height:14px;flex:none}
html[data-theme="light"] .bh-when-dark,
html:not([data-theme="light"]) .bh-when-light{display:none}

/* Мобильная шапка: логотип слева; справа тема, страна и гамбургер.
   Правая колонка — minmax(0,1fr), как у шапки компьютера: у Astra там auto,
   колонка росла по содержимому, и длинное название страны выталкивало шапку
   за край экрана (прокрутка вбок на 430px). Теперь колонка не шире экрана,
   а название страны в ней ужимается многоточием (country-picker.css). */
html[data-theme] #ast-mobile-header .ast-builder-grid-row{grid-template-columns:auto minmax(0,1fr)}
html[data-theme] #ast-mobile-header .site-header-primary-section-right{gap:8px;min-width:0;justify-content:flex-end}
html[data-theme] #ast-mobile-header [data-section="section-header-mobile-trigger"]{order:3}
html[data-theme] #ast-mobile-header button.menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:10px;background:transparent;box-shadow:none;color:var(--text)}
html[data-theme] #ast-mobile-header button.menu-toggle:hover,
html[data-theme] #ast-mobile-header button.menu-toggle:focus{background:var(--hover);color:var(--text)}
html[data-theme] #ast-mobile-header .menu-toggle svg{fill:currentColor}
html[data-theme] .ast-mobile-header-wrap .ast-mobile-header-content,
html[data-theme] .ast-desktop-header-content{background:var(--bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line);box-shadow:0 24px 40px -24px rgba(0,0,0,.5)}
html[data-theme] .ast-builder-menu-mobile .main-navigation .main-header-menu{background:transparent}
html[data-theme] .ast-builder-menu-mobile .main-navigation .menu-item > .menu-link{padding:13px 20px;font-size:16px;line-height:1.4;color:var(--text);border-color:var(--line)}
html[data-theme] .ast-builder-menu-mobile .main-navigation .menu-item > .menu-link:hover,
html[data-theme] .ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link{background:var(--hover);color:var(--text)}
@media (max-width:921px){
  html[data-theme] button.bh-theme-toggle{width:40px;height:40px;margin:0;padding:0}
  html[data-theme] button.bh-theme-toggle span{display:none}
  .bh-logo{font-size:20px}
}
/* На экране 320px логотип и три кнопки не помещались на 2px, и страница
   получала горизонтальную прокрутку. Сужаем промежуток между ними. */
@media (max-width:360px){
  html[data-theme] #ast-mobile-header .ast-builder-grid-row{column-gap:10px}
  html[data-theme] #ast-mobile-header .site-header-primary-section-right{gap:6px}
}

/* ---------- Страницы плагина в контейнере Astra ---------- */

/* У страниц стран свой контейнер .promo-wrap: 1224px и поля по 24px — на
   случай темы без обёртки. Внутри .ast-container он лишний: содержимое
   выходило на 62px уже шапки с каждой стороны (1176px против 1300px у шапки
   и у главной), а на телефоне отступало от края на 33px при 20px у шапки.
   Страницу одного кода (.promo-page) не трогаем: она узкая намеренно. */
html[data-theme] .ast-container > .promo-country{max-width:none;padding-left:0;padding-right:0}

/* ---------- Главная и страницы стран: фото на первом экране ---------- */

/* В макете v3 справа на первом экране стоит фото: оно занимает 61,8% ширины
   окна, слева и снизу растворяется в фоне, заголовок и цифры лежат поверх.
   В первой выкатке v3 фото не было — первый экран был только текстовым.

   Картинки (1920×1080, webp): assets/hero-home.webp — главная,
   assets/hero-country.webp — одна на все страницы стран. До 1.2.5 на
   главной стояло временное assets/hero.webp. Новое фото класть ПОД НОВЫМ
   ИМЕНЕМ и менять имя здесь: старое имя держат кэш браузера и Cloudflare,
   и файл, заменённый под тем же именем, посетители увидели бы не сразу.
   Чтобы убрать фото — удалить этот блок.

   На странице страны фото не меняет высоту первого экрана: оно заполняет
   пустое место справа над цифрами. Его нет в списке стран (справа там
   поле поиска) и на страницах «доставка приостановлена» — коробка iHerb
   спорила бы с текстом страницы.

   Блок .mast печатает плагин внутри контейнера 1300px, а фото должно идти
   до правого края окна. Поэтому оно нарисовано псевдоэлементом, вынесенным
   за контейнер: left и right считаются от ширины окна (100vw). У 100vw есть
   подвох — она включает полосу прокрутки, и правый край уходил бы за окно
   на её ширину; лишнее срезает overflow-x:clip у #content. Именно clip, а
   не hidden: hidden сделал бы #content прокручиваемым блоком, и липкие
   вкладки разделов перестали бы прилипать.

   Только от 921px: на телефоне фото легло бы под текст целиком, а читать
   заголовок поверх картинки нельзя. */
@media (min-width:921px){
  .home.promo-codes-page #content,
  .promo-country-page #content{overflow-x:clip}
  .home.promo-codes-page .entry-content > .mast{
    position:relative;
    isolation:isolate;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    /* До 1.2.5 было clamp(520px, 82vh − шапка, 680px): на обычном мониторе
       над «Ноябрь 2026» оставалось ~240px пустоты, текст уходил вниз
       первого экрана. Теперь не выше 560px — пустоты ~120px, фото справа
       всё так же видно целиком. */
    min-height:clamp(480px,calc(72vh - var(--hdr,80px)),560px);
    /* Боковые отступы и ширина — явно: Astra ставит потомкам .entry-content
       margin:auto, а блок с авто-отступами сжимается по содержимому. */
    max-width:none;
    margin-left:0;
    margin-right:0;
    padding-bottom:48px;
  }
  .promo-country-page .promo-country:not(.promo-hub):not(.promo-country--suspended) > .mast{
    position:relative;
    isolation:isolate;
  }
  /* Над .mast страны стоит строка «хлебных крошек», а дымка под шапкой
     заходит на неё: без своего слоя крошки оказались бы под дымкой. */
  .promo-country-page .promo-country > .bh-crumbs{position:relative;z-index:1}
  /* Фото: от 38,2% ширины окна до его правого края, сверху — от шапки. */
  .home.promo-codes-page .entry-content > .mast::before,
  .promo-country-page .promo-country:not(.promo-hub):not(.promo-country--suspended) > .mast::before{
    content:'';
    position:absolute;
    z-index:-2;
    top:-60px;
    bottom:0;
    left:calc(50% - 11.8vw);
    right:calc(50% - 50vw);
    /* right: коробка и банки у обеих картинок в правой половине кадра. В
       окнах 1280–1440px картинка обрезается по бокам, и при center за
       правый край уходил бы крайний флакон, а слева срезается то, что и так
       скрыто под градиентом. */
    background:var(--surface2) url('hero-home.webp') right 60% / cover no-repeat;
  }
  /* У страны над .mast ещё крошки: 92px вместо 60, чтобы фото, как на
     главной, начиналось сразу под шапкой. Первый экран страны ниже, чем у
     главной, картинка обрезается сверху и снизу: при 70% коробка видна
     целиком, а не уходит под нижний градиент. */
  .promo-country-page .promo-country:not(.promo-hub):not(.promo-country--suspended) > .mast::before{
    top:-92px;
    background-image:url('hero-country.webp');
    background-position:right 70%;
  }
  /* Три градиента: слева фото уходит в фон; снизу — тоже, и раньше, чем в
     макете (с 48%, а не с 55%): под подписями к цифрам фото уже не должно
     просвечивать, иначе серый текст 13px на светлой картинке не проходит
     норму контраста в тёмной теме; сверху — лёгкая дымка под
     шапкой, как в макете: у фото товаров вверху обычно стоит своя подпись,
     и край шапки резал бы её пополам. */
  .home.promo-codes-page .entry-content > .mast::after,
  .promo-country-page .promo-country:not(.promo-hub):not(.promo-country--suspended) > .mast::after{
    content:'';
    position:absolute;
    z-index:-1;
    top:-60px;
    bottom:0;
    left:calc(50% - 50vw);
    right:calc(50% - 50vw);
    pointer-events:none;
    background:
      linear-gradient(180deg,color-mix(in srgb,var(--bg) 82%,transparent) 0,transparent 170px),
      linear-gradient(180deg,transparent 48%,var(--bg) 90%),
      linear-gradient(90deg,var(--bg) 0,var(--bg) 50%,color-mix(in srgb,var(--bg) 85%,transparent) 66%,transparent 100%);
  }
  .promo-country-page .promo-country:not(.promo-hub):not(.promo-country--suspended) > .mast::after{top:-92px}
}

/* ---------- Страница 404 (astra-child/404.php) ---------- */

/* Ширина — как у шапки и страниц стран: без собственного контейнера внутри
   .ast-container (см. .promo-country выше). */
html[data-theme] .ast-container > .bh-404{max-width:none;padding-left:0;padding-right:0}
.bh-404{padding-top:56px;padding-bottom:72px}
.bh-404 .mast{padding-bottom:8px}
.bh-404-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:28px}
/* Кнопки стран — как в блоке «Промокоды по странам» на главной. Там они
   привязаны к body.promo-codes-page, а у 404 этого класса нет. */
.bh-404 .bh-countries .bh-country-links a{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 15px;border:1px solid var(--line);border-radius:10px;background:transparent;font-size:14.5px;line-height:1.3;color:var(--text);text-decoration:none}
.bh-404 .bh-countries .bh-country-links a:hover{border-color:var(--accent);background:var(--hover)}
.bh-404 .bh-countries .bh-country-links .bh-country-all{border-color:transparent;color:var(--link)}
@media (max-width:760px){
  .bh-404{padding-top:24px;padding-bottom:48px}
  .bh-404-actions .btn{flex:1 1 100%}
}

/* ---------- Подвал ---------- */

html[data-theme] .site-footer{background:var(--bg);border-top:1px solid var(--line);color:var(--muted)}
/* Боковые поля 20px — как у .ast-container шапки и контента. С нулевыми
   на экранах уже 1340px (ноутбук 1280, планшет, телефон) логотип и ссылки
   подвала стояли вплотную к краю окна. */
html[data-theme] .site-below-footer-wrap[data-section="section-below-footer-builder"]{background:transparent;border-top:0;padding:40px 20px 48px}
html[data-theme] .site-footer .site-footer-focus-item.ast-footer-copyright{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"logo links" "copy links";gap:10px 40px;align-items:start;text-align:left}
html[data-theme] .site-footer .ast-footer-copyright > .ast-footer-copyright{grid-area:copy;text-align:left;font-size:13px;color:var(--muted)}
html[data-theme] .site-footer .ast-footer-copyright p{margin:0}
.bh-footer-links{display:contents}
.bh-footer-links .bh-logo{grid-area:logo;justify-self:start;font-size:20px}
.bh-footer-links ul{grid-area:links;list-style:none;margin:0;padding:0;columns:2;column-gap:40px}
.bh-footer-links li{margin:0 0 8px;padding:0;break-inside:avoid}
html[data-theme] .bh-footer-links li a{font-size:14px;color:var(--text2);text-decoration:none}
html[data-theme] .bh-footer-links li a:hover{color:var(--link)}
@media (max-width:760px){
  html[data-theme] .site-footer .site-footer-focus-item.ast-footer-copyright{grid-template-columns:1fr;grid-template-areas:"logo" "links" "copy";gap:18px}
  .bh-footer-links ul{columns:1}
}
html[data-theme] #ast-scroll-top{background:var(--surface2);color:var(--text);border:1px solid var(--line);border-radius:10px}

/* ---------- Обычные страницы: «Доставка», «Оплата», статьи ---------- */

/* Статья — карточкой на фоне страницы, как карточки макета. */
html[data-theme] .ast-separate-container .ast-article-single:not(.ast-related-post),
html[data-theme] .ast-separate-container .ast-article-inner,
html[data-theme] .ast-separate-container .comments-area .comment-respond,
html[data-theme] .ast-separate-container .comments-area .ast-comment-list li,
html[data-theme] .ast-separate-container .ast-author-box{background:var(--surface);border:1px solid var(--card-line);box-shadow:var(--shadow);border-radius:24px}
html[data-theme] .ast-separate-container .ast-article-single .ast-article-inner{border:0;box-shadow:none;background:transparent}

/* Ширина текста. Карточка статьи занимала весь контейнер, и строка текста
   выходила 1213px — около 170 знаков, вдвое больше удобного. Карточка и
   заголовок над ней — колонкой 900px по центру (текст внутри — 814px).
   Только у одиночных записей и страниц без боковой колонки: ленте записей
   и страницам с сайдбаром нужна вся ширина. */
@media (min-width:922px){
  html[data-theme] body:not(.promo-codes-page).ast-no-sidebar:is(.single,.page) #primary{max-width:900px;margin-left:auto;margin-right:auto}
  html[data-theme] body:not(.promo-codes-page).ast-no-sidebar:is(.single,.page) .ast-single-entry-banner .ast-container{max-width:940px}
}

/* Полоса с заголовком записи над статьёй: у Astra она светло-серая (#eee)
   и в тёмной теме горела бы пятном. Заголовок — по левому краю, как в макете. */
html[data-theme] .ast-single-entry-banner{background:transparent;padding:56px 0 8px;text-align:left}
html[data-theme] .ast-single-entry-banner .ast-container{display:block;text-align:left}
html[data-theme] .ast-single-entry-banner .entry-meta{margin-top:12px}

/* Заголовок записи — крупный и тонкий, как на главной. */
html[data-theme] .entry-header .entry-title{font-size:clamp(32px,4.2vw,52px);font-weight:300;line-height:1.08;letter-spacing:-.035em}
html[data-theme] .entry-meta,
html[data-theme] .entry-meta *{color:var(--muted);font-weight:400}

/* Текст. На главной у статьи свои правила (promo-article.css), здесь —
   всё остальное. */
html[data-theme] body:not(.promo-codes-page) .entry-content{font-size:17px;line-height:1.7;color:var(--text2)}
html[data-theme] body:not(.promo-codes-page) .entry-content :where(h2){margin:1.8em 0 .6em;font-size:clamp(26px,2.6vw,32px);font-weight:400;line-height:1.2;letter-spacing:-.025em}
html[data-theme] body:not(.promo-codes-page) .entry-content :where(h3){margin:1.6em 0 .5em;font-size:21px;font-weight:500;line-height:1.3;letter-spacing:-.01em}
html[data-theme] body:not(.promo-codes-page) .entry-content :where(h4,h5,h6){font-weight:500}
html[data-theme] .entry-content :where(strong,b){color:var(--text);font-weight:600}
html[data-theme] body:not(.promo-codes-page) .entry-content a:not(.wp-block-button__link):not(.btn):not(.bh-inline-code){color:var(--link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
html[data-theme] body:not(.promo-codes-page) .entry-content a:not(.wp-block-button__link):not(.btn):not(.bh-inline-code):hover{color:var(--link-hover)}
html[data-theme] .entry-content :where(ul,ol) li::marker{color:var(--muted)}
html[data-theme] .entry-content hr{border-color:var(--line);background:var(--line)}

/* Картинки и скриншоты: на тёмном фоне белые края скриншотов режут глаз,
   поэтому мягкая рамка и скругление. */
html[data-theme] .entry-content :is(.wp-block-image,.wp-caption) img{border-radius:12px}
html[data-theme] .entry-content :is(figcaption,.wp-caption-text,.wp-caption-dd){color:var(--muted);font-size:14px}

/* Цитаты, таблицы, код */
html[data-theme] .entry-content blockquote{border-left:3px solid var(--accent);background:var(--surface);color:var(--text2);border-radius:0 16px 16px 0;padding:16px 20px}
html[data-theme] .entry-content table,
html[data-theme] .entry-content :is(th,td){border-color:var(--line)}
html[data-theme] .entry-content th{background:var(--surface2);color:var(--text)}
html[data-theme] .entry-content :is(code,kbd){background:var(--surface2);color:var(--text);border-radius:6px;padding:.1em .35em}
html[data-theme] .tablepress :is(thead th,tfoot th){background:var(--surface2);color:var(--text)}
html[data-theme] .tablepress :is(th,td){border-color:var(--line);background:transparent;color:var(--text2)}
html[data-theme] .tablepress .odd td{background:var(--surface)}
/* Широкие таблицы на телефоне листаются внутри себя, а не растягивают
   страницу вбок (таблица промокодов в «Доставке» шире экрана). */
@media (max-width:760px){
  html[data-theme] .entry-content table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
}

/* Блоки Gutenberg с фоном из палитры редактора: белые и светло-серые
   плашки в тёмной теме стали бы яркими пятнами. */
html[data-theme="dark"] .entry-content :is(.has-white-background-color,.has-ast-global-color-4-background-color,.has-ast-global-color-5-background-color,.has-very-light-gray-background-color,.has-cyan-bluish-gray-background-color){background-color:var(--surface)!important;color:var(--text2)}

/* Заметки WP Remark: у каждого пресета свой встроенный цвет. Сводим
   к карточке с янтарной чертой слева. */
html[data-theme] .entry-content .wpremark{background:var(--surface);border:1px solid var(--card-line);border-left:3px solid var(--accent);border-radius:16px;box-shadow:var(--shadow);color:var(--text2)}
html[data-theme] .entry-content .wpremark :is(.wpremark-title,.wpremark-content,.wpremark-content p){color:var(--text2)}
html[data-theme] .entry-content .wpremark .wpremark-title{color:var(--text);font-weight:600}
html[data-theme] .entry-content .wpremark .wpremark-icon{color:var(--accent-text)}

/* Формы: комментарии, поиск */
html[data-theme] :is(input[type="text"],input[type="email"],input[type="url"],input[type="search"],input[type="tel"],input[type="number"],input[type="password"],select,textarea):not(.countries-search input){background:var(--surface);border-color:var(--line);color:var(--text)}
html[data-theme] :is(input[type="submit"],.wp-block-button__link,.ast-button){background:var(--accent);color:var(--on-accent);border-radius:10px}
html[data-theme] :is(input[type="submit"],.wp-block-button__link,.ast-button):hover{background:var(--accent-hover);color:var(--on-accent)}

/* Хлебные крошки и навигация между записями */
html[data-theme] :is(.ast-breadcrumbs,.ast-breadcrumbs a){color:var(--muted)}
html[data-theme] .post-navigation a{color:var(--text2)}
