/* ==========================================================================
   Blog Post (Article) Styles - Host Smartly
   Editorial layout: warm beige palette + kepple-green brand.
   Optimised for readability, CLS-free rendering, and Core Web Vitals.
   ========================================================================== */

/* ------------------------------------------------------------------
   1. ARTICLE HERO
   ------------------------------------------------------------------ */

.bp-hero {
    background: linear-gradient(180deg, var(--beige-100) 0%, var(--beige-200) 70%, #fff 100%);
    position: relative;
    overflow: hidden;
    padding-top: 160px;     /* below sticky nav */
    padding-bottom: 0;
}

.bp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(16, 117, 105, 0.04) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 70%, rgba(229, 217, 182, 0.45) 0%, transparent 50%);
    pointer-events: none;
}

/* Breadcrumb */
.bp-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 28px;
}

.bp-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.bp-breadcrumb a:hover { color: var(--kepple-700); }

.bp-breadcrumb-sep {
    color: var(--neutral-300);
    font-size: 11px;
}

.bp-breadcrumb-current {
    color: var(--text-dark);
    font-weight: 500;
}

/* Category badge */
.bp-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 117, 105, 0.08);
    border: 1px solid rgba(16, 117, 105, 0.18);
    color: var(--kepple-700);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 20px;
    transition: all 0.25s ease;
}

.bp-category-badge:hover {
    background: rgba(16, 117, 105, 0.14);
    color: var(--kepple-700);
}

/* Urgency label */
.bp-urgency-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 10px;
    vertical-align: middle;
}

/* Hero heading */
.bp-hero-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--heading);
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
    max-width: 820px;
}

.bp-hero-title em {
    font-style: normal;
    color: var(--kepple-700);
    position: relative;
}

.bp-hero-subtitle {
    font-size: 20px;
    color: var(--text-color);
    line-height: 1.65;
    max-width: 640px;
    margin-bottom: 32px;
}

/* Author row */
.bp-author-row {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--beige-400);
}

.bp-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bp-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--kepple-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.bp-author-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    display: block;
}

.bp-author-role {
    font-size: 13px;
    color: var(--text-light);
    display: block;
}

.bp-meta-pills {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.bp-meta-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
}

.bp-meta-pill svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Social share mini */
.bp-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.bp-share-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bp-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: white;
    border: 1px solid var(--neutral-200);
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.25s ease;
}

.bp-share-btn:hover {
    border-color: var(--kepple-500);
    color: var(--kepple-700);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 117, 105, 0.12);
}

/* Hero image */
.bp-hero-image-wrap {
    margin-top: 44px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    position: relative;
    /* Explicit aspect ratio — prevents CLS */
    aspect-ratio: 21 / 9;
    max-height: 520px;
    background: var(--beige-200); /* placeholder color while loading */
}

.bp-hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Article body lead image */
.bp-article-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 21 / 9;
    max-height: 480px;
    margin-top: 44px;
    margin-bottom: 44px;
    background: var(--beige-200);
}

.bp-article-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Image caption overlay strip */
.bp-image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(18, 22, 33, 0.72) 0%, transparent 100%);
    padding: 32px 32px 20px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    font-style: italic;
}

/* ------------------------------------------------------------------
   2. READING PROGRESS BAR
   ------------------------------------------------------------------ */
.bp-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--kepple-gradient-primary);
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ------------------------------------------------------------------
   3. ARTICLE LAYOUT: CONTENT + STICKY SIDEBAR
   ------------------------------------------------------------------ */
.bp-article-wrapper {
    padding: 0 0 80px;
}

.bp-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

/* ------------------------------------------------------------------
   4. ARTICLE BODY TYPOGRAPHY
   ------------------------------------------------------------------ */
.bp-article-body {
    min-width: 0; /* prevent grid overflow */
}

/* Key stats strip */
.bp-stats-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    background: var(--neutral-100);
    border-radius: 16px;
    overflow: hidden;
    margin: 44px 0 48px;
    border: 1px solid var(--neutral-200);
}

.bp-stat-item {
    background: white;
    padding: 24px 20px;
    text-align: center;
}

.bp-stat-item:first-child { border-radius: 16px 0 0 16px; }
.bp-stat-item:last-child  { border-radius: 0 16px 16px 0; }

.bp-stat-value {
    font-family: 'Gilroy', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--kepple-700);
    line-height: 1;
    display: block;
    margin-bottom: 6px;
}

