/* ============================================================
   "Lakeside" colour scheme
   ============================================================
   Everything is scoped to body.lakeside, which includes/header.php adds by
   default. The kids section uses includes/kids-header.php and stays on the
   standard blue/green theme. Removing the class restores that theme on any
   page. Rules further down for the hero, Quick Services, capsules and the
   Friends card only match markup that exists on the homepage.

   ------------------------------------------------------------
   The scheme was originally drawn from the brand strip — green-slate,
   deep teal, logo blue, pale cyan, marigold — and built out of tints of
   those: a mint hero wash, pale capsules, borderless cards on a near-white
   ground. It was correct and it was quiet, and quiet is what made it look
   generic. Nothing on the page committed to a colour, so the layout carried
   the whole impression, and a Bootstrap layout on white reads as a template
   no matter which hex codes are in it.

   The palette now comes from the logo instead of from the strip. The mark is
   a leaded-glass monogram — saturated blocks bounded by heavy black lines —
   and it was the only thing on the site working at that pitch. The three
   moves that follow from it:

     1. Flat saturated fills, not tints. Hero, capsules, service tiles and
        the Friends band are blocks of colour.
     2. An ink keyline on everything that is a block, standing in for the
        leading in the glass. Squared-off offset shadows rather than soft
        grey blur, for the same reason.
     3. A parchment ground, so the blocks sit on paper rather than on white.

   Chrome — top bar, navbar, footer, buttons — is unchanged; the strip
   colours still drive it. The nine-colour brand bar has moved out of the
   footer to sit under the homepage masthead, and is repainted from the
   palette below.

   Contrast is stated inline at every fill. Every combination here clears
   WCAG AA; most clear AAA.
   ============================================================ */

body.lakeside {
    /* Green-slate, not blue-grey. This drives the top bar, footer and
       buttons — the page's chrome. At 202° it sat 35-58° of hue away from
       everything else and read as default charcoal; at 170° it matches the
       underlines and the logo's base green, so the frame belongs to the
       scheme. */
    --primary-blue: #2b423e;      /* green-slate — 10.8:1 with white */
    /* Blue is the scheme's secondary hue — one of the colours cards rotate
       through, not a category marker. Taken from the deep blue in the logo's
       river (#5584c4, hue 215) and darkened until white text clears; the
       original is 3.8:1.

       It is deliberately NOT the hover state of anything. That was the old
       bug: 58 green buttons flipped to blue on mouseover because this
       variable was being used for "a bit different" rather than for a
       colour in its own right. */
    --secondary-blue: #2a5488;    /* logo blue, darkened — 7.7:1 with white */
    --light-blue: #bbe3e5;        /* pale cyan — dark text only */
    --primary-green: #235b51;     /* deep teal-green — 7.8:1 with white */
    --secondary-green: #567769;   /* slate green — 5.0:1 with white */
    --light-green: #afdbc2;       /* pale mint — dark text only */
    --text-dark: #2b423e;

    --bs-primary: #2b423e;
    --bs-primary-rgb: 43, 66, 62;

    /* Accents. Marigold is the one loud colour — always dark text on it
       (5.6:1); white fails at 2.2:1. Burgundy is reserved for closures.
       Sky is a light panel colour and also needs dark text. */
    --accent-marigold: #f4a539;
    --alert-burgundy: #701231;
    --sky: #71b2e1;
    /* Page ground: parchment rather than the cool near-white this used to be.
       The old #f4f7f8 was white for all practical purposes, so every card,
       tile and band floated on nothing and the page read as a stock template
       with the library's colours dropped into it. Parchment is a colour in
       its own right — it belongs to the logo's cream tile, it reads as paper,
       and it gives the saturated blocks below something to sit against.
       Slate text on it is 9.6:1, ink 16:1. */
    --ground: #f7f2e8;

    /* ------------------------------------------------------------------
       Stained-glass palette — sampled from the logo
       ------------------------------------------------------------------
       The logo is a leaded-glass monogram: fully saturated blocks separated
       by heavy black keylines — a sunrise, a river, a pine, a shelf of books
       with a cat on it. Nothing else on the site was pitched anywhere near
       that. The chrome and cards were built from muted tints, so the logo sat
       on the page as the only confident thing in the design and everything
       around it read as filler.

       These are the library's brand colours, deepened so white text clears
       WCAG on them. The official values are in BRAND-COLORS.md — the same
       palette the graphic designer drew the logo from — and each value here
       names the brand colour it comes from.

       The exact brand values were tried and rejected on 21 August 2026. Most
       of that palette is light: only nine of the 34 carry white text at all,
       and the true blue (Periwinkle #6b7db9) is 3.99:1, so every blue block
       on the site had to flip to black text. The result read softer than the
       mark it sits beside.

       So the rule here is: brand hues, brand relationships, depth adjusted
       until white text passes. Anything added should follow the same rule
       rather than reaching for a colour outside the sheet.
       ------------------------------------------------------------------ */
    --glass-ink:        #16181a;   /* near-black    — white 17.8:1      */
    --glass-navy:       #1b3f62;   /* Periwinkle, deepened hard    10.9:1 */
    --glass-pine-deep:  #0f3f36;   /* Deep Forest Green, deepened  11.8:1 */
    --glass-pine:       #14573f;   /* Deep Forest Green, deepened   8.5:1 */
    --glass-river:      #2b5f9e;   /* Periwinkle, deepened          6.5:1 */
    --glass-violet:     #4a4494;   /* Deep Purple, lifted           8.3:1 */
    --glass-plum:       #8a2f84;   /* Purple, deepened              7.5:1 */
    --glass-ember:      #e8823c;   /* Amber Orange, deepened — ink  6.5:1 */
    --glass-terracotta: #a85f38;   /* Terracotta, deepened   — white 4.8:1 */
    --glass-rose:       #d38f93;   /* Dusty Rose, deepened   — ink  6.9:1 */
    --glass-cream:      #f2e8d6;   /* Cream, lightened       — slate 8.9:1 */

    /* ------------------------------------------------------------------
       Semantic colour — what a colour MEANS
       ------------------------------------------------------------------
       The palette above says which colours exist. These say what they are
       for. A colour used on an icon, tile, card accent or category marker
       should always stand for the same kind of library content:

         PLUM   Library Basics — how do I use the library?
                hours, location, cards, borrowing rules, policies, meeting
                and study rooms, computers, printing, wifi, accessibility
         BLUE   Materials — what can I get from the library?
                books, ebooks, audiobooks, movies, music, the catalog,
                MeLCat, Library of Things, databases, research resources
         GREEN  Programs — what can I do at the library?
                events, storytimes, clubs, classes, crafts, registration

       Green and plum were the other way round at first. Programmes turn up
       far more often than Library Basics does — six places on the homepage
       against two — so the busier category took the quieter colour.

       Gold is NOT a fourth category. It marks attention — new, featured,
       important — and never overrides an item's category: a featured
       programme is still a programme and keeps its plum.

       Slate, ink, parchment and cream are interface, not meaning. Text,
       chrome, borders, structure. Not everything needs a category.

       Applied to the homepage only so far. The rest of the site still runs
       on the palette directly; these tokens exist so the same system can be
       taken outward later without renaming anything.
       ------------------------------------------------------------------ */
    --sem-basics:       var(--glass-plum);       /* #8a2f84 — white 7.5:1 */
    --sem-materials:    var(--glass-river);      /* #2b5f9e — white 6.5:1 */
    --sem-programs:     var(--glass-pine);       /* #14573f — white 8.5:1 */
    --sem-attention:    var(--accent-marigold);  /* #f4a539 — ink   8.7:1 */
    --sem-interface:    var(--primary-blue);     /* #2b423e — white 10.8:1 */
    --sem-on-category:  #ffffff;
    --sem-on-attention: var(--glass-ink);

    background-color: var(--ground);

    /* Poppins, self-hosted (see css/poppins.css). The system stack stays as
       the fallback, so the page is readable if the font fails to load. */
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Bootstrap sets its own stack on form controls and buttons, which would
   otherwise leave them in the system font while everything else changed. */
body.lakeside .btn,
body.lakeside .form-control,
body.lakeside .form-check-label,
body.lakeside .navbar,
body.lakeside .dropdown-menu,
body.lakeside input,
body.lakeside button,
body.lakeside select,
body.lakeside textarea {
    font-family: inherit;
}


/* Hover shades in theme.css are literals derived from the old palette,
   so they need restating here. */
body.lakeside .btn-primary:hover {
    background-color: #24352f;   /* 12.9:1 with white */
    border-color: #24352f;
}
body.lakeside .btn-success:hover {
    background-color: #1a4740;   /* 10.4:1 */
    border-color: #1a4740;
}
body.lakeside .btn-info:hover {
    background-color: #1d4557;   /* 10.3:1 */
    border-color: #1d4557;
}

/* ------------------------------------------------------------------
   Form controls
   ------------------------------------------------------------------
   Bootstrap ships its own blue, #0d6efd, compiled into the CDN build as a
   literal — so setting --bs-primary does not reach it. It was showing up on
   every checked radio and checkbox and on every focus ring, which on the
   homepage meant the search card carried a brand blue belonging to no part
   of this scheme, right beside a green-slate Search button.

   Controls take the chrome colour, the same one the button next to them
   uses. 10.8:1 on white, and the white dot Bootstrap draws inside a checked
   radio still reads clearly on it.
   ------------------------------------------------------------------ */
body.lakeside .form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

body.lakeside .form-check-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(43, 66, 62, 0.3);
}

body.lakeside .form-control:focus,
body.lakeside .form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(43, 66, 62, 0.25);
}

/* ------------------------------------------------------------------
   Inline info panels
   ------------------------------------------------------------------
   Callouts inside page content — "New to Hamburg Township Library?", the
   eligibility note, the account box — were pale mint and pale cyan washes.
   They are the last pastels on the content pages, and a wash is the wrong
   material for this scheme: colour belongs in saturated blocks, and
   everything that is paper is paper.

   So they become cream with an ink keyline and a coloured bar down the
   leading edge — the colour still marks the panel, it just stops being the
   whole surface. Slate text on cream is 8.9:1.

   Scoped away from .card so the board-minutes archive, which uses the same
   two classes for whole tinted cards, is untouched.
   ------------------------------------------------------------------ */
body.lakeside .bg-light-blue:not(.card):not(.card-header):not(.card-footer),
body.lakeside .bg-light-green:not(.card):not(.card-header):not(.card-footer) {
    background-color: var(--glass-cream) !important;
    border: 2px solid var(--glass-ink);
}

body.lakeside .bg-light-blue:not(.card):not(.card-header):not(.card-footer) {
    border-left: 6px solid var(--glass-river);
}

body.lakeside .bg-light-green:not(.card):not(.card-header):not(.card-footer) {
    border-left: 6px solid var(--glass-pine);
}

/* ------------------------------------------------------------------
   Bootstrap alerts
   ------------------------------------------------------------------
   1,381 of these across the site, and every one was wearing Bootstrap's own
   pastels — #d1e7dd mint for success, #cff4fc cyan for info, and so on.
   That is the bulk of the pale green and pale blue still showing on interior
   pages; the card headers were only the loudest part of it.

   Same treatment as the callout panels: cream, ink keyline, and the meaning
   moved into a bar down the leading edge. An alert still reads as success or
   warning or danger at a glance, it just stops flooding a whole block with a
   tint that belongs to another design system.

   Bootstrap 5.3 drives these through custom properties, so setting the two
   variables is enough — no !important needed. The explicit background and
   border are there in case the CDN build is ever rolled back to 5.2, which
   used literals.

   The site's own closure notices are unaffected: includes/alerts.php uses
   .alert-banner, not .alert.
   ------------------------------------------------------------------ */
body.lakeside .alert {
    --bs-alert-bg: var(--glass-cream);
    --bs-alert-border-color: var(--glass-ink);
    background-color: var(--glass-cream);
    border: 2px solid var(--glass-ink);
    border-left-width: 6px;
}

body.lakeside .alert-success   { border-left-color: var(--glass-pine); }
body.lakeside .alert-info      { border-left-color: var(--glass-river); }
body.lakeside .alert-primary   { border-left-color: var(--glass-violet); }
body.lakeside .alert-secondary { border-left-color: #55665f; }
body.lakeside .alert-warning   { border-left-color: var(--accent-marigold); }
body.lakeside .alert-danger    { border-left-color: var(--alert-burgundy); }
body.lakeside .alert-light     { border-left-color: var(--glass-ink); }

/* theme.css draws this as a pale mint block with a thin green edge. Same
   treatment as the panels above, so the two stop being different objects. */
body.lakeside .highlight-box {
    background: var(--glass-cream);
    border: 2px solid var(--glass-ink);
    border-left: 6px solid var(--accent-marigold);
}

/* "What Can You Do Here?" panel — the logo's cream tile. On a parchment
   ground a cyan panel read as a separate material; cream is the same paper
   one step deeper. */
body.lakeside .actions-section {
    background-color: var(--glass-cream);   /* slate text on it: 8.9:1 */
}

/* ------------------------------------------------------------------
   Leading
   ------------------------------------------------------------------
   The one thing that makes the logo look like glass rather than like a
   flat illustration is that every block is bounded by a heavy black line.
   Cards had no border at all and leaned on a soft grey shadow, which is the
   single most template-looking convention on the web — it is the default in
   every framework, so a page full of it looks like every other page.

   Cards now take the same keyline as the tiles and capsules. That is the
   whole visual argument of the scheme in one rule, and it is also the first
   thing to drop if it turns out to be too much: delete this block and the
   cards go back to shadows without touching anything else.
   ------------------------------------------------------------------ */
/* !important is needed because 515 cards across 44 pages carry Bootstrap's
   .border-0, which is itself !important. Setting it here rather than editing
   those files keeps the decision in one place — and reversible in one place.
   The same reason theme.css's own utility overrides carry it. */
body.lakeside .card {
    border: 2px solid var(--glass-ink) !important;
    /* A card paints its background under its own border. Straight on that is
       invisible, but the kids cards were once rotated, and on a rotated edge the
       antialiased ink border blends with the white sitting underneath it and
       leaves a pale fringe outside the line. Clipping the background to the
       padding box keeps it from reaching under the border at all. */
    background-clip: padding-box;
}

/* Those same cards mostly carry .shadow, a soft grey blur. A blurred shadow
   under a hard keyline reads as two different drawing styles on one object,
   so it is squared off and offset into the ink instead — the shadow a cut
   tile casts, not the one a floating panel does. */
body.lakeside .card.shadow,
body.lakeside .card.shadow-sm,
body.lakeside .card.shadow-lg,
body.lakeside .card-custom {
    box-shadow: 5px 5px 0 var(--glass-ink) !important;
}

body.lakeside .card.shadow:hover,
body.lakeside .card.shadow-sm:hover,
body.lakeside .card.shadow-lg:hover,
body.lakeside .card-custom:hover {
    box-shadow: 7px 7px 0 var(--glass-ink) !important;
}

/* The events list is a .list-group, not a card, so it was the one block in
   the top half of the homepage with no keyline — and it sits directly beside
   the capsule stack, which made that row read as bounded bars on the right
   against an unbounded white panel on the left.

   list-group-flush is excluded: that variant exists specifically to have no
   outer edge, usually because it is already inside a card. */
body.lakeside .list-group:not(.list-group-flush) {
    border: 2px solid var(--glass-ink);
    border-radius: 10px;
    overflow: hidden;              /* clip the item edges to the corner */
}

/* Section rules. theme.css draws these as a thin green hairline under the
   heading — visible, but not a decision. A thick marigold rule is, and it
   carries the one warm colour in the scheme through the interior pages
   instead of leaving it stranded on the homepage. */
body.lakeside .section-header {
    color: var(--glass-ink);
    font-weight: 800;
    border-bottom: 5px solid var(--accent-marigold);
    padding-bottom: 0.4rem;
    margin-bottom: 1.25rem;
}

/* Marigold accent, available for the single most important action.
   Not applied to anything by default. */
body.lakeside .btn-accent {
    background-color: var(--accent-marigold);
    border-color: var(--accent-marigold);
    color: #2b423e;
    font-weight: 600;
}
body.lakeside .btn-accent:hover,
body.lakeside .btn-accent:focus-visible {
    background-color: #dd9126;
    border-color: #dd9126;
    color: #2b423e;
}

/* ------------------------------------------------------------------
   Homepage hero — no fill
   ------------------------------------------------------------------
   theme.css runs a gradient behind this. Every version of it has been wrong
   for the same reason: the logo is already a block of nine colours, and any
   fill behind it is a tenth thing competing with the mark for the same job.
   The pale mint wash made the logo look pasted on; the dark glass band read
   better but still boxed it in.

   So there is no fill. The logo and the search card sit straight on the
   parchment ground, and the colour that used to be spread behind them is
   concentrated into the brand bar below instead, where it separates this
   block from Quick Services and does one job cleanly.
   ------------------------------------------------------------------ */
body.lakeside .hero-section {
    background: none;
    /* py-4 from the markup was tight when this was a band; without a fill it
       is what gives the block its air. */
    padding-block: 1.75rem !important;
    padding-bottom: 1.25rem !important;
}

@media (max-width: 767.98px) {
    body.lakeside .hero-section {
        padding-block: 1.25rem !important;
        padding-bottom: 0.85rem !important;
    }
}

/* ------------------------------------------------------------------
   Interior page header
   ------------------------------------------------------------------
   Interior pages follow the homepage: no colour band. The breadcrumb, title
   and subtitle sit straight on the page ground in ink, and the brand bar
   underneath (added in includes/header.php) closes off the top of the page
   the way it closes off the logo and search on the homepage.

   This replaced a pine-to-indigo gradient band with a marigold rule, which
   made every interior page open on a different material from the homepage.
   ------------------------------------------------------------------ */
body.lakeside .page-header {
    background: none;
    color: var(--glass-ink);
    padding-top: 1.75rem !important;
    padding-bottom: 1.25rem !important;
}

/* The h1 carries .text-primary-blue from header.php, which is !important,
   so it has to be beaten explicitly. Ink on parchment: 16:1. */
body.lakeside .page-header h1,
body.lakeside .page-header h1.text-primary-blue {
    color: var(--glass-ink) !important;
    margin-bottom: 0.25rem;
}

body.lakeside .page-header .lead {
    color: #3a3f47;
    margin-bottom: 0;
}

body.lakeside .page-header .breadcrumb-item,
body.lakeside .page-header .breadcrumb-item.active {
    color: #3a3f47;
}

body.lakeside .page-header .breadcrumb-item a {
    color: var(--glass-ink);
    text-decoration: none;
    font-weight: 600;   /* weight, not an underline, marks it as a link */
}

body.lakeside .page-header .breadcrumb-item a:hover {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}

body.lakeside .page-header .breadcrumb-item + .breadcrumb-item::before {
    color: #6b7280;
}

/* Brand bar under an interior page's title. */
body.lakeside .page-brand-bar {
    margin-bottom: 0.5rem;
}

@media (max-width: 767.98px) {
    body.lakeside .page-header {
        padding-top: 1.25rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Hero brand block. The HTL logo is a monogram with no lettering, so the
   library name is set beneath it as the wordmark and doubles as the page
   heading, replacing the navbar brand the homepage no longer shows.

   The wordmark is sized in container-query units so it scales with the logo
   and always sets on a single line, at any width. */
body.lakeside .hero-brand {
    max-width: 440px;
    container-type: inline-size;
}

body.lakeside .hero-wordmark {
    /* Sized so the line spans the logo's full width rather than sitting
       short under it. cqw is a percentage of .hero-brand, which is capped at
       the same 440px the logo is, so one value holds at every width.

       text-align-last takes up the slack: it justifies the single line to
       the container edges, which absorbs the difference if Poppins fails to
       load and the fallback stack sets narrower. white-space is left alone
       for that reason — nowrap would suppress the justification. */
    font-size: 6.1cqw;
    text-align: justify;
    text-align-last: justify;
    font-weight: 700;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    color: var(--glass-ink);        /* on parchment: 16:1 */
    line-height: 1.15;
}

/* Fallback where container query units are unsupported: scale off the
   viewport instead. Still nowrap, just less precisely matched to the logo. */
@supports not (font-size: 1cqw) {
    body.lakeside .hero-wordmark {
        /* Scaled by the same 1.22 the cqw value was, so the fallback fills
           the width too. */
        font-size: clamp(0.98rem, 4.15vw, 1.95rem);
    }
}

/* The logo block is centred until lg, so keep the brand block with it. */
@media (max-width: 991.98px) {
    body.lakeside .hero-brand {
        margin-inline: auto;
    }
}

/* ------------------------------------------------------------------
   Featured event banner
   ------------------------------------------------------------------
   The slot for the one big thing — the item that would previously have
   needed a designed slide. It sits directly under the brand bar, above
   Quick Services, and runs the full width of the container.

   Sized to carry a headline at poster scale and outrank everything below it,
   without taking the fold the way a 16:9 slide does. It started at one and a
   half service tiles (220px) and came down 15% from there.

   Built from colour and type rather than a graphic. That is the point — the
   date numeral and the headline do the work a photograph would, so
   advertising something new is an edit to four lines of markup rather than
   an afternoon in an image editor, and it can never go stale-looking or
   pixelate on a phone.

   Ember, which the palette carries but nothing else on the page uses, so
   the banner cannot be mistaken for one of the repeating blocks below it.
   Ink text throughout — white on ember is 2.7:1 and fails.
   ------------------------------------------------------------------ */
body.lakeside .feature-banner {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    min-height: 187px;             /* 15% down from 220px */
    margin-bottom: 1.5rem;
    padding: 1.25rem 1.75rem;
    border: 3px solid var(--glass-ink);
    border-radius: 16px;
    /* A canvas, not a category fill. Artwork for whatever is being featured
       goes here as a background image at 2600x380; the semantic system
       covers UI colour, not artwork, so it can be any colours at all.

       To add one: set background-image below, plus background-size: cover,
       background-position: center and background-repeat: no-repeat. Check
       the type stays readable on it first — ink needs 4.5:1 against the
       darkest part the headline crosses. */
    background-color: #fff;
    /* Artwork, unveiled, so it can be judged as drawn.

       The type sits on a cream panel rather than being outlined. Measured
       flat against the artwork, ink text failed on 27% of the area and plain
       white on 74% — the picture is dark under the left of the headline and
       pale through the middle, so no bare colour clears both. Giving the
       words their own ground solves it outright: ink on cream is 16.2:1
       wherever the panel happens to fall, and it takes the spikes, choked
       counters and sixteen-stamp shadow rings with it.

       If a future banner keeps x 335-2140 of 2600 light and open, with the
       props past x 2140, the panel can come off and the type can sit
       straight on the artwork. */
    background-image: url('../assets/images/feature-banner-booksale.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside a.feature-banner:hover,
body.lakeside a.feature-banner:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 6px 0 var(--glass-ink);
    color: var(--glass-ink);   /* must match the base colour */
    text-decoration: none;
}

body.lakeside a.feature-banner:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 4px;
}

/* Same calendar block as the event cards, at banner scale. Ink rather than
   a palette colour: on ember every fill in the scheme either clashes or
   disappears, and the leading is the one thing that always works. */
body.lakeside .feature-date {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 10rem;                  /* fits SEPTEMBER, the longest month */
    padding: 1rem 0.6rem;
    border-radius: 12px;
    /* The category marker for the whole banner. It holds its signal against
       whatever artwork sits behind the type. Programmes by default; add one
       of the modifiers below for anything else. */
    background-color: var(--sem-programs);
    color: var(--sem-on-category);      /* white on plum — 7.5:1 */
    line-height: 1;
}

body.lakeside .feature-date-materials {
    background-color: var(--sem-materials);
    color: var(--sem-on-category);      /* white on blue — 6.5:1 */
}

body.lakeside .feature-date-basics {
    background-color: var(--sem-basics);
    color: var(--sem-on-category);      /* white on green — 8.5:1 */
}

/* Appeals and fundraisers — the Friends' book sale, a donation drive.
   Attention rather than category, matching the Friends card lower down the
   page, and ember rather than the brighter gold so a solid block does not
   read as an oversized badge. */
body.lakeside .feature-date-attention {
    background-color: var(--glass-ember);
    color: var(--glass-ink);            /* ink on ember — 6.5:1 */
}

/* Sized and tracked so the longest month name fits on one line without the
   short ones looking lost. The trailing letter-spacing is pulled back with
   a negative margin so the word stays optically centred. */
body.lakeside .feature-month {
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-right: -0.06em;
    margin-bottom: 0.35rem;
    white-space: nowrap;
}

body.lakeside .feature-day {
    font-size: 4rem;
    font-weight: 800;
}

/* The words get their own ground, so they never have to fight the artwork.
   Cream rather than white so the panel belongs with the page's paper tones
   instead of reading as a cut-out box. */
body.lakeside .feature-body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
    padding: 0.85rem 1.25rem;
    border-radius: 14px;
    background-color: var(--glass-cream);   /* ink on it — 16.2:1 */
}

/* Held at full ink rather than dimmed — the obvious way to step an eyebrow
   back is opacity, but at 75% it drops to 3.6:1 and fails. Size, caps and
   letter-spacing do the same job without touching contrast. */
body.lakeside .feature-eyebrow {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.lakeside .feature-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

body.lakeside .feature-sub {
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.4;
}

body.lakeside .feature-cta {
    flex: 0 0 auto;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.4rem;
    border-radius: 999px;
    background-color: var(--glass-ink);
    color: var(--glass-cream);          /* 14.7:1 */
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    body.lakeside .feature-banner { gap: 1.25rem; padding: 1.25rem; }
    body.lakeside .feature-date { width: 8.5rem; }
    body.lakeside .feature-month { font-size: 0.8rem; letter-spacing: 0.04em; }
    body.lakeside .feature-day { font-size: 3.2rem; }
    body.lakeside .feature-title { font-size: 2.1rem; }
}

@media (max-width: 767.98px) {
    body.lakeside .feature-banner {
        flex-wrap: wrap;
        min-height: 0;
    }
    body.lakeside .feature-cta {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575px) {
    body.lakeside .feature-date {
        width: 100%;
        flex-direction: row;
        gap: 0.6rem;
        padding: 0.6rem;
    }
    body.lakeside .feature-month { margin-bottom: 0; font-size: 1rem; }
    body.lakeside .feature-day { font-size: 2rem; }
    body.lakeside .feature-title { font-size: 1.75rem; }
    body.lakeside .feature-sub { font-size: 0.95rem; }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside .feature-banner { transition: none; }
    body.lakeside a.feature-banner:hover,
    body.lakeside a.feature-banner:focus-visible { transform: none; }
}

/* ------------------------------------------------------------------
   Quick Services
   Six icon links, replacing the photo cards that were below the events
   section. Icons instead of photography so the row reads as a set of
   services rather than six unrelated pictures.
   ------------------------------------------------------------------ */
/* No panel background — the row sits directly on the page ground and reads
   as a set of links rather than a boxed-off section. */
body.lakeside .discover-section {
    padding: 0;
}

body.lakeside .discover-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.75rem;
}

body.lakeside .discover-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.4rem;
    border-radius: 10px;
    text-decoration: none;
    color: var(--glass-ink);
    transition: transform 0.2s ease;
}

body.lakeside .discover-card:hover,
body.lakeside .discover-card:focus-visible {
    transform: translateY(-4px);
    color: var(--glass-ink);
    text-decoration: none;
}

body.lakeside .discover-card:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 2px;
}

/* Six icons in a row on a near-white ground was the flattest part of the
   page — a set of grey pictograms with nothing holding them. Each one is now
   a glass tile: a saturated fill, an ink keyline, and a hard offset shadow
   in the same ink instead of the usual soft grey blur. The offset is what
   makes it read as a cut tile rather than a Material card.

   Fixed square so the Bootstrap icons and the MEL/Libby logos sit on one
   baseline and the labels line up across the row. */
body.lakeside .discover-art {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 18px;
    border: 3px solid var(--glass-ink);
    box-shadow: 4px 4px 0 var(--glass-ink);
    color: #fff;
    transition: box-shadow 0.2s ease;
}

body.lakeside .discover-card:hover .discover-art,
body.lakeside .discover-card:focus-visible .discover-art {
    box-shadow: 6px 6px 0 var(--glass-ink);
}

/* One colour per tile. Positions 3 and 4 are the MEL and Libby logos, which
   take white plates below, so the colours run 1, 2, then 5, 6 — a green and
   a blue on the left of the white pair, a purple and a plum on the right. */
/* Category, not decoration. Library Basics and Reserve a Meeting Room are
   both "how do I use the library" — green. Genealogy & Research and Library
   of Things are both things you get from the collections — blue. The order
   already groups them: green pair, the two supplied logos, blue pair. */
body.lakeside .discover-card:nth-child(1) .discover-art { background-color: var(--sem-basics); }
body.lakeside .discover-card:nth-child(2) .discover-art { background-color: var(--sem-basics); }
body.lakeside .discover-card:nth-child(5) .discover-art { background-color: var(--sem-materials); }
body.lakeside .discover-card:nth-child(6) .discover-art { background-color: var(--sem-materials); }

body.lakeside .discover-art i {
    font-size: 2.6rem;             /* pulled back from 4.2rem now it is boxed */
    line-height: 1;
    color: #fff;
}

/* MEL and Libby are supplied logos with their own colour and their own white
   ground — dropping them onto a saturated tile would fight both. They get a
   cream tile with the same keyline, so the row stays one set of objects. */
/* .discover-grid is in the selector only to carry enough specificity to beat
   the :nth-child fills above — :has() counts as its argument, so `img` alone
   is one element against their four classes. It matters if the links are ever
   reordered again and a logo lands back on a position that has a fill. */
body.lakeside .discover-grid .discover-card .discover-art:has(img) {
    background-color: #fff;
}

body.lakeside .discover-art img {
    max-height: 62px;
    max-width: 74px;
    width: auto;
    object-fit: contain;
}

body.lakeside .discover-label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    text-wrap: balance;
}

