@font-face {
  font-family: 'Helios';
  src: url('/wp-content/themes/lc-blank-master/fonts/helios.woff2') format('woff2'),
       url('/wp-content/themes/lc-blank-master/fonts/helios.woff') format('woff'),
       url('/wp-content/themes/lc-blank-master/fonts/helios.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.section-content-single h2,
.section-content-single .wp-block-heading {
  font-size: 30px !important;
  font-weight: 700;
  margin: 55px 0 25px;
  color: #ffffff !important;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.section-content-single h3 {
  font-size: 22px !important;
  font-weight: 600;
  margin: 40px 0 18px;
  color: #ffffff !important;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.section-content-single h4 {
  font-size: 18px !important;
  font-weight: 600;
  margin: 35px 0 16px;
  color: #ffffff !important;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.section-content-single p {
  font-size: 21px !important;
  line-height: 1.85;
  color: #e4e4e4 !important;
  margin-bottom: 22px;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.section-content-single ul {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  color: #dddddd !important;
  font-size: 20px !important;
  line-height: 1.75;
}

.section-content-single ol {
  margin-left: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: custom-counter;
  color: #dddddd !important;
  font-size: 20px !important;
  line-height: 1.75;
}

.section-content-single ol li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  counter-increment: custom-counter;
}

.section-content-single ol li::before {
  content: counter(custom-counter) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffcc00;
  font-weight: bold;
}

.section-content-single ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
}

.section-content-single ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffcc00;
  font-size: 20px;
  line-height: 1;
}

.section-content-single a {
  color: #ffcc00 !important;
  text-decoration: underline;
}

.section-content-single blockquote {
  border-left: 3px solid #ffcc00;
  padding-left: 20px;
  color: #bbbbbb !important;
  font-style: italic;
  margin: 20px 0;
}

.section-content-single {
  margin-top: 100px;
  border-top: 2px solid #6D6D6D;
  padding-top: 30px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  margin: 0 auto;
}

/* Таблицы */
.section-content-single table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  color: #dddddd;
  font-size: 16px;
}

.section-content-single table th,
.section-content-single table td {
  border: 1px solid #555555;
  padding: 10px 12px;
  text-align: left;
}

.section-content-single table th {
  background-color: #222222;
  font-weight: 600;
}

/* Изображения */
.section-content-single figure.wp-block-image {
  margin: 30px 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-content-single figure.wp-block-image img {
  height: auto;
  max-width: 800px;
  width: auto;
  margin: 20px auto;
  border-radius: 4px;
}

.section-content-single figure.wp-block-image figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: #aaaaaa;
  text-align: center;
}

/* Изображение с текстом сбоку — ближе к стилю редактора Gutenberg */
.section-content-single .wp-block-media-text {
  margin: 40px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 768px) {
  .section-content-single h2 {
    font-size: 20px !important;
    margin: 30px 0 14px;
  }

  .section-content-single h3 {
    font-size: 16px !important;
    margin: 22px 0 12px;
  }

  .section-content-single h4 {
    font-size: 15px !important;
    margin: 20px 0 10px;
  }
  
  .section-content-single p {
    font-size: 18px !important;
    line-height: 1.65;
  }

  .section-content-single ul,
  .section-content-single ol {
    font-size: 18px !important;
    line-height: 1.65;
  }

  .section-content-single table {
    font-size: 14px;
  }
  
  .section-content-single .wp-block-media-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}

.section-content-single .wp-block-media-text__media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-content-single .wp-block-media-text__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.section-content-single .wp-block-media-text__media img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  object-fit: contain;
}

.wp-block-media-text__media img {
  display: block;
  max-width: 100%;
  height: auto;
}
