/* ================================================================
   Chapters Events — Public CSS v6  |  Font: Poppins
   ================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --cep-primary:   #1a1a2e;
  --cep-accent:    #e8642c;
  --cep-accent-2:  #f5a623;
  --cep-surface:   #ffffff;
  --cep-surface-2: #f7f5f2;
  --cep-border:    #e8e4dc;
  --cep-text:      #1a1a2e;
  --cep-text-2:    #5a5a72;
  --cep-text-3:    #9898a8;
  --cep-shadow-sm: 0 2px 10px rgba(26,26,46,.07);
  --cep-shadow-md: 0 8px 32px rgba(26,26,46,.12);
  --cep-shadow-lg: 0 20px 60px rgba(26,26,46,.18);
  --cep-radius:    12px;
  --cep-radius-sm: 8px;
  --cep-font:      'Poppins', 'Segoe UI', system-ui, sans-serif;
}

.cep-card,.cep-single-event,.cep-stats-bar,
.cep-filters,.cep-archive-wrap,.cep-hero,
.cep-inner-wrap,.cep-chapter-page,.cep-archive-page {
  font-family: var(--cep-font);
}
.cep-card *,.cep-single-event *,.cep-stats-bar *,
.cep-filters *,.cep-archive-wrap *,.cep-hero *,
.cep-inner-wrap *,.cep-chapter-page *,.cep-archive-page * { box-sizing: border-box; }

/* ════════════════════════════════════════════════════════════════
   STATS BAR — matches the design: big colored number + label
   ════════════════════════════════════════════════════════════════ */
.cep-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  background: transparent;
}
.cep-stat-item {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px;
  border-right: 1px solid #e8e4dc;
  text-align: center;
}
.cep-stat-item:last-child { border-right: none; }

.cep-stat-body { display: flex; flex-direction: column; gap: 6px; align-items: center; }

/* Large number */
.cep-stat-count {
  font-size: 60px !important;
  font-weight: 600 !important;
  line-height: 1;
  font-family: poppins !important;
}

