.whitepaper-wrapper {
  font-family: "Times New Roman", Times, serif;
}

.whitepaper-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #17365d;
  padding-bottom: 10px;
  margin-bottom: 20px;
}

/* По умолчанию — кнопки справа, заголовок слева/по центру */
.whitepaper-title-text {
  font-family: "Times New Roman", Times, serif;
  font-size: 28px;
  font-weight: bold;
  color: #17365d;
  flex: 1 1 auto;
  text-align: center;
}

/* Кнопки прижаты вправо */
.whitepaper-buttons {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

/* Кнопки */
.whitepaper-buttons a {
  display: inline-block;
  margin-left: 10px;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.95em;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  color: #17365d;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.whitepaper-buttons a:hover {
  background-color: #e8f0ff;
  border-color: #366091;
  color: #366091;
}

/* 📱 Мобильная адаптация */
@media (max-width: 767px) {
  .whitepaper-title-text,
  .whitepaper-buttons {
    width: 100%;
  }

  .whitepaper-title-text {
    text-align: center;
    margin-bottom: 10px;
  }

  .whitepaper-buttons {
    justify-content: flex-end;
  }
}


.whitepaper-intro {
  color: #333;
  font-size: 0.95em;
  text-align: justify;
  margin-left: auto;
  margin-right: 0;
  width: 75%;
}

@media (min-width: 768px) {
  .whitepaper-intro {
    width: 65%;
  }
}

@media (min-width: 992px) {
  .whitepaper-intro {
    width: 50%;
  }
}

.whitepaper-section {
  color: #366091;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 30px;
  margin-bottom: 10px;
}

.whitepaper-text {
  text-align: justify;
  color: #222;
  margin-bottom: 15px;
}

.whitepaper-list {
  margin-left: 30px;
}
