/* ========================================
   YOOsite Zinsindikator – Frontend Styles
======================================== */

/* ===== TYPO ===== */

.uk-text-xlarge {
    font-size: 1.5rem;
    line-height: 1.3;
}

/* ===== WRAPPER ===== */

.yzi-example {
    width: 100%;
}

/* ===== HEADER ===== */

.yzi-example-header {
    padding: 0;
    margin-bottom: 20px;
    border-bottom: 0;
}

.yzi-example-header .uk-modal-title {
    margin: 0;
    text-align: center;
    font-weight: 700;
}

/* ===== GRID (WICHTIG!) ===== */

.yzi-example-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* ===== ITEMS ===== */

.yzi-example-item {
    padding: 16px 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.015);
    box-sizing: border-box;
}

.yzi-example-item:hover {
    transform: translateY(-2px);
    transition: 0.2s ease;
}

/* ===== LABEL ===== */

.yzi-example-label {
    margin-bottom: 6px;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #7d7d7d;
}

/* ===== VALUE ===== */

.yzi-example-value {
    font-size: 1.9rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Highlight Effektivzins */
.yzi-example-value-primary {
    font-size: 2.1rem;
}

/* ===== DIVIDER ===== */

.yzi-example-divider {
    margin-top: 22px;
    margin-bottom: 16px;
}

/* ===== FOOTER ===== */

.yzi-example-footer {
    gap: 10px 20px;
}

.yzi-example-meta {
    font-size: 0.65rem;
    line-height: 1.4;
}

.yzi-example-meta-value {
    font-weight: 700;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 639px) {

    .yzi-example-grid {
        grid-template-columns: 1fr;
    }

    .yzi-example-item {
        text-align: center;
        padding: 14px 12px;
    }

    .yzi-example-item:hover {
        transform: translateY(-2px);
        transition: 0.2s ease;
    }

    .yzi-example-value {
        font-size: 1.7rem;
    }

    .yzi-example-footer {
        justify-content: center;
        text-align: center;
    }

    .yzi-example-header .uk-modal-title {
        font-size: 2rem;
        line-height: 1.1;
    }
}
