.er {
    background: #FFFFFF0D;
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
    padding: 16px;
}

.er .er-heading {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
    color: #E4EAF7;
    margin-bottom: 16px;
    padding: 0;
}

.er .er-description {
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    color: #ABB6CC;
    margin-bottom: 16px;
}

.er .er-summary {
    background: #1e2635;
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 16px;
    overflow: hidden;
}

.er .er-summary-heading {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    color: #E4EAF7;
    position: relative;
    padding: 16px;
}

.er .er-summary-heading::after {
    content: '';
    border-bottom: 1px solid rgba(0, 128, 255, 0.2);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.er .er-summary-body {
    padding: 16px;
    background-image: url('../images/er-background-sm.png');
    background-repeat: no-repeat;
    background-position: right -3px center;
    background-size: cover;
    position: relative;
}

.er .er-summary-label,
.er .er-summary-value {
    font-family: Inter, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 140%;
}

.er .er-summary-label {
    color: #ABB6CC;
}

.er .er-summary-value {
    color: #E4EAF7;
    font-weight: 700;
    padding-left: 8px;
}

.er .er-summary-string {
    position: relative;
    z-index: 1;
}

.er .er-summary-string:not(:last-child) {
    margin-bottom: 16px;
}

.er .er-overall {
    background: linear-gradient(180deg, rgba(250, 153, 7, 0.15) 0%, rgba(250, 153, 7, 0) 100%);
    border: 1px solid rgba(0, 128, 255, 0.2);
    border-radius: 16px;
    margin-bottom: 16px;
}

.er .er-overall-header {
    position: relative;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.er .er-overall-header::after {
    content: '';
    border-bottom: 1px solid rgba(0, 128, 255, 0.2);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}

.er .er-overall-heading {
    font-family: Inter, sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 150%;
    color: #E4EAF7;
    padding: 0;
}

.er .er-overall-stars {
    display: flex;
    gap: 1px;
    padding-bottom: 3px;
    margin-left: auto;
}

.er .er-overall-stars .er-star {
    width: 20px;
    height: 22px;
    clip-path: polygon(50% 10%, 63% 38%, 95% 38%, 70% 58%, 78% 88%, 50% 70%, 22% 88%, 30% 58%, 5% 38%, 37% 38%);
    background-color: #7a6014;
    position: relative;
}

.er .er-overall-stars .er-star.er-full {
    background-color: #FFBF00;
}

.er .er-overall-stars .er-star.er-half {
    background: linear-gradient(to right, #FFBF00 50%, #7a6014 50%);
}

.er .er-overall-total {
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    color: #FFBF00;
    padding: 0;
}

.er .er-overall-label,
.er .er-overall-value {
    font-family: Inter, sans-serif;
    font-weight: 500;
    line-height: 140%;
    padding: 0;
}

.er .er-overall-label {
    font-size: 13px;
    color: #E4EAF7;
}

.er .er-overall-value {
    font-size: 16px;
    color: #FFBF00;
    margin-left: 4px;
}

.er .er-overall-string {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 12px 16px;
}

@media (min-width: 575px) {
    .er .er-summary-body {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 16px;
    }

    .er .er-summary-string {
        flex: 0 0 45%;
        display: flex;
        flex-direction: column;
    }

    .er .er-summary-string:not(:last-child) {
        margin-bottom: 0;
    }

    .er .er-summary-label {
        margin-bottom: 8px;
    }

    .er .er-summary-value {
        padding-left: 0;
    }
}

@media (min-width: 768px) {
    .er .er-heading {
        font-size: 28px;
    }

    .er .er-overall-heading {
        font-size: 24px;
    }

    .er .er-summary-heading {
        font-size: 24px;
    }

    .er .er-overall-label {
        font-size: 16px;
    }

    .er .er-overall-string {
        padding: 8px 16px;
    }

    .er .er-summary-string {
        flex: 0 0 30%;
    }
}

@media (min-width: 992px) {
    .er {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0 16px;
    }

    .er .er-heading,
    .er .er-description {
        width: 100%;
    }

    .er .er-overall {
        margin-bottom: 0;
    }

    .er .er-overall,
    .er .er-summary {
        flex: 0 0 48.5%;
        order: 2;
    }

    .er .er-summary {
        display: flex;
        flex-direction: column;
    }

    .er .er-summary-body {
        background-image: url('../images/er-background-lg.png');
        flex: 1;
        position: relative;
    }

    .er .er-summary-body::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background-color: rgba(0, 0, 0, 0.65);
    }
}
