/* Homepage content only. The approved hero, navigation and inner pages retain their styles. */
.ep-home-story {
  --home-paper: #f7f3eb;
  --home-white: #fffdf9;
  --home-ink: #302820;
  --home-muted: #6b6156;
  --home-wine: #681f29;
  --home-gold: #d4b26a;
  --home-line: #e3d8c5;
  --home-radius: 16px;
  --home-shadow: 0 8px 26px rgb(48 40 32 / 5%);
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}
.ep-home-story .home-featured-concert,
.ep-home-story .home-program-section,
.ep-home-story .home-activities-promo,
.ep-home-story .home-events-section,
.ep-home-story .ep-home-events-link { background: var(--home-paper); }
.ep-home-story .home-featured-concert { padding: 40px 0 0; }
.ep-home-story .home-program-section { padding: 24px 0; }
.ep-home-story .home-activities-promo { padding: 0 0 48px; }
.ep-home-story h2 {
  font-family: MillerDisplay, Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 2.7vw, 38px);
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
}
.ep-home-story p { font-family: 'Plus Jakarta Sans', Arial, sans-serif; }
.ep-home-story .home-featured-concert-card,
.ep-home-story .home-program-card,
.ep-home-story .home-activities-promo-card,
.ep-home-story .event-card {
  border: 1px solid var(--home-line);
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
}
.ep-home-story .home-featured-concert-copy { padding: 32px; background: var(--home-white); }
.ep-home-story .home-featured-concert-copy h2 { font-size: clamp(28px, 2.7vw, 38px); }
.ep-home-story .home-featured-concert-eyebrow,
.ep-home-story .home-program-copy .program-eyebrow {
  color: #79571f !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: none;
  letter-spacing: .02em !important;
}
.ep-home-story .home-featured-concert-meta { line-height: 1.65; }
.ep-home-story .home-featured-concert-actions { gap: 10px; }
.ep-home-story .home-program-card { gap: 24px; padding: 24px 28px; background: var(--home-white); }
.ep-home-story .home-program-date { border-radius: 10px; background: var(--home-wine); }
.ep-home-story .home-program-copy h2 { font-size: clamp(26px, 2.3vw, 32px); }

