/* ===========================================================
   Modern homepage sections — same look & feel as /data-privacy
   (soft blue/green, pill tags, 24px cards, gentle shadows)
   =========================================================== */
:root {
  --hm-blue: #3f81dc;
  --hm-green: #5bc161;
  --hm-navy: #1a2a4a;
  --hm-slate: #64748b;
  --hm-line: #e2e8f0;
  --hm-soft: #f0f7ff;
  --hm-bg: #f8fafc;
}

.hm-tag {
  display: inline-block; padding: 10px 20px; border-radius: 50px;
  background: #e8f1ff; color: var(--hm-blue);
  font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.hm-head { text-align: center; margin-bottom: 56px; }
.hm-head h2 { font-size: 44px; line-height: 1.15; font-weight: 800; color: var(--hm-navy); margin: 18px 0 14px; }
.hm-head p { max-width: 680px; margin: 0 auto; color: var(--hm-slate); font-size: 18px; line-height: 1.8; }
.hm-grad-text { background: linear-gradient(135deg, var(--hm-blue), var(--hm-green)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; border-radius: 50px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn-primary { background: var(--hm-blue); color: #fff; box-shadow: 0 10px 24px rgba(63,129,220,.28); }
.hm-btn-primary:hover { color: #fff; background: #3470c0; }
.hm-btn-outline { border-color: var(--hm-blue); color: var(--hm-blue); background: transparent; }
.hm-btn-outline:hover { background: var(--hm-blue); color: #fff; }
.hm-btn-white { background: #fff; color: var(--hm-navy); }
.hm-btn-white:hover { color: var(--hm-blue); }
.hm-btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; }
.hm-btn-ghost:hover { background: #fff; color: var(--hm-navy); }

/* ── HERO ── */
.hm-hero { padding: 100px 0 80px; background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%); overflow: hidden; }
.hm-hero h1 { font-size: 58px; line-height: 1.12; font-weight: 800; color: var(--hm-navy); margin: 24px 0; }
.hm-hero-desc { font-size: 18px; color: var(--hm-slate); line-height: 1.85; max-width: 600px; margin-bottom: 34px; }
.hm-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hm-hero-note { margin-top: 22px; font-size: 14px; color: var(--hm-slate); display: flex; align-items: center; gap: 8px; }
.hm-hero-note i { color: var(--hm-green); }
.hm-hero-visual { position: relative; padding: 24px 0 24px 24px; }
.hm-hero-frame { border-radius: 32px; overflow: hidden; box-shadow: 0 30px 70px rgba(63,129,220,.22); aspect-ratio: 5 / 4.4; background: linear-gradient(135deg, var(--hm-blue), var(--hm-green)); }
.hm-hero-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-float { position: absolute; background: #fff; border-radius: 16px; padding: 14px 18px; box-shadow: 0 12px 32px rgba(0,0,0,.10); display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--hm-navy); }
.hm-float i { width: 40px; height: 40px; border-radius: 12px; background: var(--hm-soft); color: var(--hm-blue); display: grid; place-items: center; font-size: 18px; flex: 0 0 40px; }
.hm-float strong { display: block; font-size: 20px; line-height: 1.1; }
.hm-float small { display: block; font-size: 12.5px; font-weight: 500; color: var(--hm-slate); }
.hm-float-1 { top: 0; right: -6px; }
.hm-float-2 { bottom: 0; left: 0; }
.hm-float-2 i { background: #eaf8ec; color: var(--hm-green); }

/* ── IMPACT ── */
.hm-impact { padding: 90px 0; background: #fff; }
.hm-progress-card { background: linear-gradient(135deg, var(--hm-blue), #2f6fc7 55%, #2fa874); color: #fff; border-radius: 28px; padding: 40px 44px; margin-bottom: 24px; box-shadow: 0 24px 56px rgba(63,129,220,.25); }
.hm-progress-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.hm-progress-label { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.hm-progress-num { font-size: 64px; font-weight: 800; line-height: 1; margin-top: 6px; }
.hm-progress-goal { text-align: right; font-size: 16px; opacity: .92; }
.hm-progress-goal strong { display: block; font-size: 26px; }
.hm-bar { height: 14px; background: rgba(255,255,255,.25); border-radius: 20px; overflow: hidden; }
.hm-bar span { display: block; height: 100%; width: 0; background: #fff; border-radius: 20px; transition: width 1.4s cubic-bezier(.2,.8,.2,1); min-width: 10px; }
.hm-progress-foot { margin-top: 12px; font-size: 14px; opacity: .9; }
.hm-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hm-stat { background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; padding: 28px 24px; transition: .3s ease; }
.hm-stat:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.hm-stat-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--hm-soft); color: var(--hm-blue); display: grid; place-items: center; font-size: 24px; margin-bottom: 18px; }
.hm-stat-num { font-size: 38px; font-weight: 800; color: var(--hm-navy); line-height: 1.05; }
.hm-stat-lbl { color: var(--hm-navy); font-weight: 600; margin-top: 6px; }
.hm-stat-sub { color: var(--hm-slate); font-size: 14px; margin-top: 2px; }

/* ── HOW IT WORKS ── */
.hm-how { padding: 100px 0; background: var(--hm-bg); }
.hm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; position: relative; }
.hm-step { background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; padding: 36px 26px 30px; text-align: center; transition: .3s ease; position: relative; }
.hm-step:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.hm-step-num { position: absolute; top: 18px; left: 22px; font-size: 13px; font-weight: 800; color: #b6c4d8; letter-spacing: 1px; }
.hm-step-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--hm-soft); color: var(--hm-blue); display: grid; place-items: center; font-size: 34px; margin: 0 auto 22px; }
.hm-step:nth-child(even) .hm-step-icon { background: #eaf8ec; color: var(--hm-green); }
.hm-step h4 { color: var(--hm-navy); font-weight: 700; margin-bottom: 12px; font-size: 21px; }
.hm-step p { color: var(--hm-slate); line-height: 1.8; margin: 0; font-size: 15.5px; }

/* ── CTA BAND ── */
.hm-cta { padding: 20px 0 100px; background: var(--hm-bg); }
.hm-cta-box { background: linear-gradient(135deg, #1a2a4a 0%, #24457a 55%, #2d7d6a 100%); border-radius: 32px; padding: 64px 56px; color: #fff; position: relative; overflow: hidden; text-align: center; }
.hm-cta-box::before, .hm-cta-box::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.hm-cta-box::before { width: 320px; height: 320px; top: -140px; left: -100px; }
.hm-cta-box::after { width: 260px; height: 260px; bottom: -120px; right: -70px; }
.hm-cta-box > * { position: relative; z-index: 1; }
.hm-cta-box h2 { font-size: 40px; font-weight: 800; line-height: 1.2; color: #fff; max-width: 760px; margin: 0 auto 16px; }
.hm-cta-box p { font-size: 18px; color: rgba(255,255,255,.82); line-height: 1.8; max-width: 640px; margin: 0 auto 32px; }
.hm-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hm-cta-note { margin-top: 26px; font-size: 14px; color: rgba(255,255,255,.75); }
.hm-cta-note i { color: #9be3a0; margin-right: 6px; }

/* ── TRUST ── */
.hm-trust { padding: 90px 0; background: #fff; }
.hm-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-trust-card { background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; padding: 32px 28px; display: flex; gap: 18px; align-items: flex-start; transition: .3s ease; color: inherit; text-decoration: none; }
.hm-trust-card:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.hm-trust-icon { width: 60px; height: 60px; border-radius: 18px; background: var(--hm-soft); color: var(--hm-blue); display: grid; place-items: center; font-size: 26px; flex: 0 0 60px; }
.hm-trust-icon img { width: 36px; height: 36px; border-radius: 50%; }
.hm-trust-card h5 { margin: 0 0 6px; color: var(--hm-navy); font-weight: 700; }
.hm-trust-card p { margin: 0; color: var(--hm-slate); line-height: 1.7; font-size: 15px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hm-stat-grid, .hm-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
  .hm-hero { padding: 80px 0 60px; }
  .hm-hero h1 { font-size: 42px; }
  .hm-hero-visual { margin-top: 40px; padding: 18px 0; }
  .hm-head h2 { font-size: 34px; }
  .hm-trust-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .hm-hero h1 { font-size: 34px; }
  .hm-hero-desc { font-size: 16px; }
  .hm-hero-btns .hm-btn { width: 100%; }
  .hm-float-1 { right: 6px; } .hm-float { padding: 10px 14px; }
  .hm-impact, .hm-how, .hm-trust { padding: 64px 0; }
  .hm-progress-card { padding: 28px 22px; }
  .hm-progress-num { font-size: 46px; }
  .hm-progress-goal { text-align: left; }
  .hm-stat-grid, .hm-steps { grid-template-columns: 1fr; }
  .hm-cta-box { padding: 44px 24px; border-radius: 24px; }
  .hm-cta-box h2 { font-size: 28px; }
  .hm-cta-btns .hm-btn { width: 100%; }
}

/* ── DONATION CAUSES ── */
.hm-causes { padding: 90px 0; background: var(--hm-bg); }
.hm-causes--sickle { --hm-blue: var(--red, #c41e3a); --hm-soft: #fdf0f2; }
.hm-causes--sickle .hm-tag { background: #fdecef; }
.hm-btn-sm { padding: 11px 22px; font-size: 14.5px; }
.hm-cause-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hm-cause-card { background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: .3s ease; }
.hm-cause-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.hm-cause-img { position: relative; display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--hm-blue), var(--hm-green)); overflow: hidden; }
.hm-cause-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hm-cause-card:hover .hm-cause-img img { transform: scale(1.05); }
.hm-cause-flag { position: absolute; top: 14px; left: 14px; background: #fff; color: var(--hm-navy); font-size: 12px; font-weight: 700; padding: 6px 12px; border-radius: 30px; }
.hm-cause-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.hm-cause-body h3 { font-size: 21px; font-weight: 700; margin: 0 0 8px; line-height: 1.3; }
.hm-cause-body h3 a { color: var(--hm-navy); text-decoration: none; }
.hm-cause-body p { color: var(--hm-slate); line-height: 1.7; font-size: 15px; margin: 0 0 18px; }
.hm-bar--light { background: #e8eef6; height: 10px; }
.hm-bar--light span { background: linear-gradient(90deg, var(--hm-blue), var(--hm-green)); width: 0; transition: none; }
.hm-cause-money { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 12px 0 20px; font-size: 14px; color: var(--hm-slate); }
.hm-cause-money strong { color: var(--hm-navy); font-size: 20px; font-weight: 800; }
.hm-cause-body .hm-btn { align-self: flex-start; margin-top: auto; }
.hm-cause-empty { background: #fff; border: 1px dashed var(--hm-line); border-radius: 24px; padding: 40px; text-align: center; color: var(--hm-slate); }
.hm-cause-more { text-align: center; margin-top: 40px; }
@media (max-width: 991px) { .hm-cause-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hm-causes { padding: 64px 0; } .hm-cause-grid { grid-template-columns: 1fr; } }

/* ── HERO SLIDER ── */
.hm-hero-slider { padding: 70px 0 56px; position: relative; }
.hm-hero-slider .swiper { overflow: hidden; padding-bottom: 76px; }
.hm-hero-slider .swiper-slide { height: auto; }
.hm-slide-title { font-size: 58px; line-height: 1.12; font-weight: 800; color: var(--hm-navy); margin: 24px 0; }
.hm-points { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 10px; }
.hm-points li { display: flex; align-items: center; gap: 10px; color: var(--hm-navy); font-weight: 500; font-size: 16.5px; }
.hm-points i { color: var(--hm-green); font-size: 18px; }
.hm-hero-slider .hm-hero-desc { margin-bottom: 24px; }
.hm-slider-ui { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; align-items: center; justify-content: space-between; z-index: 5; left: 50%; transform: translateX(-50%); }
.hm-slider-pagination { display: flex; gap: 8px; width: auto !important; position: static !important; }
.hm-slider-pagination .swiper-pagination-bullet { width: 10px; height: 10px; border-radius: 10px; background: #c5d3e8; opacity: 1; transition: width .3s ease, background .3s ease; margin: 0 !important; }
.hm-slider-pagination .swiper-pagination-bullet-active { width: 34px; background: var(--hm-blue); }
.hm-slider-arrows { display: flex; gap: 10px; }
.hm-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--hm-line); background: #fff; color: var(--hm-navy); display: grid; place-items: center; font-size: 18px; cursor: pointer; transition: .2s ease; }
.hm-arrow:hover { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; }
.hm-slider-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(63,129,220,.12); z-index: 4; }
.hm-slider-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--hm-blue), var(--hm-green)); }
.hm-hero-slider > .hm-hero-note { margin-top: 18px; }
@media (max-width: 991px) {
  .hm-hero-slider { padding: 56px 0 44px; }
  .hm-slide-title { font-size: 42px; }
}
@media (max-width: 767px) {
  .hm-slide-title { font-size: 34px; }
  .hm-points li { font-size: 15.5px; }
  .hm-hero-slider .swiper { padding-bottom: 70px; }
  .hm-arrow { width: 40px; height: 40px; }
}

/* ── FOCUS AREAS ── */
.hm-areas { padding: 100px 0; background: #fff; }
.hm-area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.hm-area { display: block; background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; padding: 34px 30px 28px; text-decoration: none; transition: .3s ease; }
.hm-area:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.hm-area-icon { width: 68px; height: 68px; border-radius: 20px; background: var(--hm-soft); color: var(--hm-blue); display: grid; place-items: center; font-size: 30px; margin-bottom: 22px; }
.hm-area:nth-child(even) .hm-area-icon { background: #eaf8ec; color: var(--hm-green); }
.hm-area h4 { color: var(--hm-navy); font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.hm-area p { color: var(--hm-slate); line-height: 1.75; font-size: 15.5px; margin: 0 0 18px; }
.hm-area-link { color: var(--hm-blue); font-weight: 600; font-size: 15px; }
.hm-area-link i { transition: transform .2s ease; display: inline-block; }
.hm-area:hover .hm-area-link i { transform: translateX(5px); }
@media (max-width: 991px) { .hm-area-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hm-areas { padding: 64px 0; } .hm-area-grid { grid-template-columns: 1fr; } }

/* ── SERVICES PAGE ── */
.hm-svc-hero { padding: 90px 0 60px; background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%); text-align: center; }
.hm-svc-hero-inner { max-width: 820px; margin: 0 auto; }
.hm-svc-hero h1 { font-size: 54px; line-height: 1.15; font-weight: 800; color: var(--hm-navy); margin: 22px 0; }
.hm-svc-hero p { font-size: 18px; color: var(--hm-slate); line-height: 1.85; margin: 0 auto 30px; max-width: 700px; }
.hm-svc-hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hm-svc-list { padding: 70px 0 90px; background: var(--hm-bg); }
.hm-svc-filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.hm-svc-chip { border: 1.5px solid var(--hm-line); background: #fff; color: var(--hm-navy); font-weight: 600; font-size: 14.5px; padding: 10px 22px; border-radius: 50px; cursor: pointer; transition: .2s ease; }
.hm-svc-chip:hover { border-color: var(--hm-blue); color: var(--hm-blue); }
.hm-svc-chip.active { background: var(--hm-blue); border-color: var(--hm-blue); color: #fff; box-shadow: 0 8px 20px rgba(63,129,220,.25); }
.hm-svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hm-svc-card { background: #fff; border: 1px solid var(--hm-line); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.hm-svc-card:hover { transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,.08); }
.hm-svc-card.is-hidden { display: none; }
.hm-svc-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, var(--hm-blue), var(--hm-green)); }
.hm-svc-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.hm-svc-card:hover .hm-svc-img img { transform: scale(1.06); }
.hm-svc-cat { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.95); color: var(--hm-blue); font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 30px; }
.hm-svc-flag { position: absolute; right: 14px; top: 14px; background: #f5b335; color: #3a2a00; font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 30px; }
.hm-svc-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.hm-svc-body h3 { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 0 0 10px; }
.hm-svc-body h3 a { color: var(--hm-navy); text-decoration: none; }
.hm-svc-body p { color: var(--hm-slate); font-size: 15.5px; line-height: 1.75; margin: 0 0 20px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.hm-svc-link { margin-top: auto; color: var(--hm-blue); font-weight: 600; text-decoration: none; }
.hm-svc-link i { display: inline-block; transition: transform .2s ease; }
.hm-svc-card:hover .hm-svc-link i { transform: translateX(5px); }
@media (max-width: 991px) { .hm-svc-hero h1 { font-size: 40px; } .hm-svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .hm-svc-hero { padding: 64px 0 44px; } .hm-svc-hero h1 { font-size: 32px; } .hm-svc-hero-btns .hm-btn { width: 100%; } .hm-svc-grid { grid-template-columns: 1fr; } .hm-svc-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; } .hm-svc-chip { white-space: nowrap; } }

/* ── WATCH OUR IMPACT (videos) ── */
.hm-vid { padding: 100px 0; background: var(--hm-bg); }
.hm-vid-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.hm-vid-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: #0a1f2e; box-shadow: 0 24px 56px rgba(26,42,74,.18); }
.hm-vid-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hm-vid-poster { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: #0a1f2e; cursor: pointer; }
.hm-vid-poster img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease, opacity .3s ease; opacity: .92; }
.hm-vid-poster:hover img { transform: scale(1.03); opacity: 1; }
.hm-vid-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(255,255,255,.95); color: var(--hm-blue); display: grid; place-items: center; font-size: 44px; box-shadow: 0 12px 34px rgba(0,0,0,.3); transition: transform .25s ease, background .25s ease, color .25s ease; }
.hm-vid-play i { margin-left: 4px; }
.hm-vid-poster:hover .hm-vid-play { transform: translate(-50%, -50%) scale(1.1); background: var(--hm-blue); color: #fff; }
.hm-vid-info { padding: 22px 6px 0; }
.hm-vid-count { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--hm-blue); margin-bottom: 8px; }
.hm-vid-info h3 { font-size: 26px; line-height: 1.3; font-weight: 700; color: var(--hm-navy); margin: 0 0 14px; }
.hm-vid-yt { display: inline-flex; align-items: center; gap: 8px; color: #d92d20; font-weight: 600; text-decoration: none; }
.hm-vid-yt:hover { text-decoration: underline; color: #d92d20; }
.hm-vid-list { display: flex; flex-direction: column; gap: 12px; max-height: 560px; overflow-y: auto; padding: 4px; }
.hm-vid-item { display: flex; gap: 14px; align-items: center; text-align: left; width: 100%; background: #fff; border: 1.5px solid var(--hm-line); border-radius: 18px; padding: 10px; cursor: pointer; transition: .25s ease; }
.hm-vid-item:hover { transform: translateX(4px); box-shadow: 0 10px 26px rgba(0,0,0,.07); }
.hm-vid-item.active { border-color: var(--hm-blue); box-shadow: 0 10px 26px rgba(63,129,220,.18); background: #f5f9ff; }
.hm-vid-thumb { position: relative; flex: 0 0 128px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #0a1f2e; }
.hm-vid-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hm-vid-thumb i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--hm-blue); display: grid; place-items: center; font-size: 20px; }
.hm-vid-meta small { display: block; font-size: 12px; font-weight: 700; color: #94a3b8; letter-spacing: 1px; margin-bottom: 3px; }
.hm-vid-meta strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--hm-navy); font-size: 14.5px; line-height: 1.4; font-weight: 600; }
.hm-vid-item.active .hm-vid-meta small { color: var(--hm-blue); }
@media (max-width: 991px) { .hm-vid-layout { grid-template-columns: 1fr; } .hm-vid-list { max-height: none; flex-direction: row; overflow-x: auto; overflow-y: hidden; padding-bottom: 10px; } .hm-vid-item { flex: 0 0 290px; } .hm-vid-info h3 { font-size: 22px; } }
@media (max-width: 640px) { .hm-vid { padding: 64px 0; } .hm-vid-play { width: 64px; height: 64px; font-size: 34px; } .hm-vid-item { flex-basis: 260px; } .hm-vid-thumb { flex-basis: 104px; } }

/* Donation causes: centre the cards when there are fewer than three */
.hm-cause-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 390px)); justify-content: center; }
