/* ================================================================
   Lee Info Solutions — Blog styles (extends /assets/css/style.css)
   ================================================================ */

.bp-hero { padding-bottom: 50px; }
.bp-hero .section-desc { max-width: 620px; }

/* ── Search ─────────────────────────────────────────────────────── */
.bp-search { display: flex; background: var(--surface); border: 1px solid var(--border-2); border-radius: 50px; overflow: hidden; transition: var(--transition); }
.bp-search:focus-within { border-color: var(--pink); box-shadow: 0 0 0 4px rgba(224,33,138,.12); }
.bp-search input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--white); padding: 12px 20px; font-size: .92rem; outline: none; }
.bp-search input::placeholder { color: var(--muted); }
.bp-search button { background: var(--pink); color: #fff; border: 0; width: 50px; flex-shrink: 0; transition: var(--transition); }
.bp-search button:hover { background: var(--pink-dark); }
.bp-search-hero { max-width: 460px; margin-left: auto; }
.bp-search-hero input { padding: 15px 24px; }
@media (max-width: 991px) { .bp-search-hero { margin-left: 0; } }

/* ── Category bar ───────────────────────────────────────────────── */
.bp-cat-bar { display: flex; gap: 8px; flex-wrap: wrap; position: relative; z-index: 1; }
.bp-cat-bar a { padding: 8px 18px; border-radius: 50px; border: 1px solid var(--border-2); color: var(--muted-2); font-size: .82rem; font-weight: 500; background: var(--surface); }
.bp-cat-bar a:hover, .bp-cat-bar a.active { background: var(--pink); border-color: var(--pink); color: #fff; }

/* ── Cards ──────────────────────────────────────────────────────── */
.bp-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.bp-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 991px) { .bp-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bp-grid, .bp-grid.three { grid-template-columns: 1fr; } }

.bp-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: var(--transition); }
.bp-card:hover { border-color: rgba(224,33,138,.3); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.bp-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--surface-2); }
.bp-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bp-card:hover .bp-card-img img { transform: scale(1.05); }
.bp-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.bp-card-title { font-size: 1.2rem; line-height: 1.35; margin: 12px 0 10px; }
.bp-card-title a { color: var(--white); }
.bp-card-title a:hover { color: var(--pink); }
.bp-card-excerpt { color: var(--muted-2); font-size: .9rem; line-height: 1.7; margin-bottom: 18px; }
.bp-readmore { margin-top: auto; font-size: .85rem; font-weight: 600; color: var(--pink); display: inline-flex; gap: 8px; align-items: center; }
.bp-readmore i { transition: transform .3s; }
.bp-card:hover .bp-readmore i { transform: translateX(4px); }

.bp-card-lg { flex-direction: row; }
.bp-card-lg .bp-card-img { flex: 0 0 56%; aspect-ratio: auto; min-height: 360px; }
.bp-card-lg .bp-card-body { padding: 40px; justify-content: center; }
.bp-card-lg .bp-card-title { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.bp-card-lg .bp-card-excerpt { font-size: 1rem; }
.bp-card-lg .bp-readmore { margin-top: 8px; }
@media (max-width: 991px) {
    .bp-card-lg { flex-direction: column; }
    .bp-card-lg .bp-card-img { min-height: 0; aspect-ratio: 16/9; }
    .bp-card-lg .bp-card-body { padding: 26px; }
}

.bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: .78rem; color: var(--muted); }
.bp-meta i { margin-right: 4px; }
.bp-chip { display: inline-block; padding: 4px 12px; border-radius: 50px; background: rgba(224,33,138,.12); color: var(--pink); font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.bp-chip:hover { background: var(--pink); color: #fff; }

.bp-empty { text-align: center; padding: 70px 20px; background: var(--surface); border: 1px dashed var(--border-2); border-radius: var(--radius-lg); }
.bp-empty i { font-size: 2.6rem; color: var(--muted); margin-bottom: 16px; }
.bp-empty h2 { font-size: 1.5rem; }
.bp-empty p { color: var(--muted-2); margin-bottom: 22px; }

/* ── Pagination ─────────────────────────────────────────────────── */
.bp-pagination ul { list-style: none; padding: 0; margin: 48px 0 0; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.bp-pagination a, .bp-pagination span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--border-2); color: var(--muted-2); background: var(--surface); font-weight: 600; font-size: .9rem; }
.bp-pagination a:hover { border-color: var(--pink); color: var(--pink); }
.bp-pagination .active { background: var(--pink); border-color: var(--pink); color: #fff; }
.bp-pagination .gap { color: var(--muted); display: grid; place-items: center; }

/* ── Sidebar ────────────────────────────────────────────────────── */
.bp-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 100px; }
.bp-widget { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.bp-widget-title { font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; }
.bp-cta-widget { background: linear-gradient(135deg, rgba(123,45,139,.28), rgba(224,33,138,.14)); border-color: rgba(224,33,138,.25); }
.bp-cta-widget h4 { font-size: 1.3rem; margin-bottom: 10px; }
.bp-cta-widget p { color: var(--muted-2); font-size: .88rem; margin-bottom: 18px; }
.bp-cta-widget .label-tag { margin-bottom: 10px; }
.bp-cat-list { list-style: none; padding: 0; margin: 0; }
.bp-cat-list a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--muted-2); border-bottom: 1px solid var(--border); font-size: .9rem; }
.bp-cat-list li:last-child a { border-bottom: 0; }
.bp-cat-list a:hover { color: var(--white); }
.bp-cat-list span { background: var(--surface-3); border-radius: 50px; padding: 0 10px; font-size: .75rem; line-height: 1.8; }
.bp-mini-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.bp-mini-list a { display: flex; gap: 12px; align-items: center; }
.bp-mini-list img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.bp-mini-list strong { display: block; color: var(--white); font-size: .86rem; font-weight: 600; line-height: 1.35; }
.bp-mini-list small { color: var(--muted); font-size: .74rem; }
.bp-mini-list a:hover strong { color: var(--pink); }
.bp-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-tags a, .bp-post-tags a { padding: 5px 12px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted-2); font-size: .78rem; }
.bp-tags a:hover, .bp-post-tags a:hover { border-color: var(--pink); color: var(--pink); }
@media (max-width: 991px) { .bp-sidebar { position: static; } }