@media (max-width: 991.98px) {
    body.lakeside .discover-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 575px) {
    body.lakeside .discover-section { padding: 0; }
    body.lakeside .discover-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
    body.lakeside .discover-art { width: 72px; height: 72px; border-radius: 15px; box-shadow: 3px 3px 0 var(--glass-ink); }
    body.lakeside .discover-art i { font-size: 2.1rem; }
    body.lakeside .discover-art img { max-height: 50px; max-width: 58px; }
    body.lakeside .discover-label { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside .discover-card { transition: none; }
    body.lakeside .discover-card:hover,
    body.lakeside .discover-card:focus-visible { transform: none; }
}

/* ------------------------------------------------------------------
   Event cards — left column of the events row
   ------------------------------------------------------------------
   These were four lines of text in a plain list. Readable, but nothing in
   them caught the eye, so the whole column read as small print beside the
   capsules opposite.

   Each event is now a card led by a calendar-style date block: month small,
   day large. The numeral does the work a photograph would normally do, which
   is the point — this has to advertise events without anyone making an image
   for each one, and it has to keep working as the calendar feed changes.

   The card body stays white rather than taking a fill of its own. The
   capsules across the row are solid colour; if these were too, the row would
   be eight saturated bars and the events would stop being the thing you
   read. Colour is concentrated in the date block instead.
   ------------------------------------------------------------------ */
body.lakeside .event-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    margin-bottom: 1rem;
}

body.lakeside .event-card {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--glass-ink);
    border-radius: 12px;
    overflow: hidden;              /* clip the date block to the corners */
    background-color: #fff;
    color: var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside a.event-card:hover,
body.lakeside a.event-card:focus-visible {
    transform: translateX(4px);
    box-shadow: -4px 4px 0 var(--glass-ink);
    color: var(--glass-ink);
    text-decoration: none;
}

body.lakeside a.event-card:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}

body.lakeside .event-date {
    flex: 0 0 auto;
    width: 4.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 0.3rem;
    border-right: 2px solid var(--glass-ink);
    color: #fff;
    line-height: 1;
}

body.lakeside .event-month {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.2rem;
}

body.lakeside .event-day {
    font-size: 2rem;
    font-weight: 800;
}

/* Four colours by position, so no two cards in the list share one. All of
   them carry white at 6.4:1 or better. */
/* Every one of these is an event, so every one is a Programme. The old
   rotation through four colours by position was the exact problem this
   system exists to fix — it made position look like meaning. The classes
   are still emitted by includes/upcoming-events.php and now do nothing. */
body.lakeside .event-card-1 .event-date,
body.lakeside .event-card-2 .event-date,
body.lakeside .event-card-3 .event-date,
body.lakeside .event-card-4 .event-date { background-color: var(--sem-programs); }  /* white 7.5:1 */

body.lakeside .event-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.55rem 0.9rem;
    min-width: 0;                  /* lets long titles wrap */
}

body.lakeside .event-title {
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.25;
}

body.lakeside .event-meta {
    font-size: 0.83rem;
    color: #4a5a55;                /* on white: 7.3:1 */
}

body.lakeside .event-chevron {
    align-self: center;
    margin-left: auto;
    padding-inline: 0.85rem;
    font-size: 0.95rem;
    opacity: 0.75;
}

@media (max-width: 575px) {
    body.lakeside .event-date { width: 3.75rem; }
    body.lakeside .event-day { font-size: 1.7rem; }
    body.lakeside .event-title { font-size: 0.95rem; }
    body.lakeside .event-chevron { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside .event-card { transition: none; }
    body.lakeside a.event-card:hover,
    body.lakeside a.event-card:focus-visible { transform: none; }
}

/* ------------------------------------------------------------------
   Capsule stack — right column of the events row
   Replaces the "In the Spotlight" carousel. Four wide bars stacked, each
   one a single link, so the column reads as a short list of destinations
   rather than a rotating image people have to wait on.
   ------------------------------------------------------------------ */
body.lakeside .capsule-stack {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

body.lakeside .capsule {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.15rem;
    border-radius: 14px;           /* matches the Friends card */
    border: 3px solid var(--glass-ink);
    text-decoration: none;
    color: #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside a.capsule:hover,
body.lakeside a.capsule:focus-visible {
    transform: translateX(4px);
    box-shadow: -4px 4px 0 var(--glass-ink);
    text-decoration: none;
}

body.lakeside a.capsule:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}

/* These carried four different hues purely so the stack looked varied, which
   meant colour was signalling position rather than meaning. By category:
   Drop-In Events is something you attend, so it is a Programme. Museum
   Passes, Video Games and Lucky Day Books are all things you take home from
   the collections, so all three are Materials — Library of Things does not
   get its own colour for being unusual.

   That leaves three blues together, which is less varied than before. The
   variety is meant to come from what is in the list, not from painting four
   related things four colours. */
body.lakeside .capsule-a { background-color: var(--sem-programs); }   /* Drop-In Events   — white 7.5:1 */
body.lakeside .capsule-b { background-color: var(--sem-materials); }  /* Museum Passes    — white 6.5:1 */
body.lakeside .capsule-c { background-color: var(--sem-materials); }  /* Video Games      — white 6.5:1 */
body.lakeside .capsule-d { background-color: var(--sem-materials); }  /* Lucky Day Books  — white 6.5:1 */

body.lakeside .capsule-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 1.35rem;
}

body.lakeside .capsule-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;                  /* lets long copy wrap instead of stretching the pill */
}

body.lakeside .capsule-title {
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

body.lakeside .capsule-sub {
    font-size: 0.83rem;
    line-height: 1.35;
    /* Held just off white so it steps back from the title without going
       grey — a flat grey on a saturated fill reads as disabled text.
       Lowest of the three dark fills is the river blue, at 5.5:1. */
    color: rgba(255, 255, 255, 0.88);
}

body.lakeside .capsule-chevron {
    margin-left: auto;
    flex: 0 0 auto;
    font-size: 1.1rem;
    opacity: 0.85;
}


@media (max-width: 575px) {
    body.lakeside .capsule { padding: 0.85rem 1rem; gap: 0.75rem; }
    body.lakeside .capsule-icon { width: 2.25rem; height: 2.25rem; font-size: 1.1rem; }
    body.lakeside .capsule-title { font-size: 0.95rem; }
    body.lakeside .capsule-sub { font-size: 0.78rem; }
    body.lakeside .capsule-chevron { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside .capsule { transition: none; }
    body.lakeside a.capsule:hover,
    body.lakeside a.capsule:focus-visible { transform: none; }
}

/* ------------------------------------------------------------------
   Friends of the Library band
   A single card just above the footer, held to 75% of the container so it
   reads as a notice rather than another full-width section.
   ------------------------------------------------------------------ */
body.lakeside .friends-band {
    display: flex;
    justify-content: center;
    /* The card was landing about 3rem clear of the footer, which is not
       enough for a dark block sitting directly above another dark block —
       the two read as one mass with a seam in it. */
    margin-bottom: 2.5rem;
}

@media (max-width: 575px) {
    body.lakeside .friends-band {
        margin-bottom: 1.75rem;
    }
}

body.lakeside .friends-card {
    width: 75%;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    padding: 1.25rem 1.6rem;
    border-radius: 14px;
    border: 3px solid var(--glass-ink);
    /* EDGE CASE — deliberately neutral. The Friends are a volunteer group
       that funds the library; they are not something you use, borrow or
       attend, so none of the three categories fits. Rather than pick one
       arbitrarily this takes the same cream-and-ink treatment the callout
       panels use, which reads as paper rather than as a category.

       Orange, and it does fit the system — as attention rather than as a
       category. This card is an appeal: support the library, join the
       Friends. That is "something we particularly want patrons to notice",
       which is what the attention colour is for. It is not a fourth kind of
       library content, so it takes no category colour.

       Ember rather than the gold used for marks and tags, so a full panel of
       it does not read as an oversized badge. Ink text on it is 6.5:1.

       Earlier attempts: river blue, which the new system would have read as
       Materials, then cream, which went washed out beside the white banner,
       then ink, which was correct but sombre for an invitation. */
    background-color: var(--glass-ember);
    color: var(--glass-ink);                    /* ink on ember — 6.5:1 */
}

/* White plate behind the logo. The strokes separating the swooshes are
   transparent in the source file, not white, so on a teal card they would
   fill with teal and the shapes would run together. Sitting the mark on
   white gives those gaps something white to show through to. */
body.lakeside .friends-logo-plate {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: #fff;
}

body.lakeside .friends-logo {
    display: block;
    width: 84px;      /* the mark is square now the wording is gone */
    height: auto;
}

body.lakeside .friends-text {
    min-width: 0;
}

body.lakeside .friends-title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 0.4rem;
    color: var(--glass-ink);        /* ink on ember — 6.5:1 */
}

body.lakeside .friends-copy {
    /* Bigger and pure white. At 0.95rem in a muted tint it read as soft —
       Poppins has thin strokes at 400, and light-on-dark exaggerates that.
       Full white and a step up in size sharpen the edges. */
    font-size: 1.05rem;
    line-height: 1.55;
    margin: 0;
    color: var(--glass-ink);        /* ink on ember — 6.5:1 */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Marigold gets its one use on the page here — dark text on it, never
   white, which fails at 2.2:1. */
body.lakeside .friends-cta {
    flex: 0 0 auto;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    border: 2px solid var(--glass-ink);
    background-color: var(--glass-ink);   /* gold would vanish into the panel */
    color: var(--glass-cream);            /* cream on ink — 14.7:1 */
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

body.lakeside .friends-cta:hover,
body.lakeside .friends-cta:focus-visible {
    background-color: #33383c;
    color: var(--glass-cream);
    text-decoration: none;
}

body.lakeside .friends-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    body.lakeside .friends-card { width: 100%; }
    body.lakeside .friends-logo { width: 76px; }
}

@media (max-width: 575px) {
    body.lakeside .friends-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    body.lakeside .friends-cta { margin-left: 0; }
    body.lakeside .friends-logo { width: 70px; }
}

/* ------------------------------------------------------------------
   Bootstrap utility colours pulled into the scheme
   bg-secondary was Bootstrap's grey (hue 208°, 7% saturation) — the same
   blue-leaning near-neutral problem the chrome had, on 146 card headers.
   bg-success was a green at 69% saturation beside our 44%, so it read as a
   different green rather than an accent. bg-warning was worse than
   off-theme: white text on it measured 2.62:1, which fails WCAG.

   These carry !important because Bootstrap's own utilities do; the extra
   body.lakeside specificity is what makes them win.
   ------------------------------------------------------------------ */
/* bg-light is Bootstrap's #f8f9fa — a cool grey. On a parchment page every
   card footer using it read as a slightly dirty white patch. Cream is the
   same relationship to the ground that the grey had to white. */
body.lakeside .bg-light { background-color: var(--glass-cream) !important; }

body.lakeside .bg-secondary { background-color: #55665f !important; }  /* white 6.1:1 */
body.lakeside .bg-success   { background-color: #2d6a52 !important; }  /* white 6.4:1 */
body.lakeside .bg-warning   { background-color: #9a6512 !important; }  /* white 5.0:1, was 2.6:1 */

body.lakeside .btn-warning {
    background-color: #9a6512;
    border-color: #9a6512;
    color: #fff;
}
body.lakeside .btn-warning:hover {
    background-color: #7d520e;
    border-color: #7d520e;
    color: #fff;
}

/* ------------------------------------------------------------------
   Card headers — two trios, blue and green
   Pages are built as rows of three: a blue row using primary/secondary/
   light-blue, then a green row using the green equivalents. An earlier
   version folded bg-primary-blue into a green ramp, which decapitated every
   blue row — support.php led with a green "Financial Donations" above two
   blue cards.

   Each hue now runs deep / mid / pale, so a row reads as one family with
   three clear steps, and the two rows stay obviously different from each
   other. Every filled step carries white text.
   ------------------------------------------------------------------ */
/* Header AND footer. Cards put the same class on both, so remapping only
   the header left them a different colour top and bottom — visible on
   Special Equipment and VOX & Wonderbooks, where the header went deep blue
   while the footer stayed on the raw --primary-blue. */
/* ------------------------------------------------------------------
   Card headers — six colours, not two ramps
   ------------------------------------------------------------------
   These used to run as two trios: a blue row of deep/mid/pale and a green
   row of the same. Three depths of one hue is a ramp, and a ramp is what
   makes a page look like it has one colour in it applied with varying
   confidence. The homepage never did that — its six service tiles are six
   different colours — so interior pages read as a duller relation of it.

   The six classes now map to six distinct hues from the palette. Pages are
   authored as rows of three, blue-named classes on one row and green-named
   on the next, so a row still comes out as a deliberate set — it is just a
   set of different colours now rather than three strengths of one.

   The class names no longer describe their colour: bg-secondary-green
   renders terracotta and bg-light-green renders plum. That is deliberate.
   Renaming them would mean touching 1,100+ card headers across 190 pages,
   and the names already only meant "row one" and "row two" in practice.

   Every one carries white text at 4.8:1 or better. Scoped to .card-header
   and .card-footer only: the bare classes stay pale because 921 cards across
   the 152 board-minutes pages use them as whole card backgrounds with dark
   text on top.
   ------------------------------------------------------------------ */
body.lakeside .card-header.bg-primary-blue,
body.lakeside .card-footer.bg-primary-blue     { background-color: var(--glass-navy) !important; }     /* deep navy  — 10.9:1 */
body.lakeside .card-header.bg-secondary-blue,
body.lakeside .card-footer.bg-secondary-blue   { background-color: var(--glass-river) !important; }     /* river      —  6.5:1 */
body.lakeside .card-header.bg-light-blue,
body.lakeside .card-footer.bg-light-blue       { background-color: var(--glass-violet) !important; }    /* violet     —  8.3:1 */

body.lakeside .card-header.bg-primary-green,
body.lakeside .card-footer.bg-primary-green    { background-color: var(--glass-pine) !important; }      /* pine       —  8.5:1 */
body.lakeside .card-header.bg-secondary-green,
body.lakeside .card-footer.bg-secondary-green  { background-color: var(--glass-terracotta) !important; }/* terracotta —  4.8:1 */
body.lakeside .card-header.bg-light-green,
body.lakeside .card-footer.bg-light-green      { background-color: var(--glass-plum) !important; }      /* plum       —  7.5:1 */

/* The two that were authored pale carry .text-dark in their markup, which is
   !important and would leave near-black text on a saturated fill. */
body.lakeside .card-header.bg-light-blue,
body.lakeside .card-header.bg-light-green,
body.lakeside .card-footer.bg-light-blue,
body.lakeside .card-footer.bg-light-green,
body.lakeside .card-header.bg-light-blue :is(h1, h2, h3, h4, h5, h6, i, span, p),
body.lakeside .card-header.bg-light-green :is(h1, h2, h3, h4, h5, h6, i, span, p) {
    color: #fff !important;
}

body.lakeside .card-header.bg-secondary,
body.lakeside .card-header.bg-success,
body.lakeside .card-footer.bg-secondary,
body.lakeside .card-footer.bg-success         { background-color: #3e7a62 !important; }  /* white 5.0:1 */

/* bg-warning stays warm and out of the ramp — a warning that looks like
   every other card stops working as a warning. */


/* theme.css hovers btn-primary-blue to --secondary-blue, i.e. a hue change
   rather than a depth change. Buttons should darken on hover, not shift
   colour. */
body.lakeside .btn-primary-blue:hover,
body.lakeside .btn-primary-blue:focus-visible {
    background-color: #24352f;   /* 12.9:1 with white */
    border-color: #24352f;
    color: #fff;
}

/* ------------------------------------------------------------------
   Buttons take the colour of the card they sit in
   Button classes were assigned as arbitrarily as the headers were — a card
   with a blue header could hold a green button and vice versa. Rather than
   editing every page, :has() lets the card's own header decide, so this
   stays correct wherever a header class is set or changed later.

   Browsers without :has() simply keep the button colour the page author
   wrote, which is the current behaviour — nothing breaks.
   ------------------------------------------------------------------ */

/* Blue-headed cards — blue buttons */
body.lakeside .card:has(.card-header:is(.bg-primary-blue, .bg-secondary-blue, .bg-light-blue)) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green) {
    background-color: var(--glass-river);
    border-color: var(--glass-river);
    color: #fff;
}
body.lakeside .card:has(.card-header:is(.bg-primary-blue, .bg-secondary-blue, .bg-light-blue)) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green):hover {
    background-color: #1f406a;
    border-color: #1f406a;
    color: #fff;
}
body.lakeside .card:has(.card-header:is(.bg-primary-blue, .bg-secondary-blue, .bg-light-blue)) :is(.btn-outline-primary, .btn-outline-success) {
    color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}
body.lakeside .card:has(.card-header:is(.bg-primary-blue, .bg-secondary-blue, .bg-light-blue)) :is(.btn-outline-primary, .btn-outline-success):hover {
    background-color: var(--glass-river);
    border-color: var(--glass-river);
    color: #fff;
}

/* Green-headed cards — green buttons */
body.lakeside .card:has(.card-header:is(.bg-primary-green, .bg-secondary-green, .bg-light-green, .bg-secondary, .bg-success)) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green) {
    background-color: var(--glass-pine);
    border-color: var(--glass-pine);
    color: #fff;
}
body.lakeside .card:has(.card-header:is(.bg-primary-green, .bg-secondary-green, .bg-light-green, .bg-secondary, .bg-success)) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green):hover {
    background-color: #1a4740;
    border-color: #1a4740;
    color: #fff;
}
body.lakeside .card:has(.card-header:is(.bg-primary-green, .bg-secondary-green, .bg-light-green, .bg-secondary, .bg-success)) :is(.btn-outline-primary, .btn-outline-success) {
    color: var(--primary-green);
    border-color: var(--primary-green);
}
body.lakeside .card:has(.card-header:is(.bg-primary-green, .bg-secondary-green, .bg-light-green, .bg-secondary, .bg-success)) :is(.btn-outline-primary, .btn-outline-success):hover {
    background-color: var(--glass-pine);
    border-color: var(--glass-pine);
    color: #fff;
}

/* Cards whose header is the third step get that step's own colour on their
   buttons and badges. Without this they fell back to the family colour above
   and a violet-headed card carried a blue badge. */
body.lakeside .card:has(.card-header.bg-light-blue) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green) {
    background-color: var(--glass-violet);
    border-color: var(--glass-violet);
    color: #fff;
}
body.lakeside .card:has(.card-header.bg-light-green) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green) {
    background-color: var(--glass-plum);
    border-color: var(--glass-plum);
    color: #fff;
}
body.lakeside .card:has(.card-header.bg-secondary-green) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green) {
    background-color: var(--glass-terracotta);
    border-color: var(--glass-terracotta);
    color: #fff;
}
body.lakeside .card:has(.card-header.bg-secondary-blue) :is(.btn-primary, .btn-primary-blue, .btn-primary-green, .btn-secondary-blue, .btn-secondary-green, .btn-light-blue, .btn-light-green) {
    background-color: var(--glass-river);
    border-color: var(--glass-river);
    color: #fff;
}
body.lakeside .card:has(.card-header.bg-light-blue) .badge:is(.bg-primary-blue, .bg-secondary-blue, .bg-primary-green, .bg-secondary-green, .bg-light-blue, .bg-light-green) {
    background-color: var(--glass-violet) !important;
    color: #fff !important;
}
body.lakeside .card:has(.card-header.bg-light-green) .badge:is(.bg-primary-blue, .bg-secondary-blue, .bg-primary-green, .bg-secondary-green, .bg-light-blue, .bg-light-green) {
    background-color: var(--glass-plum) !important;
    color: #fff !important;
}
body.lakeside .card:has(.card-header.bg-secondary-green) .badge:is(.bg-primary-blue, .bg-secondary-blue, .bg-primary-green, .bg-secondary-green, .bg-light-blue, .bg-light-green) {
    background-color: var(--glass-terracotta) !important;
    color: #fff !important;
}
body.lakeside .card:has(.card-header.bg-secondary-blue) .badge:is(.bg-primary-blue, .bg-secondary-blue, .bg-primary-green, .bg-secondary-green, .bg-light-blue, .bg-light-green) {
    background-color: var(--glass-river) !important;
    color: #fff !important;
}

/* Ten buttons across the site carry an inline background-color and colour,
   which beats every rule above no matter how specific. !important is the
   only thing that reaches an inline style. */
body.lakeside .btn-light-blue {
    background-color: var(--glass-river) !important;
    border-color: var(--glass-river) !important;
    color: #fff !important;
}
body.lakeside .btn-light-green {
    background-color: var(--glass-pine) !important;
    border-color: var(--glass-pine) !important;
    color: #fff !important;
}

/* Badges follow the card too — the "3 Week Loan" style pills in card
   footers were assigned as arbitrarily as the buttons were, so a green card
   could carry a blue badge.

   Only the theme's own colour classes are remapped. bg-success, bg-danger,
   bg-warning and bg-info are left alone: on a badge those carry state
   (available, overdue, closed), and repainting them to match the card would
   throw that meaning away. */
body.lakeside .card:has(.card-header:is(.bg-primary-blue, .bg-secondary-blue, .bg-light-blue)) .badge:is(.bg-primary-blue, .bg-secondary-blue, .bg-primary-green, .bg-secondary-green, .bg-light-blue, .bg-light-green) {
    background-color: var(--secondary-blue) !important;
    color: #fff !important;
}

body.lakeside .card:has(.card-header:is(.bg-primary-green, .bg-secondary-green, .bg-light-green, .bg-secondary, .bg-success)) .badge:is(.bg-primary-blue, .bg-secondary-blue, .bg-primary-green, .bg-secondary-green, .bg-light-blue, .bg-light-green) {
    background-color: var(--primary-green) !important;
    color: #fff !important;
}

/* ------------------------------------------------------------------
   Main menu
   Five hub links and two utility buttons (Catalog, My Account), no
   dropdowns. The hub links are plain text; the utilities are buttons and
   sit apart from them, because they are things you do rather than places
   on the site.

   The current section gets an underline, so the header still says where
   you are now that it no longer opens to show it.
   ------------------------------------------------------------------ */
body.lakeside .site-nav .site-nav-main .nav-link {
    font-weight: 600;
    position: relative;
}

body.lakeside .site-nav .site-nav-main .nav-link.active {
    color: var(--glass-ink) !important;
}

body.lakeside .site-nav .site-nav-main .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.1rem;
    height: 3px;
    border-radius: 2px;
    background: var(--primary-green);
}

body.lakeside .site-nav-utility {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

body.lakeside .btn-outline-nav {
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    background: #fff;
    font-weight: 600;
}

body.lakeside .btn-outline-nav:hover,
body.lakeside .btn-outline-nav:focus-visible {
    background: var(--primary-blue);
    color: #fff;
}

body.lakeside .site-nav-utility .btn-primary-green {
    border-width: 2px;
    font-weight: 600;
}

@media (min-width: 1200px) {
    body.lakeside .site-nav .site-nav-main .nav-link {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    body.lakeside .site-nav .site-nav-main .nav-link.active::after {
        left: 0.85rem;
        right: 0.85rem;
    }
    /* A thin rule between the sections and the buttons. */
    body.lakeside .site-nav-utility {
        margin-left: 1rem;
        padding-left: 1rem;
        border-left: 2px solid var(--light-blue);
    }
    body.lakeside .navbar-brand img {
        height: 46px;
    }
    body.lakeside .navbar-brand .fs-5 {
        font-size: 1.05rem;
    }
}

/* Collapsed (phone and tablet): one flat list, then the two buttons full
   width underneath. Each row is a 44px tap target. */
@media (max-width: 1199.98px) {
    body.lakeside .site-nav .site-nav-main {
        margin-top: 0.75rem;
        border-top: 2px solid var(--light-blue);
    }
    body.lakeside .site-nav .site-nav-main .nav-link {
        display: flex;
        align-items: center;
        min-height: 44px;
        padding: 0.6rem 0.25rem;
        border-bottom: 1px solid var(--light-blue);
        font-size: 1.05rem;
    }
    body.lakeside .site-nav .site-nav-main .nav-link.active::after {
        left: 0;
        right: auto;
        top: 0.6rem;
        bottom: 0.6rem;
        width: 4px;
        height: auto;
        margin-left: -0.6rem;
    }
    body.lakeside .site-nav-utility {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem 0 0.25rem;
    }
    body.lakeside .site-nav-utility .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
    }
}

/* ------------------------------------------------------------------
   Brand bar
   ------------------------------------------------------------------
   The nine-colour palette bar. It used to sit at the bottom of the footer
   with the credits set on top of it, which meant its one job was to be a
   background — the last thing on the page, under small print.

   It now runs on the homepage as the divider between the masthead and Quick
   Services. That is the better job for it: with no fill behind the logo, the
   masthead needs something to close it off, and nine colours in a line is a
   more interesting way to do that than a rule.

   Contained to the page width, so it starts at the logo's left edge and ends
   at the search card's right edge rather than running off into the margins.

   At full height with ink between the blocks it is a strip of glass rather
   than a rule — the leading runs between the nine colours the same way it
   runs between the tiles in the logo above it. That only works at this
   weight; thin, the gaps close up and it reads as a progress bar.

   Colours come from includes/brand-colors.php.
   ------------------------------------------------------------------ */
body.lakeside .brand-bar {
    display: flex;
    gap: 2px;                      /* leading between the blocks */
    height: 40px;
    background: var(--glass-ink);  /* what shows through the gaps */
    border: 2px solid var(--glass-ink);
    border-radius: 4px;
    overflow: hidden;              /* clip the end blocks to the corners */
}

body.lakeside .brand-bar span {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 575px) {
    body.lakeside .brand-bar {
        height: 28px;
    }
}

/* Footer credits. With the blocks gone these sit straight on the footer's
   slate, so they take white rather than the black they needed on the pale
   palette blocks. */
body.lakeside .footer-credits {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem 1.5rem;
    width: 100%;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.85);   /* on the slate footer: 8.4:1 */
    font-size: 0.82rem;
    font-weight: 600;
}

@media (max-width: 575px) {
    body.lakeside .footer-credits {
        justify-content: center;
        text-align: center;
        font-size: 0.75rem;
    }
}

