/* ── Generic, composable blocks (gb) ──────────────────────────────
   Neutral, themeable styling so these blocks work on any site.
   Colours fall back to sensible defaults but pick up the site theme
   via --sky / --navy / --ink when present. */
:root {
  --gb-ink: var(--navy, #15223d);
  --gb-muted: #5b6b8c;
  --gb-accent: var(--sky, #2B9FE8);
  --gb-surface: #f5f8fd;
  --gb-border: #e3e9f5;
  --gb-maxw: 1100px;
}

.gb {
  padding-left: 24px;
  padding-right: 24px;
  font-family: inherit;
  color: var(--gb-ink);
}
.gb-container { max-width: var(--gb-maxw); margin: 0 auto; }
.gb-narrow { max-width: 760px; }

/* Style settings: alignment + vertical padding (see App\Support\BlockStyle) */
.gb-align-left   { text-align: left; }
.gb-align-center { text-align: center; }
.gb-align-right  { text-align: right; }
.gb-pad-none   { padding-top: 0;     padding-bottom: 0; }
.gb-pad-small  { padding-top: 32px;  padding-bottom: 32px; }
.gb-pad-medium { padding-top: 72px;  padding-bottom: 72px; }
.gb-pad-large  { padding-top: 120px; padding-bottom: 120px; }

.gb-heading {
  font-size: var(--gb-hs, clamp(1.7rem, 3.5vw, 2.5rem));
  line-height: 1.15; font-weight: var(--gb-fw, 800); margin: 0 0 16px;
  letter-spacing: -.02em; color: var(--gb-hcolor, inherit);
}
.gb-body { font-size: var(--gb-fs, 1.075rem); line-height: 1.7; color: var(--gb-bcolor, var(--gb-muted)); margin: 0; }

/* Columns */
.gb-cols {
  display: grid; gap: 32px;
  grid-template-columns: repeat(var(--gb-cols, 3), 1fr);
}
@media (max-width: 760px) { .gb-cols { grid-template-columns: 1fr; } }
.gb-col-heading { font-size: var(--gb-ts, 1.25rem); font-weight: 700; margin: 0 0 10px; color: var(--gb-tcolor, inherit); }
.gb-col-body { font-size: var(--gb-fs, 1rem); color: var(--gb-bcolor, var(--gb-muted)); line-height: 1.7; margin: 0; }

/* Feature grid */
.gb-features .gb-heading { margin-bottom: 40px; }
.gb-feature-grid {
  display: grid; gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.gb-feature {
  background: #fff; border: 1px solid var(--gb-border);
  border-radius: 16px; padding: 28px;
}
.gb-feature-ico { font-size: 2rem; line-height: 1; margin-bottom: 14px; }
.gb-feature-title { font-size: var(--gb-ts, 1.2rem); font-weight: 700; margin: 0 0 8px; color: var(--gb-tcolor, inherit); }
.gb-feature-body { font-size: var(--gb-fs, 1rem); color: var(--gb-bcolor, var(--gb-muted)); line-height: 1.65; margin: 0; }

/* Call to action (background comes from the block's default settings) */
.gb-cta .gb-body { margin-bottom: 28px; }
.gb-btn {
  display: inline-block; background: var(--gb-accent); color: #fff;
  text-decoration: none; font-weight: 600;
  padding: 14px 28px; border-radius: 999px; transition: filter .15s ease;
}
.gb-btn:hover { filter: brightness(1.08); }

/* Quote */
.gb-quote-text {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem); line-height: 1.5;
  font-weight: 600; margin: 0 0 20px; quotes: none;
}
.gb-quote-author { font-weight: 700; }
.gb-quote-role { color: var(--gb-muted); font-size: .95rem; margin-top: 2px; }

/* Spacer */
.gb-spacer-small  { height: 32px; }
.gb-spacer-medium { height: 72px; }
.gb-spacer-large  { height: 140px; }
