/**
 * Florence Finder — Events Page Editorial Redesign
 * assets/css/events-mockup.css
 * Round 4 Specifications matching design mockup exactly
 */

:root {
  --ff-page-bg: #FDFAF3;
  --ff-navy: #12275A;
  --ff-teal-primary: #015C6E;
  --ff-teal-hover: #014A58;
  --ff-teal-band: #00495A;
  --ff-coral: #BA3D22;
  --ff-cal-red: #E5604A;
  --ff-yellow-cta: #FCD55C;
  --ff-yellow-hover: #F0C748;
  --ff-featured-cream: #FBF1E4;
  --ff-tip-cream: #FCF7EE;
  --ff-footer-navy: #062A49;
  --ff-white: #FFFFFF;
  --ff-border: #ECE6DA;
  --ff-slate: #4B5563;
  --ff-subcopy: #2B3A67;
  --ff-muted: #4B5563;
  --ff-card-shadow: 0 4px 16px rgba(19, 28, 57, 0.06);
  --ff-pill-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

html,
body.page-events {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: clip !important;
  background-color: var(--ff-page-bg) !important;
  color: var(--ff-navy) !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body.page-events h1,
body.page-events h2,
body.page-events h3,
body.page-events h4,
.ff-events-hero__title,
.ff-town-heading,
.ff-featured-card__title,
.ff-day-title,
.ff-closing-title {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: #12275A !important;
}

.ff-dot {
  margin-left: -0.05em;
  display: inline-block;
}

/* ── Container (Item 2: 1336px wide with 52px padding below hero) ── */
.ff-events-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

.ff-featured-section .ff-events-container,
.ff-town-section .ff-events-container,
.ff-day-section .ff-events-container {
  max-width: 1440px !important;
  padding-left: 52px !important;
  padding-right: 52px !important;
  box-sizing: border-box !important;
}

/* ═══════════════════════════════════════════════════════════════
   1, 2, 3. HERO SECTION
   ═══════════════════════════════════════════════════════════════ */
.ff-events-hero {
  position: relative;
  background-color: var(--ff-page-bg);
  min-height: 520px;
  box-sizing: border-box;
  padding-top: 32px;
  padding-bottom: 24px;
  overflow: hidden !important;
}

/* Hero Left-Edge Botanical Strip (lantern hanging from top, faint line-art florals behind) */
.ff-events-hero__botanical-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.ff-events-hero__floral-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 480px;
  opacity: 0.5;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.ff-events-hero__lantern {
  position: absolute;
  top: 0;
  left: 0;
  width: 110px;
  height: 420px;
  object-fit: contain;
  object-position: top left;
  pointer-events: none;
  z-index: 2;
}

/* Hero Image Right Bleed: pill-like curved left edge (starts right of search bar) */
.ff-events-hero__image-bleed {
  position: absolute;
  top: 0;
  right: 0;
  left: max(50%, calc((100% - 1200px) / 2 + 610px));
  width: auto;
  height: 460px;
  object-fit: cover;
  border-radius: 140px 0 0 140px;
  z-index: 2;
  pointer-events: none;
}

/* Hero Magnolia: overlaps bottom-right of image, spilling 20px below (clipped to hero) */
.ff-events-hero__magnolia {
  position: absolute;
  bottom: 20px;
  right: 0;
  width: 230px;
  max-width: calc(100% - 10px);
  height: auto;
  pointer-events: none;
  z-index: 3;
}

.ff-events-hero__container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 4;
}

.ff-events-hero__content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
}

.ff-events-hero__eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 520px;
}

.ff-events-hero__eyebrow-navy {
  color: var(--ff-navy);
}

.ff-events-hero__eyebrow-coral {
  color: var(--ff-coral);
}

.ff-events-hero__title {
  font-size: 68px;
  line-height: 1.02;
  font-weight: 800;
  color: var(--ff-navy);
  letter-spacing: -0.02em;
  margin: 0 0 16px 0;
  max-width: 520px;
}

.ff-events-hero__subtitle {
  font-size: 20px;
  color: var(--ff-subcopy);
  max-width: 520px;
  line-height: 1.45;
  margin: 0 0 24px 0;
}

/* ═══════════════════════════════════════════════════════════════
   4. SEARCH BAR
   ═══════════════════════════════════════════════════════════════ */
.ff-events-search-wrap {
  margin-bottom: 18px;
  width: 580px;
  max-width: 100%;
}

