.reviews-gallery-section {
    padding-top: 40px;
}

.reviews-grid .reviews-card-col {
    display: flex;
}

.reviews-card {
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    background: #101827;
    color: #ecf3ff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.reviews-card:hover {
    transform: translateY(-4px);
    border-color: rgba(87, 163, 255, 0.9);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.reviews-card-media {
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #0b1018;
}

.reviews-card-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.reviews-card-body {
    padding: 14px 14px 15px;
}

.reviews-card-body h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 16px;
}

.reviews-card-body p {
    margin: 0;
    color: rgba(220, 232, 248, 0.75);
    font-size: 13px;
    word-break: break-all;
}

.reviews-empty {
    margin: 20px auto 0;
    max-width: 720px;
    text-align: center;
    border: 1px dashed rgba(255, 255, 255, 0.22);
    background: rgba(16, 24, 38, 0.72);
    border-radius: 14px;
    color: rgba(228, 239, 255, 0.9);
    padding: 16px 18px;
}

.reviews-empty code {
    color: #98cbff;
}

.reviews-seo-content {
    padding-top: 36px;
}

.reviews-seo-text p {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(231, 240, 252, 0.92);
}

.reviews-seo-text p + p {
    margin-top: 16px;
}

.reviews-modal {
    position: fixed;
    inset: 0;
    z-index: 10070;
    display: none;
    align-items: center;
    justify-content: center;
}

.reviews-modal.is-open {
    display: flex;
}

.reviews-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 7, 14, 0.84);
    backdrop-filter: blur(2px);
}

.reviews-modal-dialog {
    position: relative;
    width: min(96vw, 980px);
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: #0c1321;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.56);
}

.reviews-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.56);
    color: #fff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.reviews-modal-body {
    padding: 14px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.reviews-modal-image {
    max-width: 100%;
    max-height: calc(92vh - 182px);
    border-radius: 10px;
}

.reviews-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(7, 10, 18, 0.78);
}

.reviews-modal-title {
    color: #eef5ff;
    font-size: 15px;
}

.reviews-modal-open {
    overflow: hidden;
}

@media (max-width: 991px) {
    .reviews-gallery-section {
        padding-top: 10px;
    }
}

@media (max-width: 767px) {
    .reviews-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .reviews-modal-title {
        text-align: center;
    }
}
