/*
 * Theme "Organum" — bright and modern, in bronze tones; made from the look of organy.t2logic.com.
 * Header: drawn organ pipes + circuit lines (SVG in layout.html), T²Logic logotype (assets/t2logic.svg) instead of the site name.
 * Colours and sizes: the variables below.
 */

:root {
    --bg: #f5f2ed;              /* page background: gradient from --bg (top) to --bg-2 (bottom) */
    --bg-2: #dccdb8;
    --paper: #ffffff;
    --text: #2a241f;
    --muted: #71665b;
    --accent: #9a6435;          /* bronze: links, headings */
    --accent-dark: #6b4325;
    --accent-soft: #f3e8dc;
    --line: #e7dfd4;
    --head-1: #241912;          /* header gradient */
    --head-2: #4a3424;
    --head-3: #7b5739;
    --radius: 10px;
    --wrap: 1180px;
    --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
}

/* company-name font: put your licensed Alexis font file in assets/fonts/ (alexis.woff2 and/or alexis.ttf);
   a copy installed on the visitor's computer is used too. Without it the name uses the normal font. */
@font-face {
    font-family: "Alexis";
    src: local("Alexis"), url("assets/fonts/alexis.woff2") format("woff2"), url("assets/fonts/alexis.ttf") format("truetype");
    font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; color: var(--text);
    background: var(--bg) linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%) fixed;
    font: 400 16.5px/1.65 var(--sans);
    display: flex; flex-direction: column; min-height: 100vh;
}
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--accent-dark); line-height: 1.25; font-weight: 650; letter-spacing: -.01em; margin: 1.6em 0 .55em; }
h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.15rem); margin-top: .2em; }
h2 { font-size: 1.45rem; }
h3 { font-size: 1.18rem; }
h4 { font-size: 1.02rem; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.og-skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5em 1em; z-index: 100; }
.og-skip:focus { left: 1em; }

