/* Social Reviews — mobile-first gallery */
.sr-hero {
    background: linear-gradient(145deg, #0f3d2e 0%, #1a5c45 55%, #2d7a5a 100%);
    color: #fff;
    padding: 1.75rem 0 1.5rem;
    margin-bottom: 1.25rem;
}
.sr-hero-title {
    font-size: clamp(1.35rem, 4vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 .35rem;
    letter-spacing: -.02em;
}
.sr-hero-sub {
    opacity: .88;
    font-size: .95rem;
    max-width: 36rem;
}

.sr-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: .5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: .25rem 0 1rem;
    margin-bottom: .5rem;
    scrollbar-width: none;
    position: sticky;
    top: 0;
    z-index: 5;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(8px);
}
.sr-filters::-webkit-scrollbar { display: none; }

.sr-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .45rem .9rem;
    border-radius: 999px;
    border: 1px solid #d8e5de;
    background: #fff;
    color: #1a3d30;
    text-decoration: none;
    font-size: .86rem;
    font-weight: 600;
    min-height: 40px;
}
.sr-chip:hover { border-color: #1a5c45; color: #0f3d2e; }
.sr-chip.is-active {
    background: #1a5c45;
    border-color: #1a5c45;
    color: #fff;
}
.sr-chip--facebook.is-active { background: #1877f2; border-color: #1877f2; }
.sr-chip--messenger.is-active { background: #0084ff; border-color: #0084ff; }
.sr-chip--whatsapp.is-active { background: #25d366; border-color: #25d366; }

.sr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}
@media (min-width: 576px) {
    .sr-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
    .sr-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    .sr-grid--cols-2 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
    .sr-grid--cols-3 { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
}
.sr-grid--related { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) {
    .sr-grid--related { grid-template-columns: repeat(3, 1fr); }
}

.sr-card {
    background: #fff;
    border: 1px solid #e6eee9;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(15, 61, 46, .04);
}
.sr-card-media { position: relative; background: #f3f7f5; }
.sr-card-img-btn {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}
.sr-card-img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}
.sr-card-img--empty {
    aspect-ratio: 4 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9bb5a8;
    font-size: 2rem;
}
.sr-platform {
    position: absolute;
    left: .65rem;
    top: .65rem;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .28rem .55rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    color: #fff;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(4px);
}
.sr-platform--facebook { background: #1877f2; }
.sr-platform--messenger { background: #0084ff; }
.sr-platform--whatsapp { background: #25d366; }

.sr-card-body { padding: .9rem 1rem 1.05rem; display: flex; flex-direction: column; flex: 1; }
.sr-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 .2rem;
    line-height: 1.35;
}
.sr-card-title a { color: inherit; text-decoration: none; }
.sr-card-title a:hover { color: #1a5c45; }
.sr-card-name { margin: 0; font-size: .82rem; color: #5a7268; }
.sr-card-caption {
    margin: .55rem 0 0;
    font-size: .9rem;
    color: #334;
    line-height: 1.45;
    flex: 1;
}
.sr-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .85rem;
}
.sr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    min-height: 42px;
    padding: .45rem .9rem;
    border-radius: 10px;
    font-size: .86rem;
    font-weight: 700;
    text-decoration: none;
    border: 1px solid transparent;
}
.sr-btn-primary {
    background: #1a5c45;
    color: #fff;
}
.sr-btn-primary:hover { background: #0f3d2e; color: #fff; }
.sr-btn-ghost {
    background: #fff;
    border-color: #d5e3db;
    color: #1a3d30;
}
.sr-btn-ghost:hover { border-color: #1a5c45; color: #0f3d2e; }

.sr-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #6a8578;
}
.sr-empty i { font-size: 2.5rem; opacity: .45; display: block; margin-bottom: .75rem; }

/* Detail layouts — selectable per review in admin */
.sr-detail {
    display: grid;
    gap: 1.25rem;
    max-width: 960px;
    margin: 0 auto;
    align-items: start;
}
.sr-detail-media { position: relative; }
.sr-detail-img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #e6eee9;
    display: block;
    background: #f7faf8;
}
.sr-detail-body { text-align: left; min-width: 0; }
.sr-detail-title {
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 .45rem;
}
.sr-detail-meta { color: #5a7268; margin-bottom: .85rem; }
.sr-detail-caption { font-size: 1.05rem; line-height: 1.65; color: #223; margin-bottom: 1.25rem; }
.sr-detail .sr-card-actions { justify-content: flex-start; }
.sr-card-actions--stack {
    flex-direction: column;
    align-items: stretch;
}
.sr-card-actions--stack .sr-btn { width: 100%; justify-content: center; }
.sr-detail-aside {
    background: #f7faf8;
    border: 1px solid #e6eee9;
    border-radius: 12px;
    padding: 1rem;
}
.sr-detail-aside-note {
    margin-top: .85rem;
    font-size: .85rem;
    color: #5a7268;
}

/* 1 col — WP style */
.sr-detail--stacked {
    max-width: 720px;
}
.sr-detail--stacked .sr-detail-media {
    max-width: 520px;
    margin: 0 auto;
}
.sr-detail--stacked .sr-detail-img {
    max-height: 520px;
    object-fit: contain;
}

/* 2 col — image left */
@media (min-width: 768px) {
    .sr-detail--two_col {
        grid-template-columns: 1.05fr .95fr;
    }
    .sr-detail--two_col_rev {
        grid-template-columns: .95fr 1.05fr;
    }
    .sr-detail--two_col_rev .sr-detail-media { order: 2; }
    .sr-detail--two_col_rev .sr-detail-body { order: 1; }
    .sr-detail--three_col {
        grid-template-columns: 1.2fr 1fr .85fr;
        max-width: 1100px;
    }
}

.sr-detail--two_col .sr-detail-img,
.sr-detail--two_col_rev .sr-detail-img,
.sr-detail--three_col .sr-detail-img {
    max-height: 560px;
    object-fit: contain;
}

.sr-mini {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #e6eee9;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.sr-mini img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.sr-mini span {
    display: block;
    padding: .55rem .7rem;
    font-size: .85rem;
    font-weight: 600;
}

.sr-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.sr-lightbox[hidden] { display: none !important; }
.sr-lightbox img {
    max-width: min(960px, 100%);
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}
.sr-lightbox-close {
    position: absolute;
    top: .75rem;
    right: .9rem;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}
