/* Holiday Giving homepage band + slide-up promo (preview) */
.cfhg-band{--green:#24492b;--cream:#f3e3b0;--red:#b8283a;font-family:"Work Sans",Arial,sans-serif;display:grid;grid-template-columns:300px 1fr auto;align-items:center;gap:30px;background:linear-gradient(135deg,#1c3a22,#2f5d34);border-radius:16px;overflow:hidden;margin:0 0 34px;color:#fff;box-shadow:0 12px 30px rgba(28,58,34,.22)}
.cfhg-band *{box-sizing:border-box}
.cfhg-band .ph{align-self:stretch;min-height:170px;background:#24492b url(https://childandfamilyri.org/wp-content/uploads/2025/11/Holiday-Giving-2025-Slider.jpg) center top/cover no-repeat}
.cfhg-band .tx{padding:24px 0}
.cfhg-band small{display:block;font-size:12.5px;font-weight:700;letter-spacing:1.3px;text-transform:uppercase;color:var(--cream);margin-bottom:6px}
.cfhg-band h2{font-family:inherit;font-size:clamp(24px,2.4vw,32px);font-weight:700;line-height:1.15;color:var(--cream);margin:0 0 8px;padding:0}
.cfhg-band p{margin:0;padding:0;font-size:16.5px;line-height:1.5;color:#e3ece2;max-width:560px}
.cfhg-band .bt{display:flex;flex-direction:column;gap:10px;padding:24px 30px 24px 0}
.cfhg-b{display:inline-flex;justify-content:center;align-items:center;font-family:"Work Sans",Arial,sans-serif;font-weight:700;font-size:15.5px;border-radius:999px;padding:12px 24px;text-decoration:none!important;white-space:nowrap;transition:transform .15s,box-shadow .15s}
.cfhg-b:hover{transform:translateY(-2px);box-shadow:0 8px 16px rgba(0,0,0,.2)}
.cfhg-b.red{background:#b8283a;color:#fff!important}
.cfhg-b.cream{background:#f3e3b0;color:#24492b!important}

.cfhg-pop{position:fixed;right:22px;bottom:86px;width:340px;max-width:calc(100vw - 32px);z-index:99999;font-family:"Work Sans",Arial,sans-serif;background:#fff;border-radius:18px;overflow:hidden;box-shadow:0 22px 50px rgba(20,30,25,.32);transform:translateY(calc(100% + 120px));opacity:0;transition:transform .45s cubic-bezier(.2,.8,.2,1),opacity .3s;visibility:hidden}
.cfhg-pop.show{transform:none;opacity:1;visibility:visible}
.cfhg-pop *{box-sizing:border-box}
.cfhg-pop .ph{height:132px;background:#24492b url(https://childandfamilyri.org/wp-content/uploads/2025/11/Holiday-Giving-2025-Slider.jpg) center 18%/cover no-repeat;position:relative}
.cfhg-pop .ph::after{content:"Holiday Giving";position:absolute;left:16px;bottom:-14px;background:#b8283a;color:#fff;font-size:12.5px;font-weight:700;letter-spacing:1px;text-transform:uppercase;border-radius:999px;padding:6px 14px}
.cfhg-pop .bd{padding:26px 20px 20px}
.cfhg-pop h3{font-family:inherit;font-size:21px;line-height:1.2;font-weight:700;color:#24492b;margin:0 0 6px;padding:0}
.cfhg-pop p{font-size:15px;line-height:1.5;color:#4d5864;margin:0 0 16px;padding:0}
.cfhg-pop .bt{display:flex;gap:8px}
.cfhg-pop .cfhg-b{flex:1;padding:11px 12px;font-size:15px}
.cfhg-pop .x{position:absolute;top:10px;right:10px;width:34px;height:34px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:#24303d;font-size:20px;line-height:1;cursor:pointer;display:grid;place-items:center;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.cfhg-pop .x:focus-visible,.cfhg-b:focus-visible{outline:3px solid #d99a1e;outline-offset:2px}
@media (prefers-reduced-motion:reduce){.cfhg-pop{transition:opacity .2s}.cfhg-b{transition:none}}
@media (max-width:980px){
  .cfhg-band{grid-template-columns:1fr;gap:0}
  .cfhg-band .ph{min-height:180px;background-position:center 20%}
  .cfhg-band .tx{padding:22px 22px 4px}
  .cfhg-band .bt{flex-direction:row;flex-wrap:wrap;padding:16px 22px 24px}
}
@media (max-width:600px){
  .cfhg-pop{left:12px;right:12px;bottom:12px;width:auto;max-width:none;display:grid;grid-template-columns:96px 1fr}
  .cfhg-pop .ph{height:84px;align-self:start;margin:14px 0 0 14px;border-radius:12px;background-size:150% auto;background-position:center 8%}
  .cfhg-pop .ph::after{display:none}
  .cfhg-pop .bd{padding:14px 44px 14px 14px}
  .cfhg-pop h3{font-size:17px}
  .cfhg-pop p{font-size:13.5px;margin-bottom:10px}
  .cfhg-pop .cfhg-b{padding:9px 10px;font-size:14px}
  .cfhg-pop .cfhg-b.cream{display:none}
  .cfhg-pop .x{top:8px;right:8px;width:30px;height:30px;font-size:18px}
  .cfhg-band .bt .cfhg-b{flex:1}
}

/* Oct 15: slide-in about 40% larger on desktop and a slower, gentler slide */
.cfhg-pop{transition:transform 1.1s cubic-bezier(.16,1,.3,1),opacity .8s ease}
@media (min-width:601px){
  .cfhg-pop{width:476px;border-radius:24px;bottom:80px}
  .cfhg-pop .ph{height:185px}
  .cfhg-pop .ph::after{left:22px;bottom:-19px;font-size:17px;padding:8px 20px}
  .cfhg-pop .bd{padding:36px 28px 28px}
  .cfhg-pop h3{font-size:29px;margin-bottom:8px}
  .cfhg-pop p{font-size:21px;margin-bottom:22px}
  .cfhg-pop .bt{gap:12px}
  .cfhg-pop .cfhg-b{padding:15px 16px;font-size:20px}
  .cfhg-pop .x{top:14px;right:14px;width:46px;height:46px;font-size:27px}
}
@media (max-height:700px) and (min-width:601px){.cfhg-pop{bottom:20px}.cfhg-pop .ph{height:140px}}