.ff-events-search-bar {
  display: flex;
  align-items: center;
  background: var(--ff-white);
  height: 64px;
  border-radius: 999px;
  padding: 8px 8px 8px 24px;
  box-shadow: 0 8px 24px rgba(19, 28, 57, 0.08);
  box-sizing: border-box;
  border: 1px solid rgba(19, 28, 57, 0.06);
  width: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.ff-events-search-bar:focus-within {
  box-shadow: 0 10px 30px rgba(1, 92, 110, 0.18);
  border-color: var(--ff-teal-primary);
}

.ff-events-search-bar__icon {
  color: var(--ff-muted);
  display: flex;
  align-items: center;
  margin-right: 14px;
  flex-shrink: 0;
}

.ff-events-search-bar__input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  font-family: inherit;
  color: var(--ff-navy);
  min-width: 0;
}

.ff-events-search-bar__input::placeholder {
  color: #9CA3AF;
  font-size: 16px;
}

.ff-events-search-bar__btn {
  background: var(--ff-teal-primary);
  color: var(--ff-white);
  border: none;
  border-radius: 999px;
  height: 48px;
  padding: 0 34px;
  font-size: 17px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  flex-shrink: 0;
}

.ff-events-search-bar__btn:hover {
  background: var(--ff-teal-hover);
}

/* ═══════════════════════════════════════════════════════════════
   5. FILTER CHIPS
   ═══════════════════════════════════════════════════════════════ */
.ff-events-filter-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: max-content;
  max-width: 100%;
}

.ff-events-filter-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.ff-events-filter-row--dates {
  flex-wrap: nowrap;
}

.ff-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px !important;
  padding: 0 20px !important;
  border-radius: 999px !important;
  background: var(--ff-white) !important;
  border: none !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  color: var(--ff-navy) !important;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.2s ease;
  box-sizing: border-box;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}

.ff-filter-chip svg {
  flex-shrink: 0;
  stroke: var(--ff-navy);
  transition: stroke 0.2s ease;
}

.ff-filter-chip:hover {
  color: var(--ff-teal-primary);
  box-shadow: 0 4px 12px rgba(1, 92, 110, 0.12) !important;
}

.ff-filter-chip:hover svg {
  stroke: var(--ff-teal-primary);
}

.ff-filter-chip--active {
  background: var(--ff-teal-primary) !important;
  color: var(--ff-white) !important;
}

.ff-filter-chip--active svg {
  stroke: var(--ff-white) !important;
  fill: none;
}

.ff-filter-chip--active svg path[fill="currentColor"],
.ff-filter-chip--active svg circle[fill="currentColor"] {
  fill: #FFFFFF !important;
}

.ff-filter-chip__chevron {
  opacity: 0.7;
}

.ff-events-filter-row:last-child {
  display: flex;
  align-items: center;
  width: 100%;
}

.ff-events-filter-info {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px !important;
  color: #4B5563 !important;
  margin-left: auto !important;
  white-space: nowrap;
}

.ff-events-filter-info svg {
  color: #4B5563 !important;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   7. FEATURED EVENT CARD (40px after hero, 48px before heading)
   ═══════════════════════════════════════════════════════════════ */
.ff-featured-section {
  padding-top: 40px;
  padding-bottom: 48px;
  overflow-x: clip;
}

.ff-featured-card {
  width: 100%;
  max-width: 1336px !important;
  margin: 0 auto;
  min-height: 260px;
  height: auto;
  border-radius: 20px;
  background-color: var(--ff-featured-cream);
  position: relative;
  overflow: hidden;
  display: flex;
  box-sizing: border-box;
}

/* Watercolor floral sprig on the card's LEFT edge, inside the card, 260px tall, ~90px wide */
.ff-featured-card__left-sprig {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  pointer-events: none;
  z-index: 1;
}

.ff-featured-card__panel {
  width: 50%;
  height: 100%;
  padding: 24px 20px 24px 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.ff-featured-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ff-coral);
  margin-bottom: 4px;
}

.ff-featured-card__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--ff-navy);
  margin: 0 0 6px 0;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-featured-card__desc {
  font-size: 16px;
  line-height: 1.45;
  color: var(--ff-slate);
  margin: 0 0 8px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-featured-card__meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ff-slate);
  margin-bottom: 12px;
}

