.maincontent {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    border: none;
}

.site_wrapper {
    padding-top: 44px;
}

.review-location-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    width: 100%;
    max-width: 1100px;
    margin: 50px auto 70px;
    padding: 0 20px;
    box-sizing: border-box;
}

.review-location-row *, .review-location-row *::before, .review-location-row *::after {
    box-sizing: border-box;
}

.review-location-box {
    display: flex;
}

.review-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 48px 28px 32px;
    background: #ffffff;
    border-radius: 4px;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--red, #c8102e);
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.review-card-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    margin-bottom: 18px;
    background: rgba(200, 16, 46, 0.1);
    border-radius: 50%;
    transition: background 0.25s ease;
}

.review-card-badge .material-symbols-outlined {
    font-size: 2rem;
    color: var(--red, #c8102e);
    transition: color 0.25s ease;
}

.review-card:hover .review-card-badge {
    background: var(--red, #c8102e);
}

.review-card:hover .review-card-badge .material-symbols-outlined {
    color: #ffffff;
}

.review-card-title {
    margin: 0 0 10px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a;
}

.review-card-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.review-card-stars .material-symbols-outlined {
    font-size: 1.4rem;
    color: #f5b301;
    font-variation-settings: 'FILL' 1;
}

.review-card-text {
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.55;
    color: #555555;
}

.review-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
    max-width: 260px;
    padding: 14px 20px;
    background: var(--red, #c8102e);
    color: #ffffff;
    border: 2px solid var(--red, #c8102e);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.review-card-btn .material-symbols-outlined {
    font-size: 1.2rem;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.review-card-btn:hover, .review-card-btn:focus-visible {
    background: #ffffff;
    color: var(--red, #c8102e);
    text-decoration: none;
}

.review-card-btn:hover .material-symbols-outlined {
    transform: translateX(4px);
    text-decoration: none;
}

@media (max-width: 900px) {
    .review-location-row {
        grid-template-columns: 1fr;
        gap: 22px;
        max-width: 520px;
        margin: 36px auto 50px;
    }
}

@media (max-width: 480px) {
    .review-location-row {
        padding: 0 16px;
    }

    .review-card {
        padding: 40px 20px 26px;
    }

    .review-card-title {
        font-size: 1.5rem;
    }

    .review-card-btn {
        max-width: none;
    }
}