/* Color variants to match design screenshot */
.cep-stat-count--green  { color: #2AAB5E; }
.cep-stat-count--red    { color: #C52021; }
.cep-stat-count--blue   { color: #1C7BCE; }
.cep-stat-count--orange { color: #F3632A; }
.cep-stat-count--accent { color: var(--cep-accent); }

/* Label below number */
.cep-stat-label {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
}
.cep-stat-label--green  { color: #22c55e; }
.cep-stat-label--red    { color: #ef4444; }
.cep-stat-label--blue   { color: #3b82f6; }
.cep-stat-label--orange { color: #f97316; }
.cep-stat-label--accent { color: var(--cep-accent); }

@media(max-width:768px){
  .cep-stats-bar { grid-template-columns: 1fr; }
  .cep-stat-item { border-bottom: 1px solid #e8e4dc; padding: 22px 16px; }
  .cep-stat-item:nth-child(even) { border-right: none; }
}
@media(max-width:400px){
  .cep-stats-bar { grid-template-columns: 1fr; }
  .cep-stat-item { border-right: none; }
}

/* ════════════════════════════════════════════════════════════════
   EVENT CARD — vertical grid layout on ALL pages
   ════════════════════════════════════════════════════════════════ */
.cep-card {
  display: flex;
  flex-direction: column;
  background: var(--cep-surface);
  border-radius: var(--cep-radius);
  overflow: hidden;
  box-shadow: var(--cep-shadow-sm);
  border: 1px solid var(--cep-border);
  transition: transform .25s cubic-bezier(.22,.68,0,1.2), box-shadow .25s;
  height: 100%; /* fill grid cell for uniform height */
}
.cep-card:hover { transform: translateY(-4px); box-shadow: var(--cep-shadow-md); }

/* Thumbnail — top, fixed aspect ratio */
.cep-card__thumb-wrap {
  display: block; position: relative; overflow: hidden;
  width: 100%; aspect-ratio: 16/10;
  background: #e8e4dc; flex-shrink: 0;
}
.cep-card__thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease; display: block;
}
.cep-card:hover .cep-card__thumb { transform: scale(1.05); }

.cep-card__type-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 50px;
  color: #fff !important; background: rgba(26,26,46,.7);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  font-family: var(--cep-font); white-space: nowrap;
}

/* Body — flex column, Read More pushed to bottom */
.cep-card__body {
  padding: 14px 16px 18px;
  display: flex; flex-direction: column;
  gap: 8px; flex: 1; min-width: 0;
}

/* Date + Chapter side by side — ALWAYS one line */
.cep-card__meta {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  overflow: hidden;
}
.cep-card__date,
.cep-card__chapter {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  font-size: .71rem;
  color: var(--cep-text-3);
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}
.cep-card__date svg,
.cep-card__chapter svg { flex-shrink: 0; color: var(--cep-text-3); }

.cep-card__title {
  font-size: .98rem; font-weight: 600; line-height: 1.4; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cep-card__title a { color:var(--cep-text); text-decoration:none; }
.cep-card__title a:hover { color:var(--cep-accent); }

.cep-card__btn {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 600; color: var(--cep-accent);
  text-decoration: none; transition: gap .2s;
  margin-top: auto; /* push to bottom of card body */
  padding-top: 6px;
  align-self: flex-start;
}
.cep-card__btn:hover { gap: 9px; }

/* Chapter link inside card */
.cep-chapter-link {
  color: var(--cep-text-2); text-decoration: none; font-weight: 500;
  transition: color .2s;
}
.cep-chapter-link:hover { color: var(--cep-accent); }

/* ════════════════════════════════════════════════════════════════
   LATEST EVENTS HOME — keep grid style
   ════════════════════════════════════════════════════════════════ */
.cep-grid { display: grid; gap: 22px; }
.cep-grid--latest { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); align-items: stretch; }
.cep-grid--all    { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); align-items: stretch; }
@media(max-width:640px){
  .cep-grid--latest,
  .cep-grid--all { grid-template-columns: 1fr; }
}

/* Both home grid and events/chapter grid: same layout */
.cep-grid--latest,
.cep-grid--all {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  align-items: stretch; /* stretch so all rows equal height */
}

/* ════════════════════════════════════════════════════════════════
   COMPACT SINGLE-LINE FILTER BAR
   ════════════════════════════════════════════════════════════════ */
.cep-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;          /* keep in one line */
  overflow-x: auto;           /* scroll on very small screens */
  margin-bottom: 22px;
  padding-bottom: 2px;        /* prevent scrollbar overlap */
}
/* allow wrapping on small mobile only */
@media(max-width:500px) { .cep-filters { flex-wrap:wrap; } }

.cep-filters__label {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--cep-primary); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; padding: 7px 14px; border-radius: 50px;
  white-space: nowrap; flex-shrink: 0;
}

.cep-filter-select {
  appearance: none;
  background: var(--cep-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' stroke='%235a5a72' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1.5px solid var(--cep-border); border-radius: 50px;
  padding: 7px 28px 7px 14px;
  font-size: .78rem; font-weight: 500; color: var(--cep-text);
  cursor: pointer; font-family: var(--cep-font);
  transition: border-color .2s, box-shadow .2s;
  white-space: nowrap; flex-shrink: 0;
}
.cep-filter-select:focus {
  outline: none; border-color: var(--cep-accent);
  box-shadow: 0 0 0 3px rgba(232,100,44,.1);
}
.cep-filter-clear {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(232,100,44,.08); border: 1.5px solid var(--cep-accent);
  border-radius: 50px; padding: 7px 14px;
  font-size: .75rem; font-weight: 600; color: var(--cep-accent);
  cursor: pointer; font-family: var(--cep-font); transition: all .2s;
  white-space: nowrap; flex-shrink: 0;
}
.cep-filter-clear:hover { background: var(--cep-accent); color: #fff; }

.cep-no-results { text-align:center; padding:48px 20px; color:var(--cep-text-2); }
.cep-no-events  { text-align:center; padding:30px; color:var(--cep-text-2); }

/* ════════════════════════════════════════════════════════════════
   HERO  (single event, chapter page, archive page)
   ════════════════════════════════════════════════════════════════ */
.cep-hero {

  margin-top: -100px; position:relative; width:100%; height:460px; overflow:hidden;
  display:flex; align-items:flex-end;
}
@media(max-width:768px){ .cep-hero { height:100svw; max-height:620px; min-height:420px; } }

.cep-hero__bg { position:absolute; inset:0; background-size:cover; background-position:center; background-repeat:no-repeat; }
.cep-hero__bg--desktop { display:block; }
.cep-hero__bg--mobile  { display:none; }
@media(max-width:768px){
  .cep-hero__bg--desktop { display:none; }
  .cep-hero__bg--mobile  { display:block; background-position:center top; }
}

.cep-hero__overlay {
  position:absolute; inset:0;
  background:linear-gradient(to bottom,rgba(10,10,30,.1) 0%,rgba(10,10,30,.6) 50%,rgba(10,10,30,.92) 100%);
}
@media(max-width:768px){
  .cep-hero__overlay { background:linear-gradient(to bottom,rgba(10,10,30,.45),rgba(10,10,30,.88)); }
}

.cep-hero__content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1100px; margin: 0 auto;
  padding: 0 32px 40px;
  display: flex; flex-direction: column; gap: 10px;
  /* ensure content sits well within the 460px hero */
  justify-content: flex-end;
}
@media(max-width:768px){ .cep-hero__content { padding: 20px 18px 32px; } }

/* Breadcrumb — all white, properly spaced */
.cep-breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 4px 6px; font-size: .74rem; font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.4;
}
.cep-breadcrumb a,
.cep-breadcrumb span { color: rgba(255,255,255,.82) !important; text-decoration: none; }
.cep-breadcrumb a:hover { color: #fff !important; text-decoration: underline; }
.cep-breadcrumb svg { color: rgba(255,255,255,.4); flex-shrink: 0; }

/* Type badge */
.cep-hero__type-badge {
  display:inline-block; align-self:flex-start;
  font-size:.65rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  padding:4px 13px; border-radius:50px; color:#fff!important; background:var(--cep-accent);
  font-family:var(--cep-font);
}
.cep-type-badge--scholarships    { background:#3b82f6; }
.cep-type-badge--community       { background:#10b981; }
.cep-type-badge--meals,
.cep-type-badge--meal            { background:#f59e0b; }
.cep-type-badge--blood-donations { background:#ef4444; }
.cep-type-badge--partners        { background:#8b5cf6; }

/* Hero labels */
.cep-hero__chapter-label {
  display:inline-block; align-self:flex-start;
  font-size:.65rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  padding:4px 13px; border-radius:50px;
  color:var(--cep-accent-2); border:1px solid var(--cep-accent-2);
}
.cep-hero__title {
  font-size:clamp(1.4rem,3.5vw,2.4rem); font-weight:700;
  color:#fff; margin:0; line-height:1.25; text-shadow:0 2px 10px rgba(0,0,0,.35);
}
@media(max-width:768px){ .cep-hero__title { font-size:clamp(1.2rem,5.5vw,1.8rem); } }

.cep-hero__sub { font-size:.9rem; color:rgba(255,255,255,.65); margin:0; }
.cep-hero__meta { display:flex; flex-wrap:wrap; gap:14px; margin-top:2px; }
.cep-hero__meta span { display:inline-flex; align-items:center; gap:5px; font-size:.82rem; color:rgba(255,255,255,.85); font-weight:400; }

/* Links inside hero (chapter link, etc) — always white */
.cep-hero__link,
.cep-hero__meta a {
  color:rgba(255,255,255,.9)!important; text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.4);
  transition:color .2s, border-color .2s;
}
.cep-hero__link:hover,
.cep-hero__meta a:hover { color:#fff!important; border-color:#fff; }

/* ════════════════════════════════════════════════════════════════
   CHAPTER & ARCHIVE BODY — card pulls up over hero
   ════════════════════════════════════════════════════════════════ */
.cep-chapter-body {
  background:var(--cep-surface-2);
  max-width:1200px; margin: 60px auto 100px;
  position:relative; z-index:5;
  border-radius:20px 20px 0 0;
  padding:36px 24px 60px;
  box-shadow:0 -4px 30px rgba(26,26,46,.1);
}
@media(max-width:768px){ .cep-chapter-body { margin-top:-60px; padding:24px 16px 48px; border-radius:16px 16px 0 0; } }

/* ════════════════════════════════════════════════════════════════
   SINGLE EVENT BODY
   ════════════════════════════════════════════════════════════════ */
.cep-inner-wrap { background:var(--cep-surface-2); padding:80px 0 60px;  position:relative; z-index:5; }

.cep-inner-layout {
  max-width:1100px; margin:0 auto; padding:0 22px;
  display:grid; grid-template-columns:1fr 300px;
  gap:32px; align-items:start;
}
@media(max-width:900px){ .cep-inner-layout { grid-template-columns:1fr; } }

.cep-inner__main { display:flex; flex-direction:column; gap:24px; }

.cep-inner__featured { border-radius:var(--cep-radius); overflow:hidden; box-shadow:var(--cep-shadow-md); line-height:0; }
.cep-inner__featured-img { width:100%; max-height:420px; object-fit:cover; display:block; }

.cep-inner__description {
  background:var(--cep-surface); border-radius:var(--cep-radius);
  padding:24px 28px; box-shadow:var(--cep-shadow-sm); border:1px solid var(--cep-border);
  font-size:.95rem; line-height:1.8; color:var(--cep-text); font-weight:400;
}
.cep-inner__description p { margin:0 0 1em; }
.cep-inner__description p:last-child { margin:0; }

.cep-inner__section {
  background:var(--cep-surface); border-radius:var(--cep-radius);
  padding:22px 26px; box-shadow:var(--cep-shadow-sm); border:1px solid var(--cep-border);
}

.cep-section-title {
  display:flex; align-items:center; gap:8px;
  font-size:.95rem; font-weight:600; color:var(--cep-text);
  margin:0 0 16px; padding-bottom:11px; border-bottom:2px solid var(--cep-border);
}
.cep-section-title--sm { font-size:.88rem; }
.cep-section-link { color:var(--cep-accent); text-decoration:none; font-weight:600; }
.cep-section-link:hover { text-decoration:underline; }

.cep-video-wrap { position:relative; padding-bottom:56.25%; height:0; border-radius:var(--cep-radius-sm); overflow:hidden; background:#000; }
.cep-video-wrap iframe { position:absolute; inset:0; width:100%; height:100%; border:none; }

/* ── Right sidebar ───────────────────────────────────────────── */
.cep-inner__sidebar { position:relative; }
.cep-sidebar-inner { position:sticky; top:22px; display:flex; flex-direction:column; gap:20px; }

.cep-gallery-sticky {
  background:var(--cep-surface); border-radius:var(--cep-radius);
  padding:20px; box-shadow:var(--cep-shadow-sm); border:1px solid var(--cep-border);
}
.cep-gallery-count {
  margin-left:auto; font-size:.68rem; font-weight:600; color:var(--cep-text-3);
  background:var(--cep-surface-2); border:1px solid var(--cep-border);
  border-radius:50px; padding:2px 8px;
}

/* Gallery grid */
.cep-gallery-grid { display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-bottom: 20px; }
@media(max-width:900px){ .cep-gallery-grid { grid-template-columns:repeat(3,1fr); } }
@media(max-width:480px){ .cep-gallery-grid { grid-template-columns:1fr 1fr; } }

.cep-gallery-item {
  position:relative; display:block; aspect-ratio:1;
  overflow:hidden; border-radius:var(--cep-radius-sm); cursor:pointer; background:#ddd;
}
.cep-gallery-item--featured { grid-column:1/-1; aspect-ratio:16/9; }
.cep-gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s ease; display:block; }
.cep-gallery-item:hover img { transform:scale(1.07); }
.cep-gallery-zoom {
  position:absolute; inset:0; background:rgba(10,10,30,.45);
  display:flex; align-items:center; justify-content:center;
  opacity:0; transition:opacity .25s;
}
.cep-gallery-item:hover .cep-gallery-zoom { opacity:1; }

/* Related sidebar */
.cep-sidebar-related {
  background:var(--cep-surface); border-radius:var(--cep-radius);
  padding:20px; box-shadow:var(--cep-shadow-sm); border:1px solid var(--cep-border);
}
.cep-see-all {
  margin-left:auto; font-size:.72rem; font-weight:600;
  color:var(--cep-accent); text-decoration:none;
}
.cep-see-all:hover { text-decoration:underline; }

.cep-related-list { display:flex; flex-direction:column; gap:10px; }
.cep-related-item {
  display: flex; gap: 10px; align-items: center;
  text-decoration: none; color: inherit;
  padding: 9px 10px; border-radius: var(--cep-radius-sm);
  border: 1px solid var(--cep-border); background: var(--cep-surface);
  transition: box-shadow .2s, transform .2s;
}
.cep-related-item:hover { box-shadow: var(--cep-shadow-sm); transform: translateY(-2px); }

/* Thumbnail — square, left */
.cep-related-item__thumb {
  width: 60px; height: 52px; flex-shrink: 0;
  border-radius: 7px; overflow: hidden; background: #ddd;
}
.cep-related-item__thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.cep-related-item__placeholder { width:100%; height:100%; background: var(--cep-surface-2); }

/* Body — title + date, NO type badge */
.cep-related-item__body { display:flex; flex-direction:column; gap:4px; flex:1; min-width:0; }
.cep-related-item__body strong {
  font-size: .8rem; font-weight: 600; color: var(--cep-text); line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cep-related-item__body span { font-size: .7rem; color: var(--cep-text-3); font-weight: 400; }

/* Show/hide */
.cep-mobile-only  { display:none; }
.cep-desktop-only { display:block; }
@media(max-width:900px){
  .cep-mobile-only  { display:block; }
  .cep-desktop-only { display:none; }
}

/* Back button */
.cep-inner-back { max-width:1100px; margin:26px auto 0; padding:0 22px; }
.cep-back-btn {
  display:inline-flex; align-items:center; gap:7px;
  font-size:.82rem; font-weight:600; color:var(--cep-text-2); text-decoration:none;
  border:1.5px solid var(--cep-border); border-radius:50px; padding:8px 18px;
  background:var(--cep-surface); transition:all .2s; font-family:var(--cep-font);
}
.cep-back-btn:hover { color:var(--cep-accent); border-color:var(--cep-accent); }

/* ════════════════════════════════════════════════════════════════
   LIGHTBOX — fully visible buttons
   ════════════════════════════════════════════════════════════════ */
.cep-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
}
.cep-lightbox.is-open { display: flex; }

/* Image + counter */
.cep-lb-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 140px);
  max-height: 90vh;
}
.cep-lb-content img {
  display: block;
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,.5);
}
.cep-lb-counter {
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-family: var(--cep-font);
  letter-spacing: .04em;
}

/* CLOSE button — top-right corner, solid white circle */
/* .cep-lb-close {
  position: fixed;
  top: 50px;
  right: 20px;
  z-index: 1000001;
  width: 60;
  height: 60px;
  border-radius: 80%;
  background: #ffffff;
  border: none;
  color: #1a1a2e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 14px rgba(0,0,0,.5);
  transition: transform .15s, background .15s;
} */

/* .cep-lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: #f97316;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000001;
}

.cep-lb-close svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    color: #fff !important;
    stroke: #fff !important;
    fill: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}
 */

.cep-lb-close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 100px;
    height: 100px;
    background: #f97316;
    border-radius: 50%;

    transform: scale(0.6);
    transform-origin: top right;

    display: flex;
    align-items: center;
    justify-content: center;
}

.cep-lb-close svg {
    width: 40px !important;
    height: 40px !important;
    stroke-width: 3px !important;
}

@media (max-width: 768px) {
	.cep-stat-item {
       border-bottom: 0px !important;
    }
}

@media (max-width: 767px) {
    .cep-lb-close {
        width: 80px !important;
        height: 80px !important;
        top: 10px !important;
        right: 10px !important;
    }

    .cep-lb-close svg {
        width: 24px !important;
        height: 24px !important;
    }
}
.cep-lb-close:hover { background: #f97316; }

/* PREV / NEXT — centred on sides, solid white circles */

.cep-lb-nav svg {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    min-height: 22px;
    display: block;
    flex-shrink: 0;
}

.cep-lb-prev,
.cep-lb-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 100px !important;
    z-index: 999999;
}

.cep-lb-prev {
    left: 20px;
}

.cep-lb-next {
    right: 20px;
}

.cep-lb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* .cep-lb-nav {
    width: 60px;
    height: 60px;
    border-radius: 100px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible !important;
    padding: 0;
} */
/* .cep-lb-nav:hover {
  background: #f0f0f0;
  transform: translateY(-50%) scale(1.08);
} */

.cep-lb-nav {
    transition: transform 0.3s ease;
}

.cep-lb-nav:hover {
    transform: translateY(-50%) scale(1.1);
}
/* .cep-lb-prev { left: 16px; }
.cep-lb-next { right: 16px; } */

@media (max-width: 600px) {
  .cep-lb-content { max-width: calc(100vw - 100px); }
  .cep-lb-nav { width: 38px; height: 38px; }
  .cep-lb-prev { left: 8px; }
  .cep-lb-next { right: 8px; }
/*   .cep-lb-close { width: 38px; height: 38px; top: 12px; right: 12px; } */
}

/* ════════════════════════════════════════════════════════════════
   MULTI-VIDEO TABS
   ════════════════════════════════════════════════════════════════ */
.cep-video-tabs { display: flex; flex-direction: column; gap: 0; }

.cep-video-tabs__nav {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 14px;
}

.cep-video-tab-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: 50px;
  font-size: .8rem; font-weight: 600;
  font-family: var(--cep-font);
  border: 1.5px solid var(--cep-border);
  background: var(--cep-surface-2);
  color: var(--cep-text-2);
  cursor: pointer; transition: all .2s;
}
.cep-video-tab-btn:hover {
  border-color: var(--cep-accent);
  color: var(--cep-accent);
  background: rgba(232,100,44,.05);
}
.cep-video-tab-btn.is-active {
  background: var(--cep-primary);
  border-color: var(--cep-primary);
  color: #fff;
}
.cep-video-tab-btn svg { flex-shrink: 0; }

.cep-video-tab-panel { display: none; }
.cep-video-tab-panel.is-active { display: block; }

/* View All Photos button */
.cep-view-all-btn {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; margin-top: 10px;
  padding: 10px 16px; border-radius: var(--cep-radius-sm);
  background: var(--cep-primary); color: #fff;
  border: none; cursor: pointer; font-family: var(--cep-font);
  font-size: .82rem; font-weight: 600; transition: background .2s;
}
.cep-view-all-btn:hover { background: var(--cep-accent); }

button[type="button"] {
  margin-top: 20px !important;
}

button .cep-view-all-btn {
   margin-top: 20px !important;
}
