/* =====================================================================
   Asian Journal «Steppe Panorama» — таблица стилей журнала
   Основной цвет: #16284a
   Часть 1 — восстановленные правила старого файла (снимок Wayback, июль 2025)
   Часть 2 — новые правила (октябрь 2026)
   ===================================================================== */


/* ---------- 1. СТАРЫЕ ПРАВИЛА (восстановлены) ---------- */

/* Логотип в шапке */
.pkp_site_name .is_img img {
  display: inline-block;
  max-height: 300px;
  max-width: 1150px;
  height: auto;
}

/* Без отступа над и под страницей */
.pkp_structure_page {
  margin-top: 0;
  margin-bottom: 0;
}

/* Подвал: скрыть логотип OJS/PKP, текст по центру */
.pkp_brand_footer {
  display: none;
}
/* (оформление подвала — в конце файла) */

/* Кнопки в боковой панели (<button class="button button2">) */
.button {
  background-color: #16284a;   /* было #0c73bc */
  border: none;
  color: #cfa457;   /* золото, как в верхнем меню */
  padding: 10px;
  text-align: left;
  text-decoration: none;
  display: block;
  font-size: 14px;
  margin: 2px;
  width: 200px;
  border-radius: 4px;
  cursor: pointer;
  -webkit-transition-duration: 0.4s;
  transition-duration: 0.4s;
}
.button1 {
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
  cursor: text;
}
.button2:hover {
  background-color: #2e4a85;
  box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);
}

