/* ===== Оформление одиночной статьи (Запись) ===== */

/* Прячем служебную мету «Written by … in …» (группа сразу после заголовка) */
.single .wp-block-post-title + .wp-block-group.has-small-font-size,
.single .wp-block-group.has-small-font-size:has(.wp-block-post-terms),
.single .wp-block-post-author,
.single .wp-block-post-author-name,
.single .wp-block-post-author-biography { display: none !important; }

/* Читаемая колонка и типографика */
.single .entry-content,
.single .wp-block-post-content {
  max-width: 760px; margin-left: auto; margin-right: auto;
  font-size: 17.5px; line-height: 1.72; color: #26362f;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
}
.single .wp-block-post-title,
.single .entry-title {
  max-width: 760px; margin-left: auto; margin-right: auto;
  font-size: clamp(28px, 3.6vw, 42px); line-height: 1.14; letter-spacing: -.02em;
  font-weight: 800; color: #10201a;
}
.single .wp-block-post-content h2 {
  font-size: clamp(21px, 2.4vw, 27px); font-weight: 800; letter-spacing: -.01em;
  color: #12211c; margin: 36px 0 12px; padding-top: 6px;
}
.single .wp-block-post-content h3 { font-size: 20px; font-weight: 800; margin: 26px 0 10px; color: #12211c; }
.single .wp-block-post-content p { margin: 0 0 17px; }
.single .wp-block-post-content ul,
.single .wp-block-post-content ol { margin: 0 0 20px; padding-left: 24px; }
.single .wp-block-post-content li { margin: 0 0 9px; }
.single .wp-block-post-content li::marker { color: #00897b; }
.single .wp-block-post-content strong { color: #10201a; }
.single .wp-block-post-content a { color: #00695c; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(0,105,92,.35); }
.single .wp-block-post-content a:hover { text-decoration-color: #00695c; }
.single .wp-block-post-content blockquote {
  border-left: 4px solid #00897b; background: #f0f7f4; border-radius: 0 12px 12px 0;
  padding: 12px 18px; margin: 22px 0; color: #37514a;
}
.single .wp-block-post-content em { color: #5c6b66; }

/* Картинки в статье */
.single .wp-block-post-content figure.wp-block-image,
.single .wp-block-post-content img {
  border-radius: 18px; margin: 8px 0 24px; overflow: hidden;
}
.single .wp-block-post-content figure.wp-block-image img {
  width: 100%; height: auto; display: block;
  box-shadow: 0 24px 54px -26px rgba(5,58,48,.4), 0 6px 16px rgba(9,40,34,.08);
}

/* Обложка (featured image) — показываем целиком, без обрезки */
.single .wp-block-post-featured-image { border-radius: 18px; overflow: hidden; margin: 6px auto 22px; }
.single .wp-block-post-featured-image img {
  width: 100%; height: auto; aspect-ratio: auto !important; object-fit: contain; display: block;
  box-shadow: 0 24px 54px -26px rgba(5,58,48,.45);
}

/* ===== Оформительские блоки внутри статьи (frontend-design) ===== */
/* Карточка-итог */
.single .wp-block-post-content .yvo-art-hero {
  margin: 8px 0 26px; padding: 26px 28px; border-radius: 20px; color: #eafcf5;
  background: radial-gradient(460px 220px at 15% -20%, rgba(0,201,168,.55), transparent 60%), linear-gradient(140deg,#00796b,#023a30);
  box-shadow: 0 26px 60px -30px rgba(0,77,64,.7), inset 0 1px 0 rgba(255,255,255,.16);
}
.single .yvo-art-hero__label { display:block; font-size:14px; font-weight:700; letter-spacing:.04em; opacity:.9; }
.single .yvo-art-hero__sum { display:block; font-size:clamp(38px,6vw,58px); font-weight:900; letter-spacing:-.02em; line-height:1.05; margin:6px 0 8px; }
.single .yvo-art-hero__sub { display:block; font-size:15.5px; opacity:.95; }
/* Плитки-цифры */
.single .wp-block-post-content .yvo-art-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin:0 0 26px; padding:0; list-style:none; }
.single .yvo-art-stat { background:#fff; border:1px solid #e6ece9; border-top:4px solid #00897b; border-radius:16px; padding:16px 16px 15px; box-shadow:0 12px 30px -20px rgba(9,40,34,.4); }
.single .yvo-art-stat:nth-child(2){ border-top-color:#f2a33c; } .single .yvo-art-stat:nth-child(3){ border-top-color:#4f9cf9; }
.single .yvo-art-stat b { display:block; font-size:22px; font-weight:900; letter-spacing:-.01em; color:#10201a; }
.single .yvo-art-stat span { display:block; font-size:13px; color:#5c6b66; margin-top:3px; line-height:1.4; }
/* Callout */
.single .wp-block-post-content .yvo-art-callout { border:1px solid #cfe8df; background:#f0f7f4; border-left:4px solid #00897b; border-radius:0 14px 14px 0; padding:16px 20px; margin:22px 0; }
.single .yvo-art-callout b { display:block; color:#10201a; margin-bottom:4px; font-size:16px; }
.single .yvo-art-callout p { margin:0; color:#37514a; }
@media (max-width:560px){ .single .wp-block-post-content .yvo-art-stats { grid-template-columns:1fr; } }

/* Убираем блок комментариев */
.single .wp-block-comments,
.single .comments-area,
.single .comment-respond,
.single #comments,
.single .wp-block-post-comments-form,
.single .wp-block-comments-title { display: none !important; }

/* Доп. элементы статей: кикер в герое, CTA-кнопка, дисклеймер, заголовок callout */
.single .yvo-art-hero .yvo-art-kicker { display:block; margin:0 0 6px; font-size:13px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; opacity:.85; }
.single .wp-block-post-content .yvo-art-callout h3 { margin:0 0 6px; color:#10201a; font-size:17px; }
.single .yvo-art-cta { display:inline-block; margin-top:6px; padding:10px 18px; background:#00897b; color:#fff; font-weight:700; text-decoration:none; border-radius:10px; }
.single .yvo-art-cta:hover { background:#00695c; }
.single .yvo-art-disclaimer { margin-top:26px; padding-top:14px; border-top:1px solid #e3ece9; font-size:13px; color:#7a8a85; }
