/* Self-hosted Open Sans & Lora (latin + latin-ext) */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/OpenSans-Regular-webfont.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/OpenSans-Italic-webfont.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/OpenSans-Bold-webfont.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/OpenSans-BoldItalic-webfont.woff2') format('woff2');
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-400-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-400-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-400-italic.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-400-italic.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-600-normal.woff2') format('woff2');
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/lora-latin-600-normal.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+FEFF, U+FFFD;
}

:root {
  --bg-canvas: #fbfaf6;
  --bg-surface: #ffffff;
  --bg-subtle: #f3f0e8;
  --ink-primary: #1e2117;
  --ink-secondary: #595d4e;
  --brand-olive: #353a27;
  --brand-olive-hover: #25291b;
  --brand-copper: #c86419;
  --brand-amber: #e59852;
  --border-soft: rgba(53, 58, 39, 0.13);
  --shadow-sm: 0 2px 10px rgba(30, 33, 23, 0.05);
  --shadow-md: 0 10px 30px rgba(30, 33, 23, 0.08);
  --shadow-lg: 0 20px 50px rgba(24, 27, 18, 0.14);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-primary);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand-copper);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease, opacity 0.18s ease;
}

a:hover, a:focus {
  color: var(--brand-olive);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.25;
  margin: 1.25rem 0 0.6rem;
  color: var(--ink-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.85rem, 3vw, 2.5rem); }
h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); }
h3 { font-size: 1.25rem; }

.sr-only,
.element-invisible {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.element-invisible.element-focusable:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  background: var(--brand-olive);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 76rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  margin-left: auto;
  margin-right: auto;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.l-wrapper {
  flex: 1 0 auto;
  padding-top: 2rem;
}

.l-header, .l-footer {
  flex: 0 0 auto;
}

/* Sticky Glassmorphism Header */
.l-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 250, 246, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.l-header a {
  text-decoration: none;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  min-height: 76px;
  padding: 0.6rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--ink-primary);
  flex-shrink: 0;
}

.header-logo-wrapper {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
  background: #fff;
  flex-shrink: 0;
}

.header-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--brand-olive);
  letter-spacing: 0.01em;
}

.brand-slogan {
  font-size: 0.78rem;
  color: var(--ink-secondary);
  font-style: italic;
  margin-top: 0.12rem;
}

/* Main Navigation Pills */
.block-system-main-menu {
  display: flex;
  align-items: center;
}

.block-system-main-menu .menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.block-system-main-menu .menu li {
  margin: 0;
}