.ff-featured-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ff-featured-card__meta-item svg {
  color: var(--ff-coral);
  stroke: var(--ff-coral);
  flex-shrink: 0;
}

.ff-featured-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ff-teal-primary);
  color: var(--ff-white);
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  width: fit-content;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.ff-featured-card__btn:hover {
  background: var(--ff-teal-hover);
  transform: translateX(2px);
}

/* Right 55% Photo with soft left fade gradient */
.ff-featured-card__visual {
  width: 55%;
  height: 100%;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  z-index: 1;
}

.ff-featured-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ff-featured-card__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FBF1E4 0%, rgba(251, 241, 228, 0) 35%);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   8. "WHAT'S HAPPENING AROUND TOWN." & LAYOUT
   ═══════════════════════════════════════════════════════════════ */
.ff-town-section {
  padding-bottom: 64px;
  overflow-x: clip;
}

.ff-town-grid {
  display: grid;
  grid-template-columns: minmax(0, 951px) 365px;
  gap: 20px;
  align-items: start;
}

.ff-town-list-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ff-town-heading {
  font-size: 48px;
  font-weight: 800;
  color: #12275A !important;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  line-height: 1.1;
}

.ff-town-subline {
  font-size: 18px;
  color: var(--ff-slate);
  margin: 0 0 24px 0;
  line-height: 1.45;
}

/* Cards Wrapper with 200ms fade/translateY transition for AJAX swap */
.ff-events-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: opacity 0.2s ease, transform 0.2s ease;
  min-width: 0;
}

.ff-events-cards-wrap--animating {
  opacity: 0;
  transform: translateY(6px);
}

/* ═══════════════════════════════════════════════════════════════
   9. EVENT ROW CARDS (Item 5: 4-col grid, image fills card inside 16px padding)
   ═══════════════════════════════════════════════════════════════ */
.ff-event-row-card {
  display: grid;
  grid-template-columns: 90px 290px minmax(0, 1fr) 150px;
  gap: 20px;
  align-items: center;
  background: var(--ff-white);
  border-radius: 16px !important;
  border: none !important;
  box-shadow: 0 4px 16px rgba(19, 28, 57, 0.06) !important;
  min-height: 150px;
  height: auto;
  padding: 16px !important;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ff-event-row-card__top {
  display: contents;
}

.ff-event-mobile-header {
  display: none;
}

.ff-event-row-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(19, 28, 57, 0.1) !important;
}

/* Col 1: Date Block (90px wide, centered) */
.ff-event-date-block {
  width: 90px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}

.ff-event-date-month {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #BA3D22 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em;
  line-height: 1;
  margin-bottom: 2px;
}

.ff-event-date-day {
  font-size: 44px !important;
  font-weight: 800 !important;
  color: #12275A !important;
  line-height: 1 !important;
  letter-spacing: -0.03em;
  margin-bottom: 2px;
}

.ff-event-date-weekday {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #BA3D22 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em;
  line-height: 1;
}

/* Col 2: Event Image: fills card height inside 16px padding (~290x150, radius 12) */
.ff-event-img-wrap {
  width: 290px !important;
  height: 150px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  flex-shrink: 0;
  background-color: #ECE6DA;
}

.ff-event-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 12px !important;
  display: block;
}

/* Col 3: Event Info (1fr, min-width 0) */
.ff-event-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.ff-event-title {
  font-size: 20px;
  font-weight: 800;
  color: #12275A !important;
  line-height: 1.25;
  margin: 0;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-event-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ff-event-title a.ff-event-title-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 16px;
}

.ff-event-title a:hover {
  color: var(--ff-teal-primary);
}

.ff-event-row-card:hover .ff-event-title a {
  color: var(--ff-teal-primary);
}

.ff-event-row-card:hover .ff-event-view-btn {
  background: var(--ff-teal-primary);
  color: var(--ff-white);
}

.ff-event-desc {
  font-size: 15px;
  color: var(--ff-slate);
  line-height: 1.45;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ff-event-venue {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ff-slate);
  min-width: 0;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  max-width: 100%;
}

.ff-event-venue svg {
  fill: #131C39 !important;
  stroke: none !important;
  flex-shrink: 0;
}

