/* ============================================================
   Blog post detail — .bp- scoped
   ============================================================ */

/* ── Banner: override the 250px bottom padding from 7350-en-in.css ── */
.blog-post-page .resource-banner {
    padding: 80px 20px 100px !important;
}

/* ── Container: add horizontal padding, fix the pull-up ── */
.blog-post-page .tf-layout {
    margin-top: -60px;
    position: relative;
    z-index: 2;
}

.blog-post-page .tf-container {
    padding: 0 30px;
}

/* ── Hero image ── */
.tf-preview img {
    width: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
    background: #e8f0f8;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

/* ── Article meta row ── */
.bp-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 0;
    font-family: var(--primary-semibold);
    font-size: 13px;
    color: #888;
}

.bp-meta-sep { color: #ccc; }
.bp-date, .bp-read-time { color: #888; }

/* ── Category tags ── */
.bp-tag {
    font-family: var(--primary-semibold);
    font-size: 11px;
    padding: 3px 11px;
    border-radius: 22px;
    white-space: nowrap;
}

.bp-tag--tips   { background: #E1F5EE; color: #085041; }
.bp-tag--update { background: #E6F1FB; color: #0C447C; }
.bp-tag--guide  { background: #EEEDFE; color: #3C3489; }

/* ── Article body typography ── */
.bp-content h3 {
    font: 32px/1.25 var(--primary-bold);
    color: #111;
    margin: 24px 0 16px;
}

.bp-content h4 {
    font: 18px/1.35 var(--primary-bold);
    color: #1a1a1a;
    margin: 28px 0 10px;
}

.bp-content p {
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #444 !important;
    margin-bottom: 16px !important;
}

/* ── Author bio ── */
.bp-author-bio {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 36px 0;
    padding: 20px 24px;
    background: #f7f9fc;
    border-radius: 12px;
    border: 1px solid #e8edf3;
}

.bp-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #003e81;
    color: #fff;
    font: 14px/44px var(--primary-bold);
    text-align: center;
    flex-shrink: 0;
}

.bp-author-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.bp-author-name {
    font: 14px/1 var(--primary-bold);
    color: #111;
}

.bp-author-role {
    font: 12px/1 var(--primary-semibold);
    color: #888;
}

/* ── Related posts ── */
.bp-related {
    margin-top: 40px;
}

.bp-related-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.bp-related-card:hover {
    border-color: #003e81;
    box-shadow: 0 4px 16px rgba(0,62,129,0.08);
}

.bp-related-card h4 {
    font: 14px/1.45 var(--primary-bold);
    color: #111;
    margin: 0;
}

/* ── Share icons ── */
.bp-share {
    display: flex;
    gap: 10px;
}

.bp-share-link {
    font-size: 15px;
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}

.bp-share-link:hover { color: #003e81; }

/* ── Back to blog ── */
.bp-back {
    margin-top: 20px;
    text-align: center;
}

.bp-back a {
    font: 13px/1 var(--primary-semibold);
}

/* ── RESPONSIVE ── */

/* Tablet */
@media (max-width: 992px) {
    .blog-post-page .tf-container {
        padding: 0 24px;
    }

    .blog-post-page .tf-layout {
        margin-top: -40px;
    }

    .bp-content h3 { font-size: 26px; }
    .bp-content h4 { font-size: 16px; }

    .tf-resources.bp-related {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .blog-post-page .resource-banner {
        padding: 50px 20px 80px !important;
    }

    .blog-post-page .tf-layout {
        margin-top: -30px;
        padding: 0 0 40px;
    }

    .blog-post-page .tf-container {
        padding: 0 16px;
    }

    .bp-content h3 { font-size: 22px; }
    .bp-content h4 { font-size: 15px; }

    .bp-author-bio {
        flex-direction: column;
        text-align: center;
    }

    .bp-share { justify-content: center; }
    .bp-meta  { justify-content: center; }

    .tf-resources.bp-related {
        grid-template-columns: 1fr !important;
    }

    .tf-container { padding: 0 16px !important; }
}