/* =========================================================
   СТИЛИ СТАТЕЙ
   ========================================================= */

/* Метаданные статьи */
.obj_article_summary .meta {
  position: relative;
  padding-top: 0.357rem;
  color: rgba(0, 0, 0, 0.87);
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.43rem;
}

/* Заголовки информационных разделов */
.obj_article_details .main_entry .label {
  display: inline-block;
  padding: 0 0 0.357rem;
  color: rgba(0, 0, 0, 0.87);
  border-bottom: 3px solid #f7bc4a;
  font-weight: 600;
  text-transform: uppercase;
}

/* DOI и ORCID */
.obj_article_details .orcid a,
.obj_article_details .doi a {
  color: #3438a2;
  font-weight: 600;
  text-decoration: none;
}

/* Название статьи */
.obj_article_summary > .title {
  margin: 0;
  color: rgba(0, 0, 0, 0.87);
  border-bottom: 0;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.43rem;
}

.obj_article_summary > .title a,
.obj_article_summary .title a {
  color: #3438a2;
  text-decoration: none;
  text-transform: none;
}

.obj_article_summary > .title a:hover {
  color: #272b82;
  text-decoration: underline;
}

/* Заголовки разделов выпуска */
.galleys h2,
.sections .section h2,
#issueTocGalleyLabel {
  text-transform: none !important;
}

/* Сведения об авторах */
.obj_article_details .authors .affiliation {
  color: rgba(0, 0, 0, 0.87);
  font-size: 0.93rem;
}

/* Информация о статье */
.obj_article_details .entry_details .sub_item .label {
  color: rgba(0, 0, 0, 0.87);
}

/* PDF */
.obj_galley_link.pdf {
  text-transform: none;
}

/* =========================================================
   БОКОВОЕ МЕНЮ KERUEN
   Не меняет размеры и структуру сайта
   ========================================================= */

.keruen-sidebar {
  width: 100%;
  box-sizing: border-box;
  color: #3438a2;
  font-family: inherit;
}

/* Правильный расчёт размеров */
.keruen-sidebar *,
.keruen-sidebar *::before,
.keruen-sidebar *::after {
  box-sizing: border-box;
}

/* Используем шрифт основного сайта */
.keruen-sidebar *,
.keruen-sidebar a,
.keruen-sidebar span,
.keruen-sidebar h3,
.keruen-sidebar li {
  font-family: inherit !important;
}

/* =========================================================
   КАРТОЧКИ
   ========================================================= */

.keruen-sidebar .keruen-card {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce1ed;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(28, 42, 80, 0.04);
}

/* Маленькие служебные заголовки */
.keruen-sidebar .keruen-label {
  display: block;
  margin: 0;
  padding: 17px 18px 10px;
  color: #838da7;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* =========================================================
   ИНДЕКСИРОВАНИЕ
   ========================================================= */

.keruen-sidebar .indexing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 0 18px 18px;
}

.keruen-sidebar .indexing-grid a {
  display: flex;
  min-width: 0;
  min-height: 37px;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  color: #3438a2;
  background: #fafbff;
  border: 1px solid #dce2ef;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.keruen-sidebar .indexing-grid a:hover,
.keruen-sidebar .indexing-grid a:focus {
  color: #ffffff;
  background: #3438a2;
  border-color: #3438a2;
  text-decoration: none;
}

/* =========================================================
   ЯЗЫКОВОЙ ПЕРЕКЛЮЧАТЕЛЬ
   ========================================================= */

.keruen-sidebar .language-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 0 18px 17px;
}

.keruen-sidebar .language-tabs a {
  display: flex;
  min-width: 0;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  padding: 6px 3px;
  color: #3438a2;
  background: #ffffff;
  border: 1px solid #dce1ed;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.keruen-sidebar .language-tabs a:hover,
.keruen-sidebar .language-tabs a:focus,
.keruen-sidebar .language-tabs a.active {
  color: #ffffff;
  background: #3438a2;
  border-color: #3438a2;
  text-decoration: none;
}

/* =========================================================
   ОСНОВНЫЕ КНОПКИ
   ========================================================= */

.keruen-sidebar .sidebar-actions {
  display: block;
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
}

.keruen-sidebar .sidebar-action {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin: 0 0 9px;
  padding: 10px 36px;
  border: 0;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.keruen-sidebar .sidebar-action:last-child {
  margin-bottom: 0;
}

.keruen-sidebar .sidebar-action:hover,
.keruen-sidebar .sidebar-action:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

/* Иконка кнопки */
.keruen-sidebar .sidebar-action-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  display: flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-50%);
}