.bp-stat-value.danger { color: #dc3545; }

.bp-stat-label {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1.4;
}

/* Section headings inside article */
.bp-article-body h2 {
    font-family: 'Gilroy', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--heading);
    line-height: 1.25;
    margin: 52px 0 20px;
    padding-top: 8px;
    letter-spacing: -0.5px;
    scroll-margin-top: 90px; /* offset for sticky nav */
}

.bp-article-body h2:first-child { margin-top: 0; }

.bp-article-body h3 {
    font-family: 'Gilroy', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    margin: 36px 0 14px;
    scroll-margin-top: 90px;
}

.bp-article-body h4 {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 28px 0 10px;
}

.bp-article-body p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 22px;
}

.bp-article-body strong {
    color: var(--text-dark);
    font-weight: 600;
}

.bp-article-body a {
    color: var(--kepple-700);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.bp-article-body a:hover { color: var(--kepple-600); }

/* Lists */
.bp-article-body ul,
.bp-article-body ol {
    margin: 0 0 22px 0;
    padding: 0;
    list-style: none;
}

.bp-article-body ul li,
.bp-article-body ol li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color);
}

.bp-article-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--kepple-500);
}

.bp-article-body ol {
    counter-reset: bp-counter;
}

.bp-article-body ol li {
    counter-increment: bp-counter;
}

