/* Контейнер */
.regulatory-documents-container {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Хлебные крошки */
.breadcrumbs {
  font-family: Inter, sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: var(--color-orange);
  margin-bottom: 20px;
}

/* Заголовок */
.regulatory-documents-title {
  height: 48px;
  margin: 0 auto 30px;
  padding: 0 20px;
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  user-select: none;
}

.title-normal {
  color: #E8E6D4;
}

.title-italic {
  color: var(--color-orange);
  font-style: italic;
}

/* Секция карточек */
.regulatory-documents-cards {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
}

/* Карточка */
.regulatory-document-card {
  background-color: #E8E6D4;
  border-radius: 6px;
  padding: 20px;
  width: calc( 50% - 5px );
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.regulatory-document-card  a{
  transition: all .3s ease-in-out;
}
.regulatory-document-content {
  width: 535px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* Заголовок документа */
.document-title {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #18383C;
  margin: 0;
  flex-shrink: 1;
  overflow-wrap: break-word;
  text-decoration: none;
}
.document-title span{
  font-size: 12px;
}
/* Кнопка "Смотреть" */
.btn-view-pdf {
  width: 110px;
  height: 40px;
  padding: 10px 20px;
  border-radius: 100px;
  border: 1px solid var(--color-orange);
  background-color: var(--color-orange);
  color: #E8E6D4;
  font-family: Inter, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s ease;
}

/* Hover: инверсия цветов */
.btn-view-pdf:hover {
  background-color: #E8E6D4;
  color: var(--color-orange);
  border-color: var(--color-orange);
}

/* Модальное окно */
.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(24, 56, 60, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.pdf-modal-content {
  position: relative;
  width: 90%;
  max-width: 900px;
  height: 80vh;
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.pdf-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 30px;
  line-height: 1;
  color: #18383C;
  cursor: pointer;
}

.pdf-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}
@media screen and (max-width: 768px) {
  /* Заголовок секции */
  .regulatory-documents-title {
    font-size: 24px;
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 20px;
    padding: 0 20px;
  }

  .title-normal {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    color: #E8E6D4;
  }

  .title-italic {
    font-size: 24px;
    font-weight: 500;
    font-style: italic;
    line-height: 1;
    color: var(--color-orange);
  }

  /* Секция карточек */
  .regulatory-documents-cards {
    flex-direction: column;
    gap: 10px;
    padding: 0 20px;
  }

  /* Карточка */
  .regulatory-document-card {
    width: 100%;
    padding: 20px;
    border-radius: 6px;
    box-sizing: border-box;
    gap: 20px;
  }

  /* Контент внутри карточки */
  .regulatory-document-content {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
  }

  /* Заголовок документа */
  .document-title {
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: #18383C;
    margin: 0;
  }

  /* Кнопка "Смотреть" */
  .btn-view-pdf {
    width: 109px;
    height: 40px;
    padding: 10px 20px;
    margin-top: 0;
    margin-left: 0;
    align-self: stretch;
  }
}