.keruen-sidebar .sidebar-action span:last-child {
  display: block;
  width: 100%;
  min-width: 0;
  text-align: center;
}

/* Золотая кнопка */
.keruen-sidebar .sidebar-action.submit {
  color: #10266f;
  background: #d9b044;
}

.keruen-sidebar .sidebar-action.submit:hover,
.keruen-sidebar .sidebar-action.submit:focus {
  color: #10266f;
  background: #c99e34;
}

/* Синяя кнопка */
.keruen-sidebar .sidebar-action.instruction {
  color: #ffffff;
  background: #3438a2;
  font-size: 13px;
}

.keruen-sidebar .sidebar-action.instruction:hover,
.keruen-sidebar .sidebar-action.instruction:focus {
  color: #ffffff;
  background: #292d83;
}

/* =========================================================
   ЗАГОЛОВКИ РАЗДЕЛОВ
   Без оранжевых точек
   ========================================================= */

.keruen-sidebar .menu-card-title {
  display: block;
  margin: 0;
  padding: 13px 18px 12px;
  color: #132457;
  background: #ffffff;
  border-bottom: 1px solid #dce1ed;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

/* =========================================================
   ССЫЛКИ МЕНЮ
   ========================================================= */

.keruen-sidebar .keruen-menu {
  display: block;
  width: 100%;
  margin: 0;
  padding: 5px 0;
  list-style: none;
}

.keruen-sidebar .keruen-menu li {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}

.keruen-sidebar .keruen-menu a {
  position: relative;
  display: block;
  width: 100%;
  padding: 10px 30px 10px 18px;
  color: #3438a2;
  background: #ffffff;
  border-bottom: 1px solid #f0f2f7;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  overflow-wrap: break-word;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    padding-left 0.2s ease;
}

.keruen-sidebar .keruen-menu li:last-child a {
  border-bottom: 0;
}

/* Стрелка справа */
.keruen-sidebar .keruen-menu a::after {
  position: absolute;
  top: 50%;
  right: 17px;
  color: #8993aa;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  content: "›";
  transform: translateY(-50%);
}

/* Наведение */
.keruen-sidebar .keruen-menu a:hover,
.keruen-sidebar .keruen-menu a:focus {
  padding-left: 21px;
  color: #272b82;
  background: #f5f6fc;
  text-decoration: none;
}

.keruen-sidebar .keruen-menu a:hover::after,
.keruen-sidebar .keruen-menu a:focus::after {
  color: #3438a2;
}

/* =========================================================
   ДОСТУПНОСТЬ
   ========================================================= */

.keruen-sidebar a:focus-visible {
  outline: 2px solid #d9b044;
  outline-offset: 2px;
}

/* =========================================================
   ИЗОБРАЖЕНИЯ ВНУТРИ МЕНЮ
   ========================================================= */

.keruen-sidebar img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* =========================================================
   МОБИЛЬНАЯ ВЕРСИЯ
   ========================================================= */

@media (max-width: 480px) {
  .keruen-sidebar .keruen-label {
    padding-right: 15px;
    padding-left: 15px;
  }

  .keruen-sidebar .indexing-grid,
  .keruen-sidebar .language-tabs {
    padding-right: 15px;
    padding-left: 15px;
  }

  .keruen-sidebar .sidebar-action {
    padding-right: 34px;
    padding-left: 34px;
  }

  .keruen-sidebar .sidebar-action-icon {
    left: 12px;
  }

  .keruen-sidebar .menu-card-title {
    padding-right: 15px;
    padding-left: 15px;
  }

  .keruen-sidebar .keruen-menu a {
    padding-right: 30px;
    padding-left: 16px;
  }

  .keruen-sidebar .keruen-menu a:hover,
  .keruen-sidebar .keruen-menu a:focus {
    padding-left: 19px;
  }
}
/* Больше воздуха внутри карточек */
.keruen-sidebar .keruen-card {
  margin-bottom: 16px;
}

/* Заголовки карточек */
.keruen-sidebar .menu-card-title {
  padding: 15px 18px 14px;
}

/* Отступ сетки индексирования от заголовка */
.keruen-sidebar .menu-card-title + .indexing-grid,
.keruen-sidebar .menu-card-title + .indexing-logos {
  padding-top: 14px;
  padding-bottom: 18px;
}

/* Отступ языков от заголовка */
.keruen-sidebar .menu-card-title + .language-tabs {
  padding-top: 14px;
  padding-bottom: 17px;
}

/* Расстояние между карточками и кнопками */
.keruen-sidebar .sidebar-actions {
  margin-top: 4px;
  margin-bottom: 16px;
}