/* ==========================================================================
   Career Advice Hub. Editorial, reading first. Uses the site tokens:
   ink for type and major surfaces, paper backgrounds, amber only as an accent.
   All classes are prefixed bl-.
   ========================================================================== */

.bl-head .hx-label a { color: inherit; text-decoration: none; }
.bl-head-article h1 { max-width: 22ch; font-size: clamp(2.2rem, 5.6vw, 5rem); }
.bl-byline { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px !important; color: #AEB9C5 !important; }
.bl-byline span + span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); margin-right: 22px; vertical-align: middle; transform: translateY(-1px); }

.bl-shell { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 110px); }
.bl-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: clamp(20px, 3vw, 32px); }
.bl-crumbs a { color: var(--ink); text-decoration: none; font-weight: 600; }
.bl-crumbs a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 4px; }

/* ---------- Filters and search ---------- */
.bl-tools { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: clamp(24px, 4vw, 40px); }
.bl-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.bl-filters a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--border-strong); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; background: #fff; transition: background .2s, border-color .2s; }
.bl-filters a span { font-size: 12px; color: var(--muted); font-weight: 700; }
.bl-filters a:hover { border-color: var(--ink); }
.bl-filters a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.bl-filters a[aria-current="page"] span { color: #C9D2DB; }
.bl-search { display: flex; align-items: center; width: min(100%, 340px); border: 1px solid var(--border-strong); border-radius: 999px; background: #fff; padding: 4px 4px 4px 18px; }
.bl-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(21, 38, 56, .12); }
.bl-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); padding: 8px 0; outline: none; }
.bl-search button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; cursor: pointer; }
.bl-search .icon { width: 18px; height: 18px; stroke-width: 2.2; }
.bl-result-note { margin: 0 0 24px; color: var(--muted); }
.bl-result-note a { color: var(--ink); font-weight: 700; }

