
/* Контейнеры: центрируем по странице, ограничиваем читабельной шириной */
body.single-post .ct-container,
body.single-post .ct-container-narrow,
body.single-post .ct-container-full {
    max-width: min(1100px, 92vw) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Hero-section (Blocksy) — заголовок + автор + дата + категория. По центру. */
body.single-post .hero-section,
body.single-post .hero-section.is-width-constrained,
body.single-post article > .hero-section,
body.single-post .entry-header {
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}
body.single-post h1.page-title,
body.single-post .entry-title,
body.single-post .post-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Excerpt / lead — по центру */
body.single-post .entry-excerpt,
body.single-post .post-excerpt,
body.single-post .ct-meta-excerpt,
body.single-post .hero-section p {
    text-align: center !important;
    max-width: 800px;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* Meta-row (автор + дата + категория) — по центру */
body.single-post .entry-meta,
body.single-post .post-meta,
body.single-post .ct-meta-element,
body.single-post .hero-section .ct-meta {
    justify-content: center !important;
    text-align: center !important;
}
/* Контент статьи: ограничиваем ширину и центрируем */
body.single-post .entry-content,
body.single-post .post-content,
body.single-post .single-post-content {
    max-width: 1000px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: left;
}
/* Комментарии: центрируем */
body.single-post #comments,
body.single-post .comments-area,
body.single-post .ct-comments-container,
body.single-post .comment-respond,
body.single-post #respond {
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* meta (автор, дата, категория) — по центру */
body.single-post .entry-meta,
body.single-post .post-meta {
    text-align: center !important;
    justify-content: center !important;
}
/* Картинки и блоки уже центрированы inline, но подстрахуем */
body.single-post .entry-content > figure,
body.single-post .entry-content > p,
body.single-post .entry-content > h2,
body.single-post .entry-content > h3,
body.single-post .entry-content > ul,
body.single-post .entry-content > ol,
body.single-post .entry-content > blockquote {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
}

/* === Comments form: minimal — только имя и комментарий === */
/* Blocksy + WP-default class variants */
body.single-post .comment-form-email,
body.single-post .comment-form-url,
body.single-post .comment-form-cookies-consent,
body.single-post .comment-form-field-input-email,
body.single-post .comment-form-field-input-url,
body.single-post .comment-form-field-checkbox-cookies-consent {
    display: none !important;
}
body.single-post .comment-form-author input,
body.single-post .comment-form-comment textarea,
body.single-post .comment-form-field-input-author input,
body.single-post .comment-form-field-textarea textarea {
    width: 100%;
    max-width: 100%;
    border: 1px solid #d8d8de;
    border-radius: 9px;
    padding: 11px 13px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
}
body.single-post .comment-form-author input:focus,
body.single-post .comment-form-comment textarea:focus,
body.single-post .comment-form-field-input-author input:focus,
body.single-post .comment-form-field-textarea textarea:focus {
    outline: 0;
    border-color: #FFD60A;
    box-shadow: 0 0 0 3px rgba(255, 214, 10, .25);
}
body.single-post .comment-form-comment textarea,
body.single-post .comment-form-field-textarea textarea { min-height: 130px; resize: vertical; }
body.single-post .comment-form .form-submit input[type="submit"],
body.single-post .comment-form #submit {
    background: #FFD60A !important;
    color: #111 !important;
    font-weight: 900;
    border: 0;
    padding: 13px 30px;
    border-radius: 11px;
    cursor: pointer;
    font-size: 1rem;
    transition: background .15s, transform .15s;
}
body.single-post .comment-form .form-submit input[type="submit"]:hover {
    background: #E5C000 !important;
    transform: translateY(-1px);
}
body.single-post .comment-form-author label,
body.single-post .comment-form-comment label,
body.single-post .comment-form-field-input-author label,
body.single-post .comment-form-field-textarea label {
    display: block;
    margin-bottom: 6px;
    font-weight: 700;
    color: #444;
}
body.single-post .comment-form-author,
body.single-post .comment-form-comment,
body.single-post .comment-form-field-input-author,
body.single-post .comment-form-field-textarea {
    margin-bottom: 16px;
}
