/* ==========================================================================
   Placements Adda – Blog single (article) page (scoped .bs-wrap)
   Uses helpers from pa-placements.css (hero/skel) and pa-blog.css (.bg-card/.bg-grid)
   ========================================================================== */
.bs-wrap { --bs-w: 760px; }
.bs-wrap .bs-hero { padding: 140px 0 110px; }
.bs-wrap .bs-hero__inner { width: min(980px, 92%); margin-inline: auto; position: relative; z-index: 2; text-align: left; }
.bs-wrap .bs-hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; margin: 1rem 0 1.2rem; max-width: 900px; }
.bs-wrap .pa-crumbs { margin-bottom: 1.4rem; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.bs-wrap .pa-crumbs span[aria-current] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 340px; }
.bs-meta { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin: 0; font: 500 .9rem 'Inter', sans-serif; color: rgba(255, 255, 255, .8); }
.bs-meta i { color: #ffa24d; margin-right: .35rem; }

.bs-main { position: relative; padding: 0 0 80px; background: url('../images/hero/pa_overview_bg.jpg') center / cover no-repeat, #f4f3fc; }
.bs-layout { width: min(1180px, 92%); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 2rem; align-items: start; position: relative; z-index: 3; margin-top: -60px; }

/* article card */
.bs-article { background: #fff; border-radius: 28px; border: 1px solid var(--pl-line); box-shadow: 0 40px 70px -40px rgba(11, 16, 48, .5); padding: 14px 14px 2.2rem; overflow: hidden; min-width: 0; }
.bs-cover { margin: 0 0 2rem; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 8; background: linear-gradient(160deg, #0b1030, #151f55); box-shadow: 0 24px 40px -26px rgba(11, 16, 48, .6); }
.bs-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bs-content { max-width: var(--bs-w); margin-inline: auto; padding: 0 1.4rem; font: 400 1.07rem/1.95 'Inter', sans-serif; color: #36405a; word-wrap: break-word; overflow-wrap: anywhere; }
.bs-content > *:first-child { margin-top: 0; }
.bs-content p { margin: 0 0 1.4rem; text-align: left !important; }
.bs-content > p:first-of-type { font-size: 1.15rem; color: #1f2a44; padding-left: 1.1rem; border-left: 3px solid var(--pl-orange); }
.bs-content h1, .bs-content h2, .bs-content h3, .bs-content h4 { font-family: 'Outfit', sans-serif; color: var(--pl-navy); letter-spacing: -.02em; line-height: 1.3; margin: 2.4rem 0 1rem; text-transform: none; }
.bs-content h2 { font-size: 1.7rem; position: relative; padding-bottom: .6rem; }
.bs-content h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 4px; background: var(--pl-grad); }
.bs-content h3 { font-size: 1.35rem; } .bs-content h4 { font-size: 1.15rem; }
.bs-content a { color: var(--pl-orange); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bs-content img { max-width: 100%; height: auto !important; border-radius: 16px; margin: 1.2rem 0; box-shadow: 0 20px 36px -24px rgba(11, 16, 48, .5); }
.bs-content ul, .bs-content ol { margin: 0 0 1.5rem; padding-left: 1.4rem; }
.bs-content li { margin-bottom: .55rem; padding-left: .3rem; }
.bs-content li::marker { color: var(--pl-orange); font-weight: 700; }
.bs-content blockquote { margin: 1.8rem 0; padding: 1.2rem 1.5rem; border-radius: 0 18px 18px 0; border-left: 4px solid var(--pl-orange); background: #fff8f1; color: #4a3a2a; font-style: italic; }
.bs-content table { width: 100%; display: block; overflow-x: auto; border-collapse: collapse; margin: 1.6rem 0; font-size: .95rem; }
.bs-content th, .bs-content td { padding: .7rem .9rem; border: 1px solid var(--pl-line); }
.bs-content th { background: var(--pl-light); color: var(--pl-navy); text-align: left; }
.bs-content pre { background: #0b1030; color: #e6e9ff; padding: 1.1rem 1.3rem; border-radius: 16px; overflow-x: auto; font-size: .9rem; line-height: 1.7; }
.bs-content code { background: #f1f3fb; padding: .1rem .4rem; border-radius: 6px; font-size: .92em; }
.bs-content pre code { background: transparent; padding: 0; }
.bs-content iframe, .bs-content video { max-width: 100%; border-radius: 16px; }
.bs-skel i { display: block; height: 18px; margin: 1.4rem 1.4rem; border-radius: 9px; background: linear-gradient(100deg, #eceffa 30%, #f8f9ff 50%, #eceffa 70%) 0 0 / 200% 100%; animation: pl-shim 1.3s linear infinite; }
.bs-skel i:nth-child(2) { width: 80%; } .bs-skel i:nth-child(3) { width: 60%; }
.bs-err { padding: 2rem; text-align: center; color: var(--pl-muted); }

/* sidebar */
.bs-side { position: sticky; top: 110px; display: grid; gap: 1.2rem; }
.bs-box { padding: 1.4rem 1.4rem 1.5rem; border-radius: 22px; background: #fff; border: 1px solid var(--pl-line); box-shadow: 0 24px 44px -32px rgba(15, 23, 42, .4); }
.bs-box h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; font: 700 1.02rem 'Outfit', sans-serif; color: var(--pl-navy); text-transform: none; }
.bs-box h3 i { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: .78rem; color: #fff; background: var(--pl-grad); }
.bs-share { display: flex; flex-wrap: wrap; gap: .55rem; }
.bs-share a, .bs-share button { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--pl-line); background: var(--pl-light); color: var(--pl-navy); cursor: pointer; font-size: 1rem; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.bs-share a:hover, .bs-share button:hover { transform: translateY(-3px); color: #fff; background: var(--pl-grad); border-color: transparent; }
.bs-share button.is-done { color: #fff; background: #16a34a; border-color: transparent; }
.bs-tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.bs-tags span { padding: .35rem .8rem; border-radius: 999px; font: 600 .78rem 'Inter', sans-serif; color: var(--pl-navy); background: var(--pl-light); border: 1px solid var(--pl-line); transition: color .25s, border-color .25s, background .25s; }
.bs-tags span:hover { color: var(--pl-orange); border-color: rgba(255, 122, 0, .4); background: #fff8f1; }
.bs-box--cta { position: relative; overflow: hidden; color: #fff; border: 0; background: radial-gradient(260px 160px at 100% 0%, rgba(255, 122, 0, .42), transparent 70%), linear-gradient(160deg, #0b1030, #151f55); }
.bs-box--cta h3 { color: #fff; font-size: 1.15rem; margin-bottom: .5rem; }
.bs-box--cta p { margin: 0 0 1.1rem; color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.6; }
.bs-box--cta .pa-btn { width: 100%; justify-content: center; }
.bs-link { display: block; margin-top: .9rem; text-align: center; color: #ffb06b; font: 600 .85rem 'Inter', sans-serif; text-decoration: none !important; }
.bs-link:hover { color: #fff; }

/* related */
.bs-related { padding: 20px 0 90px; background: linear-gradient(180deg, #f4f3fc, #fff); }
.bs-related .pa-container { width: min(1180px, 92%); margin-inline: auto; }
.bs-related__title { margin: 0 0 1.6rem; font: 800 clamp(1.5rem, 3vw, 2.1rem) 'Outfit', sans-serif; color: var(--pl-navy); text-align: center; text-transform: none; }
.bs-related .bg-card h3 { margin: 0; font: 700 1.1rem/1.35 'Outfit', sans-serif; color: var(--pl-navy); text-transform: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bs-related .bg-card:hover h3 { color: var(--pl-orange); }

@media (max-width: 991px) {
  .bs-layout { grid-template-columns: 1fr; margin-top: -50px; }
  .bs-side { position: static; }
  .bs-wrap .bs-hero { padding: 120px 0 100px; }
}
@media (max-width: 575px) {
  .bs-content { padding: 0 .6rem; font-size: 1rem; line-height: 1.85; }
  .bs-article { border-radius: 20px; padding: 10px 10px 1.6rem; }
  .bs-content h2 { font-size: 1.4rem; }
}
