/* Core block layout for the editable front page. */
.fsb-home > .wp-block-group { margin-block: 0; }
.fsb-home .fsb-hero-inner { width: min(1240px, calc(100% - 48px)); margin-inline: auto; }
.fsb-home .fsb-hero-inner > * { margin-left: 0; }
.fsb-entry-content > .fsb-hero .fsb-hero-inner { width: min(100% - 48px, 1240px); margin-inline: auto; padding-block: clamp(60px, 8vw, 100px); }
.fsb-entry-content > .fsb-hero h1 { font-size: clamp(2.8rem, 5vw, 5rem); }
.fsb-entry-content > :is(.fsb-hero, .fsb-explore, .fsb-about, .fsb-calendar-callout, .fsb-social, .fsb-join) { overflow: hidden; margin-block: 28px; border-radius: 18px; }
.fsb-entry-content > :is(.fsb-explore, .fsb-about, .fsb-calendar-callout, .fsb-social, .fsb-join) { padding-block: clamp(40px, 6vw, 72px); }
.fsb-home .fsb-explore,
.fsb-home .fsb-about,
.fsb-home .fsb-calendar-callout,
.fsb-home .fsb-social,
.fsb-home .fsb-join { padding-block: clamp(72px, 8vw, 110px); }
.fsb-home .fsb-explore > .fsb-shell,
.fsb-home .fsb-about > .fsb-shell,
.fsb-home .fsb-calendar-callout > .fsb-shell,
.fsb-home .fsb-social > .fsb-shell,
.fsb-home .fsb-join > .fsb-shell { max-width: none; }
.fsb-home .fsb-explore > .fsb-shell,
.fsb-entry-content > .fsb-explore > .fsb-shell { max-width: 1100px; }
.fsb-home .fsb-explore > .fsb-shell > h2 { margin-bottom: .25em; }
.fsb-home .fsb-explore > .fsb-shell > p:not(.fsb-eyebrow) { color: var(--fsb-muted); margin-bottom: 30px; }
.fsb-card-grid-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0 0 20px; }
.fsb-card-grid-row > .wp-block-column { min-width: 0; margin: 0; }
.fsb-card-grid-row .fsb-card { height: 100%; }
.fsb-card-grid-row .fsb-card-image { height: 195px; margin: 0; }
.fsb-card-grid-row .fsb-card-image a { display: block; width: 100%; height: 100%; }
.fsb-card-grid-row .fsb-card-copy { width: 100%; }
.fsb-card-grid-row .fsb-card-copy .wp-block-buttons { margin-top: auto; }
.fsb-card-grid-row .fsb-card-button { margin-top: 10px; padding: 0; border: 0; background: transparent; }
.fsb-card-grid-row .fsb-card-button:hover { border: 0; background: transparent; }
.fsb-card-grid-row .fsb-card-button .wp-block-button__link { padding: 11px 17px; border: 1px solid #b9cde0; background: transparent; color: var(--fsb-blue) !important; font-size: .82rem; }
.fsb-card-grid-row .fsb-card-button .wp-block-button__link:hover { border-color: var(--fsb-blue); background: var(--fsb-light); }
.fsb-hero .fsb-button-light .wp-block-button__link,
.fsb-calendar-callout .fsb-button-light .wp-block-button__link { border: 1px solid #fff; background: #fff; color: var(--fsb-deep) !important; }
.fsb-hero .wp-block-button__link,
.fsb-calendar-callout .wp-block-button__link { border: 1px solid rgba(255,255,255,.65); background: transparent; color: #fff !important; }
.fsb-button-outline-light .wp-block-button__link:hover { background: rgba(255,255,255,.14); }
.fsb-button-secondary .wp-block-button__link { border: 1px solid var(--fsb-blue); background: transparent; color: var(--fsb-blue) !important; }
.fsb-button-secondary .wp-block-button__link:hover { background: var(--fsb-light); }
.fsb-hero .wp-block-buttons,
.fsb-calendar-callout .wp-block-buttons { margin-top: 28px; }
.fsb-social .wp-block-buttons { margin-top: 24px; }
.fsb-home .fsb-about-grid,
.fsb-home .fsb-feature-grid { margin-bottom: 0; }
.fsb-home .fsb-feature-grid > .wp-block-column,
.fsb-home .fsb-about-grid > .wp-block-column { min-width: 0; }
.fsb-home .fsb-about-text p:last-child { margin-bottom: 0; }
.fsb-home .fsb-join-actions .wp-block-buttons { justify-content: flex-end; }
.fsb-home .fsb-calendar-panel .wp-block-shortcode { max-width: 100%; }
.fsb-entry-content > .wp-block-image { max-width: 620px; margin: 24px auto 36px; }
.fsb-entry-content .wp-block-gallery.has-nested-images { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; width: 100%; max-width: 920px; margin-inline: auto; }
.fsb-entry-content .wp-block-gallery.has-nested-images > figure { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100% !important; height: auto; margin: 0 !important; }
.fsb-entry-content .wp-block-gallery.has-nested-images > figure > a { display: flex; justify-content: center; width: 100%; }
.fsb-entry-content .wp-block-gallery.has-nested-images img { display: block; width: auto; max-width: 100%; height: auto; max-height: 420px; margin-inline: auto; object-fit: contain; }
.fsb-entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image:has(figcaption)::before { content: none; }
.fsb-entry-content .wp-block-gallery.has-nested-images > figure.wp-block-image figcaption { position: static; width: 100%; max-height: none; margin: 8px 0 0; padding: 0 4px; overflow: visible; background: none; color: var(--fsb-muted); text-align: center; text-shadow: none; font-size: .8rem; line-height: 1.45; }
.fsb-entry-content .wp-block-image figcaption { color: var(--fsb-muted); font-size: .85rem; line-height: 1.45; }

@media (max-width: 720px) {
  .fsb-home .fsb-hero-inner { width: min(100% - 32px, 1240px); }
  .fsb-card-grid-row { grid-template-columns: 1fr; }
  .fsb-home .fsb-join-actions .wp-block-buttons { justify-content: flex-start; }
  .fsb-entry-content .wp-block-gallery.has-nested-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px) {
  .fsb-entry-content .wp-block-gallery.has-nested-images { grid-template-columns: 1fr; }
}
