.ej-home-content {
    padding-top: 0.5rem;
}

.ej-home-content .row {
    margin-bottom: 0.15rem;
}

.ej-home-content .card {
    margin-bottom: 0.65rem;
}

.ej-home-content .card-header {
    min-height: 38px;
    padding: 0.55rem 0.85rem;
}

.ej-home-content .card-header strong {
    font-size: 13px;
}

.ej-home-content .card-body {
    padding: 0.65rem 0.85rem;
}

.ej-home-draw-row > [class*="col-"],
.ej-home-kpi-row > [class*="col-"],
.ej-home-chart-row > [class*="col-"],
.ej-home-summary-row > [class*="col-"] {
    display: flex;
}

.ej-home-draw-row .card,
.ej-home-kpi-row .card,
.ej-home-chart-row .card,
.ej-home-summary-row .card {
    width: 100%;
}

.ej-home-draw-row .card {
    min-height: 112px;
}

.ej-home-content .ej-ball.small {
    width: 36px;
    height: 36px;
    margin: 3px;
    font-size: 16px;
}

.ej-home-content .ej-draw-info {
    margin-bottom: 4px;
    font-size: 13px;
}

.ej-home-next .card-body h3,
.ej-home-next .card-body p {
    color: #ffffff;
}

.ej-home-next .card-body h3 {
    font-size: 20px;
}

.ej-home-next .card-body .ej-next-note {
    font-size: 11px;
    opacity: 0.8;
}

.ej-home-content .ej-kpi {
    min-height: 82px;
}

.ej-home-content .ej-kpi .card-body {
    padding: 0.65rem 0.85rem;
}

.ej-home-content .ej-kpi .kpi-value {
    font-size: 24px;
}

.ej-home-content .ej-kpi .kpi-label {
    font-size: 11px;
    line-height: 1.25;
}

.ej-home-content .ej-kpi .kpi-note {
    min-height: 0;
    margin-top: 2px;
    font-size: 10px;
    line-height: 1.2;
}

.ej-home-chart-card .card-body {
    padding: 0.35rem 0.65rem 0.55rem;
}

.ej-home-chart-wrap {
    position: relative;
    height: clamp(125px, 17vh, 175px);
}

.ej-home-chart-wrap canvas {
    max-width: 100%;
}

.ej-home-content .ej-suggestion-note {
    margin: 0.4rem 0;
    font-size: 11px;
    line-height: 1.35;
}

.ej-home-suggestion .ej-balls {
    min-height: 28px;
}

.ej-home-content .ej-links-row .ej-link-item {
    padding: 0.35rem 0.5rem;
    margin-bottom: 0.3rem;
    font-size: 11px;
    line-height: 1.25;
}

.ej-home-content .ej-links-row .ej-link-item i {
    margin-right: 0.35rem;
}

.ej-home-content #dataFirstDraw,
.ej-home-content #dataLastDraw,
.ej-home-content #dataFreqEuros {
    font-size: 12px;
}

.ej-home-more {
    border-top: 1px solid var(--ej-border);
    padding-top: 0.5rem;
}

.ej-home-more > button {
    font-weight: 600;
}

.ej-home-more .ej-intro {
    font-size: 13px;
    line-height: 1.6;
}

.ej-home-more .ej-faq p {
    margin-bottom: 0.65rem;
    font-size: 12px;
    line-height: 1.45;
}

@media (max-width: 1199.98px) {
    .ej-home-chart-wrap {
        height: 145px;
    }
}

@media (max-width: 767.98px) {
    .ej-home-content .card-header {
        min-height: 0;
    }

    .ej-home-draw-row .card {
        min-height: 0;
    }

    .ej-home-kpi-row .ej-kpi {
        min-height: 78px;
    }

    .ej-home-chart-wrap {
        height: 190px;
    }
}
