/* Blog (both brands) + back office Content plan. Loaded only on blog pages, the home page when it lists articles, and the
   blog back-office pages. Uses the shared tokens from nc.css / brand.css (light and dark). */
.bp-eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 700; color: var(--accent); margin: 0 0 .4rem; }
.bp-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 720px) { .bp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bp-grid { grid-template-columns: repeat(3, 1fr); } }
.bp-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius, 12px); overflow: hidden; display: flex; flex-direction: column; }
.bp-card-img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.bp-card-body { padding: 1rem 1.1rem 1.2rem; }
.bp-card h3 { margin: .1rem 0 .5rem; font-size: 1.12rem; line-height: 1.3; }
.bp-card h3 a { color: var(--ink); text-decoration: none; }
.bp-card h3 a:hover, .bp-card h3 a:focus-visible { text-decoration: underline; }
.bp-pager { display: flex; gap: 1rem; align-items: center; justify-content: center; margin: 1rem 0; }
.bp-narrow { max-width: 46rem; }
.bp-crumbs { font-size: .9rem; color: var(--muted); margin: 0 0 .5rem; }
.bp-article h1 { margin: .2rem 0 .4rem; line-height: 1.15; }
.bp-hero { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius, 12px); margin: 1.2rem 0 1.5rem; background: var(--surface-2); }
.bp-prose { font-size: 1.06rem; line-height: 1.7; overflow-wrap: anywhere; }
.bp-prose h2 { margin: 2rem 0 .6rem; font-size: 1.45rem; line-height: 1.25; }
.bp-prose h3 { margin: 1.4rem 0 .4rem; font-size: 1.15rem; }
.bp-prose ul, .bp-prose ol { padding-left: 1.3rem; }
.bp-prose blockquote { margin: 1rem 0; padding: .2rem 1rem; border-left: 3px solid var(--gold); color: var(--ink-2); }
.bp-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1.5rem 0; }
.bp-tags span { background: var(--surface-2); border-radius: 999px; padding: .15rem .7rem; font-size: .85rem; color: var(--ink-2); }
.bp-cta { margin: 2rem 0 1rem; }
.bp-preview { margin: 0; border-radius: 0; text-align: center; }
.bp-latest h2 { margin-bottom: 0; }

/* Back office */
.bp-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0 1rem; }
.bp-tabs a { padding: .35rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .9rem; text-transform: capitalize; }
.bp-tabs a.on { background: var(--accent); color: var(--accent-ink, #fff); border-color: var(--accent); }
.bp-switches p { margin: .4rem 0; }
.bp-prefs, .bp-sched, .bp-new { margin-top: 1rem; }
.bp-prefs { display: flex; flex-wrap: wrap; gap: .6rem; align-items: flex-end; }
.bp-prefs label { flex: 1 1 18rem; }
.bp-inline { display: inline-block; margin: 0 .15rem .3rem 0; }
.bp-inline .msg { display: block; font-size: .85rem; max-width: 22rem; }
.bp-selbar { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1rem; }
.bp-selbar p { flex-basis: 100%; margin: .2rem 0 0; }
.bp-plan td { vertical-align: top; }
.bp-thumb { display: block; width: 120px; height: 68px; object-fit: cover; border-radius: 6px; background: var(--surface-2); }
.bp-big { max-width: 100%; height: auto; border-radius: 8px; }
.bp-noimg { display: inline-block; width: 120px; text-align: center; font-size: .8rem; color: var(--muted); padding: 1.4rem 0; border: 1px dashed var(--line); border-radius: 6px; }
.bp-noimg.bad { color: var(--bad); border-color: var(--bad); font-weight: 700; }
.bp-row-d summary { cursor: pointer; }
.bp-row-more { padding: .5rem 0; }
.bp-edit { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid var(--line); }
.bp-job { color: var(--warn); font-weight: 600; }
.bp-result { color: var(--good); }
.bp-err { color: var(--bad); }
.bp-changed { display: inline-block; font-size: .75rem; background: var(--warn-bg); color: var(--ink); border-radius: 999px; padding: 0 .5rem; }
.bp-actions { min-width: 14rem; }
.bp-move { white-space: nowrap; }
.bp-upload input[type=file] { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bp-upload label { cursor: pointer; }
@media (max-width: 720px) {
  .bp-thumb, .bp-noimg { width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .bp-actions { min-width: 0; }
}
/* Ticks keep their natural size inside the shared form styles. */
.bp-selbar input[type=checkbox], .bp-plan input[type=checkbox] { width: auto; height: auto; min-height: 0; margin: 0 .3rem 0 0; vertical-align: middle; }
.bp-selbar label.small { display: inline-flex; align-items: center; gap: .2rem; margin: 0 .3rem; }
