/* The Floor (eventreps.io/the-floor). Two parts:
   1. .fl: the welcome, "Start here" cards and "Latest stories" heading in the hero's Code Block (build.py snippet 2).
   2. Squarespace's own post list, restyled into the same white rows (photo left, date and read time, title, excerpt).
   The hero above them is the shared stills hero (hero.css + ps/ps.css). Loaded from the asset site (header injection). */
:root { --fl-ink: #17324A; --fl-mute: #5B6B7C; --fl-brand: #146FA3; --fl-brand-light: #6FC7EE; --fl-bg: #F4F7FA; --fl-card: #fff; --fl-line: #E3E9F0;
        --fl-shadow: 0 1px 2px rgba(23,50,74,.06), 0 8px 24px rgba(23,50,74,.06); --fl-shadow-hover: 0 2px 4px rgba(23,50,74,.08), 0 16px 36px rgba(23,50,74,.12); }

/* ---------- 1. Welcome, Start here, Latest stories heading ---------- */
.fl { background: var(--fl-bg); color: var(--fl-ink); font-family: "Nunito Sans", Manrope, sans-serif; padding: clamp(40px, 6vw, 80px) 0 clamp(8px, 1.5vw, 16px); }
.fl-wrap { box-sizing: border-box; max-width: 1180px; margin: 0 auto; padding: 0 max(16px, 4vw); display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 32px); }
.fl-kicker { margin: 0; font: 800 12px/1 Manrope, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--fl-brand); }
.fl-h2 { margin: clamp(12px, 2vw, 24px) 0 0; font: 800 clamp(26px, 3vw, 40px)/1.05 Manrope, sans-serif; letter-spacing: -.02em; color: var(--fl-ink); text-wrap: balance; scroll-margin-top: 110px; }
.fl-welcome { max-width: 62ch; display: flex; flex-direction: column; gap: 12px; }
.fl-welcome p:not(.fl-kicker) { margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--fl-ink); }

.fl-card { display: flex; flex-direction: column; background: var(--fl-card); border-radius: 16px; overflow: hidden; text-decoration: none !important;
           color: inherit !important; box-shadow: var(--fl-shadow); transition: transform .25s, box-shadow .25s; }