.block-system-main-menu .menu a {
  display: inline-block;
  padding: 0.44rem 0.72rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-primary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.block-system-main-menu .menu a:hover,
.block-system-main-menu .menu a:focus {
  background: var(--bg-subtle);
  color: var(--brand-olive);
}

.block-system-main-menu .menu a.active {
  background: var(--brand-olive);
  color: #ffffff;
}

.mobile-only-nav-item {
  display: none;
}

.header-right-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.header-search-form {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.15rem 0.25rem 0.15rem 0.8rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search-form:focus-within {
  border-color: var(--brand-olive);
  box-shadow: 0 0 0 3px rgba(53, 58, 39, 0.1);
}

.header-search-form input[type="search"] {
  border: 0;
  background: transparent;
  font-size: 0.86rem;
  font-family: inherit;
  width: 120px;
  color: var(--ink-primary);
  padding: 0.28rem 0;
}

.header-search-form input[type="search"]:focus {
  outline: none;
}

.header-search-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: var(--bg-subtle);
  color: var(--brand-olive);
  cursor: pointer;
  transition: background-color 0.18s, color 0.18s;
}

.header-search-form button:hover {
  background: var(--brand-olive);
  color: #ffffff;
}

.header-admin-pill {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 0.42rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.18s ease;
}

.header-admin-pill:hover {
  border-color: var(--brand-olive);
  color: var(--brand-olive);
  background: #ffffff;
}

.menu-toggle-button {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  cursor: pointer;
  color: var(--brand-olive);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
}

.menu-toggle-icon {
  display: inline-flex;
  flex-direction: column;
  gap: 3.5px;
  width: 16px;
}

.menu-toggle-icon span {
  display: block;
  height: 2px;
  background: var(--brand-olive);
  border-radius: 2px;
}

@media (max-width: 1240px) {
  .block-system-main-menu .menu a {
    padding: 0.42rem 0.58rem;
    font-size: 0.84rem;
  }
  .brand-title {
    font-size: 0.94rem;
  }
}

@media (max-width: 1120px) {
  .header-bar {
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }
  .block-system-main-menu {
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .menu-toggle-button {
    display: inline-flex;
    align-self: flex-start;
  }
  .block-system-main-menu .menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0.65rem 0 0.25rem;
  }
  .block-system-main-menu .menu.is-open {
    display: flex;
  }
  .block-system-main-menu .menu a {
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.85rem;
  }
  .mobile-only-nav-item {
    display: block;
  }
  .header-admin-pill {
    display: none;
  }
}

@media (max-width: 580px) {
  .brand-title { font-size: 0.9rem; }
  .brand-slogan { font-size: 0.72rem; }
  .header-logo-wrapper { width: 40px; height: 40px; border-radius: 10px; }
  .header-right-tools { width: 100%; }
  .header-search-form { width: 100%; }
  .header-search-form input[type="search"] { width: 100%; flex: 1; }
}

/* Subtle Modern Breadcrumbs */
.breadcrumb {
  margin: 0 0 1.25rem;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  color: var(--ink-secondary);
}

.breadcrumb li + li::before {
  content: '/';
  margin: 0 0.45rem;
  color: rgba(89, 93, 78, 0.45);
}

.breadcrumb a {
  color: var(--ink-secondary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb a:hover {
  color: var(--brand-copper);
}

.page-title {
  margin-top: 0;
  margin-bottom: 1rem;
  color: var(--ink-primary);
}

/* Modern Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1.3rem;
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.16s ease, background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  line-height: 1.2;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-olive);
  color: #ffffff;
  border-color: var(--brand-olive);
  box-shadow: 0 4px 12px rgba(53, 58, 39, 0.2);
}

.btn-primary:hover {
  background: var(--brand-olive-hover);
  border-color: var(--brand-olive-hover);
  color: #ffffff;
}

.btn-secondary {
  background: var(--brand-amber);
  color: #1d1a14;
  border-color: var(--brand-amber);
}

.btn-secondary:hover {
  background: #dc8a40;
  border-color: #dc8a40;
  color: #1d1a14;
}

.btn-outline,
.btn-outline-olive {
  background: #ffffff;
  color: var(--brand-olive);
  border-color: rgba(53, 58, 39, 0.28);
}

.btn-outline:hover,
.btn-outline-olive:hover {
  background: var(--brand-olive);
  border-color: var(--brand-olive);
  color: #ffffff;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  border-color: #ffffff;
}

.btn-block {
  width: 100%;
  margin-bottom: 0.55rem;
}

/* Modern Editorial Hero */
.gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  padding: 2.5rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f2e9 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
}

@media (max-width: 900px) {
  .gallery-hero {
    grid-template-columns: 1fr;
    padding: 1.5rem;
    gap: 1.75rem;
  }
}

.hero-eyebrow {
  display: inline-block;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
  background: rgba(200, 100, 25, 0.11);
  color: var(--brand-copper);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.9rem;
}

.hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.14;
  color: var(--brand-olive);
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--ink-secondary);
  margin: 0 0 1.5rem;
  max-width: 54ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.85rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-soft);
}

@media (max-width: 540px) {
  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

.hero-metric strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--brand-olive);
}

.hero-metric span {
  font-size: 0.8rem;
  color: var(--ink-secondary);
}

