/* ── Hero ───────────────────────────────── */
.sp-hero {
    position: relative;
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    background: #0f172a;
}
.sp-hero img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    opacity: .88;
}
.sp-hero-grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(15,23,42,.6) 100%);
}

/* ── Layout ─────────────────────────────── */
.sp-layout {
    max-width: 820px;
    margin: 0 auto;
    padding: 48px 24px 72px;
}

/* ── Meta ───────────────────────────────── */
.sp-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}
.sp-meta-item { display: flex; align-items: center; gap: 6px; }
.sp-meta-item i { font-size: 13px; }
.sp-meta-sep { color: #d1d5db; }

/* ── Title ──────────────────────────────── */
.sp-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    line-height: 1.25;
    color: #111827;
    margin: 0 0 20px;
}

/* ── Divider ────────────────────────────── */
.sp-divider {
    height: 3px;
    width: 52px;
    background: #bc0000;
    border-radius: 4px;
    margin-bottom: 32px;
}

/* ── Body ───────────────────────────────── */
.sp-body {
    font-size: 15px;
    line-height: 1.85;
    color: #1f2937;
}
.sp-body img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 20px 0;
}
.sp-body p { margin-bottom: 1.25em; }
.sp-body h2,.sp-body h3,.sp-body h4 {
    font-weight: 700;
    color: #111827;
    margin: 2em 0 .75em;
    line-height: 1.3;
}
.sp-body a { color: #2563eb; text-decoration: underline; }
.sp-body ul,.sp-body ol { padding-left: 1.5em; margin-bottom: 1.25em; }
.sp-body li { margin-bottom: .4em; }
.sp-body blockquote {
    border-left: 4px solid #0e1649;
    background: #f0f4ff;
    margin: 24px 0;
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #374151;
}
.sp-body table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5em;
    font-size: 14px;
}
.sp-body th,.sp-body td {
    border: 1px solid #e5e7eb;
    padding: 10px 14px;
    text-align: left;
}
.sp-body th { background: #f8fafc; font-weight: 700; color: #111827; }
.sp-body tr:hover td { background: #fafafa; }

/* ── Prev / Next nav ────────────────────── */
.sp-nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-top: 52px;
    padding-top: 28px;
    border-top: 1px solid #e5e7eb;
}
.sp-nav-item { min-width: 0; }
.sp-nav-next { text-align: right; }

.sp-nav-link {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    text-decoration: none;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: .18s;
    width: 100%;
    max-width: 300px;
}
.sp-nav-link:hover {
    border-color: #0e1649;
    background: #f0f4ff;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
}
.sp-nav-link--right { margin-left: auto; }
.sp-nav-dir {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: #bc0000;
    display: flex;
    align-items: center;
    gap: 6px;
}
.sp-nav-next .sp-nav-dir { justify-content: flex-end; }
.sp-nav-title {
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sp-nav-center { display: flex; justify-content: center; }
.sp-nav-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    font-size: 16px;
    text-decoration: none;
    transition: .18s;
}
.sp-nav-back:hover {
    background: #0e1649;
    border-color: #0e1649;
    color: #fff;
}

@media (max-width: 600px) {
    .sp-nav { grid-template-columns: 1fr auto 1fr; gap: 8px; }
    .sp-nav-link { padding: 10px 12px; max-width: 100%; }
}
