/* --------------------------------------------------------------------------
   Chizoba Charity Foundation — event galleries, video strips and news cards.
   -------------------------------------------------------------------------- */

.page-hero {
  background: linear-gradient(135deg, #e03c33 0%, #b02a22 100%);
  color: #fff;
  padding: 80px 0 62px;
  text-align: center;
}
.page-hero h1 { color: #fff; font-size: 42px; font-weight: 700; margin-bottom: 14px; line-height: 1.2; }
.page-hero p { color: rgba(255,255,255,.9); font-size: 17.5px; max-width: 680px; margin: 0 auto; line-height: 1.7; }
.page-hero .hero-meta {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  margin-top: 24px; color: rgba(255,255,255,.92); font-size: 14.5px;
}
.page-hero .hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero .hero-meta i { color: #f6a61d; }

.crumbs { background: #f7f7f7; padding: 12px 0; border-bottom: 1px solid #eee; font-size: 14px; }
.crumbs a { color: #e03c33; }
.crumbs span { color: #888; }
.crumbs .sep { margin: 0 8px; }

.section-soft { background: #f8f9fb; }
.section-pad { padding: 74px 0; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section-head h3 {
  color: #e03c33; font-size: 15px; letter-spacing: 1.6px; text-transform: uppercase;
  font-weight: 700; margin-bottom: 12px;
}
.section-head h2 { font-size: 34px; color: #2a283e; line-height: 1.3; margin-bottom: 14px; }
.section-head p { color: #818090; font-size: 16px; line-height: 1.8; margin: 0; }

/* ---------- Photo grid ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.photo-tile {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  background: #e9e9ef; cursor: zoom-in; aspect-ratio: 4 / 3;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
}
.photo-tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .55s ease;
}
.photo-tile:hover img, .photo-tile:focus-visible img { transform: scale(1.07); }
.photo-tile::after {
  content: "\f00e"; font-family: "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; background: rgba(224,60,51,.55);
  opacity: 0; transition: opacity .3s;
}
.photo-tile:hover::after, .photo-tile:focus-visible::after { opacity: 1; }
.photo-tile:focus-visible { outline: 3px solid #f6a61d; outline-offset: 3px; }

/* ---------- Video strip ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}
.video-card {
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.08); display: flex; flex-direction: column;
}
.video-card video {
  width: 100%; display: block; background: #16213e;
  aspect-ratio: 9 / 16; object-fit: cover;
}
.video-card .video-cap { padding: 16px 18px 20px; }
.video-card .video-cap h5 { font-size: 16px; color: #2a283e; margin-bottom: 6px; line-height: 1.4; }
.video-card .video-cap p { font-size: 13.5px; color: #818090; margin: 0; line-height: 1.6; }

/* ---------- Lightbox ---------- */
.ccf-lightbox {
  position: fixed; inset: 0; z-index: 9999; display: none;
  align-items: center; justify-content: center;
  background: rgba(16,16,26,.94); padding: 40px 16px;
}
.ccf-lightbox.is-open { display: flex; }
.ccf-lb-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.ccf-lb-figure img {
  max-width: min(1100px, 92vw); max-height: 78vh; border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.ccf-lb-figure figcaption {
  color: rgba(255,255,255,.82); font-size: 14.5px; margin-top: 18px;
  max-width: 640px; margin-left: auto; margin-right: auto; line-height: 1.6;
}
.ccf-lb-close {
  position: absolute; top: 18px; right: 22px; background: none; border: 0;
  color: #fff; font-size: 40px; line-height: 1; cursor: pointer; opacity: .8;
}
.ccf-lb-close:hover { opacity: 1; }
.ccf-lb-nav {
  background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 22px;
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer; flex: 0 0 auto;
  margin: 0 12px; transition: background .25s;
}
.ccf-lb-nav:hover { background: rgba(224,60,51,.85); }

/* ---------- News / event cards ---------- */
.event-card {
  background: #fff; border-radius: 16px; overflow: hidden; height: 100%;
  box-shadow: 0 6px 26px rgba(0,0,0,.07); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.event-card:hover { transform: translateY(-6px); box-shadow: 0 14px 38px rgba(0,0,0,.11); }
.event-card-img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e9ef; }
.event-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event-card:hover .event-card-img img { transform: scale(1.06); }
.event-card-tag {
  position: absolute; top: 14px; left: 14px; background: #e03c33; color: #fff;
  font-size: 12px; font-weight: 600; padding: 6px 13px; border-radius: 30px;
  letter-spacing: .4px;
}
.event-card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.event-card-body h3 { font-size: 21px; line-height: 1.4; margin-bottom: 12px; }
.event-card-body h3 a { color: #2a283e; transition: color .25s; }
.event-card-body h3 a:hover { color: #e03c33; }
.event-card-body p { color: #818090; font-size: 15px; line-height: 1.75; margin-bottom: 18px; flex: 1; }
.event-card-meta {
  display: flex; gap: 20px; flex-wrap: wrap; padding-top: 16px;
  border-top: 1px solid #f0f0f5; font-size: 13.5px; color: #818090;
}
.event-card-meta span { display: inline-flex; align-items: center; gap: 7px; }
.event-card-meta i { color: #e03c33; }
.event-card-link {
  margin-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  color: #e03c33; font-weight: 600; font-size: 14.5px;
}
.event-card-link:hover { color: #b02a22; gap: 12px; }
.event-card-link { transition: gap .25s, color .25s; }

/* ---------- Impact strip ---------- */
.impact-strip { background: #fff; border-radius: 16px; padding: 34px 30px;
  box-shadow: 0 6px 26px rgba(0,0,0,.06); }
.impact-strip .row > div { text-align: center; padding: 14px 10px; }
.impact-strip h3 { color: #e03c33; font-size: 34px; font-weight: 700; margin-bottom: 6px; }
.impact-strip p { color: #818090; font-size: 14.5px; margin: 0; }

/* ---------- Donate CTA ---------- */
.donate-cta {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 18px; padding: 52px 44px; text-align: center; color: #fff;
  position: relative; overflow: hidden;
}
.donate-cta::before {
  content: ""; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px;
  border-radius: 50%; background: rgba(224,60,51,.18);
}
.donate-cta h2 { color: #fff; font-size: 30px; margin-bottom: 14px; position: relative; }
.donate-cta p { color: rgba(255,255,255,.75); font-size: 16px; max-width: 560px;
  margin: 0 auto 28px; line-height: 1.8; position: relative; }
.donate-cta .btn-give {
  display: inline-flex; align-items: center; gap: 10px; position: relative;
  background: linear-gradient(135deg, #e03c33, #b02a22); color: #fff;
  padding: 15px 34px; border-radius: 10px; font-weight: 600; font-size: 16px;
  transition: .3s;
}
.donate-cta .btn-give:hover {
  color: #fff; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(224,60,51,.35);
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .page-hero h1 { font-size: 34px; }
  .section-head h2 { font-size: 28px; }
}
@media (max-width: 575px) {
  .page-hero { padding: 60px 0 46px; }
  .page-hero h1 { font-size: 27px; }
  .page-hero p { font-size: 15.5px; }
  .section-pad { padding: 52px 0; }
  .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .video-grid { grid-template-columns: 1fr; }
  .donate-cta { padding: 38px 22px; }
  .donate-cta h2 { font-size: 24px; }
  .ccf-lb-nav { width: 42px; height: 42px; margin: 0 4px; }
}
