

/* Start:/bitrix/templates/new_2016.07/components/bitrix/news/anker_blog/bitrix/news.detail/news/style.css?17703822437025*/
/* --- Global Reset & Fonts --- */
.modern-blog-post {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1a1a1a;
    line-height: 1.65; /* Чуть увеличил межстрочку для комфортного чтения */
    background: #fff;
    padding-bottom: 80px;
    -webkit-font-smoothing: antialiased; /* Сглаживание шрифтов на Mac */
}

.mb-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Hero Section --- */
.mb-hero { margin-bottom: 60px; }
.mb-hero-content { max-width: 800px; padding-top: 60px; padding-bottom: 40px; }
.mb-meta { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; font-size: 14px; font-weight: 600; }
.mb-tag { color: #d93025; text-transform: uppercase; letter-spacing: 1px; }
.mb-date { color: #888; }
.mb-title { font-size: 48px; line-height: 1.15; font-weight: 800; margin: 0 0 24px; letter-spacing: -1px; }
.mb-lead { font-size: 22px; line-height: 1.5; color: #555; font-weight: 300; }
.mb-cover-wrapper { width: 100%; margin-top: 20px; position: relative; }
.mb-cover { width: 100%; height: auto; display: block; max-height: 700px; object-fit: cover; border-radius: 4px; }
.mb-caption { display: block; text-align: center; font-size: 13px; color: #999; margin-top: 10px; }

/* --- Layout Grid --- */
.mb-grid { display: grid; grid-template-columns: 200px 1fr; gap: 60px; }
.mb-sidebar { padding-top: 10px; }
.mb-sticky-block { position: sticky; top: 40px; }
.mb-author { margin-bottom: 40px; }
.mb-avatar { width: 48px; height: 48px; background: #000; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 20px; margin-bottom: 12px; }
.mb-author-name { display: block; font-weight: 700; font-size: 16px; }
.mb-read-time { display: block; font-size: 13px; color: #888; margin-top: 4px; }
.mb-share-label { display: block; font-size: 12px; color: #aaa; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.5px; }

/* --- Content Body & Typography --- */
.mb-body { max-width: 740px; }
.mb-typography { font-size: 19px; margin-bottom: 40px; }
.mb-typography p { margin-bottom: 24px; }

/* Заголовки в тексте */
.mb-typography h2 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 800;
    margin: 50px 0 24px;
    letter-spacing: -0.5px;
    color: #111;
}

.mb-typography h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #222;
}

/* Ссылки в тексте */
.mb-typography a {
    color: #d93025;
    text-decoration: none;
    border-bottom: 1px solid rgba(217, 48, 37, 0.3);
    transition: all 0.2s ease;
}

.mb-typography a:hover {
    color: #b01b1b;
    border-bottom-color: #b01b1b;
    background: rgba(217, 48, 37, 0.05);
}

/* Списки */
.mb-typography ul { list-style: none; padding-left: 0; margin-bottom: 30px; }
.mb-typography ul li { position: relative; padding-left: 24px; margin-bottom: 12px; }
.mb-typography ul li::before { content: "•"; color: #d93025; font-weight: bold; font-size: 20px; position: absolute; left: 0; top: -2px; line-height: 1; }

.mb-typography ol { counter-reset: my-counter; list-style: none; padding-left: 0; margin-bottom: 30px; }
.mb-typography ol li { position: relative; padding-left: 30px; margin-bottom: 14px; }
.mb-typography ol li::before { counter-increment: my-counter; content: counter(my-counter) "."; color: #d93025; font-weight: 700; position: absolute; left: 0; }

/* Цитаты и Галерея */
.mb-quote { margin: 50px -40px 50px 0; padding: 30px 40px; background: #f9f9f9; border-left: 6px solid #d93025; font-size: 22px; font-style: italic; color: #333; border-radius: 0 8px 8px 0; }
.mb-gallery { margin: 50px 0; }
.mb-gallery.full-width { width: 100%; }

/* --- НОВАЯ ТОВАРНАЯ СЕТКА (GRID) --- */
.mb-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.mb-section-title {
    font-size: 24px;
    margin: 0 0 30px;
    font-weight: 800;
}

.mb-products-grid {
    display: grid;
    /* 3 колонки, минимальная ширина карточки 220px */
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.mb-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mb-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-color: transparent;
}

.mb-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mb-card-img-wrapper {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.mb-card-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.mb-card-info {
    text-align: center;
    margin-bottom: 15px;
}

.mb-card-title {
    display: block;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px; /* Фиксируем высоту под 2 строки */
}

.mb-card-price-block {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.mb-card-price {
    font-size: 16px;
    font-weight: 700;
}
.mb-card-price.new { color: #d93025; }
.mb-card-old-price {
    font-size: 13px;
    text-decoration: line-through;
    color: #999;
}

.mb-card-actions {
    margin-top: auto;
    text-align: center;
}

.mb-btn-buy {
    display: block;
    width: 100%;
    padding: 10px 0;
    background: #000;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.mb-btn-buy:hover {
    background: #333;
}

/* --- Mobile Responsive --- */
@media (max-width: 900px) {
    .mb-grid { grid-template-columns: 1fr; }
    .mb-sidebar { order: 2; margin-top: 40px; border-top: 1px solid #eee; padding-top: 40px; }
    .mb-sticky-block { position: static; display: flex; align-items: center; justify-content: space-between; }
    .mb-quote { margin: 30px 0; padding: 20px; }
    .mb-title { font-size: 32px; }
    .mb-lead { font-size: 16px; }

    .mb-products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    .mb-card { padding: 10px; }
    .mb-card-img-wrapper { height: 140px; }
    .mb-card-title { font-size: 13px; height: auto; -webkit-line-clamp: 3; }
    .mb-card-price { font-size: 14px; }
    /* Уменьшаем основной текст на мобильных */
    .mb-typography { 
        font-size: 17px; /* Было 19px, стало 17px */
        line-height: 1.6; /* Чуть плотнее межстрочка */
    }
    
    /* Уменьшаем заголовки внутри текста */
    .mb-typography h2 {
        font-size: 26px; /* Было 32px */
        margin-top: 40px;
    }
    
    .mb-typography h3 {
        font-size: 22px; /* Было 24px */
    }
}


/* End */
/* /bitrix/templates/new_2016.07/components/bitrix/news/anker_blog/bitrix/news.detail/news/style.css?17703822437025 */
