/* =====================================================
   Banker / Tipster Premium Category + Single Post CSS
===================================================== */

/* =====================================================
   Premium Banker Category Hero
   Used on /todays-bet-tip and /soccer-tipster-predictions
===================================================== */

.sp-banker-post-shell {
    display: grid;
    gap: 18px;
}

.sp-banker-hero-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    border-radius: 20px;
    background: #050a12;
    border: 1px solid rgba(245, 166, 35, 0.48);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.35);
}

.sp-banker-hero-bg {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    background: #050a12;
}

.sp-banker-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: right center;
    display: block;
    transform: none;
}

.sp-banker-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(5, 10, 18, 0.98) 0%, rgba(5, 10, 18, 0.88) 28%, rgba(5, 10, 18, 0.40) 58%, rgba(5, 10, 18, 0.06) 100%),
        linear-gradient(180deg, rgba(5, 10, 18, 0.04) 0%, rgba(5, 10, 18, 0.70) 100%);
}

.sp-banker-hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    padding: 28px;
}

.sp-banker-label {
    display: inline-flex;
    align-items: center;
    padding: 7px 11px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #f5a623;
    color: #07111f;
    font-size: 11px;
    font-weight: 1000;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sp-banker-date {
    margin-bottom: 8px;
    color: #b8c7df;
    font-size: 12px;
    font-weight: 850;
}

.sp-banker-hero-content h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 33px;
    line-height: 1.08;
    font-weight: 1000;
    letter-spacing: -0.04em;
}

.sp-banker-meta {
    margin-bottom: 13px;
    color: #f5a623;
    font-size: 13px;
    font-weight: 900;
}

.sp-banker-hero-content p {
    margin: 0 0 16px;
    color: #dce6f7;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 750;
}

.sp-banker-read-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.48);
    color: #f5a623;
    text-decoration: none;
    font-size: 12px;
    font-weight: 1000;
}

.sp-banker-read-btn:hover {
    background: #f5a623;
    color: #07111f;
}

.sp-banker-tip-area {
    padding: 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #111827 0%, #07111f 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-banker-tip-area .sp-tip-blocks-wrap {
    margin-top: 0;
}

/* =====================================================
   Single Post Page
===================================================== */

.sp-post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 18px;
    align-items: start;
}

.sp-post-main {
    min-width: 0;
}

.sp-post-hero {
    background: linear-gradient(135deg, #111a2b 0%, #081224 100%);
    border: 1px solid rgba(245, 166, 35, 0.45);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.sp-post-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    color: #9fb0cc;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.sp-post-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
}

.sp-post-breadcrumb a:hover {
    color: #ffad1f;
}

.sp-post-breadcrumb span {
    color: #7e8ca5;
}

.sp-post-hero h1 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 1000;
    letter-spacing: -0.5px;
}

.sp-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #b8c4d6;
    font-size: 13px;
    font-weight: 800;
}

.sp-post-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 7px 10px;
    border-radius: 999px;
}

.sp-post-card {
    background: linear-gradient(180deg, #141b25 0%, #0c1119 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.20);
}

.sp-post-featured {
    width: 100%;
    background: #0a0f17;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-post-featured img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #050a12;
}

.sp-post-body {
    padding: 26px;
    color: #e9eef8;
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
}

.sp-post-body h1,
.sp-post-body h2,
.sp-post-body h3,
.sp-post-body h4 {
    color: #fff;
    line-height: 1.25;
    margin: 28px 0 12px;
    font-weight: 1000;
}

.sp-post-body h2 {
    font-size: 26px;
}

.sp-post-body h3 {
    font-size: 21px;
}

.sp-post-body p {
    margin: 0 0 18px;
    color: #e1e8f5;
}

.sp-post-body a {
    color: #62a5ff;
    font-weight: 900;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.sp-post-body ul,
.sp-post-body ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.sp-post-body li {
    margin-bottom: 8px;
}

.sp-post-body img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 18px 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-post-body blockquote {
    margin: 22px 0;
    padding: 16px 18px;
    border-left: 4px solid #ffad1f;
    background: rgba(255, 173, 31, 0.08);
    border-radius: 12px;
    color: #fff;
    font-weight: 800;
}

.sp-post-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    overflow: hidden;
    border-radius: 12px;
    background: #0e1520;
}

.sp-post-body th,
.sp-post-body td {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
}

.sp-post-body th {
    color: #ffad1f;
    background: rgba(255, 255, 255, 0.04);
}

/* =====================================================
   Sidebar
===================================================== */

.sp-post-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 18px;
}

