/* Shared helpers for amento 1:1 bodies (inline styles carry the look; this = responsive + motion) */
@keyframes ta-run {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ta-amento-page a[role="button"] { cursor: pointer; }
.ta-amento-page img { max-width: 100%; }

/* Horizontal chip/tabs scroller — hide scrollbar, keep swipe */
.hs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.hs::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}
@media (max-width: 767px) {
  /* Bleed для .hs на контентных страницах. Product/catalog — нельзя:
     иначе rail/slider с wide track раздувают page scrollWidth на iOS. */
  .ta-amento-page:not(.ta-amento-page--product):not(.ta-amento-page--catalog),
  .ta-amento-block {
    overflow-x: visible;
  }
  .ta-amento-block > .hs,
  .ta-amento-block .hs {
    margin-left: -16px !important;
    margin-right: -16px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: auto;
    max-width: none;
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
  }
}

/* FAQ accordion (amento delivery / payment / how-to-order) */
.ta-faq__panel[hidden] {
  display: none !important;
}
.ta-faq__item.is-open .ta-faq__chev {
  transform: rotate(180deg);
}
.ta-partners__track-wrap img,
.ta-partners-marquee img {
  max-width: none !important;
}
.ta-partners__grid-wrap{
  max-width:1560px;
  margin:0 auto;
  padding:8px clamp(16px,4vw,32px) 0;
  border-top:1px solid #E5E7EE;
  border-bottom:1px solid #E5E7EE;
}
.ta-partners__grid{
  list-style:none;
  margin:0;
  padding:28px 0;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:20px 24px;
  align-items:center;
}
.ta-partners__cell{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:64px;
  padding:8px 12px;
}
.ta-partners__cell img{
  max-height:56px;
  width:auto;
  max-width:100%;
  object-fit:contain;
  display:block;
  filter:grayscale(1);
  opacity:.85;
  transition:filter .2s ease,opacity .2s ease;
}
.ta-partners__cell:hover img{
  filter:none;
  opacity:1;
}
.ta-partners__more{
  display:none;
  margin:0 auto 24px;
  height:42px;
  padding:0 18px;
  border-radius:10px;
  border:1px solid #E5E7EE;
  background:#fff;
  color:#0F1E50;
  font:inherit;
  font-size:14px;
  font-weight:600;
  cursor:pointer;
}
@media (max-width:767px){
  .ta-partners__grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px 12px;
    padding:20px 0 8px;
  }
  .ta-partners__grid-wrap:not(.is-expanded) .ta-partners__cell.is-extra{
    display:none;
  }
  .ta-partners__more{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }
  .ta-partners__more[hidden]{
    display:none!important;
  }
  .ta-partners__grid-wrap.is-expanded .ta-partners__more{
    display:none!important;
  }
}

