/* ─────────────────────────────────────────────────────────────────
   BetPilot — Recommended Betting Sites  (single blog post)
   ───────────────────────────────────────────────────────────────── */

/* ── Section wrapper ─────────────────────────────────────────────── */

.bp-recommended {
    margin-top: 52px;
    background: linear-gradient(160deg, #0b1d2e 0%, #071a12 100%);
    border: 1px solid rgba(34,197,94,0.18);
    border-radius: 16px;
    overflow: hidden;
    font-family: inherit;
    box-shadow: 0 8px 40px rgba(0,0,0,0.45);
}

/* ── Header ─────────────────────────────────────────────────────── */

.bp-recommended__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    padding: 22px 24px 18px;
    border-bottom: 1px solid rgba(34,197,94,0.12);
    background: linear-gradient(90deg, rgba(34,197,94,0.08) 0%, transparent 60%);
}

.bp-recommended__header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bp-recommended__badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(245,158,11,0.15);
    color: #f59e0b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(245,158,11,0.3);
    white-space: nowrap;
}

.bp-recommended__heading {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    line-height: 1.2;
}

.bp-recommended__subtext {
    font-size: 12px;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
}

/* ── Grid ────────────────────────────────────────────────────────── */

.bp-recommended__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.bp-recommended__grid > .bp-rec-card:not(:last-child) {
    border-right: 1px solid rgba(255,255,255,0.05);
}

@media (max-width: 900px) {
    .bp-recommended__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bp-recommended__grid > .bp-rec-card:nth-child(2) {
        border-right: none;
    }
    .bp-recommended__grid > .bp-rec-card:nth-child(1),
    .bp-recommended__grid > .bp-rec-card:nth-child(2) {
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

@media (max-width: 520px) {
    .bp-recommended__grid {
        grid-template-columns: 1fr;
    }
    .bp-recommended__grid > .bp-rec-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}

/* ── Card ────────────────────────────────────────────────────────── */

.bp-rec-card {
    position: relative;
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 11px;
    transition: background 0.25s;
}

.bp-rec-card:hover {
    background: rgba(34,197,94,0.04);
}

/* Top accent bar */
.bp-rec-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(34,197,94,0.4), transparent);
    opacity: 0;
    transition: opacity 0.25s;
}

.bp-rec-card:hover .bp-rec-card__accent {
    opacity: 1;
}

.bp-rec-card--top .bp-rec-card__accent {
    background: linear-gradient(90deg, transparent, #22c55e, transparent);
    opacity: 1;
}

/* Rank badge */
.bp-rec-card__rank {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #475569;
    line-height: 1;
}

.bp-rec-card--top .bp-rec-card__rank {
    color: #22c55e;
}

/* Top Pick badge */
.bp-rec-card__top-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f59e0b;
    background: rgba(245,158,11,0.12);
    border: 1px solid rgba(245,158,11,0.25);
    padding: 3px 7px;
    border-radius: 20px;
}

/* ── Logo ────────────────────────────────────────────────────────── */

.bp-rec-card__logo-wrap {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.bp-rec-card__logo-wrap img {
    max-width: 110px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.bp-rec-card__logo-text {
    font-size: 14px;
    font-weight: 800;
    color: #1e293b;
}

/* ── Name ────────────────────────────────────────────────────────── */

.bp-rec-card__name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.bp-rec-card__name a {
    color: #e2e8f0;
    text-decoration: none;
    transition: color 0.15s;
}

.bp-rec-card__name a:hover {
    color: #22c55e;
}

/* ── Rating row ──────────────────────────────────────────────────── */

.bp-rec-card__rating-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}

/* Score pill */
.bp-rec-card__score-pill {
    display: inline-flex;
    align-items: baseline;
    gap: 3px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1;
    padding: 5px 12px;
    border-radius: 20px;
}

.bp-rec-card__score-pill span {
    font-size: 12px;
    font-weight: 600;
    opacity: 0.7;
}

.bp-rec-card__rating--excellent {
    color: #22c55e;
    background: rgba(34,197,94,0.12);
}

.bp-rec-card__rating--good {
    color: #86efac;
    background: rgba(134,239,172,0.1);
}

.bp-rec-card__rating--medium {
    color: #f59e0b;
    background: rgba(245,158,11,0.12);
}

.bp-rec-card__rating--low {
    color: #f87171;
    background: rgba(248,113,113,0.1);
}

/* Stars */
.bp-rec-card__stars {
    line-height: 1;
}

.bp-rec-stars {
    display: inline-flex;
    gap: 2px;
}

.bp-rec-star {
    font-size: 13px;
}

.bp-rec-star--full,
.bp-rec-star--half { color: #f59e0b; }
.bp-rec-star--empty { color: #1e293b; }

/* ── Bonus ───────────────────────────────────────────────────────── */

.bp-rec-card__bonus {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    background: rgba(34,197,94,0.07);
    border: 1px solid rgba(34,197,94,0.15);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
    text-align: left;
    width: 100%;
    flex-grow: 1;
    box-sizing: border-box;
}

.bp-rec-card__bonus svg {
    color: #22c55e;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── CTA button ──────────────────────────────────────────────────── */

.bp-rec-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(135deg, #16a34a, #15803d);
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 11px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
    box-shadow: 0 2px 12px rgba(22,163,74,0.3);
    white-space: nowrap;
}

.bp-rec-card__cta:hover {
    background: linear-gradient(135deg, #15803d, #166534);
    box-shadow: 0 4px 20px rgba(22,163,74,0.45);
    transform: translateY(-1px);
    color: #ffffff;
}

.bp-rec-card--top .bp-rec-card__cta {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 2px 14px rgba(245,158,11,0.35);
    color: #000;
}

.bp-rec-card--top .bp-rec-card__cta:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 4px 20px rgba(245,158,11,0.5);
    color: #000;
}

/* ── Review link ─────────────────────────────────────────────────── */

.bp-rec-card__review-link {
    font-size: 11px;
    color: #475569;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.15s;
    padding-bottom: 1px;
    border-bottom: 1px solid transparent;
}

.bp-rec-card__review-link:hover {
    color: #94a3b8;
    border-bottom-color: #475569;
}

/* ── Footer disclaimer ───────────────────────────────────────────── */

.bp-recommended__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 24px;
    font-size: 11px;
    color: #334155;
    border-top: 1px solid rgba(255,255,255,0.04);
    background: rgba(0,0,0,0.2);
}

.bp-recommended__footer svg {
    flex-shrink: 0;
    color: #475569;
}

.bp-recommended__footer a {
    color: #475569;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bp-recommended__footer a:hover {
    color: #64748b;
}