/* ------------------------------------------------------------------
   Category buttons
   ------------------------------------------------------------------
   Buttons that act on a category carry it. Only the homepage uses these so
   far; the class exists so the same treatment can be applied elsewhere.
   ------------------------------------------------------------------ */
body.lakeside .btn-programs {
    background-color: var(--sem-programs);
    border-color: var(--sem-programs);
    color: var(--sem-on-category);      /* white on plum — 7.5:1 */
}

body.lakeside .btn-programs:hover,
body.lakeside .btn-programs:focus-visible {
    background-color: var(--glass-pine-deep);   /* white 11.8:1 */
    border-color: #74256f;
    color: var(--sem-on-category);
}

/* ------------------------------------------------------------------
   Section rules — homepage
   ------------------------------------------------------------------
   These were gold under every section heading. Uniform gold on every
   heading is not attention, it is decoration, and it competed with the one
   place gold now genuinely means "notice this" — the date block on the
   featured banner.

   A rule under a heading is structure, so it takes the interface colour:
   the same ink as every keyline on the page.

   Scoped to the homepage via the page-index body class that header.php
   adds. .section-header is used across the whole site and the rest of it
   has not been through the semantic pass yet.
   ------------------------------------------------------------------ */
body.lakeside.page-index .section-header {
    border-bottom-color: var(--glass-ink);
}


/* ------------------------------------------------------------------
   Kids Zone
   ------------------------------------------------------------------
   The kids section used to sit outside this scheme entirely — its own
   turquoise, its own pastels, white ground, soft grey blur. It now loads
   lakeside.css like every other page, so what is left is to bring its own
   components into the same material: ink keylines, squared offset shadows,
   brand colour in the blocks.

   .action-card and .kids-pick-* exist only on the Kids Zone landing page.
   ------------------------------------------------------------------ */

/* The four picture cards. Same treatment as .card — a keyline and a cut-tile
   shadow rather than the floating-panel blur they carried. */
body.lakeside .action-card {
    border: 2px solid var(--glass-ink);
    border-radius: 10px;
    box-shadow: 5px 5px 0 var(--glass-ink);
}

body.lakeside .action-card:hover,
body.lakeside .action-card:focus-visible {
    box-shadow: 7px 7px 0 var(--glass-ink);
}

/* Quick Picks circles.
   These were light brand tints, which kept them reading as pastels beside a
   page built out of saturated blocks. They take the palette proper now — the
   same six the book circles on kids-resources use, and the same move the
   homepage's service tiles make: a saturated block with the art in white.

   That works here because the art is two-tone, #fff bodies with #1a1a1a
   linework, not a single-colour silhouette. On a deep fill the white body
   carries the shape and the dark linework stays legible because it sits on
   that white, not on the fill. Only the outermost contour loses contrast
   against the block, and the white edge beside it already draws that line.

   Light fills were tried the other way round and are wrong for this art:
   on marigold or ember the white bodies drop to under 2:1 and the animals
   go hollow. */
body.lakeside .kids-pick-circle {
    border: 2px solid var(--glass-ink);
    box-shadow: 4px 4px 0 var(--glass-ink);
}

body.lakeside .kids-pick:hover .kids-pick-circle {
    box-shadow: 6px 6px 0 var(--glass-ink);
}

/* Quick Picks sit square (2026-10-07): a tilt makes the labels blurry on
   real screens. They lift when pointed at. */
@media (prefers-reduced-motion: no-preference) {
    body.lakeside .kids-pick:hover,
    body.lakeside .kids-pick:focus-visible {
        transform: translateY(-5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside .kids-pick,
    body.lakeside .kids-pick-circle,
    body.lakeside .action-card {
        transition: none;
    }
}

/* Kids cards are rounder than the rest of the site's. Same keyline, same
   shadow, same six colours — the only thing that changes is the corner, which
   is enough to read as friendlier without pulling the section out of the
   scheme. Set through Bootstrap's own variable so headers, bodies and footers
   all follow instead of poking out of the corners. */
body.lakeside.kids-zone .card {
    --bs-card-border-radius: 1rem;
    --bs-card-inner-border-radius: calc(1rem - 2px);
}

/* Kids cards sit square (2026-10-07). They were tilted 1.4deg, which left
   their text blurry on real screens. */
body.lakeside.kids-zone .action-card {
    border-radius: 1rem;
}

/* The four picture cards on the Kids Zone page stay square (2026-10-07):
   tilted, their text rendered blurry on a real screen. They lift on hover. */
@media (prefers-reduced-motion: no-preference) {
    body.lakeside.kids-zone .action-card:hover,
    body.lakeside.kids-zone .action-card:focus-visible {
        transform: translateY(-5px);
        box-shadow: 7px 7px 0 var(--glass-ink);
    }
}

/* ------------------------------------------------------------------
   Theme Reads
   ------------------------------------------------------------------
   Every item on that page has a real photograph. The old layout showed them
   as 80px stamps beside a line of text, in three fixed columns whose height
   was set by the longest list - so a theme with two books and six crafts was
   mostly empty space. These are picture tiles in a grid that wraps, so the
   pictures are the size of the thing they are of and no column can be empty.
   ------------------------------------------------------------------ */

/* Theme picker: the artwork each theme already had, at thumbnail size. */
body.lakeside .tr-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

body.lakeside .tr-picker-item {
    width: 116px;
    padding: 0;
    background: var(--glass-cream);
    border: 2px solid var(--glass-ink);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    color: var(--text-dark);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

/* The holder is square: eleven of these sit in a grid above the page with a
   label under each, and square packs that better than a banner strip does.

   The artwork is square now too - 450x450 of one subject per theme - so cover
   crops nothing and simply fills the tile. It stays cover rather than contain
   so that art of the wrong shape gets cropped to the square instead of
   letterboxing and leaving the row ragged.

   White, not cream, because the clip art is drawn on white and is not cut out.
   Cream here would show as a hairline around each picture wherever the layout
   rounds the box a fraction wider than the image. */
body.lakeside .tr-picker-item img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #fff;
    border-bottom: 2px solid var(--glass-ink);
}

body.lakeside .tr-picker-item span {
    display: block;
    padding: 0.35rem 0.25rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

body.lakeside .tr-picker-item:hover,
body.lakeside .tr-picker-item:focus-visible {
    box-shadow: 4px 4px 0 var(--glass-ink);
}

/* The chosen theme is a filled block, the way a selected pill is elsewhere. */
body.lakeside .tr-picker-item.is-current {
    background: var(--glass-pine);   /* white 8.5:1 */
    box-shadow: 4px 4px 0 var(--glass-ink);
}

body.lakeside .tr-picker-item.is-current span {
    color: #fff;
}

/* Books rows only. The library's covers in assets/book-covers/ are all squared
   to 600x600 already, so a square box fits them exactly and nothing letterboxes.
   contain rather than cover is kept as the safety net: a cover that is not
   square sits whole on the cream instead of being cropped, and cropping a cover
   takes its title off the top. */
/* Books rows hold one more tile per line than the rest of the page: five books
   and the search that follows them is six, and at the page's 190px column the
   sixth wrapped onto a line of its own - which is the one place the "more" tile
   should not be, having been put at the end of the line deliberately.

   .tr-grid is named alongside it because that rule sits further down the file
   at the same specificity and would otherwise win. */
body.lakeside .tr-grid.tr-grid-books {
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
}

body.lakeside .tr-grid-books .tr-tile img {
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: var(--glass-cream);
}

/* The browse tile at the end of a Books row keeps its search mark, just at the
   same height as the covers beside it. */
body.lakeside .tr-grid-books .tr-tile-mark {
    aspect-ratio: 1 / 1;
}

/* A book we have not got a cover for yet. Cream and ink rather than the browse
   tile's pine, because it is a gap to be filled, not a search to be run.
   Both classes are named so this beats .tr-tile-mark, which is defined further
   down the file at the same specificity. */
body.lakeside .tr-tile-mark.tr-tile-nocover {
    background: var(--glass-cream);
    color: var(--glass-ink);
    opacity: 0.55;
    border-bottom: 2px solid var(--glass-ink);
}

/* A book tile is not itself a link, so it must not lift or shadow-shift on
   hover the way the clickable tiles do - the two links inside it are the
   clickable things. */
body.lakeside .tr-tile-book {
    cursor: default;
}

body.lakeside .tr-book-links {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-top: auto;            /* pin to the bottom, so tiles of different
                                    title lengths still line their links up */
    padding: 0 0.7rem 0.7rem;
}

body.lakeside .tr-book-links a {
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    color: var(--glass-pine);    /* 8.5:1 on white */
}

body.lakeside .tr-book-links a:hover,
body.lakeside .tr-book-links a:focus-visible {
    text-decoration: underline;
}

body.lakeside .tr-author {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.78rem;
    font-weight: 500;
    font-style: italic;
    color: #5b5b5b;   /* 6.4:1 on white */
}

body.lakeside .tr-cat {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--glass-ink);
    margin-bottom: 1rem;
}

/* auto-fill, not auto-fit: a category holding one item should leave the rest
   of the row empty rather than stretching that one tile across the page. */
body.lakeside .tr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.25rem;
}

body.lakeside .tr-tile {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: 4px 4px 0 var(--glass-ink);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

body.lakeside .tr-tile img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-bottom: 2px solid var(--glass-ink);
}

body.lakeside .tr-tile span {
    padding: 0.6rem 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.25;
}

@media (prefers-reduced-motion: no-preference) {
    body.lakeside a.tr-tile:hover,
    body.lakeside a.tr-tile:focus-visible {
        transform: translateY(-4px);
        box-shadow: 6px 6px 0 var(--glass-ink);
    }
}

/* A browse tile: not a thing, a search for more things. Every Books entry is
   one - each was showing a single cover for what is actually a catalogue
   search, so it read as an offer of that one book. The marigold edge is the
   scheme's attention colour and the second line says what will happen. */
body.lakeside .tr-tile-more {
    background: var(--glass-cream);
    border-top: 6px solid var(--accent-marigold);
}

body.lakeside .tr-tile-more img {
    opacity: 0.85;
}

body.lakeside .tr-more-note {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--glass-pine);
}

/* Stands in for the picture on a browse tile that has none, and holds the same
   4:3 block so it lines up with the real tiles beside it. */
body.lakeside .tr-tile-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--glass-pine);
    border-bottom: 2px solid var(--glass-ink);
    color: #fff;
    font-size: 3.6rem;
}

/* Items the original had no link for. They must not look clickable. */
body.lakeside .tr-tile-static {
    background: var(--glass-cream);
    box-shadow: none;
}

/* A six-colour cycle rather than eight fixed positions, so the rotation holds
   if a topic is added or removed. */
body.lakeside .kids-pick:nth-child(6n+1) .kids-pick-circle { background-color: var(--glass-navy); }
body.lakeside .kids-pick:nth-child(6n+2) .kids-pick-circle { background-color: var(--glass-river); }
body.lakeside .kids-pick:nth-child(6n+3) .kids-pick-circle { background-color: var(--glass-violet); }
body.lakeside .kids-pick:nth-child(6n+4) .kids-pick-circle { background-color: var(--glass-pine); }
body.lakeside .kids-pick:nth-child(6n+5) .kids-pick-circle { background-color: var(--glass-terracotta); }
body.lakeside .kids-pick:nth-child(6n+6) .kids-pick-circle { background-color: var(--glass-plum); }


/* ------------------------------------------------------------------
   Hub pages
   ------------------------------------------------------------------
   The landing page behind each main-menu link (Books & More, Events,
   Services, About, and the extra sections on Kids). Built from the same
   material as the homepage: ink keylines, hard offset shadows, saturated
   fills that carry the semantic colours.

     .hub-lead      The one big action on the page (Search the Catalog,
                    View Event Calendar). A solid category-colour panel.
     .hub-grid      A row of destination cards.
     .hub-card      One destination: icon tile, title, one-line description.
                    As an <a> the whole card is the link; as a <div> it holds
                    its own buttons in .hub-card-actions.
     .hub-feature   Spans two columns, for the card that matters most in a
                    row.

   Colour by meaning, as everywhere else in the scheme:
     .hub-materials  blue  — things you borrow
     .hub-programs   green — things you attend
     .hub-basics     plum  — how to use the library
     .hub-interface  navy  — the library itself (About)
   ------------------------------------------------------------------ */
body.lakeside .hub-materials { --hub-color: var(--sem-materials); }
body.lakeside .hub-programs  { --hub-color: var(--sem-programs); }
body.lakeside .hub-basics    { --hub-color: var(--sem-basics); }
body.lakeside .hub-interface { --hub-color: var(--glass-navy); }

body.lakeside .hub-lead {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
    padding: 1.75rem 2rem;
    margin-bottom: 3rem;
    border: 3px solid var(--glass-ink);
    border-radius: 18px;
    box-shadow: 6px 6px 0 var(--glass-ink);
    background: var(--hub-color, var(--sem-materials));
    color: #fff;
}

body.lakeside .hub-lead-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 2.2rem;
}

body.lakeside .hub-lead-text {
    flex: 1 1 18rem;
    min-width: 0;
}

body.lakeside .hub-lead-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #fff;
}

body.lakeside .hub-lead-text p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.92);
}

body.lakeside .hub-lead-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Inside the lead panel buttons are cream with ink text, so they stand off
   whatever category colour the panel is. */
body.lakeside .hub-lead .btn-hub {
    background: var(--glass-cream);
    color: var(--glass-ink);
    border: 2px solid var(--glass-ink);
    font-weight: 700;
    padding: 0.7rem 1.4rem;
    box-shadow: 3px 3px 0 var(--glass-ink);
}

body.lakeside .hub-lead .btn-hub:hover,
body.lakeside .hub-lead .btn-hub:focus-visible {
    background: #fff;
    color: var(--glass-ink);
    box-shadow: 5px 5px 0 var(--glass-ink);
}

body.lakeside .hub-lead .btn-hub:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

body.lakeside .hub-lead .btn-hub-quiet {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
}

body.lakeside .hub-lead .btn-hub-quiet:hover,
body.lakeside .hub-lead .btn-hub-quiet:focus-visible {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

body.lakeside .hub-section {
    margin-bottom: 3rem;
}

body.lakeside .hub-section-intro {
    margin-top: -1.25rem;
    margin-bottom: 1.5rem;
    color: #3a3f47;
}

body.lakeside .hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
    gap: 1.25rem;
}

body.lakeside .hub-card {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1.25rem;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--glass-ink);
    color: var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside a.hub-card:hover,
body.lakeside a.hub-card:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--glass-ink);
    color: var(--glass-ink);
    text-decoration: none;
}

body.lakeside a.hub-card:focus-visible {
    outline: 3px solid var(--hub-color, var(--glass-ink));
    outline-offset: 3px;
}

body.lakeside .hub-card-head {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

body.lakeside .hub-card-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 12px;
    border: 2px solid var(--glass-ink);
    background: var(--hub-color, var(--sem-materials));
    color: #fff;
    font-size: 1.4rem;
}

body.lakeside .hub-card-icon img {
    max-width: 2.1rem;
    max-height: 2.1rem;
}

body.lakeside .hub-card-icon:has(img) {
    background: #fff;
}

body.lakeside .hub-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: var(--glass-ink);
}

body.lakeside .hub-card p {
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
    color: #3a3f47;
}

/* "Opens in new tab" / arrow marker that sits at the foot of a linked card. */
body.lakeside .hub-card-go {
    margin-top: auto;
    padding-top: 0.25rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hub-color, var(--primary-blue));
}

body.lakeside .hub-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

body.lakeside .hub-card-actions .btn {
    background: var(--hub-color, var(--primary-blue));
    border: 2px solid var(--glass-ink);
    color: #fff;
    font-weight: 600;
}

body.lakeside .hub-card-actions .btn:hover,
body.lakeside .hub-card-actions .btn:focus-visible {
    background: var(--glass-ink);
    color: #fff;
}

/* Short list of links inside a card (e.g. the story times under Kids). */
body.lakeside .hub-card-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.92rem;
}

body.lakeside .hub-card-links li + li {
    margin-top: 0.3rem;
}

body.lakeside .hub-card-links a {
    color: var(--glass-ink);
    font-weight: 600;
    text-decoration: none;
}

body.lakeside .hub-card-links a:hover {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}

/* The card that matters most in its row: two columns wide, on cream. */
@media (min-width: 768px) {
    body.lakeside .hub-feature {
        grid-column: span 2;
    }
}

body.lakeside .hub-feature {
    background: var(--glass-cream);
}

body.lakeside .hub-feature .hub-card-title {
    font-size: 1.3rem;
}

/* Visit Us panel on About. */
body.lakeside .hub-visit dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.25rem 1rem;
    margin: 0;
}

body.lakeside .hub-visit dt {
    font-weight: 600;
}

body.lakeside .hub-visit dd {
    margin: 0;
}

@media (max-width: 575.98px) {
    body.lakeside .hub-lead {
        padding: 1.25rem;
    }
    body.lakeside .hub-lead-icon {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 1.6rem;
    }
    body.lakeside .hub-lead-title {
        font-size: 1.3rem;
    }
    body.lakeside .hub-lead-actions,
    body.lakeside .hub-lead-actions .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside .hub-card { transition: none; }
    body.lakeside a.hub-card:hover,
    body.lakeside a.hub-card:focus-visible { transform: none; }
}

/* ------------------------------------------------------------------
   Hub pages, second pass (Books & More)
   ------------------------------------------------------------------ */
/* A fixed three-up grid for a set of six, so it lands as two even rows
   instead of four-and-two. */
body.lakeside .hub-grid-3 {
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    body.lakeside .hub-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
    body.lakeside .hub-grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* A card that holds a primary link (.stretched-link, so the whole card is
   the target) and a secondary one. The secondary link is lifted above the
   stretched area so it stays clickable on its own. */
body.lakeside div.hub-card:has(.stretched-link) {
    position: relative;
}
body.lakeside div.hub-card:has(.stretched-link):hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--glass-ink);
}
body.lakeside div.hub-card:has(.stretched-link:focus-visible) {
    outline: 3px solid var(--hub-color, var(--glass-ink));
    outline-offset: 3px;
}
body.lakeside .hub-card .stretched-link {
    text-decoration: none;
}
body.lakeside .hub-card .stretched-link:focus-visible {
    outline: none;
}
body.lakeside .hub-card-alt {
    position: relative;
    z-index: 2;
    align-self: flex-start;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--glass-ink);
    text-decoration-color: var(--hub-color, var(--primary-blue));
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}
body.lakeside .hub-card-alt:hover {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}
@media (max-width: 575.98px) {
    body.lakeside .hub-card-go,
    body.lakeside .hub-card-alt {
        padding-top: 0.35rem;
        padding-bottom: 0.35rem;
        font-size: 0.95rem;
    }
}

/* Loan periods: a plain two-column list, item on the left, time on the
   right, ruled between rows. */
body.lakeside .hub-loans {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 46rem;
}
body.lakeside .hub-loans li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--light-blue);
    scroll-margin-top: 1rem;
}
body.lakeside .hub-loans li:target {
    background: var(--glass-cream);
}
body.lakeside .hub-loans small {
    color: #3a3f47;
}
body.lakeside .hub-loans strong {
    flex: 0 0 auto;
    text-align: right;
}
@media (max-width: 575.98px) {
    body.lakeside .hub-loans li {
        flex-direction: column;
        gap: 0.15rem;
    }
    body.lakeside .hub-loans strong {
        text-align: left;
    }
}

/* Can't Find It: one compact cream panel at the foot of the page. */
body.lakeside .hub-cantfind {
    padding: 1.5rem 1.75rem;
    margin-bottom: 1rem;
    background: var(--glass-cream);
    border: 2px solid var(--glass-ink);
    border-radius: 14px;
    box-shadow: 4px 4px 0 var(--glass-ink);
}
body.lakeside .hub-cantfind-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin-bottom: 1rem;
}
@media (max-width: 575.98px) {
    body.lakeside .hub-cantfind { padding: 1.25rem; }
    body.lakeside .hub-cantfind .btn { width: 100%; min-height: 44px; }
}

/* ------------------------------------------------------------------
   Hub pages, shared pattern (Books & More, Services)
   ------------------------------------------------------------------
   Title with a panel beside it, the brand bar, compact tiles in the
   page's colour, then two calm panels side by side. Each page sets its
   colour once; everything below reads the --page-* tokens.

     Books & More       blue  (Materials)       --sem-materials
     Library of Things  blue  (Materials)       --sem-materials
     Services           plum  (Library Basics)  --sem-basics

   Rules that only Books & More uses (the cover row, the Coming soon tag)
   stay scoped to .page-materials.
   ------------------------------------------------------------------ */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) {
    --materials-surface: #fff;                 /* panels: white */
}

body.lakeside:is(.page-materials, .page-library-of-things) {
    --page-accent:      var(--sem-materials);  /* tiles, rules, edges, buttons; white on it 6.5:1 */
    --page-accent-deep: var(--glass-navy);     /* hover */
    --page-link:        var(--glass-navy);     /* link text, 10.9:1 on white */
    --page-line:        var(--sky);            /* dividers */
}

body.lakeside.page-services {
    --page-accent:      var(--sem-basics);     /* plum; white on it 7.5:1 */
    --page-accent-deep: var(--sem-basics);     /* hover stays plum: the tile lifts instead (no darker plum in the palette) */
    --page-link:        var(--sem-basics);     /* link text, 7.5:1 on white */
    --page-line:        var(--glass-rose);     /* dividers */
    --tile-fit:         14.4;                  /* "Borrow from Another Library" is 13.9em */
}

/* Section headings take the Materials blue rule instead of the site green. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .section-header {
    border-bottom-color: var(--page-accent);
}

/* Search button beside the title: Materials blue, the page's blue anchor. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .page-header .btn-primary-blue {
    background: var(--page-accent);
    border-color: var(--page-accent);
    color: #fff;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .page-header .btn-primary-blue:hover,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .page-header .btn-primary-blue:focus-visible {
    background: var(--page-accent-deep);
    border-color: var(--page-accent-deep);
    color: #fff;
}

/* Services: the Log In button in the My Account card is plum, and stays
   plum on hover. Books & More keeps its blue Search button. */
body.lakeside.page-services .page-header .btn-primary-blue {
    background: var(--sem-basics);           /* plum, white 7.5:1 */
    border-color: var(--sem-basics);
    color: #fff;
}

/* Hover stays plum and lifts, like the tiles, rather than turning black. */
body.lakeside.page-services .page-header .btn-primary-blue:hover,
body.lakeside.page-services .page-header .btn-primary-blue:focus-visible {
    background: var(--sem-basics);
    border-color: var(--glass-ink);
    color: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}

/* "New here? Get a library card" in ink rather than plum. */
body.lakeside.page-services .hub-aside-link.hub-aside-link-ink,
body.lakeside.page-services .hub-aside-link.hub-aside-link-ink i {
    color: var(--glass-ink);   /* two classes: outranks the shared plum link rule */
}

/* ---- Browse the Collection: compact tiles ----
   Six navigation buttons, icon + name, the whole tile one link. Materials
   blue, white type (6.5:1). Titles are one size for all six and shrink
   with the tile so "Research & Genealogy" (the longest, 11.4em in Poppins)
   always fits on one line. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tiles {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 768px) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tiles { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tiles { grid-template-columns: repeat(3, 1fr); }
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tiles li {
    container-type: inline-size;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tile {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 4.75rem;
    padding: 0.9rem 1.25rem;
    background: var(--page-accent);
    color: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 14px;
    box-shadow: 3px 3px 0 var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tile i {
    flex: 0 0 auto;
    font-size: 2.2rem;
    line-height: 1;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tile i::before {
    -webkit-text-stroke: 0.3px #fff;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tile > span {
    white-space: nowrap;
    font-size: min(1.35rem, calc((100cqi - 6.2rem) / var(--tile-fit, 11.9)));   /* 6.2rem = padding + border + icon + gap; --tile-fit = longest title in em + 0.5 */
    line-height: 1.2;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tile:hover,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tile:focus-visible {
    background: var(--page-accent-deep);
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--glass-ink);
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .collection-tile:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}

/* ---- Discover Something New: a row of covers ----
   The covers are the colour. --cover-ratio is the frame shape: catalog
   covers from Syndetics are 264x400, i.e. 2:3. Five across on desktop;
   a swipeable row on phones. */
body.lakeside.page-materials {
    --cover-ratio: 2 / 3;
    --tile-fit:    15.3;   /* longest tile title, "Genealogy & Family History", about 14.8em + 0.5 */
}

