/* =========================================
   Inflation Comparison
   ========================================= */

.inflation-comparison {
    margin: 40px 0;
}

.inflation-comparison-header {
    text-align: center;
    margin-bottom: 24px;
}

.inflation-comparison-header h2 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
}

.inflation-comparison-header p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.inflation-comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.inflation-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.inflation-card h3 {
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.inflation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 13px 0;
    border-bottom: 1px solid #eeeeee;
}

.inflation-row:last-child {
    border-bottom: 0;
}

.inflation-row span {
    color: #666;
    font-size: 14px;
}

.inflation-row strong {
    color: #222;
    font-size: 15px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* Inflation-adjusted total price */

.inflation-adjusted {
    margin-top: 10px;
    padding: 16px;
    border: 0;
    border-radius: 10px;
    background: #f5f7fa;
}

.inflation-adjusted span {
    color: #444;
    font-weight: 600;
}

.inflation-adjusted strong {
    font-size: 20px;
    font-weight: 700;
}

/* Inflation-adjusted price per m² */

.inflation-adjusted-m2 {
    padding: 14px 16px;
    border: 0;
    border-radius: 8px;
    background: #fafafa;
}

.inflation-adjusted-m2 span {
    color: #666;
}

.inflation-adjusted-m2 strong {
    font-size: 17px;
    font-weight: 700;
}

/* No data */

.inflation-no-data {
    padding: 16px 0;
    color: #888;
    font-size: 14px;
}

/* Mobile */

@media (max-width: 768px) {

    .inflation-comparison {
        margin: 30px 0;
    }

    .inflation-comparison-header h2 {
        font-size: 21px;
    }

    .inflation-comparison-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .inflation-card {
        padding: 20px;
    }

    .inflation-row {
        gap: 12px;
    }

    .inflation-row strong {
        font-size: 14px;
    }

    .inflation-adjusted strong {
        font-size: 18px;
    }

    .inflation-adjusted-m2 strong {
        font-size: 16px;
    }
}