
[data-ifgf-ccb] { box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding-block: clamp(32px, 4vw, 56px); font-family: inherit; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.65; color: inherit; }
[data-ifgf-ccb] .ifgf-events__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 clamp(24px, 2.5vw, 36px); }
[data-ifgf-ccb] .ifgf-events__title { font-size: clamp(28px, 3vw, 40px); font-weight: 700; line-height: 1.15; margin: 0; letter-spacing: -0.025em; text-wrap: balance; }
[data-ifgf-ccb] .ifgf-events__all { font-size: 0.85em; color: inherit; opacity: 0.65; text-decoration: none; white-space: nowrap; }
[data-ifgf-ccb] .ifgf-events__all:hover { opacity: 1; }
[data-ifgf-ccb] .ifgf-events__list { border-top: 1px solid; border-color: color-mix(in srgb, currentColor 14%, transparent); }

[data-ifgf-ccb] .ifgf-row { display: flex; align-items: center; gap: 28px; padding: 28px 0; border-bottom: 1px solid; border-color: color-mix(in srgb, currentColor 14%, transparent); }
[data-ifgf-ccb] .ifgf-row__media { width: 150px; flex: 0 0 150px; height: 84px; border-radius: 7px; object-fit: cover; display: block; border: 1px solid; border-color: color-mix(in srgb, currentColor 12%, transparent); }
[data-ifgf-ccb] .ifgf-row__chip { flex: 0 0 150px; height: 84px; border-radius: 7px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: color-mix(in srgb, currentColor 7%, transparent); }
[data-ifgf-ccb] .ifgf-row__chip-m { font-size: 0.8em; opacity: 0.65; line-height: 1; }
[data-ifgf-ccb] .ifgf-row__chip-d { font-size: 1.7em; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }

[data-ifgf-ccb] .ifgf-row__body { flex: 1; min-width: 0; }
[data-ifgf-ccb] .ifgf-row__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; margin: 0 0 5px; }
[data-ifgf-ccb] .ifgf-tag { font-size: 0.7em; font-weight: 500; letter-spacing: 0.05em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; background: color-mix(in srgb, currentColor 9%, transparent); }
[data-ifgf-ccb] .ifgf-tag--all { background: color-mix(in srgb, currentColor 20%, transparent); }
[data-ifgf-ccb] .ifgf-row__when { font-size: 0.85em; opacity: 0.7; margin: 0; }
[data-ifgf-ccb] .ifgf-row__name { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; margin: 0 0 8px; line-height: 1.25; letter-spacing: -0.01em; overflow-wrap: anywhere; }
[data-ifgf-ccb] .ifgf-row__name a { color: inherit; text-decoration: none; }
[data-ifgf-ccb] .ifgf-row__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-ifgf-ccb] .ifgf-row__where { font-size: 0.85em; opacity: 0.6; margin: 0; }
[data-ifgf-ccb] .ifgf-row__where a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; }
[data-ifgf-ccb] .ifgf-row__where a:hover { text-decoration: underline; text-underline-offset: 3px; opacity: 1; }
[data-ifgf-ccb] .ifgf-row__where svg { flex: 0 0 auto; }

[data-ifgf-ccb] .ifgf-row__actions { margin: 11px 0 0; }
[data-ifgf-ccb] .ifgf-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; font-size: 16px; font-weight: 500; line-height: 1.3; padding: 11px 22px; border: 1px solid; border-color: color-mix(in srgb, currentColor 32%, transparent); border-radius: 999px; text-decoration: none; color: inherit; transition: background-color 140ms ease, border-color 140ms ease; }
[data-ifgf-ccb] .ifgf-btn:hover { background: color-mix(in srgb, currentColor 9%, transparent); border-color: currentColor; }
[data-ifgf-ccb] .ifgf-btn:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }

[data-ifgf-ccb] .ifgf-events__empty { font-size: 1em; line-height: 1.65; opacity: 0.85; margin: 16px 0; }
[data-ifgf-ccb] .ifgf-empty-state { padding: clamp(24px, 3vw, 40px); border: 1px solid #d9e2ed; border-radius: 16px; background: #f4f7fb; color: #163454; }
[data-ifgf-ccb] .ifgf-empty-state__title { margin: 0 0 12px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; color: inherit; }
[data-ifgf-ccb] .ifgf-empty-state__copy { max-width: 65ch; margin: 0; font-size: 1em; line-height: 1.65; color: inherit; }
[data-ifgf-ccb] .ifgf-empty-state .ifgf-btn { margin-top: 24px; background: #163454; border-color: #163454; color: #fff; }
[data-ifgf-ccb] .ifgf-empty-state .ifgf-btn:hover { background: #254c77; }
[data-ifgf-ccb] .ifgf-empty-state .ifgf-btn:focus-visible { outline-color: #163454; }
[data-ifgf-ccb][data-kind="events"] { container: ifgf-events / inline-size; }
@container ifgf-events (min-width: 700px) {
  [data-ifgf-ccb] .ifgf-empty-state { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 40px; }
  [data-ifgf-ccb] .ifgf-empty-state__title, [data-ifgf-ccb] .ifgf-empty-state__copy { grid-column: 1; }
  [data-ifgf-ccb] .ifgf-empty-state .ifgf-btn { grid-column: 2; grid-row: 1 / 3; align-self: center; margin-top: 0; }
}

@media (max-width: 520px) {
  [data-ifgf-ccb] .ifgf-row { flex-direction: column; align-items: stretch; gap: 12px; padding: 20px 0; }
  [data-ifgf-ccb] .ifgf-row__media { flex: none; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 8px; }
  [data-ifgf-ccb] .ifgf-row__chip { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-ifgf-ccb] .ifgf-btn { transition: none; }
}

/* Isolate the component styles from other Squarespace content. */
[data-ifgf-ccb] .ifgf-row__description { font-size: .9em; line-height: 1.6; margin: 8px 0; }
[data-ifgf-ccb] .ifgf-btn { font-family: inherit; cursor: pointer; background: transparent; }

/* Care groups use distinct cards so CCB descriptions do not become a text wall. */
[data-ifgf-ccb][data-kind="groups"] { container: ifgf-care-groups / inline-size; }
[data-ifgf-ccb] .ifgf-groups__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: start; max-width: 1200px; }
[data-ifgf-ccb] .ifgf-groups__grid[data-layout="single"] { grid-template-columns: minmax(0, 1fr); }
[data-ifgf-ccb] .ifgf-groups__grid[data-layout="pair"] { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
[data-ifgf-ccb] .ifgf-group { min-width: 0; overflow: hidden; border: 1px solid #d9e2ed; border-radius: 16px; background: #fff; color: #163454; box-shadow: 0 10px 30px rgb(8 26 48 / .12); }
[data-ifgf-ccb] .ifgf-group__image { display: block; width: calc(100% - 48px); margin: 24px 24px 0; height: auto; object-fit: contain; aspect-ratio: 16 / 9; border: 0; border-radius: 0; background: #fff; }
[data-ifgf-ccb] .ifgf-group__body { padding: clamp(24px, 2.5vw, 32px); }
[data-ifgf-ccb] .ifgf-group .ifgf-tag { display: inline-block; white-space: normal; color: #163454; background: #eaf0f7; }
[data-ifgf-ccb] .ifgf-group p, [data-ifgf-ccb] .ifgf-group dt, [data-ifgf-ccb] .ifgf-group dd, [data-ifgf-ccb] .ifgf-group summary { color: #163454; }
[data-ifgf-ccb] .ifgf-group .ifgf-btn { background: #163454; color: #fff; border-color: #163454; padding: 12px 22px; font-weight: 600; }
[data-ifgf-ccb] .ifgf-group .ifgf-btn:hover { background: #254c77; border-color: #254c77; }
[data-ifgf-ccb] .ifgf-group .ifgf-btn:focus-visible { outline-color: #163454; }
[data-ifgf-ccb] .ifgf-group__title { font-size: clamp(24px, 2vw, 28px); font-weight: 600; line-height: 1.2; letter-spacing: -.02em; margin: 14px 0 24px; color: inherit; overflow-wrap: anywhere; }
[data-ifgf-ccb] .ifgf-group__facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 16px 24px; margin: 0 0 22px; padding: 0 0 22px; border-bottom: 1px solid color-mix(in srgb, currentColor 15%, transparent); }
[data-ifgf-ccb] .ifgf-group__facts dt { font-size: .7em; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; opacity: .7; margin: 0 0 6px; }
[data-ifgf-ccb] .ifgf-group__facts dd { font-size: 1em; line-height: 1.5; margin: 0; overflow-wrap: anywhere; }
[data-ifgf-ccb] .ifgf-group__intro, [data-ifgf-ccb] .ifgf-group__description p { font-size: 1em; line-height: 1.65; max-width: 65ch; margin: 0 0 20px; overflow-wrap: anywhere; }
[data-ifgf-ccb] .ifgf-group__intro[hidden] { display: none; }
[data-ifgf-ccb] .ifgf-group__details summary { cursor: pointer; font-size: .85em; font-weight: 600; padding: 6px 0; text-underline-offset: 4px; }
[data-ifgf-ccb] .ifgf-group__details summary:hover { text-decoration: underline; }
[data-ifgf-ccb] .ifgf-group__details summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
[data-ifgf-ccb] .ifgf-group__description { margin-top: 18px; }

/* Adapt to the code block's actual width, including Squarespace split sections. */
@container ifgf-care-groups (min-width: 700px) {
  [data-ifgf-ccb] [data-layout="single"] .ifgf-group:has(> .ifgf-group__image) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; }
  [data-ifgf-ccb] [data-layout="single"] .ifgf-group__image { width: calc(100% - 28px); margin: 28px 0 28px 28px; border-radius: 0; }
  [data-ifgf-ccb] [data-layout="single"] .ifgf-group__body { padding: 32px; }
  [data-ifgf-ccb] [data-layout="single"] .ifgf-group__title { font-size: 32px; }
}

/* Native dialog keeps keyboard focus inside the join form. */
.ifgf-join{box-sizing:border-box;width:min(580px,calc(100% - 32px));max-height:90dvh;border:0;border-radius:18px;padding:32px;color:#163454;background:#fff;font:16px/1.5 system-ui,sans-serif;box-shadow:0 24px 90px #0003}
.ifgf-join::backdrop{background:rgb(0 0 0 / .5)}
.ifgf-join h2{font:600 1.65rem/1.2 system-ui,sans-serif;margin:12px 0 18px;color:inherit}
.ifgf-join__close{display:block;margin-left:auto;background:none;border:0;text-decoration:underline;padding:6px;cursor:pointer;color:inherit;font:inherit}
.ifgf-join__form{display:grid;gap:16px}.ifgf-join__intro{margin:0 0 4px}
.ifgf-join__field{display:grid;gap:6px;font-weight:600}.ifgf-join__field[hidden]{display:none}
.ifgf-join__field input,.ifgf-join__field textarea,.ifgf-join__field select{box-sizing:border-box;min-width:0;width:100%;padding:12px;border:1px solid #a4ada6;border-radius:7px;background:#fff;color:#163454;font:400 16px/1.4 system-ui,sans-serif}
.ifgf-join__field select{appearance:none;-webkit-appearance:none;padding-right:48px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23163454' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 16px center;background-size:16px 16px}
@media(forced-colors:active){.ifgf-join__field select{appearance:auto;-webkit-appearance:auto;background-image:none}}
.ifgf-join__consent{display:flex;align-items:flex-start;gap:10px;font-size:14px}.ifgf-join__consent input{flex:none;width:18px;height:18px;margin-top:3px}
.ifgf-join__note{font-size:12px;color:#555;margin:0}.ifgf-join__status:empty{display:none}.ifgf-join__status{margin:0;font-size:14px}
.ifgf-join .ifgf-btn{border:0;padding:12px 20px;border-radius:8px;background:#163454;color:#fff;font:600 16px system-ui,sans-serif;cursor:pointer}
.ifgf-join button:disabled{opacity:.55;cursor:wait}.ifgf-join :focus-visible{outline:3px solid #467bba;outline-offset:3px}
@media(max-width:480px){.ifgf-join{padding:20px}}
.ifgf-join__group-photo{margin:0;border-radius:0;overflow:hidden;background:#fff}
.ifgf-join__group-photo[hidden]{display:none}
.ifgf-join__photo{display:block;border:0;border-radius:0;width:100%;aspect-ratio:16/9;object-fit:contain}