.bp-article-body ol li::before {
    content: counter(bp-counter);
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    background: var(--kepple-gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Callout / Alert boxes */
.bp-callout {
    display: flex;
    gap: 16px;
    padding: 22px 24px;
    border-radius: 14px;
    margin: 32px 0;
    border-left: 4px solid;
}

.bp-callout-icon {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1.4;
}

.bp-callout-body { flex: 1; min-width: 0; }

.bp-callout-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.bp-callout-text {
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.bp-callout.danger {
    background: #fff5f5;
    border-color: #dc3545;
}

.bp-callout.danger .bp-callout-title { color: #8b2635; }
.bp-callout.danger .bp-callout-text  { color: #5c3033; }

.bp-callout.warning {
    background: #fffbf0;
    border-color: #fb9c0c;
}

.bp-callout.warning .bp-callout-title { color: #7a4f00; }
.bp-callout.warning .bp-callout-text  { color: #614012; }

.bp-callout.success {
    background: var(--kepple-50);
    border-color: var(--kepple-500);
}

.bp-callout.success .bp-callout-title { color: var(--kepple-800); }
.bp-callout.success .bp-callout-text  { color: var(--kepple-900); }

.bp-callout.info {
    background: #f0f9ff;
    border-color: #04aad6;
}

.bp-callout.info .bp-callout-title { color: #025e77; }
.bp-callout.info .bp-callout-text  { color: #034a5e; }

/* Blockquote / pull quote */
.bp-pullquote {
    margin: 36px 0;
    padding: 28px 32px;
    border-left: 4px solid var(--kepple-500);
    background: var(--beige-100);
    border-radius: 0 12px 12px 0;
}

.bp-pullquote p {
    font-family: 'Gilroy', sans-serif;
    font-size: 22px;
    font-weight: 600;
    font-style: italic;
    color: var(--heading);
    line-height: 1.45;
    margin: 0;
}

.bp-pullquote cite {
    display: block;
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
    font-style: normal;
}

/* Fine / penalty cards */
.bp-fine-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
}

.bp-fine-card {
    background: white;
    border-radius: 14px;
    border: 1px solid var(--neutral-200);
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.bp-fine-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #dc3545;
}

.bp-fine-card:hover {
    box-shadow: 0 8px 28px rgba(220, 53, 69, 0.1);
}

.bp-fine-city {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-fine-flag { font-size: 20px; }

.bp-fine-amount {
    font-family: 'Gilroy', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #dc3545;
    line-height: 1;
    display: block;
    margin: 12px 0 8px;
}

.bp-fine-desc {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* Alternatives comparison table */
.bp-comparison {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--neutral-200);
    margin: 36px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.bp-comparison table {
    width: 100%;
    border-collapse: collapse;
}

.bp-comparison thead tr th {
    padding: 16px 20px;
    font-family: 'Gilroy', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-align: left;
    border-bottom: 2px solid var(--neutral-200);
}

.bp-comparison thead .col-criteria { background: var(--neutral-50); color: var(--text-dark); }
.bp-comparison thead .col-lockbox  { background: #fff5f5; color: #8b2635; }
.bp-comparison thead .col-smart    { background: var(--kepple-50); color: var(--kepple-800); }

.bp-comparison tbody tr td {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--neutral-100);
    vertical-align: top;
    line-height: 1.5;
}

.bp-comparison tbody tr:last-child td { border-bottom: none; }

.bp-comparison .col-criteria {
    background: var(--neutral-50);
    color: var(--text-dark);
    font-weight: 500;
}

.bp-comparison .col-lockbox  { background: #fff9f9; color: var(--text-color); }
.bp-comparison .col-smart    { background: #f0fdf9; color: var(--text-color); }

.bp-check { color: var(--kepple-600); font-weight: 700; }
.bp-cross  { color: #dc3545; font-weight: 700; }

/* Step cards — how it works */
.bp-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 32px 0;
    position: relative;
}

.bp-steps::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 48px;
    bottom: 48px;
    width: 2px;
    background: linear-gradient(180deg, var(--kepple-300) 0%, var(--kepple-600) 100%);
}

.bp-step {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

.bp-step-num {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--kepple-gradient-primary);
    color: white;
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(16, 117, 105, 0.3);
}

.bp-step-content { flex: 1; padding-top: 10px; }

.bp-step-content h4 {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    margin: 0 0 8px;
}

.bp-step-content p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-color);
    margin: 0;
}

/* FAQ accordion */
.bp-faq-list {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--neutral-200);
}

.bp-faq-item {
    border-bottom: 1px solid var(--neutral-200);
}

.bp-faq-item:last-child { border-bottom: none; }

.bp-faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--heading);
    transition: background 0.2s ease;
}

.bp-faq-question:hover { background: var(--beige-50); }

.bp-faq-question[aria-expanded="true"] {
    background: var(--kepple-50);
    color: var(--kepple-800);
}

.bp-faq-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.bp-faq-question[aria-expanded="true"] .bp-faq-icon {
    background: var(--kepple-500);
    color: white;
    transform: rotate(45deg);
}

.bp-faq-icon svg { width: 14px; height: 14px; }

.bp-faq-answer {
    display: none;
    padding: 0 24px 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--kepple-50);
}

.bp-faq-answer.open { display: block; }

/* CTA banner inside article */
.bp-inline-cta {
    background: var(--kepple-gradient-primary);
    border-radius: 20px;
    padding: 40px 40px;
    margin: 44px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.bp-inline-cta::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.bp-inline-cta::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -30px;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.bp-inline-cta h3 {
    font-family: 'Gilroy', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: white;
    margin: 0 0 12px;
    position: relative;
    z-index: 1;
}

.bp-inline-cta p {
    color: rgba(255,255,255,0.82);
    font-size: 16px;
    margin: 0 0 28px;
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.bp-inline-cta .bp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: white;
    color: var(--kepple-800);
    padding: 14px 32px;
    border-radius: 10px;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.bp-inline-cta .bp-cta-btn:hover {
    background: var(--beige-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--kepple-800);
}

.bp-inline-cta .bp-cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.bp-inline-cta .bp-cta-btn:hover svg { transform: translateX(4px); }

/* Article tags / related topics */
.bp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 32px 0;
    border-top: 1px solid var(--neutral-200);
    margin-top: 48px;
}

.bp-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--neutral-50);
    border: 1px solid var(--neutral-200);
    border-radius: 100px;
    font-size: 13px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.25s ease;
}

.bp-tag:hover {
    border-color: var(--kepple-400);
    color: var(--kepple-700);
    background: var(--kepple-50);
}

/* Author bio box */
.bp-author-bio {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: var(--beige-100);
    border-radius: 16px;
    margin-top: 16px;
    border: 1px solid var(--beige-400);
}

.bp-author-bio-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--kepple-gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.bp-author-bio-content { flex: 1; min-width: 0; }

.bp-author-bio-name {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--heading);
    display: block;
    margin-bottom: 4px;
}

.bp-author-bio-role {
    font-size: 13px;
    color: var(--kepple-700);
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.bp-author-bio-text {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-color);
    margin: 0;
}

/* ------------------------------------------------------------------
   5. STICKY SIDEBAR
   ------------------------------------------------------------------ */
.bp-sidebar {
    position: sticky;
    top: 90px;  /* below sticky nav */
}

.bp-sidebar-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--neutral-200);
    padding: 28px;
    margin-top: 44px;
    margin-bottom: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* Table of contents */
.bp-toc-title {
    font-family: 'Gilroy', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-toc-title svg { width: 16px; height: 16px; color: var(--kepple-600); }

.bp-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bp-toc-list li {
    margin-bottom: 4px;
}

.bp-toc-list a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    border-left: 2px solid transparent;
    transition: all 0.2s ease;
    line-height: 1.4;
}

.bp-toc-list a:hover {
    background: var(--beige-100);
    color: var(--kepple-700);
    border-left-color: var(--kepple-400);
}

.bp-toc-list a.active {
    background: var(--kepple-50);
    color: var(--kepple-700);
    border-left-color: var(--kepple-500);
    font-weight: 600;
}

.bp-toc-list .toc-h3 a { padding-left: 22px; font-size: 13px; }

/* Sidebar CTA */
.bp-sidebar-cta {
    background: var(--kepple-gradient-primary);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    margin-bottom: 24px;
}

.bp-sidebar-cta h4 {
    font-family: 'Gilroy', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
}

.bp-sidebar-cta p {
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 20px;
}

.bp-sidebar-cta a {
    display: block;
    background: white;
    color: var(--kepple-800);
    padding: 12px 20px;
    border-radius: 10px;
    font-family: 'Gilroy', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.bp-sidebar-cta a:hover {
    background: var(--beige-100);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    color: var(--kepple-800);
}

.bp-sidebar-cta .cta-sub {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,0.65);
    margin-top: 12px;
}

/* Related posts sidebar */
.bp-related-post {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    text-decoration: none;
    border-bottom: 1px solid var(--neutral-100);
    transition: all 0.25s ease;
}

.bp-related-post:last-child { border-bottom: none; padding-bottom: 0; }
.bp-related-post:first-child { padding-top: 0; }

.bp-related-post:hover { opacity: 0.8; }

.bp-related-post-img {
    width: 64px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--beige-200);
}

.bp-related-post-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bp-related-post-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.bp-related-post-date {
    font-size: 12px;
    color: var(--text-light);
}

/* ------------------------------------------------------------------
   6. RELATED ARTICLES STRIP (bottom of page)
   ------------------------------------------------------------------ */
.bp-related-section {
    background: var(--beige-100);
    padding: 80px 0;
    border-top: 1px solid var(--beige-300);
}

.bp-related-section .section-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--kepple-700);
    display: block;
    margin-bottom: 8px;
}

