@charset "UTF-8";

.three-boxes {
    display: grid;
    column-gap: 30px;
    grid-template-columns: repeat(3, 1fr);
}

.three-boxes .item {
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 24px 20px 24px 24px;
    box-shadow: 0px 0px 24px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s;
    margin-top: 25px;
    opacity: 1;
    z-index: 10;
}

.custom-background .three-boxes .item {
    background: #ffffff;
}

.three-boxes .item:hover {
    transform: translate(0, -5px);
}

.three-boxes .item.highlighted {
    margin-top: 0;
    padding-top: 49px;
}

.three-boxes .item.highlighted .rating {
    top: 43px;
}

.three-boxes .image {
    height: 40px;
}

.three-boxes .description {
    font-size: 16px;
    line-height: normal;
    padding-top: 16px;
    padding-bottom: 24px;
    color: #000000;
}

.three-boxes .label {
    top: 0;
    left: 0;
    position: absolute;
    padding: 8px 24px;
    font-weight: 600;
    font-size: 14px;
    line-height: 17px;
    font-family: inherit;
    background: #E1F4DA;
    border-radius: 15px 0;
}

.three-boxes .link {
    display: flex;
    justify-content: flex-end;
    margin-top: auto;
}

.three-boxes .link > div {
    font-family: inherit;
    text-decoration: none !important;
    display: flex;
    align-items: center;
    color: var(--accent-color-1);
    font-weight: 500;
    font-size: 18px;
    line-height: normal;
}

.three-boxes .link svg {
    margin-left: 10px;
    transform: translateX(0);
    transition: 0.3s;
}

.three-boxes .link svg path {
    fill: var(--accent-color-1);
}

.three-boxes .rating {
    right: 20px;
    top: 18px;
    font-size: 24px;
    line-height: normal;
    position: absolute;
    color: var(--accent-color-2);
    font-family: inherit;
    font-weight: 600;
    text-align: center;
    display: flex;
}

.three-boxes .rating div.text {
    padding-right: 8px;
    font-size: 14px;
    line-height: normal;
    color: #000000;
}

.three-boxes .reason {
    display: flex;
    justify-content: flex-end;
    margin-top: 0;
    min-height: 18px;
    font-size: 11px;
    line-height: normal;
}

.rtl .three-boxes .rating {
    top: auto;
    left: 25px;
    right: auto;
}

.rtl .three-boxes .label {
    right: 0;
    left: auto;
    border-radius: 0px 15px;
}

.rtl .three-boxes .rating div.text {
    padding-right: 0;
    padding-left: 8px;
}

.rtl .three-boxes .link svg {
    display: none;
}

@media screen and (min-width: 1350px) {
    .three-boxes {
        margin-left: -100px;
        margin-right: -100px;
    }
}

@media screen and (max-width: 1349px) {
    .three-boxes .rating {
        position: static;
        text-align: left;
    }
}

@media screen and (max-width: 1100px) {
    .three-boxes .rating {
        font-size: 20px;
    }

    .three-boxes .description {
        font-size: 14px;
    }

    .three-boxes .link > div {
        font-size: 16px;
    }
}

@media screen and (max-width: 768px) {
    .three-boxes {
        display: grid;
        grid-template-columns: none;
        row-gap: 14px;
    }

    .three-boxes .item {
        margin-top: 0;
        transform: none !important;
    }

    .three-boxes .rating {
        position: absolute;
    }
}

@media screen and (max-width: 500px) {
    .three-boxes .rating {
        position: static;
        text-align: left;
    }
}

.three-boxes .rating-explanation svg {
    margin-bottom: -4px;
    margin-left: 5px;
}

.three-boxes .rating-explanation svg path:nth-child(2) {
    fill: var(--accent-color-2);
}

.three-boxes .rating-explanation div[data-tippy-root] {
    padding: 7px 0;
}

.three-boxes .rating-explanation .tippy-content {
    background: var(--nv-site-bg);
    color: var(--nv-text-color);
    box-shadow: rgba(0, 0, 0, 0.3) 0 0 5px;
    font-weight: normal;
}

.three-boxes .rating-explanation .tippy-arrow {
    color: var(--nv-site-bg);
}

.three-boxes .rating-explanation .tippy-content div {
    padding: 15px;
}

.three-boxes .rating-explanation .tippy-content p {
    margin: 0;
}

.three-boxes .rating-explanation .tippy-content a {
    text-decoration: underline;
}
