/* ============================================
   BLOG.CSS — Blog Listing + Blog Detail Pages
   Splendorsoft Website

   Load AFTER style.css:
     <link rel="stylesheet" href="/assets/css/style.css">
     <link rel="stylesheet" href="/assets/css/blog.css">
   ============================================ */


/* ============================================
   1. BLOG HERO
   ============================================ */
.spl-hero-blog {
    background: url(/assets/images/blog-articles-hero-background.webp) no-repeat center center / cover;
}

/* Premium compact override — scoped to .spl-hero-blog only */
.spl-hero-blog {
    min-height: 420px;
}

.spl-hero-blog::before {
    background: linear-gradient(
        135deg,
        rgba(0, 8, 30, 0.94)  0%,
        rgba(0, 22, 72, 0.84) 45%,
        rgba(0, 45, 140, 0.52) 100%
    );
}

.spl-hero-blog .spl-internal-hero-title {
    font-size: clamp(28px, 3.4vw, 56px);
    font-weight: 700;
    max-width: 900px;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: -0.5px;
}

.spl-hero-blog .spl-breadcrumb,
.spl-hero-blog .spl-internal-hero-content .spl-breadcrumb {
    color: rgba(255, 255, 255, 0.78);
}

.spl-hero-blog .spl-breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
}


/* ============================================
   2. BLOG LISTING SECTION
   ============================================ */
.spl-blog-section {
    padding: 120px 6%;
    background: linear-gradient(135deg, #f8faff 0%, #f1f4fd 100%);
    position: relative;
    overflow: hidden;
}

.spl-blog-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.spl-blog-section::before,
.spl-blog-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
    opacity: 0.3;
    pointer-events: none;
}

.spl-blog-section::before {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.2) 0%, transparent 70%);
    top: -150px;
    right: -150px;
}

.spl-blog-section::after {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 208, 132, 0.15) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
}

.spl-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.spl-blog-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 10px 40px rgba(31, 38, 135, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    cursor: pointer;
}

.spl-blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0055ff, #0044cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.spl-blog-card:hover::before {
    transform: scaleX(1);
}

.spl-blog-card:hover {
    transform: translateY(-12px);
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 85, 255, 0.3);
    box-shadow: 0 25px 50px rgba(0, 85, 255, 0.15);
}

.spl-blog-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.spl-blog-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.spl-blog-card:hover .spl-blog-img-wrapper::after {
    opacity: 1;
}

.spl-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.spl-blog-card:hover .spl-blog-img {
    transform: scale(1.08);
}

.spl-blog-date-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.spl-blog-date-badge svg {
    width: 14px;
    height: 14px;
    color: #0055ff;
}

.spl-blog-content {
    padding: 16px 20px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.spl-blog-category {
    font-size: 11.2px;
    font-weight: 700;
    color: #0055ff;
    margin-bottom: 5px;
    display: inline-block;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    position: relative;
    padding-left: 12px;
}

.spl-blog-category::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #0055ff;
    border-radius: 50%;
}

.spl-blog-title {
    font-size: 16.5px;
    color: #0f172a;
    margin-bottom: 7px;
    line-height: 1.4;
    font-weight: 600;
    transition: color 0.3s ease;
}

.spl-blog-card:hover .spl-blog-title {
    color: #0055ff;
}

.spl-blog-excerpt {
    font-size: 13px;
    color: #475569;
    margin-bottom: 10px;
    line-height: 1.55;
    flex: 1;
}

.spl-blog-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 13px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.spl-blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spl-blog-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #0055ff;
}

.spl-blog-author-name {
    font-size: 13.6px;
    font-weight: 600;
    color: #0f172a;
}

.spl-blog-read-time {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.8px;
    color: #94a3b8;
    font-weight: 500;
}

.spl-blog-read-time svg {
    width: 14px;
    height: 14px;
}

.spl-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #0055ff;
    margin-top: 4px;
    transition: gap 0.3s ease;
}

