/**
 * Merrick homepage
 *
 * Page-specific presentation for Home modules. Shared card and cross-page
 * responsive rules remain in their component and responsive stylesheets.
 */

/* --------------------------------------------------------------------------
   Story and service cards
   -------------------------------------------------------------------------- */

/* The visible Explore link remains each action card's canonical destination.
   JavaScript extends that destination across the non-interactive card area. */
.merrick-page-home .merrick-home-action-card > .tatsu-column-inner {
  cursor: pointer;
  min-height: 256px;
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.merrick-page-home .merrick-home-action-card .tatsu-column-pad {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
  row-gap: 12px;
}

.merrick-page-home .merrick-home-action-card .tatsu-column-pad > .tatsu-code:first-child {
  grid-column: 1;
  grid-row: 1;
  padding-bottom: 0 !important;
}

.merrick-page-home .merrick-home-action-card .tatsu-column-pad > .tatsu-code:first-child + .tatsu-text-block-wrap {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}

.merrick-page-home .merrick-home-action-card .tatsu-column-pad > .tatsu-code:first-child + .tatsu-text-block-wrap .tatsu-text-inner {
  padding-bottom: 0 !important;
}

.merrick-page-home .merrick-home-action-card .tatsu-column-pad > :nth-child(n + 3) {
  grid-column: 1 / -1;
}

.merrick-page-home .merrick-home-action-card .tatsu-column-pad > .tatsu-animated-link {
  justify-self: start;
}

.merrick-page-home .merrick-home-action-card:hover > .tatsu-column-inner {
  box-shadow: 0 12px 28px rgba(53, 53, 45, 0.16);
  transform: translateY(-2px);
}

.merrick-page-home .merrick-home-action-card:focus-within > .tatsu-column-inner {
  outline: 3px solid #5c4b9e;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .merrick-page-home .merrick-home-action-card > .tatsu-column-inner {
    transition: none;
  }

  .merrick-page-home .merrick-home-action-card:hover > .tatsu-column-inner {
    transform: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  body.merrick-page-home .tatsu-row > .tatsu-column.merrick-home-action-card.tatsu-one-third {
    flex: 0 0 50% !important;
    width: 50% !important;
    max-width: 50% !important;
  }
}

/* Exponent post modules may also render CPT entries through the same markup. */
.home .exp-blog .exp-posts-loop,
.home .exp-blog .exp-grid-wrap { height: auto !important; }

.home .exp-blog .be-grid { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch !important; gap: 24px; height: auto !important; }

.home .exp-blog .be-grid > article { position: static !important; align-self: stretch !important; width: auto !important; margin: 0 !important; padding: 0 !important; opacity: 1 !important; }

.home .exp-blog .exp-post-inner { display: flex; height: 100%; flex-direction: column; overflow: hidden; border: 1px solid var(--merrick-post-card-border); border-radius: var(--merrick-post-card-radius); background: var(--merrick-color-white); }

.home .exp-blog .exp-post-thumb { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--merrick-post-card-radius) var(--merrick-post-card-radius) 0 0; background: var(--merrick-color-purple); }

.home .exp-blog .be-grid-placeholder { display: none !important; }

.home .exp-blog .exp-post-thumb-inner,
.home .exp-blog .exp-post-thumb img { display: block; width: 100%; height: 100%; }

.home .exp-blog .exp-post-thumb img { object-fit: cover; }

.home .exp-blog .exp-posts-loop-thumb { transition: transform .3s; }

.home .exp-blog article:hover .exp-posts-loop-thumb { transform: scale(1.025); }

.home .exp-blog .exp-post-details { display: flex; flex: 1; flex-direction: column; padding: var(--merrick-post-card-padding) !important; }

.home .exp-blog .exp-post-details-inner,
.home .exp-blog .exp-post-content,
.home .exp-blog .exp-smart-read { display: flex; flex: 1; flex-direction: column; }

/* Match the approved Highlights card rhythm; the parent theme adds an extra
   content margin that otherwise creates a second block of bottom whitespace. */
.home .exp-blog .exp-post-content { margin-bottom: 0 !important; }

.home .exp-blog .exp-post-title-meta { margin: 0 0 12px !important; }

