/* Minimal default layout: your theme can override .fpfl-* classes. */
.fpfl-layout { width: 100%; }
.fpfl-row {
  display: grid;
  grid-template-columns: repeat(var(--fpfl-cols), minmax(0, 1fr));
  gap: 20px;
  margin-block: 20px;
}
.fpfl-field { min-width: 0; overflow-wrap: anywhere; }
.fpfl-image { display: block; max-width: 100%; height: auto; }
@media (max-width: 767px) {
  .fpfl-row { grid-template-columns: 1fr; }
}

/* Hero appears before WordPress Content; buttons use the theme's Bootstrap classes. */
.fpfl-hero { min-height: 500px; background-color: #32383d; background-size: cover; background-position: center; color: #fff; text-align: center; position: relative; }
.fpfl-hero__overlay { box-sizing: border-box; background: rgba(0, 0, 0, 0.5); min-height: 500px; display: flex; align-items: center; justify-content: center; padding: 32px 20px; }
.fpfl-hero__inner { max-width: 960px; margin-inline: auto; }
.fpfl-hero__heading { color: #fff; }

/* v0.2.7: Only grouped-column rows get stacked fields inside each column. */
.fpfl-row--grouped .fpfl-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.fpfl-row--grouped .fpfl-column > .fpfl-field { min-width: 0; }
/* Existing .fpfl-row mobile breakpoint stacks the whole column wrapper. */