/* Выпадающие кнопки (если используются в блоках) */
.dropbtn {
  background-color: #16284a;   /* было #454d98 */
  color: #fff;
  padding: 10px;
  text-align: left;
  font-size: 14px;
  margin: 2px;
  border: none;
  width: 200px;
  border-radius: 4px;
  cursor: pointer;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  padding: 10px;
  text-align: left;
  font-size: 18px;
  margin: 2px;
  width: 200px;
  box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
  z-index: 1;
}
.dropdown-content a {
  color: black;
  padding: 10px;
  text-decoration: none;
  display: block;
}
.dropdown-content a:hover { background-color: #f1f1f1; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown:hover .dropbtn { background-color: #2e4a85; }


/* ---------- 2. НОВЫЕ ПРАВИЛА ---------- */

/* Ссылки */
a,
.pkp_page_index .current_issue .read_more,
.obj_announcement_summary .read_more,
.obj_galley_link_supplementary { color: #16284a; }

a:hover, a:focus,
.pkp_page_index .current_issue .read_more:hover,
.obj_announcement_summary .read_more:hover,
.obj_galley_link_supplementary:hover { color: #2e4a85; }

/* Полоса главного меню — тёмно-синяя, текст золотой (#cfa457, как на логотипе) */
@media (min-width: 992px) {
  .pkp_navigation_primary_row { background: #16284a; }

  #navigationPrimary > li > a { color: #cfa457; }
  #navigationPrimary > li > a:hover,
  #navigationPrimary > li > a:focus { color: #e3c27f; border-color: #cfa457; }

  /* выпадающее подменю «Журнал» */
  #navigationPrimary ul a:hover,
  #navigationPrimary ul a:focus {
    background: #2e4a85;   /* как у кнопок сайдбара при наведении */
    border-color: #cfa457;
    color: #e3c27f;
  }

  .pkp_navigation_search_wrapper a { color: #cfa457; }
  .pkp_navigation_search_wrapper a:hover,
  .pkp_navigation_search_wrapper a:focus { color: #e3c27f; border-color: #cfa457; }

  /* меню пользователя в шапке (вход / регистрация / имя) */
  .pkp_navigation_user > li > a { color: #cfa457; }
  .pkp_navigation_user > li > a:hover { color: #e3c27f; }
}

/* Золотые подчёркивания заголовков (блоки сайдбара, «Текущий выпуск», разделы, статья) */
.pkp_block .title,
.pkp_page_index .current_issue h2,
.obj_issue_toc > .galleys h2,
.obj_issue_toc .section h2,
.obj_article_details .main_entry .label,
.obj_article_details .entry_details .sub_item:not(:first-child) .label {
  border-bottom-color: #cfa457;
}


/* Кнопки сайдбара: золотой текст при наведении */
.button2:hover { color: #e3c27f; }

/* Кнопки PDF (гранки статей и выпусков) — как кнопки сайдбара:
   синий фон, золотой текст; при наведении фон и текст светлее */
.obj_galley_link {
  color: #cfa457;
  border-radius: 4px;
  transition: background-color .3s, color .3s, box-shadow .3s;
}
.obj_galley_link:hover,
.obj_galley_link:focus {
  background: #2e4a85;
  color: #e3c27f;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .2);
}

/* Логотипы в сайдбаре (индексация, антиплагиат, флаги):
   при наведении слегка подсвечиваются и поднимаются */
.pkp_structure_sidebar .pkp_block a img {
  transition: transform .25s ease, filter .25s ease;
}
.pkp_structure_sidebar .pkp_block a:hover img,
.pkp_structure_sidebar .pkp_block a:focus img {
  transform: translateY(-4px);
  filter: brightness(1.08) drop-shadow(0 6px 8px rgba(22, 40, 74, .25));
}

/* Заголовки блоков сайдбара и «Текущий выпуск» — золотым.
   Оттенок чуть глубже #cfa457, чтобы читался на белом фоне */
.pkp_block .title,
.pkp_page_index .current_issue h2 {
  color: #a07a32;
}

/* Меню закрепляется сверху при прокрутке (только на компьютере).
   -150px = высота баннера (плагин ajspHeader, css/header.css): он уезжает,
   остаётся строка меню. Если меняется высота баннера — поправить и здесь. */
@media (min-width: 992px) {
  .pkp_structure_head {
    position: -webkit-sticky;
    position: sticky;
    top: -150px;
    z-index: 1000;
    background-color: transparent;   /* фон даёт сама полоса меню */
  }

  /* Полупрозрачное меню с размытием того, что под ним (эффект «матового стекла»).
     .78 — степень непрозрачности: меньше — прозрачнее, больше — плотнее */
  .pkp_navigation_primary_row {
    background: rgba(22, 40, 74, .78);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    backdrop-filter: blur(10px) saturate(140%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .15);
  }
}

/* Выпадающее меню пользователя (Dashboard / View Profile / Administration / Logout)
   — в стиле подменю «Журнал»: синий фон, белый текст, золото при наведении */
.pkp_navigation_user_wrapper .pkp_navigation_user ul {
  background: #132c5c;
  border-radius: 4px;
}
.pkp_navigation_user_wrapper .pkp_navigation_user ul a {
  color: #fff;
}
.pkp_navigation_user_wrapper .pkp_navigation_user ul a:hover,
.pkp_navigation_user_wrapper .pkp_navigation_user ul a:focus {
  background: #2e4a85;
  border-color: #cfa457;
  color: #e3c27f;
}

/* Шапка (плагин ajspHeader): тонкая золотая линия между баннером и меню,
   правая колонка фиксированной ширины, «Поиск» по центру под ней */
@media (min-width: 992px) {
  .ajsp_head.pkp_site_name_wrapper {
    box-shadow: inset 0 -1px 0 rgba(207, 164, 87, .6);   /* inset — не меняет высоту 150px */
  }
  .ajsp_banner .ajsp_side {   /* селектор сильнее, т.к. header.css плагина грузится после этого файла */
    width: 200px;
    box-sizing: border-box;
    border-left: 0;          /* без вертикальной линии */
  }
  .pkp_navigation_primary_row { position: relative; }
  .pkp_navigation_primary_wrapper { position: static; }
  .pkp_navigation_search_wrapper {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 200px;          /* = ширина .ajsp_side */
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .pkp_navigation_search_wrapper a { margin: 0; }
}

/* Нажатый / выделенный пункт меню (фокус): вместо белого фона — тёмно-синий,
   текст светло-золотой, снизу золотая черта (видно и при навигации с клавиатуры) */
@media (min-width: 992px) {
  #navigationPrimary > li > a:focus,
  #navigationPrimary > li > a:active,
  .pkp_navigation_primary_row .pkp_navigation_search_wrapper a:focus,
  .pkp_navigation_primary_row .pkp_navigation_search_wrapper a:active,
  .pkp_navigation_user > li > a:focus {
    background: #0d1a33;
    color: #e3c27f;
    border-color: #cfa457;
    outline: 0;
  }
}

/* =====================================================================
   Редакционная коллегия (страницы redac-col и redac-col/*)
   ===================================================================== */

/* --- Заголовки разделов --- */
.ajsp_board_group { margin: 0 0 2.25rem; }
.pkp_structure_main .ajsp_board_heading {
  display: inline-block;
  margin: 0 0 1rem;
  padding-bottom: .357rem;
  border-bottom: 3px solid #cfa457;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #a07a32;
}
.pkp_structure_main h3.ajsp_board_heading { font-size: .9rem; }
.pkp_structure_main .ajsp_board_section {
  margin: 1rem 0 1.5rem;
  padding: .75rem 0 0;
  border-top: 1px solid #ddd;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #16284a;
}

/* --- Список: фото слева, справа ФИО, должность, ID --- */
.ajsp_board_list { margin: 0; padding: 0; list-style: none; }
.ajsp_board_item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #e3e3e3;
}
.ajsp_board_item:first-child { border-top: 1px solid #e3e3e3; }
.ajsp_board_photolink { flex: 0 0 auto; line-height: 0; }
.ajsp_board_photo {
  display: block;
  width: 84px;
  height: 105px;
  overflow: hidden;
  border-radius: 3px;
  background: #16284a;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .15);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ajsp_board_photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ajsp_board_photolink:hover .ajsp_board_photo {
  transform: translateY(-3px);
  box-shadow: 0 8px 14px rgba(22, 40, 74, .25);
}
.ajsp_board_photo.is_initials,
.ajsp_profile_photo.is_initials {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 4px solid #cfa457;
  font-family: "Noto Serif", Georgia, serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .05em;
  color: #cfa457;
}
.ajsp_board_info { flex: 1 1 auto; min-width: 0; }
.ajsp_board_name {
  display: inline-block;
  margin-bottom: .3rem;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #16284a;
  text-decoration: none;
}
.ajsp_board_name:hover,
.ajsp_board_name:focus { color: #a07a32; text-decoration: underline; }
.pkp_structure_main .ajsp_board_desc {
  margin: 0 0 .4rem;
  font-size: .93rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, .75);
}
.ajsp_board_ids { display: flex; flex-wrap: wrap; gap: .2rem 1.5rem; font-size: .88rem; }
.ajsp_board_idlabel { font-weight: 700; color: rgba(0, 0, 0, .6); }
.ajsp_h { margin-left: .5rem; color: rgba(0, 0, 0, .55); font-size: .88rem; }

/* --- Личная страница --- */
.ajsp_profile_back {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}
.ajsp_profile_card {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #ddd;
}
.ajsp_profile_photo {
  flex: 0 0 180px;
  width: 180px;
  height: 225px;
  overflow: hidden;
  border-radius: 4px;
  background: #16284a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
}
.ajsp_profile_photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ajsp_profile_photo.is_initials { font-size: 3rem; }
.ajsp_profile_body { flex: 1 1 auto; min-width: 0; }
.ajsp_profile_role {
  display: inline-block;
  margin-bottom: .9rem;
  padding-bottom: .3rem;
  border-bottom: 3px solid #cfa457;
  font-family: "Noto Serif", Georgia, serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #a07a32;
}
.pkp_structure_main .ajsp_profile_desc { margin: 0 0 1.25rem; line-height: 1.7; }
.ajsp_profile_row { display: flex; gap: .75rem; padding: .35rem 0; }
.ajsp_profile_label { flex: 0 0 160px; font-weight: 700; color: rgba(0, 0, 0, .6); }
.ajsp_profile_value { min-width: 0; word-break: break-word; }

/* Разделы: Образование / Научные интересы / Основные публикации */
.ajsp_profile_section {
  padding: 1.25rem 0;
  border-bottom: 1px solid #ddd;
}
.pkp_structure_main .ajsp_profile_section h2 {
  display: inline-block;
  margin: 0 0 .75rem;
  padding-bottom: .3rem;
  border-bottom: 3px solid #cfa457;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #a07a32;
}
.pkp_structure_main .ajsp_profile_section p { margin: 0 0 .5rem; line-height: 1.7; }
.ajsp_profile_section ul,
.ajsp_profile_section ol { margin: 0; padding-left: 1.25rem; line-height: 1.7; }

@media (max-width: 600px) {
  .ajsp_board_photo { width: 64px; height: 80px; }
  .ajsp_board_photo.is_initials { font-size: 1.2rem; }
  .ajsp_profile_card { flex-direction: column; align-items: center; gap: 1.25rem; }
  .ajsp_profile_row { flex-direction: column; gap: .1rem; }
  .ajsp_profile_label { flex-basis: auto; }
}

/* =====================================================================
   Подвал: тёмно-синий, выравнивание по левому краю, три колонки
   (HTML вставляется в «Нижний колонтитул страницы»)
   ===================================================================== */
.pkp_structure_footer_wrapper {
  background: #16284a;
  border-top: 3px solid #cfa457;
  border-bottom: 0;
  color: rgba(255, 255, 255, .78);
}
.pkp_structure_footer { text-align: left; }
.pkp_structure_footer_wrapper .pkp_footer_content {
  padding: 2.75rem 2.143rem 0;
  text-align: left;
}

.ajsp_footer {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr .9fr;
  gap: 2.5rem;
  padding-bottom: 2.25rem;
}
.ajsp_footer p { margin: 0; }

/* Колонка с логотипом */
.ajsp_footer_brand { display: flex; align-items: flex-start; gap: 1.1rem; }
.ajsp_footer_logo { flex: 0 0 auto; line-height: 0; border-radius: 50%; transition: transform .25s ease; }
.ajsp_footer_logo:hover { transform: scale(1.04); }
.ajsp_footer_logo img { display: block; width: 84px; height: 84px; max-width: none; }
.ajsp_footer_title {
  margin-bottom: .45rem !important;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.ajsp_footer_tag { font-size: .88rem; line-height: 1.5; color: rgba(255, 255, 255, .65); }
.ajsp_footer_issn { margin-top: .75rem !important; }
.ajsp_footer_issn a {
  display: inline-block;
  padding: 2px 10px;
  border: 1px solid rgba(207, 164, 87, .6);
  border-radius: 4px;
  font-family: "Noto Serif", Georgia, serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #cfa457;
  text-decoration: none;
}
.ajsp_footer_issn a:hover { background: #2e4a85; color: #e3c27f; }

/* Заголовки колонок */
.ajsp_footer_head {
  display: inline-block;
  margin-bottom: 1rem !important;
  padding-bottom: .35rem;
  border-bottom: 2px solid #cfa457;
  font-family: "Noto Serif", Georgia, serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #cfa457;
}

/* Списки */
.ajsp_footer ul { margin: 0; padding: 0; list-style: none; }
.ajsp_footer li { margin: 0 0 .55rem; font-size: .9rem; line-height: 1.5; }
.ajsp_footer a { color: rgba(255, 255, 255, .85); text-decoration: none; transition: color .2s; }
.ajsp_footer a:hover,
.ajsp_footer a:focus { color: #e3c27f; }

/* Иконки контактов (Font Awesome 4 уже подключён в OJS) */
.ajsp_footer_contacts li { position: relative; padding-left: 1.6rem; }
.ajsp_footer_contacts li:before {
  position: absolute;
  left: 0;
  top: .1em;
  width: 1.1rem;
  text-align: center;
  font: normal normal normal 14px/1.5 FontAwesome;
  color: #cfa457;
}
.ajsp_footer_contacts .f_addr:before  { content: "\f041"; }  /* map-marker */
.ajsp_footer_contacts .f_pub:before   { content: "\f19c"; }  /* university */
.ajsp_footer_contacts .f_phone:before { content: "\f095"; }  /* phone */
.ajsp_footer_contacts .f_mail:before  { content: "\f0e0"; }  /* envelope */
.ajsp_footer_contacts .f_web:before   { content: "\f0ac"; }  /* globe */

/* Быстрые ссылки со стрелкой при наведении */
.ajsp_footer_links a { display: inline-block; transition: color .2s, transform .2s; }
.ajsp_footer_links a:before {
  content: "\f105";
  display: inline-block;
  width: .9rem;
  font: normal normal normal 14px/1 FontAwesome;
  color: #cfa457;
}
.ajsp_footer_links a:hover { transform: translateX(3px); }

/* Нижняя строка */
.ajsp_footer_bottom {
  margin: 0 -2.143rem;
  padding: 1rem 2.143rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}
.ajsp_footer_bottom a { color: #cfa457; text-decoration: none; }
.ajsp_footer_bottom a:hover { color: #e3c27f; text-decoration: underline; }

@media (max-width: 991px) {
  .ajsp_footer { grid-template-columns: 1fr 1fr; }
  .ajsp_footer_brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .pkp_structure_footer_wrapper .pkp_footer_content { padding: 2rem 1.25rem 0; }
  .ajsp_footer { grid-template-columns: 1fr; gap: 1.75rem; }
  .ajsp_footer_bottom { margin: 0 -1.25rem; padding: 1rem 1.25rem; }
}

/* =====================================================================
   Страница статьи: аннотация, ключевые слова, список литературы — по ширине
   ===================================================================== */
.obj_article_details .item.abstract,
.obj_article_details .item.abstract p,
.obj_article_details .item.keywords .value,
.obj_article_details .item.references .value,
.obj_article_details .item.references .value p {
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;               /* переносы по языку страницы — меньше «дыр» между словами */
}
/* длинные ссылки в литературе не растягивают строку */
.obj_article_details .item.references .value { overflow-wrap: anywhere; }

/* =====================================================================
   Блок сайдбара «Главный редактор» (пользовательский блок)
   ===================================================================== */
.ajsp_chief { text-align: center; }
.ajsp_chief_photo {
  display: block;
  width: 150px;
  height: 188px;
  margin: .25rem auto 1rem;
  overflow: hidden;
  border-radius: 4px;
  background: #16284a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ajsp_chief_photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ajsp_chief_photo.is_initials {
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 4px solid #cfa457;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: #cfa457;
  text-decoration: none;
}
.ajsp_chief_photo:hover,
.ajsp_chief_photo:focus {
  transform: translateY(-4px);
  box-shadow: 0 10px 18px rgba(22, 40, 74, .3);
}
.pkp_block .ajsp_chief_name {
  display: block;
  font-family: "Noto Serif", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #16284a;
  text-decoration: none;
}
.pkp_block .ajsp_chief_name:hover { color: #a07a32; }
.pkp_block .ajsp_chief_desc {
  margin: .4rem 0 0 !important;
  font-size: .85rem;
  line-height: 1.45 !important;
  color: rgba(0, 0, 0, .6);
}

/* =====================================================================
   Блок «Индексируется»: логотипы плитками по 2 в ряд
   ===================================================================== */
.ajsp_logos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ajsp_logos p { display: contents; margin: 0; }   /* если редактор обернёт ссылки в <p> */
.ajsp_logo_tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 8px;
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.pkp_structure_sidebar .ajsp_logo_tile img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: none;
  filter: none;
}
.ajsp_logo_tile:hover,
.ajsp_logo_tile:focus {
  transform: translateY(-3px);
  border-color: #cfa457;
  box-shadow: 0 6px 12px rgba(22, 40, 74, .15);
  outline: 0;
}
.pkp_structure_sidebar .ajsp_logo_tile:hover img { transform: none; filter: none; }

/* =====================================================================
   Бегущая лента логотипов (индексация) — в подвале или в любом блоке
   ===================================================================== */
.ajsp_ticker_wrap { margin-bottom: 2.25rem; }
.ajsp_ticker {
  position: relative;
  overflow: hidden;
  padding: 6px 0;
  /* мягкое исчезновение по краям */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ajsp_ticker_track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: ajsp-ticker 40s linear infinite;
}
.ajsp_ticker:hover .ajsp_ticker_track { animation-play-state: paused; }   /* пауза при наведении */
.ajsp_ticker_item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 64px;
  padding: 8px 12px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ajsp_ticker_item img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transform: none !important;
  filter: none !important;
}
.ajsp_ticker_item:hover,
.ajsp_ticker_item:focus {
  transform: translateY(-3px);
  box-shadow: 0 0 0 2px #cfa457, 0 8px 14px rgba(0, 0, 0, .25);
  outline: 0;
}
@keyframes ajsp-ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 7px)); }   /* половина ленты + половина зазора */
}

/* Лента на главной (над текстом, без подписи) */
.ajsp_ticker--home {
  margin: 0 0 1.75rem;
  padding: 10px 0 1.25rem;
  border-bottom: 1px solid #e3e3e3;
}
.ajsp_ticker--home .ajsp_ticker_track { animation-duration: 25s; }
.ajsp_ticker--home .ajsp_ticker_item {
  border: 1px solid #e3e3e3;
  box-shadow: none;
}
.ajsp_ticker--home .ajsp_ticker_item:hover { border-color: #cfa457; box-shadow: 0 6px 12px rgba(22, 40, 74, .15); }
/* на главной лента заменяет верхнюю линию и отступ блока с текстом */
.pkp_page_index .additional_content { border-top: 0; padding-top: 1.25rem; }

/* Боковой блок «Индексируется»: нечётный последний логотип — во всю ширину */
.ajsp_logos > a:last-child:nth-child(odd) { grid-column: 1 / -1; }
