/*
 * Theme "Nocturne" for MCMS2 — a warm, dark, quiet design for a musician's personal site.
 * Based on the look of tomaszmonko.com: the same header pictures (assets/top_1…6.png),
 * now crossfading in a framed band in the middle (double brass hairlines), with a static warm gradient at the sides.
 * No web fonts; the only script is the shared drop-down menu (assets/menu/menu.js). Serif typography from the visitor's system.
 */

:root {
    --bg: #15120e;          /* warm near-black */
    --bg-2: #1b1712;        /* footer band, cards */
    --ink: #ebe3d5;         /* headings: ivory */
    --text: #d6ccbb;        /* body text */
    --muted: #8f8577;
    --brass: #c29b62;
    --brass-2: #e2c08a;
    --line: rgba(194, 155, 98, .28);
    --line-soft: rgba(235, 227, 213, .08);
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
    --measure: 72rem;       /* reading column */
    --pipes: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2292%22 height=%2230%22 viewBox=%220 0 92 30%22%3E%3Crect x=%221%22 y=%2219%22 width=%224%22 height=%229%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%222%22 y=%2224.9%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%228%22 y=%2216%22 width=%224%22 height=%2212%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%229%22 y=%2223.8%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2215%22 y=%2213%22 width=%224%22 height=%2215%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2216%22 y=%2222.8%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2222%22 y=%2210%22 width=%224%22 height=%2218%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2223%22 y=%2221.7%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2229%22 y=%227%22 width=%224%22 height=%2221%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2230%22 y=%2220.6%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2236%22 y=%224%22 width=%224%22 height=%2224%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2237%22 y=%2219.6%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2243%22 y=%221%22 width=%224%22 height=%2227%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2244%22 y=%2218.6%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2250%22 y=%224%22 width=%224%22 height=%2224%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2251%22 y=%2219.6%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2257%22 y=%227%22 width=%224%22 height=%2221%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2258%22 y=%2220.6%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2264%22 y=%2210%22 width=%224%22 height=%2218%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2265%22 y=%2221.7%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2271%22 y=%2213%22 width=%224%22 height=%2215%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2272%22 y=%2222.8%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2278%22 y=%2216%22 width=%224%22 height=%2212%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2279%22 y=%2223.8%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%2285%22 y=%2219%22 width=%224%22 height=%229%22 rx=%222%22 fill=%22%23c29b62%22/%3E%3Crect x=%2286%22 y=%2224.9%22 width=%222%22 height=%221.6%22 fill=%22%2315120e%22/%3E%3Crect x=%220%22 y=%2228%22 width=%2292%22 height=%221.4%22 fill=%22%23c29b62%22/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; scroll-padding-top: 4rem; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 1.125rem/1.75 var(--serif);
    font-kerning: normal; font-variant-ligatures: common-ligatures oldstyle-nums;
    -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(194, 155, 98, .4); color: #fff; }
a { color: var(--brass-2); text-decoration: underline; text-decoration-color: rgba(194, 155, 98, .45); text-underline-offset: .18em; text-decoration-thickness: 1px; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--ink); text-decoration-color: var(--ink); }
:focus-visible { outline: 1px solid var(--brass); outline-offset: 3px; }

/* ---------- header: the pictures change in a framed band in the middle; a static warm gradient fills the sides.
   Light on the CPU / GPU: nothing is animated by CSS all the time. assets/hero.js switches the picture every few
   seconds (class is-on); only during the 1.6 s crossfade do two pictures change their opacity, otherwise the header
   is a still image. Without JavaScript (or with "reduce motion") the first picture simply stays. */