.fl-card:hover { transform: translateY(-3px); box-shadow: var(--fl-shadow-hover); }
.fl-card:focus-visible { outline: 3px solid var(--fl-brand-light); outline-offset: 3px; }
.fl-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--fl-line); }
.fl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.fl-card:hover .fl-img img { transform: scale(1.04); }
.fl-body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 22px; }
.fl-meta, .fl-row-meta { font: 700 12px/1 Manrope, sans-serif; letter-spacing: .04em; color: var(--fl-mute); font-variant-numeric: tabular-nums; }
.fl-title { font: 800 clamp(18px, 1.5vw, 21px)/1.2 Manrope, sans-serif; letter-spacing: -.01em; color: var(--fl-ink); text-wrap: balance; }
.fl-ex { font-size: 15px; line-height: 1.5; color: var(--fl-mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.fl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }
@media (max-width: 960px) { .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fl-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 620px) { .fl-grid { grid-template-columns: 1fr; } }

/* ---------- 2. Squarespace's post list as rows ---------- */
.page-section:has(.blog-side-by-side) { background: var(--fl-bg) !important; padding-top: clamp(16px, 2vw, 28px) !important; padding-bottom: clamp(56px, 7vw, 96px) !important; }
.page-section:has(.blog-side-by-side) :is(.section-background, .section-border) { background: var(--fl-bg) !important; } /* Squarespace paints the theme blue on .section-border */
.page-section:has(.blog-side-by-side) .blog-side-by-side { padding: 0 !important; }
.page-section:has(.blog-side-by-side) .content-wrapper { max-width: 1180px !important; margin: 0 auto !important; padding: 0 max(16px, 4vw) !important; }
.blog-side-by-side-wrapper { display: flex !important; flex-direction: column; gap: 16px; }
.blog-side-by-side-wrapper .blog-item { position: relative; display: grid !important; grid-template-columns: minmax(0, 300px) 1fr; align-items: stretch;
  margin: 0 !important; padding: 0 !important; background: var(--fl-card); border-radius: 16px; overflow: hidden; box-shadow: var(--fl-shadow); transition: transform .25s, box-shadow .25s; }
.blog-side-by-side-wrapper .blog-item:hover { transform: translateY(-3px); box-shadow: var(--fl-shadow-hover); }
.blog-side-by-side-wrapper .blog-image-wrapper { position: relative; width: auto !important; max-width: none !important; margin: 0 !important; min-height: 180px; }
.blog-side-by-side-wrapper .blog-image-wrapper .image-wrapper { position: absolute !important; inset: 0; padding: 0 !important; height: 100% !important; overflow: hidden; }
.blog-side-by-side-wrapper .blog-image-wrapper img { transition: transform .6s; }
.blog-side-by-side-wrapper .blog-item:hover .blog-image-wrapper img { transform: scale(1.04); }
.blog-side-by-side-wrapper .blog-item-summary { width: auto !important; margin: 0 !important; padding: 22px 28px !important; display: flex; align-items: center; }
.blog-side-by-side-wrapper .blog-item-text { display: flex; flex-direction: column; gap: 8px; }
.blog-side-by-side-wrapper .blog-meta-section { margin: 0 !important; font: 700 12px/1 Manrope, sans-serif !important; letter-spacing: .04em; color: var(--fl-mute) !important; }
.blog-side-by-side-wrapper .blog-meta-secondary, .blog-side-by-side-wrapper .blog-meta-delimiter, .blog-side-by-side-wrapper .blog-author { display: none !important; }
.blog-side-by-side-wrapper .blog-title { margin: 0 !important; font: 800 clamp(19px, 1.6vw, 23px)/1.2 Manrope, sans-serif !important; letter-spacing: -.01em !important; }
.blog-side-by-side-wrapper .blog-title a { color: var(--fl-ink) !important; text-decoration: none !important; }
.blog-side-by-side-wrapper .blog-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* the whole row is the link */
.blog-side-by-side-wrapper .blog-title a:focus-visible { outline: none; }
.blog-side-by-side-wrapper .blog-item:has(.blog-title a:focus-visible) { outline: 3px solid var(--fl-brand-light); outline-offset: 3px; }
.blog-side-by-side-wrapper .blog-excerpt { margin: 0 !important; }
.blog-side-by-side-wrapper .blog-excerpt p { margin: 0 !important; font: 400 15px/1.5 "Nunito Sans", sans-serif !important; font-style: normal !important; color: var(--fl-mute) !important;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-side-by-side-wrapper .blog-excerpt em { font-style: normal; }
.blog-side-by-side-wrapper .blog-more-link { display: none !important; }
@media (max-width: 620px) {
  .blog-side-by-side-wrapper .blog-item { grid-template-columns: 1fr; }
  .blog-side-by-side-wrapper .blog-image-wrapper { min-height: 0; aspect-ratio: 3 / 2; }
  .blog-side-by-side-wrapper .blog-item-summary { padding: 18px 20px 22px !important; }
}
.page-section:has(.blog-side-by-side) .blog-list-pagination { display: flex !important; justify-content: center !important; gap: 12px; margin-top: 32px !important; }
.page-section:has(.blog-side-by-side) .blog-list-pagination > div:not(:has(a)) { display: none !important; }
.page-section:has(.blog-side-by-side) .blog-list-pagination > div { width: auto !important; flex: none !important; margin: 0 !important; }
.page-section:has(.blog-side-by-side) .blog-list-pagination a { width: auto !important; justify-content: center; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 26px; border-radius: 999px;
  border: 2px solid var(--fl-ink); font: 800 15px Manrope, sans-serif !important; color: var(--fl-ink) !important; text-decoration: none !important; }
.page-section:has(.blog-side-by-side) .blog-list-pagination a:hover { background: var(--fl-ink); color: #fff !important; }
.page-section:has(.blog-side-by-side) .blog-list-pagination svg { stroke: currentColor; }

/* ---------- Hero ---------- */
.fl-hero .er-final h1 { max-width: 60cqw; }
