body {
  color: #1a2e3b;
  line-height: 1.7;
}
/* стили для хлебных крошек с длинными названиями */
.breadcrumb {
  background: transparent;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  border-radius: 0;
  font-size: 0.95rem;
  word-break: break-word;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.breadcrumb-item + .breadcrumb-item {
  padding-left: 0.5rem;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›";
  padding-right: 0.5rem;
  color: #6c757d;
  font-size: 1.1rem;
  font-weight: 400;
  flex-shrink: 0;
}

.breadcrumb-item a {
  color: #007c92;
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}

.breadcrumb-item a:hover {
  color: #0b3b4a;
  text-decoration: underline;
}

.breadcrumb-item.active {
  color: #1a2e3b;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 500px;
}

/* Десктоп: ограничение ширины активного пункта */
@media (min-width: 992px) {
  .breadcrumb-item.active {
    max-width: 900px;
  }
}

/* Планшеты */
@media (max-width: 991px) and (min-width: 768px) {
  .breadcrumb-item.active {
    max-width: 400px;
  }
}

/* Мобильные устройства */
@media (max-width: 767px) {
  .breadcrumb {
    font-size: 0.85rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
  }

  .breadcrumb-item {
    margin-bottom: 0.25rem;
  }

  .breadcrumb-item a {
    white-space: normal;
    word-break: break-word;
  }

  .breadcrumb-item.active {
    white-space: normal;
    word-break: break-word;
    overflow: visible;
    text-overflow: clip;
    max-width: 100%;
  }

  .breadcrumb-item + .breadcrumb-item {
    padding-left: 0.25rem;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0.25rem;
  }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
  .breadcrumb {
    flex-direction: column;
    align-items: flex-start;
  }

  .breadcrumb-item {
    width: 100%;
  }

  .breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
    margin-top: 0.25rem;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    display: none;
  }

  .breadcrumb-item:not(:first-child)::before {
    content: "↳";
    display: inline-block;
    margin-right: 0.5rem;
    color: #6c757d;
  }
}
.paper-wrapper {
  max-width: 1200px;
  margin: 2rem auto;
  background: white;
  border-radius: 24px;
  box-shadow: 0 0.75rem 2rem rgba(0, 40, 60, 0.05);
  padding: 2.5rem 2.8rem;
  border: 1px solid #e7edf0;
  padding-top: 178px;
}
h1,
h2,
h3 {
  font-weight: 700;
  color: #0b3b4a;
}
h1 {
  font-size: 2.1rem;
  line-height: 1.3;
  margin-bottom: 1.2rem;
  padding-left: 1.3rem;
}
h2 {
  font-size: 1.65rem;
  margin-top: 2.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid #cde0e7;
  padding-bottom: 0.6rem;
}
.author-block {
  background: #eef6f9;
  padding: 1.2rem 1.8rem;
  border-radius: 50px;
  display: inline-block;
  margin: 0.5rem 0 0.2rem;
  font-size: 1.1rem;
  color: #144a59;
  font-weight: 500;
}
.affiliation-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin: 1.2rem 0 0.8rem;
  background: #fafdff;
  padding: 1rem 1.5rem;
  border-radius: 20px;
  border: 1px solid #cde3ec;
}
.org-link {
  color: #0d5e6e;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dotted #6c9eb3;
}
.org-link:hover {
  border-bottom: 1px solid;
}
.table-placeholder {
  background: #ecf3f7;
  border-radius: 20px;
  padding: 1.8rem;
  border: 1px solid #bad2db;
  text-align: center;
}
.figcaption-custom {
  font-size: 0.88rem;
  color: #1d5e6b;
  background: #e2f0f3;
  padding: 0.5rem 1.3rem;
  border-radius: 30px;
  display: inline-block;
  font-weight: 500;
  margin-top: 0.5rem;
}
.img-tag {
  background: #1d5a6d;
  color: white;
  border-radius: 40px;
  padding: 0.4rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 500;
}
.placeholder-img {
  background: linear-gradient(145deg, #f1f9fc, #ffffff);
  border: 1px solid #bfdae3;
  border-radius: 20px;
  padding: 1.2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 1.8rem 0;
}
.ref-mini {
  font-size: 0.86rem;
  color: #2f5c68;
  border-top: 1px dashed #aac9d4;
  padding-top: 1.5rem;
  margin-top: 1rem;
}
@media (max-width: 768px) {
  .paper-wrapper {
    padding: 1.8rem;
  }
  h1 {
    font-size: 1.7rem;
  }
}
