/* External review links on the homepage. */
.home-reviews-links {
    margin-top: 24px;
    text-align: center;
}

.home-reviews-rating {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
    box-sizing: border-box;
    max-width: 100%;
    padding: 18px 24px;
    border: 1px solid #dce6ee;
    border-radius: 10px;
    background: #fff;
    color: #2e2e2e;
    text-decoration: none;
}

.home-reviews-rating:hover {
    border-color: #0059a7;
    color: #2e2e2e;
    text-decoration: none;
}

.home-reviews-rating:focus-visible {
    outline: 3px solid #f5aa34;
    outline-offset: 3px;
}

.home-reviews-rating__source {
    color: #0059a7;
    font-size: 20px;
    font-weight: 700;
}

.home-reviews-rating__score {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

.home-reviews-rating__score > span {
    color: #626262;
    font-size: 16px;
    font-weight: 400;
}

.home-reviews-rating__details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 16px;
    line-height: 1.3;
}

.home-reviews-rating__stars {
    color: #b26800;
    font-size: 20px;
    letter-spacing: 2px;
}

.home-reviews-rating__date {
    margin: 10px 0 18px;
    color: #626262;
    font-size: 14px;
    line-height: 1.5;
}

.home-reviews-links__text {
    margin: 0 0 16px;
    color: #444;
    font-size: 16px;
    line-height: 1.6;
}

.home-reviews-links__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.home-reviews-links__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    min-height: 48px;
    padding: 12px 22px;
    border: 1px solid #0059a7;
    border-radius: 6px;
    background: #fff;
    color: #0059a7;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.home-reviews-links__button--external {
    background: #0059a7;
    color: #fff;
}

.home-reviews-links__button:hover {
    background: #edf5fc;
    color: #004681;
    text-decoration: none;
}

.home-reviews-links__button--external:hover {
    background: #004681;
    color: #fff;
}

.home-reviews-links__button:focus-visible {
    outline: 3px solid #f5aa34;
    outline-offset: 3px;
}

@media (max-width: 575px) {
    .home-reviews-links__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-reviews-links__button {
        width: 100%;
    }
}
