@import url("fonts.css");

:root {
  --evm-paper: #f7f5f0;
  --evm-white: #fff;
  --evm-ink: #252925;
  --evm-muted: #626560;
  --evm-red: #a83232;
  --evm-red-hover: #862626;
  --evm-line: #ddd9d0;
  --evm-serif: "Libre Baskerville", Georgia, serif;
  --evm-sans: "Inter", Arial, sans-serif;
}
body.evm-theme { background: var(--evm-white); color: var(--evm-ink); font: 400 18px/1.65 var(--evm-sans); margin: 0; }
.evm-theme *, .evm-theme *::before, .evm-theme *::after { box-sizing: border-box; }
.evm-theme img { max-width: 100%; height: auto; }
.evm-theme h1, .evm-theme h2, .evm-theme h3, .evm-theme h4 { color: var(--evm-ink); font-family: var(--evm-serif); font-weight: 400; line-height: 1.25; text-transform: none; letter-spacing: -.025em; }
.evm-theme a { color: var(--evm-red); text-decoration: none; transition: color .15s ease, background-color .15s ease; }
.evm-theme a:hover { color: var(--evm-red-hover); }
.evm-theme :focus-visible { outline: 3px solid var(--evm-red); outline-offset: 5px; }
.evm-theme button, .evm-theme input, .evm-theme textarea, .evm-theme select { font: inherit; }
.evm-theme button { cursor: pointer; }
.evm-theme .evm-container { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.evm-theme #content.site-content { padding-top: 0; }
.evm-theme .evm-icon { display: block; flex: 0 0 auto; width: 24px; height: 24px; }
.evm-theme .evm-skip-link { position: fixed; left: 16px; top: -100px; z-index: 100001; background: #fff; color: var(--evm-red); padding: 12px 22px; }
.evm-theme .evm-skip-link:focus { top: 12px; }
.evm-theme .screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }

/* Header is independent of the parent's sticky/Bootstrap menu. */
.evm-theme .evm-header.site-header { position: relative; z-index: 50; background: var(--evm-paper); background-image: none; padding: 0; margin: 0; height: auto; border-bottom: 1px solid #eeeae3; }
/* WP Giving emits this overlay from global/per-page header options. The child
   owns its light header; the inherited layer must not cover its navigation. */
.evm-theme .evm-header.site-header::before { content: none; display: none; pointer-events: none; }
.evm-header-inner { min-height: 112px; width: min(1312px, calc(100% - 112px)); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.evm-brand { flex: 0 0 auto; }
.evm-theme .evm-brand .custom-logo-link { display: flex; align-items: center; }
.evm-theme .evm-brand img { display: block; width: auto; max-width: 250px; height: 104px; object-fit: contain; }
.evm-navigation { display: flex; align-items: center; gap: 32px; }
.evm-theme .evm-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.evm-menu li { position: relative; list-style: none; margin: 0; }
.evm-theme .evm-menu a { display: inline-flex; align-items: center; min-height: 48px; color: var(--evm-ink); font: 400 16px/1.4 var(--evm-sans); white-space: nowrap; }
.evm-theme .evm-menu a:hover, .evm-theme .evm-menu .current-menu-item > a { color: var(--evm-red); }
.evm-theme .evm-support { display: inline-flex; align-items: center; min-height: 44px; border-left: 1px solid var(--evm-line); padding-left: 32px; font: 700 18px/1.4 var(--evm-serif); white-space: nowrap; }
.evm-menu .sub-menu { display: none; position: absolute; left: -16px; top: 100%; z-index: 20; padding: 12px; margin: 0; background: var(--evm-paper); border: 1px solid var(--evm-line); min-width: 240px; max-width: 320px; }
.evm-menu .sub-menu a { white-space: normal; padding: 8px 10px; }
.evm-menu .sub-menu .sub-menu { left: 100%; top: 0; }
html:not(.evm-js) .evm-menu li:hover > .sub-menu, html:not(.evm-js) .evm-menu li:focus-within > .sub-menu, .evm-menu li.is-open > .sub-menu { display: block; }
.evm-menu .evm-submenu-toggle { display: inline-flex; justify-content: center; align-items: center; vertical-align: middle; border: 0; background: transparent; padding: 0; width: 32px; min-height: 44px; }
.evm-submenu-toggle .evm-icon { width: 16px; height: 16px; }
.evm-theme .evm-menu-toggle { display: none; align-items: center; gap: 9px; padding: 10px 12px; color: var(--evm-ink); border: 1px solid var(--evm-line); border-radius: 2px; background: transparent; min-height: 46px; }

/* Selected design: quiet, full-width photograph and centered invitation. */
.evm-hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: clamp(520px, 46.8vw, 672px); overflow: hidden; background: #403a30; }
.evm-theme .evm-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.evm-hero-shade { position: absolute; inset: 0; background: #000; opacity: var(--evm-shade, .32); z-index: -1; }
.evm-hero-content { text-align: center; padding: 70px 24px; max-width: 1280px; }
.evm-theme .evm-hero h1 { color: #fff; font: 400 clamp(46px, 5.6vw, 82px)/1.2 var(--evm-serif); letter-spacing: -.045em; margin: 0 0 18px; overflow-wrap: anywhere; text-shadow: 0 2px 16px rgb(0 0 0 / 18%); }
.evm-theme .evm-hero p { font: 400 clamp(21px, 2vw, 29px)/1.5 var(--evm-sans); margin: 0 auto 28px; color: #fff; max-width: 760px; }
.evm-theme .evm-button { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 15px 30px; border: 1px solid var(--evm-red); border-radius: 2px; background: var(--evm-red); color: #fff; font: 500 16px/1.5 var(--evm-sans); text-align: center; }
.evm-theme .evm-button:hover { color: #fff; background: var(--evm-red-hover); border-color: var(--evm-red-hover); }
.evm-theme .evm-hero a:focus-visible { outline-color: #fff; }
.evm-quick-links { background: var(--evm-paper); }
.evm-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 34px; }
.evm-theme .evm-quick-link { display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 24px; min-height: 72px; padding: 0 30px; color: var(--evm-ink); border-right: 1px solid #cdc9c0; }
.evm-quick-link:first-child { padding-left: 0; }
.evm-quick-link:last-child { border: 0; padding-right: 0; }
.evm-quick-link .evm-quick-icon { width: 38px; height: 38px; }
.evm-quick-link strong { display: block; font: 700 clamp(22px, 1.9vw, 28px)/1.3 var(--evm-serif); letter-spacing: -.03em; margin-bottom: 4px; }
.evm-quick-description { display: block; font: 400 15px/1.5 var(--evm-sans); }
.evm-theme .evm-quick-link:hover strong { color: var(--evm-red); }
.evm-featured-event { padding-top: 26px; padding-bottom: 36px; }
.evm-theme .evm-eyebrow { margin: 0 0 18px; color: var(--evm-muted); font: 500 12px/1.5 var(--evm-sans); text-transform: uppercase; letter-spacing: .1em; }
.evm-event-row { display: flex; align-items: center; gap: 32px; }
.evm-event-date { min-width: 110px; padding-right: 28px; border-right: 1px solid var(--evm-line); display: flex; flex-direction: column; color: var(--evm-red); text-align: center; }
.evm-event-date span:first-child { font: 400 60px/1.08 var(--evm-serif); letter-spacing: -.05em; }
.evm-event-date span:last-child { font: 400 23px/1.4 var(--evm-serif); text-transform: uppercase; }
.evm-event-copy { min-width: 0; flex: 1; }
.evm-theme .evm-event-copy h2 { font: 400 clamp(26px, 2.55vw, 38px)/1.25 var(--evm-serif); margin: 0 0 10px; letter-spacing: -.035em; }
.evm-theme .evm-event-copy h2 a { color: var(--evm-ink); }
.evm-theme .evm-event-copy h2 a:hover { color: var(--evm-red); }
.evm-theme .evm-event-copy p { display: flex; gap: 10px; align-items: center; font-size: 17px; line-height: 1.5; margin: 0; color: var(--evm-muted); }
.evm-theme .evm-text-link { display: inline-flex; gap: 14px; align-items: center; font: 400 16px/1.5 var(--evm-sans); min-height: 44px; }
.evm-all-events { border-left: 1px solid var(--evm-line); padding-left: 30px; white-space: nowrap; }
.evm-page-extra { padding-block: 40px; }
.evm-page-extra .entry-content > :last-child { margin-bottom: 0; }
.evm-news-section { padding: 70px 0 80px; border-top: 1px solid var(--evm-line); }
.evm-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 32px; }
.evm-theme .evm-section-heading h2 { font-size: 36px; margin: 0; }
.evm-news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.evm-news-image { display: block; margin-bottom: 22px; overflow: hidden; }
.evm-theme .evm-news-image img { width: 100%; height: auto; aspect-ratio: 1.6; object-fit: cover; }
.evm-news-item time { font-size: 14px; color: var(--evm-muted); }
.evm-theme .evm-news-item h3 { font-size: 25px; margin: 12px 0; line-height: 1.4; }
.evm-theme .evm-news-item h3 a { color: var(--evm-ink); }
.evm-theme .evm-news-item h3 a:hover { color: var(--evm-red); }
.evm-theme .evm-news-item p { font-size: 16px; color: var(--evm-muted); }

/* Existing pages remain rendered by WP Giving and its content plugins. */
.evm-page-heading { background: var(--evm-paper); padding: 56px 0; border-bottom: 1px solid var(--evm-line); }
.evm-theme .evm-page-heading h1 { margin: 0; font-size: clamp(34px, 4vw, 54px); }
.evm-theme:not(.evm-home) #primary { padding-block: 56px; }
.evm-theme .entry-content { font-family: var(--evm-sans); font-size: 18px; line-height: 1.75; }
.evm-theme .entry-content p { margin-bottom: 1.4em; }
.evm-theme .entry-content a:not(.evm-button):not(.vc_btn3) { text-decoration: underline; text-underline-offset: 3px; }
.evm-theme .entry-content h2 { font-size: 34px; }
.evm-theme .entry-content h3 { font-size: 27px; }
.evm-theme .entry-content input:not([type="checkbox"]):not([type="radio"]), .evm-theme .entry-content textarea, .evm-theme .entry-content select { min-height: 48px; max-width: 100%; border-color: var(--evm-line); }
.evm-theme .entry-content img { height: auto; }
.evm-theme .entry-content .wp-block-image img { display: block; }
.evm-theme .cms-button, .evm-theme .wpcf7-submit { border-radius: 2px; background: var(--evm-red); color: white; }
.evm-search-results { padding-block: 48px 64px; }
.evm-results-heading { margin-bottom: 32px; }
.evm-theme .evm-results-heading h1 { font-size: clamp(32px, 4vw, 48px); }
.evm-search-result { padding-block: 24px; border-top: 1px solid var(--evm-line); max-width: 900px; }
.evm-theme .evm-search-result h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 16px; }
.evm-theme .evm-search-result h2 a { color: var(--evm-ink); }
.evm-theme .evm-search-result h2 a:hover { color: var(--evm-red); }
.evm-search-result p { margin-bottom: 12px; }
.evm-search-results .pagination { display: block; padding-top: 24px; }
.evm-search-results .page-numbers { display: inline-block; padding: 8px 14px; }

.evm-footer { background: var(--evm-paper); padding: 48px 0 24px; border-top: 1px solid var(--evm-line); }
.evm-footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--evm-line); }
.evm-footer-widgets h3, .evm-footer-widgets h4 { font-size: 20px; line-height: 1.5; }
.evm-footer-widgets p, .evm-footer-widgets li { font-size: 15px; overflow-wrap: anywhere; }
.evm-footer-widgets ul { padding-left: 0; list-style: none; }
.evm-footer-main { display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.evm-theme .evm-footer-name { font: 400 20px/1.5 var(--evm-serif); margin: 0 0 6px; text-transform: none; }
.evm-footer-main p { font-size: 15px; margin: 0; }
.evm-search-form { display: flex; gap: 0; max-width: 100%; }
.evm-theme .evm-search-form input { min-width: 0; width: 240px; min-height: 48px; border: 1px solid var(--evm-line); border-right: 0; border-radius: 2px 0 0 2px; padding: 10px 14px; font-size: 15px; background: #fff; color: var(--evm-ink); }
.evm-theme .evm-search-form button { border: 1px solid var(--evm-red); color: #fff; background: var(--evm-red); padding: 10px 18px; border-radius: 0 2px 2px 0; font-size: 15px; }
.evm-footer-bottom { margin-top: 38px; padding-top: 20px; border-top: 1px solid var(--evm-line); display: flex; justify-content: space-between; gap: 24px; font-size: 12px; color: var(--evm-muted); }
.evm-footer-bottom > div { display: flex; gap: 24px; }

@media (min-width: 1101px) {
  .evm-hero-content { transform: translateY(56px); }
  .evm-theme .evm-hero h1 { font-size: clamp(46px, 5.3vw, 76px); margin-bottom: 0; }
  .evm-theme .evm-hero p { font-size: clamp(21px, 1.9vw, 27px); }
  .evm-event-row { gap: 48px; }
  .evm-event-date { min-width: 130px; }
  .evm-theme .evm-event-copy h2 { font-size: clamp(26px, 2.8vw, 40px); }
  .evm-menu li:last-child .sub-menu { left: auto; right: 0; }
  .evm-menu li:last-child .sub-menu .sub-menu { left: auto; right: 100%; }
}
@media (max-width: 1200px) {
  .evm-header-inner, .evm-theme .evm-container { width: calc(100% - 64px); }
  .evm-menu, .evm-theme .evm-menu { gap: 20px; }
  .evm-navigation { gap: 22px; }
  .evm-theme .evm-support { padding-left: 22px; }
  .evm-quick-link { gap: 16px; }
  .evm-quick-link .evm-arrow { display: none; }
  .evm-theme .evm-quick-link { grid-template-columns: 36px 1fr; padding-inline: 22px; }
}
@media (max-width: 1100px) {
  .evm-header-inner { flex-wrap: wrap; gap: 0 24px; min-height: 96px; }
  .evm-theme .evm-brand img { height: 88px; max-width: 240px; }
  .evm-js .evm-menu-toggle { display: inline-flex; }
  .evm-navigation { flex-basis: 100%; display: block; border-top: 1px solid var(--evm-line); padding: 16px 0 24px; }
  .evm-js .evm-navigation:not(.is-open) { display: none; }
  .evm-theme .evm-menu { display: block; }
  .evm-menu > li { border-bottom: 1px solid var(--evm-line); }
  .evm-theme .evm-menu a { min-height: 50px; font-size: 17px; white-space: normal; padding: 10px 0; }
  .evm-menu .evm-submenu-toggle { float: right; width: 48px; height: 50px; }
  .evm-menu .sub-menu { position: static; border: 0; max-width: none; min-width: 0; padding: 0 0 8px 20px; }
  .evm-menu li:hover > .sub-menu, .evm-menu li:focus-within > .sub-menu { display: none; }
  .evm-menu li.is-open > .sub-menu { display: block; }
  html:not(.evm-js) .evm-menu .sub-menu { display: block; }
  .evm-theme .evm-support { border-left: 0; padding: 18px 0 0; }
  .evm-event-row { gap: 24px; }
  .evm-event-copy h2 { font-size: 28px; }
}
@media (max-width: 767px) {
  .evm-header-inner, .evm-theme .evm-container { width: calc(100% - 40px); }
  .evm-header-inner { min-height: 90px; }
  .evm-theme .evm-brand img { height: 82px; }
  .evm-hero { min-height: 500px; }
  .evm-hero-content { padding: 70px 24px; }
  .evm-theme .evm-hero h1 { font-size: clamp(38px, 10vw, 58px); letter-spacing: -.045em; line-height: 1.2; margin-bottom: 20px; }
  .evm-theme .evm-hero p { font-size: 21px; line-height: 1.6; max-width: 340px; margin-bottom: 28px; }
  .evm-theme .evm-button { max-width: 100%; min-height: 56px; padding: 15px 24px; }
  .evm-quick-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .evm-theme .evm-quick-link { grid-template-columns: 34px 1fr 24px; gap: 20px; border-right: 0; border-bottom: 1px solid var(--evm-line); min-height: 110px; padding: 22px 0; }
  .evm-quick-link:last-child { border-bottom: 0; }
  .evm-quick-link .evm-arrow { display: block; }
  .evm-quick-link .evm-quick-icon { width: 32px; height: 32px; }
  .evm-quick-link strong { font-size: 23px; }
  .evm-quick-description { font-size: 14px; }
  .evm-featured-event { padding-block: 30px 36px; }
  .evm-event-row { flex-wrap: wrap; align-items: flex-start; column-gap: 20px; row-gap: 20px; }
  .evm-event-date { min-width: 65px; padding-right: 16px; }
  .evm-event-date span:first-child { font-size: 44px; }
  .evm-event-date span:last-child { font-size: 18px; }
  .evm-theme .evm-event-copy h2 { font-size: 25px; line-height: 1.4; margin-top: -3px; }
  .evm-theme .evm-event-copy p { font-size: 15px; align-items: flex-start; }
  .evm-all-events { width: 100%; border-left: 0; border-top: 1px solid var(--evm-line); padding: 16px 0 0; justify-content: space-between; }
  .evm-news-section { padding: 40px 0; }
  .evm-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .evm-theme .evm-section-heading h2 { font-size: 30px; }
  .evm-news-grid { grid-template-columns: 1fr; gap: 32px; }
  .evm-news-item { padding-bottom: 16px; border-bottom: 1px solid var(--evm-line); }
  .evm-page-heading { padding-block: 32px; }
  .evm-theme:not(.evm-home) #primary { padding-block: 32px; }
  .evm-footer { padding-top: 32px; }
  .evm-footer-main, .evm-footer-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
  .evm-footer-search { width: 100%; }
  .evm-search-form input { flex: 1; }
  .evm-footer-bottom { margin-top: 30px; font-size: 12px; }
  .evm-footer-widgets { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .evm-theme *, .evm-theme *::before, .evm-theme *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
