/* Review page */
.review-section {
    background: linear-gradient(180deg, #fff 0%, #f6faff 100%);
    padding: 60px 20px 80px;
}

.review-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.review-header {
    margin-bottom: 40px;
}

.review-heading {
    font-size: 54px;
    font-weight: 900;
    color: #d7172a;
    line-height: 1.5;
    margin: 0 0 12px;
}

.review-lead {
    font-size: 24px;
    color: #484848;
    line-height: 1.5;
    margin: 0 0 12px;
}

.review-note {
    font-size: 20px;
    color: #484848;
    line-height: 1.5;
    margin: 10px 0 0;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 12px 0;
}

.review-tag {
    background: #2087c6;
    color: #fff;
    padding: 5px 20px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.8;
}

.review-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    /* center rows when they are not full */
    align-items: stretch;
}

.review-card {
    position: relative;
    background: #f5f9fd;
    border: 1px solid #d9e7f5;
    border-radius: 12px;
    padding: 32px 24px 24px 24px;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
    text-align: left;
    min-height: 260px;
    flex: 1 1 320px;
    max-width: 380px;
}

.review-card-icon {
    position: absolute;
    top: 17px;
    left: 26px;
    width: 56px;
    height: auto;
    opacity: 0.25;
    /* lighten the icon color without extra markup */
}

.review-card-text {
    font-size: 18px;
    color: #515151;
    line-height: 1.5;
    margin: 0 0 16px;
    max-height: 10.5em; /* clamp to 7 lines */
    overflow: hidden;
    height: 200px;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    line-clamp: 7;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.review-card-rating {
    display: flex;
    align-items: center;
    margin: auto;
    gap: 8px;
    font-weight: 700;
    color: #515151;
}

.review-stars {
    color: #f7c400;
    letter-spacing: 1px;
    font-size: 24px;
}

.review-score {
    color: #555;
    font-size: 24px;
}

.review-card-name {
    margin-top: 6px;
    font-size: 28px;
    font-weight: 700;
    color: #000;
    text-align: center;
}

.review-button {
    margin-top: 32px;
    text-align: center;
}

.review-button-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    background: #ff9010;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(255, 144, 16, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.review-button-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(255, 144, 16, 0.45);
    filter: brightness(1.02);
}

.review-button-link:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(255, 144, 16, 0.3);
}

.review-button-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
}

.review-button-icon-play {
    display: block;
    line-height: 1;
    font-size: 12px;
    color: #ff9010;
    margin-left: 2px;
    /* optical centering */
}

.sp-only-1 {
    display: none;
}

.sp-only-2 {
    display: none;
}



@media (max-width: 768px) {
    .sp-only-tag {
        display: none;
    }
    .review-section {
        padding: 40px 16px 60px;
    }

    .review-container {
        padding: 0;
    }

    .review-header {
        margin-bottom: 30px;
    }

    .review-heading {
        font-size: 32px;
        line-height: 1.5;
        margin: 0 0 10px;
    }

    .sp-only {
        display: none;
    }

    .sp-only-1 {
        display: block;
    }

    .sp-only-2 {
        display: block;
    }

    .review-lead {
        font-size: 16px;
        line-height: 1.6;
        margin: 0 0 10px;
    }

    .review-note {
        font-size: 14px;
        line-height: 1.6;
        margin: 8px 0 0;
    }

    .review-tags {
        gap: 8px;
        margin: 10px 0;
    }

    .review-tag {
        padding: 4px 16px;
        border-radius: 6px;
        font-size: 14px;
        line-height: 2.6;
    }

    .review-grid {
        gap: 16px;
    }

    .review-card {
        padding: 24px 16px 20px;
        min-height: auto;
        flex: 1 1 100%;
        max-width: 100%;
    }

    .review-card-icon {
        top: 14px;
        left: 18px;
        width: 40px;
    }

    .review-card-text {
        font-size: 16px;
        line-height: 1.5;
        margin: 0 0 12px;
        height: auto;
        max-height: none;
        -webkit-line-clamp: 6;
        line-clamp: 6;
    }

    .review-card-rating {
        gap: 6px;
        margin: auto;
    }

    .review-stars {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .review-score {
        font-size: 18px;
    }

    .review-card-name {
        margin-top: 4px;
        font-size: 20px;
    }

    .review-button {
        margin-top: 24px;
    }

    .review-button-link {
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 8px;
        gap: 8px;
    }

    .review-button-icon {
        width: 18px;
        height: 18px;
    }

    .review-button-icon-play {
        font-size: 10px;
    }
}