.elementor-29799 .elementor-element.elementor-element-9fa9718{margin:-120px 0px 0px 0px;}/* Start custom CSS for html, class: .elementor-element-38bd0e8 *//* СТИЛИ ТЕМНОЙ ШАПКИ СТРАНИЦЫ БЛОГА — Исправлены боковые отступы */
.sm-blog-header-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%) !important; /* Твой фирменный темно-синий градиент */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 60px 0 70px 0 !important; /* Чуть увеличили вертикальные отступы для объема */
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
.sm-blog-header-container {
    max-width: 1240px !important; /* Увеличили ширину контейнера */
    margin: 0 auto !important;
    padding: 0 40px !important; /* Сделали большие, солидные отступы по бокам */
    box-sizing: border-box !important;
}

/* Хлебные крошки в темном стиле */
.sm-blog-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 13px !important;
    margin-bottom: 35px !important;
}
.sm-crumb-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    font-weight: 500 !important;
}
.sm-crumb-link:hover {
    color: #38bdf8 !important;
}
.sm-crumb-icon {
    width: 14px !important;
    height: 14px !important;
}
.sm-crumb-separator {
    color: rgba(255, 255, 255, 0.2) !important;
}
.sm-crumb-current {
    color: #ffffff !important;
    font-weight: 500 !important;
}

/* Главный контент */
.sm-blog-header-content {
    max-width: 950px !important; /* Расширили текстовый блок */
}
.sm-blog-header-badge {
    display: inline-block !important;
    padding: 6px 14px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    color: #38bdf8 !important;
    margin-bottom: 20px !important;
}
.sm-blog-header-title {
    font-size: 38px !important; /* Сделали заголовок чуть массивнее */
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 20px 0 !important;
    letter-spacing: 0.5px !important;
    line-height: 1.25 !important;
    text-transform: uppercase !important;
    text-align: left !important;
}
.sm-blog-header-desc {
    font-size: 16px !important;
    color: #cbd5e1 !important;
    line-height: 1.65 !important;
    margin: 0 !important;
}

/* Адаптивность для мобилок */
@media (max-width: 768px) {
    .sm-blog-header-hero { padding: 40px 0 !important; }
    .sm-blog-header-container { padding: 0 20px !important; } /* На смартфонах возвращаем 20px, чтобы не сжимать экран */
    .sm-blog-header-title { font-size: 26px !important; }
    .sm-blog-header-desc { font-size: 14px !important; }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-7ddb5ca */.sm-blog-section {
    padding: 60px 0;
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}
.sm-blog-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.sm-blog-main-title {
    text-align: center;
    color: #212529;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 12px;
}
.sm-blog-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto 45px auto;
    line-height: 1.5;
}
.sm-blog-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}
.sm-blog-slider-track {
    display: flex;
    gap: 24px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    padding: 15px 5px;
    width: 100%;
    scrollbar-width: none; 
}
.sm-blog-slider-track::-webkit-scrollbar {
    display: none;
}
.sm-blog-card {
    flex: 0 0 calc(33.333% - 16px);
    background: #f4f6f9;
    border: 1px solid #e2e8f0;
    border-radius: 0px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.sm-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 86, 179, 0.08);
    border-color: #0056b3;
    background: #ffffff;
}
.sm-blog-img-box {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.sm-blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.sm-blog-info {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределяет заголовок и кнопку по краям */
    gap: 20px;
}
.sm-blog-title {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #212529 !important;
    margin: 0 !important;
    line-height: 1.4 !important;
    min-height: 50px; 
}
.sm-blog-footer {
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

/* ИСПРАВЛЕННЫЕ ССЫЛКИ: Жестко красим в синий все 3 кнопки и убираем черные дубли */
.sm-blog-link,
.sm-blog-link:link,
.sm-blog-link:visited,
.sm-blog-link:active {
    color: #0056b3 !important; /* Твой правильный насыщенный синий цвет */
    font-weight: bold !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
    display: inline-block !important;
}

/* Эффект при наведении — теперь загорается ТОЧНЫМ желтым цветом со скриншота */
.sm-blog-link:hover {
    color: #ffc107 !important; /* Желтый цвет кнопки расчета сметы */
    text-decoration: none !important;
}

/* СТИЛИ СТРЕЛОК */
.sm-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #0056b3;
    color: #ffffff !important;
    border: none;
    border-radius: 0px; 
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    font-family: Arial, sans-serif !important;
    font-size: 28px !important;
    font-weight: normal !important;
    line-height: 1 !important;
    padding: 0 0 4px 0 !important;
    text-align: center !important;
}
.sm-slider-arrow:hover {
    background: #004085;
    color: #ffffff !important;
}
.sm-slider-arrow.arrow-left { left: -22px; }
.sm-slider-arrow.arrow-right { right: -22px; }

@media (max-width: 1240px) {
    .sm-slider-arrow.arrow-left { left: 5px; }
    .sm-slider-arrow.arrow-right { right: 5px; }
}
@media (max-width: 1024px) {
    .sm-blog-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 660px) {
    .sm-blog-slider-track { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 20px; }
    .sm-blog-card { flex: 0 0 85%; }
    .sm-slider-arrow { display: none; }
    .sm-blog-main-title { font-size: 24px; }
}/* End custom CSS */