.nc-hero {
    --hero-h: min(33vw, 400px);
    --pic-w: calc(var(--hero-h) * 1000 / 330);          /* pictures are 1000 × 330 */
    position: relative; height: var(--hero-h); overflow: hidden;
    background:
        radial-gradient(ellipse 55% 95% at 50% 42%, rgba(194, 155, 98, .16), rgba(194, 155, 98, 0) 70%),
        radial-gradient(ellipse 85% 130% at 50% 30%, #241c14 0%, #17130e 55%, #0b0907 100%);
}
.nc-hero-link { position: absolute; inset: 0; display: block; }
.nc-hero-link::before,                    /* dark band behind the picture edges */
.nc-hero-link::after,                     /* frame: double brass hairline left and right */
.nc-slide i {
    position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: var(--pic-w);
}
.nc-hero-link::before {                  /* dark band behind the picture edges (a gradient, not a blurred shadow) */
    content: ""; width: calc(var(--pic-w) + 160px);
    background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .5) 80px, rgba(0, 0, 0, .5) calc(100% - 80px), rgba(0, 0, 0, 0));
}
.nc-hero-link::after {
    content: ""; z-index: 2; pointer-events: none; width: calc(var(--pic-w) + 22px);
    --l1: linear-gradient(to bottom, rgba(194, 155, 98, 0), rgba(194, 155, 98, .32) 18%, rgba(194, 155, 98, .32) 62%, rgba(194, 155, 98, 0));
    --l2: linear-gradient(to bottom, rgba(226, 192, 138, 0), rgba(226, 192, 138, .8) 14%, rgba(226, 192, 138, .8) 66%, rgba(226, 192, 138, 0));
    background:
        var(--l1) left 0 top 0 / 1px 100% no-repeat,
        var(--l2) left 6px top 0 / 1px 100% no-repeat,
        var(--l2) right 6px top 0 / 1px 100% no-repeat,
        var(--l1) right 0 top 0 / 1px 100% no-repeat;
}
.nc-slide { position: absolute; inset: 0; opacity: 0; }
.nc-slide.is-on { opacity: 1; }
.nc-slide.is-top { z-index: 1; transition: opacity 1.6s ease-in-out; }   /* the incoming picture fades in on top; the one under it then just disappears */
.nc-slide i { background: var(--img) center / cover no-repeat; }
.nc-hero::after {                         /* soft fade into the page */
    content: ""; position: absolute; inset: auto 0 0; height: 38%; pointer-events: none; z-index: 3;
    background: linear-gradient(to bottom, rgba(21, 18, 14, 0), var(--bg));
}
.nc-s1 { --img: url("assets/top_1.png"); }
.nc-s2 { --img: url("assets/top_2.png"); }
.nc-s3 { --img: url("assets/top_3.png"); }
.nc-s4 { --img: url("assets/top_4.png"); }
.nc-s5 { --img: url("assets/top_5.png"); }
.nc-s6 { --img: url("assets/top_6.png"); }
.nc-slide:not(.is-on):not(.is-next) i { background-image: none; }   /* pictures not shown are not even drawn (and load only when needed) */
@media (prefers-reduced-motion: reduce) { .nc-slide { transition: none; } }

/* ---------- menu bar: sticks to the top while reading */
.nc-nav {
    position: sticky; top: 0; z-index: 10;
    background: rgba(21, 18, 14, .97);         /* nearly opaque: no backdrop blur (expensive while scrolling) */
    border-bottom: 1px solid var(--line-soft);
}
.nc-nav-in {
    max-width: 72rem; margin: 0 auto; padding: .85rem 1.5rem;
    display: flex; align-items: center; gap: 1.5rem;
}
.nc-brand, .nc-menu a, .nc-langs a {
    text-decoration: none; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; line-height: 1.2;
}
.nc-brand { color: var(--ink); letter-spacing: .26em; white-space: nowrap; }
.nc-brand:hover { color: var(--brass-2); }
.nc-menu { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .4rem 2rem; margin: 0 0 0 auto; padding: 0; list-style: none; }
.nc-menu li { position: relative; margin: 0; padding: 0; display: flex; align-items: center; }
.nc-menu a { color: var(--muted); position: relative; padding: .35rem 0; }
.nc-menu a::after {                       /* thin brass underline that grows from the middle */
    content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px; background: var(--brass);
    transition: left .25s, right .25s;
}
.nc-menu a:hover { color: var(--ink); }
.nc-menu a:hover::after, .nc-menu a.active::after { left: 0; right: 0; }
.nc-menu a.active { color: var(--ink); }

