/* ==========================================================================
   Single Post — Politico-style article layout
   Matches the visual language already established in transfer-centre.css
   (navy headings, red kicker/accent, flexbox, system font)
   ========================================================================== */

.sp-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 56px;
    color: #1a1a1a;
}

.sp-grid {
    display: flex;
    align-items: flex-start;
}

/* ---------- Main column ---------- */

.sp-main {
    width: 68%;
    margin-right: 40px;
}

.sp-kicker {
    display: inline-block;
    background: #e0141c;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 3px;
    text-decoration: none !important;
    margin-bottom: 14px;
}

.sp-title {
    font-size: 34px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    margin: 0 0 16px !important;
    color: #16233c !important;
}

.sp-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.sp-meta-author {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 8px;
}

.sp-avatar {
    border-radius: 50%;
    margin-right: 10px;
}

.sp-meta-author-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.sp-author-name {
    font-size: 13px;
    font-weight: 700;
    color: #16233c;
}

.sp-date {
    font-size: 12px;
    color: #6b7280;
}

.sp-meta-stats {
    display: flex;
    align-items: center;
    margin-right: 20px;
    margin-bottom: 8px;
}

.sp-stat {
    font-size: 13px;
    color: #6b7280;
    margin-right: 14px;
    display: flex;
    align-items: center;
}

.sp-stat .tie-icon-comments,
.sp-stat .tie-icon-bookmark {
    font-size: 12px;
    margin-right: 5px;
    color: #9ca3af;
}

.sp-meta-share {
    display: flex;
    margin-bottom: 8px;
    margin-left: auto;
}

.sp-share {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    color: #16233c !important;
    font-weight: 700;
    font-size: 12px;
    text-decoration: none !important;
    background: #fff;
    transition: background 0.15s ease;
    margin-right: 8px;
}

.sp-share:last-child {
    margin-right: 0;
}

.sp-share:hover {
    background: #f3f4f6;
}

.sp-hero {
    margin: 0 0 20px;
}

.sp-hero img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.sp-hero figcaption {
    font-size: 12px;
    color: #6b7280;
    margin-top: 8px;
}

.sp-content {
    font-size: 17px;
    line-height: 1.65;
    color: #1a1a1a;
}

.sp-content p {
    margin: 0 0 20px;
}

/* ---------- Sidebar ---------- */

.sp-sidebar {
    width: 32%;
}

.sp-sidebar-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #16233c !important;
    margin: 0 0 14px !important;
    padding-bottom: 10px;
    border-bottom: 2px solid #16233c;
}

.sp-related-list {
    display: flex;
    flex-direction: column;
}

.sp-related-card {
    display: flex;
    align-items: flex-start;
    text-decoration: none !important;
    padding: 14px 0;
    border-top: 1px solid #e9eaec;
}

.sp-related-list a.sp-related-card:first-child {
    border-top: none;
    padding-top: 0;
}

.sp-related-thumb {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.sp-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sp-related-body {
    display: flex;
    flex-direction: column;
}

.sp-related-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #e0141c;
    margin-bottom: 4px;
}

.sp-related-title {
    font-size: 14px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    color: #16233c !important;
    margin: 0 0 6px !important;
}

.sp-related-date {
    font-size: 12px;
    color: #9ca3af;
}

/* Related News stays in view while the article scrolls */
.sp-sidebar-sticky {
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

/* ---------- Author bio card ---------- */

.sp-author-box {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e5e5e5;
}

.sp-author-top {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.sp-author-avatar img {
    border-radius: 50%;
    margin-right: 16px;
    display: block;
}

.sp-author-headline {
    display: flex;
    flex-direction: column;
}

.sp-author-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #16233c !important;
    margin: 0 0 8px !important;
}

.sp-author-socials {
    display: flex;
}

.sp-author-social {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    border-radius: 50%;
    color: #16233c !important;
    font-weight: 700;
    font-size: 11px;
    text-decoration: none !important;
    background: #fff;
    margin-right: 8px;
}

.sp-author-social:hover {
    background: #f3f4f6;
}

.sp-author-columns {
    display: flex;
    flex-wrap: wrap;
    background: #f7f8fa;
    border-radius: 8px;
    padding: 18px 20px;
    margin-bottom: 18px;
}

.sp-author-col {
    width: 50%;
    padding-right: 16px;
    box-sizing: border-box;
}

.sp-author-col h4 {
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6b7280 !important;
    margin: 0 0 8px !important;
}

.sp-author-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sp-author-col li {
    font-size: 13px;
    line-height: 1.5;
    color: #1a1a1a;
    margin-bottom: 6px;
}

.sp-author-bio {
    font-size: 15px;
    line-height: 1.6;
    color: #1a1a1a;
    margin: 0;
}

/* ---------- Mobile ---------- */

@media (max-width: 860px) {
    .sp-grid {
        flex-direction: column;
    }

    .sp-main {
        width: 100%;
        margin-right: 0;
        margin-bottom: 32px;
    }

    .sp-sidebar {
        width: 100%;
    }

    .sp-sidebar-sticky {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .sp-title {
        font-size: 26px !important;
    }

    .sp-author-columns {
        flex-direction: column;
    }

    .sp-author-col {
        width: 100%;
        padding-right: 0;
        margin-bottom: 14px;
    }

    .sp-author-col:last-child {
        margin-bottom: 0;
    }
}