/* Intro on the left, "Browse All New Arrivals" on the right of the same
   line; they stack on narrow screens. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-intro-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-intro {
    margin: 0;
    color: #3a3f47;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    /* minmax(0, 1fr), not 1fr: a cover's natural size must not widen its
       column (staff-uploaded DVD covers are much larger files). */
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.5rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-row li,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-cover {
    min-width: 0;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    color: var(--glass-ink);
    text-decoration: none;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book img {
    width: 100%;
    height: auto;
    aspect-ratio: var(--cover-ratio);
    object-fit: cover;
    border: 2px solid var(--glass-ink);
    border-radius: 6px;
    box-shadow: 4px 4px 0 var(--glass-ink);
    margin-bottom: 0.6rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* One line, ending in "…" if longer, so every author lines up. The full
   title is still in the text (screen readers) and in the tooltip. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-title {
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Cover frame, so the "Coming soon" tag can sit on it. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-cover {
    position: relative;
    display: block;
    margin-bottom: 0.6rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-cover img {
    display: block;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0;
}

/* Books from the catalog's "Coming soon" lists are on order, not on the
   shelf yet. Materials blue with white type (6.5:1), bottom right; not
   marigold/orange, which reads as Friends. The ink outline keeps it
   distinct on blue covers. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .discover-soon {
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
    padding: 0.15rem 0.5rem;
    background: var(--page-accent);
    color: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-author {
    font-size: 0.88rem;
    color: #3a3f47;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book:hover img,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book:focus-visible img {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--glass-ink);
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book:hover .discover-title,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book:focus-visible .discover-title {
    text-decoration: underline;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 4px;
    border-radius: 6px;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-more {
    margin: 0;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-more a {
    font-weight: 700;
    color: var(--page-link);
    text-decoration: none;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-more a i {
    color: var(--page-accent);
    margin-left: 0.15rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-more a:hover,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-more a:focus-visible {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}

/* Tablet: three across, wrapping. */
@media (max-width: 991.98px) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Phone: one swipeable row, about two and a half covers showing so it is
   obvious there is more. */
@media (max-width: 575.98px) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-row {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 0 0.75rem;
        margin-right: -12px;           /* let the row run to the screen edge */
    }
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-row li {
        flex: 0 0 40%;
        max-width: 40%;            /* every slot the same, whatever the image file's size */
        scroll-snap-align: start;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .collection-tile,
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book img { transition: none; }
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .collection-tile:hover,
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .collection-tile:focus-visible,
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book:hover img,
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things, .page-kids, .page-kids-books) .discover-book:focus-visible img { transform: none; }
}

/* ---- Loan periods + Can't Find It, side by side ----
   60 / 40 from lg up; stacked below that. Both panels stretch to the
   taller one so the two bottoms line up. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-halves {
    margin-bottom: 2rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-halves .hub-half {
    margin-bottom: 0;
}

/* 60 / 40 from lg up: the loan list needs the room; the two help
   options read fine narrower and fill their height that way. */
@media (min-width: 992px) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-halves .hub-col-wide   { flex: 0 0 60%; max-width: 60%; }
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-halves .hub-col-narrow { flex: 0 0 40%; max-width: 40%; }
}

@media (min-width: 992px) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-halves .hub-half {
        display: flex;
        flex-direction: column;
        height: 100%;
    }
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-halves .hub-loans-panel {
        flex: 1 1 auto;
    }
}

/* ---- Loan periods ---- */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans-panel {
    padding: 0.5rem 1.75rem 1.25rem;
    background: var(--materials-surface);
    border: 2px solid var(--glass-ink);
    border-left: 8px solid var(--page-accent);
    border-radius: 14px;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans {
    max-width: none;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans li {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--page-line);
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans li:target {
    background: #fff;
    margin-inline: -0.75rem;
    padding-inline: 0.75rem;
    border-radius: 8px;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans span {
    font-weight: 600;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans small {
    font-weight: 400;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans strong {
    color: var(--page-accent);
    white-space: nowrap;
}

/* Services Good to Know: two cards of equal height, each with a small
   title. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-know .hub-loans-panel {
    height: 100%;
    padding-top: 1.1rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--page-link);
    margin: 0 0 0.25rem;
}

/* An item name that links to its page (Services: meeting rooms, Ellison). */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans span > a {
    color: var(--page-link);
    text-decoration: none;
    font-weight: 600;   /* weight, not an underline, marks it as a link */
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans span > a:hover,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans span > a:focus-visible {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans-more {
    margin: 1rem 0 0;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans-more a {
    font-weight: 700;
    color: var(--page-accent);
    text-decoration: none;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans-more a i {
    color: var(--page-accent);
    margin-left: 0.15rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans-more a:hover,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans-more a:focus-visible {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}

/* ---- Can't Find It ----
   Mirrors the loan periods: section heading, then a white panel with the
   blue left edge (it shares .hub-loans-panel). The two options are split
   by a sky rule; the buttons are Materials blue. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-cantfind-panel {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-cantfind-option + .hub-cantfind-option {
    margin-top: 1.1rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--page-line);
}

/* Secondary link in the panel beside the title (Services: "New here?
   Get a library card"). */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-aside-link {
    font-weight: 700;
    color: var(--page-link);
    text-decoration: none;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-aside-link i {
    color: var(--page-accent);
    margin-left: 0.15rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-aside-link:hover,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-aside-link:focus-visible {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}

/* The two actions are arrow links, the same as "Checkout limits,
   renewals and holds" in the panel beside it. */
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-cantfind-link {
    display: inline-block;
    overflow-wrap: anywhere;       /* the email address in a narrow panel */
    padding: 0.2rem 0;
    font-weight: 700;
    color: var(--page-link);
    text-decoration: none;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-cantfind-link i {
    color: var(--page-accent);
    margin-left: 0.15rem;
}

body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-cantfind-link:hover,
body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-cantfind-link:focus-visible {
    text-decoration: none;   /* no underlines: links are told apart by colour and weight */
}


@media (max-width: 575.98px) {
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans-panel {
        padding: 0.25rem 1.1rem 1rem;
    }
    body.lakeside:is(.page-materials, .page-services, .page-library-of-things) .hub-loans strong {
        white-space: normal;
    }
}



/* ---- Featured service banner (Services) ----
   One featured service at the top, like the homepage banner. The tone is
   chosen by meaning in services.php ($htlSpotlight). White type on every
   tone: river 6.5:1, plum 7.5:1, pine 8.5:1. */
body.lakeside .hub-spotlight {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 1.25rem 1.5rem;
    background: var(--spot, var(--sem-materials));
    color: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside .hub-spotlight.tone-materials { --spot: var(--sem-materials); }
body.lakeside .hub-spotlight.tone-basics    { --spot: var(--sem-basics); }
body.lakeside .hub-spotlight.tone-programs  { --spot: var(--sem-programs); }

body.lakeside .hub-spotlight:hover,
body.lakeside .hub-spotlight:focus-visible {
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--glass-ink);
}

body.lakeside .hub-spotlight:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}

body.lakeside .hub-spotlight-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    font-size: 2rem;
}

body.lakeside .hub-spotlight-body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

body.lakeside .hub-spotlight-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
}

body.lakeside .hub-spotlight-title {
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.2;
}

body.lakeside .hub-spotlight-cta {
    margin-left: auto;
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    background: #fff;
    color: var(--glass-ink);
    border: 2px solid var(--glass-ink);
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    body.lakeside .hub-spotlight {
        flex-wrap: wrap;
    }
    body.lakeside .hub-spotlight-cta {
        margin-left: 0;
    }
}

/* ---- See What We Offer photo row (Services) ----
   Photos of the rooms and services; a missing photo shows an icon panel. */
body.lakeside .spaces-row {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 1.25rem;
}

body.lakeside .space-card {
    display: block;
    color: var(--glass-ink);
    text-decoration: none;
}

body.lakeside .space-card img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 2px solid var(--glass-ink);
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--glass-ink);
    margin-bottom: 0.6rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside .space-card .space-label {
    font-weight: 600;
}

/* Stand-in for a missing photo, in the same 4:3 frame: an icon panel.
   On dev it also names the file it needs. */
body.lakeside .space-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    aspect-ratio: 4 / 3;
    margin-bottom: 0.6rem;
    background: var(--glass-cream);
    color: var(--glass-ink);
    border: 2px dashed var(--glass-ink);
    border-radius: 12px;
    text-align: center;
}

body.lakeside .space-placeholder i {
    font-size: 2.5rem;
    color: var(--glass-ink);
}

body.lakeside .space-placeholder small {
    font-size: 0.78rem;
    line-height: 1.3;
}

body.lakeside .space-card:hover img,
body.lakeside .space-card:focus-visible img {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--glass-ink);
}

body.lakeside .space-card:hover .space-label,
body.lakeside .space-card:focus-visible .space-label {
    text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside .hub-spotlight,
    body.lakeside .space-card img { transition: none; }
    body.lakeside .hub-spotlight:hover,
    body.lakeside .space-card:hover img { transform: none; }
}

/* ---- Featured banners with artwork (Services, Library of Things) ----
   includes/featured.php reuses the homepage's .feature-banner when an item
   has artwork in assets/images/featured/. The art arrives as an inline
   background-image; this resets the homepage default (the book sale art) so
   a banner without its own picture never shows someone else's. The date
   block holds the item's icon instead, in its category colour. */
body.lakeside .feature-banner-service {
    background-image: none;
    background-color: var(--glass-cream);
}

body.lakeside .feature-banner-service .feature-icon {
    width: 7.5rem;
    padding: 1.1rem 0.6rem;
}

body.lakeside .feature-banner-service .feature-icon i {
    font-size: 3.2rem;
    line-height: 1;
}

/* Service names run longer than event titles ("Borrow from Another
   Library"), so the headline steps down from the homepage's 2.75rem. */
body.lakeside .feature-banner-service .feature-title {
    font-size: 2.1rem;
}

/* 'cta_corner' items: the button tucks into the bottom-right corner so a
   logo on the right of the artwork stays clear (desktop and tablet; on
   phones the button already sits below everything). */
@media (min-width: 768px) {
    body.lakeside .feature-cta-corner { position: relative; }
    body.lakeside .feature-cta-corner .feature-cta {
        position: absolute;
        right: 0.9rem;
        bottom: 0.9rem;
        padding: 0.55rem 1.1rem;
        font-size: 0.85rem;
    }
}

/* Dev-only preview of the layout before the artwork exists. */
body.lakeside .feature-banner-preview {
    background-color: #fff;
    border-style: dashed;
}

body.lakeside .feature-art-needed {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #3a3f47;
}

@media (max-width: 991.98px) {
    body.lakeside .feature-banner-service .feature-title { font-size: 1.75rem; }
}

@media (max-width: 575px) {
    body.lakeside .feature-banner-service .feature-icon {
        width: 100%;
        padding: 0.6rem;
    }
    body.lakeside .feature-banner-service .feature-icon i { font-size: 2rem; }
    body.lakeside .feature-banner-service .feature-title { font-size: 1.45rem; }
}

/* ---- Library of Things: Learn to Play row ----
   Reuses the shared cover row (.discover-row). Board game boxes are
   square art on white, so the frame is square and the whole box shows. */
body.lakeside.page-library-of-things {
    --cover-ratio: 1 / 1;
}

body.lakeside.page-library-of-things .game-row .discover-cover img {
    object-fit: contain;
    background: #fff;
}

/* Library of Things: cards with two catalog actions (Activity & Learning
   Kits, Phonics & Speedy Reader). Two equal buttons side by side, wrapping
   when the card is too narrow. Those cards are not whole-card links. */
body.lakeside.page-library-of-things .thing-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

body.lakeside.page-library-of-things .thing-actions .btn {
    flex: 1 1 0;
    min-width: max-content;
}

/* Browse Our Collection cards, lighter (2026-10-09): a thin border and
   soft shadow instead of the ink outline and offset shadow, as on Drop-In
   Activities; a shorter header with the icon beside the name; a little
   less padding in the body. Colours, text and buttons unchanged. */
body.lakeside.page-library-of-things .card.thing-card {
    border: 1px solid #d3ccbb !important;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(22, 24, 26, 0.08) !important;
    overflow: hidden;
}
body.lakeside.page-library-of-things .card.thing-card:hover {
    transform: none;
    box-shadow: 0 7px 18px rgba(22, 24, 26, 0.26) !important;
}
body.lakeside.page-library-of-things .thing-card .card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
}
body.lakeside.page-library-of-things .thing-card .card-header i {
    margin: 0 !important;
    font-size: 1.6rem;
    line-height: 1;
}
body.lakeside.page-library-of-things .thing-card .card-header h3 {
    font-size: 1.3rem;     /* about 10% under the earlier 1.45rem */
    font-weight: 600;      /* semibold */
}
/* Michigan Activity Passes: the balloon logo straight on the blue header,
   without the shared white logo panel (image unchanged). */
body.lakeside.page-library-of-things .thing-card .card-header > .logo-white-slot {
    background: transparent;
    padding: 0;
    height: 2.2rem;
}
body.lakeside.page-library-of-things .thing-card .card-header .thing-svg-icon {
    flex: 0 0 auto;
    width: 1.6rem;
    height: 1.6rem;
}
body.lakeside.page-library-of-things .thing-card .card-body {
    padding: 1rem 1.2rem 1.15rem;
}
/* Desktop: every header the height of a two-line one (Phonics & Speedy
   Reader, Michigan Activity Passes), so bodies line up across a row. */
@media (min-width: 992px) {
    body.lakeside.page-library-of-things .thing-card .card-header {
        min-height: 5.25rem;
    }
}

/* Second anchor on a card (#learning-kits on Activity & Learning Kits),
   so older links into the page still land on it. */
body.lakeside.page-library-of-things .thing-anchor {
    display: block;
    scroll-margin-top: 1rem;
}

/* Library of Things: Borrowing panels read a size up from the shared
   panels, so the loan periods and notes are easy to read. */
body.lakeside.page-library-of-things #borrowing .hub-loans-panel {
    padding: 1.4rem 1.75rem 1.5rem;
}

body.lakeside.page-library-of-things #borrowing .hub-panel-title {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

body.lakeside.page-library-of-things #borrowing .hub-loans li {
    padding: 0.95rem 0;
    font-size: 1.1rem;
}

body.lakeside.page-library-of-things #borrowing .hub-loans-more {
    font-size: 1.05rem;
}

body.lakeside.page-library-of-things #borrowing .hub-cantfind-option h4 {
    font-size: 1.15rem;
}

body.lakeside.page-library-of-things #borrowing .hub-cantfind-option p {
    font-size: 1.05rem;
    line-height: 1.55;
}

/* ---- Events page ----
   Coming Up leads: six events from the calendar feed, two columns on
   desktop and a size up from the homepage list, with View Full Calendar
   beside the heading. Planning to Attend stays compact underneath. */
/* Heading and View Full Calendar share the section rule, so the link
   reads as part of the heading rather than floating beside it. */
body.lakeside.page-events .events-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    border-bottom: 5px solid var(--sem-programs);   /* as .section-header, in Events pine */
    padding-bottom: 0.4rem;
    margin-bottom: 1.25rem;
}

body.lakeside.page-events .events-head .section-header {
    flex: 1 1 auto;
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

/* Section rules in Events pine instead of the site-wide marigold, the way
   Books & More uses its blue and Services its plum. */
body.lakeside.page-events .section-header {
    border-bottom-color: var(--sem-programs);
}

/* Coming Up actions: View Full Calendar is the primary (programme green),
   Pay for a Program the secondary (outlined). They wrap under the heading
   on narrow screens. */
body.lakeside.page-events .events-actions {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

body.lakeside.page-events .events-actions .btn {
    font-weight: 700;
    border-width: 2px;
}

body.lakeside.page-events .events-btn-secondary {
    background: #fff;
    border-color: var(--sem-programs);
    color: var(--sem-programs);              /* pine on white 8.5:1 */
}

body.lakeside.page-events .events-btn-secondary:hover,
body.lakeside.page-events .events-btn-secondary:focus-visible {
    background: var(--sem-programs);
    border-color: var(--sem-programs);
    color: #fff;
}

/* Two columns that read DOWN, in date order (the first column holds the
   earliest events), with every card the height of the tallest. A grid
   that fills by column: --event-rows (half the events, rounded up) is set
   on .event-list by includes/upcoming-events.php, and 1fr rows all take
   the tallest row's height. */
@media (min-width: 992px) {
    body.lakeside.page-events .events-coming-up .event-list,
    body.lakeside.page-kids-events .kids-events-upcoming .event-list {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(var(--event-rows, 3), 1fr);
        gap: 1rem;
    }
    body.lakeside.page-events .events-coming-up .event-card,
    body.lakeside.page-kids-events .kids-events-upcoming .event-card {
        margin: 0;
    }
}

body.lakeside.page-events .events-coming-up .event-list,
body.lakeside.page-kids-events .kids-events-upcoming .event-list {
    margin-bottom: 0;
}

/* Room goes on the text side; the date block stays flush to the edge. */
body.lakeside.page-events .events-coming-up .event-body,
body.lakeside.page-kids-events .kids-events-upcoming .event-body {
    padding: 0.9rem 1.1rem;
}

body.lakeside.page-events .events-coming-up .event-date,
body.lakeside.page-kids-events .kids-events-upcoming .event-date {
    width: 5.25rem;
}

body.lakeside.page-events .events-coming-up .event-day,
body.lakeside.page-kids-events .kids-events-upcoming .event-day {
    font-size: 2.4rem;
}

body.lakeside.page-events .events-coming-up .event-title,
body.lakeside.page-kids-events .kids-events-upcoming .event-title {
    font-size: 1.15rem;
}

body.lakeside.page-events .events-coming-up .event-meta,
body.lakeside.page-kids-events .kids-events-upcoming .event-meta {
    font-size: 0.98rem;
}

/* Phones (Events and Kids Events): a narrower date block and tighter
   padding, so titles and times get the room. Desktop is unchanged. */
@media (max-width: 575.98px) {
    body.lakeside.page-events .events-coming-up .event-date,
    body.lakeside.page-kids-events .kids-events-upcoming .event-date {
        width: 3.6rem;
    }
    body.lakeside.page-events .events-coming-up .event-day,
    body.lakeside.page-kids-events .kids-events-upcoming .event-day {
        font-size: 1.85rem;
    }
    body.lakeside.page-events .events-coming-up .event-body,
    body.lakeside.page-kids-events .kids-events-upcoming .event-body {
        padding: 0.7rem 0.75rem;
    }
    body.lakeside.page-events .events-coming-up .event-title,
    body.lakeside.page-kids-events .kids-events-upcoming .event-title {
        font-size: 1.05rem;
        overflow-wrap: anywhere;
    }
    body.lakeside.page-events .events-coming-up .event-meta,
    body.lakeside.page-kids-events .kids-events-upcoming .event-meta {
        font-size: 0.9rem;
    }
}

/* Events: registration status from the Assabet calendar, as a small line
   under the time. Required in programme green, no-registration in the
   meta grey; nothing shows when the calendar gives no status. */
body.lakeside:is(.page-events, .page-kids, .page-kids-events) .event-reg {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--sem-programs);          /* pine on white 8.5:1 */
}

body.lakeside:is(.page-events, .page-kids, .page-kids-events) .event-reg-none {
    font-weight: 600;
    color: #4a5a55;                      /* the event-meta grey, 7.3:1 */
}

/* Events: each event's own picture from the calendar, as a small square
   thumbnail on the right of each card. */
body.lakeside:is(.page-events, .page-kids, .page-kids-events) .event-thumb {
    flex: 0 0 auto;
    align-self: stretch;
    margin-left: auto;             /* pinned to the card's right edge */
    width: 5.5rem;
    border-left: 2px solid var(--glass-ink);
    background: #fff;
    overflow: hidden;
}

body.lakeside:is(.page-events, .page-kids, .page-kids-events) .event-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575.98px) {
    body.lakeside:is(.page-events, .page-kids, .page-kids-events) .event-thumb { width: 4.25rem; }
}

/* Events: larger icon tiles on Find Programs for You and Planning to
   Attend? (the shared hub card default is a 3rem tile). */
body.lakeside.page-events .hub-card-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 14px;
    font-size: 2rem;
}

body.lakeside.page-events .hub-card-head {
    gap: 1rem;
}

/* No underlines on the hub-page links: colour plus weight mark them. */
body.lakeside .hub-card-alt,
body.lakeside .hub-card-alt:hover {
    text-decoration: none;
}

/* ---- About the Library ----
   Photo of the library, three grouped panels of links, the staff
   directory and Our Story. Plum (Library Basics) for icons, rules and
   links only; panels stay white. Links: no underline, no colour change
   on hover, weight marks them. */
body.lakeside.page-about .section-header {
    border-bottom-color: var(--sem-basics);
}

body.lakeside.page-about .about-photo {
    margin: 0 0 2.5rem;
    aspect-ratio: 5 / 1;           /* a shallow photographic band, not a hero */
    max-height: 230px;
    width: 100%;
    overflow: hidden;
    border: 2px solid var(--glass-ink);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--glass-ink);
}

body.lakeside.page-about .about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;            /* crops to the frame, never stretches */
    object-position: center 12%;  /* garden photo: keeps the library roofline and windows in the strip */
}

/* Dev-only stand-in until the photo exists. */
body.lakeside.page-about .about-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-cream);
    border-style: dashed;
    box-shadow: none;
}

body.lakeside.page-about .about-photo-note {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #3a3f47;
}

body.lakeside.page-about .about-photo-note i {
    font-size: 1.8rem;
    color: var(--glass-ink);
}

body.lakeside.page-about .about-group {
    padding: 1.1rem 1.4rem 0.9rem;     /* each card fits its links; no stretching to match */
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 16px;
    box-shadow: 3px 3px 0 var(--glass-ink);
}

body.lakeside.page-about .about-group-title {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.4rem;
    padding-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--glass-ink);
    border-bottom: 3px solid var(--sem-basics);
}

body.lakeside.page-about .about-group-title i {
    font-size: 1.6rem;
    color: var(--sem-basics);
}

body.lakeside.page-about .about-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.lakeside.page-about .about-links li + li {
    border-top: 1px solid var(--glass-cream);
}

body.lakeside.page-about .about-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.45rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--glass-ink);
    text-decoration: none;
}

body.lakeside.page-about .about-links a i {
    color: var(--sem-basics);
    transition: transform 0.18s ease;
}

body.lakeside.page-about .about-links a:hover i,
body.lakeside.page-about .about-links a:focus-visible i {
    transform: translateX(3px);
}

/* Meet the Staff: grouped panels matching the Library Board's member listing
   (white panel, plum top edge; job title in plum capitals, then name, then email). */
body.lakeside.page-about .staff-groups {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;                /* each panel keeps its own height */
}

@media (min-width: 768px) {
    body.lakeside.page-about .staff-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}

@media (min-width: 1200px) {
    body.lakeside.page-about .staff-groups { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.lakeside.page-about .staff-panel {
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--glass-ink) 35%, #fff);
    border-top: 5px solid var(--glass-plum);
    border-radius: 12px;
    padding: 1.75rem 1.9rem;
}

body.lakeside.page-about .staff-panel h3 {
    margin: 0 0 0.9rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--glass-ink);
}

body.lakeside.page-about .staff-people {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.lakeside.page-about .staff-people li {
    padding: 0.8rem 0;
    border-top: 1px solid #d3ccbb;
}

body.lakeside.page-about .staff-people li:first-child {
    border-top: 0;
    padding-top: 0;
}

body.lakeside.page-about .staff-title {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--glass-plum);
}

body.lakeside.page-about .staff-name {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--glass-ink);
}

body.lakeside.page-about .staff-email {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--glass-ink);
    text-decoration: none;
    overflow-wrap: anywhere;
}

body.lakeside.page-about .staff-email:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}

/* Our Story: reading text with a plum edge; with the optional historical
   photo, photo left and text right on desktop. */
body.lakeside.page-about .about-story-body.has-photo {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    align-items: center;   /* the sign sits level with the middle of the paragraph */
}

/* The sign centred in its column. */
body.lakeside.page-about .about-story-body.has-photo .about-story-photo {
    justify-self: center;
}

@media (min-width: 768px) {
    body.lakeside.page-about .about-story-body.has-photo {
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    }
}

body.lakeside.page-about .about-story-photo {
    margin: 0;
    max-width: 26rem;
    border: 2px solid var(--glass-ink);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 3px 3px 0 var(--glass-ink);
}

body.lakeside.page-about .about-story-photo img {
    display: block;
    width: 100%;
    height: auto;
}

body.lakeside.page-about .about-story-text {
    max-width: 50rem;
    padding-left: 1.25rem;
    border-left: 6px solid var(--sem-basics);
}

body.lakeside.page-about .about-story-text p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.7;
}

body.lakeside.page-about #visit {
    display: block;
}

@media (max-width: 575.98px) {
    body.lakeside.page-about .about-photo { aspect-ratio: 5 / 2; }
    body.lakeside.page-about .about-story-text p { font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside.page-about .about-links a i { transition: none; }
}

/* ---- Kids Zone ----
   Upcoming for Kids (three events, with pictures and registration from
   the calendar), New for Kids (catalog covers), Play & Learn (three
   choices), and a quiet For Parents & Caregivers row. One icon
   colour (river blue) and the site's ink outlines; the photos, Quick
   Picks and event pictures bring the colour. */
body.lakeside.page-kids .kids-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.25rem 1.5rem;
    border-bottom: 5px solid var(--accent-marigold);   /* as .section-header */
    padding-bottom: 0.4rem;
    margin-bottom: 1.25rem;
}

body.lakeside.page-kids .kids-section-head .section-header {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
}

body.lakeside:is(.page-kids, .page-kids-events) .kids-head-link,
body.lakeside:is(.page-kids, .page-kids-books) .kids-collection-link a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--glass-river);
    text-decoration: none;
}

body.lakeside:is(.page-kids, .page-kids-events) .kids-head-link:hover,
body.lakeside:is(.page-kids, .page-kids-events) .kids-head-link:focus-visible,
body.lakeside:is(.page-kids, .page-kids-books) .kids-collection-link a:hover,
body.lakeside:is(.page-kids, .page-kids-books) .kids-collection-link a:focus-visible {
    text-decoration: none;
}

/* Three events side by side on desktop. */
@media (min-width: 992px) {
    body.lakeside.page-kids .kids-upcoming .event-list {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
    body.lakeside.page-kids .kids-upcoming .event-card {
        margin: 0;
    }
}

/* Kids Zone refinements (2026-10-08): a little more room between sections,
   in the event previews and under the New for Kids covers. */
body.lakeside.page-kids .hub-section {
    margin-bottom: 3.5rem;
}

@media (min-width: 992px) {
    body.lakeside.page-kids .kids-upcoming .event-list {
        gap: 1.25rem;
    }
}
body.lakeside.page-kids .kids-upcoming .event-card {
    min-height: 6.75rem;
}
body.lakeside.page-kids .kids-upcoming .event-date {
    width: 4.25rem;
}
body.lakeside.page-kids .kids-upcoming .event-body {
    padding: 0.85rem 0.9rem;
    gap: 0.3rem;
}
/* A slightly narrower picture leaves room for "Wednesday · 6:00 PM" on
   one line in the three-across desktop row. */
@media (min-width: 992px) {
    body.lakeside.page-kids .kids-upcoming .event-thumb {
        width: 4.5rem;
    }
}
body.lakeside.page-kids .kids-upcoming .event-title {
    line-height: 1.3;
}
body.lakeside.page-kids .kids-upcoming .event-meta {
    font-size: 0.88rem;
}

/* New for Kids: titles may take two lines before the "...", and always
   reserve two lines so every author sits at the same height. */
body.lakeside.page-kids .discover-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;            /* two lines at line-height 1.3 */
}
body.lakeside.page-kids .discover-author {
    margin-top: 0.1rem;
}

/* Find Something You'll Love (Books & Reading): three rounded browse
   choices, once Find Your Next Book on the landing page. */
body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.9rem;
}

@media (min-width: 768px) {
    body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways a {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    padding: 0.7rem 1.1rem 0.7rem 0.7rem;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 999px;
    box-shadow: 3px 3px 0 var(--glass-ink);
    color: var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways a:hover,
body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways a:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--glass-ink);
    color: var(--glass-ink);
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-book-icon,
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--glass-ink);
    background: var(--glass-river);
    color: #fff;                         /* 6.5:1 */
    font-size: 1.4rem;
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.2;
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways small {
    display: block;
    font-size: 0.85rem;
    color: #3a3f47;
}

/* Play & Learn: four choices, a size down from the photo cards. */
body.lakeside:is(.page-kids, .page-kids-books) .kids-play {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
}