.hero-feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-feature-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-subtle);
}

.hero-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.hero-feature-card:hover .hero-feature-media img {
  transform: scale(1.04);
}

.hero-feature-media .ex-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
}

.hero-feature-body {
  padding: 1.15rem 1.25rem;
}

.hero-feature-body h2 {
  margin: 0.2rem 0 0.35rem;
  font-size: 1.25rem;
}

.hero-feature-body h2 a {
  color: var(--ink-primary);
  text-decoration: none;
}

.hero-feature-body h2 a:hover {
  color: var(--brand-copper);
}

.hero-feature-link {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

/* Section Kickers & Headers */
.section-kicker {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-copper);
  margin-bottom: 0.25rem;
}

.section-kicker-light {
  color: var(--brand-amber);
}

.home-exhibitions-band {
  margin-bottom: 3rem;
}

.home-section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.home-section-header h2 {
  margin: 0;
}

/* Editorial Story Section (CMS Content) */
.story-section {
  margin-bottom: 3rem;
}

.story-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 640px) {
  .story-card {
    padding: 1.35rem;
  }
}

.content-article .centered-wrapper,
.content-article .align-center {
  text-align: center;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.content-article img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-height: 540px;
  width: auto;
}

.content-article h3 {
  font-size: 1.45rem;
  color: var(--brand-olive);
  margin-top: 1.75rem;
}

/* Dark Espresso Callout Banner */
.facebook-callout {
  margin: 2.5rem 0 0;
}

.fb-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, #25281c 0%, #383c2a 100%);
  color: #f7f6f0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.fb-card h3 {
  margin: 0 0 0.35rem;
  color: #ffffff;
  font-size: 1.45rem;
}

.fb-card p {
  margin: 0;
  font-size: 0.96rem;
  color: rgba(247, 246, 240, 0.84);
}

.fb-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Elevated Exhibition Cards */
.exhibition-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 960px) {
  .exhibition-cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .exhibition-cards-grid {
    grid-template-columns: 1fr;
  }
}

.exhibition-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.exhibition-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ex-card-media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  background: var(--bg-subtle);
  overflow: hidden;
  text-decoration: none;
}

.ex-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s ease;
}

.exhibition-card:hover .ex-card-media img {
  transform: scale(1.05);
}

.ex-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-olive);
  font-weight: 600;
  font-family: var(--font-serif);
}

.ex-badge {
  display: inline-block;
  padding: 0.28rem 0.68rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}

.ex-card-media .ex-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
}

.ex-badge-current {
  background: rgba(53, 58, 39, 0.9);
  color: #ffffff;
}

.ex-badge-upcoming {
  background: rgba(229, 152, 82, 0.94);
  color: #1f1b13;
}

.ex-badge-archive {
  background: rgba(90, 94, 80, 0.88);
  color: #ffffff;
}

.ex-card-body {
  padding: 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ex-card-dates {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-copper);
  margin-bottom: 0.3rem;
}

.ex-card-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.18rem;
}

.ex-card-body h3 a {
  color: var(--ink-primary);
  text-decoration: none;
}

.ex-card-body h3 a:hover {
  color: var(--brand-copper);
}

.ex-card-meta {
  font-size: 0.84rem;
  margin: 0 0 0.28rem;
  color: var(--ink-secondary);
}

.ex-card-annot {
  font-size: 0.9rem;
  color: var(--ink-secondary);
  margin: 0.35rem 0 0.85rem;
  flex: 1;
}

.ex-card-footer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-soft);
}

.ex-card-link {
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

/* Page Header Flex */
.page-head-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.page-head-flex .page-title {
  margin-bottom: 0.25rem;
}

.lead-text {
  margin: 0;
  color: var(--ink-secondary);
}

.page-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* Interactive Monthly Calendar */
.calendar-widget {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.25rem;
}

.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.calendar-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.calendar-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 600;
  min-width: 165px;
  text-align: center;
  color: var(--brand-olive);
}

