/**
 * Heading Weight Fix
 *
 * Reduces the font-weight of section headings from 800 (Extra-Bold) to 600 (Semi-Bold)
 * for a more refined, less heavy appearance.
 *
 * @package Utleiekalk_FINN
 * @version 2.0.5
 */

/* =================================================================
   SECTION HEADINGS - Reduce from 800 to 600
   ================================================================= */

/**
 * Main section titles (Grunnlag, Lån, Inntekt, etc.)
 * Original: font-weight: 800 (Extra-Bold)
 * New: font-weight: 600 (Semi-Bold)
 */
html body .utleiekalk-finn-wrapper .uk-step-title,
html body .utleiekalk-finn-form .uk-step-title,
html body .flipping-form .uk-step-title,
html body .yield-calculator-wrapper .uk-step-title,
.uk-step .uk-step-title {
    font-weight: 600 !important;
}

/**
 * Subsection headings and labels that were too bold
 */
html body .utleiekalk-finn-wrapper .uk-field label,
html body .utleiekalk-finn-form .uk-field label,
html body .yield-calculator-wrapper .uk-field label {
    font-weight: 700 !important; /* Keep labels at 700 (Bold) - reduce from 800 */
}

/* Flipping calculator uses 600 for labels (Semi-Bold) instead of 700 */
html body .flipping-form .uk-field label,
html body .flipping-form label,
html body .flipping-form .scenario-field-row > label,
html body .flipping-form .egenkapital-label {
    font-weight: 600 !important;
}

/**
 * Segment switcher buttons (rental mode selector)
 * Original: font-weight: 800
 * New: font-weight: 700
 */
html body .utleiekalk-finn-wrapper .seg-btn,
html body .utleiekalk-finn-form .seg-btn,
html body .flipping-form .seg-btn {
    font-weight: 700 !important;
}

/**
 * Metric values in results section
 * Original: font-weight: 800
 * New: font-weight: 700
 */
html body .utleiekalk-finn-wrapper .metric-value,
html body .utleiekalk-finn-form .metric-value,
html body .flipping-form .metric-value {
    font-weight: 700 !important;
}

/**
 * Sticky widget header and values
 */
html body .sticky-widget .sticky-header,
html body #sticky-results .sticky-header {
    font-weight: 700 !important;
}

html body .sticky-widget .sticky-value,
html body #sticky-results .sticky-value {
    font-weight: 700 !important;
}

/**
 * Badge totals
 */
html body .utleiekalk-finn-wrapper .badge-total,
html body .flipping-form .badge-total {
    font-weight: 700 !important;
}

/**
 * Table headers in simulation
 */
html body .utleiekalk-finn-wrapper .simulation-table th,
html body .utleiekalk-finn-form .simulation-table th,
html body .flipping-form .simulation-table th {
    font-weight: 600 !important;
}

/**
 * Mobile TOC numbers
 */
@media (max-width: 900px) {
    html body .sticky-toc .toc-number {
        font-weight: 700 !important;
    }
}

/* =================================================================
   BUTTON WEIGHTS - Keep at 700 (Bold)
   ================================================================= */

/**
 * Buttons should remain bold for clear CTAs
 * No change needed - already at 700
 */

/* =================================================================
   END OF HEADING WEIGHT FIX
   ================================================================= */