.spl-blog-link svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.spl-blog-card:hover .spl-blog-link {
    gap: 12px;
}

.spl-blog-card:hover .spl-blog-link svg {
    transform: translateX(4px);
}

.spl-blog-content .spl-btn {
    margin-top: 8px;
    align-self: flex-start;
}


/* ============================================
   3. BLOG SYSTEM STYLES
   (cards, detail hero, content typography)
   ============================================ */

.spl-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.spl-blog-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid #f1f5f9;
}

.spl-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.spl-blog-card-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}

.spl-blog-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spl-blog-card:hover .spl-blog-card-img {
    transform: scale(1.1);
}

.spl-blog-card-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.spl-blog-card-date {
    font-size: 13.6px;
    color: #94a3b8;
    margin-bottom: 12px;
    font-weight: 500;
}

.spl-blog-card-title {
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 15px;
    line-height: 1.4;
}

.spl-blog-card-excerpt {
    font-size: 15.2px;
    color: #475569;
    margin-bottom: 25px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Blog Detail Page */
.spl-blog-detail-hero {
    padding: 180px 6% 80px;
    background: #0b0f19;
    text-align: center;
    color: #ffffff;
}

.spl-blog-detail-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.spl-blog-detail-meta {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.75);
}

.spl-blog-detail-content-wrap {
    max-width: 900px;
    margin: -60px auto 100px;
    background: #ffffff;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 10;
}

.spl-blog-detail-featured-img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.spl-blog-content {
    font-size: 17.6px;
    line-height: 1.8;
    color: #334155;
}

.spl-blog-content h2 {
    font-size: 22px;
    margin-top: 20px;
    margin-bottom: 20px;
    color: #0f172a;
}

.spl-blog-content h3 {
    font-size: 22.4px;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #0f172a;
}

.spl-blog-content p {
    margin-bottom: 25px;
}

.spl-blog-content ul {
    margin-bottom: 25px;
    padding-left: 20px;
}

.spl-blog-content li {
    margin-bottom: 10px;
}

/* Blog post back-to-blog separator */
.spl-blog-back-nav {
    margin-top: 50px;
    border-top: 1px solid #f1f5f9;
    padding-top: 30px;
    text-align: center;
}

/* Blog card button alignment */
.spl-blog-card-content .spl-btn {
    align-self: flex-start;
}

/* Blog card staggered delay */
.spl-blog-grid .spl-blog-card:nth-child(2) {
    transition-delay: 0.1s;
}


/* ============================================
   4. BLOG ARTICLE / DETAIL PAGE
   ============================================ */

/* ── Article page wrapper ──────────────────── */
.spl-article-page {
    background: #ffffff;
}

.spl-article-btn{
    color: white !important;
}

/* ── TOC + intro block ─────────────────────── */
.spl-blog-intro-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 6% 48px;
}

/* ── Conclusion / CTA wrap ─────────────────── */
.spl-article-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 0px;
}

.spl-article-wrap .spl-article-body > h2,
.spl-article-wrap .spl-article-body > p {
    max-width: 760px;
}

/* ── Table of Contents ─────────────────────── */
.spl-toc {
    background: linear-gradient(135deg, #f8faff 0%, #f1f4fd 100%);
    border: 1px solid rgba(0, 85, 255, 0.12);
    border-left: 4px solid #0055ff;
    border-radius: 12px;
    padding: 28px 32px;
    margin-bottom: 40px;
}

.spl-toc-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #0055ff;
    margin: 0 0 16px;
}

.spl-toc ol {
    margin: 0;
    padding-left: 20px;
}

.spl-toc li {
    margin-bottom: 9px;
}

.spl-toc a {
    font-size: 14.5px;
    color: #475569;
    text-decoration: none;
    line-height: 1.5;
    transition: color 0.2s;
}

.spl-toc a:hover {
    color: #0055ff;
}

/* ── Blog article body typography ─────────── */
.spl-article-body p {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.78;
    margin-bottom: 20px;
}

