/* Online Reviews cards — scoped to avoid changing other pages */
.reviews-resources {
    padding-top: 42px;
    padding-bottom: 85px;
}

.reviews-resources .review-resource-card {
    --review-blue: #315cff;
    position: relative;
    display: flex;
    min-height: 355px;
    height: 100%;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid #d6defe;
    border-radius: 22px;
    background: radial-gradient(circle at 87% 12%, #b9d5ff 0, transparent 46%),
                linear-gradient(125deg, #ffffff 7%, #f6faff 54%, #e6f0ff 100%);
    box-shadow: 0 17px 40px rgba(34, 54, 113, .10);
    transition: transform .25s ease, box-shadow .25s ease;
}

.reviews-resources .review-resource-card::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -12%;
    right: -12%;
    bottom: -62px;
    height: 155px;
    border-radius: 50% 50% 0 0;
    background: linear-gradient(100deg, #e1ecffb0, #ffffffd9, #c9e2ffb0);
    transform: rotate(-4deg);
}

.reviews-resources .review-resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(34, 54, 113, .17);
}

.reviews-resources .review-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 66%;
    padding: 26px 12px 25px 28px;
}

.reviews-resources .review-card-top {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 23px;
}

.reviews-resources .review-card-top > i {
    font-size: 23px;
    color: #18245c;
}

.reviews-resources .review-tag {
    display: inline-block;
    padding: 8px 13px;
    border-radius: 30px;
    background: #eeedff;
    color: #28336e;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.reviews-resources .review-card-title {
    margin: 0 0 14px;
    color: #111747;
    font-size: clamp(19px, 1.7vw, 25px);
    font-weight: 800;
    line-height: 1.28;
    letter-spacing: -.035em;
}

.reviews-resources .review-card-description {
    margin: 0 0 25px;
    color: #58638f;
    font-size: 14px;
    line-height: 1.65;
}

.reviews-resources .review-resource-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding: 4px 4px 4px 14px;
    border: 1.5px solid #4468ff;
    border-radius: 30px;
    background: #ffffffd9;
    color: #315cff;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.reviews-resources .review-resource-link:hover {
    background: #eef2ff;
    color: #1c40dc;
}

.reviews-resources .review-link-arrow {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #6b46fa, #315cff);
    color: white;
    font-size: 17px;
}

/* CSS-only illustrations: no additional image files required */
.reviews-resources .review-card-visual {
    position: absolute;
    inset: 0 0 0 56%;
    z-index: 1;
    display: grid;
    place-items: center;
    pointer-events: none;
}

.reviews-resources .review-art-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 185px;
    height: 205px;
    border-radius: 24px;
    background: #ffffffeb;
    box-shadow: 0 22px 45px #5d79c344;
    transform: rotate(10deg) translate(5px, 4px);
}

.reviews-resources .review-art-logo {
    font-size: 55px;
    font-weight: 800;
    font-family: Arial, sans-serif;
    color: #4285f4;
    text-shadow: -3px 0 #34a853, 3px 0 #ea4335;
}

.reviews-resources .review-art-stars {
    color: #ffb72b;
    font-size: 22px;
    letter-spacing: -3px;
    white-space: nowrap;
}

.reviews-resources .review-art-line {
    display: block;
    width: 70%;
    height: 9px;
    border-radius: 10px;
    background: #dce6ff;
}

.reviews-resources .review-art-line.short {
    width: 48%;
}

.reviews-resources .review-art-face {
    color: #ff648c;
    font-size: 62px;
    line-height: 1;
}

.reviews-resources .review-float {
    position: absolute;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 17px;
    box-shadow: 0 12px 24px #657fc73d;
    font-size: 28px;
}

.reviews-resources .review-float-one {
    top: 17%;
    left: 0;
    background: #ffcf55;
    color: #fff;
    transform: rotate(-15deg);
}

.reviews-resources .review-float-two {
    bottom: 16%;
    left: -5%;
    background: #498dff;
    color: white;
    transform: rotate(13deg);
}

.reviews-resources .review-card-negative .review-float-one {
    background: #b2caff;
}

.reviews-resources .review-card-negative .review-float-two {
    background: #ff65aa;
}

@media (max-width: 1199px) {
    .reviews-resources .review-card-content { width: 70%; }
    .reviews-resources .review-card-visual { opacity: .72; }
}

@media (max-width: 767px) {
    .reviews-resources { padding-top: 28px; padding-bottom: 55px; }
    .reviews-resources .review-resource-card { min-height: 330px; }
    .reviews-resources .review-card-content { width: 77%; padding: 22px 12px 22px 20px; }
    .reviews-resources .review-card-title { font-size: 20px; }
    .reviews-resources .review-card-description { font-size: 13px; }
    .reviews-resources .review-card-visual { opacity: .32; inset: 0 0 0 45%; }
}