@media (min-width: 576px) {
    body.lakeside:is(.page-kids, .page-kids-books) .kids-play { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 992px) {
    body.lakeside:is(.page-kids, .page-kids-books) .kids-play { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-play-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.2rem 1.2rem 1.1rem;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 16px;
    box-shadow: 3px 3px 0 var(--glass-ink);
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-play-item h3 {
    margin: 0.2rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--glass-ink);
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-play-item p {
    margin: 0;
    font-size: 0.92rem;
    color: #3a3f47;
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-play-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-play-links a,
body.lakeside.page-kids .kids-parents-links a {
    font-weight: 700;
    color: var(--glass-river);
    text-decoration: none;
}

body.lakeside:is(.page-kids, .page-kids-books) .kids-play-links a:hover,
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-links a:focus-visible,
body.lakeside.page-kids .kids-parents-links a:hover,
body.lakeside.page-kids .kids-parents-links a:focus-visible {
    text-decoration: none;
}

/* Solid colour cards (Kids Zone Play & Learn, Books & Reading Find
   Something You'll Love). Only lists marked .kids-play-solid. The first link
   in a card covers the whole card; a second link (Learning Kits,
   Wonderbooks) sits above that layer so it still works on its own.
   White type on river 6.5:1, pine 8.5:1, navy 10.9:1, violet 8.2:1;
   ink on marigold 8.7:1 and ember 6.5:1. Hover lifts without changing
   colour; keyboard focus rings the whole card. */
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-item {
    position: relative;
    border: 0;
    box-shadow: 0 2px 6px rgba(22, 24, 26, 0.18);
    color: #fff;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(22, 24, 26, 0.25);
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-item:has(a:focus-visible) {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-links a:first-child::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-links a:not(:first-child) {
    position: relative;
    z-index: 1;
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-links a:first-child:focus-visible {
    outline: none;                       /* the first link covers the card, so the card's ring shows focus */
}
/* A second link in a card (Learning Kits, Wonderbooks) gets its own ring too, so keyboard users can tell which of the
   two links is focused; the card ring alone could not say. currentColor = the card's text colour (white or ink). */
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-links a:not(:first-child):focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 3px;
    border-radius: 4px;
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-item h3,
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-item p,
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-links a {
    color: inherit;
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-icon {
    background: transparent;
    border-color: currentColor;
    color: inherit;
}
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .ps-river    { background: var(--glass-river); }
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .ps-pine     { background: var(--glass-pine); }
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .ps-navy     { background: var(--glass-navy); }
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .ps-violet   { background: var(--glass-violet); }
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .ps-marigold { background: var(--accent-marigold); color: var(--glass-ink); }
body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .ps-ember    { background: var(--glass-ember); color: var(--glass-ink); }

/* Books & Reading: substantial cards (about 180px tall on desktop), icon
   beside the text, everything centred vertically. */
body.lakeside.page-kids-books .kids-play-compact .kids-play-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 1.25rem;
    row-gap: 0.4rem;
    align-content: center;
    min-height: 180px;
    padding: 1.6rem 1.6rem;
}
body.lakeside.page-kids-books .kids-play-compact .kids-play-icon {
    grid-row: 1 / span 3;
    align-self: center;
    width: 4rem;
    height: 4rem;
    font-size: 1.85rem;
}
body.lakeside.page-kids-books .kids-play-compact .kids-play-item h3 {
    margin: 0;
    font-size: 1.45rem;
}
body.lakeside.page-kids-books .kids-play-compact .kids-play-item p {
    font-size: 1rem;
    line-height: 1.45;
}
body.lakeside.page-kids-books .kids-play-compact .kids-play-links {
    padding-top: 0.4rem;
    font-size: 1.02rem;
}
/* Phones and narrow tablets: let the height follow the content. */
@media (max-width: 991.98px) {
    body.lakeside.page-kids-books .kids-play-compact .kids-play-item {
        min-height: 0;
        padding: 1.35rem 1.35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-item { transition: none; }
    body.lakeside:is(.page-kids, .page-kids-books) .kids-play-solid .kids-play-item:hover { transform: none; }
}

/* For Parents & Caregivers: one quiet cream row. */
body.lakeside.page-kids .kids-parents {
    padding: 1.1rem 1.4rem;
    background: var(--glass-cream);
    border-radius: 14px;
}

body.lakeside.page-kids .kids-parents-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--glass-ink);
}

body.lakeside.page-kids .kids-parents-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 2rem;
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways a { transition: none; }
    body.lakeside:is(.page-kids, .page-kids-books) .kids-book-ways a:hover { transform: none; }
}

/* ---- Kids section shared pieces (once Kids Resources) ----
   Watch & Listen as one wide feature, New Books for Kids as the shared
   cover row (.discover-row, as on Books & More and Library of Things), and
   three compact Explore More choices. All text stays flat. */
body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 16px;
    box-shadow: 3px 3px 0 var(--glass-ink);
}

@media (min-width: 768px) {
    body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 2px solid var(--glass-ink);
    border-radius: 12px;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--glass-river);
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-heading {
    margin: 0 0 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--glass-ink);
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-text p:not(.kr-watch-eyebrow) {
    font-size: 1.05rem;
    color: #3a3f47;
}

/* "A few stories you can watch": five small square covers under the
   button, from the Video Read-Alongs collection. Static (no hover motion);
   they wrap on narrow screens rather than shrinking. */
body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-examples-label {
    margin: 1.5rem 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--glass-ink);
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-examples {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-examples a {
    display: block;
    width: 76px;
    border-radius: 6px;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-examples img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border: 2px solid var(--glass-ink);
    border-radius: 6px;
}

/* Phones: four covers on one line instead of five wrapping 4 + 1. */
@media (max-width: 575.98px) {
    body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-examples li:nth-child(n+5) { display: none; }
    body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-watch-examples a { width: 64px; }
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-books-intro {
    margin: -0.5rem 0 1rem;
    font-size: 1.1rem;
    color: #3a3f47;
}

/* Explore More: three compact choices in their existing colours. */
body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
}

@media (min-width: 768px) {
    body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    padding: 0.85rem 1rem;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 14px;
    box-shadow: 3px 3px 0 var(--glass-ink);
    color: var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-item:hover,
body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-item:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--glass-ink);
    color: var(--glass-ink);
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    border: 2px solid var(--glass-ink);
    background: var(--kr, var(--glass-pine));
    color: #fff;
    font-size: 1.35rem;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-pine       { --kr: var(--glass-pine); }        /* white 8.5:1 */
body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-terracotta { --kr: var(--glass-terracotta); }  /* white 4.8:1 */
body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-plum       { --kr: var(--glass-plum); }        /* white 7.5:1 */

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-item strong {
    display: block;
    font-size: 1.1rem;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-item small {
    display: block;
    font-size: 0.85rem;
    color: #3a3f47;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-instagram {
    margin: 1.25rem 0 0;
}

body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-instagram a {
    font-weight: 700;
    color: var(--glass-river);
    text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-item { transition: none; }
    body.lakeside:is(.page-kids, .page-kids-books, .page-video-readalongs, .page-kids-events) .kr-explore-item:hover { transform: none; }
}

/* Kids Events, More Things to Do: solid colour cards, no ink outline.
   Pine and violet carry white (8.5:1, 8.3:1); marigold carries ink. The whole card is the
   link; hover lifts it a little without changing its colour; keyboard focus
   gets a clear ink ring outside the card. */
body.lakeside.page-kids-events .kr-solid .kr-explore-item {
    min-height: 6.5rem;
    padding: 1.25rem 1.35rem;
    gap: 1rem;
    border: 0;
    box-shadow: 0 2px 6px rgba(22, 24, 26, 0.18);
    color: #fff;
}
body.lakeside.page-kids-events .kr-solid .kr-solid-navy   { background: var(--glass-navy); }
/* Marigold takes ink, not white (ink on marigold 8.7:1; white would be 2.0:1). */
body.lakeside.page-kids-events .kr-solid .kr-explore-item.kr-solid-marigold,
body.lakeside.page-kids-events .kr-solid .kr-explore-item.kr-solid-marigold:hover,
body.lakeside.page-kids-events .kr-solid .kr-explore-item.kr-solid-marigold:focus-visible { background: var(--accent-marigold); color: var(--glass-ink); }
body.lakeside.page-kids-events .kr-solid .kr-explore-item.kr-solid-marigold strong,
body.lakeside.page-kids-events .kr-solid .kr-explore-item.kr-solid-marigold small { color: var(--glass-ink); }
body.lakeside.page-kids-events .kr-solid .kr-explore-item.kr-solid-marigold .kr-explore-icon { border-color: var(--glass-ink); color: var(--glass-ink); }
body.lakeside.page-kids-events .kr-solid .kr-solid-pine   { background: var(--glass-pine); }
body.lakeside.page-kids-events .kr-solid .kr-solid-violet { background: var(--glass-violet); }

body.lakeside.page-kids-events .kr-solid .kr-explore-item:hover,
body.lakeside.page-kids-events .kr-solid .kr-explore-item:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(22, 24, 26, 0.25);
    color: #fff;
}
body.lakeside.page-kids-events .kr-solid .kr-explore-item:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}

body.lakeside.page-kids-events .kr-solid .kr-explore-icon {
    background: transparent;
    border-color: #fff;
    color: #fff;
}

body.lakeside.page-kids-events .kr-solid .kr-explore-item strong {
    font-size: 1.15rem;
    color: #fff;
}

body.lakeside.page-kids-events .kr-solid .kr-explore-item small {
    margin-top: 0.15rem;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #fff;
}

/* New for Kids (Kids Zone): catalog covers (Syndetics), book-shaped like
   Books & More's. Books We Love (Books & Reading) are square picture books,
   like the game boxes. Links in the cover sections are river, like See All
   Kids Events. */
body.lakeside.page-kids {
    --cover-ratio: 2 / 3;
    --page-link: var(--glass-river);
    --page-accent: var(--glass-river);
}

body.lakeside.page-kids-books {
    --cover-ratio: 1 / 1;
    --page-link: var(--glass-river);
    --page-accent: var(--glass-river);
}

/* Books We Love: every book gets the same 3:4 slot, and the border and a
   soft shadow hug the cover itself, so there is no white padding. Each
   cover keeps its own proportions (never cropped or stretched), centred,
   sitting on the bottom of the slot so all the titles start level. */
body.lakeside.page-kids-books .br-love-row .discover-cover {
    position: relative;
    aspect-ratio: 3 / 4;
    margin-bottom: 0.7rem;
}
/* Absolutely placed with auto margins: centred across, resting on the
   bottom edge, and never larger than the slot either way. */
body.lakeside.page-kids-books .br-love-row .discover-cover img {
    position: absolute;
    inset: 0;
    margin: auto auto 0;
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    border: 2px solid var(--glass-ink);
    border-radius: 6px;
    box-shadow: 3px 3px 0 rgba(22, 24, 26, 0.45);
}
body.lakeside.page-kids-books .br-love-row .discover-book:hover img,
body.lakeside.page-kids-books .br-love-row .discover-book:focus-visible img {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(22, 24, 26, 0.5);
}
body.lakeside.page-kids-books .br-love-row .discover-cover .book-plain {
    width: 100%;
    aspect-ratio: 3 / 4;
    box-shadow: 3px 3px 0 rgba(22, 24, 26, 0.45);
}

/* Books We Love, ten at a time: rows of five on desktop, three on tablets,
   two on phones (a grid rather than the shared swipe row, so every book is
   in view). Titles wrap to two lines before "...", with two lines reserved
   so the authors line up across a row. */
body.lakeside.page-kids-books .br-love-row {
    row-gap: 2rem;
}
/* Discover a New Book: a small label over each row (Picture Books, Juvenile
   Fiction), with room between the two rows. */
body.lakeside.page-kids-books .br-row-label {
    margin: 0 0 0.9rem;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--page-accent, var(--glass-river));
}
body.lakeside.page-kids-books .br-love-row + .br-row-label {
    margin-top: 2.25rem;
}
body.lakeside.page-kids-books .br-love-row .discover-title {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.6em;
}
@media (max-width: 575.98px) {
    body.lakeside.page-kids-books .br-love-row {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem 1rem;
        overflow: visible;
        margin-right: 0;
        padding: 0;
    }
    body.lakeside.page-kids-books .br-love-row li {
        flex: none;
        max-width: none;
    }
}

/* Browse the Children's Collection: the last line of the page. */
body.lakeside.page-kids-books .br-collection {
    margin: 1.75rem 0 0;
}

body.lakeside.page-kids-books .discover-book .book-plain {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: var(--cover-ratio);
    border: 2px solid var(--glass-ink);
    border-radius: 6px;
    box-shadow: 4px 4px 0 var(--glass-ink);
    color: #fff;
    font-size: 3rem;
}

/* ------------------------------------------------------------------
   Services reorganisation: Library Cards & Borrowing, Services & Spaces
   ------------------------------------------------------------------
   Two long reference pages (pages/services/cards-borrowing.php and
   services-spaces.php). Plum, the library-services colour, like the
   Services hub. Content sits in white panels with a plum left edge
   (the hub's panel shape). Topic cards open them in a dialog (below).
   Scoped to these two pages only. */
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) {
    --page-accent: var(--sem-basics);      /* plum; white on it 7.5:1 */
    --page-link:   var(--sem-basics);      /* 7.5:1 on white */
    --page-line:   var(--glass-rose);
}

body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .section-header {
    border-bottom-color: var(--page-accent);
}

/* Sections land below the top of the window, not under it. */
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) :is(section[id], .svc-block[id], li[id]) {
    scroll-margin-top: 1.25rem;
}

body.lakeside .svc-section {
    margin-bottom: 3.5rem;
}
body.lakeside .svc-section-intro {
    max-width: 52rem;
    margin-bottom: 1.25rem;
}

/* A white panel with a plum left edge, one per service. */
body.lakeside .svc-block {
    padding: 1.25rem 1.75rem 1.4rem;
    margin-bottom: 1.25rem;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-left: 8px solid var(--page-accent);
    border-radius: 14px;
}
body.lakeside .svc-block > :last-child {
    margin-bottom: 0;
}
body.lakeside .svc-block h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin: 0 0 0.6rem;
}
body.lakeside .svc-block h4 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--page-link);
    margin: 1.1rem 0 0.4rem;
}
body.lakeside .svc-block ul,
body.lakeside .svc-block ol {
    padding-left: 1.25rem;
}
body.lakeside .svc-block li {
    margin-bottom: 0.25rem;
}
body.lakeside .svc-block .hub-loans {
    max-width: none;
    padding-left: 0;
}
body.lakeside .svc-block .hub-loans li {
    margin-bottom: 0;
    border-bottom-color: var(--page-line);
}
body.lakeside .svc-block .hub-loans span { font-weight: 600; }
body.lakeside .svc-block .hub-loans small { font-weight: 400; }
body.lakeside .svc-block .hub-loans strong { color: var(--page-accent); }

/* Tables (prices, fees): ruled, plum header text. */
body.lakeside .svc-table {
    margin-bottom: 0.75rem;
}
body.lakeside .svc-table th {
    color: var(--page-link);
    font-weight: 700;
}

/* A quiet cream note inside a panel (payment rules, requirements). */
body.lakeside .svc-note {
    padding: 0.75rem 1rem;
    margin: 0.75rem 0;
    background: var(--glass-cream);
    border-radius: 10px;
}

/* Actions: plum buttons, and bold plum links to the detailed pages. */
body.lakeside .svc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1.25rem;
    align-items: center;
    margin-top: 1rem;
}
body.lakeside .btn.svc-btn {
    background: var(--page-accent);
    border: 2px solid var(--page-accent);
    color: #fff;
    font-weight: 600;
}
body.lakeside .btn.svc-btn:hover,
body.lakeside .btn.svc-btn:focus-visible {
    background: var(--page-accent);
    border-color: var(--glass-ink);
    color: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}
body.lakeside .svc-more {
    font-weight: 700;
    color: var(--page-link);
    text-decoration: none;
}
body.lakeside .svc-more:hover,
body.lakeside .svc-more:focus-visible {
    color: var(--page-link);
    text-decoration: none;
}
body.lakeside .svc-block p a:not(.btn),
body.lakeside .svc-block li a:not(.btn),
body.lakeside .svc-section-intro a {
    color: var(--page-link);
    font-weight: 600;
    text-decoration: none;
}

@media (max-width: 575.98px) {
    body.lakeside .svc-block { padding: 1rem 1.1rem 1.15rem; border-left-width: 6px; }
    body.lakeside .svc-actions .btn { width: 100%; min-height: 44px; }
}

/* Services dropdown in the main menu (includes/navigation.php): a button
   that looks like the other menu links, and a plain ink-outlined menu.
   The current page is plum with white text (7.5:1). */
body.lakeside .site-nav .site-nav-main button.nav-link {
    background: none;
    border: 0;
    color: var(--bs-navbar-color, rgba(0, 0, 0, 0.65));
}
body.lakeside .site-nav .site-nav-main button.nav-link.active,
body.lakeside .site-nav .site-nav-main button.nav-link:hover,
body.lakeside .site-nav .site-nav-main button.nav-link:focus-visible {
    color: var(--glass-ink);
}
body.lakeside .site-nav-dropdown {
    border: 2px solid var(--glass-ink);
    border-radius: 12px;
    box-shadow: 4px 4px 0 var(--glass-ink);
    padding: 0.4rem;
    min-width: 15rem;
}
body.lakeside .site-nav-dropdown .dropdown-item {
    border-radius: 8px;
    padding: 0.55rem 0.8rem;
    font-weight: 600;
    color: var(--glass-ink);
}
body.lakeside .site-nav-dropdown .dropdown-item:hover,
body.lakeside .site-nav-dropdown .dropdown-item:focus-visible {
    background: var(--glass-cream);
    color: var(--glass-ink);
}
body.lakeside .site-nav-dropdown .dropdown-item.active {
    background: var(--sem-basics);
    color: #fff;
}
@media (max-width: 1199.98px) {
    /* In the collapsed phone/tablet menu the list opens inline. */
    body.lakeside .site-nav-dropdown {
        box-shadow: none;
        margin: 0.25rem 0 0.5rem;
    }
}

/* ------------------------------------------------------------------
   Services topic pages (Library Cards & Borrowing, Services & Spaces):
   topic cards and the topic dialog
   ------------------------------------------------------------------
   Six cards per page open one dialog each (js/topic-dialogs.js). The topic
   sections stay hidden on the page while JavaScript runs, and show as a
   normal page without it, with ?view=all, and when printing. Lighter
   panels here than elsewhere: a thin rule and a plum edge, not a heavy
   ink outline on every block. */
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-grid {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.1rem;
}
@media (min-width: 640px) {
    body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
    body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.35rem 1.4rem 1.2rem;
    background: #fff;
    border: 1px solid #d3ccbb;
    border-top: 5px solid var(--sem-basics);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(22, 24, 26, 0.07);
    color: var(--glass-ink);
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic:hover,
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(22, 24, 26, 0.13);
    color: var(--glass-ink);
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic:focus-visible {
    outline: 3px solid var(--sem-basics);
    outline-offset: 3px;
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--sem-basics);
    color: #fff;
    font-size: 1.35rem;
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.35rem;
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-desc {
    flex: 1 1 auto;
    font-size: 0.95rem;
    color: #3a3f47;
    margin-bottom: 0.9rem;
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-go {
    font-weight: 700;
    color: var(--sem-basics);
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-go i { margin-left: 0.2rem; }

body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-view-all {
    margin: 0 0 2.5rem;
    font-size: 0.92rem;
    color: #3a3f47;
}
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-view-all a,
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-back a {
    font-weight: 700;
    color: var(--sem-basics);
    text-decoration: none;
}

/* With JavaScript the sections live in the dialog, not on the page. */
html.cb-js body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topics-root:not(.cb-show-all) { display: none; }
html.cb-js body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-dialog-body .svc-section { display: block; }

/* Lighter panels on this page. */
body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .svc-block {
    border: 1px solid #d3ccbb;
    border-left: 5px solid var(--sem-basics);
    box-shadow: none;
}

/* The dialog: centred, scrolls inside, header and Close always visible. */
body.lakeside .cb-dialog {
    width: min(60rem, calc(100vw - 2rem));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 0;
    border-radius: 16px;
    background: var(--ground, #f7f2e8);
    color: var(--glass-ink);
    box-shadow: 0 20px 50px rgba(22, 24, 26, 0.35);
    overflow: hidden;
}
body.lakeside .cb-dialog[open] {
    display: flex;
    flex-direction: column;
}
body.lakeside .cb-dialog::backdrop {
    background: rgba(22, 24, 26, 0.55);
}
body.lakeside .cb-dialog-head {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.25rem 0.9rem 1.5rem;
    background: #fff;
    border-bottom: 4px solid var(--sem-basics);
}
body.lakeside .cb-dialog-title {
    margin: 0;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--glass-ink);
}
body.lakeside .cb-dialog-close {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.45rem 1rem;
    border: 2px solid var(--sem-basics);   /* one outline only */
    border-radius: 999px;
    background: #fff;
    color: var(--sem-basics);
    font-weight: 700;
    box-shadow: none;
}
body.lakeside .cb-dialog-close:hover {
    background: var(--sem-basics);
    color: #fff;
}
body.lakeside .cb-dialog-close:focus { outline: none; }
/* Keyboard focus only: a clear ring set slightly apart from the button. */
body.lakeside .cb-dialog-close:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 3px;
}
/* The title takes focus when a topic opens; it needs no ring. */
body.lakeside .cb-dialog-title:focus { outline: none; }

body.lakeside .cb-dialog-body {
    flex: 1 1 auto;
    background: #fff;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding: 1.4rem 1.5rem 0.5rem;
}
/* The section's own heading is the dialog title, so it is not repeated. */
body.lakeside .cb-dialog-body .svc-section > .section-header { display: none; }
body.lakeside .cb-dialog-body .svc-section { margin-bottom: 1rem; }

/* No background scrolling while a topic is open. */
html.cb-modal-open,
html.cb-modal-open body { overflow: hidden; }

@media (max-width: 575.98px) {
    body.lakeside .cb-dialog {
        width: calc(100vw - 1rem);
        max-height: calc(100dvh - 1rem);
        border-radius: 12px;
    }
    body.lakeside .cb-dialog-head { padding: 0.7rem 0.75rem 0.7rem 1rem; }
    body.lakeside .cb-dialog-title { font-size: 1.15rem; }
    body.lakeside .cb-dialog-close span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    body.lakeside .cb-dialog-body { padding: 1rem 0.85rem 0.25rem; }
}

@media print {
    body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic-grid,
    body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-view-all,
    body.lakeside .cb-dialog { display: none !important; }
    html.cb-js body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topics-root { display: block !important; }
}

@media (prefers-reduced-motion: reduce) {
    body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic { transition: none; }
    body.lakeside:is(.page-cards-borrowing, .page-services-spaces, .page-library-card-account, .page-borrowing-delivery, .page-computers-printing-spaces, .page-ebooks-audiobooks-research) .cb-topic:hover { transform: none; }
}

/* Inside the topic dialogs: calmer panels. No outline or plum edge round
   each block; blocks are separated by whitespace and a thin rule instead.
   Side-by-side columns stay, cream notes stay for the things that matter,
   and plum stays on the small subheadings and figures. The view-all pages
   keep their panels. */
body.lakeside .cb-dialog-body .svc-block {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
body.lakeside .cb-dialog-body .svc-section > :is(.svc-block, .row) {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e6dfd1;
}
/* A row's box is wider than its text (Bootstrap gutters), so its rule is
   drawn at the text width instead of as a border. */
body.lakeside .cb-dialog-body .svc-section > .row {
    border-bottom: 0;
    background: linear-gradient(#e6dfd1, #e6dfd1) no-repeat center bottom / calc(100% - var(--bs-gutter-x)) 1px;
}
body.lakeside .cb-dialog-body .svc-section > :is(.svc-block, .row):last-child,
body.lakeside .cb-dialog-body .svc-section > :is(.svc-block, .row):has(+ .svc-section-intro:last-child) {
    border-bottom: 0;
    background: none;
    margin-bottom: 0.75rem;
}
body.lakeside .cb-dialog-body .svc-block h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}
body.lakeside .cb-dialog-body .svc-table {
    --bs-table-border-color: #e6dfd1;
}
@media (max-width: 991.98px) {
    /* Columns stack: a rule between them too. */
    body.lakeside .cb-dialog-body .svc-section > .row > [class*="col-"] + [class*="col-"] .svc-block {
        padding-top: 1.25rem;
        border-top: 1px solid #e6dfd1;
    }
}

/* Services hub: the two destination cards (Library Cards & Borrowing,
   Services & Spaces). Same light card as the topic cards on those pages:
   thin rule, plum top edge, plum icon disc, one plum button. */
body.lakeside.page-services .svc-dest {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 1.4rem 1.5rem 1.5rem;
    background: #fff;
    border: 1px solid #d3ccbb;
    border-top: 5px solid var(--sem-basics);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(22, 24, 26, 0.07);
}
body.lakeside.page-services .svc-dest-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 0.8rem;
    border-radius: 50%;
    background: var(--sem-basics);
    color: #fff;
    font-size: 1.35rem;
}
body.lakeside.page-services .svc-dest-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin: 0 0 0.4rem;
}
body.lakeside.page-services .svc-dest-desc {
    flex: 1 1 auto;
    color: #3a3f47;
    margin-bottom: 1.1rem;
}
body.lakeside.page-services .btn.svc-dest-btn {
    background: var(--sem-basics);
    border: 2px solid var(--sem-basics);
    color: #fff;
    font-weight: 600;
}
body.lakeside.page-services .btn.svc-dest-btn:hover,
body.lakeside.page-services .btn.svc-dest-btn:focus-visible {
    background: var(--sem-basics);
    border-color: var(--glass-ink);
    color: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}
/* Online Services: the same card as the two above, full width in its own
   row; text left, button lower right. */
body.lakeside.page-services .svc-dest-wide {
    background: color-mix(in srgb, var(--sem-basics) 8%, #fff);
    border-color: color-mix(in srgb, var(--sem-basics) 30%, #fff);
    border-top-color: var(--sem-basics);
}
body.lakeside.page-services .svc-dest-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.6rem;
}
body.lakeside.page-services .svc-dest-head .svc-dest-icon,
body.lakeside.page-services .svc-dest-head .svc-dest-title { margin-bottom: 0; }
@media (min-width: 768px) {
    body.lakeside.page-services .svc-dest-wide {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 2rem;
    }
    body.lakeside.page-services .svc-dest-wide-text { max-width: 46rem; }
    body.lakeside.page-services .svc-dest-wide .svc-dest-desc { margin-bottom: 0; }
    body.lakeside.page-services .svc-dest-wide .btn.svc-dest-btn { flex: 0 0 auto; white-space: nowrap; }
}
@media (max-width: 575.98px) {
    body.lakeside.page-services .btn.svc-dest-btn { width: 100%; min-height: 44px; }
}

/* ------------------------------------------------------------------
   Research & Genealogy (pages/about/research-genealogy.php)
   ------------------------------------------------------------------
   Restyled 2026-10-13: soft cards like the newer pages (thin rule,
   rounded corners, light shadow) instead of the ink outline and offset
   shadow. Premium databases (same day): each shows its publisher's official
   logo on white; FamilySearch, with no downloadable logo, keeps its
   original river header for now. One slate button and neutral access tags
   for all five. The four directories below them are plain two-column
   lists (name = link, description under it). Plum stays on the
   section rules and the access note only. Scoped to this page; the
   !important answers the site-wide card rule above. */
body.lakeside.page-research-genealogy .rg-c-navy       { --rg-c: var(--glass-navy); }
body.lakeside.page-research-genealogy .rg-c-pine       { --rg-c: var(--glass-pine); }
body.lakeside.page-research-genealogy .rg-c-violet     { --rg-c: var(--glass-violet); }
body.lakeside.page-research-genealogy .rg-c-river      { --rg-c: var(--glass-river); }
body.lakeside.page-research-genealogy .rg-c-terracotta { --rg-c: var(--glass-terracotta); }
body.lakeside.page-research-genealogy .section-header {
    border-bottom-color: var(--sem-basics);
}

body.lakeside.page-research-genealogy .rg-note {
    padding: 0.85rem 1.1rem;
    background: var(--glass-cream);
    border-left: 5px solid var(--sem-basics);
    border-radius: 10px;
}
body.lakeside.page-research-genealogy .rg-note-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.25rem;
}
body.lakeside.page-research-genealogy .rg-note-title i,
body.lakeside.page-research-genealogy .rg-note a {
    color: var(--sem-basics);
    text-decoration: none;
}

/* Cards: thin rule, rounded, a light shadow that lifts a little on hover. */
body.lakeside.page-research-genealogy .card.rg-card {
    border: 1px solid #d3ccbb !important;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(22, 24, 26, 0.18) !important;
    overflow: hidden;
    transition: box-shadow 0.18s ease;
}
body.lakeside.page-research-genealogy .card.rg-card:hover {
    box-shadow: 0 7px 18px rgba(22, 24, 26, 0.26) !important;
}

/* Premium databases: each header keeps its original bg-* class, so the
   site's card rules colour the header and its button exactly as before;
   the --rg-c colour above matches it for the access tag. White logo. */
body.lakeside.page-research-genealogy .card-header.rg-db-head {
    background-color: #fff !important;
    color: var(--glass-ink);
    border-bottom: 2px solid #d3ccbb;
}
body.lakeside.page-research-genealogy .rg-db-head .media-slot {
    height: 3rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
body.lakeside.page-research-genealogy .rg-db-head .media-slot img {
    max-height: 3rem;
    width: auto;
    filter: brightness(0);   /* the only FamilySearch logo we have is white; turn it black */
}
body.lakeside.page-research-genealogy .rg-db-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--glass-ink);
}
body.lakeside.page-research-genealogy .rg-db-foot {
    background: #fff;
    border-top: 1px solid #ece6da;
}
/* Official logos (assets/images/logos/*-official.png) on white, in a band
   the same height as FamilySearch's header, so the five line up. Scaled to
   fit, never cropped or stretched. */
