/* ==========================================================================
   SpinFakta Single Post / Game Detail Styles
   Light theme matching homepage.css portal shell
   ========================================================================== */

/* --- Article Container --- */
.sf-article {
    padding-bottom: 32px;
    border-bottom: 1px solid #E0E0E0;
    margin-bottom: 32px;
}

/* --- Header --- */
.sf-article__header {
    padding: 8px 0 24px;
}
.sf-article__category {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #0F172A; /* BUG-07: was #FFF=2.15:1 on amber → #0F172A=8.3:1 */
    background: #F59E0B;
    padding: 4px 10px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: background .15s;
}
.sf-article__category:hover {
    background: #D97706;
    color: #0F172A; /* BUG-07: maintain dark text on hover (#0F172A on #D97706=6.1:1) */
}
.sf-article__provider {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: #FFF;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 12px;
}
.sf-article__title {
    font-size: 26px;
    font-weight: 800;
    color: #1A1A1A;
    line-height: 1.3;
    margin: 0 0 12px;
}
.sf-article__meta {
    font-size: 13px;
    color: #999;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* --- Game Stats Grid --- */
.sf-game-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    background: #FFF;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 28px;
    border: 1px solid #E8E8E8;
}
.sf-game-stats__item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sf-game-stats__item--wide {
    grid-column: 1 / -1;
}
.sf-game-stats__label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #999;
}
.sf-game-stats__value {
    font-size: 15px;
    font-weight: 700;
    color: #1A1A1A;
}
.sf-game-stats__value--rtp {
    color: #059669;
    font-size: 20px;
}

/* --- Article Content --- */
.sf-article__content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}
.sf-article__content h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 32px 0 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #E8E8E8;
}
.sf-article__content h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 24px 0 8px;
}
.sf-article__content p {
    margin: 0 0 16px;
}
.sf-article__content ul,
.sf-article__content ol {
    margin: 0 0 16px;
    padding-left: 24px;
    color: #444;
}
.sf-article__content li {
    margin-bottom: 6px;
}
.sf-article__content strong {
    color: #1A1A1A;
    font-weight: 600;
}
.sf-article__content em {
    color: #666;
}
.sf-article__content a {
    color: #1E40AF; /* BUG-05: was #F59E0B=2.15:1 on #FFFFFF → #1E40AF=8.0:1 */
    text-decoration: underline;
    text-underline-offset: 2px;
}
.sf-article__content a:hover {
    color: #1E3A8A; /* BUG-06: dark blue on hover = 9.2:1 */
}
.sf-article__content blockquote {
    border-left: 3px solid #F59E0B;
    margin: 20px 0;
    padding: 12px 16px;
    background: #FFFBEB;
    border-radius: 0 8px 8px 0;
    color: #666;
    font-style: italic;
}

/* --- Tags --- */
.sf-article__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}
.sf-article__tag {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    background: #F0F0F0;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    transition: background .15s, color .15s;
}
.sf-article__tag:hover {
    background: #E0E0E0;
    color: #1A1A1A;
}

/* --- Related Articles --- */
.sf-related {
    padding-bottom: 32px;
}
.sf-related__title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #F59E0B;
}
.sf-related__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.sf-related__card {
    display: flex;
    gap: 12px;
    background: #FFF;
    border: 1px solid #E8E8E8;
    border-radius: 10px;
    padding: 12px;
    text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
.sf-related__card:hover {
    border-color: #CCC;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.sf-related__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #EEE;
}
.sf-related__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.sf-related__ph {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #CCC;
}
.sf-related__body {
    min-width: 0;
}
.sf-related__name {
    font-size: 13px;
    font-weight: 600;
    color: #1A1A1A;
    margin: 0 0 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sf-related__date {
    font-size: 11px;
    color: #999;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .sf-article__title {
        font-size: 22px;
    }
    .sf-game-stats {
        grid-template-columns: 1fr;
    }
    .sf-related__grid {
        grid-template-columns: 1fr;
    }
}

/* --- RTP Truth Notice (game pages) --- */
.sf-rtp-notice {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 28px;
    font-size: 13px;
    line-height: 1.6;
    color: #666;
}
.sf-rtp-notice__icon { color: #92400E; flex-shrink: 0; margin-top: 2px; } /* BUG-19: was #D97706=3.07:1 → #92400E=6.4:1 on #FFFBEB */
.sf-rtp-notice__body strong { color: #1A1A1A; display: block; margin-bottom: 2px; }
.sf-rtp-notice__body a { color: #92400E; font-weight: 600; text-decoration: none; } /* BUG-06: was #D97706=3.07:1 → #92400E=6.4:1 */
.sf-rtp-notice__body a:hover { text-decoration: underline; color: #78350F; }