/* sub-menus: arrow button next to a parent, panel below it (on hover, keyboard focus or button click) */
.mcms-sub-toggle {
    width: 1.3rem; height: 1.3rem; margin: 0 0 0 .3rem; padding: 0; border: 0; background: transparent;
    color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.mcms-sub-toggle::before {               /* small chevron drawn with borders */
    content: ""; width: .32rem; height: .32rem; border: solid currentColor; border-width: 0 1px 1px 0;
    transform: translateY(-.1rem) rotate(45deg); transition: transform .2s;
}
.mcms-sub-toggle:hover, .has-sub:hover > .mcms-sub-toggle, .is-open > .mcms-sub-toggle { color: var(--brass-2); }
.is-open > .mcms-sub-toggle::before { transform: translateY(.1rem) rotate(-135deg); }
.mcms-sub-toggle:focus-visible { outline: 1px solid var(--brass); outline-offset: 2px; }
.nc-sub {
    position: absolute; top: 100%; left: -1.1rem; z-index: 20; min-width: 13rem; margin: .55rem 0 0; padding: .45rem 0;
    list-style: none; background: var(--bg-2); border: 1px solid var(--line-soft); border-top: 1px solid var(--brass);
    box-shadow: 0 18px 40px -18px #000;
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.nc-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -.65rem; height: .65rem; }   /* bridge: keeps hover while moving down */
.nc-menu .nc-sub li { display: flex; width: 100%; }
.nc-menu .nc-sub a {
    flex: 1; display: block; padding: .5rem 1.1rem; white-space: nowrap;
    text-transform: none; letter-spacing: .02em; font-size: .95rem; font-variant: small-caps;
}
.nc-menu .nc-sub a::after { display: none; }
.nc-menu .nc-sub a:hover, .nc-menu .nc-sub a.active { color: var(--brass-2); background: rgba(194, 155, 98, .07); }
.nc-sub .mcms-sub-toggle { margin-right: .5rem; }
.nc-sub .mcms-sub-toggle::before { transform: translateX(-.1rem) rotate(-45deg); }
.nc-sub .is-open > .mcms-sub-toggle::before { transform: translateX(.1rem) rotate(135deg); }
.nc-sub .nc-sub { top: -.5rem; left: 100%; margin: 0 0 0 1px; }
.nc-sub .nc-sub::before { top: 0; bottom: 0; left: -.5rem; width: .5rem; height: auto; }
.nc-menu li.is-open > .nc-sub, .nc-menu li:focus-within > .nc-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
/* not enough room on the right (set by assets/menu/menu.js): open to the left */
.nc-menu > li.mcms-flip > .nc-sub { left: auto; right: 0; transform: none; }
.nc-sub li.mcms-flip > .nc-sub { left: auto; right: 100%; margin: 0 1px 0 0; }
@media (hover: hover) {
    .nc-menu li.has-sub:hover > .nc-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .18s, transform .18s; }
}
.nc-langs { display: flex; gap: .2rem; padding-left: 1.5rem; border-left: 1px solid var(--line); }
.nc-langs a { color: var(--muted); padding: .35rem .35rem; letter-spacing: .14em; }
.nc-langs a:hover, .nc-langs a.active { color: var(--brass-2); }

/* ---------- content */
.nc-main { max-width: calc(var(--measure) + 3rem); margin: 0 auto; padding: 3.2rem 1.5rem 4rem; }
.nc-eyebrow {
    display: flex; align-items: center; justify-content: center; gap: .9rem;
    margin: 0 0 2.4rem; color: var(--brass); font-size: .78rem; letter-spacing: .3em; text-transform: uppercase;
}
.nc-eyebrow::before, .nc-eyebrow::after { content: ""; flex: 0 1 4.5rem; height: 1px; background: var(--line); }
.nc-eyebrow a { color: var(--muted); text-decoration: none; }
.nc-eyebrow a:hover { color: var(--brass-2); }
.nc-dia, .nc-content li::marker { color: var(--brass); }
.nc-dia { width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); opacity: .7; flex: none; }