.calendar-jump-form {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.calendar-jump-form input[type="month"] {
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: inherit;
  background: var(--bg-canvas);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.cal-dow {
  text-align: center;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.55rem 0.2rem;
  background: var(--brand-olive);
  color: #ffffff;
  border-radius: var(--radius-sm);
}

.cal-dow.cal-weekend {
  background: #535840;
}

.cal-cell {
  min-height: 86px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  padding: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cal-cell.cal-empty {
  background: transparent;
  border-style: dashed;
  opacity: 0.55;
}

.cal-cell.has-exhibition {
  background: #fff9f2;
  border-color: rgba(200, 100, 25, 0.45);
  cursor: pointer;
}

.cal-cell.has-exhibition:hover {
  border-color: var(--brand-copper);
}

.cal-cell.is-today {
  outline: 2px solid var(--brand-copper);
  outline-offset: -2px;
}

.cal-day-num {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.cal-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  font-size: 0.7rem;
  border-radius: 999px;
  background: var(--brand-copper);
  color: #ffffff;
}

.cal-events-list {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cal-event-chip {
  display: block;
  font-size: 0.7rem;
  line-height: 1.25;
  padding: 3px 6px;
  border-radius: 5px;
  background: rgba(229, 152, 82, 0.28);
  color: #2b2113;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 600;
}

.cal-event-chip:hover {
  background: var(--brand-olive);
  color: #ffffff;
}

.cal-more {
  font-size: 0.68rem;
  color: var(--ink-secondary);
}

@media (max-width: 640px) {
  .calendar-widget { padding: 0.85rem; }
  .calendar-nav { width: 100%; justify-content: space-between; gap: 0.35rem; }
  .calendar-nav .btn { padding: 0.42rem 0.65rem; font-size: 0.82rem; }
  .calendar-title { min-width: 0; font-size: 1.08rem; flex: 1; }
  .calendar-jump-form { width: 100%; justify-content: flex-start; }
  .cal-cell { min-height: 52px; padding: 0.25rem; }
  .cal-events-list { display: none; }
}

.calendar-day-panel {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-canvas);
  border: 1.5px solid var(--brand-olive);
  border-radius: var(--radius-md);
}

.cal-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cal-panel-header button {
  background: transparent;
  border: 0;
  font-size: 1.1rem;
  cursor: pointer;
}

.cal-panel-item {
  padding: 0.55rem 0;
  border-top: 1px solid var(--border-soft);
}

/* Status Tabs */
.ex-tabs-bar {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  background: var(--bg-subtle);
  border-radius: 12px;
  margin-bottom: 1.75rem;
}

.ex-tab {
  background: transparent;
  border: 0;
  padding: 0.5rem 1rem;
  border-radius: 9px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  font-family: inherit;
  transition: all 0.18s ease;
}

.ex-tab.is-active,
.ex-tab:hover {
  background: #ffffff;
  color: var(--brand-olive);
  box-shadow: var(--shadow-sm);
}

.ex-group-title {
  color: var(--ink-primary);
  margin: 1.5rem 0 1rem;
}

/* Exhibition Detail */
.ex-detail-header {
  margin-bottom: 1.75rem;
}

.ex-detail-dates {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-copper);
  margin: 0;
}

.ex-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, 1fr);
  gap: 2.25rem;
  align-items: start;
}

@media (max-width: 820px) {
  .ex-detail-grid {
    grid-template-columns: 1fr;
  }
}

.ex-detail-main {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.ex-detail-sidebar {
  position: sticky;
  top: 5.75rem;
}

@media (max-width: 820px) {
  .ex-detail-main { padding: 1.25rem; }
  .ex-detail-sidebar { position: static; }
}

.ex-detail-lead {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink-primary);
  margin-top: 0;
}

