/* ===== ОСНОВНЫЕ БЛОКИ ===== */
.news_main_bg {
  background: #f8faff;
  padding: 2rem 1rem;
}

.news_main_wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.full_text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ===== СЕКЦИИ (карточки) ===== */
.section_box {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(74, 144, 217, 0.08);
  padding: 2rem 2.5rem;
  transition: box-shadow 0.2s ease;
}

.section_box:hover {
  box-shadow: 0 12px 40px rgba(74, 144, 217, 0.12);
}

/* ===== ЗАГОЛОВКИ ===== */
h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 1.2rem;
}

.section_box h2 {
  margin-top: 0;
}

/* ===== ТЕКСТ ===== */
.disclaimer {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #2d2d44;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

p {
  line-height: 1.6;
  color: #2d2d44;
}

/* ===== КНОПКИ / ССЫЛКИ-КНОПКИ ===== */
.hub_links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin: 1.5rem 0;
}

.hub_btn {
  display: inline-block;
  padding: 0.6rem 1.6rem;
  background: #f0f5ff;
  color: #4A90D9;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 40px;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.hub_btn:hover {
  background: #e3edff;
  color: #2a6bb0;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 144, 217, 0.15);
}

.hub_btn[href*="nsis"] {
  background: #FF7250;
  color: #fff;
  border-color: #FF7250;
}

.hub_btn[href*="nsis"]:hover {
  background: #e8603e;
  border-color: #e8603e;
  box-shadow: 0 6px 20px rgba(255, 114, 80, 0.3);
}

.hub_btn[href*="/#ppdwi"] {
  background: #4A90D9;
  color: #fff;
  border-color: #4A90D9;
}

.hub_btn[href*="/#ppdwi"]:hover {
  background: #3a7bc2;
  border-color: #3a7bc2;
  box-shadow: 0 6px 20px rgba(74, 144, 217, 0.3);
}

/* ===== БЛОК С ПРИМЕЧАНИЕМ (soft_note) ===== */
.soft_note {
  background: #f0f7ff;
  border-left: 4px solid #4A90D9;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  margin: 1.5rem 0;
}

.soft_note .disclaimer {
  font-size: 1rem;
  max-width: 100%;
}

/* ===== ТАБЛИЦА (мини) ===== */
.mini_table_wrap {
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: 16px;
  border: 1px solid #eaf0fa;
}

.mini_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
}

.mini_table th {
  background: #f0f7ff;
  color: #1a1a2e;
  font-weight: 700;
  padding: 0.9rem 1.2rem;
  text-align: left;
}

.mini_table td {
  padding: 0.9rem 1.2rem;
  border-top: 1px solid #edf2f9;
}

.mini_table tbody tr:hover {
  background: #f8fcff;
}

/* ===== СПИСКИ (нумерованные / маркированные) ===== */
.simple_steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.simple_steps li {
  counter-increment: step;
  padding: 0.8rem 1.2rem 0.8rem 3.5rem;
  background: #f8fbff;
  border-radius: 40px;
  position: relative;
  font-size: 1rem;
  line-height: 1.5;
  border: 1px solid #eaf0fa;
}

.simple_steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: #4A90D9;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple_steps li strong {
  color: #1a1a2e;
}

.simple_list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.simple_list li {
  padding: 0.6rem 1rem 0.6rem 2rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px dashed #eaf0fa;
}

.simple_list li::before {
  content: "•";
  color: #FF7250;
  font-weight: 700;
  font-size: 1.4rem;
  position: absolute;
  left: 0.2rem;
  top: 0.2rem;
}

.simple_list li:last-child {
  border-bottom: none;
}

/* ===== FAQ (аккордеон) ===== */
.faq_item {
  background: #f8fbff;
  border-radius: 16px;
  margin-bottom: 0.8rem;
  border: 1px solid #eaf0fa;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq_item:hover {
  border-color: #c5d9f0;
}

.faq_item summary {
  list-style: none;
  padding: 1.2rem 1.8rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1a1a2e;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  user-select: none;
}

.faq_item summary::-webkit-details-marker {
  display: none;
}

.faq_item summary::after {
  content: "▼";
  font-size: 0.8rem;
  color: #4A90D9;
  margin-left: auto;
  transition: transform 0.25s ease;
}

.faq_item[open] summary::after {
  transform: rotate(180deg);
}

.faq_q {
  flex: 1;
}

.faq_a {
  padding: 0 1.8rem 1.5rem 1.8rem;
  color: #2d2d44;
  line-height: 1.6;
  border-top: 1px solid #eaf0fa;
  margin-top: 0.2rem;
}

.faq_a p {
  margin: 0.8rem 0 0 0;
}

.faq_a p:first-child {
  margin-top: 0;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 768px) {
  .section_box {
    padding: 1.5rem 1.2rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.4rem;
  }

  .disclaimer {
    font-size: 1rem;
  }

  .hub_links {
    justify-content: center;
  }

  .hub_btn {
    font-size: 0.9rem;
    padding: 0.5rem 1.2rem;
  }

  .simple_steps li {
    padding: 0.8rem 0.8rem 0.8rem 3.2rem;
    font-size: 0.95rem;
  }

  .simple_steps li::before {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
    left: 0.8rem;
  }

  .mini_table th,
  .mini_table td {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }

  .faq_item summary {
    font-size: 0.95rem;
    padding: 1rem 1.2rem;
  }

  .faq_a {
    padding: 0 1.2rem 1.2rem;
  }
}

@media (max-width: 480px) {
  .section_box {
    padding: 1rem 0.8rem;
  }

  h1 {
    font-size: 1.4rem;
  }

  .hub_btn {
    font-size: 0.85rem;
    padding: 0.4rem 1rem;
  }

  .simple_steps li {
    padding: 0.6rem 0.6rem 0.6rem 2.8rem;
    font-size: 0.9rem;
    border-radius: 30px;
  }

  .simple_steps li::before {
    width: 22px;
    height: 22px;
    font-size: 0.7rem;
    left: 0.6rem;
  }
}