body.lakeside.page-research-genealogy :is(.rg-db-brand, .rg-db-head) {
    height: 5.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
/* FamilySearch: tree beside the name, all on one line. */
body.lakeside.page-research-genealogy .rg-db-head {
    flex-direction: row;
    gap: 0.6rem;
}
body.lakeside.page-research-genealogy .rg-db-head .media-slot {
    height: auto;
    margin-bottom: 0;
}
body.lakeside.page-research-genealogy .rg-db-head .media-slot img { max-height: 2.6rem; }
body.lakeside.page-research-genealogy .rg-db-title { font-size: 1.3rem; white-space: nowrap; }
body.lakeside.page-research-genealogy .rg-db-brand {
    padding: 0.6rem 1rem;
    background: #fff;
    border-bottom: 2px solid #d3ccbb;   /* clear line between logo and info */
}
/* Official logos sit straight on the white header. */
body.lakeside.page-research-genealogy .rg-db-brand img {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Access limits: one neutral tag shape; the words and icon tell them apart. */
body.lakeside.page-research-genealogy .rg-access {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--glass-cream);
    color: var(--glass-ink);
    font-size: 0.8rem;
    font-weight: 700;
}

/* One restrained button for all five databases: plum (white 7.5:1), lifting
   on hover like the other buttons. */
body.lakeside.page-research-genealogy .btn.rg-db-btn {
    background: var(--sem-basics);
    border: 2px solid var(--sem-basics);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
body.lakeside.page-research-genealogy .btn.rg-db-btn:hover,
body.lakeside.page-research-genealogy .btn.rg-db-btn:focus-visible {
    background: var(--sem-basics);
    border-color: var(--glass-ink);
    color: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}

/* The four directories: full-width sections stacked in page order, each
   list in two columns on desktop and one on phones. No rules, cards or
   icons: name = link, description under it, space between entries. */
body.lakeside.page-research-genealogy .rg-dir-section {
    margin-bottom: 3.25rem;
}
body.lakeside.page-research-genealogy .rg-dir-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 3.5rem;
}
@media (min-width: 768px) {
    body.lakeside.page-research-genealogy .rg-dir-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
body.lakeside.page-research-genealogy .rg-dir-list li { padding: 0; }
body.lakeside.page-research-genealogy .rg-dir-list a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--glass-ink);
    text-decoration: none;
}
body.lakeside.page-research-genealogy .rg-dir-list a:hover,
body.lakeside.page-research-genealogy .rg-dir-list a:focus-visible {
    color: var(--glass-ink);
    text-decoration: none;
}
body.lakeside.page-research-genealogy .rg-dir-list p {
    margin: 0.25rem 0 0;
    font-size: 0.93rem;
    line-height: 1.55;
    color: #3a3f47;
}
body.lakeside.page-research-genealogy .rg-dir-sub {
    margin: 1.75rem 0 1rem;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #3a3f47;
}
body.lakeside.page-research-genealogy .rg-dir-section .section-header + .rg-dir-sub { margin-top: 0; }

/* Family Tree Building Tools: three columns on tablet and up. Free software
   takes the first; Premium takes the other two, its seven entries running
   down 4 + 3. On phones everything stacks. */
body.lakeside.page-research-genealogy .rg-dir-groups {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 3rem;
}
@media (min-width: 768px) {
    body.lakeside.page-research-genealogy .rg-dir-groups {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    body.lakeside.page-research-genealogy .rg-dir-group:last-child { grid-column: span 2; }
    body.lakeside.page-research-genealogy .rg-dir-group:last-child .rg-dir-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, auto);
        grid-auto-flow: column;
        column-gap: 3rem;
    }
    body.lakeside.page-research-genealogy .rg-dir-groups .rg-dir-list { grid-template-columns: 1fr; }
}
body.lakeside.page-research-genealogy .rg-dir-groups .rg-dir-sub { margin-top: 1.25rem; }

/* ------------------------------------------------------------------
   Online Services (pages/services/online-services.php)
   ------------------------------------------------------------------
   Redesigned 2026-10-14 to match Services and Research & Genealogy: soft
   white cards (thin rule, rounded, light shadow), logo on white above a
   divider, plain bullets, one plum button, plum section rules. Scoped to
   this page. */
body.lakeside.page-online-services .section-header { border-bottom-color: var(--sem-basics); }
body.lakeside.page-online-services .os-section { margin-bottom: 3.25rem; }
body.lakeside.page-online-services .os-intro { max-width: 52rem; margin-bottom: 1.25rem; color: #3a3f47; }

body.lakeside.page-online-services .os-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid #d3ccbb;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(22, 24, 26, 0.12);
    overflow: hidden;
}
body.lakeside.page-online-services .os-card-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5.5rem;
    padding: 0.7rem 1rem;
    border-bottom: 2px solid #d3ccbb;
}
body.lakeside.page-online-services .os-card-brand img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
body.lakeside.page-online-services .os-card-brand i { font-size: 2.6rem; color: var(--sem-basics); }
body.lakeside.page-online-services .os-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 1.4rem 1.6rem 1.6rem;
}
body.lakeside.page-online-services .os-card-body > p { color: #3a3f47; }
body.lakeside.page-online-services .os-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin: 0 0 0.5rem;
}
body.lakeside.page-online-services .os-tag {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    background: var(--glass-cream);
    color: var(--glass-ink);
    font-size: 0.8rem;
    font-weight: 700;
}
body.lakeside.page-online-services .os-list {
    list-style: none;
    margin: 0 0 1.4rem;
    padding: 0;
    flex: 1 1 auto;
}
body.lakeside.page-online-services .os-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.3rem;
    color: #3a3f47;
}
body.lakeside.page-online-services .os-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sem-basics);
}
body.lakeside.page-online-services .os-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; }

/* One plum button; the outlined variant is the same shape. */
body.lakeside.page-online-services .btn.os-btn {
    background: var(--sem-basics);
    border: 2px solid var(--sem-basics);
    color: #fff;
    font-weight: 600;
}
body.lakeside.page-online-services .btn.os-btn.os-btn-outline {
    background: transparent;
    color: var(--sem-basics);
}
body.lakeside.page-online-services .btn.os-btn:hover,
body.lakeside.page-online-services .btn.os-btn:focus-visible {
    border-color: var(--glass-ink);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}
body.lakeside.page-online-services .btn.os-btn:not(.os-btn-outline):hover,
body.lakeside.page-online-services .btn.os-btn:not(.os-btn-outline):focus-visible {
    background: var(--sem-basics);
    color: #fff;
}
body.lakeside.page-online-services .btn.os-btn.os-btn-outline:hover,
body.lakeside.page-online-services .btn.os-btn.os-btn-outline:focus-visible {
    background: transparent;
    color: var(--sem-basics);
}

/* Research & Genealogy gateway: the pale plum band used on the Services hub. */
body.lakeside.page-online-services .os-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem 3rem;
    min-height: 11rem;
    padding: 2.5rem 2.75rem;
    background: color-mix(in srgb, var(--sem-basics) 8%, #fff);
    border: 1px solid color-mix(in srgb, var(--sem-basics) 30%, #fff);
    border-top: 5px solid var(--sem-basics);   /* as the Services gateway cards */
    border-radius: 14px;
}
body.lakeside.page-online-services .os-feature-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin: 0 0 0.6rem;
}
body.lakeside.page-online-services .os-feature-text { max-width: 40rem; }
body.lakeside.page-online-services .os-feature-text p { margin: 0; color: #3a3f47; font-size: 1.1rem; line-height: 1.6; }
body.lakeside.page-online-services .os-feature .btn.os-btn {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.75rem 1.6rem;
    font-size: 1.05rem;
}

/* MEL & MelCat: one full-width card; logo beside the title like the cards above. */
body.lakeside.page-online-services .os-card-wide .os-card-body { padding: 1.4rem 1.5rem 1.5rem; }
@media (min-width: 768px) {
    /* Text on the left, the button on the right, as on the Research & Genealogy card. */
    body.lakeside.page-online-services .os-card-wide .os-card-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 3rem;
        padding-right: 2.75rem;
    }
    body.lakeside.page-online-services .os-card-wide .os-card-body > * { grid-column: 1; }
    body.lakeside.page-online-services .os-card-wide .os-card-body > .os-actions {
        grid-column: 2;
        grid-row: 1 / span 3;
        align-self: center;
        margin-top: 0;
    }
    body.lakeside.page-online-services .os-card-wide .os-list { margin-bottom: 0; }
    body.lakeside.page-online-services .os-card-wide .os-actions .btn.os-btn {
        padding: 0.75rem 1.6rem;
        font-size: 1.05rem;
        white-space: nowrap;
    }
    body.lakeside.page-online-services .os-list-2 { columns: 2; column-gap: 2.5rem; }
    body.lakeside.page-online-services .os-list-2 li { break-inside: avoid; }
}

/* Library card help: three plain columns, no boxes. */
body.lakeside.page-online-services .os-help-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin: 0 0 0.6rem;
}
body.lakeside.page-online-services .os-help p { color: #3a3f47; }
body.lakeside.page-online-services .os-links { list-style: none; margin: 0; padding: 0; }
body.lakeside.page-online-services .os-links li { margin-bottom: 0.5rem; }
body.lakeside.page-online-services .os-links a {
    font-weight: 700;
    color: var(--sem-basics);
    text-decoration: none;
}

@media (max-width: 767.98px) {
    body.lakeside.page-online-services .os-feature { flex-direction: column; align-items: stretch; min-height: 0; padding: 1.75rem 1.5rem; }
    body.lakeside.page-online-services .os-feature-title { font-size: 1.6rem; }
    body.lakeside.page-online-services .btn.os-btn { width: 100%; min-height: 44px; }
}

/* Digital Resources cards: the Services gateway card treatment (thin rule,
   plum top edge, same padding and soft shadow), logo or icon in the upper
   content area instead of a separate header band. */
body.lakeside.page-online-services .os-gate {
    border-top: 5px solid var(--sem-basics);
    box-shadow: 0 2px 8px rgba(22, 24, 26, 0.07);
}
body.lakeside.page-online-services .os-gate .os-card-body { padding: 1.4rem 1.5rem 1.5rem; }
body.lakeside.page-online-services .os-mark {
    display: flex;
    align-items: center;
    height: 2.9rem;
    margin-bottom: 0.8rem;
}
body.lakeside.page-online-services .os-mark-img {
    display: block;
    height: 100%;
    width: auto;
    max-width: 8rem;
    object-fit: contain;
}
body.lakeside.page-online-services .os-mark-disc {
    justify-content: center;
    width: 2.9rem;
    border-radius: 50%;
    background: var(--sem-basics);
    color: #fff;
    font-size: 1.35rem;
}

/* Logo / icon and title on one line, on the Services gateway cards and the
   Online Services Digital Resources cards. */
body.lakeside.page-online-services .os-gate-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.7rem;
}
body.lakeside.page-online-services .os-gate-head .os-mark,
body.lakeside.page-online-services .os-gate-head .os-card-title { margin-bottom: 0; }
body.lakeside.page-online-services .os-gate-head .os-mark { flex: 0 0 auto; }

/* An access badge beside the action button at the foot of a card. */
body.lakeside.page-online-services .os-actions { align-items: center; gap: 0.5rem; }
body.lakeside.page-online-services .os-actions .os-tag { margin-bottom: 0; align-self: center; padding: 0.25rem 0.5rem; font-size: 0.75rem; }

/* Button + badge stay on one line on mid-width desktops (1200-1399px) by
   shrinking the type; narrower, the badge wraps under the button. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    body.lakeside.page-online-services .os-gate .os-actions { flex-wrap: nowrap; gap: 0.4rem; }
    body.lakeside.page-online-services .os-gate .os-actions .btn.os-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.65rem;
        white-space: nowrap;
    }
    body.lakeside.page-online-services .os-gate .os-actions .os-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
        white-space: nowrap;
    }
}

/* Research & Genealogy gateway: plum disc icon beside the heading, as on the
   Services gateway cards. */
body.lakeside.page-online-services .os-feature-head {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 0.6rem;
}
body.lakeside.page-online-services .os-feature-head .os-feature-title { margin-bottom: 0; }
body.lakeside.page-online-services .os-feature-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 50%;
    background: var(--sem-basics);
    color: #fff;
    font-size: 1.35rem;
}

/* MEL & MelCat is about borrowing materials: the materials blue (#2b5f9e,
   white 6.5:1) for its top edge and button instead of services plum. Scoped
   to this one card. */
body.lakeside.page-online-services .os-card-wide {
    background: #edf3fa;   /* very pale materials blue; dark text on it is well over 4.5:1 */
    border-top: 6px solid var(--sem-materials);
}
body.lakeside.page-online-services .os-card-wide .btn.os-btn,
body.lakeside.page-online-services .os-card-wide .btn.os-btn:hover,
body.lakeside.page-online-services .os-card-wide .btn.os-btn:focus-visible {
    background: var(--sem-materials);
    border-color: var(--sem-materials);
    color: #fff;
}
body.lakeside.page-online-services .os-card-wide .btn.os-btn:hover,
body.lakeside.page-online-services .os-card-wide .btn.os-btn:focus-visible {
    border-color: var(--glass-ink);
}

/* ------------------------------------------------------------------
   EXPERIMENT 2026-10-14: solid brand colours on the two gateway cards of the
   Online Services page. Everything is behind .os-solid: remove that class
   from the two cards in online-services.php (or delete this block) to get
   the pale plum / pale blue treatment back. White on plum is 7.5:1, white
   on materials blue 6.5:1; the buttons are white with plum / blue text. */