.ex-poster-wrap {
  margin-bottom: 1rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.ex-poster-wrap img {
  display: block;
  width: 100%;
}

.ex-meta-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin: 0 0 1rem;
  box-shadow: var(--shadow-sm);
}

.ex-meta-box dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-copper);
  font-weight: 700;
  margin-top: 0.75rem;
}

.ex-meta-box dt:first-child {
  margin-top: 0;
}

.ex-meta-box dd {
  margin: 0.15rem 0 0;
  color: var(--ink-primary);
}

/* Gallery Grid */
.ex-gallery-section {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-soft);
}

.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.75rem;
}

.filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 220px;
  flex: 1 1 220px;
}

.filter-field label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink-secondary);
}

.filter-field select {
  padding: 0.58rem 0.75rem;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-sm);
  font-family: inherit;
  background: var(--bg-canvas);
  color: var(--ink-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.25rem;
}

.gallery-tile {
  margin: 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-tile a.lb-trigger {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-subtle);
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-tile:hover img {
  transform: scale(1.05);
}

.gallery-tile figcaption {
  padding: 0.75rem 0.95rem;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gal-cap-link {
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (max-width: 820px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-form-section {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 600px) {
  .contact-form-section { padding: 1.25rem; }
}

.contact-form .form-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 600px) {
  .contact-form .form-row-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  color: var(--ink-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.68rem 0.9rem;
  border: 1px solid rgba(53, 58, 39, 0.24);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.96rem;
  background: var(--bg-canvas);
  color: var(--ink-primary);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--brand-olive);
  box-shadow: 0 0 0 3px rgba(53, 58, 39, 0.12);
}

.form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-weight: 400;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.alert {
  padding: 0.95rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}

.alert-success {
  background: #eaf3d8;
  color: #1f4000;
  border-left: 4px solid #5c8a1e;
}

.alert-error {
  background: #fbeceb;
  color: #9b1010;
  border-left: 4px solid #c62828;
}

.alert-error ul {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

/* Search Page */
.search-page-form {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.search-page-form input[type="search"] {
  flex: 1;
  padding: 0.7rem 0.95rem;
  border: 1.5px solid var(--border-soft);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: #ffffff;
}

.search-result-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.search-result-item h2 {
  margin: 0.25rem 0 0.45rem;
  font-size: 1.25rem;
}

.search-result-type {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--brand-copper);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-mark {
  background: rgba(229, 152, 82, 0.38);
  color: var(--ink-primary);
  padding: 0 3px;
  border-radius: 3px;
}

/* Architectural 3-Column Footer */
.l-footer {
  background: #23261b;
  color: #e4e2d5;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.2fr;
  gap: 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 820px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-brand-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-brand-slogan {
  color: var(--brand-amber);
  font-style: italic;
  margin: 0.2rem 0 0.75rem;
}

.footer-desc {
  margin: 0;
  color: rgba(228, 226, 213, 0.78);
  max-width: 38ch;
}

.footer-nav-col h3,
.footer-contact-col h3 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-amber);
  margin: 0 0 0.8rem;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.l-footer a,
.footer-link-btn {
  color: #e4e2d5;
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.l-footer a:hover,
.footer-link-btn:hover {
  color: var(--brand-amber);
  text-decoration: underline;
}

.footer-ext-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.65rem;
  font-weight: 600;
}

.footer-bottom-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1.25rem;
  font-size: 0.84rem;
  color: rgba(228, 226, 213, 0.72);
}

/* Lightbox */
.lg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(18, 19, 15, 0.94);
  backdrop-filter: blur(6px);
  color: #ffffff;
}

.lg-lightbox.is-open {
  display: flex;
}

.lg-lightbox-backdrop {
  position: absolute;
  inset: 0;
}

.lg-lightbox-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);
}

.lg-lb-actions {
  display: flex;
  gap: 0.5rem;
}

.lg-lb-btn,
.lg-lb-nav {
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  cursor: pointer;
  z-index: 3;
}

.lg-lb-btn {
  padding: 0.4rem 0.75rem;
  font-size: 1rem;
}

.lg-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  width: 48px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lg-lb-prev { left: 1rem; }
.lg-lb-next { right: 1rem; }

.lg-lightbox-stage {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lg-lightbox-stage img {
  max-width: 90vw;
  max-height: 76vh;
  object-fit: contain;
  border-radius: 6px;
  transition: transform 0.25s ease;
}

.lg-lightbox-stage img.is-zoomed {
  transform: scale(1.65);
  cursor: zoom-out;
}

.lg-lb-caption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
  color: #f2f2ea;
}

/* Floating GDPR Cookie Card */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 960px;
  z-index: 9000;
  background: rgba(35, 38, 27, 0.96);
  backdrop-filter: blur(12px);
  color: #ffffff;
  border: 1px solid rgba(229, 152, 82, 0.45);
  border-radius: 16px;
  padding: 1.15rem 1.4rem;
  box-shadow: var(--shadow-lg);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-banner-text {
  flex: 1 1 360px;
}

.cookie-banner-text strong {
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.cookie-banner-text p {
  margin: 0.25rem 0 0;
  font-size: 0.86rem;
  color: rgba(247, 246, 240, 0.84);
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.cookie-modal.is-open {
  display: flex;
}

.cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 14, 0.6);
  backdrop-filter: blur(4px);
}

.cookie-modal-dialog {
  position: relative;
  z-index: 2;
  background: #ffffff;
  color: var(--ink-primary);
  border-radius: var(--radius-lg);
  max-width: 560px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.cookie-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.35rem;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-soft);
}