/* ── Article ────────────────────────────────────────────────────── */
.bp-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 2000; pointer-events: none; }
.bp-progress span { display: block; height: 100%; width: 0; background: var(--gradient-h); }
.bp-preview-bar { background: var(--orange); color: #1a1000; text-align: center; padding: 10px 16px; font-size: .88rem; position: relative; z-index: 5; }
.bp-preview-bar a { color: #1a1000; text-decoration: underline; margin-left: 10px; font-weight: 600; }

.bp-post-hero { padding-bottom: 40px; }
.bp-post-hero .bp-chip { position: relative; z-index: 1; }
.bp-post-title { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.15; margin: 8px 0 16px; position: relative; z-index: 1; }
.bp-post-lead { color: var(--muted-2); font-size: 1.12rem; line-height: 1.75; max-width: 780px; position: relative; z-index: 1; }
.bp-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; color: var(--muted-2); font-size: .86rem; margin-top: 22px; position: relative; z-index: 1; }
.bp-post-meta i { margin-right: 5px; color: var(--muted); }
.bp-author-mini { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 600; }
.bp-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--gradient); color: #fff; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.bp-avatar.lg { width: 64px; height: 64px; font-size: 1.5rem; }
.bp-avatar.staff { box-shadow: 0 0 0 3px rgba(0,180,216,.35); }

.bp-post-section { padding: 40px 0 90px; }
.bp-post-cover { margin: 0 0 48px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1200/560; background: var(--surface-2); }
.bp-post-cover img { width: 100%; height: 100%; object-fit: cover; }

.bp-content { color: #d4d4e4; font-size: 1.07rem; line-height: 1.9; }
.bp-content > * + * { margin-top: 1.25em; }
.bp-content h2, .bp-content h3, .bp-content h4 { color: var(--white); scroll-margin-top: 110px; }
.bp-content h2 { font-size: 1.85rem; margin-top: 1.9em; }
.bp-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.bp-content h4 { font-size: 1.15rem; margin-top: 1.4em; font-family: var(--font-body); }
.bp-content a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0,180,216,.4); }
.bp-content a:hover { color: var(--pink); }
.bp-content strong { color: var(--white); }
.bp-content ul, .bp-content ol { padding-left: 1.4em; }
.bp-content li + li { margin-top: .5em; }
.bp-content li::marker { color: var(--pink); }
.bp-content img { border-radius: var(--radius); margin: 1.5em auto; height: auto; }
.bp-content figure { margin: 1.8em 0; }
.bp-content figcaption { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 8px; }
.bp-content blockquote { border-left: 3px solid var(--pink); background: var(--surface); padding: 20px 26px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1.12rem; color: var(--white); font-style: italic; }
.bp-content blockquote p:last-child { margin-bottom: 0; }
.bp-content pre { background: #0a0a16; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; overflow-x: auto; font-size: .88rem; }
.bp-content code { background: var(--surface-2); color: var(--orange); padding: 2px 6px; border-radius: 4px; font-size: .9em; }
.bp-content pre code { background: none; color: #e6e6f0; padding: 0; }
.bp-content table { width: 100%; border-collapse: collapse; font-size: .94rem; display: block; overflow-x: auto; }
.bp-content th, .bp-content td { border: 1px solid var(--border-2); padding: 11px 14px; text-align: left; vertical-align: top; }
.bp-content th { background: var(--surface-2); color: var(--white); font-weight: 600; }
.bp-content hr { border: 0; border-top: 1px solid var(--border-2); margin: 2.4em 0; }
.bp-content iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--radius); }
.bp-content .callout { background: linear-gradient(135deg, rgba(123,45,139,.22), rgba(224,33,138,.1)); border: 1px solid rgba(224,33,138,.25); border-radius: var(--radius); padding: 22px 26px; }

