

/* Start:/local/templates/centr/components/bitrix/news.detail/solution_expert/style.css?17709810128631*/
/* ============================================================
   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;
}

/* --- 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 */
/* /local/templates/centr/components/bitrix/news.detail/solution_expert/style.css?17709810128631 */
