/*
Theme Name: Contour24 Theme
Author: Your Name
Description: Minimal theme for Contour24 React App integration. Uses Tailwind CSS from React build.
Version: 1.3
*/

/*
Все основные стили теперь берутся из файла CSS (/dist/assets/index-....css),
сгенерированного Vite/Tailwind, который подключается через functions.php на всех страницах.
Этот файл нужен только для информации о теме WordPress.

Можно добавить сюда стили для специфичных классов WordPress,
если Tailwind Prose их не покрывает или если плагин @tailwindcss/typography
не был включен в сборку (например, стили для .wp-block-...).
*/

/* Базовые стили для формы комментариев, если prose-invert не справляется */
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    background-color: rgba(255, 255, 255, 0.05); /* bg-white/5 */
    border: 1px solid rgba(255, 255, 255, 0.1); /* border border-white/10 */
    border-radius: 0.5rem; /* rounded-lg */
    padding: 0.75rem; /* p-3 */
    color: #ffffff; /* text-white */
    width: 100%;
    margin-bottom: 1rem;
    box-sizing: border-box;
    font-size: 0.95em;
    transition: all 0.2s;
}
.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond input[type="url"]:focus,
.comment-respond textarea:focus {
    border-color: rgba(255, 255, 255, 0.3); /* focus:border-white/30 */
    background-color: rgba(255, 255, 255, 0.1); /* focus:bg-white/10 */
    outline: none;
    box-shadow: none;
}
 .comment-respond .form-submit input {
     background-color: #ffffff; /* bg-white */
     color: #000000; /* text-black */
     border: none;
     padding: 0.5rem 1.5rem; /* px-6 py-2 */
     cursor: pointer;
     border-radius: 0.5rem; /* rounded-lg */
     font-size: 0.875rem; /* text-sm */
     font-weight: 500; /* font-medium */
     transition: background-color 0.2s;
 }
 .comment-respond .form-submit input:hover {
     background-color: rgba(255, 255, 255, 0.9); /* hover:bg-white/90 */
 }
 .comment-list .comment-author .avatar {
     border-radius: 9999px; /* rounded-full */
     margin-right: 1rem; /* Добавим отступ */
 }
 .comment-reply-link { /* Ссылка "Ответить" */
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9999px;
    transition: all 0.2s;
 }
  .comment-reply-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
  }


/* --- НАЧАЛО: Стили для контента записей (замена Tailwind Prose) --- */

.wp-single-post .entry-content {
    /* Базовые настройки текста, как в prose-invert */
    color: rgb(255 255 255 / 0.8); /* Примерно text-white/80 */
    line-height: 1.75; /* Примерная высота строки для читаемости */
}

.wp-single-post .entry-content p {
    margin-top: 1.25em; /* Отступ сверху для абзацев */
    margin-bottom: 1.25em; /* Отступ снизу для абзацев */
}

.wp-single-post .entry-content h1,
.wp-single-post .entry-content h2,
.wp-single-post .entry-content h3,
.wp-single-post .entry-content h4,
.wp-single-post .entry-content h5,
.wp-single-post .entry-content h6 {
    color: #ffffff; /* text-white */
    font-weight: 600; /* font-semibold (можно 700 для font-bold) */
    margin-top: 1.6em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

.wp-single-post .entry-content h2 {
    font-size: 1.5em; /* Примерный размер */
}

.wp-single-post .entry-content h3 {
    font-size: 1.25em; /* Примерный размер */
}

/* Добавьте стили для других элементов по необходимости: ul, ol, li, a, blockquote, code, pre и т.д. */

.wp-single-post .entry-content ul,
.wp-single-post .entry-content ol {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
    padding-left: 1.6em;
}

.wp-single-post .entry-content li {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

.wp-single-post .entry-content ul {
    list-style: disc;
}

.wp-single-post .entry-content ol {
    list-style: decimal;
}

.wp-single-post .entry-content a {
    color: #ffffff; /* text-white */
    text-decoration: underline;
    transition: color 0.2s;
}

.wp-single-post .entry-content a:hover {
    color: rgb(255 255 255 / 0.8); /* hover:text-white/80 */
}

.wp-single-post .entry-content strong,
.wp-single-post .entry-content b {
     color: #ffffff; /* text-white */
     font-weight: 600; /* font-semibold */
}

.wp-single-post .entry-content blockquote {
    margin-top: 1.6em;
    margin-bottom: 1.6em;
    padding-left: 1em;
    border-left: 0.25em solid rgba(255, 255, 255, 0.2); /* border-l-4 border-white/20 */
    color: rgb(255 255 255 / 0.7); /* text-white/70 */
}

/* --- КОНЕЦ: Стили для контента записей --- */