

/* Start:/local/templates/centr/components/bitrix/news.detail/solution_expert/style.css?17727387058900*/
/* ============================================================
   ENGINEERING HUB - SOLUTION EXPERT STYLES
   Inspired by Fire Calculator design
   ============================================================ */

:root {
    --eng-primary: #1a2a6c;
    --eng-accent: #c0392b;
    --eng-bg: #f8fafc;
    --eng-border: #e2e8f0;
    --eng-shadow: rgba(26, 42, 108, 0.08);
    --eng-risk: #fff5f5;
    --eng-risk-border: #feb2b2;
}

.solution-expert-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0px 0 40px 0;
    font-family: 'Ubuntu', sans-serif;
    color: #2d3748;
    line-height: 1.6;
}

/* pagetitle removed from DOM via HIDE_PAGETITLE page property in header.php */

.solution-expert-page .calc-hero h1 {
    display: block;
}

/* Keep our styled hero */

/* 1. HERO BLOCK */
.solution-hero {
    text-align: center;
    padding: 60px 40px;
    background: #fff;
    border: 2px solid var(--eng-primary);
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px var(--eng-shadow);
    position: relative;
    overflow: hidden;
}

.hero-label {
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--eng-primary);
    font-weight: 700;
    margin-bottom: 15px;
    display: block;
}

.solution-hero h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 20px 0;
    line-height: 1.2;
}

.hero-desc {
    font-size: 18px;
    color: #4a5568;
    max-width: 800px;
    margin: 0 auto;
}

/* 2. RISKS SECTION */
.solution-risks-section {
    margin-bottom: 50px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 25px;
}

.risks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.risk-card {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: var(--eng-risk);
    border: 1px solid var(--eng-risk-border);
    border-radius: 12px;
    transition: transform 0.2s;
}

.risk-card:hover {
    transform: translateY(-3px);
}

.risk-icon {
    font-size: 24px;
}

.risk-name {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 5px;
    color: #9b2c2c;
}

.risk-text {
    font-size: 14px;
    color: #742a2a;
}