/* Home lead: [hidden] must win over any display utility */
.ta-home-lead-ok[hidden] {
  display: none !important;
}
.ta-home-lead-ok:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 420px;
}
.ta-home-lead-form[hidden] {
  display: none !important;
}
.ta-home-lead label {
  position: relative;
  min-width: 0;
}
.ta-home-lead input:not([type="checkbox"]):not([type="file"]):not([type="hidden"]),
.ta-home-lead textarea {
  box-sizing: border-box;
  max-width: 100%;
}
.ta-home-lead label > span {
  min-width: 0;
  flex: 1;
}
@media (max-width: 767px) {
  .ta-home-lead .ta-home-lead-form > div[style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Contacts page — amento hCols / hCols2 */
.ta-contacts-lead-ok[hidden],
.ta-contacts-lead-form[hidden] {
  display: none !important;
}
.ta-contacts-lead-ok:not([hidden]) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
  min-height: 320px;
}
.ta-contacts__map iframe {
  display: block;
}
@media (max-width: 1099px) {
  .ta-contacts__map-form,
  .ta-contacts__bottom,
  .ta-delivery__row,
  .ta-payment__row,
  .ta-how__row,
  .ta-privacy__row,
  .ta-promo__hero,
  .ta-promo__details {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ta-how__aside,
  .ta-privacy__toc,
  .ta-promo__aside {
    position: static !important;
  }
  .ta-contacts__map,
  .ta-delivery__map {
    min-height: 300px !important;
  }
}
.ta-privacy__toc a:hover {
  color: #BD123C;
}

/* News archive — amento news.html nCols + featured card */
.ta-news__card:hover {
  border-color: #fff !important;
  box-shadow: 0 16px 40px rgba(15, 30, 80, .1);
  color: #14182B !important;
}
.ta-news__pages a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
}
.ta-news__pages .page-numbers {
  color: inherit;
}
@media (max-width: 1099px) {
  .ta-news__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .ta-news__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ta-news__card--featured {
    grid-column: auto !important;
  }
  .ta-news__card--featured > div:first-child {
    height: 220px !important;
  }
  .ta-news__card--featured > div:last-child > div:first-child {
    font-size: 17px !important;
  }
}

/* Articles archive — amento articles.html */
.ta-articles__card:hover {
  border-color: #fff !important;
  box-shadow: 0 16px 40px rgba(15, 30, 80, .1);
  color: #14182B !important;
}
.ta-articles__chips a:hover {
  color: inherit;
}
.ta-articles__pages a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 8px;
}
@media (max-width: 1099px) {
  .ta-articles__head {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Single article — amento article.html */
.ta-amento-page--article .ta-entry {
  max-width: none;
  font-size: 17px;
  line-height: 1.75;
  color: #2A2F42;
}
.ta-amento-page--article .ta-entry > .ta-lead,
.ta-amento-page--article .ta-entry > p:first-child {
  margin: 0 0 22px;
  font-size: 20px;
  line-height: 1.6;
  color: #0F1E50;
  font-weight: 500;
}
.ta-amento-page--article .ta-entry > .ta-lead strong,
.ta-amento-page--article .ta-entry > p:first-child strong {
  font-weight: 500;
}
.ta-amento-page--article .ta-entry > p {
  margin: 0 0 18px;
}
.ta-amento-page--article .ta-entry h2 {
  margin: 36px 0 14px;
  font-size: clamp(22px, 2.4vw, 26px);
  font-weight: 600;
  letter-spacing: -.01em;
  color: #0F1E50;
  line-height: 1.25;
}
.ta-amento-page--article .ta-entry ul,
.ta-amento-page--article .ta-entry .ta-checklist {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.ta-amento-page--article .ta-entry ul li {
  display: flex;
  gap: 12px;
  font-size: 17px;
  line-height: 1.6;
  color: #2A2F42;
}
.ta-amento-page--article .ta-entry ul li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23BD123C' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}
.ta-amento-page--article .ta-entry .ta-table-wrap,
.ta-amento-page--article .ta-entry .wp-block-table,
.ta-amento-page--article .ta-entry figure.wp-block-table {
  overflow-x: auto;
  margin: 6px 0 24px;
  border: 1px solid #E5E7EE;
  border-radius: 14px;
}
.ta-amento-page--article .ta-entry table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 460px;
  margin: 0;
}
.ta-amento-page--article .ta-entry thead tr {
  background: #F7F8FA;
  text-align: left;
}
.ta-amento-page--article .ta-entry th,
.ta-amento-page--article .ta-entry td {
  padding: 12px 16px;
}
.ta-amento-page--article .ta-entry tbody tr {
  border-top: 1px solid #EEF0F4;
}
.ta-amento-page--article .ta-entry tbody td:last-child {
  color: #5E6478;
}
.ta-amento-page--article .ta-entry blockquote {
  margin: 8px 0 26px;
  padding: 22px 26px;
  border: 0;
  border-left: 4px solid #BD123C;
  border-radius: 0 16px 16px 0;
  background: #F7F8FA;
  font-size: 19px;
  line-height: 1.6;
  color: #0F1E50;
  quotes: none;
}
.ta-amento-page--article .ta-entry blockquote p {
  margin: 0;
}
.ta-amento-page--article .ta-entry blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-style: normal;
  color: #5E6478;
}
.ta-amento-page--article .ta-entry .ta-figure,
.ta-amento-page--article .ta-entry figure:not(.wp-block-table) {
  margin: 8px 0 28px;
}
.ta-amento-page--article .ta-entry .ta-figure__media,
.ta-amento-page--article .ta-entry figure:not(.wp-block-table) > img,
.ta-amento-page--article .ta-entry figure:not(.wp-block-table) > div {
  position: relative;
  height: clamp(200px, 26vw, 340px);
  border-radius: 18px;
  overflow: hidden;
  background: #EEF0F5;
}
.ta-amento-page--article .ta-entry .ta-figure__media img,
.ta-amento-page--article .ta-entry figure:not(.wp-block-table) img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ta-amento-page--article .ta-entry figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: #8A8FA3;
}
.ta-article__rel-card:hover {
  color: #14182B !important;
  box-shadow: 0 16px 40px rgba(15, 30, 80, .1);
}
@media (max-width: 1099px) {
  .ta-article__layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ta-article__aside {
    position: static !important;
  }
}

