/* SomGeek review scores, verdict, pros and cons */

.sg-review-score-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    min-width: 64px;
    min-height: 64px;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    padding: 8px 9px;
    background: linear-gradient(145deg, #f3bd22, #c88b00);
    color: #080a0d;
    border: 2px solid #ffd456;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
    font-family: "Bahnschrift Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    line-height: 1;
}

.sg-review-score-badge strong {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.045em;
}

.sg-review-score-badge small {
    margin-left: 2px;
    font-size: 0.78rem;
    font-weight: 900;
}

.sg-review-score-badge--article {
    position: static;
    min-width: 72px;
    min-height: 72px;
    flex: 0 0 auto;
}

.sg-review-score-badge--card {
    top: 9px;
    right: 9px;
    min-width: 52px;
    min-height: 52px;
    padding: 6px;
}

.sg-review-score-badge--card strong {
    font-size: 1.55rem;
}

.sg-article-header__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.sg-review-summary {
    position: relative;
    overflow: hidden;
    margin: 0 clamp(22px, 4.5vw, 64px) 34px;
    background:
        radial-gradient(circle at 92% 10%, rgba(226, 170, 22, 0.13), transparent 24rem),
        linear-gradient(145deg, #111820, #090d12 62%);
    border: 1px solid #38414b;
    border-top: 4px solid var(--sg-gold);
    box-shadow: 0 22px 55px rgba(0, 0, 0, 0.26);
}

.sg-review-summary::after {
    content: "SG";
    position: absolute;
    right: 18px;
    bottom: -44px;
    color: rgba(255, 255, 255, 0.022);
    font-family: "Bahnschrift Condensed", "Arial Narrow", Impact, sans-serif;
    font-size: 11rem;
    font-weight: 900;
    line-height: 1;
    pointer-events: none;
}

.sg-review-summary__header {
    position: relative;
    z-index: 1;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 28px;
    border-bottom: 1px solid var(--sg-border);
}

.sg-review-summary__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--sg-gold-bright);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.sg-review-summary__header h2 {
    margin: 0;
    color: #fff;
    font-family: "Bahnschrift Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 0.95;
    text-transform: uppercase;
}

.sg-review-summary__score {
    min-width: 112px;
    min-height: 92px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    padding: 12px 14px;
    background: var(--sg-gold);
    color: #080a0d;
    border: 2px solid var(--sg-gold-bright);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
    font-family: "Bahnschrift Condensed", "Arial Narrow", Impact, sans-serif;
    line-height: 1;
}

.sg-review-summary__score strong {
    font-size: clamp(3.2rem, 7vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.06em;
}

.sg-review-summary__score span {
    margin-left: 4px;
    font-size: 1.2rem;
    font-weight: 900;
}

.sg-review-summary__verdict {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0;
    padding: 26px 28px;
    color: #e2e6ea;
    font-size: 1.08rem;
    line-height: 1.68;
    border-bottom: 1px solid var(--sg-border);
}

.sg-review-summary__lists {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sg-review-points {
    min-width: 0;
    padding: 24px 28px 28px;
}

.sg-review-points + .sg-review-points {
    border-left: 1px solid var(--sg-border);
}

.sg-review-points h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    color: #fff;
    font-family: "Bahnschrift Condensed", "Arial Narrow", Impact, sans-serif;
    font-size: 1.35rem;
    font-weight: 900;
    text-transform: uppercase;
}

.sg-review-points h3 span {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-family: system-ui, sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
}

.sg-review-points--pros h3 span {
    background: #23844a;
    box-shadow: 0 0 0 4px rgba(35, 132, 74, 0.14);
}

.sg-review-points--cons h3 span {
    background: #b83d3d;
    box-shadow: 0 0 0 4px rgba(184, 61, 61, 0.14);
}

.sg-review-points ul {
    display: grid;
    gap: 11px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.sg-review-points li {
    position: relative;
    padding-left: 25px;
    color: #d8dde2;
    line-height: 1.45;
}

.sg-review-points li::before {
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 900;
}

.sg-review-points--pros li::before {
    content: "+";
    color: #51cf7b;
}

.sg-review-points--cons li::before {
    content: "−";
    color: #ff6b6b;
}

.sg-review-points p {
    margin: 0;
    color: var(--sg-muted);
}

.sg-story-card__media,
.sg-video-card__media,
.sg-mini-story__media,
.sg-related-card__image,
.sg-archive-card__media {
    position: relative;
}

@media (max-width: 680px) {
    .sg-review-score-badge--article {
        min-width: 58px;
        min-height: 58px;
    }

    .sg-review-score-badge--article strong {
        font-size: 1.65rem;
    }

    .sg-review-summary {
        margin-right: 18px;
        margin-left: 18px;
    }

    .sg-review-summary__header {
        min-height: 0;
        padding: 20px;
    }

    .sg-review-summary__score {
        min-width: 82px;
        min-height: 70px;
        padding: 8px 10px;
    }

    .sg-review-summary__score strong {
        font-size: 3.1rem;
    }

    .sg-review-summary__verdict,
    .sg-review-points {
        padding: 20px;
    }

    .sg-review-summary__lists {
        grid-template-columns: 1fr;
    }

    .sg-review-points + .sg-review-points {
        border-top: 1px solid var(--sg-border);
        border-left: 0;
    }
}

/* Responsive score badges across every card section */
.sg-media-card,
.sg-story-card__media,
.sg-video-card__media,
.sg-mini-story__media,
.sg-related-card__image,
.sg-archive-card__media {
    container-type: inline-size;
}

.sg-review-score-badge--card {
    box-sizing: border-box;
    top: clamp(4px, 2.8cqi, 9px);
    right: clamp(4px, 2.8cqi, 9px);
    width: clamp(30px, 18cqi, 50px);
    min-width: clamp(30px, 18cqi, 50px);
    height: clamp(30px, 18cqi, 50px);
    min-height: clamp(30px, 18cqi, 50px);
    padding: clamp(3px, 2cqi, 6px);
    border-width: clamp(1px, 0.7cqi, 2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.sg-review-score-badge--card strong {
    font-size: clamp(0.78rem, 7cqi, 1.42rem);
}

.sg-review-score-badge--card small {
    margin-left: 1px;
    font-size: clamp(0.4rem, 2.6cqi, 0.68rem);
}

/* Extra-small score in compact category thumbnails */
.sg-category-column .sg-mini-story:not(.sg-mini-story--featured) .sg-mini-story__media .sg-review-score-badge--card {
    top: 2px;
    right: 2px;
    width: 24px;
    min-width: 24px;
    height: 24px;
    min-height: 24px;
    padding: 2px;
    border-width: 1px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.sg-category-column .sg-mini-story:not(.sg-mini-story--featured) .sg-mini-story__media .sg-review-score-badge--card strong {
    font-size: 0.68rem;
    letter-spacing: -0.03em;
}

.sg-category-column .sg-mini-story:not(.sg-mini-story--featured) .sg-mini-story__media .sg-review-score-badge--card small {
    margin-left: 0;
    font-size: 0.32rem;
}
