/* =========================================================
   CRE8IVE FOCUS GALLERY — Frontend CSS v1.0.9
   ========================================================= */

/* ── Fix 4: GAP CSS-Variable ── */
:root {
  --c8f-gap: 3px; /* Zentraler Wert — wird per Shortcode/Admin überschrieben */
}

/* ── Fix 8: DARK / LIGHT MODE — alle Elementor-Container ── */
body.c8f-light,
body.c8f-light .elementor-section,
body.c8f-light .elementor-top-section,
body.c8f-light .elementor-container,
body.c8f-light .elementor-column,
body.c8f-light .elementor-widget-wrap,
body.c8f-light main {
  background-color: #f0ede8 !important;
  color: #111 !important;
}

body:not(.c8f-light),
body:not(.c8f-light) .elementor-section,
body:not(.c8f-light) .elementor-top-section,
body:not(.c8f-light) .elementor-container,
body:not(.c8f-light) .elementor-column,
body:not(.c8f-light) .elementor-widget-wrap,
body:not(.c8f-light) main {
  background-color: #060606 !important;
  color: #fff !important;
}

body, .elementor-section, .elementor-container,
.elementor-column, .elementor-widget-wrap, main {
  transition: background-color 0.4s ease, color 0.3s ease !important;
}

/* ── Fix 4: TOGGLE — Glassmorphism, immer weiß ── */
.c8f-toggle {
  background: rgba(100, 100, 100, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18) !important;
  border-radius: 20px !important;
  padding: 5px 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
}
.c8f-tl {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 8px !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  user-select: none !important;
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 0.2s !important;
}
.c8f-tl.c8f-on {
  color: rgba(255, 255, 255, 1) !important;
}
/* Fix 1: light-mode label colors */
body.c8f-light .c8f-tl         { color: rgba(0,0,0,0.5)  !important; }
body.c8f-light .c8f-tl.c8f-on  { color: rgba(0,0,0,0.9)  !important; }
.c8f-track {
  width: 34px; height: 18px; border-radius: 9px;
  position: relative; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.1);
  transition: none;
}
.c8f-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #e94183;
  transition: left 0.35s cubic-bezier(0.16,1,0.3,1);
}
body.c8f-light .c8f-thumb { left: 19px; }

/* ── Fix 3: FILTER BAR — Reset + Glassmorphism ── */
.c8f-filterbar,
.c8f-filterbar * {
  all: revert !important;
}

.c8f-filterbar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  gap: 0 !important;
  padding: 4px 8px !important;
  border-radius: 20px !important;
  background: rgba(100, 100, 100, 0.2) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18) !important;
  list-style: none !important;
  margin: 0 !important;
}
.c8f-filterbar::-webkit-scrollbar { display: none !important; }

.c8f-fb {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  font-family: 'Cormorant Garamond', Georgia, serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  font-style: italic !important;
  letter-spacing: 0.05em !important;
  text-transform: none !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 6px 14px !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  position: relative !important;
  color: rgba(255, 255, 255, 0.5) !important;
  transition: color 0.2s ease !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  line-height: normal !important;
}
.c8f-fb::after {
  content: none !important;
  display: none !important;
}
.c8f-fb.c8f-on {
  color: rgba(255, 255, 255, 1) !important;
}
.c8f-fb:hover { color: rgba(255, 255, 255, 0.8) !important; }
/* Fix 1: light-mode filter button colors */
body.c8f-light .c8f-fb            { color: rgba(0,0,0,0.5) !important; }
body.c8f-light .c8f-fb.c8f-on     { color: rgba(0,0,0,0.9) !important; }
body.c8f-light .c8f-fb:hover      { color: rgba(0,0,0,0.8) !important; }
/* Fix 1: light-mode glassmorphism backgrounds */
body.c8f-light .c8f-toggle,
body.c8f-light .c8f-filterbar {
  background: rgba(200,200,200,0.35) !important;
  border-color: rgba(0,0,0,0.12) !important;
}
body.c8f-light .c8f-filter-burger {
  background: rgba(200,200,200,0.35) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: rgba(0,0,0,0.8) !important;
}
body.c8f-light .c8f-burger-icon span { background: rgba(0,0,0,0.65); }