/* ---------- Covers: photo or original typographic composition ---------- */
.bl-cover { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); background: var(--ink); color: #fff; isolation: isolate; }
.bl-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bl-cover::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.bl-cover-word { position: absolute; left: 7%; bottom: 14%; font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 9vw, 6.5rem); line-height: .8; letter-spacing: -0.04em; color: #fff; }
.bl-cover-rule { position: absolute; left: 7%; bottom: 9%; width: 48px; height: 3px; background: var(--amber); border-radius: 2px; }
.bl-cover-label { position: absolute; left: 7%; top: 10%; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #C9D2DB; }
.bl-v1::before { background: radial-gradient(70% 90% at 100% 0%, rgba(241, 141, 70, .38), transparent 60%); }
.bl-v2::before { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 44px), radial-gradient(60% 70% at 90% 100%, rgba(241, 141, 70, .3), transparent 65%); }
.bl-v3::before { background: radial-gradient(circle at 82% 30%, transparent 0 58px, rgba(241, 141, 70, .55) 59px 61px, transparent 62px), radial-gradient(circle at 82% 30%, transparent 0 98px, rgba(255, 255, 255, .12) 99px 100px, transparent 101px); }
.bl-v4::before { background: radial-gradient(rgba(255, 255, 255, .12) 1.2px, transparent 1.2px) 0 0 / 22px 22px, linear-gradient(135deg, transparent 55%, rgba(241, 141, 70, .32)); }
.bl-cover-job-applications { background: #1D3A52; }
.bl-cover-interviews-salaries { background: var(--ink-deep); }
.bl-cover-career-advice { background: #263F57; }
.bl-cover-lg { aspect-ratio: 4 / 3; }
.bl-cover-lg .bl-cover-word { font-size: clamp(4rem, 12vw, 9rem); }
.bl-cover-hero { aspect-ratio: 21 / 9; }

/* ---------- Featured ---------- */
.bl-featured { margin-bottom: clamp(32px, 5vw, 64px); }
.bl-featured-link { display: grid; gap: clamp(20px, 3vw, 48px); color: var(--ink); text-decoration: none; align-items: center; }
.bl-featured-body h2 { font-size: clamp(1.9rem, 4vw, 3.4rem); line-height: 1.02; letter-spacing: -0.045em; margin: 12px 0 16px; text-wrap: balance; }
.bl-featured-body > p:not(.bl-meta) { font-size: 18px; line-height: 1.6; color: #4D5967; margin: 0 0 22px; max-width: 52ch; }
.bl-read { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; padding-bottom: 4px; border-bottom: 1.5px solid var(--amber); }
.bl-read .icon { width: 18px; height: 18px; color: var(--amber-deep); transition: transform .3s var(--ease); }
.bl-featured-link:hover .bl-read .icon { transform: rotate(45deg); }

/* ---------- Grid and cards ---------- */
.bl-grid { display: grid; gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.bl-card-link { display: flex; flex-direction: column; height: 100%; color: var(--ink); text-decoration: none; }
.bl-card-body { padding-top: 18px; }
.bl-card h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.18; letter-spacing: -0.025em; margin: 10px 0 10px; text-wrap: balance; }
.bl-card-link:hover h3 { text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.bl-card-excerpt { margin: 0; color: #4D5967; font-size: 15.5px; line-height: 1.6; }
.bl-card .bl-cover { transition: transform .5s var(--ease); }
.bl-card-link:hover .bl-cover { transform: translateY(-4px); }
.bl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bl-meta span:first-child { color: var(--ink); }

.bl-empty { padding: clamp(32px, 6vw, 64px); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); text-align: center; }
.bl-empty h2 { font-size: 1.6rem; letter-spacing: -0.03em; margin: 0 0 8px; }
.bl-empty p { color: var(--muted); margin: 0 0 24px; }
.bl-pages { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: clamp(40px, 6vw, 64px); font-weight: 700; }
.bl-pages a { color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border: 1px solid var(--ink); border-radius: 999px; text-decoration: none; }
.bl-pages [aria-disabled] { color: var(--muted); opacity: .6; }

/* ---------- Article ---------- */
.bl-preview { position: sticky; top: 0; z-index: 60; background: var(--amber-soft); color: var(--ink); padding: 10px 16px; text-align: center; font-size: 14px; font-weight: 600; }
.bl-hero-figure { margin: 0 0 clamp(28px, 4vw, 56px); }
.bl-hero-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.bl-hero-figure figcaption a { color: inherit; }
.bl-layout { display: grid; gap: 32px; }
.bl-toc details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; padding: 14px 18px; }
.bl-toc summary { cursor: pointer; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.bl-toc ol { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.4; }
.bl-toc a { color: var(--ink); text-decoration: none; }
.bl-toc a:hover { text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

.bl-prose { max-width: 70ch; font-size: clamp(17px, 1.15vw, 18.5px); line-height: 1.75; color: #24364A; }
.bl-prose > * + * { margin-top: 1.1em; }
.bl-prose p, .bl-prose ul, .bl-prose ol { margin-bottom: 0; }
.bl-prose h2 { margin: 2.2em 0 0; font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); scroll-margin-top: 110px; text-wrap: balance; }
.bl-prose h3 { margin: 1.8em 0 0; font-size: clamp(1.2rem, 1.7vw, 1.38rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--ink); scroll-margin-top: 110px; }
.bl-prose h2 + *, .bl-prose h3 + * { margin-top: .6em; }
.bl-prose a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--amber); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.bl-prose a:hover { color: var(--amber-deep); }
.bl-prose strong { color: var(--ink); }
.bl-prose ul, .bl-prose ol { padding-left: 1.3em; }
.bl-prose li + li { margin-top: .45em; }
.bl-prose li::marker { color: var(--amber-deep); }
.bl-prose blockquote { margin-left: 0; margin-right: 0; padding: 18px 22px; border-left: 3px solid var(--amber); background: #fff; border-radius: 0 var(--radius) var(--radius) 0; }
.bl-prose blockquote > * + * { margin-top: .7em; }
.bl-prose blockquote p { margin-bottom: 0; }
.bl-prose .callout-example { border-left-color: var(--ink); background: var(--oat-soft); }
.bl-prose .callout-watch, .bl-prose .callout-warning { border-left-color: var(--warn); background: var(--warn-soft); }
.bl-prose .callout-checklist { border-left-color: var(--success); }
.bl-prose code { font-size: .88em; background: var(--oat-soft); padding: .1em .35em; border-radius: 4px; }
.bl-prose pre { background: var(--ink); color: #E9EEF3; padding: 18px; border-radius: var(--radius); overflow-x: auto; font-size: 14px; line-height: 1.6; }
.bl-prose pre code { background: none; padding: 0; color: inherit; }
.bl-prose hr { border: 0; height: 1px; background: var(--border); margin: 2.4em 0; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.bl-prose table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.bl-prose th, .bl-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.bl-prose th { background: var(--oat-soft); color: var(--ink); font-weight: 700; }
.bl-prose tr:last-child td { border-bottom: 0; }

.bl-sources { margin-top: 2.4em; padding-top: 1.4em; border-top: 1px solid var(--border); font-size: 15px; }
.bl-sources h2 { font-size: 1.15rem; margin-top: 0; }
.bl-sources ul { padding-left: 1.2em; }
.bl-sources p { color: var(--muted); font-size: 14px; }
.bl-cta { margin-top: 2.6em !important; padding: clamp(24px, 4vw, 40px); background: var(--ink); color: #fff; border-radius: var(--radius-lg); position: relative; overflow: hidden; isolation: isolate; }
.bl-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 90% at 100% 0%, rgba(241, 141, 70, .3), transparent 60%); }
.bl-cta .hx-label { color: #AEB9C5; }
.bl-cta h2 { color: #fff; margin: 14px 0 10px; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.bl-cta p { color: #D6DDE5; margin: 0 0 22px; }
.bl-cta .hx-btn { text-decoration: none; color: var(--ink); }
.bl-cta .bl-cta-note { margin: 18px 0 0; font-size: 13px; color: #AEB9C5; }

.bl-related { background: var(--oat-soft); padding: clamp(56px, 8vw, 110px) 0; }
.bl-related-title { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1; letter-spacing: -0.055em; margin: 18px 0 clamp(28px, 4vw, 48px); }
.bl-related-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--amber-deep); }

@media (min-width: 700px) {
    .bl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
    .bl-grid { grid-template-columns: repeat(3, 1fr); }
    .bl-featured-link { grid-template-columns: 1.15fr 1fr; }
    .bl-layout { grid-template-columns: minmax(200px, 260px) minmax(0, 70ch); justify-content: start; gap: clamp(40px, 5vw, 88px); }
    .bl-layout:not(:has(.bl-toc)) { grid-template-columns: minmax(0, 70ch); justify-content: center; }
    .bl-toc { position: sticky; top: 110px; align-self: start; max-height: calc(100vh - 140px); overflow: auto; }
    .bl-toc details { border: 0; background: none; padding: 0; }
    .bl-toc summary { list-style: none; pointer-events: none; font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
    .bl-toc summary::-webkit-details-marker { display: none; }
    .bl-toc ol { padding-left: 0; list-style: none; border-left: 1px solid var(--border); }
    .bl-toc li a { display: block; padding: 2px 0 2px 14px; margin-left: -1px; border-left: 2px solid transparent; }
    .bl-toc li a:hover { border-left-color: var(--amber); text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
    .bl-card .bl-cover, .bl-read .icon { transition: none; }
}
