:root{
    --blog-ink:#111827;
    --blog-muted:#64748b;
    --blog-line:rgba(148,163,184,.28);
    --blog-paper:#fffaf2;
    --blog-accent:#7c3aed;
    --blog-accent-2:#f59e0b;
    --blog-shadow:0 24px 70px rgba(15,23,42,.12);
}

.page-blog main.container,
.page-blog-post main.container{
    width:min(1180px, calc(100% - 28px));
}

.blog-kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:14px;
    color:#8b5cf6;
    font-size:12px;
    font-weight:800;
    letter-spacing:.14em;
    text-transform:uppercase;
}

.blog-kicker::before{
    content:"";
    width:28px;
    height:2px;
    border-radius:999px;
    background:linear-gradient(90deg,#8b5cf6,#f59e0b);
}

.blog-hero{
    position:relative;
    overflow:hidden;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(280px,.65fr);
    gap:28px;
    align-items:stretch;
    margin:30px 0 36px;
    padding:42px;
    border-radius:34px;
    background:
        radial-gradient(circle at 14% 16%, rgba(245,158,11,.18), transparent 26%),
        radial-gradient(circle at 86% 18%, rgba(124,58,237,.22), transparent 28%),
        linear-gradient(135deg,#fffaf2 0%,#ffffff 48%,#eef2ff 100%);
    border:1px solid rgba(148,163,184,.24);
    box-shadow:var(--blog-shadow);
}

.blog-hero::after{
    content:"";
    position:absolute;
    inset:auto -80px -120px auto;
    width:320px;
    height:320px;
    border-radius:999px;
    background:rgba(245,158,11,.12);
    pointer-events:none;
}

.blog-hero__content,
.blog-hero__card{
    position:relative;
    z-index:1;
}

.blog-hero h1{
    max-width:820px;
    margin:0 0 18px;
    color:var(--blog-ink);
    font-size:clamp(34px,5vw,64px);
    line-height:.98;
    letter-spacing:-.055em;
}

.blog-hero p{
    max-width:710px;
    margin:0;
    color:#475569;
    font-size:18px;
    line-height:1.75;
}

.blog-hero__actions,
.blog-post-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:26px;
}

.blog-hero__card{
    min-height:260px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:26px;
    border-radius:28px;
    color:#fff;
    background:
        linear-gradient(180deg,rgba(15,23,42,.04),rgba(15,23,42,.82)),
        radial-gradient(circle at 28% 18%,rgba(255,255,255,.25),transparent 26%),
        linear-gradient(135deg,#201335,#4c1d95 48%,#92400e 100%);
    box-shadow:0 22px 48px rgba(76,29,149,.24);
}

.blog-hero__book{
    font-size:72px;
    line-height:1;
    margin-bottom:auto;
    filter:drop-shadow(0 14px 24px rgba(0,0,0,.25));
}

.blog-hero__card strong{
    display:block;
    font-size:25px;
    line-height:1.05;
    letter-spacing:-.03em;
}

.blog-hero__card span{
    display:block;
    margin-top:10px;
    color:rgba(255,255,255,.78);
    line-height:1.5;
}

.blog-grid-section{
    margin:34px 0 54px;
}

.blog-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}

.blog-section-head h2{
    margin:0;
    font-size:clamp(28px,4vw,42px);
    line-height:1.05;
    letter-spacing:-.04em;
    color:var(--blog-ink);
}

.blog-small-link,
.blog-readmore{
    color:#6d28d9;
    font-weight:800;
    text-decoration:none;
}

.blog-small-link:hover,
.blog-readmore:hover{
    text-decoration:underline;
}

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

.blog-card{
    overflow:hidden;
    border-radius:28px;
    background:#fff;
    border:1px solid var(--blog-line);
    box-shadow:0 18px 44px rgba(15,23,42,.08);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.blog-card:hover{
    transform:translateY(-4px);
    border-color:rgba(124,58,237,.32);
    box-shadow:0 24px 60px rgba(15,23,42,.13);
}

.blog-card__image{
    display:block;
    aspect-ratio:16/10;
    background:#f1f5f9;
    overflow:hidden;
}

.blog-card__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .35s ease;
}

.blog-card:hover .blog-card__image img{
    transform:scale(1.045);
}

.blog-card__body{
    padding:22px;
}

.blog-card__meta{
    margin-bottom:10px;
    color:#8b5cf6;
    font-size:12px;
    font-weight:800;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.blog-card h3{
    margin:0 0 12px;
    font-size:22px;
    line-height:1.15;
    letter-spacing:-.03em;
}

.blog-card h3 a{
    color:var(--blog-ink);
    text-decoration:none;
}

.blog-card h3 a:hover{
    color:#6d28d9;
}

.blog-card p{
    margin:0 0 18px;
    color:var(--blog-muted);
    line-height:1.65;
}

.blog-empty{
    margin:34px 0;
    padding:36px;
    border-radius:28px;
    background:#fff;
    border:1px solid var(--blog-line);
    box-shadow:0 14px 40px rgba(15,23,42,.08);
}

.blog-empty h1,
.blog-empty h2{
    margin:0 0 10px;
    color:var(--blog-ink);
    letter-spacing:-.035em;
}

.blog-empty p{
    color:var(--blog-muted);
    line-height:1.7;
}

.blog-pagination{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:14px;
    margin-top:30px;
    color:var(--blog-muted);
    font-weight:700;
}

.blog-pagination a,
.blog-pagination span{
    padding:10px 14px;
    border-radius:999px;
    background:#fff;
    border:1px solid var(--blog-line);
    text-decoration:none;
}

.blog-pagination a{
    color:#6d28d9;
}

.blog-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:46px 0 28px;
    padding:32px;
    border-radius:30px;
    color:#fff;
    background:
        radial-gradient(circle at 14% 28%,rgba(255,255,255,.16),transparent 24%),
        linear-gradient(135deg,#111827,#312e81 58%,#7c2d12);
    box-shadow:0 24px 70px rgba(15,23,42,.18);
}

.blog-cta h2{
    margin:0 0 8px;
    font-size:clamp(26px,4vw,40px);
    line-height:1.06;
    letter-spacing:-.04em;
}

.blog-cta p{
    margin:0;
    max-width:680px;
    color:rgba(255,255,255,.78);
    line-height:1.7;
}

.blog-cta .blog-kicker{
    color:#fde68a;
}

.blog-cta .btn-outline{
    color:#fff;
    border-color:rgba(255,255,255,.4);
}

.blog-breadcrumbs{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:8px;
    margin:24px 0 18px;
    color:#94a3b8;
    font-size:14px;
}

.blog-breadcrumbs a{
    color:#6d28d9;
    text-decoration:none;
    font-weight:800;
}

.blog-post-shell{
    margin-bottom:40px;
}

.blog-post-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,.82fr);
    gap:30px;
    align-items:center;
    margin:0 0 34px;
    padding:34px;
    border-radius:34px;
    background:
        radial-gradient(circle at 10% 12%,rgba(245,158,11,.16),transparent 28%),
        linear-gradient(135deg,#fffaf2,#ffffff 48%,#eef2ff);
    border:1px solid var(--blog-line);
    box-shadow:var(--blog-shadow);
}

.blog-post-hero h1{
    margin:0 0 18px;
    color:var(--blog-ink);
    font-family:Georgia,'Times New Roman',serif;
    font-size:clamp(36px,5.5vw,70px);
    line-height:1.02;
    letter-spacing:-.05em;
}

.blog-post-hero p{
    margin:0;
    max-width:760px;
    color:#475569;
    font-size:18px;
    line-height:1.75;
}

.blog-post-cover{
    margin:0;
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(255,255,255,.7);
    box-shadow:0 24px 60px rgba(15,23,42,.18);
    background:#f8fafc;
}

.blog-post-cover img{
    display:block;
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
}

.blog-post-layout{
    display:grid;
    grid-template-columns:minmax(220px,300px) minmax(0,780px);
    gap:34px;
    align-items:start;
    justify-content:center;
}

.blog-post-sidebar{
    position:sticky;
    top:24px;
    display:grid;
    gap:16px;
}

.blog-side-card{
    padding:22px;
    border-radius:24px;
    background:#fff;
    border:1px solid var(--blog-line);
    box-shadow:0 14px 38px rgba(15,23,42,.08);
}

.blog-side-card strong{
    display:block;
    margin-bottom:8px;
    color:var(--blog-ink);
    font-size:18px;
    letter-spacing:-.02em;
}

.blog-side-card p{
    margin:0 0 14px;
    color:var(--blog-muted);
    line-height:1.65;
}

.blog-side-card--dark{
    color:#fff;
    background:linear-gradient(135deg,#111827,#4c1d95);
    border-color:rgba(255,255,255,.08);
}

.blog-side-card--dark strong,
.blog-side-card--dark .blog-readmore{
    color:#fff;
}

.blog-side-card--dark p{
    color:rgba(255,255,255,.74);
}

.blog-post-content{
    padding:40px;
    border-radius:30px;
    background:linear-gradient(180deg,#fff,#fffaf2);
    border:1px solid rgba(148,163,184,.22);
    box-shadow:0 20px 58px rgba(15,23,42,.09);
    color:#1f2937;
    font-family:Georgia,'Times New Roman',serif;
    font-size:20px;
    line-height:1.86;
}

.blog-post-content > *:first-child{
    margin-top:0;
}

.blog-post-content p{
    margin:0 0 22px;
}

.blog-post-content h2{
    margin:42px 0 16px;
    color:#111827;
    font-family:Inter,Arial,sans-serif;
    font-size:clamp(28px,4vw,40px);
    line-height:1.08;
    letter-spacing:-.045em;
}

.blog-post-content strong{
    color:#111827;
}

.blog-post-content blockquote{
    position:relative;
    margin:34px 0;
    padding:26px 28px;
    border-left:5px solid #f59e0b;
    border-radius:0 22px 22px 0;
    background:#fffbeb;
    color:#78350f;
    font-size:22px;
    line-height:1.65;
}

.blog-post-content a{
    color:#6d28d9;
    font-weight:700;
}

.blog-cta--post{
    margin-top:38px;
}

@media (max-width: 980px){
    .blog-hero,
    .blog-post-hero,
    .blog-post-layout{
        grid-template-columns:1fr;
    }

    .blog-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .blog-post-sidebar{
        position:static;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 720px){
    .page-blog main.container,
    .page-blog-post main.container{
        width:min(100% - 18px, 1180px);
    }

    .blog-hero,
    .blog-post-hero{
        margin-top:16px;
        padding:24px 18px;
        border-radius:26px;
    }

    .blog-hero h1,
    .blog-post-hero h1{
        font-size:clamp(32px,12vw,48px);
    }

    .blog-hero p,
    .blog-post-hero p{
        font-size:16px;
        line-height:1.65;
    }

    .blog-section-head,
    .blog-cta{
        align-items:flex-start;
        flex-direction:column;
    }

    .blog-grid,
    .blog-post-sidebar{
        grid-template-columns:1fr;
    }

    .blog-card__body{
        padding:18px;
    }

    .blog-post-content{
        padding:24px 18px;
        border-radius:24px;
        font-size:18px;
        line-height:1.82;
    }

    .blog-post-content blockquote{
        padding:20px;
        font-size:19px;
    }

    .blog-cta{
        padding:24px 20px;
        border-radius:26px;
    }

    .blog-pagination{
        flex-wrap:wrap;
    }
}

/* Buknear SEO growth blocks: related posts + catalog CTA */
.blog-book-finder{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
    margin:38px 0 28px;
    padding:30px;
    border-radius:30px;
    background:linear-gradient(135deg,#111827,#312e81);
    color:#fff;
    box-shadow:0 22px 70px rgba(17,24,39,.22);
}
.blog-book-finder h2{
    margin:6px 0 8px;
    font-size:clamp(26px,4vw,38px);
    line-height:1.08;
    letter-spacing:-.04em;
}
.blog-book-finder p{
    margin:0;
    color:rgba(255,255,255,.78);
    max-width:680px;
    line-height:1.7;
}
.blog-related{
    margin:42px 0 22px;
}
.blog-related-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}
.blog-related-card{
    overflow:hidden;
    border:1px solid rgba(148,163,184,.22);
    border-radius:26px;
    background:#fff;
    box-shadow:0 16px 42px rgba(15,23,42,.08);
}
.blog-related-card__image{
    display:block;
    aspect-ratio:16/10;
    background:#f8fafc;
    overflow:hidden;
}
.blog-related-card__image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .35s ease;
}
.blog-related-card:hover .blog-related-card__image img{
    transform:scale(1.04);
}
.blog-related-card div{
    padding:18px;
}
.blog-related-card span{
    display:block;
    margin-bottom:8px;
    color:#64748b;
    font-size:13px;
    font-weight:700;
}
.blog-related-card h3{
    margin:0 0 10px;
    font-size:19px;
    line-height:1.2;
    letter-spacing:-.025em;
}
.blog-related-card h3 a{
    color:#111827;
    text-decoration:none;
}
.blog-related-card h3 a:hover{
    color:#6d28d9;
}
.blog-related-card p{
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.55;
}

@media (max-width: 980px){
    .blog-related-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .blog-book-finder{
        align-items:flex-start;
        flex-direction:column;
    }
}

@media (max-width: 720px){
    .blog-related-grid{
        grid-template-columns:1fr;
    }
    .blog-book-finder{
        padding:24px 20px;
        border-radius:26px;
    }
    .blog-book-finder .btn{
        width:100%;
        justify-content:center;
    }
}
