/* Elegant Glass: minimal, reversible skin. Base layout and content remain unchanged. */
:root { --glass-edge: rgba(255,255,255,.19); --glass-highlight: rgba(255,255,255,.11); }
/* Navigation: a translucent ink-colored surface that gains depth over scrolled content. */
.site-header {
  background: linear-gradient(115deg,rgba(31,31,31,.81),rgba(9,9,9,.74) 58%,rgba(21,19,16,.82));
  border-bottom: 1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
  backdrop-filter: blur(18px) saturate(115%);
  box-shadow: inset 0 1px rgba(255,255,255,.085), 0 8px 28px rgba(0,0,0,.18);
}
.language-switcher {
  background: linear-gradient(135deg,rgba(255,255,255,.105),rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.23);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px rgba(255,255,255,.10), 0 7px 18px rgba(0,0,0,.15);
}
.language-switcher a:not([aria-current="page"]):hover { background: rgba(255,255,255,.15); }
/* Series cards preserve their distinct illustrated backgrounds: only the surface treatment changes. */
#serie .series-card {
  background: linear-gradient(138deg,rgba(255,255,255,.105),rgba(255,255,255,.045) 43%,rgba(200,168,117,.025) 100%), #101010;
  border-color: rgba(255,255,255,.215);
  box-shadow: inset 0 1px rgba(255,255,255,.11), 0 16px 36px rgba(0,0,0,.22);
}
#serie .series-card::before {
  background: linear-gradient(90deg,rgba(15,15,15,.93) 0%,rgba(16,16,16,.79) 48%,rgba(19,19,19,.21) 100%);
}
#serie .series-card--cuba { border-color: rgba(200,168,117,.35); }
#serie .series-card:hover, #serie .series-card:focus-visible {
  background: linear-gradient(138deg,rgba(255,255,255,.13),rgba(255,255,255,.05) 60%,rgba(200,168,117,.055)), #111;
  border-color: rgba(200,168,117,.65);
  box-shadow: inset 0 1px rgba(255,255,255,.16), 0 20px 46px rgba(0,0,0,.32);
}
/* Small navigation/control surfaces, not the artwork or descriptive content. */
.filter-btn:not(.active), .button.secondary {
  background: linear-gradient(140deg,rgba(255,255,255,.105),rgba(255,255,255,.025));
  border-color: rgba(255,255,255,.20);
  box-shadow: inset 0 1px rgba(255,255,255,.085);
}
.filter-btn:not(.active):hover, .button.secondary:hover {
  background: linear-gradient(140deg,rgba(255,255,255,.17),rgba(255,255,255,.055));
  border-color: rgba(200,168,117,.48);
}
.modal-close, .modal-nav,
#photoViewer .photo-viewer-nav, #photoViewer .photo-viewer-close,
.portfolio-atmosphere-viewer .portfolio-viewer-close,
.portfolio-atmosphere-viewer .portfolio-viewer-arrow {
  background: linear-gradient(145deg,rgba(255,255,255,.16),rgba(18,18,18,.62));
  border-color: rgba(255,255,255,.30);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px rgba(255,255,255,.17), 0 8px 24px rgba(0,0,0,.24);
}
.modal-close:hover, .modal-nav:hover,
#photoViewer .photo-viewer-nav:hover, #photoViewer .photo-viewer-close:hover,
.portfolio-atmosphere-viewer .portfolio-viewer-close:hover,
.portfolio-atmosphere-viewer .portfolio-viewer-arrow:hover {
  background: linear-gradient(145deg,rgba(255,255,255,.22),rgba(31,30,28,.70));
  border-color: rgba(200,168,117,.68);
}
/* Preserve stronger contrast and simpler compositing on compact screens. */
@media(max-width:760px) {
  .site-header {background:rgba(13,13,13,.93);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);}
  #serie .series-card::before {background:linear-gradient(90deg,rgba(15,15,15,.96),rgba(17,17,17,.84) 54%,rgba(19,19,19,.25));}
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
  .site-header {background:#171717;}
  .language-switcher {background:#242424;}
  .modal-close,.modal-nav,#photoViewer .photo-viewer-nav,#photoViewer .photo-viewer-close,
  .portfolio-atmosphere-viewer .portfolio-viewer-close,.portfolio-atmosphere-viewer .portfolio-viewer-arrow {background:#252525;}
}
@media(prefers-reduced-motion:reduce) {
  #serie .series-card {transition:none;}
}


/* 2026-11-02: Variant 3 – exhibition tiles tuned into Elegant Glass surfaces with subtle colour glows. */
.exhibitions-section .event-banner {
  --event-accent-rgb: 214, 0, 101;
  --event-accent-soft: rgba(var(--event-accent-rgb), .16);
  --event-accent-line: rgba(var(--event-accent-rgb), .34);
  --event-accent-glow: rgba(var(--event-accent-rgb), .19);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(140deg, rgba(255,255,255,.11), rgba(255,255,255,.035) 38%, rgba(255,255,255,.015) 100%),
    linear-gradient(180deg, rgba(12,12,12,.95), rgba(8,8,8,.88));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px rgba(255,255,255,.12),
    0 18px 46px rgba(0,0,0,.34),
    0 0 0 1px rgba(255,255,255,.03);
  -webkit-backdrop-filter: blur(14px) saturate(118%);
  backdrop-filter: blur(14px) saturate(118%);
}
.exhibitions-section .event-banner::before {
  content: "";
  position: absolute;
  inset: auto auto -30% -10%;
  width: 62%;
  height: 72%;
  background: radial-gradient(circle at center, var(--event-accent-glow) 0%, rgba(var(--event-accent-rgb), .08) 34%, rgba(var(--event-accent-rgb), 0) 72%);
  filter: blur(12px);
  pointer-events: none;
  z-index: 0;
}
.exhibitions-section .event-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,0) 24%),
    linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,0) 28%);
  pointer-events: none;
  z-index: 0;
}
.exhibitions-section .event-banner > * {
  position: relative;
  z-index: 1;
}
.exhibitions-section .event-banner .eyebrow {
  color: rgba(255,255,255,.76);
  letter-spacing: .18em;
}
.exhibitions-section .event-banner h2,
.exhibitions-section .event-banner p:not(.eyebrow),
.exhibitions-section .event-banner-meta strong {
  color: #f5f1ef;
}
.exhibitions-section .event-banner-meta,
.exhibitions-section .event-banner-meta > span {
  color: rgba(255,255,255,.78);
}
.exhibitions-section .event-banner-logo {
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.28));
  opacity: .95;
}
.exhibitions-section .event-banner .event-button {
  background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.18);
  color: #f6f2f0;
  box-shadow: inset 0 1px rgba(255,255,255,.11);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.exhibitions-section .event-banner .event-button:hover,