.nc-content h1, .nc-content h2, .nc-content h3, .nc-content h4 { color: var(--ink); font-weight: 400; line-height: 1.25; letter-spacing: .005em; text-wrap: balance; }
.nc-content h1 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.45rem); margin: 0 0 1.6rem; }
.nc-content h1 strong, .nc-content h2 strong { font-weight: 400; color: var(--brass-2); }
.nc-content h2 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); margin: 2.6rem 0 1rem; }
.nc-content h3 { font-size: 1.3rem; margin: 2rem 0 .8rem; }
.nc-content h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .22em; color: var(--brass); margin: 2rem 0 .6rem; }
.nc-content p { margin: 0 0 1.2em; hyphens: auto; }
.nc-content strong, .nc-content b { color: var(--ink); font-weight: 600; }
.nc-content em, .nc-content i { color: var(--ink); }
.nc-content ul, .nc-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.nc-content li { margin: .25em 0; padding-left: .2em; }
.nc-content ol { font-variant-numeric: oldstyle-nums; }
.nc-content img { max-width: 100%; height: auto; border-radius: 2px; }
.nc-content p > img[style*="float"], .nc-content p > a > img[style*="float"] { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8); }
.nc-content img[style*="float: left"], .nc-content img[style*="float:left"] { margin: .35em 1.6em 1em 0 !important; }
.nc-content img[style*="float: right"], .nc-content img[style*="float:right"] { margin: .35em 0 1em 1.6em !important; }
.nc-content iframe, .nc-content video { max-width: 100%; border: 0; border-radius: 2px; background: #000; }
.nc-content table { border-collapse: collapse; margin: 1.6em auto; max-width: 100%; }
.nc-content td, .nc-content th { padding: 1rem; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
.nc-content tr:last-child td { border-bottom: 0; }
.nc-content th { color: var(--brass); font-weight: 400; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; text-align: left; }
.nc-content blockquote {
    margin: 2em 0; padding: .2em 0 .2em 1.6em; border-left: 1px solid var(--brass);
    font-size: 1.25rem; line-height: 1.6; font-style: italic; color: var(--ink);
}
.nc-content hr { border: 0; height: 30px; margin: 3rem auto; background: var(--pipes) center / 92px 30px no-repeat; opacity: .55; }
.nc-content::after { content: ""; display: block; clear: both; }

/* ---------- footer */
.nc-footer {
    border-top: 1px solid var(--line-soft); background: var(--bg-2);
    padding: 2.6rem 1.5rem 2.2rem; text-align: center; color: var(--muted);
}
.nc-pipes { width: 92px; height: 30px; margin: -4.25rem auto 1.6rem; background: var(--pipes) center / 92px 30px no-repeat; position: relative; }
.nc-pipes::before { content: ""; position: absolute; inset: -6px -14px 0; background: var(--bg-2); z-index: -1; }   /* gap in the line */
.nc-footer p { margin: .35em 0; }
.nc-footer-site { max-width: 72rem; margin: 0 auto 1.2rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; line-height: 2; }
.nc-footer-admin { font-size: .85rem; }
.nc-footer a { color: var(--muted); }
.nc-footer a:hover { color: var(--brass-2); }
.nc-footer img { max-width: 100%; height: auto; }
.mcms-keywords-sep { color: var(--brass); opacity: .6; margin: 0 .35em; }
.mcms-visits { color: var(--ink); font-variant-numeric: lining-nums tabular-nums; letter-spacing: .06em; }

/* ---------- widgets (gallery, files, sub-pages, album) */
.mcms-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--mcms-gallery-size, 190px), 1fr)); gap: 12px; margin: 2em 0; }
.mcms-album-subs { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 2em 0; }
.mcms-album-subs .mcms-album-sub { flex: 0 1 calc(var(--mcms-gallery-size, 190px) * 1.2); min-width: 0; text-align: center; }   /* centred, about as wide as the photos */
.mcms-gallery-160 { --mcms-gallery-size: 130px; } .mcms-gallery-200 { --mcms-gallery-size: 160px; }
.mcms-gallery-240 { --mcms-gallery-size: 190px; } .mcms-gallery-300 { --mcms-gallery-size: 230px; }
.mcms-gallery-320 { --mcms-gallery-size: 250px; } .mcms-gallery-480 { --mcms-gallery-size: 340px; }
.mcms-gallery-item { margin: 0; }
.mcms-gallery-item img, .mcms-album-sub img, .mcms-album-nocover {
    display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 2px;
    background: var(--bg-2); filter: saturate(.92); transition: filter .3s, box-shadow .3s, transform .3s;
}
.mcms-gallery-item img:hover, .mcms-album-sub:hover img { filter: saturate(1.05) brightness(1.06); box-shadow: 0 0 0 1px var(--brass), 0 14px 30px -14px #000; }
.mcms-gallery-item figcaption { font-size: .8rem; color: var(--muted); margin-top: .45em; text-align: center; overflow-wrap: anywhere; }
.mcms-filelist { list-style: none; padding: 0 !important; margin: 1.6em 0; }
.mcms-filelist li { padding: .7em 0; margin: 0; border-bottom: 1px solid var(--line-soft); display: flex; gap: 1em; align-items: baseline; }
.mcms-filelist a { overflow-wrap: anywhere; }
.mcms-file-size { color: var(--muted); font-size: .85em; margin-left: auto; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.mcms-subpages { list-style: none; padding: 0 !important; }
.mcms-subpages li { padding: .5em 0; border-bottom: 1px solid var(--line-soft); }
.mcms-album { margin: 2em 0; }
.mcms-album-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .6em; margin-bottom: 1em; font-size: .9rem; }
.mcms-album-sep { display: inline-block; width: 5px; height: 5px; background: var(--brass); transform: rotate(45deg); opacity: .7; }
.mcms-album-desc { color: var(--muted); }
.mcms-album-sub { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); position: relative; }
.mcms-album-sub-title { margin-top: .6em; font-size: .95rem; }
.mcms-album-count { position: absolute; top: 8px; right: 8px; background: rgba(21, 18, 14, .78); color: var(--brass-2); font-size: .72rem; letter-spacing: .1em; padding: .15em .6em; border-radius: 1em; }