body.lakeside.page-online-services :is(.os-feature, .os-card-wide).os-solid {
    box-shadow: 0 3px 10px rgba(22, 24, 26, 0.18);
    color: #fff;
}
body.lakeside.page-online-services .os-feature.os-solid {
    background: var(--sem-basics);
    border-color: var(--sem-basics);
}
body.lakeside.page-online-services .os-card-wide.os-solid {
    background: var(--sem-materials);
    border-color: var(--sem-materials);
}
body.lakeside.page-online-services :is(.os-feature, .os-card-wide).os-solid :is(.os-feature-title, .os-card-title, p, li) { color: #fff; }
body.lakeside.page-online-services .os-card-wide.os-solid .os-list li::before { background: #fff; }

/* Icon disc: white with the plum glyph, so it shows on the plum card. */
body.lakeside.page-online-services .os-feature.os-solid .os-feature-icon {
    background: #fff;
    color: var(--sem-basics);
}
/* MeL logo: small white plate so its red, blue and green stay readable. */
body.lakeside.page-online-services .os-card-wide.os-solid .os-mark-img {
    box-sizing: border-box;
    padding: 0.3rem 0.6rem;
    background: #fff;
    border-radius: 8px;
}

/* Buttons: white with coloured text; hover keeps the lift and dark edge. */
body.lakeside.page-online-services :is(.os-feature, .os-card-wide).os-solid .btn.os-btn {
    background: #fff;
    border-color: #fff;
}
body.lakeside.page-online-services .os-feature.os-solid .btn.os-btn { color: var(--sem-basics); }
body.lakeside.page-online-services .os-card-wide.os-solid .btn.os-btn { color: var(--sem-materials); }
body.lakeside.page-online-services :is(.os-feature, .os-card-wide).os-solid .btn.os-btn:hover,
body.lakeside.page-online-services :is(.os-feature, .os-card-wide).os-solid .btn.os-btn:focus-visible {
    background: #fff;
    border-color: var(--glass-ink);
}
body.lakeside.page-online-services .os-feature.os-solid .btn.os-btn:hover,
body.lakeside.page-online-services .os-feature.os-solid .btn.os-btn:focus-visible { color: var(--sem-basics); }
body.lakeside.page-online-services .os-card-wide.os-solid .btn.os-btn:hover,
body.lakeside.page-online-services .os-card-wide.os-solid .btn.os-btn:focus-visible { color: var(--sem-materials); }
body.lakeside.page-online-services :is(.os-feature, .os-card-wide).os-solid .btn.os-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

/* ------------------------------------------------------------------
   Research & Learning (pages/services/research-databases.php)
   ------------------------------------------------------------------
   Rewritten 2026-10-14: a plain directory like Genealogy & Family History's
   lists. Four plum-ruled sections, each entry a bold name link with a short
   description under it, two columns on desktop and one on phones. No cards,
   headers, shadows, bullets or step circles. Scoped to this page. */
body.lakeside.page-research-databases .section-header { border-bottom-color: var(--sem-basics); }
body.lakeside.page-research-databases .rl-intro { margin-bottom: 3rem; max-width: 56rem; }
body.lakeside.page-research-databases .rl-lead { font-size: 1.15rem; color: var(--glass-ink); margin-bottom: 1rem; }
body.lakeside.page-research-databases .rl-access {
    display: flex;
    gap: 0.7rem;
    margin: 0 0 1.5rem;
    padding-left: 1rem;
    border-left: 4px solid var(--sem-basics);
    color: #3a3f47;
}
body.lakeside.page-research-databases .rl-access i { color: var(--sem-basics); margin-top: 0.2rem; }
body.lakeside.page-research-databases .btn.rl-btn {
    background: var(--sem-basics);
    border: 2px solid var(--sem-basics);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
}
body.lakeside.page-research-databases .btn.rl-btn:hover,
body.lakeside.page-research-databases .btn.rl-btn:focus-visible {
    background: var(--sem-basics);
    border-color: var(--glass-ink);
    color: #fff;
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}
body.lakeside.page-research-databases .rl-section { margin-bottom: 3.25rem; }
body.lakeside.page-research-databases .rl-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem 3.5rem;
}
@media (min-width: 768px) {
    body.lakeside.page-research-databases .rl-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.lakeside.page-research-databases .rl-list > li > a {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--glass-ink);
    text-decoration: none;
}
body.lakeside.page-research-databases .rl-list p {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #3a3f47;
}
body.lakeside.page-research-databases .rl-list p a,
body.lakeside.page-research-databases .rl-help a {
    font-weight: 700;
    color: var(--sem-basics);
    text-decoration: none;
}
body.lakeside.page-research-databases .rl-help p { max-width: 52rem; color: #3a3f47; }
@media (max-width: 575.98px) {
    body.lakeside.page-research-databases .btn.rl-btn { width: 100%; min-height: 44px; }
}

/* ------------------------------------------------------------------
   Libby guide (pages/resources/libby.php)
   ------------------------------------------------------------------
   Plain, readable instructions on the cream page: collections blue for
   the rules, links and button (as Books & Collections), no cards or
   decorative panels. Scoped to this page. */
body.lakeside.page-libby .section-header { border-bottom-color: var(--sem-materials); }
body.lakeside.page-libby .lb-intro,
body.lakeside.page-libby .lb-section { margin-bottom: 2.5rem; }
body.lakeside.page-libby .lb-lead { font-size: 1.15rem; color: var(--glass-ink); }
body.lakeside.page-libby .lb-plain { padding-left: 1.2rem; color: #3a3f47; }
body.lakeside.page-libby .lb-plain li { margin-bottom: 0.5rem; }
body.lakeside.page-libby main a:not(.btn) { font-weight: 700; color: var(--sem-materials); text-decoration: none; }
body.lakeside.page-libby .lb-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
body.lakeside.page-libby .btn.lb-btn {
    background: var(--sem-materials);
    border: 2px solid var(--sem-materials);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
}
body.lakeside.page-libby .btn.lb-btn.lb-btn-outline { background: transparent; color: var(--sem-materials); }
body.lakeside.page-libby .btn.lb-btn:hover,
body.lakeside.page-libby .btn.lb-btn:focus-visible {
    border-color: var(--glass-ink);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}
body.lakeside.page-libby .btn.lb-btn:not(.lb-btn-outline):hover,
body.lakeside.page-libby .btn.lb-btn:not(.lb-btn-outline):focus-visible { background: var(--sem-materials); color: #fff; }
body.lakeside.page-libby .btn.lb-btn.lb-btn-outline:hover,
body.lakeside.page-libby .btn.lb-btn.lb-btn-outline:focus-visible { background: transparent; color: var(--sem-materials); }
body.lakeside.page-libby .lb-steps { list-style: none; margin: 0; padding: 0; counter-reset: lb; }
body.lakeside.page-libby .lb-steps > li { position: relative; padding-left: 2.6rem; margin-bottom: 1.5rem; counter-increment: lb; }
body.lakeside.page-libby .lb-steps > li::before {
    content: counter(lb) ".";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--sem-materials);
}
body.lakeside.page-libby .lb-steps h3,
body.lakeside.page-libby .lb-cols h3,
body.lakeside.page-libby .lb-links-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin: 0 0 0.3rem;
}
body.lakeside.page-libby .lb-steps p,
body.lakeside.page-libby .lb-cols p { margin: 0; color: #3a3f47; }
body.lakeside.page-libby .lb-cols { display: grid; grid-template-columns: 1fr; gap: 1.5rem 3rem; }
@media (min-width: 768px) {
    body.lakeside.page-libby .lb-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body.lakeside.page-libby .lb-note { margin-top: 1.5rem; color: #3a3f47; }
body.lakeside.page-libby .lb-links-title { margin-top: 2rem; }
@media (max-width: 575.98px) {
    body.lakeside.page-libby .btn.lb-btn { width: 100%; min-height: 44px; }
}

/* Books & Collections: Browse the Collection has four tiles, so it is two by two
   from tablet up (Explore & Learn keeps three in a row). One tile size on both:
   capped a little lower than the shared 1.35rem so the long Libby title fits. The Libby
   tile may wrap to two lines on narrow screens. */
@media (min-width: 992px) {
    body.lakeside.page-materials .collection-tiles.collection-tiles-2 { grid-template-columns: repeat(2, 1fr); }
}
body.lakeside.page-materials .collection-tile > span {
    font-size: min(1.15rem, calc((100cqi - 6.2rem) / var(--tile-fit, 11.9)));
}
body.lakeside.page-materials .collection-tile.collection-tile-wrap > span { white-space: normal; }

/* ------------------------------------------------------------------
   Meeting Rooms and Meeting Rooms Policy (pages/services/meetingroom.php,
   meeting-rooms-policy.php)
   ------------------------------------------------------------------
   Redesigned 2026-10-14: plain, document-like pages on the cream ground.
   Plum section rules and links, thin-ruled tables, no card headers or heavy
   borders. Scoped to these two pages. */
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .section-header { border-bottom-color: var(--sem-basics); }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) :is(.mr-intro, .mr-section, .mr-policy section) { max-width: 60rem; margin-bottom: 3rem; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-lead { font-size: 1.15rem; color: var(--glass-ink); }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.25rem 0 1rem; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn {
    background: var(--sem-basics);
    border: 2px solid var(--sem-basics);
    color: #fff;
    font-weight: 600;
    padding: 0.65rem 1.4rem;
}
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn.mr-btn-outline { background: transparent; color: var(--sem-basics); }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn:hover,
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn:focus-visible {
    border-color: var(--glass-ink);
    transform: translate(-1px, -1px);
    box-shadow: 3px 3px 0 var(--glass-ink);
}
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn:not(.mr-btn-outline):hover,
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn:not(.mr-btn-outline):focus-visible { background: var(--sem-basics); color: #fff; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn.mr-btn-outline:hover,
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn.mr-btn-outline:focus-visible { background: transparent; color: var(--sem-basics); }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) :is(.mr-alt a, .mr-list a, .mr-steps a, .mr-help a, .mr-section p a) {
    font-weight: 700;
    color: var(--sem-basics);
    text-decoration: none;
}
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #d3ccbb; border-radius: 10px; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-table th,
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-table td { padding: 0.8rem 1rem; border-bottom: 1px solid #e3dccd; text-align: left; vertical-align: top; color: #3a3f47; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-table thead th { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--sem-basics); border-bottom: 2px solid #d3ccbb; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-table tbody th { color: var(--glass-ink); font-weight: 700; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-table tbody th small { font-weight: 400; color: #3a3f47; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-table tbody tr:last-child :is(th, td) { border-bottom: 0; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-sub { font-size: 1.1rem; font-weight: 700; color: var(--glass-ink); margin: 1.5rem 0 0.4rem; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-note { margin-top: 0.9rem; color: #3a3f47; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-list { padding-left: 1.2rem; color: #3a3f47; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-list li { margin-bottom: 0.45rem; }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-list li::marker { color: var(--sem-basics); }
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-section > p,
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .mr-policy section > p { color: #3a3f47; }
body.lakeside.page-meetingroom .mr-steps { padding-left: 1.4rem; color: #3a3f47; }
body.lakeside.page-meetingroom .mr-steps li { margin-bottom: 0.7rem; padding-left: 0.3rem; }
body.lakeside.page-meetingroom .mr-steps li::marker { font-weight: 700; color: var(--sem-basics); }
body.lakeside.page-meetingroom .mr-alt { margin: 0; }
body.lakeside.page-meetingroom .mr-help { margin-top: 1.25rem; }
@media (max-width: 575.98px) {
    body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .btn.mr-btn { width: 100%; min-height: 44px; }
}
body.lakeside:is(.page-meetingroom, .page-meeting-rooms-policy) .table-responsive { overflow-y: hidden; margin-bottom: 1rem; }

/* Services & Spaces, Rooms & Spaces: the heading over each of the three areas
   (meeting rooms, study rooms and spaces, video calls). */
body.lakeside:is(.page-services-spaces, .page-computers-printing-spaces) .svc-area-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--glass-ink);
    margin: 1.75rem 0 0.9rem;
}

/* Services & Spaces: the Rooms & Spaces card has two actions (Reserve a Room, View Details),
   so the card is a plain box, not one big link: no lift on hover; the buttons sit in a row. */
body.lakeside.page-services-spaces .cb-topic.cb-topic-split:hover {
    transform: none;
    box-shadow: 0 2px 8px rgba(22, 24, 26, 0.07);
}
body.lakeside.page-services-spaces .cb-topic-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem 1.1rem;
}
body.lakeside.page-services-spaces .cb-topic-actions .cb-topic-open { text-decoration: none; }

/* Rooms & Spaces card: both actions on one line where the three-column cards are wide enough
   (1200px and up) by trimming the button and link type; narrower three-column widths may wrap. */
@media (min-width: 1200px) {
    body.lakeside.page-services-spaces .cb-topic-actions { flex-wrap: nowrap; gap: 0.5rem 0.9rem; }
    body.lakeside.page-services-spaces .cb-topic-actions .btn.svc-btn { font-size: 0.9rem; padding: 0.45rem 0.85rem; white-space: nowrap; }
    body.lakeside.page-services-spaces .cb-topic-actions .cb-topic-open { font-size: 0.9rem; white-space: nowrap; }
}

/* ------------------------------------------------------------------
   Board meeting minutes (pages/about/board-minutes/board-minute-*.php)
   ------------------------------------------------------------------
   Presentation only. The 150-odd historical pages keep their markup and every word as recorded;
   this block flattens their dashboard look into one plain document: cards, coloured headers, badges,
   alerts and stat tiles lose their boxes and fills, decorative icons are hidden, and each meeting
   section gets one heading style with a thin Dark Slate rule. The hook class page-board-minute comes from
   includes/header.php. */
body.lakeside.page-board-minute .container.my-5 > section { max-width: 62rem; }

/* No boxes: cards, nested cards and their fills. */
body.lakeside.page-board-minute .container.my-5 :is(.card, .card-custom, .card-body, .alert, .list-group, .list-group-item, .highlight-box) {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
body.lakeside.page-board-minute .container.my-5 .card-body { padding: 0 !important; }
body.lakeside.page-board-minute .container.my-5 :is(.bg-light, .bg-white, .bg-light-blue, .bg-light-green, .bg-secondary, .bg-success, .bg-info, .bg-warning, .bg-primary-blue, .bg-primary-green, .bg-secondary-blue, .bg-secondary-green) { background: transparent !important; }

/* One heading style for each meeting section. */
body.lakeside.page-board-minute .container.my-5 .card-header {
    background: transparent !important;
    color: var(--glass-ink) !important;
    border: 0 !important;
    border-bottom: 3px solid var(--minutes-accent) !important;
    border-radius: 0 !important;
    padding: 0 0 0.35rem !important;
    margin-bottom: 1rem;
}
body.lakeside.page-board-minute .container.my-5 .card-header :is(h1, h2, h3, h4, h5, h6, p, span, small, div) {
    color: var(--glass-ink) !important;
    margin: 0 !important;
}
body.lakeside.page-board-minute .container.my-5 .card-header :is(.mh-4, .mh-5, .mh-6) { font-size: 1.35rem; font-weight: 700; }
body.lakeside.page-board-minute .container.my-5 .card-header .mh-4 { font-size: 1.6rem; }
body.lakeside.page-board-minute .container.my-5 section.mb-4 { margin-bottom: 2.25rem !important; }

/* Quiet type: no coloured text, no centred tiles, no decorative icons. */
body.lakeside.page-board-minute .container.my-5 :is(.text-primary-blue, .text-primary-green, .text-success, .text-warning, .text-danger, .text-primary, .text-secondary-blue, .text-secondary-green) { color: var(--glass-ink) !important; }
body.lakeside.page-board-minute .container.my-5 :is(.text-muted, small, .small) { color: #3a3f47 !important; }
body.lakeside.page-board-minute .container.my-5 .text-center { text-align: left !important; }
body.lakeside.page-board-minute .container.my-5 .mh-6 { font-size: 1.05rem; font-weight: 700; color: var(--glass-ink); }
body.lakeside.page-board-minute .container.my-5 .mh-3 { font-size: 1.4rem; font-weight: 700; }
body.lakeside.page-board-minute .container.my-5 i.bi:not(.bi-chevron-left):not(.bi-chevron-right) { display: none !important; }

/* Lists and plain entries. */
body.lakeside.page-board-minute .container.my-5 .list-group-item { padding: 0.2rem 0 !important; }
body.lakeside.page-board-minute .container.my-5 :is(.border-top, .border-bottom) { border-color: #e3dccd !important; }

/* Status words and notices read as ordinary text. */
body.lakeside.page-board-minute .container.my-5 .badge {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    font-size: inherit;
    font-weight: 600;
}
body.lakeside.page-board-minute .container.my-5 .alert { padding: 0 !important; margin-bottom: 0.75rem; color: inherit !important; }
body.lakeside.page-board-minute .container.my-5 .alert-light { color: #3a3f47 !important; }
body.lakeside.page-board-minute .container.my-5 .alert-heading { font-size: 1.05rem; }

/* Tables: thin rules only. */
body.lakeside.page-board-minute .container.my-5 .table { --bs-table-bg: transparent; --bs-table-striped-bg: transparent; width: 100%; border-color: #d3ccbb; }
body.lakeside.page-board-minute .container.my-5 .table :is(th, td) { background: transparent !important; color: var(--glass-ink); border-color: #e3dccd !important; }
body.lakeside.page-board-minute .container.my-5 .table thead th { border-bottom: 2px solid #d3ccbb !important; }

/* Previous / All Minutes / Next: plain links. */
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    padding: 0.35rem 0;
    font-weight: 700;
    color: var(--glass-ink) !important;
    text-decoration: none;
}
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn:hover,
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn:focus-visible { color: var(--glass-ink) !important; }
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn i { color: var(--minutes-accent); font-weight: 700; }
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn:focus-visible { outline: 3px solid var(--minutes-accent); outline-offset: 3px; }
/* Minutes: the page-level "Meeting Minutes" rule matches the section rules; the disabled
   "Latest Minutes" marker is plain text. */
body.lakeside.page-board-minute .container.my-5 .section-header { border-bottom-color: var(--minutes-accent); }
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > .btn.disabled {
    background: transparent !important;
    border: 0 !important;
    padding: 0.35rem 0;
    opacity: 1;
    color: #3a3f47 !important;
    font-weight: 400;
}

/* Accent: Muted Teal Green (#567769, brand palette) for the minutes pages and the archive: thin rules, navigation
   chevrons and focus rings only (it is 4.4:1 on the cream, enough for lines and focus, not for small text, so
   headings, links and body text stay black). */
body.lakeside:is(.page-board-minute, .page-board-minutes-archive) { --minutes-accent: #567769; }
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn { padding: 0.35rem 0.6rem; border-radius: 8px; }
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn:hover,
body.lakeside.page-board-minute .container.my-5 section > .d-flex.justify-content-between > a.btn:focus-visible { background: var(--glass-cream) !important; }

/* Archive index (pages/about/board-minutes/board-minutes-archive.php): a plain list, then one expandable row per year.
   Muted Teal Green for rules, markers and focus only; headings, links and text stay black. */
body.lakeside.page-board-minutes-archive .section-header { border-bottom-color: var(--minutes-accent); }
body.lakeside.page-board-minutes-archive .container > :is(.ma-intro, .ma-section) { max-width: 62rem; }
body.lakeside.page-board-minutes-archive .ma-section { margin-bottom: 2.75rem; }
body.lakeside.page-board-minutes-archive .ma-back { margin-bottom: 1.5rem; }
body.lakeside.page-board-minutes-archive .ma-back a,
body.lakeside.page-board-minutes-archive .ma-group a,
body.lakeside.page-board-minutes-archive .ma-help a { color: var(--glass-ink); font-weight: 700; text-decoration: none; cursor: pointer; }
body.lakeside.page-board-minutes-archive .ma-back i { color: var(--minutes-accent); margin-right: 0.35rem; }
body.lakeside.page-board-minutes-archive .ma-lead { font-size: 1.1rem; color: var(--glass-ink); margin-bottom: 2.25rem; }
body.lakeside.page-board-minutes-archive .ma-year { border-bottom: 1px solid #d3ccbb; }
body.lakeside.page-board-minutes-archive .ma-year > summary {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0;
    cursor: pointer;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--glass-ink);
    list-style: none;
}
body.lakeside.page-board-minutes-archive .ma-year > summary::-webkit-details-marker { display: none; }
body.lakeside.page-board-minutes-archive .ma-year > summary::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-right: 3px solid var(--minutes-accent);
    border-bottom: 3px solid var(--minutes-accent);
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}
body.lakeside.page-board-minutes-archive .ma-year[open] > summary::before { transform: rotate(45deg); }
body.lakeside.page-board-minutes-archive .ma-year > summary:focus-visible { outline: 3px solid var(--minutes-accent); outline-offset: 2px; }
body.lakeside.page-board-minutes-archive .ma-groups { display: grid; grid-template-columns: 1fr; gap: 1.1rem 2rem; padding: 0.25rem 0 1.5rem 1.25rem; }
@media (min-width: 576px) { body.lakeside.page-board-minutes-archive .ma-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { body.lakeside.page-board-minutes-archive .ma-groups:not(.ma-groups-2) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
body.lakeside.page-board-minutes-archive .ma-group h3 { font-size: 0.85rem; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; color: #3a3f47; margin: 0 0 0.4rem; }
body.lakeside.page-board-minutes-archive .ma-group ul { list-style: none; margin: 0; padding: 0; }
body.lakeside.page-board-minutes-archive .ma-group li { margin-bottom: 0.4rem; }
/* Meeting dates in the year rows: small bordered links, so they read as clickable. */
body.lakeside.page-board-minutes-archive .ma-group ul a {
    display: block;
    padding: 0.3rem 0.65rem;
    background: #fff;
    border: 1px solid #d3ccbb;
    border-radius: 8px;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}
body.lakeside.page-board-minutes-archive .ma-group ul a[href^="board-minute-"]::after { content: " \2192"; color: var(--minutes-accent); }
body.lakeside.page-board-minutes-archive .ma-group ul a:hover,
body.lakeside.page-board-minutes-archive .ma-group ul a:focus-visible { border-color: var(--minutes-accent); background: var(--glass-cream); }
body.lakeside.page-board-minutes-archive .ma-group p { margin: 0 0 0.6rem; color: #3a3f47; }
body.lakeside.page-board-minutes-archive .ma-note { padding: 0 0 1.25rem 1.25rem; margin: 0; color: #3a3f47; max-width: 46rem; }
body.lakeside.page-board-minutes-archive .container a:focus-visible { outline: 3px solid var(--minutes-accent); outline-offset: 3px; }

/* Homepage banner shown as a finished image (the Dave Coverly Book Launch): the image fills the slot at
   its own proportions (about 6.8:1, so 1296 x 190 on desktop), in the same outline and lift as .feature-banner. */
body.lakeside a.feature-banner-image {
    display: block;
    margin-bottom: 1.5rem;
    border: 3px solid var(--glass-ink);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.lakeside a.feature-banner-image img { display: block; width: 100%; height: auto; }
body.lakeside a.feature-banner-image:hover,
body.lakeside a.feature-banner-image:focus-visible { transform: translateY(-3px); box-shadow: 0 6px 0 var(--glass-ink); }
body.lakeside a.feature-banner-image:focus-visible { outline: 3px solid var(--glass-ink); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
    body.lakeside a.feature-banner-image { transition: none; }
    body.lakeside a.feature-banner-image:hover, body.lakeside a.feature-banner-image:focus-visible { transform: none; }
}

/* Date tile over the left of the banner image, as on the other featured banners (green: a program).
   Sized from the banner's own width so it scales down with it on small screens. */
body.lakeside a.feature-banner-image { position: relative; container-type: inline-size; }
body.lakeside .feature-banner-date {
    position: absolute;
    left: 1.6cqw;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 0;
    width: 11cqw;
    padding: 1.2cqw 0.5cqw;
    border-radius: 0.9cqw;
    box-shadow: 0 2px 8px rgba(22, 24, 26, 0.35);
}
body.lakeside .feature-banner-date .feature-month { font-size: max(0.5rem, 1.15cqw); margin-bottom: 0.4cqw; }
body.lakeside .feature-banner-date .feature-day { font-size: max(1rem, 5cqw); }

/* Homepage banner as artwork with live text (Santa Claus, December 9): the image has no words, so the
   site sets them over the open sky on the left; Santa's face fills the right. Same 2172x312 shape
   as the Dave Coverly banner, at the user's request: the art came in at 2600x800 (a 9px white strip
   down each side), so it was trimmed and cropped to a 2582x371 band (y 60-431, which keeps Santa's
   eyes and glasses) and saved at 2172x312, a uniform scale with no stretch. Its sparkles are too
   bright for bare white type, so a navy wash fades in from the left edge and is gone by 62%, before
   Santa. Sized in cqw so the type scales with the banner. Under 768px the banner is too short for
   words over the art, so the art sits on top, unwashed, and the text goes on navy beneath it. */
body.lakeside a.feature-banner-santa {
    position: relative;
    display: block;
    container-type: inline-size;
    aspect-ratio: 2172 / 312;
    margin-bottom: 1.5rem;
    border: 3px solid var(--glass-ink);
    border-radius: 16px;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(27, 63, 98, 0.80) 0%, rgba(27, 63, 98, 0.62) 35%, rgba(27, 63, 98, 0) 62%),
        var(--glass-navy) url('../assets/images/feature-banner-santa.webp') top center / 100% auto no-repeat;
    color: #fff;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.lakeside a.feature-banner-santa:hover,
body.lakeside a.feature-banner-santa:focus-visible { transform: translateY(-3px); box-shadow: 0 6px 0 var(--glass-ink); color: #fff; }
body.lakeside a.feature-banner-santa:focus-visible { outline: 3px solid var(--glass-ink); outline-offset: 4px; }
body.lakeside .feature-banner-santa .santa-text {
    position: absolute;
    left: 4%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.5cqw;
    text-shadow: 0 1px 2px rgba(10, 20, 40, 0.8), 0 0 10px rgba(10, 20, 40, 0.6);
}
body.lakeside .feature-banner-santa .santa-when {
    font-size: 1.3cqw;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
body.lakeside .feature-banner-santa .santa-title {
    font-size: 3.8cqw;
    font-weight: 800;
    line-height: 1.05;
}
body.lakeside .feature-banner-santa .santa-sub {
    font-size: 1.5cqw;
    font-weight: 600;
}
@media (max-width: 767.98px) {
    body.lakeside a.feature-banner-santa {
        aspect-ratio: auto;
        padding: calc(14.36% + 0.85rem) 1rem 1rem;   /* 312/2172 of the width = the art's height */
        background: var(--glass-navy) url('../assets/images/feature-banner-santa.webp') top center / 100% auto no-repeat;
    }
    body.lakeside .feature-banner-santa .santa-text { position: static; transform: none; gap: 0.25rem; text-shadow: none; }
    body.lakeside .feature-banner-santa .santa-when { font-size: 0.8rem; }
    body.lakeside .feature-banner-santa .santa-title { font-size: 1.6rem; }
    body.lakeside .feature-banner-santa .santa-sub { font-size: 0.95rem; }
}
@media (prefers-reduced-motion: reduce) {
    body.lakeside a.feature-banner-santa { transition: none; }
    body.lakeside a.feature-banner-santa:hover, body.lakeside a.feature-banner-santa:focus-visible { transform: none; }
}

/* ------------------------------------------------------------------
   Support Your Library (pages/about/support.php)
   ------------------------------------------------------------------
   One column, one pattern: every section is a plain heading over its content with a thin rule between
   sections. The donation options are full-width native details rows. Orange (#e8823c) only on the + / -
   marks and the link underlines; headings, links and text are black. Scoped to this page. */
body.lakeside.page-support .container.my-5 > * { max-width: 62rem; }
body.lakeside.page-support :is(#donations, #friends, #booksale) { scroll-margin-top: 1rem; }
body.lakeside.page-support .sp-section { padding: 2rem 0; border-top: 1px solid #d3ccbb; }
body.lakeside.page-support .sp-section:first-of-type { padding-top: 0; border-top: 0; }
body.lakeside.page-support .sp-h2 { font-size: 1.5rem; font-weight: 700; color: var(--glass-ink); margin: 0 0 1rem; }
body.lakeside.page-support .sp-section p { color: #3a3f47; }

/* Donation options. */
body.lakeside.page-support .sp-acc { border-top: 1px solid #d3ccbb; display: grid; grid-template-columns: 1fr; gap: 0 3rem; align-items: start; }
@media (min-width: 768px) {
    body.lakeside.page-support .sp-acc { grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 0; }
    body.lakeside.page-support .sp-col { border-top: 1px solid #d3ccbb; }
}
body.lakeside.page-support .sp-detail { border-bottom: 1px solid #d3ccbb; }
body.lakeside.page-support .sp-detail > summary { display: block; position: relative; padding: 1rem 2.5rem 1rem 0; cursor: pointer; list-style: none; }
body.lakeside.page-support .sp-detail > summary::-webkit-details-marker { display: none; }
body.lakeside.page-support .sp-detail > summary::after {
    content: "+";
    position: absolute;
    right: 0.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--glass-ember);
}
body.lakeside.page-support .sp-detail[open] > summary::after { content: "\2212"; }
body.lakeside.page-support .sp-detail > summary:focus-visible { outline: 3px solid var(--glass-ink); outline-offset: 2px; }
body.lakeside.page-support .sp-sum-title { display: block; font-size: 1.15rem; font-weight: 700; color: var(--glass-ink); }
body.lakeside.page-support .sp-sum-text { display: block; margin-top: 0.15rem; color: #3a3f47; }
body.lakeside.page-support .sp-detail-body { padding: 0 0 1.25rem; }
body.lakeside.page-support .sp-detail-body p { color: #3a3f47; }
body.lakeside.page-support .sp-detail-body h4 { font-size: 1rem; font-weight: 700; color: var(--glass-ink); margin: 0.5rem 0 0.25rem; }

/* Lists, contact lines and tags, shared by every section. */
body.lakeside.page-support .sp-list { padding-left: 1.2rem; color: #3a3f47; }
body.lakeside.page-support .sp-list li { margin-bottom: 0.25rem; }
body.lakeside.page-support .sp-list li::marker { color: var(--glass-ember); }
body.lakeside.page-support .sp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
@media (max-width: 479.98px) { body.lakeside.page-support .sp-two { grid-template-columns: 1fr; } }
body.lakeside.page-support .sp-contact { font-weight: 600; color: var(--glass-ink) !important; margin-bottom: 0.5rem; }
body.lakeside.page-support .sp-contact a,
body.lakeside.page-support .sp-quiet a { font-weight: 700; color: var(--glass-ink); text-decoration: none; border-bottom: 2px solid var(--glass-ember); }
body.lakeside.page-support .sp-contact a:hover, body.lakeside.page-support .sp-contact a:focus-visible,
body.lakeside.page-support .sp-quiet a:hover, body.lakeside.page-support .sp-quiet a:focus-visible { background: var(--glass-cream); color: var(--glass-ink); }
body.lakeside.page-support .sp-tag { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #3a3f47 !important; margin-bottom: 0; }
body.lakeside.page-support .sp-quiet { padding-top: 1.25rem; border-top: 1px solid #d3ccbb; font-size: 0.95rem; color: #3a3f47; }

/* Friends of the Library and Ongoing Book Sale: one orange panel (ink text on #e8823c, 6.5:1), the two
   subsections separated by one thin darker-orange rule. */
body.lakeside.page-support .sp-panel {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    margin: 1.75rem 0;
    padding: 1.6rem 1.75rem;
    background: var(--glass-ember);
    border-radius: 14px;
}
body.lakeside.page-support .sp-panel :is(.sp-h2, p, li) { color: var(--glass-ink) !important; }
body.lakeside.page-support .sp-panel .sp-sub { scroll-margin-top: 1rem; }
body.lakeside.page-support .sp-panel .sp-sub + .sp-sub {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid color-mix(in srgb, var(--glass-ember) 60%, #000);
}
/* Two equal columns from tablet up, a vertical rule between them instead of the horizontal one. */
@media (min-width: 768px) {
    body.lakeside.page-support .sp-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.lakeside.page-support .sp-panel .sp-sub:first-child { padding-right: 2rem; }
    body.lakeside.page-support .sp-panel .sp-sub + .sp-sub {
        margin-top: 0;
        padding-top: 0;
        padding-left: 2rem;
        border-top: 0;
        border-left: 1px solid color-mix(in srgb, var(--glass-ember) 60%, #000);
    }
}
body.lakeside.page-support .sp-panel .sp-list { margin-bottom: 0.25rem; }
body.lakeside.page-support .sp-panel .sp-list li::marker { color: var(--glass-ink); }
body.lakeside.page-support .sp-panel .sp-contact { margin-bottom: 0.5rem; }
body.lakeside.page-support .sp-panel .sp-contact a { border-bottom-color: var(--glass-ink); }
body.lakeside.page-support .sp-panel .sp-contact a:hover,
body.lakeside.page-support .sp-panel .sp-contact a:focus-visible { background: rgba(22, 24, 26, 0.12); }
/* Make a Donation: its heading is a step larger than the other section headings on the page. */
body.lakeside.page-support #sp-give-title { font-size: 2rem; }

/* ------------------------------------------------------------------
   Newsletter (pages/about/newsletter.php)
   ------------------------------------------------------------------
   The latest issue is the focal point (cover thumbnail + one button); the archive is one understated
   expandable row per year, in the calm style of the board-minutes archive. Muted Teal Green (#567769) for
   rules, markers and focus only; headings and links stay black. Scoped to this page. */
body.lakeside.page-newsletter { --nl-accent: #567769; }
body.lakeside.page-newsletter .container.my-5 > .nl-latest { max-width: 54rem; }
body.lakeside.page-newsletter .container.my-5 > .nl-archive { max-width: 62rem; }
body.lakeside.page-newsletter .nl-cols { display: grid; grid-template-columns: 1fr; gap: 0 3rem; align-items: start; }
@media (min-width: 768px) { body.lakeside.page-newsletter .nl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.lakeside.page-newsletter .nl-col { border-top: 1px solid #d3ccbb; }
body.lakeside.page-newsletter .nl-latest { display: grid; grid-template-columns: 1fr; gap: 1.5rem 2.5rem; align-items: center; margin-bottom: 3rem; }
@media (min-width: 640px) { body.lakeside.page-newsletter .nl-latest { grid-template-columns: 15rem 1fr; } }
body.lakeside.page-newsletter .nl-cover { display: block; max-width: 15rem; border: 1px solid #d3ccbb; border-radius: 6px; overflow: hidden; box-shadow: 0 3px 10px rgba(22, 24, 26, 0.18); }
body.lakeside.page-newsletter .nl-cover img { display: block; width: 100%; height: auto; }
body.lakeside.page-newsletter .nl-eyebrow { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #3a3f47; margin: 0 0 0.4rem; }
body.lakeside.page-newsletter .nl-latest-title { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 800; line-height: 1.1; color: var(--glass-ink); margin: 0 0 0.5rem; }
body.lakeside.page-newsletter .nl-meta { color: #3a3f47; margin: 0 0 1.25rem; }
body.lakeside.page-newsletter .btn.nl-btn { background: var(--nl-accent); border: 2px solid var(--glass-ink); color: #fff; font-weight: 700; padding: 0.7rem 1.6rem; }
body.lakeside.page-newsletter .btn.nl-btn:hover,
body.lakeside.page-newsletter .btn.nl-btn:focus-visible { background: var(--nl-accent); color: #fff; transform: translate(-1px, -1px); box-shadow: 3px 3px 0 var(--glass-ink); }
body.lakeside.page-newsletter .nl-archive .section-header { border-bottom-color: var(--nl-accent); }
body.lakeside.page-newsletter .nl-year { border-bottom: 1px solid #d3ccbb; }
body.lakeside.page-newsletter .nl-year > summary { display: flex; align-items: baseline; gap: 0.8rem; padding: 0.8rem 0; cursor: pointer; list-style: none; }
body.lakeside.page-newsletter .nl-year > summary::-webkit-details-marker { display: none; }
body.lakeside.page-newsletter .nl-year > summary::before {
    content: "";
    flex: 0 0 auto;
    align-self: center;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 3px solid var(--nl-accent);
    border-bottom: 3px solid var(--nl-accent);
    transform: rotate(-45deg);
    transition: transform 0.15s ease;
}
body.lakeside.page-newsletter .nl-year[open] > summary::before { transform: rotate(45deg); }
body.lakeside.page-newsletter .nl-year > summary:focus-visible { outline: 3px solid var(--nl-accent); outline-offset: 2px; }
body.lakeside.page-newsletter .nl-year-name { font-size: 1.25rem; font-weight: 700; color: var(--glass-ink); }
body.lakeside.page-newsletter .nl-year-count { color: #3a3f47; font-size: 0.95rem; }
body.lakeside.page-newsletter .nl-issues { list-style: none; margin: 0; padding: 0.1rem 0 1.1rem 1.35rem; }
body.lakeside.page-newsletter .nl-issues li { margin-bottom: 0.55rem; }
body.lakeside.page-newsletter .nl-issues a { color: var(--glass-ink); font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; }
body.lakeside.page-newsletter .nl-issues a:hover,
body.lakeside.page-newsletter .nl-issues a:focus-visible { border-bottom-color: var(--nl-accent); }
body.lakeside.page-newsletter .nl-issues a:focus-visible { outline: 3px solid var(--nl-accent); outline-offset: 3px; }

/* ------------------------------------------------------------------
   Local History (pages/about/local-history.php)
   ------------------------------------------------------------------
   A plain reference list: four documents one under another with thin rules, then two resources side by
   side. Muted Teal Green (#567769) for the section rules, bullet marks and link underlines; headings and links
   black. Scoped to this page. */
body.lakeside.page-local-history { --lh-accent: #567769; }
body.lakeside.page-local-history .container.my-5 > .lh-section { max-width: 80rem; margin-bottom: 3rem; }
body.lakeside.page-local-history .section-header { border-bottom-color: var(--lh-accent); }
body.lakeside.page-local-history .lh-doc h3 { font-size: 1.3rem; font-weight: 700; color: var(--glass-ink); margin: 0 0 0.5rem; }
/* Four documents in two equal columns (rows align: 1-2 on top, 3-4 below); one column on phones. */
body.lakeside.page-local-history .lh-docs { display: grid; grid-template-columns: 1fr; gap: 0 3.5rem; }
@media (min-width: 768px) { body.lakeside.page-local-history .lh-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.lakeside.page-local-history .lh-docs > .lh-doc { display: flex; flex-direction: column; padding: 1.75rem 0; border-bottom: 1px solid #d3ccbb; }
body.lakeside.page-local-history .lh-docs > .lh-doc:nth-child(-n+2) { padding-top: 0.75rem; }
@media (max-width: 767.98px) { body.lakeside.page-local-history .lh-docs > .lh-doc:nth-child(2) { padding-top: 1.75rem; } }
body.lakeside.page-local-history .lh-docs .lh-doc h3 { margin-bottom: 0.75rem; }
body.lakeside.page-local-history .lh-docs .lh-list { margin-bottom: 1.1rem; }
body.lakeside.page-local-history .lh-docs .lh-list li { margin-bottom: 0.4rem; }
body.lakeside.page-local-history .lh-docs .lh-action { margin-top: auto; }
body.lakeside.page-local-history .lh-list { padding-left: 1.2rem; margin: 0 0 0.8rem; color: #3a3f47; }
body.lakeside.page-local-history .lh-list li { margin-bottom: 0.25rem; }
body.lakeside.page-local-history .lh-list li::marker { color: var(--lh-accent); }
body.lakeside.page-local-history .lh-action { margin: 0; font-weight: 700; color: var(--glass-ink); }
body.lakeside.page-local-history .lh-action a { color: var(--glass-ink); text-decoration: none; border-bottom: 2px solid var(--lh-accent); }
body.lakeside.page-local-history .lh-action a:hover,
body.lakeside.page-local-history .lh-action a:focus-visible { background: var(--glass-cream); }
body.lakeside.page-local-history .lh-action a:focus-visible { outline: 3px solid var(--lh-accent); outline-offset: 3px; }
body.lakeside.page-local-history .lh-inlibrary { font-weight: 600; color: #3a3f47; }
body.lakeside.page-local-history .lh-two { display: grid; grid-template-columns: 1fr; gap: 1.75rem 3rem; }
@media (min-width: 768px) { body.lakeside.page-local-history .lh-two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.lakeside.page-local-history .lh-two .lh-doc { padding: 0.25rem 0 0.25rem 1.25rem; border-left: 3px solid var(--lh-accent); }

/* Explore More Local History: one solid River Blue panel (white text, 6.5:1; was teal until 2026-10-15), the two resources in
   equal columns with one thin vertical rule; stacked with a horizontal rule on phones. */
body.lakeside.page-local-history .lh-section.lh-panel {
    background: var(--sem-materials);   /* River Blue #2b5f9e (collections); white on it 6.5:1 */
    border-radius: 14px;
    padding: 1.75rem 2rem 2rem;
}
body.lakeside.page-local-history .lh-panel-title { font-size: 1.6rem; font-weight: 800; color: #fff; margin: 0 0 1.25rem; }
body.lakeside.page-local-history .lh-panel :is(h3, li, p, .lh-action) { color: #fff; }
body.lakeside.page-local-history .lh-panel .lh-list li::marker { color: #fff; }
body.lakeside.page-local-history .lh-panel .lh-action a { color: #fff; border-bottom: 2px solid #fff; }
body.lakeside.page-local-history .lh-panel .lh-action a:hover,
body.lakeside.page-local-history .lh-panel .lh-action a:focus-visible { background: rgba(255, 255, 255, 0.18); }
body.lakeside.page-local-history .lh-panel .lh-action a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
body.lakeside.page-local-history .lh-panel .lh-inlibrary { color: #fff; }
body.lakeside.page-local-history .lh-panel .lh-two { gap: 1.5rem 0; }
body.lakeside.page-local-history .lh-panel .lh-two .lh-doc { border-left: 0; padding: 0; }
body.lakeside.page-local-history .lh-panel .lh-two .lh-doc + .lh-doc { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.45); }
@media (min-width: 768px) {
    body.lakeside.page-local-history .lh-panel .lh-two .lh-doc:first-child { padding-right: 2rem; }
    body.lakeside.page-local-history .lh-panel .lh-two .lh-doc + .lh-doc { padding-top: 0; padding-left: 2rem; border-top: 0; border-left: 1px solid rgba(255, 255, 255, 0.45); }
}

/* Password-access pages (heritage-quest.php, fold3.php): a plain left-aligned form, about 620px wide. */
body.lakeside:is(.page-heritage-quest, .page-fold3) .pw-access { max-width: 38.5rem; }
body.lakeside:is(.page-heritage-quest, .page-fold3) .pw-title { font-size: 1.6rem; font-weight: 800; color: var(--glass-ink); margin: 0 0 0.75rem; }
body.lakeside:is(.page-heritage-quest, .page-fold3) .pw-access p { color: #3a3f47; }
body.lakeside:is(.page-heritage-quest, .page-fold3) .pw-access p a { font-weight: 700; color: var(--glass-ink); text-decoration: none; border-bottom: 2px solid var(--glass-ink); }
body.lakeside:is(.page-heritage-quest, .page-fold3) .pw-logout { margin-top: 1.5rem; font-size: 0.95rem; }

/* ------------------------------------------------------------------
   Ellison die inventory (pages/resources/ellison-die-inventory.php and the nine ellison-dies-*.php galleries)
   ------------------------------------------------------------------
   Presentation only: the galleries keep their markup, search script, images and die records exactly; this scoped
   block overrides each page's inline .die-card styles and flattens the old colored headers. Services plum
   (#8a2f84) for arrows, rules and hover edges. */
body.lakeside.page-ellison-die-inventory .ed-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 576px) { body.lakeside.page-ellison-die-inventory .ed-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { body.lakeside.page-ellison-die-inventory .ed-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.lakeside.page-ellison-die-inventory .ed-cat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
    padding: 1.2rem 1.35rem;
    background: #fff;
    border: 1px solid #d3ccbb;
    border-left: 4px solid var(--sem-basics);
    border-radius: 10px;
    color: var(--glass-ink);
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}
body.lakeside.page-ellison-die-inventory .ed-cat-text { display: block; }
body.lakeside.page-ellison-die-inventory .ed-cat-name { display: block; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
body.lakeside.page-ellison-die-inventory .ed-cat-desc { display: block; margin-top: 0.3rem; font-size: 0.95rem; color: #3a3f47; }
body.lakeside.page-ellison-die-inventory .ed-cat-arrow { flex: 0 0 auto; font-size: 1.4rem; font-weight: 700; color: var(--sem-basics); transition: transform 0.15s ease; }
body.lakeside.page-ellison-die-inventory .ed-cat:hover,
body.lakeside.page-ellison-die-inventory .ed-cat:focus-visible { transform: translateY(-2px); border-color: var(--sem-basics); background: var(--glass-cream); color: var(--glass-ink); }
body.lakeside.page-ellison-die-inventory .ed-cat:hover .ed-cat-arrow,
body.lakeside.page-ellison-die-inventory .ed-cat:focus-visible .ed-cat-arrow { transform: translateX(3px); }
body.lakeside.page-ellison-die-inventory .ed-cat:focus-visible { outline: 3px solid var(--sem-basics); outline-offset: 3px; }

/* The nine gallery pages. */
body.lakeside[class*="page-ellison-dies-"] .container.my-5 > section.mb-5:first-child { margin-bottom: 1.5rem !important; }
body.lakeside[class*="page-ellison-dies-"] .highlight-box { background: transparent; border: 0; padding: 0; box-shadow: none; }
body.lakeside[class*="page-ellison-dies-"] .highlight-box :is(h2, h4) { font-size: 1.5rem; font-weight: 800; color: var(--glass-ink) !important; margin: 0 0 0.4rem !important; }
body.lakeside[class*="page-ellison-dies-"] .highlight-box p { color: #3a3f47; margin-bottom: 0 !important; }
body.lakeside[class*="page-ellison-dies-"] :is(.highlight-box :is(h2, h4), .card-header, .alert :is(h3, h6)) > i.bi,
body.lakeside[class*="page-ellison-dies-"] :is(.highlight-box :is(h2, h4), .card-header :is(h2, h5), .alert :is(h3, h6)) i.bi { display: none; }
/* "Need Help?" becomes a quiet note. */
body.lakeside[class*="page-ellison-dies-"] .container.my-5 > section:first-child .card-custom { background: transparent; border: 0; border-left: 3px solid var(--sem-basics); border-radius: 0; box-shadow: none; padding-left: 0.9rem; }
body.lakeside[class*="page-ellison-dies-"] .container.my-5 > section:first-child .card-custom .card-header { background: transparent !important; border: 0; padding: 0 0 0.15rem; }
body.lakeside[class*="page-ellison-dies-"] .container.my-5 > section:first-child .card-custom .card-header :is(h3, h6) { color: var(--glass-ink) !important; font-weight: 700; font-size: 1rem; }
body.lakeside[class*="page-ellison-dies-"] .container.my-5 > section:first-child .card-custom .card-body { padding: 0; background: transparent; }
body.lakeside[class*="page-ellison-dies-"] .container.my-5 > section:first-child .card-custom p { color: #3a3f47; }
/* The gallery wrapper: no card, a plain heading with a plum rule. */
body.lakeside[class*="page-ellison-dies-"] section > .card-custom:has(.row.g-3) { background: transparent; border: 0; box-shadow: none; }
body.lakeside[class*="page-ellison-dies-"] section > .card-custom:has(.row.g-3) > .card-header { background: transparent !important; color: var(--glass-ink) !important; border: 0; border-bottom: 3px solid var(--sem-basics); border-radius: 0; padding: 0 0 0.4rem; margin-bottom: 1rem; }
body.lakeside[class*="page-ellison-dies-"] section > .card-custom:has(.row.g-3) > .card-header :is(h2, h5) { color: var(--glass-ink) !important; font-size: 1.3rem; font-weight: 700; }
body.lakeside[class*="page-ellison-dies-"] section > .card-custom:has(.row.g-3) > .card-body { padding: 0; }
/* Die tiles: white, hairline border, no shadow; the illustration is never cropped or stretched. */
body.lakeside[class*="page-ellison-dies-"] .die-card { background: #fff; border: 1px solid #d3ccbb; border-radius: 10px; box-shadow: none; overflow: hidden; transition: border-color 0.15s ease; }
body.lakeside[class*="page-ellison-dies-"] .die-card:hover { transform: none; box-shadow: none; border-color: var(--sem-basics); }
body.lakeside[class*="page-ellison-dies-"] .die-card img { height: 84px; width: 100%; object-fit: contain; padding: 10px 10px 4px; background: #fff; }
body.lakeside[class*="page-ellison-dies-"] .die-card .card-body { padding: 0.4rem 0.5rem 0.65rem !important; text-align: center; background: #fff; }
body.lakeside[class*="page-ellison-dies-"] .die-card .card-title { font-size: 0.9rem; font-weight: 700; line-height: 1.25; color: var(--glass-ink); margin-bottom: 0.2rem !important; }
body.lakeside[class*="page-ellison-dies-"] .die-card .badge { background: transparent !important; color: var(--sem-basics) !important; padding: 0; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
body.lakeside[class*="page-ellison-dies-"] .die-card p { margin-bottom: 0.1rem !important; }
body.lakeside[class*="page-ellison-dies-"] .die-card .text-muted { color: #3a3f47 !important; font-size: 0.8rem; }
/* Summary note under the gallery. */
body.lakeside[class*="page-ellison-dies-"] .alert-success { background: transparent; border: 0; border-top: 1px solid #d3ccbb; border-radius: 0; color: #3a3f47; padding: 1rem 0 0; }
body.lakeside[class*="page-ellison-dies-"] .alert-success :is(h3, h6) { color: var(--glass-ink); font-weight: 700; font-size: 1rem; }
/* The sitewide card rules (ink keyline, offset shadow) are !important, so the Ellison gallery overrides must be too. */
body.lakeside[class*="page-ellison-dies-"] .container.my-5 :is(.card, .card-custom) { box-shadow: none !important; }
body.lakeside[class*="page-ellison-dies-"] .container.my-5 :is(.card-custom:hover, .card:hover) { box-shadow: none !important; }
body.lakeside[class*="page-ellison-dies-"] .die-card { border: 1px solid #d3ccbb !important; }
body.lakeside[class*="page-ellison-dies-"] .die-card:hover { border-color: var(--sem-basics) !important; }
body.lakeside[class*="page-ellison-dies-"] section > .card-custom:has(.row.g-3) { border: 0 !important; }
body.lakeside[class*="page-ellison-dies-"] .container.my-5 > section:first-child .card-custom { border: 0 !important; border-left: 3px solid var(--sem-basics) !important; border-radius: 0 !important; }
body.lakeside[class*="page-ellison-dies-"] .die-card .card-body .badge,
body.lakeside[class*="page-ellison-dies-"] .container.my-5 .die-card .badge { background: transparent !important; background-color: transparent !important; color: var(--sem-basics) !important; padding: 0 !important; }

/* Ellison inventory, 2026-10-15: die size under each gallery tile, and the size guide on the main page. */
body.lakeside[class*="page-ellison-dies-"] .die-card .die-size { color: #3a3f47 !important; font-size: 0.8rem; font-weight: 600; margin: 0 !important; }
/* Understanding Die Sizes box beside the page title: about 65% title / 35% box on desktop, both starting at the top;
   stacked on narrower screens. */
@media (min-width: 992px) {
    body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .page-header .row { align-items: flex-start !important; }
    body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .page-header .row > .col-lg-6:first-child { width: 65%; }
    body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .page-header .row > .col-lg-6:last-child { width: 35%; }
}
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-sizes-box { background: #fff; border: 1px solid #d3ccbb; border-left: 4px solid var(--sem-basics); border-radius: 10px; padding: 0.7rem 1.1rem 0.75rem; }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-sizes-title { font-size: 1.05rem; font-weight: 700; color: var(--glass-ink); margin: 0 0 0.4rem; }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list { list-style: none; margin: 0 0 0.4rem; padding: 0; display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: column; grid-template-rows: repeat(2, auto); gap: 0 1.25rem; }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.25rem 0; border-bottom: 1px solid #e3dccd; }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list li:nth-child(2), body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list li:nth-child(4) { border-bottom: 0; }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list strong { flex: 0 0 2.9rem; font-size: 0.95rem; color: var(--sem-basics); }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list span { color: var(--glass-ink); font-size: 0.92rem; white-space: nowrap; }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-sizes-box .ed-size-note { font-size: 0.85rem; font-style: italic; margin: 0; }
body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-sizes-box p { color: #3a3f47; font-size: 0.92rem; margin: 0; }

/* --- Accessibility pass 2026-10-20 (dev) --- */
/* Ellison size box: wraps instead of overflowing, one column on very narrow screens (320px reflow). */
@media (max-width: 420px) {
    body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
    body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list li:nth-child(2) { border-bottom: 1px solid #e3dccd; }
    body.lakeside:is(.page-ellison-die-inventory, [class*="page-ellison-dies-"]) .ed-size-list span { white-space: normal; }
}
/* Digital Resources: the genealogy button may wrap on phones (it was a single unbreakable line wider than 320px). */
@media (max-width: 575.98px) {
    body.lakeside.page-online-services .os-feature .btn.os-btn { white-space: normal; }
}
/* Board minutes: a status badge holding a long sentence wraps instead of widening the page (320px reflow). */
body.lakeside.page-board-minute .container.my-5 .badge { white-space: normal; text-align: left; }

/* Services > Good to Know: the "Meeting rooms" link is underlined so it is not told apart from the text by color alone (WCAG 1.4.1). */
body.lakeside.page-services a.svc-link-underlined { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }

/* Keyboard focus rings made explicit on the Kids Zone picture cards and Quick Picks (they only lifted before, which
   meant reduced-motion users saw nothing but the browser default). Ink on the cream page, 3px, set off from the card. */
body.lakeside.kids-zone .action-card:focus-visible,
body.lakeside .kids-pick:focus-visible {
    outline: 3px solid var(--glass-ink);
    outline-offset: 4px;
}

/* Financial Dashboard (pages/about/financial-dashboard.php): plain lists on the cream ground, thin rules, plum for the
   selected year and for focus only. Headings, links and text stay black. */
body.lakeside.page-financial-dashboard { --fd-plum: #8a2f84; --fd-rule: #d3ccbb; }
body.lakeside.page-financial-dashboard .container.my-5 > .fd-section { max-width: 62rem; margin-bottom: 3rem; }
body.lakeside.page-financial-dashboard .section-header { border-bottom: 1px solid var(--fd-rule); }
body.lakeside.page-financial-dashboard .fd-lead { color: var(--glass-ink); font-size: 1.1rem; margin-bottom: 1.25rem; }
body.lakeside.page-financial-dashboard .fd-years { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
body.lakeside.page-financial-dashboard .fd-years[hidden],
body.lakeside.page-financial-dashboard .fd-panel[hidden] { display: none; }
body.lakeside.page-financial-dashboard .fd-year-btn { min-width: 4.5rem; min-height: 44px; padding: 0.3rem 1rem; font: inherit; font-weight: 700; color: var(--glass-ink); background: transparent; border: 2px solid var(--fd-plum); border-radius: 8px; cursor: pointer; }
body.lakeside.page-financial-dashboard .fd-year-btn[aria-pressed="true"] { background: var(--fd-plum); color: #fff; }
body.lakeside.page-financial-dashboard .fd-year-btn:focus-visible,
body.lakeside.page-financial-dashboard .fd-section a:focus-visible { outline: 3px solid var(--glass-ink); outline-offset: 3px; }
body.lakeside.page-financial-dashboard .fd-year-heading { font-size: 1.1rem; font-weight: 700; margin: 0 0 0.5rem; color: var(--glass-ink); }
body.lakeside.page-financial-dashboard .fd-months,
body.lakeside.page-financial-dashboard .fd-audits { list-style: none; margin: 0; padding: 0; }
body.lakeside.page-financial-dashboard .fd-months { display: grid; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); gap: 0 1.5rem; }
body.lakeside.page-financial-dashboard .fd-months li,
body.lakeside.page-financial-dashboard .fd-audits li { border-top: 1px solid var(--fd-rule); }
body.lakeside.page-financial-dashboard .fd-section li a { display: block; padding: 0.6rem 0; font-weight: 700; color: var(--glass-ink); text-decoration: none; }
body.lakeside.page-financial-dashboard .fd-audit-cols { display: grid; grid-template-columns: 1fr; gap: 0 3rem; align-items: start; }
@media (min-width: 768px) { body.lakeside.page-financial-dashboard .fd-audit-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.lakeside.page-financial-dashboard .fd-audits:last-child li:last-child,
body.lakeside.page-financial-dashboard .fd-audits li:last-child { border-bottom: 1px solid var(--fd-rule); }
body.lakeside.page-financial-dashboard .fd-funding { display: grid; grid-template-columns: 1fr; gap: 1.75rem 2.5rem; }
@media (min-width: 768px) { body.lakeside.page-financial-dashboard .fd-funding { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.lakeside.page-financial-dashboard .fd-col h3 { font-size: 1.25rem; font-weight: 800; color: var(--glass-ink); padding-top: 0.6rem; border-top: 3px solid var(--fd-plum); margin-bottom: 0.75rem; }
body.lakeside.page-financial-dashboard .fd-col dt { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #3a3f47; margin-top: 1rem; }
body.lakeside.page-financial-dashboard .fd-col dt:first-child { margin-top: 0; }
body.lakeside.page-financial-dashboard .fd-col dd { margin: 0.2rem 0 0; color: var(--glass-ink); overflow-wrap: anywhere; }
body.lakeside.page-financial-dashboard .fd-col .fd-note { font-size: 0.95rem; color: #3a3f47; }
body.lakeside.page-financial-dashboard .fd-col .fd-figure { font-size: 1.6rem; font-weight: 800; }
body.lakeside.page-financial-dashboard .fd-col dd ul { margin: 0; padding-left: 1.2rem; }

/* Financial Dashboard: "How the Library Is Funded" sits in one solid plum panel (white text, about 7:1). */
body.lakeside.page-financial-dashboard .container.my-5 > .fd-funded { background: var(--fd-plum); color: #fff; border-radius: 12px; padding: 2rem 1.25rem; }
@media (min-width: 768px) { body.lakeside.page-financial-dashboard .container.my-5 > .fd-funded { padding: 2.5rem 2.5rem 2.75rem; } }
body.lakeside.page-financial-dashboard .fd-funded .section-header { color: #fff; border-bottom-color: rgba(255, 255, 255, 0.45); }
body.lakeside.page-financial-dashboard .fd-funded .fd-col h3 { color: #fff; border-top-color: #fff; }
body.lakeside.page-financial-dashboard .fd-funded .fd-col :is(dt, dd, .fd-note, .fd-figure) { color: #fff; }

/* Library Value Calculator (pages/about/value-calculator.php): plain rows on the cream ground, thin rules, plum for the
   result and for the input outlines. Headings and text stay black. */
body.lakeside.page-value-calculator { --vc-plum: #8a2f84; --vc-rule: #d3ccbb; }
body.lakeside.page-value-calculator .container.my-5 { max-width: 70rem; }
body.lakeside.page-value-calculator .section-header { border-bottom: 1px solid var(--vc-rule); }
body.lakeside.page-value-calculator .vc-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; align-items: start; }
@media (min-width: 992px) { body.lakeside.page-value-calculator .vc-layout { grid-template-columns: minmax(0, 1fr) 19rem; gap: 3rem; } }
body.lakeside.page-value-calculator .vc-lead { font-size: 1.15rem; font-weight: 700; color: var(--glass-ink); margin-bottom: 0.5rem; }
body.lakeside.page-value-calculator .vc-steps { color: var(--glass-ink); padding-left: 1.2rem; margin-bottom: 1.5rem; }
body.lakeside.page-value-calculator .vc-head { display: none; }
@media (min-width: 576px) {
    body.lakeside.page-value-calculator .vc-head { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem 6.5rem; gap: 1rem; padding: 0.4rem 0; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #3a3f47; }
    body.lakeside.page-value-calculator .vc-head span:nth-child(n+2) { text-align: center; }
    body.lakeside.page-value-calculator .vc-head span:last-child { text-align: right; }
}
body.lakeside.page-value-calculator .vc-row { display: grid; grid-template-columns: minmax(0, 1fr) 6.5rem; gap: 0.4rem 1rem; align-items: center; padding: 0.6rem 0; border-top: 1px solid var(--vc-rule); }
body.lakeside.page-value-calculator .vc-row:last-of-type { border-bottom: 1px solid var(--vc-rule); }
body.lakeside.page-value-calculator .vc-name { grid-column: 1 / -1; }
@media (min-width: 576px) {
    body.lakeside.page-value-calculator .vc-row { grid-template-columns: minmax(0, 1fr) 6.5rem 6.5rem; }
    body.lakeside.page-value-calculator .vc-name { grid-column: auto; }
}
body.lakeside.page-value-calculator .vc-name label { display: block; font-weight: 700; color: var(--glass-ink); }
body.lakeside.page-value-calculator .vc-rate { display: block; font-size: 0.95rem; color: #3a3f47; }
body.lakeside.page-value-calculator .vc-input { width: 100%; min-height: 44px; padding: 0.3rem 0.5rem; font: inherit; text-align: center; color: var(--glass-ink); background: #fff; border: 2px solid var(--vc-plum); border-radius: 8px; }
body.lakeside.page-value-calculator .vc-input[aria-invalid="true"] { border-color: var(--alert-burgundy); background: #fff; }
body.lakeside.page-value-calculator .vc-input:focus-visible,
body.lakeside.page-value-calculator .vc-reset:focus-visible { outline: 3px solid var(--glass-ink); outline-offset: 3px; }
body.lakeside.page-value-calculator .vc-sub { text-align: right; font-weight: 700; color: var(--glass-ink); font-variant-numeric: tabular-nums; }
body.lakeside.page-value-calculator .vc-results { margin-top: 2rem; padding: 1.5rem 1.25rem; background: var(--vc-plum); color: #fff; border-radius: 12px; }
body.lakeside.page-value-calculator .vc-results h3 { font-size: 1.25rem; font-weight: 800; color: #fff; margin: 0 0 1rem; }
body.lakeside.page-value-calculator .vc-totals { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem 2rem; }
@media (min-width: 576px) { body.lakeside.page-value-calculator .vc-totals { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.lakeside.page-value-calculator .vc-total-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #fff; margin: 0; }
body.lakeside.page-value-calculator .vc-total { font-size: clamp(2rem, 7vw, 2.75rem); font-weight: 800; line-height: 1.1; color: #fff; margin: 0.2rem 0 0; overflow-wrap: anywhere; }
body.lakeside.page-value-calculator .vc-basis { color: #fff; margin: 1rem 0; }
body.lakeside.page-value-calculator .vc-reset { min-height: 44px; padding: 0.4rem 1.25rem; font: inherit; font-weight: 700; color: var(--glass-ink); background: #fff; border: 2px solid #fff; border-radius: 8px; cursor: pointer; }
body.lakeside.page-value-calculator .vc-results .vc-reset:focus-visible { outline-color: #fff; }
body.lakeside.page-value-calculator .vc-source { margin: 1rem 0 0; font-size: 0.9rem; font-style: italic; color: #3a3f47; }
body.lakeside.page-value-calculator .vc-tax { border-top: 3px solid var(--vc-plum); padding-top: 0.75rem; color: var(--glass-ink); }
body.lakeside.page-value-calculator .vc-tax h2 { font-size: 1.25rem; font-weight: 800; color: var(--glass-ink); }
body.lakeside.page-value-calculator .vc-tax dt { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #3a3f47; margin-top: 1rem; }
body.lakeside.page-value-calculator .vc-tax dd { margin: 0.2rem 0 0; font-size: 1.35rem; font-weight: 700; }
body.lakeside.page-value-calculator .vc-tax .vc-tax-note { margin-top: 1.25rem; font-size: 0.95rem; color: #3a3f47; }

/* Site map links in both footers: white on the slate footer, bold, no underline, visible focus. */
body.lakeside .footer-credits a,
body.lakeside .footer-sitemap-link { color: #fff; font-weight: 700; text-decoration: none; }
body.lakeside .footer-credits a:focus-visible,
body.lakeside .footer-sitemap-link:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* Site Map (pages/about/sitemap.php): outlined sections on the cream page in three independent columns on desktop
   (two on tablets, one on phones). The page order is already the reading order, so no re-ordering is needed. Each section has a thin top accent in its
   category colour; links are normal weight with a small marker so they do not rely on colour alone. */
body.lakeside.page-sitemap .sm-map { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (min-width: 640px) {
    body.lakeside.page-sitemap .sm-map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.lakeside.page-sitemap .sm-col:last-child { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; align-items: start; }
    body.lakeside.page-sitemap .sm-col:last-child .sm-about { grid-row: span 2; }
}
@media (min-width: 992px) {
    body.lakeside.page-sitemap .sm-map { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    body.lakeside.page-sitemap .sm-col:last-child { grid-column: auto; display: flex; align-items: stretch; }
}
body.lakeside.page-sitemap .sm-col { display: flex; flex-direction: column; gap: 1.25rem; min-width: 0; }
body.lakeside.page-sitemap .sm-section { background: #fff; border: 1px solid #d3ccbb; border-top: 4px solid var(--sm-accent, #567769); border-radius: 12px; padding: 1rem 1.15rem 0.8rem; }
body.lakeside.page-sitemap .sm-books { --sm-accent: var(--sem-materials); }
body.lakeside.page-sitemap .sm-events { --sm-accent: var(--sem-programs); }
body.lakeside.page-sitemap .sm-services { --sm-accent: var(--sem-basics); }
body.lakeside.page-sitemap .sm-kids { --sm-accent: var(--glass-ember); }
body.lakeside.page-sitemap .sm-about { --sm-accent: #567769; }
body.lakeside.page-sitemap :is(.sm-quick, .sm-home) { --sm-accent: var(--sem-interface); }
body.lakeside.page-sitemap .sm-section h2 { font-size: 1.4rem; font-weight: 800; color: var(--glass-ink); padding-bottom: 0.4rem; margin-bottom: 0.35rem; border-bottom: 1px solid #d3ccbb; }
body.lakeside.page-sitemap .sm-section h2 a { color: var(--glass-ink); text-decoration: none; }
body.lakeside.page-sitemap .sm-section h3 { font-size: 1rem; font-weight: 600; color: #3a3f47; margin: 0.8rem 0 0.1rem; }
body.lakeside.page-sitemap .sm-section ul { list-style: none; margin: 0; padding: 0; }
body.lakeside.page-sitemap .sm-section li { line-height: 1.4; }
body.lakeside.page-sitemap .sm-section li a { display: inline-block; padding: 0.12rem 0 0.12rem 0.9rem; position: relative; font-weight: 400; color: var(--glass-ink); text-decoration: none; }
body.lakeside.page-sitemap .sm-section li a::before { content: "\203A"; position: absolute; left: 0; top: 0.12rem; font-weight: 700; color: #3a3f47; }
body.lakeside.page-sitemap .sm-section a:focus-visible { outline: 3px solid var(--glass-ink); outline-offset: 2px; }

/* Website search results float over the page under the search box instead of pushing the content down
   (includes/search-card.php). The card body is the anchor; the list sits just below the card. */
body.lakeside #catalog { position: relative; }
body.lakeside #catalog #siteSearchResults {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 0.5rem);
    z-index: 1040;
    margin: 0 !important;
    background: #fff;
    border: 2px solid var(--glass-ink);
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(22, 24, 26, 0.18) !important;
}

/* The search card is its own stacking layer above the banner and content that follow it, so the floating results are
   never painted behind them (the card can carry a transform on hover, which traps its results at the card's level). */
body.lakeside .card-custom:has(#siteSearchResults) { position: relative; z-index: 30; }

/* Libby page, second pass: two-column introduction, three plain steps, and the help as expandable rows. */
body.lakeside.page-libby .lb-intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 768px) { body.lakeside.page-libby .lb-intro { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
body.lakeside.page-libby .lb-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; margin: 1rem 0 0; padding: 0; font-weight: 700; color: var(--glass-ink); }
body.lakeside.page-libby .lb-intro-art { text-align: center; background: #fff; border: 1px solid #d3ccbb; border-radius: 12px; padding: 1.5rem 1.25rem; }
body.lakeside.page-libby .lb-intro-art img { display: block; width: 9rem; max-width: 100%; height: auto; margin: 0 auto 0.75rem; border-radius: 22%; }
body.lakeside.page-libby .lb-intro-art p { margin: 0; color: #3a3f47; }
body.lakeside.page-libby .lb-three { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 2rem; }
@media (min-width: 768px) { body.lakeside.page-libby .lb-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
body.lakeside.page-libby .lb-three li { border-top: 3px solid var(--sem-materials); padding-top: 0.6rem; }
body.lakeside.page-libby .lb-step-label { margin: 0; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #3a3f47; }
body.lakeside.page-libby .lb-three h3 { font-size: 1.3rem; font-weight: 800; color: var(--glass-ink); margin: 0.15rem 0 0.4rem; }
body.lakeside.page-libby .lb-three p { color: #3a3f47; }
body.lakeside.page-libby .lb-acc { border-bottom: 1px solid #d3ccbb; }
body.lakeside.page-libby .lb-accordion .lb-acc:first-child { border-top: 1px solid #d3ccbb; }
body.lakeside.page-libby .lb-acc > summary { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem 0; font-size: 1.15rem; font-weight: 700; color: var(--glass-ink); cursor: pointer; list-style: none; }
body.lakeside.page-libby .lb-acc > summary::-webkit-details-marker { display: none; }
body.lakeside.page-libby .lb-acc > summary::before { content: ""; flex: 0 0 auto; width: 0.55rem; height: 0.55rem; border-right: 3px solid var(--sem-materials); border-bottom: 3px solid var(--sem-materials); transform: rotate(-45deg); transition: transform 0.15s ease; }
body.lakeside.page-libby .lb-acc[open] > summary::before { transform: rotate(45deg); }
body.lakeside.page-libby .lb-acc > summary:focus-visible { outline: 3px solid var(--sem-materials); outline-offset: 2px; }
body.lakeside.page-libby .lb-acc-body { padding: 0 0 1.5rem 1.35rem; }
body.lakeside.page-libby .lb-acc-body .lb-cols { gap: 1.25rem 2.5rem; }
body.lakeside.page-libby .lb-acc-body .lb-links-title { margin-top: 1.5rem; }
@media (prefers-reduced-motion: reduce) { body.lakeside.page-libby .lb-acc > summary::before { transition: none; } }

/* Libby Get Started: three larger step cards in the Books & Collections blues (River, Navy, River), white text. */
body.lakeside.page-libby .lb-three { gap: 1.25rem; }
body.lakeside.page-libby .lb-three li { background: var(--glass-river); color: #fff; border: 0; border-radius: 14px; padding: 1.75rem 1.5rem 1.6rem; }
body.lakeside.page-libby .lb-three li:nth-child(2) { background: var(--glass-navy); }
body.lakeside.page-libby .lb-three .lb-step-label { color: #fff; opacity: 1; font-size: 0.85rem; }
body.lakeside.page-libby .lb-three h3 { color: #fff; font-size: 1.6rem; margin: 0.25rem 0 0.6rem; }
body.lakeside.page-libby .lb-three p { color: #fff; font-size: 1.05rem; }
body.lakeside.page-libby main .lb-three a { color: #fff; font-weight: 700; text-decoration: none; }
body.lakeside.page-libby .lb-three a::after { content: " \2192"; }
body.lakeside.page-libby main .lb-three a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 2px; }