.sp-side-panel {
    background: linear-gradient(180deg, #141b25 0%, #0c1119 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
}

.sp-side-panel h3 {
    margin: 0 0 14px;
    color: #fff;
    font-size: 18px;
    font-weight: 1000;
}

.sp-side-article-list {
    display: grid;
    gap: 10px;
}

.sp-side-article {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #fff;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: 0.18s ease;
}

.sp-side-article:hover {
    border-color: rgba(245, 166, 35, 0.55);
    transform: translateY(-1px);
}

.sp-side-article img {
    width: 72px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 72px;
}

.sp-side-article-thumb {
    width: 72px;
    height: 50px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    background: #ffad1f;
    color: #05070b;
    font-weight: 1000;
    flex: 0 0 72px;
}

.sp-side-article strong {
    display: block;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 1000;
    color: #fff;
}

.sp-side-article span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: #8fa0b8;
    font-weight: 800;
}

/* Sidebar matches */

.sp-side-match-list {
    display: grid;
    gap: 10px;
}

.sp-side-match {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    color: #fff;
    text-decoration: none;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.sp-side-teams {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.sp-side-teams span {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    font-size: 13px;
    font-weight: 900;
    color: #fff;
}

.sp-side-teams img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 18px;
}

.sp-side-result {
    display: grid;
    gap: 5px;
    justify-items: end;
    font-weight: 1000;
}

.sp-side-result strong {
    font-size: 14px;
    color: #fff;
}

.sp-match-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(255, 173, 31, 0.15);
    border: 1px solid rgba(255, 173, 31, 0.45);
    color: #ffad1f;
    font-size: 11px;
    font-weight: 1000;
}

.sp-match-status.finished {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: #d9e2f2;
}

.sp-match-status.live {
    background: rgba(24, 204, 107, 0.13);
    border-color: rgba(24, 204, 107, 0.45);
    color: #33dd85;
}

/* =====================================================
   Related articles
===================================================== */

.sp-related-section {
    margin-top: 18px;
}

.sp-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.sp-related-head h2 {
    margin: 0;
    color: #fff;
    font-size: 21px;
    font-weight: 1000;
}

.sp-related-head a {
    color: #ffad1f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 1000;
}

.sp-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sp-related-card {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-related-card:hover {
    border-color: rgba(245, 166, 35, 0.55);
}

.sp-related-card img {
    width: 96px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    flex: 0 0 96px;
}

.sp-related-thumb {
    width: 96px;
    height: 68px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: #ffad1f;
    color: #05070b;
    font-weight: 1000;
    flex: 0 0 96px;
}

.sp-related-card span {
    display: block;
    color: #8fa0b8;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 5px;
}

.sp-related-card strong {
    display: block;
    color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 1000;
}

/* =====================================================
   Match Tip Blocks
===================================================== */

.sp-tip-blocks-wrap {
    margin: 24px 0 0;
}

.sp-tip-blocks-title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-tip-blocks-title span {
    display: block;
    margin-bottom: 5px;
    color: #f5a623;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sp-tip-blocks-title h2 {
    margin: 0;
    color: #fff;
    font-size: 24px;
    font-weight: 950;
    letter-spacing: -0.02em;
}

.sp-tip-match-card {
    overflow: hidden;
    margin-bottom: 18px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top right, rgba(245, 166, 35, 0.16), transparent 34%),
        linear-gradient(180deg, #121922 0%, #0b1118 100%);
    border: 1px solid rgba(245, 166, 35, 0.48);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.sp-tip-match-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 15px 17px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-tip-league-name {
    color: #fff;
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.sp-tip-league-name span {
    margin-right: 5px;
}

.sp-tip-badge {
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.15);
    border: 1px solid rgba(245, 166, 35, 0.5);
    color: #f5a623;
    font-size: 11px;
    font-weight: 950;
    text-transform: uppercase;
    white-space: nowrap;
}

.sp-tip-match-body {
    display: grid;
    grid-template-columns: 150px 54px 150px minmax(150px, 190px) minmax(230px, 1fr);
    gap: 16px;
    align-items: center;
    padding: 18px;
}

.sp-tip-team {
    display: grid;
    justify-items: center;
    gap: 9px;
    text-align: center;
    min-width: 0;
}

.sp-tip-team img {
    width: 74px;
    height: 74px;
    object-fit: contain;
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.45));
    border: 0;
    margin: 0;
    border-radius: 0;
}

