html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Стиль для пагинации */
.pagination {
  text-align: center;
  margin-top: 30px;
}

.pagination a {
  margin: 0 10px;
  padding: 10px 15px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
}

.pagination a:hover {
  background-color: #d1d1d1;
}

.pagination a.active {
  background-color: rgba(114, 20, 56, 0.9);
  color: white;
}

/* Стиль для кнопки "Просмотреть статью" */
.btn {
  background-color: rgba(114, 20, 56, 0.9);
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #9c1a4a;
}

.annotation-text {
  font-size: 14px;
  color: #555;
}

/* Основной стиль */
/* Кнопка отправки статьи */
.submit-article-btn-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.submit-article-btn {
  background-color: rgba(114, 20, 56, 0.9);
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.submit-article-btn:hover {
  background-color: #9c1a4a;
}

/* Основной стиль */
.logo-container {
  display: flex;

  align-items: center;
  text-align: center;
}
.logo-text {
margin-left: 20px;
}
.logo-img {
  height: 70px;
  width: 70px;
  object-fit: cover;
  transition: transform 0.3s ease;
}






body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #f9f9f9;
  color: #333;
}

h1 {
  font-size: 32px;
  text-align: center;
  margin: 30px 0;
}

h3 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
}

/* Хедер */
.header {
  background-color: rgba(114, 20, 56, 0.9);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.header nav ul li {
  font-size: 18px;
}
.page-wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.header nav ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.header nav ul li a:hover {
  color: #ffcc00;
}

/* Основной контент */
.main-content {
  flex: 1;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Поиск */
.search-section {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  justify-content: center;
}

.search-bar {
  padding: 10px;
  font-size: 16px;
  width: 50%;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.btn {
  background-color: rgba(114, 20, 56, 0.9);
  color: white;
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #9c1a4a;
}

/* Основная обертка для контента */
.content-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
}

/* Список публикаций */
.publications-section {
  flex: 0 0 70%;
}

.publication-item {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.publication-item h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.annotation-text {
  font-size: 14px;
  color: #555;
}

a {
  color: #114b71;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Популярные статьи */
.popular-articles {
  flex: 0 0 25%;
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.popular-articles h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.popular-articles ul {
  list-style: none;
  padding: 0;
}

.popular-articles ul li {
  margin-bottom: 10px;
  font-size: 16px;
}

.popular-articles ul li a {
  color: #114b71;
}

.popular-articles ul li a:hover {
  text-decoration: underline;
}

/* Футер */
/* Футер */
.footer {
  background-color: rgba(114, 20, 56, 0.9);
  color: #e1e1e1;
  text-align: center;
  padding: 30px;
}
.main-content {
  flex: 1;
}

.footer p {
  margin: 0;
}

.footer a {
  color: #ffcc00;
  text-decoration: none;
}

.footer a:hover {
  color: #ff9900;
  text-decoration: underline;
}

/* Стиль для мобильных устройств */
@media (max-width: 768px) {
  .search-bar {
    width: 80%;
  }

  .search-section {
    flex-direction: column;
  }

  .content-wrapper {
    flex-direction: column;
  }

  .publication-item {
    padding: 15px;
  }

  .popular-articles {
    margin-top: 30px;
    width: 100%;
  }
}
.archives-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.archive-item {
  background-color: #f9f9f9;
  border-left: 5px solid #0077cc;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.archive-item h2 {
  margin: 0 0 10px;
}

.archive-item .btn {
  margin-right: 10px;
}
.contact-section {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.contact-card {
  background: #f9f9f9;
  border-left: 5px solid rgba(114, 20, 56, 0.8);
  padding: 20px;
  flex: 1 1 300px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.contact-card h2 {
  margin-top: 0;
  display: flex;
  align-items: center;
  font-size: 18px;
  gap: 8px;
}

.contact-card a {
  color: #721438;
  text-decoration: underline;
}
.about-section {
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px;
}

.about-section ul {
  margin: 10px 0 20px 20px;
  list-style-type: disc;
}
.authors-section {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 20px;
  line-height: 1.7;
}

.authors-section ul,
.authors-section ol {
  margin: 10px 0 20px 20px;
}

.btn-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.news-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px 0;
}

.news-card {
  display: flex;
  gap: 20px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 12px;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  align-items: flex-start;
}

.news-thumb {
  width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.news-info {
  flex-grow: 1;
}

.news-card h2 {
  margin: 0 0 10px;
}

.news-meta {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 10px;
}

.btn {
  display: inline-block;
  padding: 8px 14px;
  background-color: #1976d2;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: #1259a5;
}

.pagination {
  display: flex;
  justify-content: center;
  margin: 30px 0;
  gap: 10px;
}

.page-btn {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
}

.page-btn:hover,
.page-btn.active {
  background: #1976d2;
  color: #fff;
  border-color: #1976d2;
}
ul li a {
  display: flex;
  align-items: center;  /* Центрирует по вертикали */
  gap: 8px;             /* Расстояние между иконкой и текстом */
  padding: 10px;
  text-decoration: none;
  color: inherit;
}


.reviewers-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
 
  }

 
  .btn-small {
    font-size: 14px;
    padding: 4px 8px;
    background-color: #007bff;
    color: white;
    border-radius: 4px;
    text-decoration: none;
  }

  .btn-small:hover {
    background-color: #0056b3;
  }

  .add-reviewer-btn {
    margin-bottom: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
  }

  .add-reviewer-btn:hover {
    background-color: #218838;
  }