.spl-article-body ul,
.spl-article-body ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.spl-article-body li {
    font-size: 16px;
    color: #475569;
    line-height: 1.72;
    margin-bottom: 8px;
}

.spl-article-body strong {
    color: #0f172a;
    font-weight: 600;
}

.spl-article-body a {
    color: #0055ff;
    text-decoration-color: rgba(0, 85, 255, 0.35);
    text-underline-offset: 3px;
    font-weight: 500;
    transition: text-decoration-color 0.2s;
}

.spl-article-body a:hover {
    text-decoration-color: #0055ff;
}

/* ── Blog split layout ─────────────────────── */
.spl-blog-split-section .spl-service-detail-grid {
    grid-template-columns: 1fr 1fr;
}

.spl-blog-split-section {
    scroll-margin-top: 90px;
}

/* ── Blog split text column ────────────────── */
.spl-blog-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spl-blog-text-col h2 {
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 16px;
    line-height: 1.3;
    scroll-margin-top: 90px;
}

.spl-blog-text-col h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 28px 0 10px;
    line-height: 1.4;
}

/* ── Blog split image ──────────────────────── */
.spl-blog-split-media {
    min-height: 420px;
    display: flex;
    align-items: stretch;
}

.spl-blog-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
    min-height: 420px;
}

/* ── Conclusion h2 ─────────────────────────── */
.spl-article-wrap .spl-article-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 14px;
    line-height: 1.3;
    scroll-margin-top: 90px;
}

