/* =====================================================
   Баспасөз — одиночная запись
   Версия: 1.0.0
   ===================================================== */

.bsp-single-wrap {
    width: 100%;
    padding: 0 0 48px;
    color: #222;
}

/* Заголовок */
.bsp-single-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
    color: #111;
    margin: 0 0 16px 0;
}

/* Мета-строка */
.bsp-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #999;
    margin-bottom: 28px;
    line-height: 1.5;
}

.bsp-single-meta-sep {
    color: #d8d8d8;
    font-size: 11px;
}

.bsp-single-meta-date {
    color: #aaa;
}

.bsp-single-meta-cat {
    color: #777;
}

.bsp-single-meta-author {
    color: #888;
}

.bsp-single-meta-filial {
    color: #888;
}

/* Главное изображение */
.bsp-single-image-wrap {
    margin-bottom: 32px;
    border-radius: 6px;
    overflow: hidden;
    background: #f2f2f2;
}

.bsp-single-image {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

/* Содержимое */
.bsp-single-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 32px;
}

.bsp-single-content p {
    margin: 0 0 18px 0;
}

.bsp-single-content p:last-child {
    margin-bottom: 0;
}

.bsp-single-content a {
    color: #333;
    text-decoration: underline;
}

.bsp-single-content a:hover {
    color: #000;
}

.bsp-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Код встраивания */
.bsp-single-embed {
    margin-top: 32px;
}

.bsp-single-embed iframe,
.bsp-single-embed video,
.bsp-single-embed object {
    max-width: 100%;
    display: block;
}

/* Источник */
.bsp-single-source {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
    font-size: 13px;
    color: #aaa;
    line-height: 1.6;
}

.bsp-single-source-label {
    font-weight: 600;
    color: #999;
    margin-right: 4px;
}

/* -------------------------------------------------------
   Адаптив
------------------------------------------------------- */
@media (max-width: 640px) {
    .bsp-single-title {
        font-size: 22px;
    }

    .bsp-single-content {
        font-size: 15px;
    }

    .bsp-single-image {
        max-height: 260px;
    }
}
