/* НОВОСТИ *-/
/* ============================================================
   СЕТКА 3 КОЛОНКИ — СПИСОК НОВОСТЕЙ
   ============================================================ */

.sl-news-item {
    float: left;
    box-sizing: border-box;
    width: 33.3333%;
    padding: 0 12px 24px;
}

.sl-news-card {
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.45);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Постер */
.sl-news-thumb {
    display: block;
    overflow: hidden;
    position: relative;
}

.sl-news-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .25s ease;
}

.sl-news-thumb:hover img {
    transform: scale(1.05);
}

/* Нижняя светлая часть карточки */
.sl-news-info {
    padding: 8px 12px 10px;
    background: #DADADA;
    color: #000;
    display: flex;
    flex-direction: column;
    gap: 4px;
    border-radius: 0 0 14px 14px;
}

/* Дата */
.sl-news-date {
    font-size: 12px;
    opacity: .7;
}

/* Заголовок (2 строки макс) */
.sl-news-title {
    font-size: 16px;
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sl-news-title a {
    color: #000;
}

.sl-news-title a:hover {
    text-decoration: underline;
}

/* Краткое описание (3 строки макс) */
.sl-news-excerpt {
    font-size: 13px;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Адаптив */
@media (max-width: 1100px) {
    .sl-news-item { width: 50%; }
}
@media (max-width: 700px) {
    .sl-news-item { width: 100%; }
}

/* ============================================================
   КНОПКА «ЧИТАТЬ НОВОСТЬ» НА ПОСТЕРЕ
   ============================================================ */

.sl-news-read {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(240, 240, 240, 0.85);
    color: #000;
    padding: 7px 16px;
    font-size: 14px;
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity .28s ease,
        transform .28s ease,
        box-shadow .35s ease,
        background .35s ease;
    backdrop-filter: blur(6px);
    overflow: hidden;
}

.sl-news-thumb:hover .sl-news-read {
    opacity: 1;
    transform: translateX(-50%) translateY(-4px);
    pointer-events: auto;
}

.sl-news-read:hover {
    box-shadow:
        0 4px 14px rgba(0,0,0,0.25),
        0 0 10px rgba(255,255,255,0.65);
    background: rgba(250, 250, 250, 0.92);
    transform: translateX(-50%) translateY(-6px);
}

.sl-news-read::after {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0) 100%
    );
    transform: skewX(-20deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sl-news-read:hover::after {
    opacity: 1;
    animation: slShine 0.95s forwards;
}

@keyframes slShine {
    from { left: -80%; }
    to   { left: 130%; }
}

/* ============================================================
   SEO-H1 В КАТЕГОРИИ НОВОСТЕЙ
   ============================================================ */

.sl-news-h1 { display: none; }

.sl-news-h1:first-of-type {
    display: block;
    width: 100%;
    margin: 0 0 22px 0;
    padding: 0 12px;
    font-size: 26px;
    font-weight: 600;
    line-height: 1.25;
    color: #000;
    border-left: 4px solid rgba(0,0,0,0.25);
    padding-left: 14px;
}

/* ============================================================
   FULLSTORY NEWS (СТАТЬЯ)
   ============================================================ */

.sl-fullnews {
    padding: 0 12px 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* Заголовок */
.sl-fullnews-title {
    font-size: 30px;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    margin-bottom: 10px;
}

/* Метаданные */
.sl-fullnews-meta {
    font-size: 14px;
    color: #666;
    margin-bottom: 18px;
}

/* Постер */
.sl-fullnews-poster {
    margin-bottom: 28px;
}

.sl-fullnews-poster img {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    display: block;
}

/* Контент */
.sl-fullnews-content {
    font-size: 16px;
    color: #111;
    line-height: 1.75;
}

.sl-fullnews-content p { margin: 0 0 16px 0; }

/* Заголовки внутри текста */
.sl-fullnews-content h2,
.sl-fullnews-content h3 {
    margin: 32px 0 14px;
    color: #000;
    font-weight: 700;
}

.sl-fullnews-content h2 { font-size: 22px; }
.sl-fullnews-content h3 { font-size: 19px; }

/* Списки */
.sl-fullnews-content ul,
.sl-fullnews-content ol {
    margin: 0 0 18px 20px;
}

.sl-fullnews-content li {
    margin-bottom: 8px;
    list-style: disc;
}

/* Цитата */
.sl-fullnews-content blockquote {
    margin: 22px 0;
    padding: 14px 18px;
    border-left: 4px solid #ccc;
    background: #F3F3F3;
    border-radius: 6px;
    color: #333;
    font-style: italic;
}

/* Изображения внутри текста */
.sl-fullnews-content img {
    max-width: 100%;
    border-radius: 12px;
    margin: 14px 0;
    box-shadow: 0 5px 14px rgba(0,0,0,0.12);
}

/* ============================================================
   КНОПКА "ВЕРНУТЬСЯ НАЗАД"
   ============================================================ */

.sl-back-btn {
    background: #EDEDED;
    color: #000 !important;
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.12);
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: .25s ease;
}

.sl-back-btn:hover {
    background: #F6F6F6;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

/* ============================================================
   НОВЫЕ ХЛЕБНЫЕ КРОШКИ + КНОПКА НАЗАД (ТОЛЬКО FULLSTORY)
   ============================================================ */

.sl-full-breadcrumbs {
    max-width: 900px;
    margin: 0 auto 16px;
    padding: 0 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    font-size: 13px;
    color: #666;
    margin-left: calc(50% - 450px - 2px);
}

.sl-full-breadcrumbs-left a {
    color: #666;
}

.sl-full-breadcrumbs-left a:hover {
    color: #000;
    text-decoration: underline;
}
@media (max-width: 700px) {
    .sl-full-breadcrumbs {
        max-width: 100%;
        margin: 0 0 12px;
        padding: 0 12px;

        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }

    .sl-full-breadcrumbs-right {
        align-self: flex-end;
    }
}
/* ============================================================
   СКРЫВАЕМ СТАНДАРТНЫЙ SPEEDBAR ТОЛЬКО НА FULLSTORY
   ============================================================ */

.speedbar:has(+ .sl-full-breadcrumbs) {
    display: none !important;
}
/* ===== ЗАГОЛОВОК КОММЕНТАРИЕВ — НА ВСЮ ШИРИНУ ===== */

.sl-comments-title-wrap {
    width: 100%;
    margin: 40px 0 16px 0;
    padding: 0 0 0 12px; /* небольшой отступ слева как у сайта */
}

.sl-comments-title {
    font-size: 22px;
    font-weight: 700;
    color: #000;
    padding-bottom: 8px;
    border-bottom: 2px solid #e0e0e0;
    width: 100%;
    text-align: left; /* выравниваем строго влево */
}
/* GALLERY*/