/* =====================================================================
 * Active Sports Reviews Showcase
 * Self-contained styles. All selectors prefixed with .asr- to avoid
 * collisions with theme CSS.
 * ================================================================== */

.asr-showcase {
    --asr-accent: #0b5cff;
    --asr-text: #1a1d24;
    --asr-muted: #6b7280;
    --asr-bg: #ffffff;
    --asr-border: #e5e7eb;
    --asr-shadow: 0 1px 2px rgba(16,24,40,.04), 0 8px 24px rgba(16,24,40,.06);
    --asr-radius: 14px;

    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--asr-text);
    box-sizing: border-box;
    max-width: 1180px;
    margin: 0 auto;
    padding: 28px 16px;
}
.asr-showcase *,
.asr-showcase *::before,
.asr-showcase *::after { box-sizing: inherit; }

/* ---------- Trust banner ---------- */
.asr-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 18px;
    padding: 18px 22px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--asr-accent) 6%, white), white);
    border: 1px solid var(--asr-border);
    border-radius: var(--asr-radius);
    text-align: center;
}
.asr-trust__rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
}
.asr-trust__rating strong {
    font-size: 22px;
    letter-spacing: -.01em;
}
.asr-trust__meta {
    color: var(--asr-muted);
    font-size: 14px;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}
.asr-trust__sources {
    display: inline-flex;
    gap: 6px;
    margin-left: 4px;
}
.asr-pill {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 999px;
    color: #fff;
    letter-spacing: .01em;
}
.asr-pill--google   { background: #ea4335; }
.asr-pill--yelp     { background: #d32323; }
.asr-pill--facebook { background: #1877f2; }

/* ---------- Stars ---------- */
.asr-stars {
    display: inline-flex;
    gap: 2px;
    line-height: 0;
}
.asr-star {
    width: 18px;
    height: 18px;
    fill: #d1d5db;
}
.asr-star--on {
    fill: #f5b700;
}

/* ---------- Grid layouts ---------- */
.asr-grid {
    display: grid;
    gap: 18px;
}
.asr-grid--featured {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.asr-grid--wall {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
@media (max-width: 860px) {
    .asr-grid--featured { grid-template-columns: 1fr; }
}

/* ---------- Cards ---------- */
.asr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--asr-bg);
    border: 1px solid var(--asr-border);
    border-radius: var(--asr-radius);
    padding: 22px 20px 18px;
    box-shadow: var(--asr-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.asr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 1px 2px rgba(16,24,40,.04), 0 14px 36px rgba(16,24,40,.10);
}
.asr-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}
.asr-card__text {
    color: var(--asr-text);
    font-size: 15.5px;
    line-height: 1.55;
    margin: 0 0 14px;
    flex-grow: 1;
}
.asr-card__author {
    color: var(--asr-muted);
    font-size: 14px;
    font-weight: 600;
    border-top: 1px solid var(--asr-border);
    padding-top: 12px;
    margin-top: auto;
}

/* ---------- Source badge ---------- */
.asr-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--asr-source-color, #6b7280);
}
.asr-source-glyph {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--asr-source-color, #6b7280);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 13px;
}
.asr-source-name {
    text-transform: uppercase;
    letter-spacing: .04em;
    font-size: 11px;
}

/* ---------- See all ---------- */
.asr-see-all {
    text-align: center;
    margin-top: 22px;
}
.asr-see-all__link {
    display: inline-block;
    color: var(--asr-accent);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}
.asr-see-all__link:hover { opacity: .8; }

/* ---------- Empty state ---------- */
.asr-empty {
    padding: 24px;
    border: 1px dashed #cbd5e1;
    border-radius: var(--asr-radius);
    color: #6b7280;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