.ff-event-venue-name {
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ff-event-venue-link {
  color: inherit;
  text-decoration: none;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  min-width: 0;
  position: relative;
  z-index: 2;
  transition: color 0.15s ease;
}

.ff-event-venue-link:hover {
  color: var(--ff-teal-primary);
  text-decoration: underline;
}

/* Col 4: Actions (150px wide, bookmark top-right, view button bottom-right) */
.ff-event-actions {
  width: 150px;
  height: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.ff-event-bookmark-btn {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.12) !important;
  cursor: pointer;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #131C39 !important;
  transition: all 0.15s ease;
  margin-top: 2px;
  position: relative;
  z-index: 2;
}

.ff-event-bookmark-btn:hover {
  color: var(--ff-coral);
  transform: scale(1.05);
}

.ff-event-view-btn {
  height: 44px;
  width: 140px;
  border-radius: 999px;
  border: 2px solid var(--ff-teal-primary);
  background: transparent;
  color: var(--ff-teal-primary);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-bottom: 2px;
}
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.2s ease;
  margin-bottom: 2px;
  pointer-events: none;
  user-select: none;
}

.ff-event-view-btn:hover {
  background: var(--ff-teal-primary);
  color: var(--ff-white);
}

/* ═══════════════════════════════════════════════════════════════
   10. CALENDAR CARD (Sticky sidebar follows list!)
   ═══════════════════════════════════════════════════════════════ */
.ff-town-sidebar {
  width: 365px !important;
  max-width: 100% !important;
  flex-shrink: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 100px;
  align-self: start;
}

.ff-calendar-card {
  width: 365px !important;
  max-width: 100% !important;
  background: var(--ff-white);
  border-radius: 16px;
  box-shadow: var(--ff-card-shadow);
  padding: 24px !important;
  box-sizing: border-box;
}

.ff-calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.ff-calendar-month {
  font-size: 22px;
  font-weight: 700;
  color: #12275A !important;
  margin: 0;
  text-align: center;
  flex: 1;
}

.ff-calendar-nav-btn {
  background: none;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--ff-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.ff-calendar-nav-btn:hover {
  color: var(--ff-teal-primary);
}

.ff-calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-muted);
  margin-bottom: 12px;
}

.ff-calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.ff-calendar-table th {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-muted);
  padding: 0 0 12px 0;
  border: none;
}

.ff-calendar-table td {
  text-align: center;
  padding: 3px 0;
  border: none;
}

.ff-calendar-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  text-align: center;
}

.ff-cal-day {
  width: 36px !important;
  height: 36px !important;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  color: #12275A;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.ff-cal-day:hover {
  background: #F3EFE6;
}

.ff-cal-day--empty {
  cursor: default;
  opacity: 0.3;
}

.ff-cal-day--has-events {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background-color: #E5604A !important;
  color: #FFFFFF !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: none !important;
}

.ff-cal-day--today:not(.ff-cal-day--has-events) {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: transparent !important;
  box-shadow: 0 0 0 1.5px #015C6E !important;
  color: #015C6E !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ff-cal-day--today.ff-cal-day--has-events {
  box-shadow: 0 0 0 2px #015C6E !important;
}

.ff-cal-day--selected {
  outline: 2px solid var(--ff-teal-primary);
  outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════════════
   11. "LOOKING FOR A SPECIFIC DATE?" TIP CARD
   ═══════════════════════════════════════════════════════════════ */
.ff-tip-card {
  background: var(--ff-tip-cream);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-sizing: border-box;
}

.ff-tip-card__sprig {
  width: 70px;
  flex-shrink: 0;
  pointer-events: none;
}

.ff-tip-card__content {
  flex: 1;
  min-width: 0;
}

.ff-tip-card__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--ff-navy);
  line-height: 1.2;
  margin: 0 0 6px 0;
}

.ff-tip-card__copy {
  font-size: 15px;
  color: var(--ff-slate);
  margin: 0;
  line-height: 1.45;
}

/* ═══════════════════════════════════════════════════════════════
   13. "MAKE A DAY OF IT." SECTION
   ═══════════════════════════════════════════════════════════════ */
.ff-day-section {
  min-height: 360px;
  padding-bottom: 48px;
  overflow-x: clip;
}

.ff-day-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
}

.ff-day-title {
  font-size: 48px;
  font-weight: 800;
  color: #12275A !important;
  letter-spacing: -0.02em;
  margin: 0 0 6px 0;
  line-height: 1.1;
}

.ff-day-subline {
  font-size: 18px;
  color: var(--ff-slate);
  margin: 0;
}