/* ── Fix 7: BURGER BUTTON ── */
.c8f-filter-burger {
  display: none;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 14px;
  background: rgba(100,100,100,0.2) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22) !important;
  border-radius: 20px;
  padding: 5px 12px;
  color: rgba(255,255,255,0.9) !important;
  box-shadow: 0 2px 14px rgba(0,0,0,0.18);
}
.c8f-burger-icon {
  width: 16px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.c8f-burger-icon span {
  display: block;
  height: 1px;
  background: rgba(255,255,255,0.8);
  transition: all 0.22s ease;
}
.c8f-filter-burger.open .c8f-burger-icon span:nth-child(1) { transform: rotate(45deg) translate(3px,3px); }
.c8f-filter-burger.open .c8f-burger-icon span:nth-child(2) { opacity: 0; }
.c8f-filter-burger.open .c8f-burger-icon span:nth-child(3) { transform: rotate(-45deg) translate(3px,-3px); }

/* Fix 2: Burger + Filter-Bar — 768px Breakpoint (JS steuert burger.style.display) */
@media (max-width: 768px) {
  /* Filter-Bar standardmäßig versteckt wenn Burger aktiv */
  .c8f-filterbar:not(.c8f-open) {
    display: none !important;
  }
  .c8f-filter-burger {
    display: flex !important;
    box-sizing: border-box !important;
    max-width: calc(100vw - 24px) !important;
    min-height: 34px !important;
    padding: 5px 12px !important;
    gap: 8px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    border-radius: 20px !important;
  }
  .c8f-burger-icon {
    width: 16px !important;
    gap: 3px !important;
    flex: 0 0 auto !important;
  }
  .c8f-filter-burger > span {
    white-space: nowrap !important;
    line-height: 1 !important;
  }
  .c8f-toggle {
    box-sizing: border-box !important;
    padding: 5px 10px !important;
    gap: 6px !important;
  }
  .c8f-tl {
    letter-spacing: 0.18em !important;
  }
  .c8f-filterbar.c8f-open {
    left: auto !important;
    right: max(0px, env(safe-area-inset-right)) !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: calc(100vw - 16px - env(safe-area-inset-right)) !important;
    padding: 10px 18px !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    align-items: stretch !important;
  }
  .c8f-filterbar.c8f-open .c8f-fb {
    width: auto !important;
    min-width: max-content !important;
    padding: 10px 0 !important;
    font-size: 15px !important;
  }
}

/* Dropdown-Panel wenn geöffnet (alle Größen) */
.c8f-filterbar.c8f-open {
  display: flex !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: auto !important;
  right: max(0px, env(safe-area-inset-right)) !important;
  width: max-content !important;
  min-width: max-content !important;
  max-width: calc(100vw - 16px - env(safe-area-inset-right)) !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  border-radius: 12px !important;
  padding: 10px 18px !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
  z-index: 9999 !important;
}
.c8f-filterbar.c8f-open .c8f-fb {
  display: block !important;
  width: auto !important;
  min-width: max-content !important;
  padding: 10px 0 !important;
  font-size: 15px !important;
  text-align: left !important;
}

/* ── Fix 1: GALERIE — transparenter Hintergrund ── */
.c8f-gallery-wrap,
.c8f-grid,
.c8f-item {
  background: transparent !important;
  background-color: transparent !important;
}

.c8f-gallery-wrap {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box;
}
.c8f-grid {
  columns: 3;
  column-gap: var(--c8f-gap);
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}
.c8f-item {
  break-inside: avoid;
  margin-bottom: var(--c8f-gap);
  position: relative;
  overflow: visible; /* Fix 1: visible damit scale(1.04) über Ränder sichtbar */
  cursor: pointer;
  display: block;
}

/* ── Fix 1: IMG-WRAP — overflow:hidden nur auf dem Bild-Container ── */
.c8f-item-img-wrap {
  position: relative;
  overflow: hidden; /* clippt auf Bildgröße, nicht auf Item+Padding */
  display: block;
  line-height: 0;
}
.c8f-item-img-wrap img {
  width: 100%;
  display: block;
  will-change: transform, filter;
  transition:
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.9s ease 0s !important;
}
.c8f-item:hover .c8f-item-img-wrap img {
  transform: scale(1.04);
  filter: grayscale(100%) brightness(0.62);
  transition:
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.75s ease 0.15s !important;
}
.c8f-item-ov {
  position: absolute; inset: 0; /* relativ zu .c8f-item-img-wrap — deckt exakt das Bild ab */
  background: linear-gradient(to top, rgba(0,0,0,.62) 0%, transparent 52%);
  opacity: 0;
  transition: opacity 0.45s ease 0.06s;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px 14px;
  pointer-events: none;
}
.c8f-item:hover .c8f-item-ov { opacity: 1; }
.c8f-item-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 7.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #e94183; margin-bottom: 4px;
  opacity: 0; transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1) 0.1s, opacity 0.3s ease 0.1s;
}
.c8f-item:hover .c8f-item-cat { opacity: 1; transform: none; }
.c8f-item-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(14px,1.3vw,19px); font-weight: 300; font-style: italic;
  color: #fff; line-height: 1.15;
  opacity: 0; transform: translateY(10px);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1) 0.14s, opacity 0.3s ease 0.14s;
}
.c8f-item:hover .c8f-item-title { opacity: 1; transform: none; }