.cookie-modal-header h2 {
  margin: 0;
  font-size: 1.25rem;
}

.cookie-close-x {
  background: transparent;
  border: 0;
  font-size: 1.25rem;
  cursor: pointer;
}

.cookie-modal-body {
  padding: 1.25rem 1.35rem;
  max-height: 65vh;
  overflow-y: auto;
}

.cookie-category {
  padding: 0.85rem;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  margin-bottom: 0.75rem;
  background: var(--bg-canvas);
}

.cookie-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
}

.cookie-switch-row small {
  display: block;
  color: var(--ink-secondary);
  margin-top: 0.15rem;
}

.cookie-modal-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
  padding: 1rem 1.35rem;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-soft);
}

/* Artist Profile Page (Stanislav Absolon) */
.profile-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 340px);
  gap: 2.25rem;
  align-items: center;
  padding: 2rem 2.25rem;
  background: linear-gradient(135deg, #ffffff 0%, #f5f2e9 100%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.profile-title {
  margin-bottom: 0.6rem;
  color: var(--brand-olive);
}

.profile-lead {
  font-size: 1.06rem;
  color: var(--ink-secondary);
  margin: 0 0 1.25rem;
  max-width: 58ch;
}

.profile-meta-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1.4rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.profile-meta-pills dt {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-copper);
}

.profile-meta-pills dd {
  margin: 0.2rem 0 0;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-primary);
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.profile-portrait-wrap {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
}

.profile-portrait-wrap a {
  display: block;
  border-radius: calc(var(--radius-md) - 4px);
  overflow: hidden;
}

.profile-portrait-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.35s ease;
}

.profile-portrait-wrap:hover img {
  transform: scale(1.03);
}

.profile-artwork-grid .gallery-tile a.lb-trigger {
  aspect-ratio: 3 / 4;
  padding: 0.55rem;
  background: #f5f2e9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-artwork-grid .gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.page-body blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.35rem;
  border-left: 4px solid var(--brand-copper);
  background: var(--bg-canvas);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--brand-olive);
}

@media (max-width: 820px) {
  .profile-hero-card {
    grid-template-columns: 1fr;
    padding: 1.35rem;
    gap: 1.5rem;
  }
  .profile-portrait-wrap {
    max-width: 320px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .profile-meta-pills {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}