/* ---------- header */
.og-header {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(120% 140% at 85% 0%, var(--head-3) 0%, var(--head-2) 45%, var(--head-1) 100%);
}
.og-header::after {      /* thin bronze line under the header */
    content: ""; position: absolute; z-index: 4; left: 0; right: 0; bottom: 0; height: 3px;
    background: linear-gradient(90deg, transparent, #c99a64 20%, #f1d3a6 50%, #c99a64 80%, transparent);
    opacity: .8;
}
.og-header-in { position: relative; z-index: 3; max-width: var(--wrap); margin: 0 auto; min-height: 285px; padding: 36px 24px 40px; display: flex; align-items: center; gap: 24px; }
.og-art-wrap { position: absolute; inset: 0; max-width: var(--wrap); margin: 0 auto; pointer-events: none; }
.og-art { position: absolute; inset: 0 0 0 auto; width: min(1600px, 140%); height: 100%; right: -60px; pointer-events: none; }

/* photo carousel (assets/hero.js): full width over the drawn pipes; a bronze shade keeps the name readable */
.og-slides { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.og-slide { position: absolute; inset: 0; opacity: 0; }
.og-slide.is-on { opacity: 1; }
.og-slide.is-top { z-index: 1; transition: opacity 1.6s ease-in-out; }
.og-slide i { position: absolute; inset: 0; background: var(--img) center / cover no-repeat; }
.og-slide:not(.is-on):not(.is-next) i { background-image: none; }      /* pictures not shown are not drawn */
.og-header.og-has-photos .og-slides::after {
    content: ""; position: absolute; inset: 0; z-index: 2;
    background: linear-gradient(90deg, rgba(30, 20, 13, .82) 0%, rgba(36, 25, 17, .55) 38%, rgba(48, 32, 20, .25) 70%, rgba(48, 32, 20, .35) 100%),
                linear-gradient(0deg, rgba(30, 20, 13, .45), transparent 45%);
}
.og-header.og-has-photos .og-art-wrap { display: none; }
@media (prefers-reduced-motion: reduce) { .og-slide { transition: none; } }
.og-pipes { opacity: .55; }
.og-traces path { fill: none; stroke: #e9c79a; stroke-width: 1.3; opacity: .28; }
.og-traces .og-pad { fill: none; stroke: #e9c79a; stroke-width: 1.3; opacity: .45; }
.og-brand { position: relative; display: flex; align-items: center; gap: 18px; color: #fff; text-decoration: none; }
.og-brand:hover { color: #fff; }
.og-logo { display: block; width: 84px; height: 84px; object-fit: contain; filter: drop-shadow(0 3px 8px rgba(0, 0, 0, .35)); }
.og-brand-text { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; }
.og-wordmark { display: block; align-self: flex-start; object-fit: contain; object-position: left center; height: clamp(56px, 40px + 3.5vw, 92px); width: auto; max-width: 100%; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .35)); }
.og-brand-text .og-tagline { margin-top: 6px; }
.og-name { font-family: "Alexis", var(--sans); font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.og-tagline { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: #ecd3ae; }
/* top right of the header: special links (page editor → Position in the menu → Special) and the language buttons, same look */
.og-top { position: relative; margin-left: auto; align-self: flex-start; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 6px 14px; }
.og-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.og-langs a {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
    color: #f4e3ca; font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-decoration: none;
    background: rgba(0, 0, 0, .22); border: 1px solid rgba(241, 211, 166, .25);
}
.og-langs a:hover { background: rgba(0, 0, 0, .38); color: #fff; }
.og-langs a.active { background: #f1d3a6; color: #3a2718; border-color: #f1d3a6; }
.og-langs img { display: block; width: 18px; height: auto; border-radius: 2px; }

/* ---------- menu bar */
.og-nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .98); border-bottom: 1px solid var(--line); box-shadow: 0 6px 18px -12px rgba(60, 40, 20, .35); }
.og-menu { max-width: var(--wrap); margin: 0 auto; padding: 0 14px; list-style: none; display: flex; flex-wrap: wrap; }
.og-menu-item { position: relative; display: flex; align-items: center; }
.og-nav-link { display: block; padding: 15px 12px 14px; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 550; letter-spacing: .01em; position: relative; white-space: nowrap; }
.og-nav-link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--accent); transform: scaleX(0); transition: transform .2s; }
.og-nav-link:hover { color: var(--accent-dark); }
.og-nav-link:hover::after, .og-nav-link.active::after { transform: scaleX(1); }
.og-nav-link.active { color: var(--accent-dark); }
.og-has-toggle { padding-right: 2px; }
.og-nav .mcms-sub-toggle {
    width: 22px; height: 22px; margin: 0 4px 0 -8px; padding: 0; border: 0; border-radius: 4px; background: transparent; color: var(--muted);
    cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
.og-nav .mcms-sub-toggle::before { content: ""; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.6px 1.6px 0; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.og-nav .mcms-sub-toggle:hover, .og-nav .has-sub:hover > .mcms-sub-toggle, .og-nav .is-open > .mcms-sub-toggle { color: var(--accent); }
.og-nav .is-open > .mcms-sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
.og-sub {
    position: absolute; top: 100%; left: 0; z-index: 20; min-width: 240px; margin: 0; padding: 8px;
    list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: 0 16px 34px -14px rgba(50, 30, 15, .4);
    opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility 0s .15s;
}
.og-sub li { position: relative; display: flex; align-items: center; }
.og-sub a { flex: 1; display: block; padding: 8px 12px; border-radius: 6px; color: var(--text); text-decoration: none; font-size: .93rem; white-space: nowrap; }
.og-sub a:hover, .og-sub a.active { background: var(--accent-soft); color: var(--accent-dark); }
.og-sub .mcms-sub-toggle { margin: 0 2px 0 0; }
.og-sub .mcms-sub-toggle::before { transform: translateX(-2px) rotate(-45deg); }
.og-sub .is-open > .mcms-sub-toggle::before { transform: translateX(2px) rotate(135deg); }
.og-sub .og-sub { top: -9px; left: 100%; margin-left: 6px; border-radius: var(--radius); }
.og-sub .og-sub::before { content: ""; position: absolute; top: 0; bottom: 0; left: -8px; width: 8px; }
.og-menu li.is-open > .og-sub, .og-menu li:focus-within > .og-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
.og-menu > li.mcms-flip > .og-sub { left: auto; right: 0; }
/* separated links (Position in the menu → Separated): at the right end of the menu bar, their sub-menus open to the left */
.og-menu > .og-right:first-child, .og-menu > li:not(.og-right) + .og-right { margin-left: auto; }
.og-menu > .og-right > .og-sub { left: auto; right: 0; }
.og-sub li.mcms-flip > .og-sub { left: auto; right: 100%; margin: 0 6px 0 0; }
@media (hover: hover) {
    .og-menu li.has-sub:hover > .og-sub { opacity: 1; visibility: visible; transform: none; transition: opacity .15s, transform .15s; }
}

/* ---------- content */
.og-main { flex: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 22px 24px 56px; }
.og-content {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: clamp(20px, 2vw + 10px, 44px); box-shadow: 0 1px 2px rgba(60, 40, 20, .05), 0 18px 40px -30px rgba(60, 40, 20, .35);
    overflow-wrap: break-word;
}
.og-content > :first-child { margin-top: 0; }
.og-content > :last-child { margin-bottom: 0; }
.og-content::after { content: ""; display: block; clear: both; }
.og-content img { border-radius: 4px; }
.og-content iframe, .og-content video { max-width: 100%; }
.og-content ul, .og-content ol { padding-left: 1.4em; }
.og-content li { margin: .2em 0; }
.og-content li::marker { color: var(--accent); }
.og-content table { border-collapse: collapse; max-width: 100%; margin: 1.2em 0; font-size: .95em; }
.og-content th, .og-content td { border: 1px solid var(--line); padding: .45em .7em; vertical-align: top; }   /* cells follow the alignment set in the editor */
.og-content th { text-align: left; }
.og-content th { background: var(--accent-soft); color: var(--accent-dark); }
.og-content blockquote { margin: 1.4em 0; padding: .6em 1.2em; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 6px 6px 0; }
.og-title { margin-top: 0; }
.og-button { display: inline-block; padding: .6em 1.3em; border-radius: 999px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
.og-button:hover { background: var(--accent-dark); color: #fff; }
.og-notfound { text-align: center; padding: 64px 24px; }

/* ---------- footer */
.og-footer { background: var(--head-1); color: #cdb89d; font-size: .9rem; }
.og-footer::before { content: ""; display: block; height: 3px; background: linear-gradient(90deg, transparent, #c99a64 20%, #f1d3a6 50%, #c99a64 80%, transparent); opacity: .6; }
/* the two footers (Footer module, then the admin footer) are stacked, span the full width and are centred;
   a paragraph set to left / right in the editor keeps that alignment */
.og-footer-in { max-width: var(--wrap); margin: 0 auto; padding: 28px 24px 34px; display: flex; flex-direction: column; align-items: stretch; gap: 12px; text-align: center; }
.og-footer-site, .og-footer-admin { width: 100%; text-align: center; }
.og-footer-site > *, .og-footer-admin > * { margin-left: auto; margin-right: auto; }   /* tables, pictures, boxes */
.og-footer img { display: inline-block; vertical-align: middle; }
.og-footer img { max-width: 100%; height: auto; }
.og-footer p { margin: 0 0 .4em; }
.og-footer a { color: #f1d3a6; }
.og-footer a:hover { color: #fff; }
.og-footer-admin { opacity: .8; }

/* ---------- narrow screens: the menu bar wraps, sub-menus open below their item */
@media (max-width: 760px) {
    .og-header-in { min-height: 210px; padding: 22px 18px; flex-wrap: wrap; }
    .og-top { order: -1; width: 100%; }
    .og-logo { width: 60px; height: 60px; }
    .og-wordmark { height: 52px; }
    .og-tagline { letter-spacing: .2em; font-size: .7rem; }
    .og-art { opacity: .7; }
    .og-nav { position: static; }
    .og-menu { padding: 4px 8px; }
    .og-nav-link { padding: 10px 10px; }
    .og-menu-item { position: static; }
    .og-menu > li > .og-sub { left: 8px; right: 8px; min-width: 0; border-radius: var(--radius); }
    .og-sub .og-sub { position: static; margin: 4px 0 4px 12px; box-shadow: none; border: 0; border-left: 2px solid var(--line); border-radius: 0; padding: 0 0 0 6px; display: none; opacity: 1; visibility: visible; transform: none; }
    .og-sub li { flex-wrap: wrap; }
    .og-sub li.is-open > .og-sub { display: block; width: 100%; }
    .og-main { padding: 16px 12px 40px; }
}

/* ---------- widgets (SPEC §7) */
.mcms-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--mcms-gallery-size, 200px), 1fr)); gap: 10px; margin: 1.2em 0; }
.mcms-gallery-160 { --mcms-gallery-size: 130px; }
.mcms-gallery-240 { --mcms-gallery-size: 190px; }
.mcms-gallery-320 { --mcms-gallery-size: 250px; }
.mcms-gallery-480 { --mcms-gallery-size: 360px; }
.mcms-gallery-item { margin: 0; }
.mcms-gallery-item img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; background: #eee; }
.mcms-gallery-item figcaption { font-size: .85em; color: #666; margin-top: .3em; text-align: center; overflow-wrap: anywhere; }
.mcms-filelist { list-style: none; padding: 0; margin: 1em 0; }
.mcms-filelist li { padding: .4em .2em; border-bottom: 1px solid rgba(0, 0, 0, .08); display: flex; gap: .8em; align-items: baseline; }
.mcms-filelist a { font-weight: 600; overflow-wrap: anywhere; }
.mcms-file-size { color: #888; font-size: .85em; margin-left: auto; white-space: nowrap; }
.mcms-subpages { padding-left: 1.2em; }
.mcms-subpages li { margin: .25em 0; }
.mcms-album { margin: 1.2em 0; }
.mcms-album-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .2em .5em; margin-bottom: .8em; }
.mcms-album-sep { display: inline-block; width: .45em; height: .45em; border-right: 2px solid currentColor; border-top: 2px solid currentColor; transform: rotate(45deg); opacity: .5; margin: 0 .2em; }
.mcms-album-desc { color: #555; }
.mcms-album-text { margin: 0 0 1.4em; overflow-wrap: break-word; }
.mcms-album-text::after { content: ""; display: block; clear: both; }
.mcms-album-subs { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0 0 1.2em; }
.mcms-album-subs .mcms-album-sub { flex: 0 1 calc(var(--mcms-gallery-size, 200px) * 1.2); min-width: 0; text-align: center; }   /* centred, about as wide as the photos */
.mcms-album-sub { display: flex; flex-direction: column; gap: .3em; text-decoration: none; color: inherit; position: relative; }
.mcms-album-sub img, .mcms-album-nocover { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; background: #e6e6e6;
    box-shadow: 4px 4px 0 -1px #fff, 5px 5px 0 0 rgba(0, 0, 0, .18), 8px 8px 0 -1px #fff, 9px 9px 0 0 rgba(0, 0, 0, .12); }
.mcms-album-sub:hover img { filter: brightness(1.06); }
.mcms-album-sub-title { font-weight: 600; margin-top: .4em; }
.mcms-album-count { position: absolute; top: 8px; right: 8px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .8em; padding: .1em .55em; border-radius: 1em; }

/* ---------- news / events widget [news] (default theme) */
.mcms-news { display: flex; flex-direction: column; gap: 1.8rem; margin: 1.6em 0; }
/* full layout: a line between items */
.mcms-news-full { gap: 0; }
.mcms-news-full .mcms-news-item { padding: 2rem 0; }
.mcms-news-full .mcms-news-item:first-child { padding-top: .3rem; }
.mcms-news-full .mcms-news-item + .mcms-news-item { border-top: 1px solid var(--line); }
.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: 180px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.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: #6b7280; letter-spacing: .03em; }
.mcms-news-sep { display: inline-block; width: 4px; height: 4px; margin: 0 .6em .18em; background: var(--accent, #2f6f5e); transform: rotate(45deg); opacity: .7; }
.mcms-news-pin { display: inline-block; margin-left: .6em; padding: 0 .55em; border: 1px solid var(--accent, #2f6f5e); border-radius: 1em; color: var(--accent, #2f6f5e); font-size: .9em; }
.mcms-news-title { margin: 0 0 .35em; font-size: 1.25rem; line-height: 1.3; }
.mcms-news-title a { color: inherit; text-decoration: none; }
.mcms-news-title a:hover { color: var(--accent, #2f6f5e); }
.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 rgba(0,0,0,.12); border-radius: 6px; text-decoration: none; color: inherit; 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(--accent, #2f6f5e); margin-top: .25rem; }
.mcms-news-y { font-size: .68rem; color: #6b7280; 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 rgba(0,0,0,.12); }
.mcms-news-compact .mcms-news-when { display: none; }
.mcms-news-compact .mcms-news-title { font-size: 1em; margin: 0; }
.mcms-news-compact .mcms-news-meta { margin: 0; }
.mcms-news-item.is-draft { opacity: .55; }
.mcms-news-empty { color: #6b7280; 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 rgba(0,0,0,.12); font-size: .9em; }
.mcms-news-pages { color: #6b7280; 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: 2rem; margin-bottom: .4em; }
.mcms-news-event { display: flex; flex-wrap: wrap; gap: .4em 2rem; margin: 0 0 1.4em; padding: .9em 1.1em; border: 1px solid rgba(0,0,0,.12); border-radius: 6px; }
.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(--accent, #2f6f5e); }
.mcms-news-event dd { margin: 0; color: inherit; }
.mcms-news-figure { margin: 0 0 1.4em; }
.mcms-news-figure img { display: block; width: 100%; height: auto; border-radius: 6px; }
.mcms-news-single .mcms-news-lead { font-size: 1.12em; color: inherit; }
@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%; }
}

/* audio player [player] — colours only, the layout comes from assets/player/player.css */
.mcms-player { --mcms-player-accent: var(--accent); --mcms-player-bg: #fff; --mcms-player-line: var(--line); --mcms-player-radius: var(--radius); }
.mcms-player-heading { font-size: 1.05rem; }

/* YouTube widget [youtube] — the layout comes from assets/youtube/youtube.css */
.mcms-yt { --mcms-yt-accent: var(--accent); --mcms-yt-radius: var(--radius); }

/* map [map] and contact form [contact] — layout from assets/map/map.css and assets/contact/contact.css */
.mcms-map { --mcms-map-accent: var(--accent); --mcms-map-radius: var(--radius); }
.mcms-contact { --mcms-contact-accent: var(--accent); --mcms-contact-field: #fff; --mcms-contact-line: var(--line); --mcms-contact-radius: var(--radius); }

/* ---- 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(--accent); --mcms-showcase-radius: var(--radius); }
.mcms-showcase-list { margin: 0 0 .6em; padding-left: 1.2em; }
.mcms-showcase-list li { margin: .12em 0; }

/* ---------- widget colours for this theme */
.mcms-gallery-item img, .mcms-album-sub img, .mcms-album-nocover { border-radius: 6px; }
.mcms-album-count { background: rgba(58, 39, 24, .78); }
.mcms-news-full .mcms-news-item + .mcms-news-item { border-top: 1px solid var(--line); }
.mcms-news-when { border-color: var(--line); background: var(--accent-soft); }
.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 10px 24px -16px rgba(60, 40, 20, .6); }
.mcms-showcase-title { color: var(--accent-dark); }
.mcms-showcase-meta { opacity: 1; color: var(--muted); }
.mcms-showcase-meta a { text-decoration: none; }
.mcms-showcase-list li::marker { color: var(--accent); }
.mcms-player { --mcms-player-on: #fff; }