.exhibitions-section .event-banner .event-button:focus-visible {
  background: linear-gradient(145deg, rgba(255,255,255,.23), rgba(255,255,255,.08));
  border-color: var(--event-accent-line);
  color: #ffffff;
}
.exhibitions-section .event-banner .event-button:focus-visible {
  outline: 2px solid rgba(255,255,255,.72);
  outline-offset: 4px;
}
.exhibitions-section .event-banner:not(.event-banner-chilli) {
  --event-accent-rgb: 214, 0, 101;
}
.exhibitions-section .event-banner:not(.event-banner-chilli) .eyebrow {
  color: rgba(255, 193, 226, .9);
}
.exhibitions-section .event-banner:not(.event-banner-chilli) {
  border-color: rgba(255,255,255,.16);
  box-shadow:
    inset 0 1px rgba(255,255,255,.11),
    0 20px 52px rgba(0,0,0,.35),
    0 0 30px rgba(214,0,101,.10);
}
.exhibitions-section .event-banner.event-banner-chilli {
  --event-accent-rgb: 232, 72, 53;
  border-color: rgba(255,255,255,.14);
  box-shadow:
    inset 0 1px rgba(255,255,255,.10),
    0 20px 52px rgba(0,0,0,.35),
    0 0 28px rgba(232,72,53,.08);
}
.exhibitions-section .event-banner.event-banner-chilli .eyebrow {
  color: rgba(255, 166, 151, .92);
}
.exhibitions-section .event-banner.event-banner-chilli .event-banner-chilli-logo {
  filter: drop-shadow(0 10px 28px rgba(0,0,0,.3));
}
.exhibitions-section .event-banner.event-banner-chilli::before {
  inset: auto -6% -34% auto;
  width: 58%;
  height: 74%;
}
.exhibitions-section .exhibitions-past-events .event-banner {
  background:
    linear-gradient(140deg, rgba(255,255,255,.08), rgba(255,255,255,.025) 38%, rgba(255,255,255,.01) 100%),
    linear-gradient(180deg, rgba(12,12,12,.92), rgba(9,9,9,.86));
}
@media (max-width: 700px) {
  .exhibitions-section .event-banner::before {
    width: 82%;
    height: 64%;
    inset: auto auto -24% -18%;
  }
  .exhibitions-section .event-banner.event-banner-chilli::before {
    inset: auto -20% -28% auto;
    width: 78%;
  }
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))) {
  .exhibitions-section .event-banner {
    background: linear-gradient(180deg, rgba(20,20,20,.98), rgba(10,10,10,.96));
  }
  .exhibitions-section .event-banner .event-button {
    background: rgba(255,255,255,.09);
  }
}