.sp-tip-team strong {
    color: #fff;
    font-size: 15px;
    font-weight: 950;
    line-height: 1.2;
}

.sp-tip-vs {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    justify-self: center;
    border-radius: 999px;
    background: rgba(245, 166, 35, 0.08);
    border: 1px solid rgba(245, 166, 35, 0.52);
    color: #f5a623;
    font-size: 16px;
    font-weight: 1000;
}

.sp-tip-pick-panel {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(255, 255, 255, 0.035);
}

.sp-tip-pick-panel div {
    padding: 13px;
    text-align: center;
}

.sp-tip-pick-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sp-tip-pick-panel span {
    display: block;
    margin-bottom: 5px;
    color: #9fb0c7;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.sp-tip-pick-panel strong {
    color: #f5a623;
    font-size: 24px;
    font-weight: 1000;
}

.sp-tip-analysis-panel {
    color: #dce6f7;
}

.sp-tip-analysis-panel span {
    display: block;
    margin-bottom: 8px;
    color: #f5a623;
    font-size: 12px;
    font-weight: 950;
    text-transform: uppercase;
}

.sp-tip-analysis-panel p {
    margin: 0 0 10px;
    color: #dce6f7;
    font-size: 14px;
    line-height: 1.55;
}

.sp-tip-analysis-panel em {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(22, 163, 74, 0.12);
    border: 1px solid rgba(22, 163, 74, 0.42);
    color: #22c55e;
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
    text-transform: uppercase;
}

/* Single post support */
.sp-post-card .sp-tip-blocks-wrap {
    margin-top: 0;
}

.sp-post-body .sp-tip-team img {
    border: 0;
    margin: 0;
    border-radius: 0;
}

/* =====================================================
   Responsive
===================================================== */

@media (max-width: 1200px) {
    .sp-tip-match-body {
        grid-template-columns: 1fr 50px 1fr;
    }

    .sp-tip-pick-panel,
    .sp-tip-analysis-panel {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .sp-post-layout {
        grid-template-columns: 1fr;
    }

    .sp-post-sidebar {
        position: static;
    }
}

@media (max-width: 700px) {
    .sp-banker-hero-card {
        min-height: 390px;
    }

    .sp-banker-hero-overlay {
        background:
            linear-gradient(180deg, rgba(5, 10, 18, 0.42) 0%, rgba(5, 10, 18, 0.98) 74%),
            radial-gradient(circle at top right, rgba(245, 166, 35, 0.20), transparent 35%);
    }

    .sp-banker-hero-content {
        padding: 22px;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }

    .sp-banker-hero-content h2 {
        font-size: 27px;
    }

    .sp-banker-hero-content p {
        font-size: 13px;
    }

    .sp-banker-tip-area {
        padding: 12px;
    }

    .sp-post-hero {
        padding: 18px;
    }

    .sp-post-hero h1 {
        font-size: 26px;
    }

    .sp-post-body {
        padding: 18px;
        font-size: 15px;
    }

    .sp-related-grid {
        grid-template-columns: 1fr;
    }

    .sp-post-featured img {
        max-height: 320px;
    }

    .sp-tip-match-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .sp-tip-match-body {
        grid-template-columns: 1fr;
    }

    .sp-tip-vs {
        justify-self: center;
    }

    .sp-tip-team img {
        width: 66px;
        height: 66px;
    }
}

/* Analysis team names */
.sp-analysis-team-name {
    color: #f5a623;
    font-weight: 1000;
    display: inline;
    margin-right: 4px;
}

.sp-tip-analysis-panel p .sp-analysis-team-name {
    color: #f5a623 !important;
}