/* 404 — amento 404.html */
.ta-404__layout a:hover {
  color: inherit;
}
@media (max-width: 1099px) {
  .ta-404__layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ta-404__visual {
    display: none !important;
  }
}

/* Catalog all — amento catalog-all.html */
.ta-catalog-all__card:hover {
  border-color: #fff !important;
  box-shadow: 0 20px 50px rgba(15, 30, 80, .12);
}
.ta-catalog-all__card a:hover {
  color: #BD123C;
}
/* Карточка раздела: название сверху, ниже подразделы (2/3) и картинка (1/3) */
.ta-catalog-all__body {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.ta-catalog-all__chip:hover {
  background: #FBEFF2 !important;
  color: #BD123C !important;
}
@media (max-width: 1099px) {
  .ta-catalog-all__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 767px) {
  .ta-catalog-all__grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Section — amento section.html */
.ta-section__sub:hover {
  border-color: #BD123C !important;
  box-shadow: 0 14px 34px rgba(189, 18, 60, .1);
  color: #14182B !important;
}
.ta-section__pop-card:hover {
  border-color: #fff !important;
  box-shadow: 0 16px 40px rgba(15, 30, 80, .1);
}
.ta-section__pop-card .price,
.ta-section__pop-card > div:has(.woocommerce-Price-amount) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}
.ta-section__pop-card del,
.ta-section__pop-card ins {
  display: block;
  text-decoration: none;
}
.ta-section__pop-card del .amount {
  text-decoration: line-through;
  font-size: .72em;
  font-weight: 500;
  color: #5E6478;
}
/* section.html: red filled CTA; after add → white + red text */
.woocommerce .ta-section__pop-card a.button,
.woocommerce .ta-section__pop-card a.add_to_cart_button,
.woocommerce .ta-section__pop-card button.button,
.ta-section__pop-card a.button,
.ta-section__pop-card a.add_to_cart_button,
.ta-section__pop-card .button {
  box-sizing: border-box !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 16px !important;
  border-radius: 10px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 44px !important;
  border: 1px solid #BD123C !important;
  background: #BD123C !important;
  background-color: #BD123C !important;
  color: #fff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  text-decoration: none !important;
  text-align: center !important;
  box-shadow: none !important;
  cursor: pointer !important;
}
.woocommerce .ta-section__pop-card a.button:hover,
.woocommerce .ta-section__pop-card a.add_to_cart_button:hover,
.ta-section__pop-card a.button:hover,
.ta-section__pop-card .button:hover {
  background: #A40F34 !important;
  background-color: #A40F34 !important;
  border-color: #A40F34 !important;
  color: #fff !important;
}
.woocommerce .ta-section__pop-card a.button.added,
.woocommerce .ta-section__pop-card a.add_to_cart_button.added,
.ta-section__pop-card a.button.added,
.ta-section__pop-card .button.added {
  background: #0F1E50 !important;
  background-color: #0F1E50 !important;
  color: #fff !important;
  border-color: #0F1E50 !important;
}
.ta-section__pop-card .added_to_cart {
  display: none !important;
}
.ta-section__seo h2 {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -.02em;
  color: #0F1E50;
}
.ta-section__seo p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.75;
  color: #3A3F52;
}
.ta-section__seo p:last-child {
  margin-bottom: 0;
}
@media (max-width: 899px) {
  .ta-section__hero {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ta-section__hero-media {
    display: none !important;
  }
}

/* Home left catalog aside + flyout (amento index) */
.ta-home-side__nav { position: relative; }
/* Наведение: красный контур без заливки (как у карточек в попапе «Каталог») */
.ta-home-side__link { transition: box-shadow .15s; }
.ta-home-side__link:hover,
.ta-home-side__item.is-open > .ta-home-side__link {
  background: transparent !important;
  color: #14182B !important;
  box-shadow: inset 0 0 0 1px #BD123C;
}
/* Популярные категории на главной: то же самое, только контур */
section[aria-labelledby="ta-pop-cats"] ul a { transition: border-color .15s; }
section[aria-labelledby="ta-pop-cats"] ul a:hover,
section[aria-labelledby="ta-pop-cats"] ul a:focus-visible {
  border-color: #BD123C !important;
  background: #fff !important;
  color: #14182B !important;
}
.ta-home-side__flyout {
  position: absolute;
  left: calc(100% + 8px);
  top: 0;
  z-index: 30;
  width: min(600px, calc(100vw - 340px));
  background: #fff;
  border: 1px solid #E5E7EE;
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 24px 60px rgba(15, 30, 80, .14);
}
/* Высота по содержимому; ширина зависит от числа подкатегорий */
.ta-home-side__flyout--md { width: min(520px, calc(100vw - 340px)); }
.ta-home-side__flyout--sm { width: min(340px, calc(100vw - 340px)); }
.ta-home-side__flyout[hidden] { display: none !important; }
.ta-home-side__item.is-open > .ta-home-side__flyout { display: block !important; }

.ta-amento-page--article .ta-amento-block > div[style*="grid-template-columns:minmax(0,1fr)"] {
  align-items: start;
}

@media (max-width: 1099px) {
  .ta-amento-page--article .ta-amento-block > div[style*="grid-template-columns:minmax"] {
    grid-template-columns: 1fr !important;
  }
  .ta-amento-page--article aside {
    position: static !important;
  }
  .ta-amento-page--articles .ta-amento-block > div[style*="grid-template-columns:1fr auto"] {
    grid-template-columns: 1fr !important;
  }
  .ta-home-top {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .ta-home-side {
    display: none !important;
  }
  .ta-home-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    height: auto !important;
  }
  .ta-home-slider {
    height: 420px !important;
  }
  /* Tablet + phone: 2 tiles in a row (amento promoCols when vw < 1100) */
  .ta-home-promos {
    grid-template-rows: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ta-amento-page--about .ta-amento-block > section:first-of-type,
  .ta-amento-page--home section[aria-labelledby="ta-about-home"] {
    grid-template-columns: 1fr !important;
  }
  /* amento tCols when vw < 1100 → single column */
  .ta-about__who,
  .ta-about__tenders-head {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 767px) {
  /* Слайдер на телефоне: картинка 4:5 на весь слайд (сверху в картинке пустое место), стеклянная карточка с равными отступами 12px слева, сверху и справа; кнопка на всю ширину карточки */
  .ta-home-slider {
    height: auto !important;
    aspect-ratio: 4 / 5;
    max-height: 540px;
  }
  .ta-home-slide__media {
    bottom: 0 !important;
  }
  .ta-home-slide__bar {
    left: 12px !important;
    right: 12px !important;
    top: 12px !important;
    bottom: auto !important;
    width: auto !important;
    height: auto !important;
    display: block !important;
    padding: 16px 16px 16px !important;
    background: rgba(255, 255, 255, .9) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, .7) !important;
    border-radius: 16px;
    box-shadow: 0 18px 48px rgba(15, 30, 80, .14);
  }
  .ta-home-slide__tick {
    display: none !important;
  }
  .ta-home-slide__title {
    display: block !important;
    overflow: visible !important;
    margin: 0 0 14px !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
  }
  .ta-home-slide__btn {
    display: flex !important;
    justify-content: center;
    width: 100%;
    height: 44px !important;
    padding: 0 18px !important;
    font-size: 15px !important;
  }
  .ta-home-slider__nav {
    right: 12px !important;
    bottom: 12px !important;
  }
  .ta-home-slider__nav button {
    width: 40px !important;
    height: 40px !important;
  }
  /* Keep promos in a row on phone (same as amento); only tighten type/pad */
  .ta-home-promos {
    gap: 12px !important;
  }
  .ta-home-promos > a,
  .ta-home-promos > button {
    padding: 18px !important;
    min-height: 150px !important;
  }
  .ta-home-promos > a > span:first-child {
    font-size: 28px !important;
  }
  .ta-home-promos > button > span:first-child {
    font-size: 24px !important;
  }
  .ta-home-promos > a > span:nth-child(2),
  .ta-home-promos > button > span:nth-child(2) {
    font-size: 13px !important;
  }
  .ta-home-stats {
    grid-template-columns: 1fr !important;
    border-left: 0 !important;
  }
  .ta-home-stats > div {
    padding: 0 0 20px !important;
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255,255,255,.16);
  }
  [data-ta-best-track] {
    grid-auto-columns: 80% !important;
  }
  /*
   * Horizontal news rail (amento news-track on mobile).
   * Side inset must match section clamp(16px,4vw,32px).
   * End padding alone is ignored by overflow scroll — ::after spacer fixes it.
   */
  .ta-home-news {
    display: flex !important;
    flex-flow: row nowrap !important;
    grid-template-columns: none !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    margin: 0 calc(-1 * clamp(16px, 4vw, 32px)) !important;
    padding: 0 0 6px !important;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .ta-home-news::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  .ta-home-news::before,
  .ta-home-news::after {
    content: "";
    flex: 0 0 clamp(16px, 4vw, 32px);
    width: clamp(16px, 4vw, 32px);
    min-width: clamp(16px, 4vw, 32px);
    pointer-events: none;
  }
  .ta-home-news > a,
  .ta-home-news > div {
    flex: 0 0 82%;
    width: 82%;
    max-width: 82%;
    scroll-snap-align: start;
    scroll-margin-inline: clamp(16px, 4vw, 32px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ta-partners-marquee,
  [style*="animation:ta-run"],
  [style*="animation:run"] {
    animation: none !important;
  }
}

/* Главная, «Почему нас выбирают»: карточки преимуществ (красный контур при наведении, без заливки) */
.ta-why__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
@media (max-width:1023px){.ta-why__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.ta-why__grid{grid-template-columns:minmax(0,1fr)}}
.ta-why__card{display:flex;align-items:flex-start;gap:16px;min-height:112px;padding:24px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.05);transition:border-color .15s}
.ta-why__card:hover{border-color:#BD123C}
.ta-why__num{flex:none;display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:28px;padding:0 8px;border-radius:999px;border:1px solid rgba(255,143,169,.4);color:#FF8FA9;font-size:13px;font-weight:600;letter-spacing:.04em}
.ta-why__text{font-size:18px;font-weight:500;line-height:1.38;text-wrap:pretty}
@media (max-width:767px){
  .ta-why{border-radius:22px !important}
  .ta-why__card{min-height:0;padding:18px}
  .ta-why__text{font-size:16px}
}

/* Слайдер главной: картинка сверху, название категории + кнопка + стрелки — белой полосой снизу (текст не закрывает картинку) */
.ta-home-slide__media {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 76px;
  overflow: hidden;
  background: #EEF0F5;
}
.ta-home-slide__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 76px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 136px 0 28px;
  background: #fff;
  border-top: 1px solid #EEF0F5;
}
.ta-home-slide__tick {
  flex: none;
  width: 3px;
  height: 30px;
  border-radius: 2px;
  background: #BD123C;
}
.ta-home-slide__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #0F1E50;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ta-home-slide__btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 20px;
  border-radius: 10px;
  background: #BD123C;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  transition: background .15s;
}
.ta-home-slide__btn:hover,
.ta-home-slide__btn:focus-visible {
  background: #A40F34;
  color: #fff;
}
.ta-home-slider__nav {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  gap: 8px;
  z-index: 2;
}
.ta-home-slider__nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #D9DCE5 !important;
  box-shadow: none !important;
  background: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s;
}
.ta-home-slider__nav button:hover,
.ta-home-slider__nav button:focus-visible {
  border-color: #BD123C;
}
/* Узкий десктоп (слайдер ~430–700px): полоса в две строки — название, ниже кнопка и стрелки */
@media (min-width: 1100px) and (max-width: 1279px) {
  .ta-home-slide__media { bottom: 112px; }
  .ta-home-slide__bar {
    height: 112px;
    flex-wrap: wrap;
    align-content: center;
    gap: 8px 12px;
    padding: 10px 20px 12px;
  }
  .ta-home-slide__title { flex: 1 1 calc(100% - 20px); }
}
/* Белая полоса слайдера не должна сливаться со страницей: тонкая рамка и мягкая тень */
.ta-home-slider {
  border: 1px solid #E5E7EE;
  box-shadow: 0 10px 30px rgba(15, 30, 80, .06);
}