/* Galerie: high-contrast glass filters. Explicit state colours win over generic hover rules. */
.filters .filter-btn {
  color: #f5f1ef;
  background: linear-gradient(145deg,rgba(255,255,255,.17),rgba(255,255,255,.075));
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: inset 0 1px rgba(255,255,255,.13), 0 4px 14px rgba(0,0,0,.20);
  transition: background .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}
.filters .filter-btn.series-filter:not(.active):hover,
.filters .filter-btn.series-filter:not(.active):focus-visible {
  color: #fff;
  background: linear-gradient(145deg,rgba(200,168,117,.27),rgba(255,255,255,.10));
  border-color: rgba(200,168,117,.78);
  box-shadow: inset 0 1px rgba(255,255,255,.16), 0 0 0 1px rgba(200,168,117,.09);
}
.filters .filter-btn.active:not(.status-filter) {
  color: #16110b;
  border-color: #c8a875;
  background: #c8a875;
  box-shadow: inset 0 1px rgba(255,255,255,.23), 0 6px 18px rgba(200,168,117,.14);
}
.filters .filter-btn.active:not(.status-filter):hover {background: #dec095; color:#16110b;}
.filters .filter-btn.status-filter:not(.active) {
  color: #f0dcc2;
  background: linear-gradient(145deg,rgba(200,168,117,.17),rgba(255,255,255,.075));
  border-color: rgba(200,168,117,.46);
}
.filters .filter-btn.status-dostupne:not(.active):hover,
.filters .filter-btn.status-dostupne:not(.active):focus-visible {
  color: #f4fff9;
  background: linear-gradient(145deg,rgba(38,137,94,.52),rgba(22,70,49,.42));
  border-color: rgba(101,209,152,.8);
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 0 0 1px rgba(101,209,152,.12);
}
.filters .filter-btn.status-prodano:not(.active):hover,
.filters .filter-btn.status-prodano:not(.active):focus-visible {
  color: #fff;
  background: linear-gradient(145deg,rgba(125,126,142,.54),rgba(64,65,78,.45));
  border-color: rgba(185,185,198,.85);
  box-shadow: inset 0 1px rgba(255,255,255,.15), 0 0 0 1px rgba(185,185,198,.10);
}
.filters .filter-btn.status-dostupne.active,
.filters .filter-btn.status-dostupne.active:hover {
  color: #08170f;
  background: #69c99c;
  border-color: #69c99c;
  box-shadow: inset 0 1px rgba(255,255,255,.22), 0 6px 18px rgba(49,190,126,.16);
}
.filters .filter-btn.status-prodano.active,
.filters .filter-btn.status-prodano.active:hover {
  color: #111116;
  background: #b5b7c2;
  border-color: #b5b7c2;
  box-shadow: inset 0 1px rgba(255,255,255,.22), 0 6px 18px rgba(181,183,194,.13);
}
.filters .filter-btn:focus-visible {
  outline: 2px solid #e1c398;
  outline-offset: 3px;
}
@media (prefers-reduced-motion:reduce) {
  .filters .filter-btn {transition:none;}
}


/* Entire Open ART Fest exhibition card is a keyboard-accessible link. */
.exhibitions-section .event-banner:has(> .event-card-link) {
  cursor:pointer;
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.exhibitions-section .event-banner > .event-card-link {
  position:absolute;inset:0;z-index:3;display:block;
  border-radius:inherit;
  background:transparent;
  text-decoration:none;
}
.exhibitions-section .event-banner:has(> .event-card-link:hover),
.exhibitions-section .event-banner:has(> .event-card-link:focus-visible) {
  border-color:rgba(232,159,194,.47);
  box-shadow:inset 0 1px rgba(255,255,255,.15), 0 22px 56px rgba(0,0,0,.37), 0 0 32px rgba(214,0,101,.14);
}
.exhibitions-section .event-banner > .event-card-link:focus-visible {
  outline:2px solid #e3c19e;
  outline-offset:4px;
}
@media(prefers-reduced-motion:reduce){
  .exhibitions-section .event-banner:has(> .event-card-link){transition:none;}
}