/* A single button treatment, with a quieter outlined secondary action. */
.ep-home-story .events-button,
.ep-home-story .program-button,
.ep-home-story .home-activities-promo-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
  min-height: 48px;
  height: auto;
  padding: 12px 18px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: transparent;
  color: var(--home-ink);
  box-shadow: none;
  font: 700 13px/1.5 'Plus Jakarta Sans', Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease;
}
.ep-home-story .events-button-primary,
.ep-home-story .program-button-primary {
  background: var(--home-wine);
  border-color: var(--home-wine);
  color: #fff;
}
.ep-home-story .home-program-card > .program-button { min-height: 48px; }
.ep-home-story .events-button:hover,
.ep-home-story .program-button:hover { background: #eee4d3; color: var(--home-ink); transform: none; }
.ep-home-story .events-button-primary:hover,
.ep-home-story .program-button-primary:hover { background: #501720; border-color: #501720; color: #fff; }
.ep-home-story a:focus-visible { outline: 3px solid #957021; outline-offset: 4px; }
.ep-home-story a { scroll-margin-top: calc(var(--site-nav-height, 86px) + 20px); }

/* Activities retain their illustrations and logo, in the parish palette. */
.ep-home-story .home-activities-promo-card {
  background: linear-gradient(120deg, #431d23, #682b33);
  border-color: #67333b;
  transform: none;
}
.ep-home-story .home-activities-promo-card:hover,
.ep-home-story .home-activities-promo-card:focus-visible { transform: none; box-shadow: var(--home-shadow); }
.ep-home-story .home-activities-promo-card:focus-visible { outline-color: var(--home-gold); }
.ep-home-story .home-activities-promo-card::after { display: none; }
.ep-home-story .home-activities-promo-copy { padding: 32px; }
.ep-home-story .home-activities-promo-copy h2 { font-size: clamp(28px, 2.7vw, 38px); letter-spacing: 0; line-height: 1.15; }
.ep-home-story .home-activities-promo-copy h2 span { color: #e8cc94; font-size: .65em; white-space: nowrap; }
.ep-home-story .home-activities-promo-brand p { font-size: 11px; text-transform: none; letter-spacing: 0; line-height: 1.55; }
.ep-home-story .home-activities-promo-brand span,
.ep-home-story .home-activities-promo-eyebrow { color: #e8cc94; }
.ep-home-story .home-activities-promo-eyebrow { font-size: 11px; text-transform: none; letter-spacing: .02em; }
.ep-home-story .home-activities-promo-copy > p:not(.home-activities-promo-eyebrow) { color: #f0e4df; font-size: 14px; line-height: 1.65; }
.ep-home-story .home-activities-promo-meta span { border-radius: 6px; font-size: 11px; }
.ep-home-story .home-activities-promo-action { background: var(--home-gold); border-color: var(--home-gold); color: #302314; }
.ep-home-story .home-activities-promo-card:hover .home-activities-promo-action { background: #e5c785; border-color: #e5c785; }
.ep-home-story .home-activities-promo-images { background: #eee6d8; }
.ep-home-story .home-activities-promo-images img { border-radius: 14px; border-width: 5px; box-shadow: 0 6px 20px rgb(48 40 32 / 12%); }

/* Consistent church cards, with room for long Greek and English names. */
.ep-home-story #featured.ep-home-churches { padding: 56px 0; background: #211e18; }
.ep-home-story .ep-home-churches-heading { margin-bottom: 32px; }
.ep-home-story .ep-home-churches-heading p { font-size: 15px; line-height: 1.75; }
.ep-home-story #featured > .wrapper > .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.ep-home-story #featured .box-25 { width: auto; float: none; min-width: 0; }
.ep-home-story #featured .box-padding { padding: 0; }
.ep-home-story #featured .clear { display: none; }
.ep-home-story #featured .portfolio-item { height: 100%; border: 1px solid #514735; border-radius: var(--home-radius); background: #211e18; }
.ep-home-story #featured .portfolio-img img { aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: center; border-radius: 0; mix-blend-mode: normal; transition: none; }
.ep-home-story #featured .portfolio-text { padding: 60px 20px 22px; transform: none; transition: none; }
.ep-home-story #featured .portfolio-text::before { background: linear-gradient(transparent, rgb(13 12 9 / 88%)); border-radius: 0; transition: none; }
.ep-home-story #featured .portfolio-item h5 { display: none; }
.ep-home-story #featured .portfolio-item h4 { margin: 0; font: 400 25px/1.2 MillerDisplay, Georgia, serif; text-transform: none; }
.ep-home-story #featured .portfolio-item a { color: #fff; text-decoration: none; text-transform: none; }
.ep-home-story #featured .portfolio-item:focus-within { outline: 3px solid var(--home-gold); outline-offset: 4px; }
.ep-home-story #featured .portfolio-item a:focus-visible { outline: none; }
.ep-home-story .event-card:hover { transform: none; box-shadow: var(--home-shadow); }
.ep-home-story .event-card:hover .event-card-media img { transform: none; }
.ep-home-story .event-card-body { padding: 28px; }
.ep-home-story .event-card h3 { font-size: 28px; }
.ep-home-story .event-type-pill,
.ep-home-story .event-featured-badge { text-transform: none; letter-spacing: 0; }
.ep-home-story .ep-home-events-link { padding: 24px 0; }
.ep-home-story .ep-home-support { background: #eee6d8; border-color: var(--home-line); }
.ep-home-story .ep-home-support h2 { font-size: clamp(26px, 2.3vw, 32px); }
.ep-home-story .ep-home-support p { font-size: 14px; line-height: 1.7; }
.ep-home-story .ep-home-events-link a,
.ep-home-story .ep-home-support-link,
.ep-home-story .events-heading-link { font: 700 13px/1.6 'Plus Jakarta Sans', Arial, sans-serif; color: #75551f; }

@media (max-width: 1023px) {
  .ep-home-story #featured > .wrapper > .row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ep-home-story .home-featured-concert-card { grid-template-columns: 1fr; }
  .ep-home-story .home-featured-concert-media { max-height: 420px; }
  .ep-home-story .home-featured-concert-media img { width: 100%; max-height: 420px; object-fit: contain; }
  .ep-home-story .home-featured-concert-copy { padding: 28px; }
}
@media (max-width: 680px) {
  .ep-home-story { --home-radius: 14px; }
  .ep-home-story .home-featured-concert { padding-top: 20px; }
  .ep-home-story .home-program-section { padding: 18px 0; }
  .ep-home-story .home-activities-promo { padding-bottom: 32px; }
  .ep-home-story .home-featured-concert-copy,
  .ep-home-story .home-activities-promo-copy,
  .ep-home-story .event-card-body { padding: 22px 20px; }
  .ep-home-story .home-featured-concert-media { height: auto; max-height: none; }
  .ep-home-story .home-featured-concert-media img { height: auto; max-height: none; object-fit: contain; }
  .ep-home-story .home-featured-concert-actions { flex-direction: column; }
  .ep-home-story .home-featured-concert-actions .events-button { flex: auto; width: 100%; min-height: 48px; height: auto; padding: 12px 16px; font-size: 13px; }
  .ep-home-story .home-program-card { padding: 20px; gap: 16px; }
  .ep-home-story .home-program-copy h2 { font-size: 26px; }
  .ep-home-story .home-program-copy .program-eyebrow { font-size: 10px !important; }
  .ep-home-story .home-activities-promo-brand p { font-size: 10px; }
  .ep-home-story .home-activities-promo-action { min-height: 48px; margin-top: 16px; }
  .ep-home-story #featured.ep-home-churches { padding: 40px 0; }
  .ep-home-story .ep-home-churches-heading h2 { font-size: 30px; }
  .ep-home-story #featured > .wrapper > .row { gap: 16px; }
  .ep-home-story #featured .portfolio-text { padding: 60px 18px 20px; }
  .ep-home-story #featured .portfolio-item h4 { font-size: 24px; }
}
@media (max-width: 520px) {
  .ep-home-story #featured > .wrapper > .row { grid-template-columns: 1fr; }
  .ep-home-story #featured .portfolio-img img { aspect-ratio: 5 / 4; object-position: center top; }
}
@media (prefers-reduced-motion: reduce) {
  .ep-home-story *, .ep-home-story *::before, .ep-home-story *::after { transition: none !important; animation: none !important; }
}