/* 3. WIDGET SECTION */
.solution-widget-section {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    border: 1px solid var(--eng-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.widget-header {
    text-align: center;
    margin-bottom: 30px;
}

.widget-badge {
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: inline-block;
}

.widget-header h2 {
    font-size: 24px;
    margin: 0;
}

/* 4. MAIN CONTENT */
.solution-main-content {
    margin-bottom: 60px;
}

.content-body {
    font-size: 16px;
    color: #4a5568;
}

.content-body h2,
.content-body h3 {
    color: #1a202c;
    margin-top: 40px;
}
/* Не перебивать цвет внутри встроенных виджетов калькуляторов */
.content-body .storm-calc-header h3,
.content-body .fire-calc-header h3,
.content-body .kns-calc-header h3 {
    color: inherit;
    margin-top: 0;
}

/* --- TABLES inside content-body --- */
.content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-size: 14px;
    line-height: 1.5;
    background: #fff;
    border: 1px solid var(--eng-border);
    border-radius: 8px;
    overflow: hidden;
}

.content-body thead th {
    background: var(--eng-primary);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 14px;
    text-align: left;
    border: none;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    white-space: nowrap;
}

.content-body thead th:last-child {
    border-right: none;
}

.content-body tbody td {
    padding: 10px 14px;
    border-bottom: 1px solid #edf2f7;
    border-right: 1px solid #edf2f7;
    color: #2d3748;
    vertical-align: top;
}

.content-body tbody td:last-child {
    border-right: none;
}

.content-body tbody tr:last-child td {
    border-bottom: none;
}

.content-body tbody tr:nth-child(even) {
    background: #f7fafc;
}

.content-body tbody tr:hover {
    background: #ebf4ff;
}

/* First column — row header style */
.content-body tbody td:first-child {
    font-weight: 600;
    color: #1a202c;
    background: #f8fafc;
    white-space: nowrap;
}

.content-body tbody tr:nth-child(even) td:first-child {
    background: #f0f4f8;
}

.content-body tbody tr:hover td:first-child {
    background: #dbeafe;
}

/* colspan cells (full-width notes) */
.content-body tbody td[colspan] {
    text-align: center;
    font-style: italic;
    color: #718096;
    background: #fffbeb;
    white-space: normal;
}

/* Bold row (totals, summaries) */
.content-body tbody tr:last-child td b,
.content-body tbody td b {
    color: #1a202c;
}

/* Responsive wrapper */
.content-body .expert-content,
.content-body .article-content {
    overflow-x: auto;
}

@media (max-width: 768px) {
    .content-body table {
        font-size: 13px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .content-body thead th,
    .content-body tbody td {
        padding: 8px 10px;
    }

    .content-body tbody td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 120px;
    }
}

/* 5. CTA BLOCK */
.solution-cta-block {
    background: linear-gradient(135deg, #1a2a6c, #2a48bc);
    color: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: 0 15px 35px rgba(26, 42, 108, 0.2);
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.cta-badge {
    background: rgba(255, 255, 255, 0.2);
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta-info h3 {
    font-size: 28px;
    margin: 0 0 10px 0;
    color: #fff;
}

.cta-info p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.cta-button {
    background: var(--eng-accent);
    color: #fff !important;
    padding: 18px 35px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    white-space: nowrap;
}

.cta-button:hover {
    background: #a93226;
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-arrow {
    font-size: 22px;
}

/* 6. PRODUCTS SLIDER */
.solution-linked-products {
    background: #fdfdfd;
    padding: 20px 0;
}

.products-slider-wrap {
    margin-top: 30px;
}

/* 7. RELATED CASES */
.solution-related-cases {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--eng-border);
}

.solution-related-cases .cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.case-card-mini {
    display: block;
    background: #fff;
    border: 1px solid var(--eng-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.case-card-mini:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px var(--eng-shadow);
    border-color: var(--eng-primary);
}

.case-card-mini .case-thumb {
    height: 150px;
    background-size: cover;
    background-position: center;
    background-color: #f7fafc;
}

.case-card-mini .case-info {
    padding: 15px;
}

.case-card-mini .case-title {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #1a202c;
    line-height: 1.4;
    margin-bottom: 8px;
}

.case-card-mini .case-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: #718096;
}

.cases-more {
    text-align: center;
}

.cases-more-link {
    display: inline-block;
    padding: 12px 28px;
    color: var(--eng-primary);
    border: 2px solid var(--eng-primary);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
}

.cases-more-link:hover {
    background: var(--eng-primary);
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .solution-hero {
        padding: 40px 20px;
    }

    .solution-hero h1 {
        font-size: 28px;
    }

    .solution-widget-section {
        padding: 25px 15px;
    }

    .cta-info h3 {
        font-size: 22px;
    }
}
/* End */


/* Start:/local/components/local/engineering.calc.storm/templates/.default/style.css?17729123844198*/
.storm-calc-container{max-width:1000px;margin:40px auto;font-family:'Ubuntu',sans-serif;color:#2c3e50}.storm-calc-card{background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(0,0,0,0.08);overflow:hidden;border:1px solid #eee}.storm-calc-header{background:linear-gradient(135deg,#0288d1 0,#01579b 100%);color:#fff;padding:30px;text-align:center}.storm-calc-card .storm-calc-header h3{margin:0 0 10px;font-size:24px;font-weight:700;color:#fff}.storm-calc-card .storm-calc-header p{margin:0;opacity:.9;font-size:14px;color:#fff}.storm-calc-wizard{padding:40px;position:relative}.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px}@media(max-width:768px){.calc-grid{grid-template-columns:1fr}}.input-label{display:block;font-weight:600;margin-bottom:15px;color:#01579b}.calc-select,.calc-input{width:100%;padding:12px 15px;border:2px solid #e0e0e0;border-radius:8px;font-size:15px;transition:all .3s ease;outline:0}.calc-select:focus,.calc-input:focus{border-color:#0288d1;box-shadow:0 0 0 4px rgba(2,136,209,0.1)}.surfaces-grid{display:grid;gap:12px}.surface-item{display:flex;align-items:center;justify-content:space-between;background:#f8f9fa;padding:10px 15px;border-radius:8px;border:1px solid #eceff1}.surface-info{display:flex;flex-direction:column}.surface-name{font-weight:500;font-size:14px}.surface-psi{font-size:12px;color:#78909c}.surface-input{width:80px;text-align:right;border:1px solid #cfd8dc;border-radius:4px;padding:5px 8px}.calc-footer{margin-top:40px;padding-top:30px;border-top:1px solid #eee;display:flex;align-items:center;justify-content:space-between}.total-area-info{font-size:18px;font-weight:600}.total-area-info span{color:#0288d1;font-size:22px}.calc-btn{padding:15px 30px;border-radius:50px;font-weight:700;font-size:16px;cursor:pointer;transition:all .3s cubic-bezier(0.4,0,0.2,1);border:0;display:inline-flex;align-items:center;justify-content:center}.calc-btn.primary{background:#76bc21;color:#fff;box-shadow:0 4px 15px rgba(118,188,33,0.3)}.calc-btn.primary:hover:not(:disabled){background:#87d326;transform:translateY(-2px);box-shadow:0 6px 20px rgba(118,188,33,0.4)}.calc-btn.secondary{background:#f5f5f5;color:#333}.calc-btn:disabled{opacity:.5;cursor:not-allowed;filter:grayscale(1)}.results-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:30px}.back-link{background:0;border:0;color:#0288d1;cursor:pointer;font-weight:500;font-size:14px}.results-grid{display:grid;grid-template-columns:2fr 1fr;gap:20px;margin-bottom:40px}.result-metric-card{padding:25px;border-radius:12px;text-align:center;border:1px solid #e3f2fd}.result-metric-card.main-flow{background:#e3f2fd;border:2px solid #0288d1}.metric-label{font-size:13px;text-transform:uppercase;letter-spacing:1px;color:#546e7a;margin-bottom:10px}.metric-value{font-size:42px;font-weight:800;color:#01579b;line-height:1}.metric-value.small{font-size:28px}.equipment-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;margin-top:20px}.equipment-card{background:#fff;border:1px solid #eee;border-radius:12px;padding:20px;transition:all .3s ease}.equipment-card:hover{box-shadow:0 8px 16px rgba(0,0,0,0.05);border-color:#0288d1}.equip-img{height:160px;display:flex;align-items:center;justify-content:center;margin-bottom:15px}.equip-img img{max-height:100%;max-width:100%;object-fit:contain}.equip-type{font-size:12px;color:#0288d1;font-weight:600;text-transform:uppercase;margin-bottom:5px}.equip-name{font-weight:700;line-height:1.3;margin-bottom:10px}.equip-name a{color:#333;text-decoration:none}.equip-perf{font-size:13px;color:#666}.equipment-card.not-found{background:#fff9f0;border:1px dashed #ffcc80;text-align:center}.calc-loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(255,255,255,0.9);z-index:10;display:flex;flex-direction:column;align-items:center;justify-content:center}.spinner{width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #0288d1;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:15px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.actions-row{margin-top:40px;display:grid;grid-template-columns:1fr 1fr;gap:20px}
/* End */
/* /local/templates/centr/components/bitrix/news.detail/solution_expert/style.css?17727387058900 */
/* /local/components/local/engineering.calc.storm/templates/.default/style.css?17729123844198 */
