/* Файл для переопределения стилей и устранения ошибок */

/* Убираем пустой контент из селекторов */
.has-js .p-nav-menuTrigger:after, 
.has-js .p-nav .p-navEl-menuTrigger:after, 
.p-nav-list .p-navEl-link:after, 
.p-navgroup-link--search:after, 
.p-navgroup-link--register:after, 
.p-navgroup-link--login:after, 
.p-navgroup-link--user:after, 
.p-navgroup-link:after {
    content: none !important;
}

/* Увеличиваем высоту фиолетовой области */
.xtr-message-block {
    padding-bottom: 40px !important; /* Увеличиваем отступ снизу */
    min-height: 280px !important; /* Минимальная высота блока */
}

/* Увеличиваем отступы внутри блока сообщения */
.xtr-message-block .message-body-inner {
    padding: 40px 20px !important; /* Увеличиваем вертикальные отступы */
}

/* Увеличиваем размер фиолетовой волны */
.message-wave .divider-shape svg {
    display: block;
    width: calc(131.3%);
    height: 60px !important; /* Увеличиваем высоту волны */
    left: 0;
    transform: rotate3d(0, 1, 0, 180deg);
}

/* Настраиваем отступы для волны */
.message-wave {
    position: absolute;
    overflow: hidden;
    width: 100%;
    bottom: 0;
    z-index: 1;
}

/* Стили для HTML-элементов в краткой новости */
.short-story .post-content-text h1,
.short-story .post-content-text h2,
.short-story .post-content-text h3,
.short-story .post-content-text h4,
.short-story .post-content-text h5,
.short-story .post-content-text h6 {
    margin: 1em 0 0.5em;
    font-weight: bold;
    line-height: 1.3;
    color: #fff;
}

.short-story .post-content-text h1 {
    font-size: 1.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.3em;
}

.short-story .post-content-text h2 {
    font-size: 1.5rem;
}

.short-story .post-content-text h3 {
    font-size: 1.3rem;
}

.short-story .post-content-text h4 {
    font-size: 1.1rem;
}

.short-story .post-content-text p {
    margin: 0.8em 0;
}

.short-story .post-content-text ul,
.short-story .post-content-text ol {
    margin: 1em 0;
    padding-left: 2em;
}

.short-story .post-content-text li {
    margin: 0.5em 0;
}

.short-story .post-content-text img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1em auto;
    border-radius: 4px;
}

.short-story .post-content-text blockquote {
    margin: 1em 0;
    padding: 0.8em 1em;
    border-left: 4px solid #ca4fff;
    background-color: rgba(0, 0, 0, 0.1);
    font-style: italic;
    border-radius: 0 4px 4px 0;
}

.short-story .post-content-text a {
    color: #ca4fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.short-story .post-content-text a:hover {
    color: #36a9e1;
    text-decoration: underline;
}

.short-story .post-content-text b,
.short-story .post-content-text strong {
    font-weight: bold;
    color: #fff;
}

.short-story .post-content-text em,
.short-story .post-content-text i {
    font-style: italic;
    color: #ddd;
}

.short-story .post-content-text code {
    font-family: monospace;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Дополнительные стили для улучшения отображения */
.short-story .post-content {
    padding: 15px;
}

.short-story .post-content-text {
    line-height: 1.6;
    color: #f8f9fa;
} 