/* ── Blog CTA Banner ───────────────────────── */
.spl-article-cta {
    background: linear-gradient(135deg, #0a0f1e 0%, #0f2952 50%, #0a1628 100%);
    border-radius: 20px;
    padding: 72px 64px;
    text-align: center;
    margin: 56px 0;
    position: relative;
    overflow: hidden;
}

.spl-article-cta::before {
    content: '';
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(0, 85, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* CTA text — multiple selectors beat .spl-article-body p/h2 specificity */
.spl-article-cta .spl-article-cta-title,
.spl-article-wrap .spl-article-body .spl-article-cta .spl-article-cta-title,
.spl-article-cta-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 14px !important;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    max-width: none !important;
}

.spl-article-cta .spl-article-cta-desc,
.spl-article-wrap .spl-article-body .spl-article-cta .spl-article-cta-desc,
.spl-article-cta-desc {
    font-size: 17px !important;
    color: rgba(255, 255, 255, 0.82) !important;
    margin: 0 0 36px !important;
    line-height: 1.65;
    position: relative;
    z-index: 1;
    max-width: none !important;
}

.spl-article-cta .spl-btn {
    position: relative;
    z-index: 1;
}

/* ── Blog article prev / next nav ──────────── */
.spl-article-nav {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid #e2e8f0;
}

.spl-article-nav-item {
    flex: 1;
    max-width: 300px;
}

.spl-article-nav-item--next {
    text-align: right;
    margin-left: auto;
}

.spl-article-nav-label {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.spl-article-nav-item--next .spl-article-nav-label {
    justify-content: flex-end;
}

.spl-article-nav-link {
    font-size: 15px;
    font-weight: 600;
    color: #0055ff;
    text-decoration: none;
    line-height: 1.4;
    display: block;
    transition: color 0.2s;
}

.spl-article-nav-link:hover {
    color: #003db5;
}


/* ============================================
   5. RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1200px) {
    .spl-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .spl-blog-img-wrapper {
        height: 220px;
    }
}

@media (max-width: 1024px) {
    .spl-blog-intro-wrap {
        padding: 48px 5% 36px;
    }

    .spl-article-wrap {
        padding: 60px 5% 60px;
    }
}

@media (max-width: 900px) {
    .spl-blog-intro-wrap {
        padding: 40px 5% 28px;
    }

    .spl-article-wrap {
        padding: 48px 5% 64px;
    }

    .spl-blog-split-media,
    .spl-blog-split-media img {
        min-height: 300px;
    }

    .spl-article-cta {
        padding: 52px 36px;
    }

    .spl-hero-blog {
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .spl-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .spl-blog-intro-wrap {
        padding: 32px 5% 24px;
    }

    .spl-article-wrap {
        padding: 36px 5% 56px;
    }

    .spl-article-wrap .spl-article-body > h2,
    .spl-article-wrap .spl-article-body > p {
        max-width: 100%;
    }

    .spl-toc {
        padding: 20px 20px;
    }

    .spl-blog-text-col h2 {
        font-size: 20px;
    }

    .spl-blog-text-col h3 {
        font-size: 16px;
    }

    .spl-article-body p,
    .spl-article-body li {
        font-size: 15.5px;
    }

    .spl-article-cta {
        padding: 40px 22px;
    }

    .spl-article-cta .spl-article-cta-title,
    .spl-article-cta-title {
        font-size: 22px !important;
    }

    .spl-article-cta .spl-article-cta-desc,
    .spl-article-cta-desc {
        font-size: 15px !important;
    }

    .spl-article-nav {
        flex-direction: column;
        gap: 28px;
    }

    .spl-article-nav-item--next {
        text-align: left;
    }

    .spl-article-nav-item--next .spl-article-nav-label {
        justify-content: flex-start;
    }

    .spl-blog-split-media,
    .spl-blog-split-media img {
        min-height: 240px;
        border-radius: 12px;
    }

    .spl-hero-blog {
        min-height: 290px;
    }

    .spl-hero-blog .spl-internal-hero-title {
        font-size: clamp(22px, 6vw, 36px);
        line-height: 1.25;
    }
}

@media (max-width: 480px) {
    .spl-blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .spl-blog-section {
        padding: 80px 6%;
    }

    .spl-blog-img-wrapper {
        height: 200px;
    }

    .spl-blog-content {
        padding: 28px 24px;
    }

    .spl-blog-title {
        font-size: 18.4px;
    }

    .spl-blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .spl-blog-detail-content-wrap {
        padding: 30px;
        margin-top: -30px;
        border-radius: 12px;
        width: 92%;
    }

    .spl-blog-link {
        width: auto;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .spl-blog-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .spl-blog-section {
        padding-left: 35px;
        padding-right: 35px;
    }
}


/* ============================================
   6. EDITORIAL FLOW LAYOUT (Blog Detail Pages)
   Newspaper-style: h2 heading full-width above
   float; body text wraps around floated image.
   ============================================ */

/* ── Outer wrapper ─────────────────────────── */
.spl-article-flow {
    background: #ffffff;
    padding: 64px 6% 80px;
}

.spl-article-flow-inner {
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Intro block — premium editorial container ── */
.spl-article-intro {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border: 1px solid rgba(0, 85, 255, 0.10);
    border-left: 4px solid rgba(0, 85, 255, 0.60);
    border-radius: 0 16px 16px 0;
    padding: 32px 36px 28px;
    margin-bottom: 52px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 85, 255, 0.05);
}
.spl-article-intro::before {
    content: 'Article Overview';
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #0055ff;
    opacity: 0.80;
    margin-bottom: 16px;
}
/* Lead paragraph — larger editorial text */
.spl-article-intro p:first-of-type {
    font-size: 18px;
    color: #334155;
    line-height: 1.82;
    font-weight: 400;
    margin-bottom: 18px;
}
/* Subsequent paragraphs */
.spl-article-intro p:not(:first-of-type) {
    font-size: 16px;
    color: #475569;
    line-height: 1.78;
    margin-bottom: 14px;
}
.spl-article-intro p:last-child {
    margin-bottom: 0;
}
/* Links inside intro — already #0055ff from .spl-article-body a; reinforce */
.spl-article-intro a {
    color: #0044cc;
    font-weight: 600;
    text-decoration-color: rgba(0, 68, 204, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}
.spl-article-intro a:hover {
    text-decoration-color: #0044cc;
}

/* ── Per-section blocks ─────────────────────── */
.spl-flow-section {
    margin-bottom: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid #f1f5f9;
    scroll-margin-top: 90px;
}

.spl-flow-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* ── Section h2: full-width heading above float */
.spl-flow-section-title {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 18px;
    line-height: 1.3;
    scroll-margin-top: 90px;
}

/* ── Body wrapper: figure + h3 + paragraphs ── */
/* NO overflow/display/position that creates BFC */
.spl-flow-body {
    /* plain block — floats inside collapse naturally */
}

/* ── Float containment on body ──────────────── */
.spl-flow-body::after {
    content: '';
    display: table;
    clear: both;
}

/* ── Floated images (inside .spl-flow-body) ── */
.spl-flow-img {
    margin: 0;
}

.spl-flow-img--right {
    float: right;
    width: 380px;
    margin: 4px 0 24px 32px;
}

.spl-flow-img--left {
    float: left;
    width: 380px;
    margin: 4px 32px 24px 0;
}

.spl-flow-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.10);
}

/* ── Body text typography ────────────────────── */
.spl-flow-body > p {
    font-size: 16.5px;
    color: #475569;
    line-height: 1.78;
    margin-bottom: 18px;
}

.spl-flow-body > h3 {
    font-size: 17px;
    font-weight: 600;
    color: #0f172a;
    margin: 20px 0 8px;
    line-height: 1.4;
}

.spl-flow-body > ul,
.spl-flow-body > ol {
    margin: 0 0 18px;
    padding-left: 24px;
}

.spl-flow-body > li {
    font-size: 16px;
    color: #475569;
    line-height: 1.72;
    margin-bottom: 8px;
}

.spl-flow-body > p strong,
.spl-flow-body > li strong {
    /* color: #0f172a;
    font-weight: 600; */
}

.spl-flow-body > p a,
.spl-flow-body > li a,
.spl-flow-body > h3 a {
    color: #0055ff;
    text-decoration-color: rgba(0, 85, 255, 0.35);
    text-underline-offset: 3px;
    font-weight: 500;
    transition: text-decoration-color 0.2s;
}

.spl-flow-body > p a:hover,
.spl-flow-body > li a:hover,
.spl-flow-body > h3 a:hover {
    text-decoration-color: #0055ff;
}

/* ── Legacy clearfix (kept for HTML compat) ── */
.spl-clearfix::after {
    content: '';
    display: table;
    clear: both;
}

/* ── Responsive — 1024px ─────────────────────── */
@media (max-width: 1024px) {
    .spl-article-flow {
        padding: 52px 5% 72px;
    }

    .spl-flow-img--right,
    .spl-flow-img--left {
        width: 320px;
    }
}

/* ── Responsive — 900px (narrow tablet) ─────── */
@media (max-width: 900px) {
    .spl-flow-img--right,
    .spl-flow-img--left {
        width: 260px;
    }

    .spl-flow-img img {
        height: 210px;
    }
}

/* ── Responsive — 768px (mobile: stack images) */
@media (max-width: 768px) {
    .spl-flow-img--right,
    .spl-flow-img--left {
        float: none;
        width: 100%;
        margin: 0 0 24px 0;
    }

    .spl-flow-img img {
        height: 210px;
        border-radius: 10px;
    }
}

@media (max-width: 640px) {
    .spl-article-flow {
        padding: 40px 5% 56px;
    }

    .spl-flow-section {
        margin-bottom: 40px;
        padding-bottom: 40px;
    }

    .spl-article-intro {
        padding: 24px 22px 20px;
        margin-bottom: 36px;
        border-radius: 0 12px 12px 0;
    }
    .spl-article-intro p:first-of-type {
        font-size: 16.5px;
    }

    .spl-flow-section-title {
        font-size: 20px;
    }

    .spl-flow-body > h3 {
        font-size: 16px;
        margin-top: 16px;
    }

    .spl-flow-body > p,
    .spl-flow-body > li {
        font-size: 15.5px;
    }

    .spl-flow-img img {
        height: 190px;
    }
}

@media (max-width: 480px) {
    .spl-flow-img img {
        height: 170px;
        border-radius: 8px;
    }
}


/* ============================================
   7. RELATED SERVICES SECTION
   Internal linking — blog detail pages
   After conclusion, before spl-article-cta
   ============================================ */

.spl-related-services {
    margin: 48px 0 0;
    padding: 48px 0 0;
    border-top: 1px solid #f1f5f9;
}
.spl-related-services-title {
    font-size: clamp(20px, 2vw, 24px);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px;
    line-height: 1.3;
}
.spl-related-services-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0 0 28px;
    line-height: 1.6;
}
.spl-rs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.spl-rs-card {
    display: flex;
    flex-direction: column;
    background: #f8faff;
    border: 1px solid rgba(0, 85, 255, 0.10);
    border-radius: 14px;
    padding: 22px 20px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.spl-rs-card:hover {
    border-color: rgba(0, 85, 255, 0.28);
    box-shadow: 0 8px 24px rgba(0, 85, 255, 0.08);
    transform: translateY(-3px);
}
/* override .spl-article-body a specificity */
.spl-article-body .spl-related-services a.spl-rs-card {
    text-decoration: none;
    color: inherit;
}
.spl-article-body .spl-related-services a.spl-rs-card:hover {
    text-decoration: none;
}
.spl-rs-icon {
    width: 44px;
    height: 44px;
    background: rgba(0, 85, 255, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}
.spl-rs-icon svg {
    width: 22px;
    height: 22px;
    stroke: #0055ff;
}
.spl-rs-name {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px;
    line-height: 1.35;
}
.spl-rs-desc {
    font-size: 13.5px;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 16px;
    flex: 1;
}
.spl-rs-cta {
    font-size: 13px;
    font-weight: 600;
    color: #0055ff;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}
.spl-rs-cta::after {
    content: '\2192';
    display: inline-block;
    transition: transform 0.2s ease;
}
.spl-rs-card:hover .spl-rs-cta::after {
    transform: translateX(3px);
}

@media (max-width: 900px) {
    .spl-rs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 580px) {
    .spl-rs-grid { grid-template-columns: 1fr; gap: 14px; }
    .spl-related-services { margin-top: 36px; padding-top: 36px; }
}


/* ============================================
   8. CONCLUSION SECTION
   Premium editorial-style conclusion container
   ============================================ */

.spl-conclusion {
    background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 100%);
    border: 1px solid rgba(0, 85, 255, 0.12);
    border-left: 4px solid #0055ff;
    border-radius: 0 16px 16px 0;
    padding: 36px 40px 32px;
    margin: 40px 0 0;
    position: relative;
}
.spl-conclusion::before {
    content: 'Final Thoughts';
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #0055ff;
    margin-bottom: 14px;
}
.spl-conclusion h2 {
    font-size: clamp(20px, 2.2vw, 26px);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 20px;
    line-height: 1.3;
}
.spl-conclusion p {
    font-size: 16px;
    color: #475569;
    line-height: 1.78;
    margin-bottom: 16px;
}
.spl-conclusion p:last-child {
    margin-bottom: 0;
}
/* link styles inside conclusion — more specific than .spl-article-body a */
.spl-article-body .spl-conclusion p a {
    color: #0044cc;
    font-weight: 600;
    text-decoration-color: rgba(0, 68, 204, 0.40);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}
.spl-article-body .spl-conclusion p a:hover {
    text-decoration-color: #0044cc;
}

@media (max-width: 768px) {
    .spl-conclusion { padding: 28px 28px 24px; }
    .spl-article-intro { padding: 26px 24px 22px; }
    .spl-article-intro p:first-of-type { font-size: 17px; }
}
@media (max-width: 480px) {
    .spl-conclusion { padding: 22px 20px 20px; border-radius: 0 12px 12px 0; }
    .spl-conclusion h2 { font-size: 20px; }
    .spl-conclusion p { font-size: 15.5px; }
}
