/* ============================================================
   b101.css — Bicolline 101

   Loaded AFTER assets/css/articles.css, which already carries the
   body typography, the image/table/embed rules the block renderer
   emits, the .art-index grid and the prev/next pager. This file is
   only the parts that section does not have: a category heading
   that is a link, two levels of category, the hero image, and the
   note shown when a post exists in the other language only.

   Same custom properties as articles.css (--gold, --border,
   --surface-2, --font-display, --text-secondary …), so the two
   stay in step with the theme without redeclaring anything.
   ============================================================ */

/* ---- Category headings ------------------------------------- */

/* .art-index__h is an uppercase hairline heading. Here it holds a
   link and an emoji, so the anchor has to inherit rather than take
   the default link colour, and the icon must not inherit the
   letter-spacing - a tracked-out emoji sits badly next to text. */
.b101-cat__h {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.b101-cat__h a {
    color: inherit;
    text-decoration: none;
}
.b101-cat__h a:hover {
    color: var(--gold);
    text-decoration: underline;
}

.b101-cat__icon {
    letter-spacing: normal;
    font-size: 15px;
    line-height: 1;
}

.b101-cat__blurb {
    margin: -2px 0 var(--gap-md, 16px);
    font-family: var(--font-prose);
    font-size: 14.5px;
    line-height: 1.5;
    color: var(--text-secondary);
    max-width: 62ch;
}

/* ---- Subcategories ------------------------------------------
   The second of the two levels. Indented behind a hairline rather
   than given a heavier heading: the depth is the thing being
   shown, and another type size for one level down just makes the
   index noisier to scan. */
.b101-sub {
    margin-top: var(--gap-lg, 24px);
    padding-left: 16px;
    border-left: 1px solid var(--border);
}

.b101-sub .art-index__h {
    border-bottom: none;
    padding-bottom: 0;
    font-size: 13.5px;
    opacity: .95;
}

/* ---- The untranslated note ----------------------------------
   Deliberately plain and above the article rather than inside it.
   A reader who opened the English and got French needs to know
   before they start reading, not after. */
.b101-fallback {
    margin: 0 0 1.1rem;
    padding: .6rem .9rem;
    border: 1px solid var(--border);
    border-left: 3px solid var(--gold-soft);
    border-radius: 8px;
    background: var(--surface-2);
    font-family: var(--font-prose);
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* ---- Hero image --------------------------------------------- */
.b101-hero {
    margin: 0 0 1.4rem;
}

.b101-hero img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border: 1px solid var(--border);
    border-radius: 12px;
}

/* ---- Back link ---------------------------------------------- */
.b101-back {
    margin: 2rem 0 0;
    font-family: var(--font-display);
    font-size: 14px;
}
.b101-back a {
    color: var(--gold-soft);
    text-decoration: none;
}
.b101-back a:hover {
    color: var(--gold);
    text-decoration: underline;
}

@media (max-width: 620px) {
    .b101-sub { padding-left: 12px; }
    .b101-hero img { max-height: 240px; }
}
