/* KCC Galerie 0.31.0 - zusammengefasste Performance-Styles; Reihenfolge der bisherigen Overrides bleibt erhalten. */

/* ===== gallery-v027.css ===== */
/* ==============================================================
   KCC Galerie v0.27 – ruhiger Einzelgalerie-Header & Session-Explorer
   Wird NACH bestehenden und in WordPress gespeicherten Styles geladen.
   ============================================================== */

/* 1. Einheitlicher Galerie-Detailheader – immer derselbe Hintergrund. */
.kccg-single-page {
  background: #040b18;
  color: #f6f7fb;
}
.kccg-single-page .kccg-hero.kccg-detail-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 370px;
  padding: 0;
  overflow: hidden;
  background: #030916 !important;
  color: #fff;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(ellipse 54% 125% at 100% 8%, rgba(35,65,119,.27), transparent 80%),
    radial-gradient(ellipse 35% 95% at 2% 95%, rgba(214,168,79,.045), transparent 75%),
    linear-gradient(122deg,#020713 0%,#061125 55%,#070d1b 100%) !important;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-bg::after {
  content: "";
  position: absolute;
  top: -55%;
  right: max(4%,calc((100vw - 1440px)/2));
  width: min(44vw,620px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(218,178,95,.08);
  box-shadow: 0 0 0 90px rgba(255,255,255,.008),0 0 0 190px rgba(255,255,255,.005);
  pointer-events: none;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1360px,calc(100% - 88px));
  margin: 0 auto;
  padding: 40px 0 64px;
  color: #fff;
}
.kccg-single-page .kccg-detail-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 0 0 64px;
}
.kccg-single-page .kccg-detail-hero .kccg-back {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  padding: 10px 15px;
  color: #ebedf3 !important;
  font-size: .83rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.042);
  transition: border-color .18s ease,background .18s ease,color .18s ease;
}
.kccg-single-page .kccg-detail-hero .kccg-back:hover,
.kccg-single-page .kccg-detail-hero .kccg-back:focus-visible {
  border-color: rgba(214,168,79,.62);
  color: #f3dca5 !important;
  background: rgba(214,168,79,.065);
  transform: none;
}
.kccg-single-page .kccg-detail-club {
  color: rgba(255,255,255,.43);
  font-size: .69rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .17em;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #d6b66f;
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.4;
  text-transform: uppercase;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-kicker i {
  width: 24px;
  height: 1px;
  background: rgba(214,168,79,.54);
}
.kccg-single-page .kccg-detail-hero h1 {
  max-width: 1050px;
  margin: 0 !important;
  color: #fafbff !important;
  font-family: inherit;
  font-size: clamp(2.75rem,5.2vw,5.15rem) !important;
  font-weight: 750;
  letter-spacing: -.049em;
  line-height: 1.06 !important;
  text-shadow: none;
  text-wrap: balance;
  hyphens: auto;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-meta {margin-top: 25px;}
.kccg-single-page .kccg-detail-count {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 15px;
  border: 1px solid rgba(214,168,79,.23);
  border-radius: 9px;
  background: rgba(214,168,79,.065);
  color: #e2c78d;
  font-size: .86rem;
  font-weight: 650;
}
.kccg-single-page .kccg-detail-count strong {
  color: #f0d69c;
  font-size: 1.07rem;
  font-weight: 850;
}
.kccg-single-page .kccg-detail-count-mark {
  position: relative;
  display: inline-block;
  width: 13px;
  height: 11px;
  margin-right: 5px;
  border: 1.5px solid #dcb76a;
  border-radius: 2px;
}
.kccg-single-page .kccg-detail-count-mark::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 3px;
  width: 6px;
  height: 4px;
  border-left: 1px solid #dcb76a;
  border-bottom: 1px solid #dcb76a;
  transform: rotate(-43deg);
}
.kccg-single-page .kccg-detail-hero .kccg-hero-edge {
  height: 2px;
  background: linear-gradient(90deg,#b48a3b 0%,rgba(214,168,79,.38) 29%,rgba(214,168,79,.06) 85%,transparent 100%);
}
/* Ruhiger Übergang zu den Bildern. Die originale Masonry-Anordnung bleibt. */
.kccg-single-page .kccg-content-shell {
  padding: 58px 0 94px;
  background: linear-gradient(180deg,#070f21 0%,#061126 54%,#040b18 100%) !important;
  color: #f6f7fb;
}
.kccg-single-page .kccg-content-shell .kccg-content-inner {width: min(1360px,calc(100% - 88px));}
.kccg-single-page .kccg-section-head {
  padding-bottom: 23px;
  margin-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.kccg-single-page .kccg-section-head h2 {
  color: #f7f7fb !important;
  font-size: clamp(1.8rem,2.8vw,2.55rem) !important;
  letter-spacing: -.035em;
}
.kccg-single-page .kccg-section-count {color: rgba(255,255,255,.50) !important;}
.kccg-single-page .kccg-photo {background: #0b1d36; box-shadow: 0 13px 36px rgba(0,0,0,.25);}
.kccg-single-page .kccg-bottom-nav {border-top: 1px solid rgba(255,255,255,.1);}
.kccg-single-page .kccg-bottom-nav a {
  display: inline-flex;
  align-items: center;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #f2f1ed !important;
}
.kccg-single-page .kccg-bottom-nav a:hover {border-color: rgba(214,168,79,.6);color: #e7c57f !important;}

/* 2. Session-Explorer als ruhiges Premium-Kachelgitter statt Zeitleiste. */
.kccg-v014 .kccg-session-picker {
  position: relative;
  z-index: 8;
  margin: 0 0 62px;
}
.kccg-v014 .kccg-session-picker-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 17px;
}
.kccg-v014 .kccg-session-picker-top > span {
  color: rgba(255,255,255,.89);
  font-size: .76rem;
  font-weight: 790;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.kccg-v014 .kccg-session-picker-top > small {
  font-size: .76rem;
  color: rgba(255,255,255,.42);
}
.kccg-v014 .kccg-swipe-hint {display:none;}
.kccg-v014 .kccg-year-nav.kccg-session-grid {
  position: static !important;
  display: grid !important;
  grid-template-columns: repeat(5,minmax(0,1fr));
  gap: 12px !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  overflow: visible !important;
}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-end;
  gap: 7px !important;
  min-width: 0;
  min-height: 111px;
  padding: 18px 17px 17px !important;
  border: 1px solid rgba(255,255,255,.11) !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg,rgba(255,255,255,.055),rgba(255,255,255,.018)) !important;
  color: #f4f4f8 !important;
  box-shadow: none !important;
  transform: none !important;
  text-decoration: none !important;
  transition: background .18s ease,border-color .18s ease,box-shadow .18s ease;
}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a:hover,
.kccg-v014 .kccg-year-nav.kccg-session-grid > a:focus-visible {
  background: linear-gradient(145deg,rgba(214,168,79,.10),rgba(255,255,255,.028)) !important;
  border-color: rgba(214,168,79,.66) !important;
  box-shadow: 0 9px 24px rgba(0,0,0,.14) !important;
}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a.is-latest {
  background: linear-gradient(145deg,rgba(214,168,79,.16),rgba(214,168,79,.045)) !important;
  border-color: rgba(214,168,79,.50) !important;
}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a > strong {
  position: relative;
  z-index: 2;
  display: block;
  font-size: clamp(.91rem,1.18vw,1.08rem);
  color: rgba(255,255,255,.94) !important;
  line-height: 1.2;
  font-weight: 760;
  white-space: nowrap;
}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a.is-latest > strong {color: #eed096 !important;}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a > small {
  position: relative;
  z-index: 2;
  display: block;
  color: rgba(255,255,255,.54) !important;
  font-size: .76rem;
  line-height: 1.3;
  font-weight: 500;
}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a.is-latest > small {color: #dabb7e !important;}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a > .kccg-session-grid-arrow {
  position: absolute;
  top: 11px;
  right: 13px;
  left: auto;
  display: inline-block;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  color: rgba(255,255,255,.37) !important;
  border-radius: 0 !important;
  background: transparent !important;
  font: 600 1.15rem/1 system-ui,sans-serif;
  transform: none;
  transition: color .18s ease,transform .18s ease;
}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a:hover > .kccg-session-grid-arrow,
.kccg-v014 .kccg-year-nav.kccg-session-grid > a:focus-visible > .kccg-session-grid-arrow {color: #e2c17f !important;transform: translate(2px,-2px);}
.kccg-v014 .kccg-year-nav.kccg-session-grid > a.is-latest > .kccg-session-grid-arrow {color: #dab76e !important;}
.kccg-v014 .kccg-year-section {scroll-margin-top: 32px;}

@media (max-width: 1100px) and (min-width: 721px) {
  .kccg-v014 .kccg-year-nav.kccg-session-grid {grid-template-columns: repeat(3,minmax(0,1fr));}
}
@media (max-width: 720px) {
  .kccg-single-page .kccg-detail-hero {min-height: 345px;}
  .kccg-single-page .kccg-detail-hero .kccg-hero-inner {width: calc(100% - 34px);padding: 27px 0 46px;}
  .kccg-single-page .kccg-detail-topline {margin-bottom: 52px;}
  .kccg-single-page .kccg-detail-club {display:none;}
  .kccg-single-page .kccg-detail-hero h1 {font-size: clamp(2.1rem,9.1vw,3.25rem) !important;line-height: 1.08 !important;}
  .kccg-single-page .kccg-detail-hero .kccg-hero-kicker {gap: 9px;font-size: .66rem;letter-spacing: .10em;}
  .kccg-single-page .kccg-detail-hero .kccg-hero-kicker i {width: 13px;}
  .kccg-single-page .kccg-content-shell {padding: 40px 0 70px;}
  .kccg-single-page .kccg-content-shell .kccg-content-inner {width: calc(100% - 30px);}
  .kccg-single-page .kccg-section-head {padding-bottom: 19px;margin-bottom: 22px;}
  .kccg-v014 .kccg-session-picker {margin-bottom: 53px;}
  .kccg-v014 .kccg-session-picker-top > small {font-size: .71rem;}
  .kccg-v014 .kccg-session-picker-top > small .kccg-swipe-hint {display:inline;}
  .kccg-v014 .kccg-year-nav.kccg-session-grid {
    display: flex !important;
    gap: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    padding: 0 14px 12px 0 !important;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: rgba(214,168,79,.28) transparent;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }
  .kccg-v014 .kccg-year-nav.kccg-session-grid > a {
    flex: 0 0 min(59vw,212px) !important;
    min-width: min(59vw,212px) !important;
    min-height: 104px;
    scroll-snap-align: start;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kccg-v014 .kccg-year-nav.kccg-session-grid > a,
  .kccg-single-page .kccg-detail-hero .kccg-back {transition: none !important;}
}

/* ==============================================================
   v0.28 – Midnight Navy / Champagne Gold gallery cards and hero
   Scoped to archive to avoid theme and detail-page side effects.
   ============================================================== */
.kccg-v014.kccg-archive-page .kccg-card-grid--featured > .kccg-card {
  background:#09172b!important;
  border:1px solid rgba(214,168,79,.24)!important;
  border-radius:25px!important;
  box-shadow:0 18px 48px rgba(0,0,0,.25)!important;
  isolation:isolate;
  transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease!important;
}
.kccg-v014.kccg-archive-page .kccg-card-grid--featured > .kccg-card:hover {
  transform:translateY(-5px)!important;
  border-color:rgba(214,168,79,.58)!important;
  box-shadow:0 26px 60px rgba(0,0,0,.36)!important;
}
.kccg-v014.kccg-archive-page .kccg-card-grid--featured > .kccg-card:not(.kccg-card--featured) .kccg-card-body {
  background:linear-gradient(145deg,#101f37 0%,#081427 100%)!important;
  padding:25px 27px 28px!important;
  border-top:1px solid rgba(214,168,79,.16);
  color:#f6f3ed!important;
}
.kccg-v014.kccg-archive-page .kccg-card-grid--featured > .kccg-card:not(.kccg-card--featured) .kccg-card-body h3 {
  margin:0 0 22px!important;
  font-size:clamp(1.18rem,1.5vw,1.55rem)!important;
  line-height:1.22!important;
}
.kccg-v014.kccg-archive-page .kccg-card-grid--featured > .kccg-card:not(.kccg-card--featured) .kccg-card-body h3 a {color:#f8f5f0!important;}
.kccg-v014.kccg-archive-page .kccg-card-link {
  box-sizing:border-box;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:46px;
  padding:11px 19px!important;
  border:1px solid rgba(214,168,79,.68)!important;
  border-radius:999px!important;
  background:linear-gradient(145deg,rgba(214,168,79,.17),rgba(214,168,79,.055))!important;
  color:#f1d499!important;
  font-size:.85rem!important;
  font-weight:750!important;
  line-height:1.3!important;
  letter-spacing:.012em;
  text-decoration:none!important;
  white-space:nowrap;
  box-shadow:none!important;
  transition:background .2s ease,border-color .2s ease,color .2s ease,transform .2s ease!important;
}
.kccg-v014.kccg-archive-page .kccg-card-link::after {content:none!important;display:none!important;}
.kccg-v014.kccg-archive-page .kccg-card-link:hover,
.kccg-v014.kccg-archive-page .kccg-card-link:focus-visible {
  color:#071328!important;
  background:#e7c37e!important;
  border-color:#e7c37e!important;
  transform:translateY(-1px);
  outline-offset:3px;
}
.kccg-v014.kccg-archive-page .kccg-card-link span {font-size:1.14em;}
.kccg-v014.kccg-archive-page .kccg-card--featured .kccg-card-body {
  background:transparent!important;
  padding:34px 36px 35px!important;
}
.kccg-v014.kccg-archive-page .kccg-card--featured .kccg-card-body h3 {margin-bottom:20px!important;}
.kccg-v014.kccg-archive-page .kccg-card--featured .kccg-card-link {
  pointer-events:auto;
  background:rgba(5,15,31,.80)!important;
  backdrop-filter:blur(10px);
}
.kccg-v014.kccg-archive-page .kccg-card--featured .kccg-card-link:hover,
.kccg-v014.kccg-archive-page .kccg-card--featured .kccg-card-link:focus-visible {background:#e7c37e!important;color:#071328!important;}
.kccg-v014.kccg-archive-page .kccg-card-year {
  background:rgba(6,18,40,.86)!important;
  color:#f1d499!important;
  border:1px solid rgba(214,168,79,.46)!important;
}
.kccg-v014.kccg-archive-page .kccg-card-photos {
  background:rgba(6,18,40,.86)!important;
  color:#f5f3ec!important;
  border:1px solid rgba(255,255,255,.24)!important;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-bg::after {
  border-color:rgba(214,168,79,.19);
  box-shadow:0 0 0 90px rgba(214,168,79,.012),0 0 0 190px rgba(214,168,79,.007);
}
.kccg-single-page .kccg-detail-hero h1::after {
  content:"";display:block;width:73px;height:2px;margin:24px 0 0;
  border-radius:99px;background:linear-gradient(90deg,#e7c37e,#946b30);
}
@media(max-width:620px) {
  .kccg-v014.kccg-archive-page .kccg-card-grid--featured > .kccg-card:not(.kccg-card--featured) .kccg-card-body {padding:22px 23px 25px!important;}
  .kccg-v014.kccg-archive-page .kccg-card--featured .kccg-card-body {padding:23px 22px 26px!important;}
  .kccg-v014.kccg-archive-page .kccg-card-link {min-height:44px;padding:10px 16px!important;}
  .kccg-single-page .kccg-detail-hero h1::after {margin-top:19px;width:55px;}
}
@media(prefers-reduced-motion:reduce) {
  .kccg-v014.kccg-archive-page .kccg-card-grid--featured > .kccg-card,
  .kccg-v014.kccg-archive-page .kccg-card-link {transition:none!important;}
}


/* ===== gallery-v029.css ===== */
/* ==================================================================
   KCC Galerie 0.29 — Midnight Editorial
   Loaded last, even if custom gallery CSS is stored in WordPress.
   ================================================================== */

/* The archive eyebrow doesn't need a second slogan. */
.kccg-archive-page .kccg-luxe-eyebrow::after {
  content: "";
  display: inline-block;
  width: 48px;
  height: 1px;
  margin-left: 4px;
  flex: 0 0 48px;
  background: linear-gradient(90deg, #d7b168, rgba(215,177,104,0));
}

/* ------------ Detail-page hero: editorial text + real gallery photo. */
.kccg-single-page .kccg-hero.kccg-detail-hero {
  position: relative;
  display: block;
  min-height: 0;
  isolation: isolate;
  overflow: hidden;
  background: #030a18 !important;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-bg {
  background:
    radial-gradient(ellipse 40% 80% at 78% 42%, rgba(33,62,105,.31), transparent 90%),
    radial-gradient(ellipse 46% 85% at 0% 112%, rgba(186,143,66,.08), transparent 90%),
    linear-gradient(118deg,#020712 0%,#061226 56%,#071124 100%) !important;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-bg::after {
  top: -74%;
  right: -10%;
  width: min(70vw,870px);
  border: 1px solid rgba(210,166,86,.14);
  box-shadow: 0 0 0 95px rgba(210,166,86,.018), 0 0 0 190px rgba(210,166,86,.008);
}
.kccg-single-page .kccg-detail-hero .kccg-hero-inner {
  width: min(1480px,calc(100% - 100px));
  padding: 40px 0 65px;
}
.kccg-single-page .kccg-detail-topline {
  position: relative;
  z-index: 4;
  margin: 0 0 39px;
}
.kccg-single-page .kccg-detail-hero .kccg-back {
  min-height: 48px;
  gap: 13px;
  padding: 11px 19px;
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.028);
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.kccg-single-page .kccg-detail-club {
  color: rgba(229,232,241,.42);
  letter-spacing: .2em;
}
.kccg-single-page .kccg-detail-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(30px,4.5vw,90px);
  min-height: 360px;
}
.kccg-single-page .kccg-detail-copy {
  position: relative;
  min-width: 0;
  padding: 9px 0 15px 26px;
}
/* One crisp gold spine, not lots of flashy ornamentation. */
.kccg-single-page .kccg-detail-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  height: 76px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg,#f0d49a,#af8339 65%,rgba(175,131,57,.1));
}
.kccg-single-page .kccg-detail-hero .kccg-hero-kicker {
  gap: 12px;
  margin-bottom: 20px;
  color: #d9b775;
  font-size: .71rem;
  font-weight: 750;
  letter-spacing: .18em;
}
.kccg-single-page .kccg-detail-hero .kccg-hero-kicker i {
  width: 27px;
  background: rgba(218,182,108,.42);
}
.kccg-single-page .kccg-detail-hero h1 {
  max-width: 100%;
  margin: 0 !important;
  font-family: inherit;
  font-size: clamp(2.4rem,4.1vw,4.2rem) !important;
  font-weight: 750;
  line-height: 1.075 !important;
  letter-spacing: -.052em;
  color: #f7f8fb !important;
  text-wrap: balance;
  overflow-wrap: anywhere;
  text-shadow: none;
}
.kccg-single-page .kccg-detail-hero h1::after {
  content: none !important;
  display: none !important;
}
.kccg-single-page .kccg-detail-title-year {
  display: block;
  margin-top: .02em;
  font-weight: 730;
  letter-spacing: -.065em;
  color: #dfbd7c;
  background: linear-gradient(125deg,#f6dca7 0%,#cf9d4c 63%,#b78843 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.kccg-single-page .kccg-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 29px;
}
.kccg-single-page .kccg-detail-count {
  min-height: 47px;
  padding: 10px 17px;
  border-color: rgba(213,173,97,.28);
  border-radius: 10px;
  background: rgba(213,173,97,.075);
  white-space: nowrap;
}
.kccg-single-page .kccg-detail-scroll {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-height: 47px;
  padding: 10px 5px;
  border-bottom: 1px solid rgba(220,182,113,.58);
  color: #ece3d1 !important;
  font-size: .84rem;
  font-weight: 660;
  text-decoration: none !important;
  transition: color .2s ease,border-color .2s ease;
}
.kccg-single-page .kccg-detail-scroll span {
  color: #e1bb74;
  font-size: 1.14rem;
  transition: transform .2s ease;
}
.kccg-single-page .kccg-detail-scroll:hover,
.kccg-single-page .kccg-detail-scroll:focus-visible {
  color: #f6d9a4 !important;
  border-color: #f6d9a4;
}
.kccg-single-page .kccg-detail-scroll:hover span,
.kccg-single-page .kccg-detail-scroll:focus-visible span {transform: translate(3px,3px);}

/* Real cover of the current gallery; photo doesn't need a second caption. */
.kccg-single-page .kccg-detail-visual {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: 13px 12px 18px 0;
}
.kccg-single-page .kccg-detail-visual::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  bottom: 30px;
  left: 17px;
  border: 1px solid rgba(224,185,113,.57);
  border-radius: 19px;
  pointer-events: none;
}
.kccg-single-page .kccg-detail-visual-frame {
  position: relative;
  height: clamp(285px,29vw,363px);
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg,#142a4c,#060e20);
  box-shadow: 0 30px 70px rgba(0,0,0,.42);
  transform: translateZ(0);
}
.kccg-single-page .kccg-detail-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 43%;
  filter: saturate(.82) contrast(1.045);
}
.kccg-single-page .kccg-detail-visual-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(0deg,rgba(4,12,27,.37) 0%,transparent 35%),
              linear-gradient(100deg,rgba(6,18,37,.15),transparent 45%);
}
.kccg-single-page .kccg-detail-visual-index {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 33px;
  font-size: .67rem;
  font-weight: 740;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-shadow: 0 1px 7px rgba(0,0,0,.8);
  color: rgba(255,255,255,.94);
}
.kccg-single-page .kccg-detail-visual-index span {color: #e5c88e;}
.kccg-single-page .kccg-detail-cover-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font: 760 clamp(5rem,14vw,8rem)/1 system-ui,sans-serif;
  letter-spacing: -.07em;
  color: rgba(218,183,116,.15);
  background: radial-gradient(circle at 68% 40%,rgba(218,183,116,.08),transparent 56%);
}
.kccg-single-page .kccg-detail-hero .kccg-hero-edge {
  height: 2px;
  background: linear-gradient(90deg,#cca058 0%,rgba(204,160,88,.4) 38%,rgba(204,160,88,.045) 84%,transparent 100%);
}
.kccg-single-page #kccg-gallery-photos {scroll-margin-top: 16px;}

/* ------------ Larger, clear, accessible lightbox close button. ----- */
.kccg-lightbox .kccg-lightbox-close {
  position: absolute !important;
  z-index: 60 !important;
  top: max(16px,env(safe-area-inset-top)) !important;
  right: max(18px,env(safe-area-inset-right)) !important;
  display: grid !important;
  place-items: center !important;
  box-sizing: border-box !important;
  flex: none !important;
  width: 62px !important;
  height: 62px !important;
  min-width: 62px !important;
  min-height: 62px !important;
  padding: 0 !important;
  border: 1px solid rgba(225,186,113,.65) !important;
  border-radius: 50% !important;
  background: rgba(23,31,50,.86) !important;
  box-shadow: 0 6px 25px rgba(0,0,0,.42) !important;
  color: #fff !important;
  opacity: 1 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  transition: border-color .18s ease,background .18s ease,transform .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.kccg-lightbox .kccg-lightbox-close svg {
  display: block !important;
  width: 26px !important;
  height: 26px !important;
  flex-shrink: 0;
  pointer-events: none;
  overflow: visible;
}
.kccg-lightbox .kccg-lightbox-close:hover {
  border-color: #f4d69c !important;
  background: #293e5e !important;
  transform: scale(1.04);
}
.kccg-lightbox .kccg-lightbox-close:focus-visible {
  outline: 3px solid #f3d89e !important;
  outline-offset: 4px !important;
}

@media (max-width: 1190px) {
  .kccg-single-page .kccg-detail-hero .kccg-hero-inner {width: calc(100% - 68px);}
  .kccg-single-page .kccg-detail-layout {grid-template-columns: minmax(0,1.3fr) minmax(265px,.8fr);gap: 26px;}
  .kccg-single-page .kccg-detail-hero h1 {font-size: clamp(2.25rem,4.2vw,3.5rem) !important;}
}
@media (max-width: 850px) {
  .kccg-single-page .kccg-detail-hero .kccg-hero-inner {width: calc(100% - 44px);padding: 26px 0 52px;}
  .kccg-single-page .kccg-detail-topline {margin-bottom: 34px;}
  .kccg-single-page .kccg-detail-layout {grid-template-columns: minmax(0,1fr);gap: 34px;}
  .kccg-single-page .kccg-detail-copy {padding-top: 3px;padding-left: 19px;}
  .kccg-single-page .kccg-detail-copy::before {top: 5px;height: 67px;}
  .kccg-single-page .kccg-detail-hero h1 {font-size: clamp(2.35rem,7.8vw,4.1rem) !important;}
  .kccg-single-page .kccg-detail-visual {width: min(100%,620px);max-width: none;justify-self: start;padding: 9px 10px 15px 0;}
  .kccg-single-page .kccg-detail-visual-frame {height: clamp(210px,36vw,310px);}
  .kccg-single-page .kccg-detail-visual::before {left: 11px;bottom: 23px;}
  .kccg-single-page .kccg-detail-visual-index {bottom: 27px;right: 26px;}
}
@media (max-width: 540px) {
  .kccg-single-page .kccg-detail-hero .kccg-hero-inner {width: calc(100% - 32px);padding: 18px 0 40px;}
  .kccg-single-page .kccg-detail-topline {margin-bottom: 40px;}
  .kccg-single-page .kccg-detail-hero .kccg-back {min-height: 44px;padding: 9px 15px;}
  .kccg-single-page .kccg-detail-copy {padding-left: 16px;padding-bottom: 0;}
  .kccg-single-page .kccg-detail-copy::before {width: 2px;height: 57px;}
  .kccg-single-page .kccg-detail-hero .kccg-hero-kicker {font-size: .65rem;gap: 9px;margin-bottom: 14px;letter-spacing: .08em;}
  .kccg-single-page .kccg-detail-hero .kccg-hero-kicker i {width: 14px;}
  .kccg-single-page .kccg-detail-hero h1 {font-size: clamp(2rem,8.75vw,2.8rem) !important;line-height: 1.08 !important;letter-spacing: -.046em;}
  .kccg-single-page .kccg-detail-actions {gap: 8px 18px;margin-top: 20px;}
  .kccg-single-page .kccg-detail-count {min-height: 43px;padding: 8px 12px;font-size: .8rem;}
  .kccg-single-page .kccg-detail-scroll {min-height: 43px;font-size: .8rem;}
  .kccg-single-page .kccg-detail-layout {gap: 25px;}
  .kccg-single-page .kccg-detail-visual-frame {height: 205px;}
  .kccg-single-page .kccg-detail-visual-index {font-size: .57rem;letter-spacing: .12em;}
  .kccg-lightbox .kccg-lightbox-close {
    top: max(12px,env(safe-area-inset-top)) !important;
    right: max(12px,env(safe-area-inset-right)) !important;
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
  }
  .kccg-lightbox .kccg-lightbox-close svg {width: 25px !important;height: 25px !important;}
  .kccg-lightbox-context {padding-right: 54px;}
}
@media (prefers-reduced-motion: reduce) {
  .kccg-single-page .kccg-detail-scroll,
  .kccg-single-page .kccg-detail-scroll span,
  .kccg-lightbox .kccg-lightbox-close {transition: none !important;}
}


/* ===== gallery-v030.css ===== */
/* KCC Galerie v0.30 — iOS-inspired lightbox controls.
   Loaded LAST so that WordPress themes, Design Manager custom CSS,
   and previous plugin versions cannot misalign the navigation icons. */
.kccg-lightbox .kccg-lightbox-close,
.kccg-lightbox .kccg-lightbox-prev,
.kccg-lightbox .kccg-lightbox-next {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  gap: 0 !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,.115) !important;
  color: rgba(255,255,255,.96) !important;
  box-shadow: 0 6px 26px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.15) !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  -webkit-backdrop-filter: blur(22px) saturate(165%) !important;
  backdrop-filter: blur(22px) saturate(165%) !important;
  font-size: 0 !important; /* disable theme-dependent Unicode arrow metrics */
  font-weight: normal !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  cursor: pointer !important;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}

/* Inline SVGs live at the true geometric center, independent of font baseline. */
.kccg-lightbox .kccg-lightbox-close > svg,
.kccg-lightbox .kccg-lightbox-prev > svg,
.kccg-lightbox .kccg-lightbox-next > svg {
  position: static !important;
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 0 0 24px !important;
  overflow: visible !important;
  pointer-events: none !important;
  transform: none !important;
  color: inherit !important;
}
.kccg-lightbox .kccg-lightbox-close > svg {width: 22px !important;height: 22px !important;min-width:22px !important;min-height:22px !important;flex-basis:22px !important;}

.kccg-lightbox .kccg-lightbox-prev,
.kccg-lightbox .kccg-lightbox-next {
  position: absolute !important;
  z-index: 65 !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
}
.kccg-lightbox .kccg-lightbox-prev {left: max(18px,env(safe-area-inset-left,0px)) !important;right:auto !important;}
.kccg-lightbox .kccg-lightbox-next {right: max(18px,env(safe-area-inset-right,0px)) !important;left:auto !important;}
.kccg-lightbox .kccg-lightbox-close {
  position: absolute !important;
  z-index: 70 !important;
  top: max(20px,env(safe-area-inset-top,0px)) !important;
  right: max(20px,env(safe-area-inset-right,0px)) !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
}

@media (hover:hover) {
  .kccg-lightbox .kccg-lightbox-close:hover,
  .kccg-lightbox .kccg-lightbox-prev:hover,
  .kccg-lightbox .kccg-lightbox-next:hover {
    background: rgba(255,255,255,.22) !important;
    border-color: rgba(255,255,255,.42) !important;
    box-shadow: 0 10px 32px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.22) !important;
  }
}
.kccg-lightbox .kccg-lightbox-close:active,
.kccg-lightbox .kccg-lightbox-prev:active,
.kccg-lightbox .kccg-lightbox-next:active {
  background: rgba(255,255,255,.29) !important;
}
.kccg-lightbox .kccg-lightbox-close:focus-visible,
.kccg-lightbox .kccg-lightbox-prev:focus-visible,
.kccg-lightbox .kccg-lightbox-next:focus-visible {
  outline: 3px solid rgba(255,255,255,.94) !important;
  outline-offset: 4px !important;
}

@media (max-width: 680px) {
  .kccg-lightbox .kccg-lightbox-close,
  .kccg-lightbox .kccg-lightbox-prev,
  .kccg-lightbox .kccg-lightbox-next {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    min-height: 52px !important;
  }
  .kccg-lightbox .kccg-lightbox-close {
    top: max(14px,env(safe-area-inset-top,0px)) !important;
    right: max(14px,env(safe-area-inset-right,0px)) !important;
  }
  /* Keep both navigation buttons in a symmetrical bottom dock. */
  .kccg-lightbox .kccg-lightbox-prev,
  .kccg-lightbox .kccg-lightbox-next {
    top: auto !important;
    bottom: calc(17px + env(safe-area-inset-bottom,0px)) !important;
    transform: none !important;
  }
  .kccg-lightbox .kccg-lightbox-prev {left: calc(50% - 66px) !important;right:auto !important;}
  .kccg-lightbox .kccg-lightbox-next {right: calc(50% - 66px) !important;left:auto !important;}
}
@media (prefers-reduced-motion: reduce) {
  .kccg-lightbox .kccg-lightbox-close,
  .kccg-lightbox .kccg-lightbox-prev,
  .kccg-lightbox .kccg-lightbox-next {transition: none !important;}
}


/* Performance: der fast opake Fullscreen-Hintergrund benötigt keinen teuren Viewport-Blur. */
.kccg-lightbox {
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
/* Die iOS-ähnlichen Buttons bleiben gläsern, aber mit kleinerem Blur-Radius. */
.kccg-lightbox .kccg-lightbox-close,
.kccg-lightbox .kccg-lightbox-prev,
.kccg-lightbox .kccg-lightbox-next {
  -webkit-backdrop-filter: blur(12px) saturate(145%) !important;
  backdrop-filter: blur(12px) saturate(145%) !important;
}
/* Neue Fotos erscheinen ohne langes gestaffeltes Nachziehen beim Scrollen. */
.kccg-motion-ready .kccg-reveal {
  transition-duration: .24s, .24s !important;
  transition-delay: 0ms, 0ms !important;
}
@media (prefers-reduced-motion: reduce) {
  .kccg-motion-ready .kccg-reveal {transition: none !important;}
}
/* Lightbox: small loading feedback without hiding the already loaded preview. */
.kccg-lightbox-stage{position:relative}
.kccg-lightbox-stage.is-loading:after{
  content:"";position:absolute;left:50%;top:50%;width:28px;height:28px;
  margin:-14px 0 0 -14px;border-radius:50%;border:2px solid rgba(255,255,255,.24);
  border-top-color:rgba(255,255,255,.9);animation:kccg-spin .7s linear infinite;
  pointer-events:none;z-index:2;
}
.kccg-lightbox-stage.is-loading .kccg-lightbox-image{opacity:.72}
@keyframes kccg-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.kccg-lightbox-stage.is-loading:after{animation:none}}