/* ---------- news / events widget [news] (Nocturne) */
.mcms-news { display: flex; flex-direction: column; gap: 2.4rem; margin: 1.6em 0; }
/* full layout: a brass hairline with a small diamond between items */
.mcms-news-full { gap: 0; }
.mcms-news-full .mcms-news-item { position: relative; padding: 2.6rem 0; }
.mcms-news-full .mcms-news-item:first-child { padding-top: .4rem; }
.mcms-news-full .mcms-news-item + .mcms-news-item { border-top: 1px solid transparent; border-image: linear-gradient(90deg, transparent, var(--line) 15%, var(--line) 85%, transparent) 1; }
.mcms-news-full .mcms-news-item + .mcms-news-item::before {
    content: ""; position: absolute; top: -4px; left: 50%; width: 7px; height: 7px; margin-left: -3.5px;
    background: var(--brass); transform: rotate(45deg); box-shadow: 0 0 0 5px var(--bg);
}
.mcms-news-item { display: grid; grid-template-columns: auto 1fr; gap: 0 1.4rem; align-items: start; }
.mcms-news-item:not(.has-pic):not(.is-event), .mcms-news-news .mcms-news-item:not(.has-pic) { grid-template-columns: 1fr; }
.mcms-news-agenda .mcms-news-item.has-pic, .mcms-news-past .mcms-news-item.has-pic { grid-template-columns: auto auto 1fr; }
.mcms-news-pic img { display: block; width: 190px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.mcms-news-body { min-width: 0; }
.mcms-news .mcms-news-meta, .mcms-news-single .mcms-news-meta { margin: 0 0 .3em; font-size: .82em; color: var(--muted); letter-spacing: .03em; }
.mcms-news-sep { display: inline-block; width: 4px; height: 4px; margin: 0 .6em .18em; background: var(--brass); transform: rotate(45deg); opacity: .7; }
.mcms-news-pin { display: inline-block; margin-left: .6em; padding: 0 .55em; border: 1px solid var(--brass); border-radius: 1em; color: var(--brass); font-size: .9em; }
.mcms-news-title { margin: 0 0 .35em !important; font-size: 1.35rem !important; line-height: 1.3; }
.mcms-news-title a { color: var(--ink); text-decoration: none; }
.mcms-news-title a:hover { color: var(--brass); }
.mcms-news .mcms-news-lead { margin: 0 0 .5em; }
.mcms-news .mcms-news-links { margin: .2em 0 0; font-size: .9em; }
.mcms-news-when { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 4.4rem; padding: .55rem 0 .6rem;
    border: 1px solid var(--line-soft); border-radius: 2px; text-decoration: none; color: var(--ink); line-height: 1.05; }
.mcms-news-d { font-size: 1.75rem; }
.mcms-news-m { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--brass); margin-top: .25rem; }
.mcms-news-y { font-size: .68rem; color: var(--muted); margin-top: .2rem; }
.mcms-news-past .mcms-news-when { opacity: .7; }
.mcms-news-compact { gap: 0; }
.mcms-news-compact .mcms-news-item { grid-template-columns: 1fr; padding: .55em 0; border-bottom: 1px solid var(--line-soft); }
.mcms-news-compact .mcms-news-when { display: none; }
.mcms-news-compact .mcms-news-title { font-size: 1em !important; margin: 0 !important; }
.mcms-news-compact .mcms-news-meta { margin: 0 !important; }
.mcms-news-item.is-draft { opacity: .55; }
.mcms-news-empty { color: var(--muted); font-style: italic; }
.mcms-news-pager { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 2em 0 1em; padding-top: 1em; border-top: 1px solid var(--line-soft); font-size: .9em; }
.mcms-news-pages { color: var(--muted); margin: 0 auto; }
.mcms-news-newer::before, .mcms-news-older::after, .mcms-news-back a::before { content: ""; display: inline-block; width: .45em; height: .45em; border-left: 1px solid currentColor; border-bottom: 1px solid currentColor; vertical-align: .12em; }
.mcms-news-newer::before, .mcms-news-back a::before { transform: rotate(45deg); margin-right: .5em; }
.mcms-news-older::after { transform: rotate(-135deg); margin-left: .5em; }
.mcms-news-back { margin: 0 0 1.2em; font-size: .88em; }
.mcms-news-back a { text-decoration: none; }
.mcms-news-single .mcms-news-title { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.45rem) !important; margin-bottom: .4em !important; }
.mcms-news-event { display: flex; flex-wrap: wrap; gap: .4em 2rem; margin: 0 0 1.4em; padding: .9em 1.1em; border: 1px solid var(--line-soft); border-radius: 2px; }
.mcms-news-event div { display: flex; gap: .6em; align-items: baseline; }
.mcms-news-event dt { font-size: .75em; text-transform: uppercase; letter-spacing: .16em; color: var(--brass); }
.mcms-news-event dd { margin: 0; color: var(--ink); }
.mcms-news-figure { margin: 0 0 1.4em; }
.mcms-news-figure img { display: block; width: 100%; height: auto; border-radius: 2px; }
.mcms-news-single .mcms-news-lead { font-size: 1.12em; color: var(--ink); }
@media (max-width: 640px) {
    .mcms-news-item, .mcms-news-agenda .mcms-news-item.has-pic, .mcms-news-past .mcms-news-item.has-pic { grid-template-columns: auto 1fr; }
    .mcms-news-news .mcms-news-item.has-pic { grid-template-columns: 1fr; }
    .mcms-news-pic { grid-column: 1 / -1; margin-bottom: .7rem; }
    .mcms-news-pic img { width: 100%; }
}