/* Editorial padding — Links/Rechts */
.c8f-item.c8f-pl  { padding-left:  clamp(14px,3vw,44px) !important; }
.c8f-item.c8f-pr  { padding-right: clamp(14px,3vw,44px) !important; }
.c8f-item.c8f-pl2 { padding-left:  clamp(24px,6vw,80px) !important; }
.c8f-item.c8f-pr2 { padding-right: clamp(24px,6vw,80px) !important; }
/* Fix 5: Editorial padding — Oben/Unten */
.c8f-item.c8f-pt  { padding-top:    clamp(12px,3vw,40px) !important; }
.c8f-item.c8f-pt2 { padding-top:    clamp(20px,6vw,72px) !important; }
.c8f-item.c8f-pb  { padding-bottom: clamp(12px,3vw,40px) !important; }
.c8f-item.c8f-pb2 { padding-bottom: clamp(20px,6vw,72px) !important; }
@media (max-width: 640px) {
  .c8f-item.c8f-pl, .c8f-item.c8f-pr,
  .c8f-item.c8f-pl2, .c8f-item.c8f-pr2,
  .c8f-item.c8f-pt, .c8f-item.c8f-pt2,
  .c8f-item.c8f-pb, .c8f-item.c8f-pb2 { padding: 0 !important; }
}

/* Fix 1+7: CAPTION — immer sichtbar wenn Caption-Stil aktiv */
.c8f-item-caption,
.c8f-item-caption-cat {
  display: none; /* Standard: versteckt */
}
.c8f-item-caption-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 7.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #e94183;
  margin: 6px 0 2px 0;
  line-height: 1;
}
.c8f-item-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(12px, 1.1vw, 15px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin: 0 0 4px 0;
  padding: 0;
}
body:not(.c8f-light) .c8f-item-caption { color: rgba(255,255,255,0.72); }
body.c8f-light       .c8f-item-caption { color: rgba(17,17,17,0.72); }
/* Sichtbarkeit per Grid-Klasse: Desktop oder Mobile separat */
@media (min-width: 769px) {
  .c8f-grid--cap-desktop .c8f-item-caption,
  .c8f-grid--cap-desktop .c8f-item-caption-cat { display: block; }
}
@media (max-width: 768px) {
  .c8f-grid--cap-mobile .c8f-item-caption,
  .c8f-grid--cap-mobile .c8f-item-caption-cat  { display: block; }
}
/* Caption-Items: overflow visible (bereits Standard seit v1.0.7) */
.c8f-grid--cap-desktop .c8f-item,
.c8f-grid--cap-mobile  .c8f-item { overflow: visible; }

