.w4y-cgr-section {
    position: relative;
}

.w4y-cgr-wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.w4y-cgr-width-normal .w4y-cgr-wrap { max-width: 1180px; }
.w4y-cgr-width-wide .w4y-cgr-wrap { max-width: 1520px; }
.w4y-cgr-width-full .w4y-cgr-wrap { max-width: 100%; }

.w4y-cgr-header {
    text-align: center;
    margin-bottom: 38px;
}

.w4y-cgr-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: #f4ece8;
    color: #bc887e;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.w4y-cgr-title {
    margin: 18px 0 10px;
}

.w4y-cgr-subtitle {
    max-width: 760px;
    margin: 0 auto;
}

.w4y-cgr-summary { margin: 0 0 38px; }

.w4y-cgr-summary-card {
    display: grid;
    grid-template-columns: 130px 1fr auto;
    align-items: center;
    gap: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #fbf7f4 100%);
    border: 1px solid #eee4dc;
    border-radius: 28px;
    padding: 34px 40px;
    box-shadow: 0 18px 48px rgba(88, 56, 43, .07);
}

.w4y-cgr-summary-rating {
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
    font-size: 78px;
    line-height: .95;
    color: #1f1f1f;
}

.w4y-cgr-stars,
.w4y-cgr-rating {
    color: #d4a853;
    letter-spacing: 2px;
    line-height: 1;
}

.w4y-cgr-stars { font-size: 18px; margin-bottom: 6px; }
.w4y-cgr-rating { font-size: 15px; white-space: nowrap; flex-shrink: 0; }

.w4y-cgr-count,
.w4y-cgr-place,
.w4y-cgr-date,
.w4y-cgr-source {
    color: #6d6a67;
    font-size: 14px;
}

.w4y-cgr-count { font-weight: 600; }
.w4y-cgr-place { margin-top: 6px; }

.w4y-cgr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #bb847a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: .02em;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    box-shadow: 0 10px 24px rgba(187,132,122,.22);
}

.w4y-cgr-button:hover,
.w4y-cgr-button:focus {
    background: #a9746c;
    color: #fff;
    transform: translateY(-1px);
}

.w4y-cgr-button-secondary {
    background: #f3ece7;
    color: #7c5b54;
    box-shadow: none;
    border: 1px solid #eadccf;
}

.w4y-cgr-button-secondary:hover,
.w4y-cgr-button-secondary:focus {
    background: #eadccf;
    color: #6f4f48;
}

.w4y-cgr-slider-shell {
    position: relative;
    padding-bottom: 22px;
}

.w4y-cgr-slider {
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 4px 20px;
    scroll-snap-type: x mandatory;
}

.w4y-cgr-slider::-webkit-scrollbar { display: none; }

.w4y-cgr-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(360px, 31%);
    gap: 28px;
}

.w4y-cgr-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.97);
    color: #7f625b;
    box-shadow: 0 14px 30px rgba(88,56,43,.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.w4y-cgr-nav:hover,
.w4y-cgr-nav:focus {
    background: #bb847a;
    color: #fff;
    transform: translateY(-50%) scale(1.03);
}

.w4y-cgr-prev { left: -12px; }
.w4y-cgr-next { right: -12px; }
.w4y-cgr-nav span { font-size: 30px; line-height: 1; }

.w4y-cgr-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.w4y-cgr-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: #e3d5ca;
    padding: 0;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, width .2s ease;
}

.w4y-cgr-dot.is-active {
    width: 28px;
    background: #bb847a;
}

.w4y-cgr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.w4y-cgr-card {
    background: linear-gradient(180deg, #fff 0%, #fdfbf9 100%);
    border: 1px solid #f0e8e2;
    border-radius: 28px;
    padding: 32px;
    box-shadow: 0 12px 30px rgba(88,56,43,.05);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    scroll-snap-align: start;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.w4y-cgr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(88,56,43,.08);
    border-color: #ead7cb;
}

.w4y-cgr-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 22px;
}

.w4y-cgr-author-wrap {
    display: flex;
    gap: 14px;
    align-items: center;
}

.w4y-cgr-avatar {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    flex: 0 0 58px;
}

.w4y-cgr-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #efe6de;
    color: #8f6e67;
    font-weight: 600;
}

.w4y-cgr-author {
    color: #382f2d;
    text-decoration: none;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.05;
    font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
}

.w4y-cgr-author:hover,
.w4y-cgr-author:focus { color: #bb847a; }

.w4y-cgr-text {
    color: #4f4a47;
    font-size: 16px;
    line-height: 1.9;
    flex: 1 1 auto;
}

.w4y-cgr-text p { margin: 0 0 14px; }
.w4y-cgr-text p:last-child { margin-bottom: 0; }
.w4y-cgr-text-full { display: none; }
.w4y-cgr-text.is-expanded .w4y-cgr-text-full { display: block; }
.w4y-cgr-text.is-expanded .w4y-cgr-text-short { display: none; }

.w4y-cgr-more {
    margin-top: 14px;
    background: transparent;
    border: 0;
    padding: 0;
    color: #bb847a;
    font-weight: 600;
    cursor: pointer;
    letter-spacing: .01em;
}

.w4y-cgr-source {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid #f1e9e4;
}

.w4y-cgr-footer {
    margin-top: 28px;
    text-align: center;
}

.w4y-cgr-error {
    padding: 14px 18px;
    border: 1px solid #f1c8c8;
    background: #fff5f5;
    color: #8f2d2d;
    border-radius: 14px;
}

@media (max-width: 1200px) {
    .w4y-cgr-track { grid-auto-columns: minmax(340px, 46%); }
    .w4y-cgr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .w4y-cgr-wrap { padding: 0 18px; }
    .w4y-cgr-summary-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 18px;
        padding: 28px 22px;
    }
    .w4y-cgr-summary-rating { font-size: 66px; }
    .w4y-cgr-track { grid-auto-columns: minmax(290px, 88%); gap: 18px; }
    .w4y-cgr-grid { grid-template-columns: 1fr; gap: 20px; }
    .w4y-cgr-nav { display: none; }
    .w4y-cgr-card { padding: 24px; border-radius: 24px; }
}