.home .exp-blog .exp-post-title { margin: 0 !important; font-size: var(--merrick-post-card-title-size) !important; font-weight: 800 !important; line-height: 1.3 !important; }

.home .exp-blog .exp-post-title a { color: var(--merrick-color-charcoal) !important; text-decoration: none !important; }

.home .exp-blog .exp-post-title a:hover { color: #f05142 !important; }

.home .exp-blog .exp-smart-read > * { display: none; }

.home .exp-blog .exp-smart-read > p:first-child,
.home .exp-blog .exp-smart-read > p:nth-child(2) { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; }

.home .exp-blog .exp-smart-read > p:first-child { order: -1; margin: 0 0 12px !important; color: var(--merrick-color-purple); font-size: var(--merrick-post-card-meta-size); font-weight: 700; letter-spacing: .03em; line-height: 1.4; text-transform: uppercase; -webkit-line-clamp: 1; }

.home .exp-blog .exp-smart-read > p:nth-child(2) { margin: 0 0 20px !important; color: var(--merrick-color-text-muted); font-size: var(--merrick-post-card-excerpt-size); line-height: 1.55; -webkit-line-clamp: 2; }

.home .exp-blog .merrick-home-story-meta { margin: 0 0 12px !important; color: var(--merrick-color-purple); font-size: var(--merrick-post-card-meta-size); font-weight: 700; letter-spacing: .03em; line-height: 1.4; text-transform: uppercase; }

.home .exp-blog .merrick-home-story-excerpt { display: -webkit-box; overflow: hidden; margin: 14px 0 20px !important; color: var(--merrick-color-text-muted); font-size: var(--merrick-post-card-excerpt-size); line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

.home .exp-read-more { align-items: center; align-self: flex-end; gap: 3px; margin-top: auto; font-family: Montserrat, Arial, sans-serif; font-size: var(--merrick-post-card-link-size); font-weight: 700; line-height: 1.4; display: inline-flex !important; padding: 0px !important; color: var(--merrick-color-charcoal) !important; }

.home .exp-read-more::before { display: none !important; }

.home .exp-read-more::after { color: currentcolor; font-family: Arial, sans-serif; font-size: 17px; font-weight: 600; line-height: 1; vertical-align: middle; transform: translateX(0px); transition: transform 0.2s; content: "›" !important; position: static !important; display: inline-block !important; width: 13px !important; height: auto !important; inset: auto !important; background: none !important; mask: none !important; }

.home .exp-read-more:hover { color: var(--merrick-color-purple) !important; }

.home .exp-read-more:hover::after { content: "→" !important; transform: translateX(2px); }

.home .merrick-home-story-link::after { content: "→" !important; }

.home .tatsu-an, .home .tatsu-an-suffix { font-weight: 700 !important; }

@media (max-width: 1000px) {
  .home .exp-blog .be-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .home .exp-blog .be-grid { grid-template-columns: 1fr; }
}

/* Generated Tatsu card wrappers; recheck after editing or duplicating cards. */
.home .tatsu-BJQL2RH8zx > .tatsu-column-inner, .home .tatsu-BygQUnRBUGx > .tatsu-column-inner, .home .tatsu-BJeoAMkLUzg > .tatsu-column-inner, .home .tatsu-ByKsRM188fx > .tatsu-column-inner { overflow: hidden !important; }

.home .service-card-image, .home .service-card-image img { border-radius: 0px !important; }

/* --------------------------------------------------------------------------
   Mobile Tatsu layout normalization
   -------------------------------------------------------------------------- */

/* Generated selectors; recheck if the Home rows or columns are rebuilt. */
@media (max-width: 767px) {
  .home .tatsu-rkG_6CBLGx, .home .tatsu-BJxu3b188zx, .home .tatsu-rJBsRzy8IMl, .home .tatsu-H1CiAfJILMe { width: 100% !important; margin-left: 0px !important; margin-right: 0px !important; }
  .home .tatsu-HkENpJLUfg { width: 100% !important; margin-left: 0px !important; margin-right: 0px !important; }
  .home .tatsu-rklCyxCUIfe .tatsu-row, .home .tatsu-Sk--sZuLzl .tatsu-row { width: 100% !important; }
  .home .tatsu-rklCyxCUIfe .tatsu-row > .tatsu-column, .home .tatsu-Sk--sZuLzl .tatsu-row > .tatsu-column { width: 100% !important; margin-left: 0px !important; margin-right: 0px !important; }
  .home .tatsu-BkxfdaRBUfl > .tatsu-row, .home .tatsu-HJdnZ1L8Ge > .tatsu-row, .home .tatsu-B14sCMyLUfx > .tatsu-row, .home .tatsu-SkpiRGk88Me > .tatsu-row, .home .tatsu-SJlE4aJI8fg > .tatsu-row, .home .tatsu-rklCyxCUIfe > .tatsu-row, .home .tatsu-Sk--sZuLzl > .tatsu-row { padding-left: 0px !important; padding-right: 0px !important; }
}

/* --------------------------------------------------------------------------
   Revolution Slider hero compatibility
   -------------------------------------------------------------------------- */

/*
 * Revolution Slider generates the SR7 identifiers below. The current dynamic
 * hero may not expose every ID on every load; retest all slides after editing,
 * duplicating, or reordering Home Hero slides.
 */
@media (min-width: 601px) and (max-width: 1024px) {
  sr7-mask:has(> #SR7_1_1-1-1), sr7-mask:has(> #SR7_1_1-1-2), sr7-mask:has(> #SR7_1_1-1-4), sr7-mask:has(> #SR7_1_1-1-5), sr7-mask:has(> #SR7_1_1-1-6), sr7-mask:has(> #SR7_1_1-1-0) { transform: translateX(24px) !important; }
  #SR7_1_1-1-6, #SR7_1_1-1-0 { margin-left: 24px !important; }
}

@media (max-width: 600px) {
  sr7-mask:has(> #SR7_1_1-1-1), sr7-mask:has(> #SR7_1_1-1-2), sr7-mask:has(> #SR7_1_1-9-1), sr7-mask:has(> #SR7_1_1-9-2), sr7-mask:has(> #SR7_1_1-13-1), sr7-mask:has(> #SR7_1_1-13-2) { width: calc(-48px + 100vw) !important; }
  #SR7_1_1-1-1, #SR7_1_1-1-2, #SR7_1_1-9-1, #SR7_1_1-9-2, #SR7_1_1-13-1, #SR7_1_1-13-2 { width: 100% !important; }
  sr7-mask:has(> #SR7_1_1-1-1), sr7-mask:has(> #SR7_1_1-9-1), sr7-mask:has(> #SR7_1_1-13-1), sr7-mask:has(> #SR7_1_1-13-2), sr7-mask:has(> #SR7_1_1-13-5) { transform: translateX(24px) !important; }
  sr7-mask:has(> #SR7_1_1-1-2), sr7-mask:has(> #SR7_1_1-1-4), sr7-mask:has(> #SR7_1_1-1-5) { transform: translate(24px, 24px) !important; }
  sr7-mask:has(> #SR7_1_1-9-2), sr7-mask:has(> #SR7_1_1-9-5) { transform: translate(24px, 20px) !important; }
  #SR7_1_1-1-6, #SR7_1_1-1-0, #SR7_1_1-9-6, #SR7_1_1-9-0, #SR7_1_1-13-6, #SR7_1_1-13-0 { margin-left: 24px !important; }
  #SR7_1_1-9-0, #SR7_1_1-13-0 { display: none !important; }
}

@media (min-width: 361px) and (max-width: 600px) {
  sr7-mask:has(> #SR7_1_1-13-1) { width: 72vw !important; }
  sr7-mask:has(> #SR7_1_1-1-2), sr7-mask:has(> #SR7_1_1-1-5) { transform: translate(24px, 16px) !important; }
  sr7-mask:has(> #SR7_1_1-1-4) { transform: translate(36px, 16px) !important; }
}

@media (max-width: 360px) {
  sr7-mask:has(> #SR7_1_1-1-1), sr7-mask:has(> #SR7_1_1-1-2), sr7-mask:has(> #SR7_1_1-9-1), sr7-mask:has(> #SR7_1_1-9-2), sr7-mask:has(> #SR7_1_1-13-1), sr7-mask:has(> #SR7_1_1-13-2) { width: calc(-32px + 100vw) !important; }
  #SR7_1_1-1-1, #SR7_1_1-9-1, #SR7_1_1-13-1 { font-size: 28px !important; line-height: 32px !important; }
  sr7-mask:has(> #SR7_1_1-1-1), sr7-mask:has(> #SR7_1_1-9-1), sr7-mask:has(> #SR7_1_1-13-1), sr7-mask:has(> #SR7_1_1-13-2), sr7-mask:has(> #SR7_1_1-13-5) { transform: translateX(16px) !important; }
  sr7-mask:has(> #SR7_1_1-1-2) { transform: translate(16px, 32px) !important; }
  sr7-mask:has(> #SR7_1_1-1-4), sr7-mask:has(> #SR7_1_1-1-5) { transform: translate(16px, 56px) !important; }
  sr7-mask:has(> #SR7_1_1-9-2), sr7-mask:has(> #SR7_1_1-9-5) { transform: translate(16px, 20px) !important; }
  #SR7_1_1-1-6, #SR7_1_1-1-0, #SR7_1_1-9-6, #SR7_1_1-9-0, #SR7_1_1-13-6, #SR7_1_1-13-0 { margin-left: 16px !important; }
}

/* --------------------------------------------------------------------------
   Mobile event cards
   -------------------------------------------------------------------------- */

/* Generated Tatsu selectors; verify event rows after builder changes. */
@media (max-width: 600px) {
  .merrick-page-home .tatsu-rk7-Zi-d8Gl .tatsu-column-pad { padding: 18px 20px 4px !important; }
  .merrick-page-home .tatsu-SyUbWs-dIzl .tatsu-column-pad { padding: 4px 20px 20px !important; }
  .merrick-page-home .tatsu-SyUbWs-dIzl .tatsu-button-wrap { text-align: left !important; }
  .merrick-page-home .tatsu-rJGhgRILfe .tatsu-column-inner, .merrick-page-home .tatsu-BJg--oZOIMe .tatsu-column-inner { margin: 16px 20px 0px !important; border-radius: 12px !important; }
  .merrick-page-home .tatsu-rklCyxCUIfe, .merrick-page-home .tatsu-Sk--sZuLzl { overflow: hidden !important; }
  .merrick-page-home .tatsu-rylzng0IUGe h4, .merrick-page-home .tatsu-rk7-Zi-d8Gl h4 { line-height: 1.2 !important; margin-bottom: 4px !important; }
  .merrick-page-home .tatsu-rylzng0IUGe, .merrick-page-home .tatsu-rk7-Zi-d8Gl { margin-bottom: 0px !important; }
}

/* --------------------------------------------------------------------------
   Newsletter and donation band
   -------------------------------------------------------------------------- */

/* Exponent Mailchimp markup uses exp-mc; retest after changing the form module. */
.merrick-page-home .tatsu-Hk-8fw9lDMg { background: var(--merrick-color-purple) !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg > .tatsu-section-pad { padding-top: 58px !important; padding-bottom: 58px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-SkTfwcevfl, .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HygTzPqlvMx { height: auto !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg h4 { font-size: 32px !important; line-height: 1.2 !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-r1dSK5lDzl, .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-BJvPt9lPfe { margin-bottom: 22px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-r12b_5lDfg, .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-form, .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc { height: auto !important; min-height: 0px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc { display: flex !important; align-items: center !important; gap: 24px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-email { flex: 1 1 auto !important; width: auto !important; height: 52px !important; margin: 0px !important; padding: 0px 28px !important; border: 0px !important; border-radius: 999px !important; background: var(--merrick-color-white) !important; color: rgb(53, 53, 47) !important; font-size: 18px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-submit-wrap { flex: 0 0 150px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-submit { width: 100% !important; height: 52px !important; padding: 0px 24px !important; border-radius: 999px !important; font-size: 14px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-SkTfwcevfl, .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-SkTfwcevfl > .tatsu-column-inner { border-right: 0px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HygTzPqlvMx { border-left: 1px solid rgba(255, 255, 255, 0.28) !important; padding-left: 58px !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-group {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 !important;
}

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-normal-icon { margin: 0 !important; }

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: opacity .2s;
}

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-wrap .tatsu-icon {
  margin: 0;
  color: var(--merrick-color-white) !important;
  font-size: 18px !important;
  line-height: 1;
}

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-wrap:hover,
.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-wrap:focus-visible {
  background: transparent;
  opacity: .72;
}

.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-wrap:hover .tatsu-icon,
.merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-wrap:focus-visible .tatsu-icon { color: var(--merrick-color-white) !important; }

@media (min-width: 768px) {
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-SkTfwcevfl, .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HygTzPqlvMx { flex: 0 0 50% !important; max-width: 50% !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-S1x5Qv9lwfl { margin-bottom: 5px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-S1x5Qv9lwfl > .tatsu-row { align-items: center; justify-content: flex-start; gap: 28px; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HJsmDcxPGx,
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HJesXDqevfe { flex: 0 0 auto !important; width: auto !important; max-width: none !important; padding: 0 !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-ByxXtP9lDzl,
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-r12b_5lDfg { transform: none !important; }
}

@media (max-width: 767px) {
  .merrick-page-home .tatsu-Hk-8fw9lDMg > .tatsu-section-pad { padding-top: 44px !important; padding-bottom: 44px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HygTzPqlvMx { margin-top: 36px !important; padding-top: 36px !important; padding-left: 5px !important; border-top: 1px solid rgba(255, 255, 255, 0.28) !important; border-left: 0px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc { gap: 14px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-SkTfwcevfl { position: relative !important; padding-bottom: 0px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-SkTfwcevfl > .tatsu-column-inner > .tatsu-column-pad-wrap > .tatsu-column-pad { display: flex !important; flex-direction: column !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-S1x5Qv9lwfl, .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-S1x5Qv9lwfl > .tatsu-row { display: contents !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HJsmDcxPGx { order: 1 !important; width: 100% !important; max-width: 100% !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-r1dSK5lDzl { order: 2 !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-r12b_5lDfg { order: 3 !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-ByxXtP9lDzl { width: 100% !important; margin: 0px !important; text-align: center !important; transform: none !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-icon-group { justify-content: center; margin-bottom: 16px !important; }
  /* Retain the builder geometry in case the currently hidden helper returns. */
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HJesXDqevfe { order: 4 !important; position: static !important; left: 0px !important; bottom: 0px !important; display: none !important; width: 100% !important; max-width: 100% !important; height: auto !important; margin-top: 20px !important; padding: 0px !important; }
}

@media (max-width: 480px) {
  .merrick-page-home .tatsu-Hk-8fw9lDMg h4 { font-size: 27px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc { display: block !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-email, .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-submit-wrap { width: 100% !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-submit-wrap { margin-top: 14px !important; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc { flex-wrap: nowrap !important; gap: 14px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-email { flex: 1 1 0px !important; width: 0px !important; min-width: 0px !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .exp-mc-submit-wrap { flex: 0 0 130px !important; }
}

@media (min-width: 901px) and (max-width: 1079px) {
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-SkTfwcevfl,
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HygTzPqlvMx { flex: 0 0 100% !important; width: 100% !important; max-width: 100% !important; }
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HygTzPqlvMx { margin-top: 36px !important; padding-top: 36px !important; padding-left: 5px !important; border-top: 1px solid rgba(255, 255, 255, 0.28) !important; border-left: 0 !important; }
}

/* --------------------------------------------------------------------------
   Event cards and supporting copy
   -------------------------------------------------------------------------- */

/* Dynamic compact event list. The parent Tatsu section supplies the lavender
   background and wave so editors can continue adjusting those visually. */
.merrick-home-events {
  width: 100%;
}

/* Keep the desktop wave-to-heading gap when Tatsu adds responsive section padding. */
@media (max-width: 1377px) {
  body.merrick-page-home .tatsu-section.tatsu-9xGfGpIO-W > .tatsu-section-pad {
    padding-top: 0 !important;
  }
}

/* Preserve the reviewed desktop spacing through the Tatsu small-desktop band.
   Tablet and mobile keep their separately tuned section padding. */
@media (min-width: 1025px) and (max-width: 1377px) {
  body.merrick-page-home .tatsu-section.tatsu-rJW4FhyI8fx > .tatsu-section-pad {
    padding-top: 50px !important;
    padding-bottom: 70px !important;
  }

  body.merrick-page-home .tatsu-section.tatsu-9xGfGpIO-W > .tatsu-section-pad {
    padding-bottom: 40px !important;
  }
}

.merrick-home-events__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.merrick-home-events__header h2 {
  margin: 0;
  color: var(--merrick-color-coral, #f05142);
}

.merrick-home-events__all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 8px 0;
  color: var(--merrick-color-charcoal) !important;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.merrick-home-events__all:hover,
.merrick-home-events__all:focus-visible {
  color: var(--merrick-color-purple) !important;
}

.merrick-home-events__list {
  display: grid;
  gap: 18px;
}

.merrick-home-event {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 132px;
  padding: 24px;
  border: 1px solid rgba(92, 75, 158, 0.24);
  border-radius: 14px;
  background: var(--merrick-color-white);
  box-shadow: 0 7px 20px rgba(53, 53, 47, 0.035);
}

.merrick-home-event__date {
  display: grid;
  grid-template-rows: 25px 41px;
  width: 66px;
  overflow: hidden;
  border: 1px solid rgba(92, 75, 158, 0.28);
  border-radius: 10px;
  background: var(--merrick-color-white);
  text-align: center;
}

.merrick-home-event__month {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--merrick-color-purple);
  color: var(--merrick-color-white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.merrick-home-event__day {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--merrick-color-charcoal);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 25px;
  font-weight: 600;
  line-height: 1;
}

.merrick-home-event__content {
  min-width: 0;
}

.merrick-home-event__eyebrow {
  margin: 0 0 7px;
  color: var(--merrick-color-purple);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
}

.merrick-home-event h3 {
  margin: 0 0 4px;
  font-size: 21px;
  line-height: 1.25;
}

.merrick-home-event h3 a {
  color: var(--merrick-color-charcoal) !important;
  text-decoration: none;
}

.merrick-home-event h3 a:hover,
.merrick-home-event h3 a:focus-visible {
  color: var(--merrick-color-purple) !important;
}

.merrick-home-event__meta {
  margin: 0;
  color: var(--merrick-color-text-muted);
  font-size: 15px;
  line-height: 1.45;
}

.merrick-home-event__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  min-height: 48px;
  padding: 11px 24px;
  border: 2px solid var(--merrick-color-purple);
  border-radius: 999px;
  color: var(--merrick-color-purple) !important;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.merrick-home-event__link:hover,
.merrick-home-event__link:focus-visible {
  background: var(--merrick-color-purple);
  color: var(--merrick-color-white) !important;
}

.merrick-home-events__empty {
  padding: 25px 28px;
  border: 1px solid rgba(92, 75, 158, 0.24);
  border-radius: 14px;
  background: var(--merrick-color-white);
}

.merrick-home-events__empty p {
  margin: 0;
}

@media (max-width: 767px) {
  .merrick-home-events__header {
    align-items: flex-start;
    margin-bottom: 22px;
  }

  .merrick-home-event {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 17px;
    padding: 19px;
  }

  .merrick-home-event__date {
    grid-template-rows: 23px 35px;
    width: 58px;
  }

  .merrick-home-event__day {
    font-size: 22px;
  }

  .merrick-home-event__link {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
  }
}

@media (max-width: 480px) {
  .merrick-home-events__header {
    align-items: stretch;
    flex-direction: column;
    gap: 2px;
  }

  .merrick-home-events__all {
    align-self: flex-end;
    margin-top: 0;
  }

  .merrick-home-event h3 {
    font-size: 19px;
  }

  .merrick-home-event__meta {
    font-size: 14px;
  }
}

.merrick-page-home .tatsu-HkGRb0LUzl p, .merrick-page-home .tatsu-SJrWZiWdUzx p { line-height: 25px !important; }

.merrick-page-home .tatsu-Hy9yMRI8Mx, .merrick-page-home .tatsu-HJEZZiWd8Gl { margin-bottom: 10px !important; }

@media (min-width: 768px) {
  .merrick-page-home .tatsu-rJGhgRILfe > .tatsu-column-inner, .merrick-page-home .tatsu-BJg--oZOIMe > .tatsu-column-inner { min-height: 112px !important; display: flex !important; align-items: center !important; }
}

@media (min-width: 768px) and (max-width: 900px) {
  .merrick-page-home .tatsu-Hk-8fw9lDMg .tatsu-HygTzPqlvMx { padding-left: 25px !important; }
  .merrick-page-home .tatsu-rybGheRLUzl .tatsu-button, .merrick-page-home .tatsu-SyUbWs-dIzl .tatsu-button { padding-left: 18px !important; padding-right: 18px !important; white-space: nowrap !important; }
}

@media (min-width: 901px) and (max-width: 1024px) {
  .merrick-page-home .tatsu-rJGhgRILfe, .merrick-page-home .tatsu-BJg--oZOIMe { flex: 0 0 22% !important; max-width: 22% !important; width: 22% !important; }
  .merrick-page-home .tatsu-rylzng0IUGe, .merrick-page-home .tatsu-rk7-Zi-d8Gl { flex: 0 0 53% !important; max-width: 53% !important; width: 53% !important; }
  .merrick-page-home .tatsu-rybGheRLUzl, .merrick-page-home .tatsu-SyUbWs-dIzl { flex: 0 0 25% !important; max-width: 25% !important; width: 25% !important; }
  .merrick-page-home .tatsu-rybGheRLUzl .tatsu-button, .merrick-page-home .tatsu-SyUbWs-dIzl .tatsu-button { padding-left: 18px !important; padding-right: 18px !important; white-space: nowrap !important; }
}

/* The visible hero dots stay 11px, while each button receives a WCAG-sized
 * hit area. The generated slider markup lives outside the child theme. */
.merrick-page-home .lxe-hero-dots {
  gap: 0;
}

.merrick-page-home .lxe-hero-dots button {
  position: relative;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
}

.merrick-page-home .lxe-hero-dots button::before {
  position: absolute;
  inset: 8.5px;
  border: 2px solid var(--merrick-color-white);
  border-radius: 50%;
  content: "";
}

.merrick-page-home .lxe-hero-dots button.is-active {
  background: transparent;
}

.merrick-page-home .lxe-hero-dots button.is-active::before {
  background: var(--merrick-color-white);
}

/* Stack the action-card copy clear of the decorative flower. */
.merrick-page-home .tatsu-By4t_HgLLfe p,
.merrick-page-home .tatsu-BkKKOBlL8Ge p,
.merrick-page-home .tatsu-HJCtdSxLLMx p {
  max-width: 190px;
}

/* Give the street address room for Suite 4, using spare phone-column space. */
@media (min-width: 1025px) {
  .merrick-page-home .tatsu-BJgOJOArIMg > .tatsu-row > .tatsu-S1jyuABIze {
    flex: 0 0 32%;
    width: 32%;
    max-width: 32%;
  }
  .merrick-page-home .tatsu-BJgOJOArIMg > .tatsu-row > .tatsu-Skxjyu0HLMl {
    flex: 0 0 18%;
    width: 18%;
    max-width: 18%;
  }
}

/* Stack into two columns before the contact details become cramped. */
@media (min-width: 768px) and (max-width: 1199px) {
  .merrick-page-home .tatsu-BJgOJOArIMg > .tatsu-row {
    row-gap: 24px;
  }
  .merrick-page-home .tatsu-BJgOJOArIMg > .tatsu-row > .tatsu-column {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .merrick-page-home .tatsu-By4t_HgLLfe p {
    max-width: 140px;
  }
}

/* Match the Food Shelf photo framing used on Our Services. */
.home .tatsu-ByP_kyLUMl .tatsu-single-image-padding-wrap {
  padding-bottom: 42% !important;
}
.home .tatsu-ByP_kyLUMl .tatsu-single-image-inner img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 70%;
}

/* These controls are clipped until keyboard focus. Match the hero background
 * in their clipped state; the existing visible focus styling is unchanged. */
.merrick-page-home .lxe-hero-prev:not(:focus),
.merrick-page-home .lxe-hero-next:not(:focus),
.merrick-page-home .lxe-hero-pause:not(:focus) {
  background-color: #2f2940;
}