/* ── LIGHTBOX ── */
.c8f-lb {
  display: none; position: fixed; inset: 0; z-index: 99000;
  background: transparent !important;
  flex-direction: column; align-items: center; justify-content: center;
}
/* Fix 3: blur overlay via ::before — avoids blurring the photo itself */
.c8f-lb::before {
  content: '';
  position: fixed; inset: 0; z-index: -1;
}
body:not(.c8f-light) .c8f-lb::before {
  background: rgba(0,0,0,0.75) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
body.c8f-light .c8f-lb::before {
  background: rgba(240,237,232,0.82) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
}
.c8f-lb.c8f-open { display: flex; }
.c8f-lb-stage {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  max-width: 92vw; max-height: 88vh;
  overflow: hidden; /* Pan: Bild bleibt im Stage-Bereich */
}
/* Im Zoom: Stage-Overflow sichtbar für Pan */
.c8f-lb.c8f-zoomed-active .c8f-lb-stage { overflow: visible; }

/* Fix 6a: Bild maximal groß */
.c8f-lb-img {
  max-width: 92vw !important;
  max-height: 88vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  cursor: zoom-in;
  animation: c8fIn 0.32s cubic-bezier(0.16,1,0.3,1) both;
}
/* Fix 2: Animation stoppen wenn gezoomt — sonst überschreibt fill-mode den transform */
.c8f-lb-img.c8f-zoomed {
  animation: none !important;
  will-change: transform;
  transform-origin: center center;
  cursor: grab;
}
.c8f-lb-img.c8f-zoomed.c8f-grabbing { cursor: grabbing; }
@keyframes c8fIn {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: none; }
}
/* Fix 3: Arrow buttons — glassmorphism reset */
.c8f-lb-arr {
  all: unset !important;
  position: absolute !important; top: 50% !important; transform: translateY(-50%) !important;
  cursor: pointer !important; z-index: 2 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 10px !important; letter-spacing: 0.18em !important; text-transform: uppercase !important;
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 50px !important;
  padding: 14px 16px !important;
  color: rgba(255,255,255,0.75) !important;
  transition: color 0.2s, background 0.2s !important;
}
.c8f-lb-arr:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.16) !important;
}
body.c8f-light .c8f-lb-arr {
  background: rgba(0,0,0,0.08) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: rgba(0,0,0,0.65) !important;
}
body.c8f-light .c8f-lb-arr:hover {
  background: rgba(0,0,0,0.14) !important;
  color: #000 !important;
}
/* Fix 6b: Pfeile fixed — unabhängig von Bildgröße */
.c8f-lb-prev {
  position: fixed !important;
  left: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.c8f-lb-next {
  position: fixed !important;
  right: 24px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
/* Fix 3: Close button — glassmorphism reset */
.c8f-lb-close {
  all: unset !important;
  position: fixed !important; top: 22px !important; right: 28px !important;
  cursor: pointer !important; z-index: 99001 !important;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 8.5px !important; letter-spacing: 0.22em !important; text-transform: uppercase !important;
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255,255,255,0.16) !important;
  border-radius: 50px !important;
  padding: 10px 18px !important;
  color: rgba(255,255,255,0.65) !important;
  transition: color 0.2s, background 0.2s !important;
}
.c8f-lb-close:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.16) !important;
}
body.c8f-light .c8f-lb-close {
  background: rgba(0,0,0,0.08) !important;
  border-color: rgba(0,0,0,0.12) !important;
  color: rgba(0,0,0,0.6) !important;
}
body.c8f-light .c8f-lb-close:hover {
  background: rgba(0,0,0,0.14) !important;
  color: #000 !important;
}
.c8f-lb-bar { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.c8f-lb-counter {
  font-family: 'DM Sans', sans-serif;
  font-size: 8.5px; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.c8f-lb-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; max-width: 80vw; }
.c8f-lb-dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: rgba(255,255,255,.2); cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.c8f-lb-dot.c8f-on { background: #e94183; transform: scale(1.6); }
.c8f-lb-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px; font-weight: 300; font-style: italic;
  color: rgba(255,255,255,.45); letter-spacing: 0.04em;
}
/* Fix 6d: Titel + Counter im Light Mode dunkel */
body:not(.c8f-light) .c8f-lb-title   { color: rgba(255,255,255,0.55) !important; }
body:not(.c8f-light) .c8f-lb-counter { color: rgba(255,255,255,0.35) !important; }
body.c8f-light .c8f-lb-title         { color: rgba(0,0,0,0.60) !important; }
body.c8f-light .c8f-lb-counter       { color: rgba(0,0,0,0.40) !important; }

/* ── RECHTSKLICK MODAL ── */
.c8f-rcm {
  display: none; position: fixed; inset: 0; z-index: 99500;
  background: rgba(0,0,0,.8); backdrop-filter: blur(8px);
  justify-content: center; align-items: center;
}
.c8f-rcm.c8f-open { display: flex; }
.c8f-rcm-box {
  border: 1px solid rgba(233,65,131,.2);
  padding: 48px 56px; max-width: 400px; width: 88%;
  text-align: center; background: #0a0a0a;
  animation: c8fIn 0.3s cubic-bezier(0.16,1,0.3,1) both;
}
.c8f-rcm-tag {
  display: block; font-family: 'DM Sans', sans-serif;
  font-size: 8px; letter-spacing: 0.32em; text-transform: uppercase;
  color: #e94183; margin-bottom: 16px;
}
.c8f-rcm-txt {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(16px,1.8vw,21px); font-weight: 300; font-style: italic;
  color: #fff; line-height: 1.6; margin-bottom: 24px;
}
.c8f-rcm-close {
  font-family: 'DM Sans', sans-serif;
  font-size: 8px; letter-spacing: 0.18em; text-transform: uppercase;
  background: none; border: none;
  color: rgba(255,255,255,.3); cursor: pointer; transition: color 0.2s;
}
.c8f-rcm-close:hover { color: #fff; }

/* ── Fix 9: CTA — beide Modi lesbar ── */
.c8f-cta {
  padding: 100px 80px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; flex-direction: column; align-items: center;
  text-align: center; font-family: 'DM Sans', sans-serif;
  transition: border-color 0.5s;
}
body.c8f-light .c8f-cta { border-top-color: rgba(0,0,0,.08); }
.c8f-cta-tag {
  font-size: 8.5px; letter-spacing: 0.35em; text-transform: uppercase;
  color: #e94183; margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.c8f-cta-tag::before, .c8f-cta-tag::after { content: ''; width: 18px; height: 1px; background: #e94183; }
.c8f-cta-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(44px,7.5vw,108px); font-weight: 300;
  line-height: 0.9; letter-spacing: -0.02em; margin-bottom: 24px;
}
.c8f-cta-h2 em { font-style: italic; color: #e94183; }
body:not(.c8f-light) .c8f-cta-h2,
body:not(.c8f-light) .c8f-cta { color: #ffffff !important; }
body:not(.c8f-light) .c8f-cta-sub  { color: rgba(255,255,255,0.42) !important; }
body:not(.c8f-light) .c8f-cta-btn  { color: #ffffff !important; border-color: rgba(255,255,255,0.2) !important; }
body:not(.c8f-light) .c8f-cta-btn:hover { border-color: #e94183 !important; }
body.c8f-light .c8f-cta-h2,
body.c8f-light .c8f-cta { color: #111 !important; }
body.c8f-light .c8f-cta-sub  { color: rgba(0,0,0,0.48) !important; }
body.c8f-light .c8f-cta-btn  { color: #111 !important; border-color: rgba(0,0,0,0.2) !important; }
body.c8f-light .c8f-cta-btn:hover { color: #ffffff !important; }
.c8f-cta-sub {
  font-size: 14px; font-weight: 300; max-width: 380px; line-height: 1.7; margin-bottom: 44px;
}
.c8f-cta-btn {
  display: inline-flex; align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  text-decoration: none; padding: 0;
  position: relative; overflow: hidden;
  transition: border-color 0.3s, color 0.3s;
  border: 1px solid transparent;
}
.c8f-cta-btn::before {
  content: ''; position: absolute; inset: 0;
  background: #e94183; transform: translateX(-101%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
}
.c8f-cta-btn:hover::before { transform: none; }
.c8f-cta-btn-inner {
  position: relative; z-index: 1;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 40px;
  transition: gap 0.35s cubic-bezier(0.16,1,0.3,1);
}
.c8f-cta-btn:hover .c8f-cta-btn-inner { gap: 22px; }
.c8f-arr {
  width: 28px; height: 1px; background: currentColor;
  position: relative; flex-shrink: 0; display: block;
}
.c8f-arr::after {
  content: ''; position: absolute; right: 0; top: -3px;
  width: 5px; height: 5px;
  border-right: 1px solid currentColor; border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.c8f-cta-note {
  margin-top: 22px; font-size: 8.5px; letter-spacing: 0.2em; text-transform: uppercase;
}
body:not(.c8f-light) .c8f-cta-note { color: rgba(255,255,255,0.22) !important; }
body.c8f-light .c8f-cta-note       { color: rgba(0,0,0,0.25) !important; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) { .c8f-grid { columns: 2; } }
@media (max-width: 768px) {
  .c8f-grid { columns: 2; column-gap: var(--c8f-gap); }
  .c8f-cta { padding: 60px 20px; }
  .c8f-cta-btn-inner { padding: 16px 28px; }
}
@media (max-width: 480px) { .c8f-grid { columns: 1; } }
