/*
 * LogiCh – site template.
 * Loaded after Cassiopeia's CSS: Cassiopeia styles component content (lists, tables, forms, pagination), this file
 * styles the page frame. All frame classes start with "lc-". Mobile first; breakpoints 768 px (tablet) and
 * 1180 px (full navigation). Site-specific changes go to css/user.css, never into this file.
 */

/* --- fonts (local, no Google Fonts) --- */
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/sourcesans3-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/sourcesans3-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/sourceserif4-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(../fonts/sourceserif4-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Nunito and Baloo 2 (rounded, for friendly sites; Fredoka has no č, ć, đ). Licences: fonts/OFL.txt */
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/nunito-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
  src: url(../fonts/nunito-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/baloo2-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Baloo 2"; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(../fonts/baloo2-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* --- tokens ---
   A palette sets six base colours; every other shade is derived from them with color-mix(), so a palette (or
   the "Custom" palette written into <head> by index.php) only needs those six. Neutral greys do not change. */
:root {
  --lc-primary: #0060A8;     /* links, active states, top bar */
  --lc-secondary: #1F7A4D;   /* small headings, second accent */
  --lc-accent: #005749;      /* buttons (header button, search) */
  --lc-hero: #C4F1B9;        /* hero band (light, dark text) */
  --lc-footer: #2A6E70;      /* footer band (dark, white text) */
  --lc-page: #F4F6F8;        /* page background */
  --lc-primary-rgb: 0, 96, 168;

  --lc-primary-strong: color-mix(in oklab, var(--lc-primary) 60%, #000);
  --lc-accent-strong: color-mix(in oklab, var(--lc-accent) 70%, #000);
  --lc-on-accent: #FFFFFF;
  --lc-tint: color-mix(in oklab, var(--lc-primary) 5%, #FFF);
  --lc-tint-alt: color-mix(in oklab, var(--lc-secondary) 9%, #FFF);
  --lc-hover: color-mix(in oklab, var(--lc-primary) 7%, #FFF);
  --lc-panel: color-mix(in oklab, var(--lc-primary) 3%, #FFF);
  --lc-hero-start: color-mix(in oklab, var(--lc-hero) 90%, var(--lc-secondary));
  --lc-hero-end: color-mix(in oklab, var(--lc-hero) 72%, #FFF);
  --lc-on-hero: var(--lc-ink);
  --lc-footer-start: color-mix(in oklab, var(--lc-footer) 65%, var(--lc-primary));
  --lc-footer-end: color-mix(in oklab, var(--lc-footer) 70%, var(--lc-secondary));
  --lc-on-footer: #FFFFFF;
  --lc-on-footer-muted: color-mix(in oklab, var(--lc-on-footer) 86%, var(--lc-footer));
  --lc-on-footer-border: color-mix(in oklab, var(--lc-on-footer) 55%, transparent);
  --lc-topbar: var(--lc-primary-strong);
  --lc-on-topbar: color-mix(in oklab, #FFF 90%, var(--lc-primary));
  --lc-on-topbar-muted: color-mix(in oklab, #FFF 60%, var(--lc-primary));
  --lc-topbar-line: color-mix(in oklab, var(--lc-primary) 80%, #FFF);
  --lc-topbar-hover: color-mix(in oklab, var(--lc-primary) 75%, #000);
  --lc-deco-1: color-mix(in oklab, var(--lc-primary) 55%, #FFF);   /* hero bubbles */
  --lc-deco-2: color-mix(in oklab, var(--lc-secondary) 55%, #FFF);
  --lc-deco-3: color-mix(in oklab, var(--lc-accent) 45%, #FFF);

  --lc-surface: #FFFFFF;
  --lc-ink: #14181C;
  --lc-body: #343D47;
  --lc-muted: #4C5663;
  --lc-subtle: #5A6470;
  --lc-border: #DDE3E8;
  --lc-border-soft: #E7EEF5;
  --lc-border-strong: #B9C4CE;

  --lc-font-body: "Source Sans 3", system-ui, -apple-system, "Segoe UI", sans-serif;
  --lc-font-heading: var(--lc-font-body);
  --lc-font-display: "Source Serif 4", Georgia, "Times New Roman", serif;   /* logo name, card and footer titles */

  --lc-radius: 12px;
  --lc-radius-photo: 6px;
  --lc-radius-card: 10px;
  --lc-shadow-card: 0 1px 2px rgba(10, 32, 20, .06), 0 14px 30px -20px rgba(10, 32, 20, .42);
  --lc-shadow-card-hover: 0 2px 4px rgba(10, 48, 85, .10), 0 22px 40px -22px rgba(10, 48, 85, .48);
  --lc-shadow-panel: 0 1px 2px rgba(4, 30, 18, .08), 0 30px 60px -38px rgba(4, 30, 18, .62);
  --lc-shadow-menu: 0 24px 48px -28px rgba(10, 48, 85, .55), 0 2px 4px rgba(10, 48, 85, .06);
  --lc-container: 1280px;
  --lc-logo-height: 48px;

  /* Cassiopeia reads these for component content */
  --cassiopeia-color-primary: var(--lc-primary-strong);
  --cassiopeia-color-link: var(--lc-primary);
  --cassiopeia-color-hover: var(--lc-primary-strong);
  --link-color: var(--lc-primary);
  --link-color-rgb: var(--lc-primary-rgb);
  --link-hover-color: var(--lc-primary-strong);
  --body-font-family: var(--lc-font-body);
  --cassiopeia-font-family-body: var(--lc-font-body);        /* tooltips, popups */
  --cassiopeia-font-family-headings: var(--lc-font-heading); /* h5, h6 and .h1–.h6 classes */
  --body-color: var(--lc-body);
  --body-font-size: 1.0625rem;
  --body-line-height: 1.6;
}

/* palettes (the "Custom" palette has no block: index.php writes its colours into <head>) */
html[data-lc-palette="institution"] {
  --lc-primary: #0060A8; --lc-secondary: #1F7A4D; --lc-accent: #005749;
  --lc-hero: #C4F1B9; --lc-footer: #2A6E70; --lc-page: #F4F6F8; --lc-primary-rgb: 0, 96, 168;
}

html[data-lc-palette="cheerful"] {   /* bright and playful (kindergarten); decoration in the original bright colours */
  --lc-primary: #B85840; --lc-secondary: #1E8178; --lc-accent: #B85840;
  --lc-hero: #FFF8F0; --lc-footer: #353A5A; --lc-page: #FFFFFF; --lc-primary-rgb: 184, 88, 64;
  --lc-deco-1: #FF6FB5; --lc-deco-2: #2EC4B6; --lc-deco-3: #FFC93C;
  --lc-hero-start: #FFF1E3; --lc-hero-end: #FFFFFF;
}
html[data-lc-palette="pastel"] {
  --lc-primary: #4B7898; --lc-secondary: #A36552; --lc-accent: #4B7898;
  --lc-hero: #EAF4FB; --lc-footer: #2F4858; --lc-page: #FBFCFE; --lc-primary-rgb: 75, 120, 152;
  --lc-deco-1: #6FB1E0; --lc-deco-2: #FF9E80; --lc-deco-3: #A3D9B1;
}
html[data-lc-palette="nature"] {
  --lc-primary: #388169; --lc-secondary: #3D78B4; --lc-accent: #388169;
  --lc-hero: #E8F5DC; --lc-footer: #24483C; --lc-page: #F7FAF5; --lc-primary-rgb: 56, 129, 105;
  --lc-deco-1: #4CAF8E; --lc-deco-2: #4A90D9; --lc-deco-3: #A3D977;
}
html[data-lc-palette="business"] {  /* neutral, for companies */
  --lc-primary: #1F5B8C; --lc-secondary: #4F5D6B; --lc-accent: #AF6000;
  --lc-hero: #E4EAF0; --lc-footer: #1E2A36; --lc-page: #F5F7F9; --lc-primary-rgb: 31, 91, 140;
}

/* high contrast wins over every palette: white backgrounds, black text and lines */
:root[data-lc-contrast="high"] {
  --lc-primary: #003D6E; --lc-primary-rgb: 0, 61, 110;
  --lc-secondary: #000000; --lc-accent: #000000;
  --lc-page: #FFFFFF; --lc-tint: #FFFFFF; --lc-tint-alt: #FFFFFF; --lc-panel: #FFFFFF; --lc-hover: #FFFFFF;
  --lc-hero: #FFFFFF; --lc-hero-start: #FFFFFF; --lc-hero-end: #FFFFFF; --lc-on-hero: #000000;
  --lc-footer: #FFFFFF; --lc-footer-start: #FFFFFF; --lc-footer-end: #FFFFFF;
  --lc-on-footer: #000000; --lc-on-footer-muted: #000000; --lc-on-footer-border: #000000;
  --lc-body: #000000; --lc-muted: #1A1F26; --lc-subtle: #000000;
  --lc-border: #6B7480; --lc-border-soft: #6B7480;
}
:root[data-lc-contrast="high"] a { text-decoration: underline; }

/* text size from the top bar */
html[data-lc-text="larger"] { font-size: 112.5%; }
html[data-lc-text="largest"] { font-size: 125%; }

/* --- base --- */
html { background: var(--lc-page); }
body.site {
  background: var(--lc-page);
  color: var(--lc-body);
  font-family: var(--lc-font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3, h4 { color: var(--lc-ink); font-family: var(--lc-font-heading); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.25rem); }
h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.75rem); }
a { color: var(--lc-primary); }
a:hover { color: var(--lc-primary-strong); }
:focus-visible { outline: 3px solid var(--lc-primary); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

.lc-container {
  width: 100%;
  max-width: var(--lc-container);
  margin-inline: auto;
  padding-inline: 16px;
}
@media (min-width: 768px) { .lc-container { padding-inline: 28px; } }

.lc-vh {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.lc-skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--lc-primary-strong); color: #fff;
  padding: 10px 16px; border-radius: 0 0 8px 8px; font-weight: 600;
}
.lc-skip:focus { top: 0; color: #fff; }

.lc-eyebrow {
  margin: 0;
  font: 700 .8125rem/1.4 var(--lc-font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--lc-secondary);
}
.lc-meta { margin: 0; font-size: .875rem; color: var(--lc-muted); }
.lc-more {
  font-weight: 600;
  font-size: .9375rem;
  color: var(--lc-primary);
  text-decoration: none;
  white-space: nowrap;
}
.lc-more:hover { text-decoration: underline; }
.lc-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

/* --- icons (replacement for Joomla's Font Awesome) ---
   Joomla layouts (pagination, previous/next article, messages, category lists) print <span class="icon-…">.
   Instead of a ~100 kB font an SVG mask in the text colour is drawn. Generated by tools/icons_css.py; an unknown
   icon stays an empty 1em space. */
[class^="icon-"], [class*=" icon-"] {
  display: inline-block; flex: 0 0 auto;
  width: 1em; height: 1em; vertical-align: -.125em;
  background-color: currentColor;
  -webkit-mask: var(--lc-icon, linear-gradient(transparent, transparent)) center / contain no-repeat;
  mask: var(--lc-icon, linear-gradient(transparent, transparent)) center / contain no-repeat;
}
.icon-fw { width: 1.25em; }
@media (forced-colors: active) {
  [class^="icon-"], [class*=" icon-"] { forced-color-adjust: none; background-color: CanvasText; }
}
.icon-calendar, .icon-calendar-alt { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.icon-angle-left, .icon-chevron-left, .icon-previous, .icon-arrow-left-4 { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 5-7 7 7 7'/%3E%3C/svg%3E"); }
.icon-angle-right, .icon-chevron-right, .icon-next, .icon-arrow-right-4 { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 5 7 7-7 7'/%3E%3C/svg%3E"); }
.icon-angle-double-left, .icon-backward, .icon-first { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 5-7 7 7 7M19 5l-7 7 7 7'/%3E%3C/svg%3E"); }
.icon-angle-double-right, .icon-forward, .icon-last { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 5 7 7-7 7M5 5l7 7-7 7'/%3E%3C/svg%3E"); }
.icon-angle-up, .icon-chevron-up, .icon-arrow-up { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 15 7-7 7 7'/%3E%3C/svg%3E"); }
.icon-angle-down, .icon-chevron-down, .icon-arrow-down { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E"); }
.icon-plus, .icon-plus-2, .icon-new { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); }
.icon-minus, .icon-minus-2 { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3C/svg%3E"); }
.icon-info, .icon-info-circle { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
.icon-warning, .icon-exclamation-triangle, .icon-notification { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 20h20z'/%3E%3Cpath d='M12 10v4M12 17v.5'/%3E%3C/svg%3E"); }
.icon-error, .icon-exclamation-circle { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v6M12 16.5v.5'/%3E%3C/svg%3E"); }
.icon-check, .icon-checkmark, .icon-publish, .icon-success { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.icon-times, .icon-cancel, .icon-remove, .icon-close, .icon-unpublish { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.icon-search { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='m20 20-4.2-4.2'/%3E%3C/svg%3E"); }
.icon-eye { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E"); }
.icon-eye-slash { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M3 3l18 18'/%3E%3C/svg%3E"); }
.icon-lock { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E"); }
.icon-envelope, .icon-mail { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.icon-print, .icon-printer { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 9V3h10v6M7 17H4v-7h16v7h-3'/%3E%3Cpath d='M7 14h10v7H7z'/%3E%3C/svg%3E"); }
.icon-home { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11 12 4l9 7M5 10v10h14V10'/%3E%3C/svg%3E"); }
.icon-user { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4 3.6-7 8-7s8 3 8 7'/%3E%3C/svg%3E"); }
.icon-download { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-5-5 5 5 5-5M5 20h14'/%3E%3C/svg%3E"); }
.icon-feed, .icon-rss { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4a15 15 0 0 1 15 15M5 10a9 9 0 0 1 9 9'/%3E%3Ccircle cx='6' cy='18' r='1.5'/%3E%3C/svg%3E"); }
.icon-photo { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 8h3l2-3h6l2 3h3v11H4z'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E"); }
.icon-attachment { --lc-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 11-8.5 8.5a5 5 0 0 1-7-7L13 4a3.3 3.3 0 0 1 4.7 4.7l-8.6 8.6a1.7 1.7 0 0 1-2.4-2.4L14.5 7'/%3E%3C/svg%3E"); }

/* --- top bar --- */
.lc-topbar { background: var(--lc-topbar); color: var(--lc-on-topbar); font-size: 14px; }
.lc-topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px 24px; min-height: 44px; flex-wrap: wrap;
}
.lc-topbar__group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lc-topbar__label {
  font-size: 12px; letter-spacing: .09em; text-transform: uppercase;
  color: var(--lc-on-topbar-muted); font-weight: 600;
}
.lc-topbar a { color: var(--lc-on-topbar); font-weight: 500; text-decoration: none; }
.lc-topbar a:hover { text-decoration: underline; color: #fff; }
.lc-topbar__menu { display: flex; gap: 6px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.lc-topbar .mod-menu { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
/* phone: larger touch targets for the top bar links */
@media (max-width: 767px) {
  .lc-topbar__inner { padding-block: 4px; row-gap: 0; }
  .lc-topbar__menu a, .lc-topbar .mod-menu a { display: inline-flex; align-items: center; min-height: 40px; padding-inline: 2px; }
}

.lc-textsize { display: flex; gap: 4px; }
.lc-textsize button,
.lc-contrast-toggle {
  min-width: 36px; height: 30px; padding: 0 8px;
  border: 1px solid var(--lc-topbar-line); background: transparent; color: var(--lc-on-topbar);
  border-radius: 4px; font: 600 13px var(--lc-font-body); cursor: pointer;
}
.lc-contrast-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 0 12px; }
.lc-contrast-toggle__dot {
  width: 13px; height: 13px; border-radius: 50%;
  border: 1px solid currentColor;
  background: linear-gradient(90deg, currentColor 50%, transparent 50%);
}
.lc-contrast-toggle__short { display: none; }
/* phone: short label of the contrast button, so it fits in one row with the text size buttons */
@media (max-width: 767px) {
  .lc-topbar__group { gap: 8px; }
  .lc-contrast-toggle { padding: 0 10px; gap: 6px; }
  .lc-contrast-toggle__long { display: none; }
  .lc-contrast-toggle__short { display: inline; }
}
.lc-textsize button:hover, .lc-contrast-toggle:hover { background: var(--lc-topbar-hover); }
.lc-textsize button[aria-pressed="true"]:not([data-lc-text="normal"]),
.lc-contrast-toggle[aria-pressed="true"] { background: var(--lc-on-topbar); color: var(--lc-topbar); }

/* --- header --- */
.lc-header {
  position: relative; z-index: 40;
  background: var(--lc-surface);
  border-bottom: 1px solid var(--lc-border);
  box-shadow: 0 1px 0 rgba(10, 48, 85, .04);
}
.lc-header__inner { display: flex; align-items: center; gap: 12px 28px; min-height: 64px; flex-wrap: wrap; }

.lc-logo {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--lc-ink);
  min-height: 64px; min-width: 0;
}
.lc-logo:hover { color: var(--lc-ink); }
.lc-logo__img { width: auto; height: calc(var(--lc-logo-height) * .85); max-width: 220px; object-fit: contain; flex: 0 0 auto; }
.lc-logo__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.lc-logo__name {
  font-family: var(--lc-font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: .03em; text-transform: uppercase;
}
.lc-logo__tagline { font-size: .8125rem; color: var(--lc-muted); letter-spacing: .02em; }

/* menu and search buttons */
.lc-nav__toggle,
.lc-search-toggle {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; min-width: 44px; padding: 0 12px;
  border: 1px solid var(--lc-border); background: var(--lc-surface); border-radius: var(--lc-radius);
  font: 600 15.5px var(--lc-font-body); color: var(--lc-primary-strong); cursor: pointer;
}
.lc-search-toggle { padding: 0; width: 44px; color: var(--lc-primary); }
.lc-search-toggle::before {
  content: ""; width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.8-3.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.lc-nav__toggle:hover, .lc-search-toggle:hover { background: var(--lc-hover); }
.lc-search-toggle--bar { margin-inline-start: auto; }
.lc-nav .lc-search-toggle { display: none; }
.lc-nav__toggle-label { display: none; }
/* phone: logo, search and menu in one row (the logo shrinks, the name wraps if needed) */
@media (max-width: 767px) {
  .lc-header__inner { column-gap: 8px; }
  .lc-logo { flex: 1 1 0; gap: 10px; }
}

.lc-nav__toggle-icon { position: relative; width: 20px; height: 14px; }
.lc-nav__toggle-icon i {
  position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 260ms cubic-bezier(.16, 1, .3, 1), opacity 160ms ease, top 260ms cubic-bezier(.16, 1, .3, 1);
}
.lc-nav__toggle-icon i:nth-child(1) { top: 0; }
.lc-nav__toggle-icon i:nth-child(2) { top: 6px; }
.lc-nav__toggle-icon i:nth-child(3) { top: 12px; }
.lc-nav__toggle[aria-expanded="true"] .lc-nav__toggle-icon i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.lc-nav__toggle[aria-expanded="true"] .lc-nav__toggle-icon i:nth-child(2) { opacity: 0; }
.lc-nav__toggle[aria-expanded="true"] .lc-nav__toggle-icon i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

/* without JavaScript the navigation is always open (drawer) and the search visible */
.lc-js .lc-nav { display: none; }
.lc-nav { flex-basis: 100%; }
.lc-js .lc-nav.is-open { display: block; }

.lc-nav__menu { display: flex; flex-direction: column; list-style: none; margin: 0; padding: 0; }
.lc-nav__item { list-style: none; }
.lc-nav__link {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  width: 100%; min-height: 54px; padding: 14px 2px;
  border: 0; background: transparent;
  font: 600 17px var(--lc-font-body); color: var(--lc-ink);
  text-decoration: none; text-align: start; cursor: pointer;
  transition: background-color 220ms ease, color 220ms ease;
}
.lc-nav__link:hover { color: var(--lc-primary); }
.lc-nav__item.is-active > .lc-nav__link { color: var(--lc-primary); }
.lc-nav__caret {
  display: inline-block; width: 9px; height: 9px; margin: 0 6px 4px 0;
  border-right: 2px solid var(--lc-subtle); border-bottom: 2px solid var(--lc-subtle);
  transform: rotate(45deg);
  transition: transform 300ms cubic-bezier(.16, 1, .3, 1);
}
.lc-nav__mega-toggle[aria-expanded="true"] { color: var(--lc-primary); }
.lc-nav__mega-toggle[aria-expanded="true"] .lc-nav__caret { transform: rotate(225deg); margin: 4px 6px 0 0; border-color: var(--lc-primary); }

/* drawer (below 1180 px); !important because Cassiopeia has [hidden] { display: none !important } */
@media (max-width: 1179px) { html:not(.lc-js) .lc-mega[hidden] { display: block !important; } }
.lc-nav.is-open, html:not(.lc-js) .lc-nav {
  border-top: 1px solid var(--lc-border);
  padding: 6px 0 24px;
  max-height: calc(100dvh - 64px);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lc-nav__item { border-bottom: 1px solid var(--lc-border-soft); }

.lc-mega { background: var(--lc-panel); border-radius: var(--lc-radius); margin: 0 0 12px; }
.lc-mega__inner { display: grid; gap: 16px; padding: 14px 16px 10px; }
.lc-mega__intro { display: none; }
.lc-mega__col { display: flex; flex-direction: column; gap: 6px; }
.lc-mega__head {
  margin: 0; padding-bottom: 6px;
  border-bottom: 1px solid var(--lc-border);
  font: 600 13px/18px var(--lc-font-body); letter-spacing: .1em; text-transform: uppercase; color: var(--lc-subtle);
}
.lc-mega__head a { color: inherit; text-decoration: none; }
.lc-mega__head a:hover { color: var(--lc-primary); }
.lc-mega__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lc-mega__list a, .lc-mega__list span {
  display: block; padding: 9px 0;
  font-size: 16px; line-height: 1.35; color: var(--lc-ink); text-decoration: none;
}
.lc-mega__list a:hover, .lc-mega__list a.is-current { color: var(--lc-primary); }
.lc-mega__list a.is-current { font-weight: 600; }

.lc-header__actions { display: flex; align-items: center; gap: 10px; padding-top: 18px; }
.lc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 44px; padding: 0 18px; border-radius: var(--lc-radius);
  font: 600 15.5px var(--lc-font-body); text-decoration: none;
}
.lc-btn--primary { flex: 1; background: var(--lc-accent); color: var(--lc-on-accent); }
.lc-btn--primary:hover { background: var(--lc-accent-strong); color: var(--lc-on-accent); }

/* search */
.lc-search-panel { border-top: 1px solid var(--lc-border); background: var(--lc-page); }
.lc-js .lc-search-panel { display: none; }
.lc-js .lc-search-panel.is-open { display: block; }
.lc-search { display: flex; gap: 8px; padding-block: 14px; }
.lc-search__field {
  flex: 1; min-width: 0; height: 48px; padding: 0 16px;
  border: 1px solid var(--lc-border-strong); border-radius: var(--lc-radius);
  font: 400 16.5px var(--lc-font-body); background: var(--lc-surface); color: var(--lc-ink);
}
.lc-search__button {
  height: 48px; padding: 0 22px; border: 0; border-radius: var(--lc-radius);
  background: var(--lc-accent); color: var(--lc-on-accent); font: 600 16px var(--lc-font-body); cursor: pointer;
}
.lc-search__button:hover { background: var(--lc-accent-strong); }

@media (min-width: 768px) {
  .lc-header__inner { min-height: 78px; }
  .lc-logo { min-height: 78px; gap: 14px; }
  .lc-logo__img { height: var(--lc-logo-height); }
  .lc-logo__name { font-size: 1.0625rem; }
  .lc-nav__toggle-label { display: inline; }
  .lc-nav__toggle { padding: 0 16px; }
  .lc-btn--primary { flex: 0 0 auto; }
}
/* tablet: search next to the Menu button, as on phones */
@media (min-width: 768px) and (max-width: 1179px) {
  .lc-header__inner { column-gap: 10px; }
}

/* full navigation with mega panels */
@media (min-width: 1180px) {
  .lc-header__inner { flex-wrap: nowrap; gap: 32px; }
  .lc-nav__toggle { display: none; }
  .lc-search-toggle--bar { display: none; }
  .lc-nav .lc-search-toggle { display: inline-flex; }
  .lc-nav, .lc-js .lc-nav, .lc-nav.is-open, html:not(.lc-js) .lc-nav {
    display: flex; align-items: center; gap: 2px; animation: none;
    flex-basis: auto; margin-inline-start: auto;
    border: 0; padding: 0; max-height: none; overflow: visible;
  }
  .lc-nav__menu { flex-direction: row; align-items: center; gap: 2px; }
  .lc-nav__item { border: 0; }
  .lc-nav__link {
    width: auto; min-height: 0; padding: 10px 12px; border-radius: var(--lc-radius);
    font-size: 15.5px; justify-content: flex-start;
  }
  .lc-nav__link:hover { background: var(--lc-hover); color: var(--lc-ink); }
  .lc-nav__item.is-active > .lc-nav__link { color: var(--lc-primary); box-shadow: inset 0 -3px 0 var(--lc-primary); border-radius: var(--lc-radius) var(--lc-radius) 0 0; }
  .lc-nav__caret { width: 7px; height: 7px; border-width: 0 1.6px 1.6px 0; margin: 0 0 3px 4px; }
  .lc-nav__mega-toggle[aria-expanded="true"] { background: var(--lc-hover); }
  .lc-nav__mega-toggle[aria-expanded="true"] .lc-nav__caret { margin: 3px 0 0 4px; }

  .lc-header__actions { padding: 0; margin-inline-start: 8px; }

  /* the panel lies over the content, full width below the header bar */
  .lc-mega {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    margin: 0; border-radius: 0;
    border-top: 1px solid var(--lc-border);
    background: var(--lc-surface);
    box-shadow: var(--lc-shadow-menu);
  }
  .lc-mega__inner {
    padding-block: 28px 32px; padding-inline: 28px;
    grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
    gap: 36px;
  }
  .lc-mega__inner--wide { grid-template-columns: .9fr repeat(4, minmax(0, 1fr)); gap: 28px; }
  .lc-mega__intro { display: block; }
  .lc-mega__title {
    margin: 0 0 12px;
    font: 700 13px/18px var(--lc-font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--lc-primary);
  }
  .lc-mega__lead { margin: 0 0 14px; font-size: 15px; line-height: 1.55; color: var(--lc-subtle); }
  .lc-mega__list { gap: 3px; }
  .lc-mega__list a, .lc-mega__list span { padding: 4px 0; font-size: 15.5px; }

  .lc-search-panel.is-open {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    box-shadow: var(--lc-shadow-menu);
  }
  .lc-search { gap: 12px; padding-block: 18px; }
  .lc-search__field, .lc-search__button { height: 50px; }

  .lc-mega:not([hidden]) { animation: lc-open 260ms cubic-bezier(.22, 1, .36, 1) both; }
  .lc-mega:not([hidden]) .lc-mega__intro,
  .lc-mega:not([hidden]) .lc-mega__col { animation: lc-col-in 200ms cubic-bezier(.22, 1, .36, 1) both; }
  .lc-mega:not([hidden]) .lc-mega__col:nth-child(3) { animation-delay: 45ms; }
  .lc-mega:not([hidden]) .lc-mega__col:nth-child(4) { animation-delay: 90ms; }
  .lc-mega:not([hidden]) .lc-mega__col:nth-child(n + 5) { animation-delay: 135ms; }

  /* without JavaScript a panel opens on hover or focus; it closes with a delay, so the mouse can cross the gap
     between item and panel */
  html:not(.lc-js) .lc-mega[hidden] { display: block !important; visibility: hidden; transition: visibility 0s 300ms; }
  html:not(.lc-js) .lc-nav__item--mega:hover > .lc-mega[hidden],
  html:not(.lc-js) .lc-nav__item--mega:focus-within > .lc-mega[hidden] { visibility: visible; transition-delay: 0s; }
}
@keyframes lc-open { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes lc-col-in { from { opacity: 0; transform: translate3d(0, 6px, 0); } to { opacity: 1; transform: none; } }
.lc-nav.is-open, .lc-search-panel.is-open { animation: lc-open 300ms cubic-bezier(.16, 1, .3, 1) both; }

/* --- hero band --- */
.lc-band { position: relative; }
.lc-hero {
  overflow: hidden;
  background: var(--lc-hero) linear-gradient(135deg, var(--lc-hero-start) 0%, var(--lc-hero) 45%, var(--lc-hero-end) 100%);
  padding-block: 28px 40px;
  color: var(--lc-on-hero);
}
/* waves: three soft layers along the bottom edge */
.lc-hero__waves { position: absolute; inset: auto 0 0 0; height: 220px; pointer-events: none; }
.lc-hero__waves i {
  position: absolute; left: -10%; right: -10%; bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}
.lc-hero__waves i:nth-child(1) { height: 190px; background: rgba(255, 255, 255, .22); transform: translateX(-12%); }
.lc-hero__waves i:nth-child(2) { height: 140px; background: rgba(255, 255, 255, .28); transform: translateX(14%); }
.lc-hero__waves i:nth-child(3) { height: 90px; background: rgba(255, 255, 255, .38); }
/*
 * Band layout: modules on hero-b (e.g. news lists, in module order) share the left 50 % in equal columns, hero-a
 * (e.g. a news slider) takes the right 50 %. Below 1024 px hero-a comes first at full width and the hero-b modules
 * follow side by side (from 768 px) or stacked.
 */
.lc-hero__grid { position: relative; display: grid; gap: 24px; }
.lc-hero__b { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 768px) {
  .lc-hero__b { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
}
@media (min-width: 1024px) {
  .lc-hero { padding-block: 40px 56px; }
  .lc-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: stretch; }
  .lc-hero__b { order: -1; }
  .lc-hero__grid--single { grid-template-columns: 1fr; }
  /* a slider without news prints nothing: the lists then take the full width */
  .lc-hero__grid:not(:has(.lc-news-slider)) { grid-template-columns: 1fr; }
}
.lc-hero__a:not(:has(*)) { display: none; }

/* news slider (mod_articles_news layout "slider") */
.lc-news-slider { position: relative; }
.lc-news-slider__stage {
  border-radius: var(--lc-radius-card); overflow: hidden;
  background: var(--lc-surface); box-shadow: var(--lc-shadow-panel);
}
.lc-slide[hidden] { display: none; }
.lc-slide__card { display: block; color: inherit; text-decoration: none; }
.lc-slide__card:hover { color: inherit; }
.lc-slide__media { display: block; aspect-ratio: 16 / 9; background: var(--lc-tint); overflow: hidden; }
.lc-slide__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 600ms ease; }
.lc-slide__card:hover .lc-slide__img { transform: scale(1.02); }
.lc-slide__media--empty,
.lc-latest__img--empty,
.lc-news-card__img--empty {
  background: var(--lc-tint) var(--lc-placeholder, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9C4CE' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='9' cy='10' r='1.6'/%3E%3Cpath d='m21 16-5-5-8 8'/%3E%3C/svg%3E")) center / auto 40% no-repeat;
}
.lc-slide__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.lc-slide__date { font-size: .875rem; color: var(--lc-muted); }
.lc-slide__title {
  font-family: var(--lc-font-display); font-weight: 700; color: var(--lc-ink);
  font-size: clamp(1.3rem, 1.1rem + .9vw, 1.75rem); line-height: 1.22;
}
.lc-slide__card:hover .lc-slide__title { color: var(--lc-primary); }
.lc-slide__lead { color: var(--lc-body); }
.lc-slide__thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; margin-block: 4px 2px; }
.lc-slide__thumb {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--lc-radius-photo); background: var(--lc-tint);
}
.lc-slide__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-slide__thumb-more {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 24, 28, .55); color: #FFF; font-weight: 700; font-size: .9375rem;
}
@media (max-width: 479px) {
  .lc-slide__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.lc-slide__more { font-weight: 600; color: var(--lc-primary); }
.lc-news-slider__controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.lc-news-slider__dots { display: flex; gap: 6px; flex-wrap: wrap; }
.lc-dot {
  width: 28px; height: 28px; padding: 0; border: 0; background: transparent; cursor: pointer;
  position: relative;
}
.lc-dot::before {
  content: ""; position: absolute; inset: 11px 4px; border-radius: 3px;
  background: rgba(20, 24, 28, .25); transition: background 200ms ease;
}
.lc-dot.is-active::before, .lc-dot:hover::before { background: var(--lc-primary-strong); }
.lc-news-slider__arrows { display: flex; gap: 8px; }
.lc-news-slider__arrows button {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(20, 24, 28, .25); background: color-mix(in srgb, var(--lc-surface) 70%, transparent);
  font-size: 18px; color: var(--lc-ink); cursor: pointer;
}
.lc-news-slider__arrows button:hover { background: var(--lc-surface); }

/* latest news list (layouts "latest" and "notices") */
.lc-latest {
  height: 100%;
  background: color-mix(in srgb, var(--lc-surface) 86%, transparent);
  border-radius: var(--lc-radius-card);
  box-shadow: var(--lc-shadow-panel);
  padding: 18px 18px 8px;
}
.lc-latest .lc-section-head { margin-bottom: 6px; }
.lc-latest__list { list-style: none; margin: 0; padding: 0; }
.lc-latest__item + .lc-latest__item { border-top: 1px solid var(--lc-border-soft); }
.lc-latest__item a {
  display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 11px 0; color: inherit; text-decoration: none;
}
.lc-latest__img { display: block; aspect-ratio: 1 / 1; border-radius: var(--lc-radius-photo); overflow: hidden; background-color: var(--lc-tint); }
.lc-latest__img--empty { background-size: auto 52%; }

/* date tile instead of a thumbnail (notices) */
.lc-notice__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; border-radius: var(--lc-radius-photo);
  background: var(--lc-tint); color: var(--lc-primary-strong);
}
.lc-notice__date strong { font-size: 1.375rem; line-height: 1; }
.lc-notice__date span { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; margin-top: 3px; }
.lc-latest__item a:hover .lc-notice__date { background: var(--lc-primary-strong); color: #FFF; }
.lc-latest__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-latest__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lc-latest__meta { font-size: .8125rem; color: var(--lc-muted); }
.lc-latest__title {
  font-weight: 600; color: var(--lc-ink); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.lc-latest__item a:hover .lc-latest__title { color: var(--lc-primary); }
.lc-latest__title { font-size: .96875rem; }

/*
 * The slider height must not depend on the slide (the content below would jump on every change). All slides share
 * one grid cell, inactive ones are only invisible: the slider is as tall as its tallest slide. (Cassiopeia's
 * [hidden] has !important, so it is needed here too.)
 */
.lc-news-slider__stage { display: grid; }
.lc-slide { grid-area: 1 / 1; min-width: 0; }
.lc-slide[hidden] { display: block !important; visibility: hidden; }

/*
 * In the band on desktop the lists set the height (fixed number of articles, titles up to 3 lines) and the slider
 * fills it: the slide text takes what it needs, the image gets the rest.
 */
@media (min-width: 1024px) {
  .lc-hero__a:has(> .lc-news-slider) { position: relative; min-height: 560px; }   /* only for the news slider */
  .lc-hero__a > .lc-news-slider { position: absolute; inset: 0; display: flex; flex-direction: column; }
  .lc-hero__a .lc-news-slider__stage { flex: 1; min-height: 0; grid-template-rows: minmax(0, 1fr); }
  .lc-hero__a .lc-slide__card { display: flex; flex-direction: column; height: 100%; overflow: hidden; }
  .lc-hero__a .lc-slide__media { flex: 1 1 0; min-height: 120px; aspect-ratio: auto; }
  .lc-hero__a .lc-slide__body { flex: none; }
  .lc-hero__a .lc-slide__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .lc-hero__a .lc-slide__lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}

/* --- home sections --- */
.lc-section { padding-block: 40px; }
.lc-section + .lc-section { padding-top: 8px; }
.lc-section.lc-section--tint { background: var(--lc-tint); padding-block: 40px; }
.lc-section.lc-section--alt { background: var(--lc-tint-alt); padding-block: 40px; }
.lc-section--tint + .lc-section, .lc-section--alt + .lc-section { padding-top: 40px; }

/* menu tiles (mod_menu layout "tiles") */
.lc-tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
}
/* tone of tiles and cards: palette primary, or a colour class (lc-color-…) on the module or menu item */
:where(.lc-tile, .lc-info) { --lc-tone: var(--lc-primary); --lc-tone-bg: color-mix(in oklab, var(--lc-tone) 10%, #FFF); }
.lc-color-blue { --lc-tone: #0060A8; }
.lc-color-green { --lc-tone: #1F7A4D; }
.lc-color-red { --lc-tone: #B23A3A; }
.lc-color-gold { --lc-tone: #8A6100; }
.lc-color-purple { --lc-tone: #6A4C9C; }
.lc-color-teal { --lc-tone: #0F6E77; }
:is(.lc-tile, .lc-info):is(.lc-color-blue, .lc-color-green, .lc-color-red, .lc-color-gold, .lc-color-purple, .lc-color-teal),
:is(.lc-color-blue, .lc-color-green, .lc-color-red, .lc-color-gold, .lc-color-purple, .lc-color-teal) :is(.lc-tile, .lc-info) {
  --lc-tone-bg: color-mix(in oklab, var(--lc-tone) 10%, #FFF);
}
.lc-tile__link {
  height: 100%;
  display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 14px; align-items: center;
  padding: 16px 18px;
  background: var(--lc-surface); color: var(--lc-ink); text-decoration: none;
  border: 1px solid var(--lc-border); border-radius: var(--lc-radius-card);
  box-shadow: var(--lc-shadow-card);
  transition: box-shadow 200ms ease, transform 200ms ease, border-color 200ms ease;
}
.lc-tile__link:hover { color: var(--lc-ink); border-color: var(--lc-tone); box-shadow: var(--lc-shadow-card-hover); transform: translateY(-2px); }
.lc-tile__icon {
  grid-row: span 2;
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lc-tone-bg); color: var(--lc-tone);
}
.lc-tile__title { font-weight: 700; font-size: 1.0625rem; line-height: 1.3; }
.lc-tile__desc { font-size: .875rem; color: var(--lc-muted); line-height: 1.4; }
.lc-tile__link:hover .lc-tile__title { color: var(--lc-tone); }
/* tile without an icon, with an image (menu item "Link Image") and with a list of children */
.lc-tile__link:not(:has(.lc-tile__icon)) { grid-template-columns: minmax(0, 1fr); }
.lc-tile--image .lc-tile__link { padding: 0 0 16px; overflow: hidden; row-gap: 6px; }
.lc-tile--image .lc-tile__link > :not(.lc-tile__img) { padding-inline: 18px; }
.lc-tile__img { display: block; aspect-ratio: 16 / 9; background: var(--lc-tint); margin-bottom: 8px; }
.lc-tile__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lc-tile--children { display: flex; flex-direction: column; background: var(--lc-surface); border: 1px solid var(--lc-border); border-radius: var(--lc-radius-card); box-shadow: var(--lc-shadow-card); overflow: hidden; }
.lc-tile--children .lc-tile__link { height: auto; border: 0; border-radius: 0; box-shadow: none; border-top: 4px solid var(--lc-tone); }
.lc-tile--children .lc-tile__link:hover { transform: none; box-shadow: none; }
.lc-tile__children { list-style: none; margin: 0; padding: 4px 18px 14px; columns: 2 12rem; column-gap: 20px; }
.lc-tile__children li { break-inside: avoid; border-top: 1px solid var(--lc-border-soft); }
.lc-tile__children a { display: block; padding: 6px 0; color: var(--lc-body); text-decoration: none; font-size: .9375rem; }
.lc-tile__children a:hover { color: var(--lc-tone); text-decoration: underline; }

/* article cards (mod_articles_news layout "cards") */
.lc-news-cards { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.lc-news-card a {
  display: flex; flex-direction: column; height: 100%;
  background: var(--lc-surface); color: inherit; text-decoration: none;
  border-radius: var(--lc-radius-card); overflow: hidden;
  box-shadow: var(--lc-shadow-card); transition: box-shadow 200ms ease, transform 200ms ease;
}
.lc-news-card a:hover { box-shadow: var(--lc-shadow-card-hover); transform: translateY(-2px); }
.lc-news-card__img { display: block; aspect-ratio: 16 / 9; background-color: var(--lc-tint); overflow: hidden; }
.lc-news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lc-news-card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; flex: 1; }
.lc-news-card__title { font-family: var(--lc-font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; color: var(--lc-ink); }
.lc-news-card a:hover .lc-news-card__title { color: var(--lc-primary); }
.lc-news-card .lc-more { margin-top: auto; padding-top: 6px; }

/* info cards (position home-cards, chrome card.php) */
.lc-info-grid {
  display: grid; gap: 20px; align-items: start;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
}
.lc-info {
  display: flex; flex-direction: column; height: 100%;
  padding: 20px 22px 22px;
  background: var(--lc-surface);
  border: 1px solid var(--lc-border); border-top: 4px solid var(--lc-tone);
  border-radius: var(--lc-radius-card);
  box-shadow: var(--lc-shadow-card);
}
.lc-info__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lc-info__icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--lc-tone-bg); color: var(--lc-tone);
}
.lc-info__title { margin: 0; font-family: var(--lc-font-display); font-size: 1.1875rem; line-height: 1.25; color: var(--lc-ink); }

/* editor content: paragraphs, lists, tables (inline styles from old modules are overridden) */
.lc-info__content { display: flex; flex-direction: column; flex: 1; font-size: .96875rem; line-height: 1.5; color: var(--lc-body); }
.lc-info__content > div { display: flex; flex-direction: column; flex: 1; }
.lc-info__content p { margin: 0 0 .6em; text-align: left !important; }
.lc-info__content strong { color: var(--lc-ink); }
.lc-info__content ul { margin: 0 0 .75em; padding: 0; list-style: none; }
.lc-info__content li { position: relative; padding: 4px 0 4px 16px; }
.lc-info__content li::before {
  content: ""; position: absolute; left: 2px; top: .95em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--lc-tone);
}
.lc-info__content li + li { border-top: 1px solid var(--lc-border-soft); }
.lc-info__content table { width: 100%; margin: 0 0 .75em; border-collapse: collapse; font-size: .9375rem; }
.lc-info__content th, .lc-info__content td { padding: 5px 8px; border: 0; border-bottom: 1px solid var(--lc-border-soft); text-align: left !important; }
.lc-info__content th { color: var(--lc-ink); font-weight: 700; vertical-align: top; padding-left: 0; }
.lc-info__content td:first-child { padding-left: 0; }
.lc-info__content td:has(> a[href^="tel:"]) { white-space: nowrap; text-align: right !important; padding-right: 0; }
.lc-info__content tr:last-child > * { border-bottom: 0; }
.lc-info__content img { max-width: 100%; height: auto; }

/* links to documents: type label after the text */
.lc-info__content a:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i], [href$=".odt" i], [href$=".zip" i])::after {
  display: inline-block; margin-left: 8px; padding: 2px 6px; border-radius: 4px; vertical-align: 1px;
  font: 700 .6875rem/1.2 var(--lc-font-body); letter-spacing: .04em; color: #FFF; background: #5A6470;
}
.lc-info__content a[href$=".pdf" i]::after { content: "PDF"; background: #B23A3A; }
.lc-info__content a:is([href$=".doc" i], [href$=".docx" i], [href$=".odt" i])::after { content: "DOC"; background: #2B5797; }
.lc-info__content a:is([href$=".xls" i], [href$=".xlsx" i])::after { content: "XLS"; background: #1F7A4D; }
.lc-info__content a[href$=".zip" i]::after { content: "ZIP"; }

/* a last paragraph with a single (non-document) link = "More →" at the bottom of the card */
.lc-info__content p:last-child:has(> a:only-child:not(:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i]))) {
  margin: auto 0 0; padding-top: 12px;
}
.lc-info__content p:last-child > a:only-child:not(:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i])) {
  font-weight: 700; color: var(--lc-primary-strong); text-decoration: none;
}
.lc-info__content p:last-child > a:only-child:not(:is([href$=".pdf" i], [href$=".doc" i], [href$=".docx" i], [href$=".xls" i], [href$=".xlsx" i]))::after { content: " →"; }
.lc-info__content p:last-child > a:only-child:hover { text-decoration: underline; }

/* --- inner pages --- */
.lc-page { padding-block: 24px 56px; }
.lc-breadcrumbs { margin-bottom: 18px; font-size: .9375rem; }
.lc-breadcrumbs .breadcrumb { background: transparent; padding: 0; margin: 0; }
.lc-layout { display: grid; gap: 32px; }
@media (min-width: 1024px) {
  .lc-layout--left, .lc-layout--right { gap: 40px; }
  .lc-layout--right { grid-template-columns: minmax(0, 1fr) 320px; }
  .lc-layout--left { grid-template-columns: 280px minmax(0, 1fr); }
  .lc-layout--left.lc-layout--right { grid-template-columns: 260px minmax(0, 1fr) 300px; }
}
@media (max-width: 1023px) {
  .lc-layout__aside--left { order: 2; }   /* phone and tablet: content first */
  .lc-layout__aside--right { order: 3; }
}
.lc-layout__main { min-width: 0; }
.lc-component {
  background: var(--lc-surface);
  border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-card);
  padding: 22px 18px;
}
@media (min-width: 768px) { .lc-component { padding: 32px 36px; } }
.lc-component > :first-child { margin-top: 0; }
.lc-component .page-header h1, .lc-component .page-header h2 { margin-top: 0; }
.lc-component .item-title a, .lc-component .page-header a { text-decoration: none; }
.lc-component table { width: 100%; }
/* embedded content must not be wider than the column; video (YouTube, Vimeo, Facebook) full width, 16:9 */
.lc-component iframe { max-width: 100%; border: 0; }
.lc-component iframe:is([src*="youtube.com/embed"], [src*="youtube-nocookie.com/embed"], [src*="player.vimeo.com"], [src*="facebook.com/plugins/video"]) {
  display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-block: 1em;
  border-radius: var(--lc-radius-photo);
}
.lc-component .com-content-category__table a { font-weight: 600; text-decoration: none; }
.lc-component .blog-item + .blog-item { border-top: 1px solid var(--lc-border-soft); padding-top: 20px; margin-top: 20px; }
.lc-component .com-content-categories__item,
.lc-component .com-content-categories__items > div { border-bottom: 1px solid var(--lc-border-soft); padding-block: 10px; }
/* category article list (html/com_content/category/default_articles.php) instead of a table */
.lc-list__tools {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 14px;
}
.lc-list__filter { display: flex; flex-wrap: wrap; gap: 8px; }
.lc-list__filter .form-control, .lc-list__filter .form-select { width: auto; min-width: 200px; }
.lc-list__limit { display: flex; align-items: center; gap: 8px; margin-left: auto; font-size: .875rem; color: var(--lc-muted); }
.lc-list__limit .form-select { width: auto; }
.lc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--lc-border-soft); }
.lc-list__item { position: relative; border-bottom: 1px solid var(--lc-border-soft); }
.lc-list__link {
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 16px; align-items: center;
  padding: 14px 6px; color: inherit; text-decoration: none; border-radius: var(--lc-radius-photo);
  transition: background 150ms ease;
}
.lc-list__link:hover { background: var(--lc-tint); color: inherit; }
.lc-list__date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  aspect-ratio: 1 / 1; border-radius: var(--lc-radius-photo);
  background: var(--lc-tint); color: var(--lc-primary-strong); line-height: 1.1;
}
.lc-list__date strong { font-size: 1.375rem; line-height: 1; }
.lc-list__date span { font-size: .6875rem; font-weight: 700; letter-spacing: .06em; }
.lc-list__link:hover .lc-list__date { background: var(--lc-primary-strong); color: #FFF; }
.lc-list__text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lc-list__title { font-weight: 600; font-size: 1.0625rem; line-height: 1.35; color: var(--lc-ink); }
.lc-list__link:hover .lc-list__title { color: var(--lc-primary); }
/* a row like .article-info (article dates), with the number of images and files (_media.php) */
.lc-list__meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5em; row-gap: 2px; font-size: .875rem; color: var(--lc-muted); }
.lc-list__text .badge { align-self: flex-start; }
.lc-list__arrow { font-size: 1.25rem; color: var(--lc-primary); transition: transform 150ms ease; }
.lc-list__link:hover .lc-list__arrow { transform: translateX(3px); }
.lc-list__edit { position: absolute; top: 8px; right: 36px; }
.lc-list__empty { color: var(--lc-muted); }
.lc-list__pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.lc-list__pages .lc-list__meta { margin: 0; }
@media (max-width: 479px) {
  .lc-list__link { grid-template-columns: 52px minmax(0, 1fr); gap: 12px; }
  .lc-list__arrow { display: none; }
  .lc-list__date strong { font-size: 1.125rem; }
}
.lc-module {
  background: var(--lc-surface); border: 1px solid var(--lc-border);
  border-radius: var(--lc-radius-card); padding: 18px 20px; margin-bottom: 20px;
}
.lc-module__title { font-size: 1.125rem; margin: 0 0 12px; }

/* --- footer --- */
.lc-footer {
  background: var(--lc-footer) linear-gradient(135deg, var(--lc-footer-start) 0%, var(--lc-footer) 38%, var(--lc-footer-end) 100%);
  color: var(--lc-on-footer);
  font-size: 15.5px;
}
.lc-footer a { color: var(--lc-on-footer); text-underline-offset: 3px; text-decoration: none; }
.lc-footer a:hover, .lc-footer a:focus-visible { color: var(--lc-on-footer); text-decoration: underline; text-decoration-thickness: 2px; }
.lc-footer :focus-visible { outline-color: var(--lc-on-footer); }
.lc-footer__inner { display: grid; gap: 32px; padding-block: 44px 32px; }
.lc-footer__logo { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-family: var(--lc-font-display); font-weight: 700; font-size: 1.125rem; }
.lc-footer__logo img { width: auto; height: 50px; max-width: 160px; object-fit: contain; }
.lc-footer__address, .lc-footer__hours { margin: 0 0 14px; color: var(--lc-on-footer-muted); line-height: 1.7; }
.lc-footer__title { font-family: var(--lc-font-display); font-weight: 700; margin: 0 0 10px; color: var(--lc-on-footer); }
.lc-footer__menu { list-style: none; margin: 0; padding: 0; color: var(--lc-on-footer-muted); }
.lc-footer__menu li { margin-bottom: 8px; }
.lc-footer__bottom {
  display: flex; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  border-top: 1px solid var(--lc-on-footer-border); padding-block: 18px 24px;
}
.lc-footer .lc-meta { color: var(--lc-on-footer-muted); }
.lc-footer .mod-menu { list-style: none; margin: 0; padding: 0; display: block; color: var(--lc-on-footer-muted); }
.lc-footer .mod-menu li { margin-bottom: 8px; }
@media (min-width: 768px) {
  /* first column wider, the others (contact, data, footer modules – as many as there are) equal, in one row */
  .lc-footer__inner { grid-template-columns: minmax(0, 1.3fr); grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 40px; padding-block: 52px 40px; }
}

/* --- header options --- */
.lc-sticky .lc-header { position: sticky; top: 0; }
.lc-header__search { display: flex; align-items: center; }
.lc-header__search :is(form, .mod-finder) { margin: 0; }

/* --- section variants (Module Class on home-a, chrome section.php) --- */
.lc-section.lc-section--full { padding-block: 0; }
.lc-section--full + .lc-section { padding-top: 40px; }
.lc-section.lc-section--band {
  background: var(--lc-footer) linear-gradient(135deg, var(--lc-footer-start) 0%, var(--lc-footer) 38%, var(--lc-footer-end) 100%);
  color: var(--lc-on-footer); padding-block: 48px;
}
.lc-section--band :is(h2, h3, h4, .lc-eyebrow) { color: var(--lc-on-footer); }
.lc-section--band a:not(.lc-btn) { color: var(--lc-on-footer); }
.lc-section.lc-section--cta { background: var(--lc-tint); padding-block: 48px; text-align: center; }
.lc-section--cta .lc-container > :last-child { margin-bottom: 0; }
.lc-section--band + .lc-section, .lc-section--cta + .lc-section { padding-top: 40px; }

/* --- bottom columns (bottom-a, bottom-b, bottom-c) --- */
.lc-bottom { background: var(--lc-surface); border-top: 1px solid var(--lc-border); }
.lc-bottom__grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .lc-bottom__grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; } }
.lc-bottom .lc-module { margin-bottom: 0; }

/* --- hero band: bubbles, photo, content --- */
.lc-hero__bubbles { position: absolute; inset: 0; pointer-events: none; }
.lc-hero__bubbles i { position: absolute; border-radius: 50%; opacity: .5; animation: lc-float 7s ease-in-out infinite; }
.lc-hero__bubbles i:nth-child(1) { width: 90px; height: 90px; background: var(--lc-deco-1); top: 14%; left: 4%; }
.lc-hero__bubbles i:nth-child(2) { width: 60px; height: 60px; background: var(--lc-deco-2); top: 62%; left: 10%; animation-delay: 1.5s; }
.lc-hero__bubbles i:nth-child(3) { width: 110px; height: 110px; background: var(--lc-deco-3); top: 20%; right: 4%; animation-delay: .8s; }
.lc-hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.lc-hero__edge svg { display: block; width: 100%; height: 56px; }
.lc-hero__edge path { fill: var(--lc-page); }
.lc-hero--bubbles { padding-bottom: 72px; }
@keyframes lc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@media (max-width: 767px) {   /* phone: one small bubble in the corner, away from the text */
  .lc-hero__bubbles i:nth-child(n + 2) { display: none; }
  .lc-hero__bubbles i:nth-child(1) { width: 56px; height: 56px; top: -14px; left: -18px; }
}

.lc-hero--photo {
  --lc-on-hero: #FFFFFF;
  background: #1E2A36 var(--lc-hero-image) center / cover no-repeat;
  padding-block: clamp(56px, 9vw, 120px);
}
.lc-hero--photo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10, 14, 20, var(--lc-hero-overlay, .55)), rgba(10, 14, 20, calc(var(--lc-hero-overlay, .55) * .45)));
}
.lc-hero--photo :is(h1, h2, h3, p, a:not(.lc-btn)) { color: var(--lc-on-hero); }

/* hero text from a Custom module: large heading, readable width */
.lc-hero .mod-custom > :is(h1, h2):first-child, .lc-hero__title {
  margin: 0 0 .4em; font-family: var(--lc-font-heading); font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); line-height: 1.12;
}
.lc-hero .mod-custom p { max-width: 60ch; font-size: 1.125rem; }
.lc-hero .mod-custom p:has(> .lc-btn) { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

/* --- top bar: contact --- */
.lc-topbar__contact { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.lc-topbar__contact li { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 767px) { .lc-topbar__contact li:nth-child(3) { display: none; } }   /* phone: hours are in the footer */
.lc-topbar__contact .icon { width: 15px; height: 15px; flex: 0 0 auto; opacity: .85; }
.lc-topbar__social { display: inline-flex; gap: 6px; }
.lc-topbar__social a {
  display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%;
  background: color-mix(in srgb, var(--lc-on-topbar) 16%, transparent); font-size: .6875rem; font-weight: 700; text-transform: uppercase;
}
.lc-topbar__social a:hover { background: var(--lc-on-topbar); color: var(--lc-topbar); text-decoration: none; }

/* --- footer: slogan, map --- */
.lc-footer__slogan { margin: 0 0 14px; color: var(--lc-on-footer-muted); }
.lc-footer__map { min-width: 0; }
.lc-footer__map iframe { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; border: 0; border-radius: var(--lc-radius-card); }

/* --- helper classes for editor content (see README) ---
   lc-btn, lc-btn--outline, lc-btn--light: buttons in text; lc-split: text and image side by side;
   lc-grid + lc-card: a grid of cards. */
.lc-btn { background: var(--lc-accent); color: var(--lc-on-accent); border: 2px solid transparent; }
.lc-btn:hover { background: var(--lc-accent-strong); color: var(--lc-on-accent); }
.lc-btn:focus-visible { outline-offset: 3px; }
.lc-btn.lc-btn--outline { background: transparent; color: var(--lc-accent); border-color: currentColor; }
.lc-btn.lc-btn--outline:hover { background: var(--lc-accent); color: var(--lc-on-accent); border-color: var(--lc-accent); }
.lc-btn.lc-btn--light { background: #FFFFFF; color: var(--lc-ink); }
.lc-btn.lc-btn--light.lc-btn--outline { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }
.lc-btn.lc-btn--light.lc-btn--outline:hover { background: #FFFFFF; color: var(--lc-ink); }

.lc-split { display: grid; gap: 24px 48px; align-items: center; margin-block: 1em; }
.lc-split > * { min-width: 0; margin: 0; }
.lc-split img { display: block; width: 100%; height: auto; border-radius: var(--lc-radius-card); }
@media (min-width: 768px) {
  .lc-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lc-split--reverse > :first-child { order: 2; }
}

.lc-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); margin-block: 1em; padding: 0; list-style: none; }
.lc-card {
  display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 20px 22px;
  background: var(--lc-surface); border: 1px solid var(--lc-border); border-radius: var(--lc-radius-card); box-shadow: var(--lc-shadow-card);
  overflow-wrap: anywhere;   /* long e-mail addresses and URLs */
}
.lc-card > :first-child { margin-top: 0; }
.lc-card > :last-child { margin-bottom: 0; }
.lc-card img { display: block; width: calc(100% + 44px); max-width: none; margin: -20px -22px 4px; border-radius: var(--lc-radius-card) var(--lc-radius-card) 0 0; }
.lc-card :is(h2, h3, h4) { margin: 0; font-size: 1.1875rem; }
.lc-card a:only-child:last-child, .lc-card p:last-child > a:only-child { font-weight: 600; }
.lc-section--band .lc-card, .lc-hero--photo .lc-card { color: var(--lc-body); }

/* --- error page --- */
.lc-error h1 { margin-top: 8px; }
.lc-search--error { max-width: 640px; padding-block: 8px 24px; }
.lc-error__details { white-space: pre-wrap; background: var(--lc-surface); padding: 12px; border: 1px solid var(--lc-border); }

/* --- number of images and files next to article dates (helper.php mediaInfo) --- */
.lc-media-info { margin: 0; }

/* --- article details: dates in one row (the "Details" heading stays for screen readers only) --- */
.article-info { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 1.5em; row-gap: 2px; margin: 0 0 1rem; }
.article-info > dd { margin: 0; }
.article-info > dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* --- high contrast: no coloured backgrounds (white background, black text and lines, black buttons) --- */
[data-lc-contrast="high"] .lc-topbar { background: #FFFFFF; color: #000000; border-bottom: 2px solid #000000; }
[data-lc-contrast="high"] .lc-topbar a,
[data-lc-contrast="high"] .lc-topbar__label { color: #000000; }
[data-lc-contrast="high"] .lc-textsize button,
[data-lc-contrast="high"] .lc-contrast-toggle { border-color: #000000; color: #000000; }
[data-lc-contrast="high"] .lc-textsize button:hover,
[data-lc-contrast="high"] .lc-contrast-toggle:hover { background: transparent; text-decoration: underline; }
[data-lc-contrast="high"] .lc-textsize button[aria-pressed="true"]:not([data-lc-text="normal"]),
[data-lc-contrast="high"] .lc-contrast-toggle[aria-pressed="true"] { background: #000000; color: #FFFFFF; }
[data-lc-contrast="high"] .lc-hero { border-bottom: 2px solid #000000; }
[data-lc-contrast="high"] :is(.lc-hero__waves, .lc-hero__bubbles, .lc-hero__edge) { display: none; }
[data-lc-contrast="high"] .lc-hero--photo { background: #FFFFFF; --lc-on-hero: #000000; }
[data-lc-contrast="high"] .lc-hero--photo::before { display: none; }
[data-lc-contrast="high"] .lc-topbar__social a { border: 1px solid #000000; }
[data-lc-contrast="high"] .lc-footer { border-top: 2px solid #000000; }
[data-lc-contrast="high"] .lc-footer :focus-visible { outline-color: #000000; }
[data-lc-contrast="high"] .lc-footer__bottom { border-top-color: #000000; }
[data-lc-contrast="high"] .lc-mega { background: #FFFFFF; border: 1px solid #000000; }
[data-lc-contrast="high"] :is(.lc-nav__toggle, .lc-search-toggle, .lc-nav__link, .lc-nav__mega-toggle):hover,
[data-lc-contrast="high"] .lc-nav__mega-toggle[aria-expanded="true"] { background: transparent; text-decoration: underline; }
[data-lc-contrast="high"] :is(.lc-tile, .lc-info) { --lc-tone: #000000; --lc-tone-bg: #FFFFFF; }
[data-lc-contrast="high"] .lc-tile__icon { border: 1px solid #000000; }
[data-lc-contrast="high"] :is(.lc-notice__date, .lc-list__date) { color: #000000; border: 1px solid #000000; }
[data-lc-contrast="high"] :is(.lc-latest__item a:hover .lc-notice__date, .lc-list__link:hover .lc-list__date) { background: #000000; color: #FFFFFF; }
[data-lc-contrast="high"] .lc-list__link:hover { background: transparent; }
[data-lc-contrast="high"] .lc-info__content a::after { background: #000000; }

/* --- reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- print --- */
@media print {
  .lc-topbar, .lc-header, .lc-hero__waves, .lc-footer__inner, .lc-news-slider__controls { display: none !important; }
  .lc-component { border: 0; padding: 0; }
}

/* whole photos (style setting "Photos in frames" = whole): a photo is never cropped (faces!); the rest of the frame
   is a blurred, enlarged copy of the same photo (--lc-img from the markup, no extra download), dark without it */
html[data-lc-photos="fit"] :is(.lc-news-card__img, .lc-latest__img, .lc-slide__media, .lc-slide__thumb, .lc-tile__img, .lc-blog-image > a, .lc-media__link) {
  position: relative; isolation: isolate; overflow: hidden; background-color: #222;
}
html[data-lc-photos="fit"] :is(.lc-news-card__img, .lc-latest__img, .lc-slide__media, .lc-slide__thumb, .lc-tile__img, .lc-blog-image > a, .lc-media__link)::before {
  content: ""; position: absolute; inset: -24px; z-index: -1; pointer-events: none;
  background: var(--lc-img, none) center / cover no-repeat;
  filter: blur(16px) brightness(.85) saturate(1.1);
}
html[data-lc-photos="fit"] .lc-blog-image > a { display: block; }
html[data-lc-photos="fit"] :is(.lc-news-card__img, .lc-latest__img, .lc-slide__media, .lc-slide__thumb, .lc-tile__img, .lc-blog-image > a, .lc-media__link) img { object-fit: contain; }
html[data-lc-photos="fit"] .lc-component img { object-fit: contain; }
:root[data-lc-contrast="high"] :is(.lc-news-card__img, .lc-latest__img, .lc-slide__media, .lc-slide__thumb, .lc-tile__img, .lc-blog-image > a, .lc-media__link)::before { display: none; }