/* ---------- small screens */
@media (max-width: 760px) {
    body { font-size: 1.0625rem; line-height: 1.7; }
    .nc-hero { height: 33vw; }
    .nc-hero-link::before, .nc-hero-link::after { display: none; }
    .nc-nav-in { flex-wrap: wrap; justify-content: center; gap: .6rem 1rem; padding: .7rem 1rem; }
    .nc-brand { display: none; }                   /* the name is in the header picture */
    .nc-menu { margin: 0; justify-content: center; gap: .3rem 1.3rem; }
    .nc-nav-in { position: relative; }
    .nc-menu > li.has-sub { position: static; }      /* the panel spans the whole bar instead of hanging off the screen */
    .nc-menu > li > .nc-sub { left: .75rem; right: .75rem; min-width: 0; margin-top: 0; }
    .nc-sub .nc-sub { position: static; display: none; margin: 0 0 .3rem 1.1rem; padding: 0; border: 0; border-left: 1px solid var(--line); box-shadow: none; background: none; transform: none; }
    .nc-sub li.has-sub { flex-wrap: wrap; }
    .nc-sub li.has-sub > .nc-sub { flex-basis: 100%; }
    .nc-sub li.is-open > .nc-sub, .nc-sub li:focus-within > .nc-sub { display: block; }
    .nc-sub .mcms-sub-toggle::before { transform: translateY(-.1rem) rotate(45deg); }
    .nc-sub .is-open > .mcms-sub-toggle::before { transform: translateY(.1rem) rotate(-135deg); }
    .nc-langs { padding-left: 1rem; }
    .nc-main { padding: 2.2rem 1.15rem 3rem; }
    .nc-content h1 { font-size: 1.6rem; }
    .nc-content img[style*="float"] { float: none !important; display: block; margin: 0 auto 1.4em !important; }
    .nc-content table, .nc-content tbody, .nc-content tr, .nc-content td { display: block; width: auto !important; }
    .nc-content td { padding: .6rem 0 !important; border: 0; }
    .nc-content tr { border-bottom: 1px solid var(--line-soft); padding: .6rem 0; }
    .nc-content iframe { width: 100%; height: auto; aspect-ratio: 16 / 9; }
}
@media print {
    .nc-hero, .nc-nav, .nc-pipes { display: none; }
    body { background: #fff; color: #000; }
}

/* audio player [player] — colours only, the layout comes from assets/player/player.css */
.mcms-player { --mcms-player-accent: var(--brass); --mcms-player-on: var(--bg); --mcms-player-bg: var(--bg-2); --mcms-player-line: var(--line); --mcms-player-radius: 2px; }
.nc-content .mcms-player-heading { font-variant: small-caps; letter-spacing: .08em; color: var(--brass-2); margin: 0 0 .7em; font-weight: 400; }
.mcms-player-now-t { color: var(--ink); font-weight: 500; }
.mcms-player-track { border-bottom-color: var(--line-soft); }
.mcms-player-track.is-current .mcms-player-name { color: var(--brass-2) !important; font-weight: 500; }
.mcms-player-play { box-shadow: 0 0 0 4px rgba(194, 155, 98, .14); }

/* YouTube widget [youtube] — the layout comes from assets/youtube/youtube.css */
.mcms-yt { --mcms-yt-accent: var(--brass-2); --mcms-yt-radius: 2px; }
.mcms-yt figcaption { font-variant: small-caps; letter-spacing: .04em; color: var(--muted); opacity: 1; }

/* map [map] and contact form [contact] — layout from assets/map/map.css and assets/contact/contact.css */
.mcms-map { --mcms-map-accent: var(--brass); --mcms-map-bg: var(--bg-2); --mcms-map-radius: 2px; }
.mcms-map-show:hover, .mcms-map-show:focus-visible { color: var(--bg); }
.mcms-map figcaption { color: var(--muted); }
.mcms-contact { --mcms-contact-accent: var(--brass); --mcms-contact-on: var(--bg); --mcms-contact-field: var(--bg-2); --mcms-contact-line: var(--line); --mcms-contact-radius: 2px; }
.nc-content .mcms-contact-title { margin-top: 0; }
.mcms-contact-field label { font-variant: small-caps; letter-spacing: .04em; font-weight: 400; color: var(--ink); }
.mcms-contact-consent label { font-variant: normal; letter-spacing: 0; color: var(--text); }
.mcms-contact-send { font-variant: small-caps; letter-spacing: .08em; }
.nc-content .mcms-contact-field { margin: 0 0 1rem; }
.nc-content .mcms-contact-actions { margin: .3rem 0 0; }

/* ---- showcase widget [showcase] ---- */
.mcms-showcase { --mcms-showcase-accent: currentColor; display: grid; gap: 1.6em; margin: 1.2em 0; }
.mcms-showcase-item { display: grid; grid-template-columns: minmax(0, var(--mcms-showcase-size, 320px)) minmax(0, 1fr); gap: 1.2em 1.6em; align-items: start; }
.mcms-showcase-pic { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--mcms-showcase-radius, 6px); background: rgba(127,127,127,.12); }
.mcms-showcase-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
a.mcms-showcase-pic:hover img, a.mcms-showcase-pic:focus img { transform: scale(1.04); }
.mcms-showcase-nopic { display: block; width: 100%; height: 100%; }
.mcms-showcase-title { margin: 0 0 .35em; font-size: 1.25em; line-height: 1.25; }
.mcms-showcase-title a { color: inherit; text-decoration: none; }
.mcms-showcase-title a:hover { text-decoration: underline; }
.mcms-showcase-desc { margin: 0 0 .6em; white-space: pre-line; }
.mcms-showcase-meta { margin: 0; display: flex; flex-wrap: wrap; gap: .4em 1.2em; font-size: .88em; opacity: .85; }
.mcms-showcase-meta a { color: var(--mcms-showcase-accent); font-weight: 600; }
.mcms-showcase-meta a::after { content: " \2192"; }
.mcms-showcase-more { margin: 0; text-align: center; }
.mcms-showcase-more a { font-weight: 600; color: var(--mcms-showcase-accent); }
.mcms-showcase-cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--mcms-showcase-size, 320px)), 1fr)); }
.mcms-showcase-cards .mcms-showcase-item { grid-template-columns: 1fr; gap: .8em; }
.mcms-showcase-cards .mcms-showcase-more { grid-column: 1 / -1; }
.mcms-showcase-item.is-hidden { opacity: .55; }
.mcms-showcase-note { font: 13px monospace; color: #6b4800; margin: 0; }
@media (max-width: 640px) { .mcms-showcase-rows .mcms-showcase-item { grid-template-columns: 1fr; } }
.mcms-showcase { --mcms-showcase-accent: var(--brass-2); --mcms-showcase-radius: 2px; }
.mcms-showcase-item + .mcms-showcase-item { padding-top: 1.6em; border-top: 1px solid var(--line); }
.mcms-showcase-cards .mcms-showcase-item + .mcms-showcase-item { padding-top: 0; border-top: 0; }
.mcms-showcase-pic { box-shadow: 0 0 0 1px rgba(194, 155, 98, .35); }
.mcms-showcase-title { font-family: var(--serif, inherit); letter-spacing: .01em; }
.mcms-showcase-meta a { text-decoration: none; }
.mcms-showcase-list { margin: 0 0 .6em; padding-left: 1.2em; }
.mcms-showcase-list li { margin: .12em 0; }
