/* Обёртка для блока hero__description */
:where(.hero__description) p {
    font-size: revert;
    line-height: revert;
    margin: revert;
}

.hero__description .wp-block {
  margin-bottom: 40px; /* var(--space-xl) */
}

.hero__description .wp-block[data-align="full"] {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: none;
  width: 100vw;
}

.hero__description .wp-block[data-align="wide"] {
  max-width: 1200px; /* var(--container-xl) */
}

/* Заголовки */
.hero__description .wp-block-heading,
.hero__description .wp-block-post-title,
.hero__description h1,
.hero__description h2,
.hero__description h3,
.hero__description h4,
.hero__description h5,
.hero__description h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700; /* var(--font-bold) */
  line-height: 1.2;
  color: #25252a; /* var(--text-primary) */
  margin-top: 0;
  margin-bottom: 24px; /* var(--space-lg) */
}

.hero__description h1 { font-size: 64px; /* var(--font-display) */ }
.hero__description h2 { font-size: 40px; /* var(--font-4xl) */ }
.hero__description h3 { font-size: 32px; /* var(--font-3xl) */ }
.hero__description h4 { font-size: 24px; /* var(--font-2xl) */ }
.hero__description h5 { font-size: 20px; /* var(--font-xl) */ }
.hero__description h6 { font-size: 18px; /* var(--font-lg) */ }

/* Параграфы */
.hero__description .wp-block-paragraph,
.hero__description p {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px; /* var(--font-base) */
  line-height: 1.7;
  color: #25252a; /* var(--text-primary) */
  margin-top: 0;
  margin-bottom: 24px; /* var(--space-lg) */
}

/* Списки */
.hero__description .wp-block-list,
.hero__description ul,
.hero__description ol {
  margin-bottom: 24px; /* var(--space-lg) */
  padding-left: 32px; /* var(--space-2xl) */
}
.hero__description .wp-block-list li,
.hero__description ul li,
.hero__description ol li {
  margin-bottom: 8px; /* var(--space-sm) */
  line-height: 1.6;
}
.hero__description ul li { list-style-type: disc; }
.hero__description ol li { list-style-type: decimal; }

/* Цитаты */
.hero__description .wp-block-quote,
.hero__description .wp-block-pullquote {
  border-left: 4px solid #ECC28B; /* var(--accent-gold) */
  padding-left: 24px; /* var(--space-lg) */
  margin: 40px 0; /* var(--space-xl) 0 */
}
.hero__description .wp-block-quote p,
.hero__description .wp-block-pullquote p {
  font-style: italic;
  font-size: 18px; /* var(--font-lg) */
  color: #25252a; /* var(--text-primary) */
}
.hero__description .wp-block-quote cite,
.hero__description .wp-block-pullquote cite {
  display: block;
  margin-top: 8px; /* var(--space-sm) */
  font-size: 14px; /* var(--font-sm) */
  color: #bcbcbc; /* var(--text-secondary) */
}

/* Картинки */
.hero__description .wp-block-image,
.hero__description .wp-block-cover {
  margin: 40px 0; /* var(--space-xl) 0 */
}
.hero__description .wp-block-image img,
.hero__description .wp-block-cover img {
  border-radius: 12px; /* var(--radius-lg) */
  box-shadow: 0 4px 16px rgba(24, 48, 69, 0.1);
}
.hero__description .wp-block-image figcaption,
.hero__description .wp-block-cover figcaption {
  margin-top: 8px; /* var(--space-sm) */
  text-align: center;
  font-size: 14px; /* var(--font-sm) */
  color: #bcbcbc; /* var(--text-secondary) */
}

/* Кнопки из конструктора */
.hero__description .wp-block-button .wp-block-button__link,
.hero__description .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-size: 15px; /* var(--font-base) */
  font-weight: 600; /* var(--font-semibold) */
  border-radius: 8px; /* var(--radius-md) */
  border: none;
  background: linear-gradient(135deg, #ECC28B 0%, #D4C5B0 100%); /* gradient-start,end */
  color: #fff;
  box-shadow: 0 4px 12px rgba(24, 48, 69, 0.3);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 52px;
}
.hero__description .wp-block-button__link:hover {
  background: #555 !important;
  box-shadow: 0 6px 20px rgba(24, 48, 69, 0.4);
  transform: translateY(-2px);
}

/* Таблицы */
.hero__description .wp-block-table,
.hero__description table {
  width: 100%;
  margin: 40px 0; /* var(--space-xl) 0 */
  border-collapse: collapse;
}
.hero__description .wp-block-table td,
.hero__description .wp-block-table th,
.hero__description table td,
.hero__description table th {
  padding: 16px; /* var(--space-md) */
  border: 1px solid #bcbcbc; /* var(--border-color) */
  text-align: left;
  font-size: 15px; /* var(--font-base) */
  line-height: 1.5;
}
.hero__description .wp-block-table th,
.hero__description table th {
  background: #fff; /* var(--bg-card) */
  font-weight: 700; /* var(--font-bold) */
  color: #25252a; /* var(--text-primary) */
}

/* Разделители */
.hero__description .wp-block-separator,
.hero__description hr {
  border: none;
  height: 1px;
  background: #bcbcbc; /* var(--border-color) */
  margin: 96px 0; /* var(--space-3xl) 0 */
}

/* Embed-блоки */
.hero__description .wp-block-embed {
  margin: 40px 0; /* var(--space-xl) 0 */
}
.hero__description .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 12px; /* var(--radius-lg) */
  box-shadow: 0 4px 16px rgba(24, 48, 69, 0.1);
}
.hero__description .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Выделенный текст */
.hero__description mark,
.hero__description .wp-block-highlight-text,
.hero__description .wp-block-highlights mark {
  background-color: rgba(236, 194, 139, 0.3);
  color: #25252a; /* var(--text-primary) */
  padding: 0 4px;
}