.bp-toc { list-style: none; counter-reset: toc; padding: 0; margin: 0; font-size: .88rem; }
.bp-toc li { padding: 6px 0; }
.bp-toc li.lvl-3 { padding-left: 16px; font-size: .83rem; }
.bp-toc a { color: var(--muted-2); display: block; border-left: 2px solid transparent; padding-left: 10px; }
.bp-toc a:hover, .bp-toc a.active { color: var(--white); border-left-color: var(--pink); }
.bp-toc-widget { max-height: calc(100vh - 140px); overflow-y: auto; }
.bp-toc-inline { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 28px; }
.bp-toc-inline summary { cursor: pointer; font-weight: 600; color: var(--white); margin-bottom: 6px; }

.bp-post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--border); }
.bp-post-tags > i { color: var(--muted); margin-right: 4px; }

.bp-share { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.bp-share span { color: var(--muted-2); font-size: .85rem; font-weight: 600; margin-right: 6px; }
.bp-share a, .bp-share button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); color: var(--muted-2); transition: var(--transition); }
.bp-share a:hover, .bp-share button:hover { color: #fff; transform: translateY(-2px); }
.bp-share .wa:hover { background: #25d366; border-color: #25d366; }
.bp-share .fb:hover { background: #1877f2; border-color: #1877f2; }
.bp-share .li:hover { background: #0a66c2; border-color: #0a66c2; }
.bp-share .x:hover  { background: #000; border-color: #444; }
.bp-share button:hover, .bp-share button.copied { background: var(--pink); border-color: var(--pink); color: #fff; }

.bp-author-box { display: flex; gap: 20px; align-items: flex-start; margin-top: 40px; padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.bp-author-box small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .7rem; font-weight: 700; }
.bp-author-box h3 { font-size: 1.25rem; margin: 2px 0 8px; }
.bp-author-box p { color: var(--muted-2); font-size: .92rem; margin: 0; }

.bp-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
.bp-prevnext a { padding: 20px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); color: var(--white); font-weight: 600; font-size: .94rem; line-height: 1.4; }
.bp-prevnext a:hover { border-color: var(--pink); }
.bp-prevnext small { display: block; color: var(--pink); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
@media (max-width: 575px) { .bp-prevnext { grid-template-columns: 1fr; } }

/* ── Comments ───────────────────────────────────────────────────── */
.bp-comments { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border); }
.bp-comments > h2 { font-size: 1.6rem; margin-bottom: 26px; }
.bp-comment { display: flex; gap: 16px; margin-bottom: 26px; }
.bp-comment.reply { margin: 20px 0 0; }
.bp-comment-body { flex: 1; min-width: 0; }
.bp-comment-head { font-size: .9rem; margin-bottom: 4px; }
.bp-comment-head strong { color: var(--white); }
.bp-comment-head time { color: var(--muted); font-size: .78rem; margin-left: 8px; }
.bp-comment-body p { color: var(--muted-2); font-size: .95rem; margin-bottom: 4px; overflow-wrap: anywhere; }
.bp-staff { background: rgba(0,180,216,.14); color: var(--teal); border-radius: 4px; font-size: .68rem; font-weight: 700; padding: 2px 7px; text-transform: uppercase; }
.bp-reply { background: none; border: 0; color: var(--muted); font-size: .8rem; padding: 0; }
.bp-reply:hover { color: var(--pink); }
.bp-comment-form { margin-top: 36px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }
.bp-comment-form h3 { font-size: 1.35rem; margin-bottom: 4px; }
.bp-comment-form .small { color: var(--muted); margin-bottom: 20px; }
.bp-input { width: 100%; background: var(--surface-2); border: 1px solid var(--border-2); color: var(--white); border-radius: 8px; padding: 13px 16px; font-size: .93rem; outline: none; transition: var(--transition); }
.bp-input:focus { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(224,33,138,.12); }
.bp-input::placeholder { color: var(--muted); }
.bp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bp-replying { background: var(--surface-2); border-radius: 8px; padding: 8px 14px; margin-bottom: 14px; font-size: .86rem; color: var(--muted-2); }
.bp-cancel-reply { background: none; border: 0; color: var(--pink); margin-left: 8px; font-size: .82rem; }
.bp-alert { padding: 13px 18px; border-radius: 8px; margin-bottom: 22px; font-size: .9rem; }
.bp-alert.success { background: rgba(0,180,216,.12); border: 1px solid rgba(0,180,216,.3); color: #8fe3f5; }
.bp-alert.danger { background: rgba(224,33,138,.12); border: 1px solid rgba(224,33,138,.3); color: #ff9dcf; }

.bp-related { background: var(--surface); border-top: 1px solid var(--border); }