.ff-day-link {
  font-size: 17px;
  font-weight: 700;
  color: var(--ff-teal-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, color 0.15s ease;
  margin-bottom: 4px;
}

.ff-day-link:hover {
  transform: translateX(4px);
  color: var(--ff-teal-hover);
}

.ff-day-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Image fills entire card (height 240px, aspect-ratio 16:9, radius 16px) */
.ff-day-card {
  height: 240px !important;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: var(--ff-card-shadow);
  display: block;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ff-day-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(19, 28, 57, 0.12);
}

.ff-day-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.ff-day-card:hover .ff-day-card__img {
  transform: scale(1.05);
}

/* White caption panel overlaid at bottom inset 16px, radius 12px, same height on all 3 cards */
.ff-day-card__panel {
  position: absolute;
  bottom: 16px !important;
  left: 16px !important;
  right: 16px !important;
  background: var(--ff-white);
  border-radius: 12px !important;
  height: 68px !important;
  min-height: 68px !important;
  padding: 10px 16px !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 16px rgba(19, 28, 57, 0.08);
  box-sizing: border-box;
  z-index: 2;
}

.ff-day-card__text {
  flex: 1;
  min-width: 0;
}

.ff-day-card__title {
  font-size: 20px;
  font-weight: 800;
  color: #12275A !important;
  margin: 0 0 2px 0;
  letter-spacing: -0.01em;
}

.ff-day-card__sub {
  font-size: 14.5px;
  color: var(--ff-slate);
  margin: 0;
  line-height: 1.3;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

/* 40px white circle with shadow and no border */
.ff-day-card__btn {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  border-radius: 50% !important;
  background: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(11, 37, 69, 0.12) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #131C39 !important;
  flex-shrink: 0;
  margin-left: 12px;
  transition: all 0.15s ease;
}

.ff-day-card:hover .ff-day-card__btn {
  background: #FFFFFF !important;
  color: #131C39 !important;
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2) !important;
  transform: scale(1.05);
}

/* ═══════════════════════════════════════════════════════════════
   14. "BRING FLORENCE TOGETHER." BAND (Item 7)
   ═══════════════════════════════════════════════════════════════ */
.ff-band-section {
  background: var(--ff-teal-band);
  min-height: 200px;
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0;
}

/* Left white magnolia floral at viewport left edge */
.ff-band-floral--left {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 140px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

/* Right mirror white magnolia floral at right viewport edge */
.ff-band-floral--right {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%) scaleX(-1);
  width: 140px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

.ff-band-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 52px;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.ff-band-content {
  max-width: 580px;
}

.ff-band-section .ff-band-title,
body.page-events .ff-band-section h2.ff-band-title {
  font-size: 44px !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  margin: 0 0 6px 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ff-band-section .ff-band-sub,
body.page-events .ff-band-section .ff-band-sub {
  font-size: 24px !important;
  font-weight: 500 !important;
  color: #FFFFFF !important;
  margin: 0;
  line-height: 1.3;
}

.ff-band-actions-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ff-band-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ff-yellow-cta) !important;
  color: #131C39 !important;
  border-radius: 999px;
  height: 56px !important;
  width: auto !important;
  padding: 0 36px !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  text-decoration: none;
  flex-shrink: 0;
  transition: background-color 0.2s, transform 0.1s;
}

.ff-band-btn:hover {
  background: var(--ff-yellow-hover) !important;
  transform: translateY(-2px);
}

.ff-band-gold-art {
  display: flex;
  align-items: center;
  width: 240px;
  height: 90px;
  flex-shrink: 0;
  pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   15. "EVENTS BRING US CLOSER." PROMO (Item 9: ~260px tall)
   ═══════════════════════════════════════════════════════════════ */
.ff-closing-section {
  background-color: #FFFDF7;
  min-height: 260px !important;
  height: 260px !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

/* Left floral at viewport left edge, vertically centered, ~170px wide */
.ff-closing-floral {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 170px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

.ff-closing-visual-bleed {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 260px !important;
  object-fit: cover;
  pointer-events: none;
  mask-image: linear-gradient(to right, transparent, black 25%);
  -webkit-mask-image: linear-gradient(to right, transparent, black 25%);
}

.ff-closing-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 52px;
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.ff-closing-content {
  width: 560px !important;
  max-width: 560px !important;
}

.ff-closing-desc {
  font-size: 16px !important;
  line-height: 1.5 !important;
  color: var(--ff-slate);
  margin: 0 0 16px 0;
}

.ff-closing-btn {
  height: 52px !important;
  padding: 0 28px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ff-teal-primary);
  color: #FFFFFF;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ff-closing-btn:hover {
  background: var(--ff-teal-hover);
  transform: translateX(2px);
}
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.ff-closing-content {
  width: 50%;
  max-width: 520px;
}

.ff-closing-eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ff-closing-eyebrow-navy {
  color: var(--ff-navy);
}

.ff-closing-eyebrow-coral {
  color: var(--ff-coral);
}

.ff-closing-title {
  font-size: 40px;
  font-weight: 800;
  color: var(--ff-navy);
  line-height: 1.15;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.ff-closing-desc {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ff-slate);
  margin: 0 0 20px 0;
  max-width: 480px;
}

.ff-closing-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ff-teal-primary);
  color: var(--ff-white);
  border-radius: 999px;
  height: 48px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
}

.ff-closing-btn:hover {
  background: var(--ff-teal-hover);
  transform: translateX(2px);
}

/* Right 50% streetscape bleeding to right edge, soft left fade */
.ff-closing-visual-bleed {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  mask-image: linear-gradient(to right, transparent 0%, #000 18%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 18%);
}

/* ═══════════════════════════════════════════════════════════════
   16. FOOTER STYLING OVERRIDE (#062A49, 5 cols on 1 row, ~240px)
   ═══════════════════════════════════════════════════════════════ */
body.page-events .ff-footer {
  background-color: var(--ff-footer-navy) !important;
  color: #FFFFFF !important;
  padding: 56px 0 0 0 !important;
  box-sizing: border-box;
  overflow-x: clip !important;
}

body.page-events .ff-footer__grid {
  display: grid !important;
  grid-template-columns: 1.6fr repeat(4, 1fr) !important;
  gap: 32px !important;
  align-items: start !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

body.page-events .ff-footer__heading {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: #FFFFFF !important;
  margin: 0 0 14px 0 !important;
}

body.page-events .ff-footer__links {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.page-events .ff-footer__links li {
  margin-bottom: 6px !important;
}

body.page-events .ff-footer__links a {
  font-size: 15px !important;
  color: #D6DEE8 !important;
  line-height: 1.9 !important;
  text-decoration: none !important;
  transition: color 0.15s ease;
}

body.page-events .ff-footer__links a:hover {
  color: #FFFFFF !important;
}

body.page-events .ff-footer__description {
  font-size: 14px !important;
  color: #D6DEE8 !important;
  line-height: 1.6 !important;
  max-width: 300px !important;
  margin: 10px 0 16px 0 !important;
}

body.page-events .ff-footer__social {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
}

body.page-events .ff-footer__social-link {
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

body.page-events .ff-footer__social-link svg {
  width: 28px !important;
  height: 28px !important;
  fill: #FFFFFF !important;
}

body.page-events .ff-footer__social-link:hover {
  opacity: 0.8 !important;
  transform: translateY(-2px);
}

body.page-events .ff-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 18px 0 24px 0 !important;
  margin-top: 24px !important;
}

body.page-events .ff-footer__bottom-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

body.page-events .ff-footer__copy {
  font-size: 14px !important;
  color: #D6DEE8 !important;
  margin: 0 !important;
}

body.page-events .ff-footer__made-with {
  font-size: 14px !important;
  color: #D6DEE8 !important;
  margin: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS (<1024px, <768px)
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ff-town-grid {
    grid-template-columns: 1fr;
  }

  body.page-events .ff-footer__grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  /* Hero at 390 (Item 10): full width (4:3, radius 20) above eyebrow, magnolia hidden */
  .ff-events-hero {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: auto !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .ff-events-hero__image-bleed {
    position: static !important;
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
    border-radius: 20px !important;
    object-fit: cover !important;
    margin-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  .ff-events-hero__container {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ff-events-hero__content {
    width: 100%;
    max-width: 100%;
  }

  .ff-events-hero__title {
    font-size: 40px;
  }

  .ff-events-hero__botanical-strip,
  .ff-events-hero__magnolia,
  .ff-band-floral--left,
  .ff-band-floral--right,
  .ff-closing-floral {
    display: none !important;
  }

  /* Filter chips wrapping with 8px gap */
  .ff-events-filter-rows {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ff-events-filter-row,
  .ff-events-filter-row--dates {
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
  }

  /* Featured Card mobile layout: photo 16:9 on top, full title/desc below */
  .ff-featured-card {
    display: flex;
    flex-direction: column;
    height: auto !important;
    min-height: auto;
    border-radius: 20px;
    overflow: hidden;
  }

  .ff-featured-card__left-sprig {
    display: none;
  }

  .ff-featured-card__visual {
    order: 1 !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
  }

  .ff-featured-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
  }

  .ff-featured-card__fade {
    display: none !important;
  }

  .ff-featured-card__panel {
    order: 2 !important;
    width: 100% !important;
    background: var(--ff-featured-cream, #FBF1E4);
    padding: 24px 20px !important;
    box-sizing: border-box;
  }

  .ff-featured-card__eyebrow {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #BA3D22 !important;
    margin-bottom: 8px !important;
    display: block;
  }

  .ff-featured-card__title {
    font-size: 26px !important;
    line-height: 1.18 !important;
    font-weight: 800 !important;
    color: var(--ff-navy) !important;
    margin-bottom: 12px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .ff-featured-card__desc {
    font-size: 15px !important;
    line-height: 1.45 !important;
    color: var(--ff-slate) !important;
    margin-bottom: 16px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .ff-featured-card__meta-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px !important;
  }

  .ff-featured-card__btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
    box-sizing: border-box;
  }

  /* Event row card at 390 (Item 6): date block next to title/venue, full width 16:9 image, actions row */
  .ff-event-row-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    height: auto !important;
    min-height: auto !important;
    padding: 16px !important;
    gap: 12px !important;
    border-radius: 16px !important;
    border: none !important;
    box-shadow: 0 4px 16px rgba(19, 28, 57, 0.06) !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .ff-event-row-card__top {
    display: flex !important;
    gap: 12px !important;
    align-items: flex-start !important;
    width: 100% !important;
  }

  .ff-event-date-block {
    width: 60px !important;
    min-width: 60px !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .ff-event-date-month {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #BA3D22 !important;
  }

  .ff-event-date-day {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #12275A !important;
    line-height: 1 !important;
    margin: 2px 0 !important;
  }

  .ff-event-date-weekday {
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #BA3D22 !important;
  }

  .ff-event-mobile-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
    flex: 1 !important;
    min-width: 0 !important;
  }

  .ff-event-mobile-header .ff-event-title {
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #12275A !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .ff-event-mobile-header .ff-event-venue {
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    font-size: 13px !important;
    color: #4B5563 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .ff-event-title--desktop,
  .ff-event-venue--desktop {
    display: none !important;
  }

  .ff-event-img-wrap {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .ff-event-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  .ff-event-info {
    width: 100% !important;
    margin: 0 !important;
  }

  .ff-event-desc {
    font-size: 14px !important;
    line-height: 1.45 !important;
    color: #4B5563 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    margin: 0 !important;
  }

  .ff-event-actions {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    height: auto !important;
    min-height: auto !important;
    margin-top: 4px !important;
  }

  .ff-event-view-btn {
    order: 1 !important;
    margin: 0 !important;
    width: 130px !important;
  }

  .ff-event-bookmark-btn {
    order: 2 !important;
    margin: 0 !important;
  }

  /* Make a day of it at 390 (Item 3) */
  .ff-day-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  .ff-day-link {
    display: inline-flex !important;
    width: 100% !important;
    margin-top: 8px !important;
  }

  .ff-day-grid {
    grid-template-columns: 1fr;
  }

  .ff-band-section {
    height: auto;
    padding: 40px 0;
  }

  .ff-band-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 0 16px !important;
  }

  .ff-band-actions-group {
    width: 100% !important;
  }

  .ff-band-btn {
    margin-left: 0;
    width: 100% !important;
  }

  .ff-band-gold-art {
    display: none !important;
  }

  .ff-closing-section {
    height: auto;
    padding: 40px 0;
  }

  .ff-closing-container {
    padding: 0 16px !important;
  }

  .ff-closing-content {
    width: 100%;
  }

  .ff-closing-visual-bleed {
    display: none;
  }

  body.page-events .ff-footer {
    padding: 32px 16px 20px !important;
  }

  body.page-events .ff-footer__grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 24px 16px !important;
  }

  body.page-events .ff-footer__col--brand {
    grid-column: 1 / -1 !important;
    max-width: 100% !important;
  }
}