.bp-related-section h2 {
    font-family: 'Gilroy', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.bp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ------------------------------------------------------------------
   7. RESPONSIVE
   ------------------------------------------------------------------ */

@media (max-width: 1199px) {
    .bp-layout {
        grid-template-columns: 1fr 300px;
        gap: 44px;
    }

    .bp-hero-title { font-size: 44px; }
}

@media (max-width: 991px) {
    .bp-layout {
        grid-template-columns: 1fr;
    }

    .bp-sidebar {
        position: static;
        /* Move sidebar to bottom on mobile by reordering */
        display: none; /* Hide sidebar on mobile to keep focus on content */
    }

    .bp-hero-title { font-size: 38px; }
    .bp-hero-subtitle { font-size: 18px; }

    .bp-stats-strip { grid-template-columns: repeat(3, 1fr); }

    .bp-fine-grid { grid-template-columns: 1fr; }

    .bp-related-grid { grid-template-columns: repeat(2, 1fr); }

    .bp-hero { padding-top: 130px; }
}

@media (max-width: 767px) {
    .bp-hero { padding-top: 110px; }

    .bp-hero-title {
        font-size: 30px;
        letter-spacing: -0.5px;
    }

    .bp-hero-subtitle { font-size: 17px; }

    .bp-author-row { gap: 16px; }

    .bp-share-row { margin-left: 0; }

    .bp-stats-strip {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .bp-stat-item:first-child { border-radius: 16px 16px 0 0; }
    .bp-stat-item:last-child  { border-radius: 0 0 16px 16px; }

    .bp-article-body h2 { font-size: 26px; }
    .bp-article-body h3 { font-size: 20px; }

    .bp-hero-image-wrap { border-radius: 12px 12px 0 0; }

    .bp-image-caption { padding: 24px 20px 14px; }

    .bp-comparison { overflow-x: auto; }
    .bp-comparison table { min-width: 480px; }

    .bp-inline-cta { padding: 28px 24px; }
    .bp-inline-cta h3 { font-size: 22px; }

    .bp-related-grid { grid-template-columns: 1fr; }

    .bp-author-bio { flex-direction: column; text-align: center; }
    .bp-author-bio-avatar { margin: 0 auto; }
}

@media (max-width: 480px) {
    .bp-hero-title { font-size: 26px; }
    .bp-meta-pills { gap: 10px; }
    .bp-pullquote p { font-size: 18px; }
}
