/* Site-wide Giving, WPBakery, WordPress and MEC presentation. Content stays in WordPress. */
.evm-theme { --evm-reading: 760px; }
.evm-theme .container, .evm-theme .mec-container { max-width: 1280px; width: calc(100% - 96px); }
.evm-theme #content { padding-bottom: 0; }
.evm-theme .evm-header-inner { gap: 24px; }
.evm-theme .evm-navigation { gap: 24px; }
.evm-theme .evm-menu { gap: 22px; }
.evm-theme .evm-menu a { font-size: 15px; }
.evm-theme .evm-support { font-size: 16px; padding-left: 24px; }
.evm-theme .evm-page-heading { padding: 64px 0 68px; }
.evm-theme .evm-page-heading h1 { max-width: 1050px; line-height: 1.25; overflow-wrap: break-word; }
.evm-theme .evm-page-heading p { max-width: var(--evm-reading); margin: 20px 0 0; }
.evm-theme .entry-content { color: var(--evm-ink); font-size: 18px; }
.evm-theme .entry-content p, .evm-theme .entry-content li { font-size: inherit; line-height: 1.8; }
.evm-theme .entry-content p:last-child { margin-bottom: 0; }
.evm-theme .entry-content h2, .evm-theme .entry-content h3, .evm-theme .entry-content h4,
.evm-theme .cms-custom-heading .cms-heading-inner { font-family: var(--evm-serif) !important; font-weight: 400 !important; line-height: 1.35 !important; letter-spacing: -.025em; text-transform: none; }
.evm-theme .entry-content h2, .evm-theme .cms-custom-heading .cms-heading-inner { font-size: clamp(28px, 2.7vw, 40px) !important; }
.evm-theme .entry-content h3 { font-size: clamp(25px, 2.3vw, 32px); }
.evm-theme .entry-content h4 { font-size: 24px; }
.evm-theme .cms-custom-heading { margin-bottom: 28px; }
.evm-theme .cms-custom-heading em { color: var(--evm-red); font-style: normal; }
.evm-theme .entry-content h2 a, .evm-theme .entry-content h3 a { color: var(--evm-ink); text-decoration: none; }
.evm-theme .entry-content h2 a:hover, .evm-theme .entry-content h3 a:hover { color: var(--evm-red); }
.evm-theme .entry-content blockquote { border-left: 3px solid var(--evm-red); background: var(--evm-paper); padding: 28px 32px; margin: 32px 0; font-family: var(--evm-serif); }
.evm-theme .entry-content table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.evm-theme .entry-content th, .evm-theme .entry-content td { padding: 14px; border: 1px solid var(--evm-line); }
.evm-theme .entry-content iframe, .evm-theme .entry-content video { max-width: 100%; }
.evm-theme .entry-content figcaption, .evm-theme .wp-caption-text { color: var(--evm-muted); font: 400 14px/1.6 var(--evm-sans); margin-top: 12px; }
.evm-theme .wp-caption { max-width: 100%; }
.evm-theme .wp-block-gallery, .evm-theme .gallery { gap: 18px; }
.evm-theme .gallery img { border: 0 !important; }

/* Keep builder columns and every original block, with deliberate row spacing.
   Override stretched row offsets to prevent overflow after changing the container. */
.evm-theme .evm-builder-content > .vc_row { width: 100% !important; left: auto !important; margin: 0; padding: 40px 0 !important; position: relative; }
.evm-theme .evm-builder-content > .vc_row > .vc_column_container > .vc_column-inner { padding: 0 24px; }
.evm-theme .evm-builder-content > .vc_row:first-child { padding-top: 0 !important; }
.evm-theme .evm-builder-content > .vc_row > .vc_col-sm-12 > .vc_column-inner { padding-inline: 0; }
.evm-theme .evm-builder-content .wpb_content_element { margin-bottom: 30px; }
.evm-theme .evm-builder-content .wpb_content_element:last-child { margin-bottom: 0; }
.evm-theme .wpb_animate_when_almost_visible { opacity: 1 !important; visibility: visible !important; animation: none !important; transform: none !important; }
.evm-theme .wpb_single_image .vc_single_image-wrapper, .evm-theme .wpb_single_image img { border-radius: 3px; }
.evm-theme .wpb_single_image img { height: auto; max-width: 100%; }
.evm-theme .evm-builder-content .vc_col-sm-12 .wpb_text_column { max-width: var(--evm-reading); margin-inline: auto; }
.evm-theme .evm-builder-content .vc_col-sm-12 > .vc_column-inner > .wpb_wrapper > .cms-custom-heading { max-width: var(--evm-reading); margin-inline: auto; }
.evm-theme .evm-existing-home .entry-content > .vc_row { padding: 76px max(24px, calc((100% - 1232px) / 2)) !important; }
.evm-theme .evm-existing-home .entry-content > .vc_row:nth-of-type(4n) { background-color: var(--evm-paper); }
.evm-theme .evm-existing-home .entry-content > .vc_row.evm-slider-row { padding: 0 !important; }
.evm-theme .evm-slider-row > .vc_column_container > .vc_column-inner { padding: 0 !important; }
.evm-theme .evm-existing-home .cms-custom-heading { text-align: center; }
.evm-theme .evm-existing-home .cms-heading-inner { text-align: center !important; }
.evm-theme .evm-existing-home .vc_col-sm-4 .cms-heading-inner { font-size: 28px !important; }
.evm-theme .evm-existing-home .vc_col-sm-4 .wpb_text_column { font-size: 16px; }
.evm-theme .evm-existing-home .cms-grid { margin-top: 32px; }
/* Builder news cards use h1 in older Giving releases; keep the same content
   with the visual hierarchy of a card, including when legacy WOW fails. */
.evm-theme .cms-grid .wow { visibility: visible !important; opacity: 1 !important; animation: none !important; }
.evm-theme .cms-grid .gv-blog-loop .entry-title { font: 400 23px/1.45 var(--evm-serif) !important; margin: 22px 0 18px; overflow-wrap: anywhere; }
.evm-theme .cms-grid .gv-blog-loop .entry-title a { text-decoration: none !important; }
.evm-theme .cms-grid .gv-blog-loop .entry-meta { margin-top: 18px; }
.evm-theme .cms-grid .gv-blog-loop .entry-content { font-size: 16px; }
.evm-theme .entry-content .cms-button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 11px 20px; margin-top: 24px; border: 1px solid var(--evm-red); border-radius: 2px; background: transparent; color: var(--evm-red); font: 500 14px/1.5 var(--evm-sans); text-decoration: none !important; box-shadow: none; }
.evm-theme .entry-content .cms-button:hover { background: var(--evm-red); color: #fff; }
.evm-theme .evm-existing-home .vc_col-sm-3 h2 { font-size: 23px !important; line-height: 1.5 !important; }
.evm-theme .evm-existing-home .vc_images_carousel img { max-height: 380px; width: auto; object-fit: contain; }
.evm-theme .evm-existing-home .cms-grid .entry-header, .evm-theme .evm-existing-home .cms-grid .entry-content { padding-right: 16px; }
.evm-theme .evm-builder-content > .vc_section { width: 100% !important; left: auto !important; margin: 0; padding: 76px max(24px, calc((100% - 1232px) / 2)) !important; }
.evm-theme .entry-content input[type="submit"].cms-button { background: var(--evm-red); border-color: var(--evm-red); color: #fff; min-height: 48px; }

/* A compact navigation row for genuine WordPress parent/child pages. */
.evm-section-nav { padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--evm-line); }
.evm-section-nav ul { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 0; margin: 0; list-style: none; }
.evm-section-nav a { display: inline-block; padding: 8px 0; color: var(--evm-muted); font-size: 14px; }
.evm-section-nav a[aria-current="page"] { color: var(--evm-red); box-shadow: 0 2px var(--evm-red); }
.evm-page-contents { padding: 24px 28px; margin: 0 0 48px; border: 1px solid var(--evm-line); border-left: 3px solid var(--evm-red); background: var(--evm-paper); }
.evm-page-contents summary { cursor: pointer; font-size: 16px; font-weight: 600; }
.evm-page-contents ul { margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px 32px; list-style: none; }
.evm-page-contents a { display: block; font-size: 14px; line-height: 1.55; padding-block: 6px; text-decoration: none !important; }
.evm-theme .entry-content [id] { scroll-margin-top: 28px; }
.evm-theme.evm-parishes .evm-builder-content > .vc_row { padding: 56px 0 !important; border-bottom: 1px solid var(--evm-line); background: transparent !important; }
.evm-theme.evm-parishes .evm-builder-content > .vc_row:first-child { padding-top: 0 !important; }
.evm-parishes .evm-builder-content .wpc_parallax_overlay { display: none; }
.evm-theme.evm-parishes .entry-content h3 { margin-top: 0; font-size: 30px; }
.evm-theme.evm-parishes .entry-content p { font-size: 16px; }
.evm-theme.evm-parishes .entry-content h3 + p { padding: 20px 22px; background: var(--evm-paper); border-left: 2px solid var(--evm-red); font-size: 15px; }
.evm-theme.evm-contacts .evm-builder-content > .vc_row { padding-block: 36px !important; border-bottom: 1px solid var(--evm-line); }
.evm-theme.evm-contacts .entry-content .vc_col-sm-4 { padding: 24px; }
.evm-theme.evm-contacts .entry-content .vc_col-sm-4 > .vc_column-inner { padding: 24px; height: 100%; background: var(--evm-paper); }
.evm-theme.evm-contacts .entry-content .vc_col-sm-4 h3 { font-size: 23px; }
.evm-theme.evm-contacts .entry-content .vc_col-sm-4 p { font-size: 15px; margin-bottom: 12px; overflow-wrap: anywhere; }
.evm-theme .contact-info-wrap, .evm-theme .contact-info-wrap .info { text-align: left; }
.evm-theme .contact-info-wrap .ct-info { display: flex; gap: 20px; align-items: center; flex-direction: row-reverse; justify-content: flex-end; }
.evm-theme .contact-info-wrap .info span:first-child { font: 400 24px/1.4 var(--evm-serif); }

/* Retain Giving's post formats, content filters, widgets and pagination. */
.evm-theme .gv-blog-loop { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--evm-line); }
.evm-theme .gv-blog-loop .entry-title { font: 400 clamp(26px,2.4vw,36px)/1.35 var(--evm-serif); margin: 24px 0 18px; }
.evm-theme .gv-blog-loop .entry-title a { color: var(--evm-ink); }
.evm-theme .gv-blog-loop .post-thumbnail img { display: block; max-height: 460px; width: 100%; object-fit: contain; background: var(--evm-paper); }
.evm-theme .gv-blog-loop .date-time { background: var(--evm-paper); color: var(--evm-red); border: 1px solid var(--evm-line); border-radius: 2px; box-shadow: none; }
.evm-theme .gv-blog-loop .entry-meta { font-size: 13px; margin-bottom: 24px; color: var(--evm-muted); }
.evm-theme .gv-blog-loop .archive-detail { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 0; }
.evm-theme .gv-blog-loop .entry-content { font-size: 17px; }
.evm-theme .gv-blog-loop .entry-footer a { display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px; border: 1px solid var(--evm-red); border-radius: 2px; font-size: 14px; color: var(--evm-red); }
.evm-theme .gv-blog-loop .entry-footer a:hover { background: var(--evm-red); color: #fff; }
.evm-theme .single-post .entry-title, .evm-theme.single-post .entry-title { font-size: clamp(30px,3.2vw,46px); }
.evm-theme.single-post .entry-content { font-size: 18px; }
.evm-theme .widget-title, .evm-theme .wg-title { font: 400 23px/1.4 var(--evm-serif); text-transform: none; }
.evm-theme :is(#secondary, .gv-sidebar) { padding-top: 4px; }
.evm-theme :is(#secondary, .gv-sidebar) .widget { padding: 24px; background: var(--evm-paper); border: 1px solid var(--evm-line); margin-bottom: 24px; }
.evm-theme :is(#secondary, .gv-sidebar) ul { padding-left: 0; list-style: none; }
.evm-theme :is(#secondary, .gv-sidebar) li { font-size: 14px; line-height: 1.65; padding-block: 10px; border-bottom-color: var(--evm-line); }
.evm-theme :is(#secondary, .gv-sidebar) li:last-child { border-bottom: 0; }
.evm-theme .pagination, .evm-theme .navigation { clear: both; }
.evm-theme .pagination a, .evm-theme .pagination .current, .evm-theme .page-numbers { min-width: 44px; min-height: 44px; padding: 10px 14px; border-radius: 2px; }
.evm-theme .pagination .current { background: var(--evm-red); color: #fff; }
.evm-theme .comments-area { margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--evm-line); }
.evm-theme .comment-list { padding: 0; list-style: none; }
.evm-theme .comment-body { padding: 24px; margin-bottom: 20px; background: var(--evm-paper); }

/* MEC owns event queries, filters, dates, navigation and booking behavior. */
.evm-theme .mec-wrap, .evm-theme .mec-single-event { font-family: var(--evm-sans); color: var(--evm-ink); }
.evm-theme .mec-wrap .mec-color, .evm-theme .mec-wrap .mec-color-hover:hover { color: var(--evm-red) !important; }
.evm-theme .mec-wrap .mec-bg-color, .evm-theme .mec-wrap .mec-bg-color-hover:hover { background-color: var(--evm-red) !important; color: #fff !important; }
.evm-theme .mec-wrap .mec-border-color, .evm-theme .mec-wrap .mec-border-color-hover:hover { border-color: var(--evm-red) !important; }
.evm-existing-home .mec-event-grid-minimal > .row { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,280px),1fr)); gap: 28px; margin: 0; }
.evm-existing-home .mec-event-grid-minimal > .row::before, .evm-existing-home .mec-event-grid-minimal > .row::after { display: none; }
.evm-existing-home .mec-event-grid-minimal > .row > div { width: auto; padding: 0; }
.evm-theme .mec-event-grid-minimal .mec-event-article { display: flex; gap: 22px; padding: 24px; border: 1px solid var(--evm-line); background: var(--evm-paper); }
.evm-theme .mec-event-grid-minimal .mec-event-date { flex: 0 0 76px; width: 76px; height: auto; padding: 14px 8px; float: none; align-self: flex-start; white-space: nowrap; font: 500 14px/1.6 var(--evm-sans); background: #fff; border: 1px solid var(--evm-line); }
.evm-theme .mec-event-grid-minimal .mec-event-date span { display: block; font: 400 30px/1.3 var(--evm-serif); }
.evm-theme .mec-event-grid-minimal .event-detail-wrap { margin: 0; min-width: 0; }
.evm-theme .mec-event-grid-minimal .mec-event-title { font-size: 22px; line-height: 1.4; margin: 0 0 12px; }
.evm-theme .mec-event-grid-minimal .mec-event-detail { font-size: 14px; line-height: 1.6; }
.evm-theme .mec-container { padding-block: 56px; }
.evm-theme .mec-container > h1 { font: 400 46px/1.3 var(--evm-serif); margin: 0 0 40px; }
.evm-theme .mec-wrap h1, .evm-theme .mec-wrap h2, .evm-theme .mec-wrap h3, .evm-theme .mec-wrap h4,
.evm-theme .mec-single-title { font-family: var(--evm-serif); font-weight: 400; letter-spacing: -.02em; text-transform: none; }
.evm-theme .mec-event-list-standard .mec-event-article { border: 1px solid var(--evm-line); border-radius: 3px; box-shadow: none; margin-bottom: 28px; overflow: hidden; }
.evm-theme .mec-event-list-standard .mec-event-title { font: 400 clamp(24px,2.2vw,32px)/1.4 var(--evm-serif); }
.evm-theme .mec-event-title a { color: var(--evm-ink); text-decoration: none !important; }
.evm-theme .mec-event-list-standard .mec-event-image img { width: 100%; height: auto; max-height: 300px; object-fit: contain; background: var(--evm-paper); }
.evm-theme .mec-event-list-standard .mec-event-meta { padding: 24px; font-size: 15px; line-height: 1.7; }
.evm-theme .mec-event-list-standard .mec-topsec { background: #fff; }
.evm-theme .mec-event-list-standard .mec-event-footer, .evm-theme .mec-search-form { background: var(--evm-paper); }
.evm-theme .mec-event-list-standard .mec-event-footer { border-top: 1px solid var(--evm-line); }
.evm-theme .mec-event-d, .evm-theme .mec-start-date-label { color: var(--evm-red); }
.evm-theme .mec-month-divider { margin-block: 44px 28px; }
.evm-theme .mec-month-divider span { font: 400 26px/1.4 var(--evm-serif); }
.evm-theme .mec-month-divider:after, .evm-theme .mec-month-divider span:after { background-color: var(--evm-red); }
.evm-theme .mec-totalcal-box { padding: 20px; border: 1px solid var(--evm-line); }
.evm-theme .mec-totalcal-view span { min-height: 44px; padding: 12px 14px; font-size: 12px; }
.evm-theme .mec-totalcal-view span.mec-totalcalview-selected { background: var(--evm-red); }
.evm-theme .mec-booking-button, .evm-theme .mec-load-more-button { background: var(--evm-red) !important; color: #fff !important; padding: 14px 22px; min-height: 44px; border: 0 !important; border-radius: 2px; font: 500 14px/1.4 var(--evm-sans); }
.evm-theme .mec-single-event .mec-events-event-image img { max-width: 100%; height: auto; }
.evm-theme .mec-single-event .mec-event-meta, .evm-theme .mec-single-event .mec-event-social { padding: 28px; border-color: var(--evm-line); background: var(--evm-paper); box-shadow: none; }
.evm-theme .mec-single-event .mec-event-meta > div { background: transparent; border-bottom: 1px solid var(--evm-line); padding: 20px 0; }
.evm-theme .mec-single-event .mec-event-meta h3 { font: 400 21px/1.4 var(--evm-serif); }
.evm-theme .mec-single-event .mec-event-meta p { font-size: 15px; }

/* Forms keep their plugin validation and submission endpoints. */
.evm-theme input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),
.evm-theme select, .evm-theme textarea { min-height: 48px; border: 1px solid var(--evm-line); border-radius: 2px; color: var(--evm-ink); background-color: #fff; padding: 10px 14px; max-width: 100%; font-family: var(--evm-sans); font-size: 16px; box-shadow: none; }
.evm-theme input[type="checkbox"], .evm-theme input[type="radio"] { accent-color: var(--evm-red); width: 18px; height: 18px; }
.evm-theme textarea { width: 100%; min-height: 160px; }
.evm-theme input[type="submit"], .evm-theme .wpcf7-submit, .evm-theme .comment-form .submit { background: var(--evm-red); color: #fff; min-height: 48px; padding: 12px 24px; border: 1px solid var(--evm-red); border-radius: 2px; font-size: 16px; }
.evm-theme .wpcf7-not-valid-tip, .evm-theme .woocommerce-error { color: #9e2929; font-size: 14px; }
.evm-theme .wpcf7-response-output { padding: 18px; background: var(--evm-paper); font-size: 16px; }
.evm-theme .woocommerce .button { background: var(--evm-red); color: #fff; border-radius: 2px; }
.evm-theme .evm-not-found { padding-block: 90px; }
.evm-theme .evm-not-found .evm-search-form { margin-block: 32px; max-width: 560px; }
.evm-theme .subscriber-wrap { background: var(--evm-paper); padding: 40px 0; color: var(--evm-ink); }
.evm-theme .subscriber-wrap h3 { font: 400 27px/1.4 var(--evm-serif); color: var(--evm-ink); }
.evm-theme .evm-footer-widgets { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 40px; }
.evm-theme .evm-footer-widgets .widget { margin-bottom: 28px; }
.evm-theme .evm-footer-widgets h4 { font-size: 16px; margin: 0 0 14px; }
.evm-theme .evm-footer-widgets li { padding-block: 5px; }
.evm-original-copyright { max-width: 75%; }

@media (min-width: 768px) {
  .evm-theme .evm-builder-content > .vc_row { display: flex; flex-wrap: wrap; align-items: center; }
  .evm-theme.evm-contacts .evm-builder-content > .vc_row { align-items: stretch; }
}
@media (max-width: 1200px) {
  .evm-theme .evm-menu { gap: 14px; }
  .evm-theme .evm-menu a { font-size: 14px; }
  .evm-theme .evm-navigation { gap: 18px; }
  .evm-theme .evm-support { padding-left: 18px; }
}
@media (max-width: 1100px) {
  .evm-theme .evm-menu a { font-size: 17px; }
  .evm-theme .evm-support { padding-left: 0; }
}
@media (max-width: 767px) {
  .evm-theme .container, .evm-theme .mec-container { width: calc(100% - 40px); }
  .evm-theme .evm-page-heading { padding: 36px 0 40px; }
  .evm-theme .entry-content { font-size: 17px; }
  .evm-theme .evm-builder-content > .vc_row, .evm-theme.evm-parishes .evm-builder-content > .vc_row { padding-block: 28px !important; }
  .evm-theme .evm-builder-content > .vc_row > .vc_column_container > .vc_column-inner { padding: 0; }
  .evm-theme .evm-builder-content > .vc_row > .vc_column_container + .vc_column_container { margin-top: 28px; }
  .evm-theme .evm-existing-home .entry-content > .vc_row { padding: 40px 20px !important; }
  .evm-theme .evm-builder-content > .vc_section { padding: 40px 20px !important; }
  .evm-theme .evm-builder-content > .vc_section .cms-custom-heading { margin-bottom: 32px; }
  .evm-theme .evm-existing-home .entry-content > .vc_row.evm-slider-row { padding: 0 !important; }
  .evm-page-contents { padding: 20px; margin-bottom: 32px; }
  .evm-page-contents ul { grid-template-columns: 1fr; }
  .evm-section-nav { padding-bottom: 24px; margin-bottom: 24px; }
  .evm-section-nav ul { gap: 4px 18px; }
  .evm-theme .evm-footer-widgets { grid-template-columns: 1fr; gap: 18px; }
  .evm-theme :is(#secondary, .gv-sidebar) { margin-top: 40px; }
  .evm-theme .gv-blog-loop .entry-title { font-size: 28px; }
  .evm-theme .gv-blog-loop .post-thumbnail .date-time { right: 8px; }
  .evm-theme .mec-container { padding-block: 32px; }
  .evm-theme .mec-container > h1 { font-size: 34px; }
  .evm-theme .mec-event-list-standard .mec-event-content { padding: 24px 20px; }
  .evm-theme .mec-event-grid-minimal .mec-event-article { display: block; padding: 22px; }
  .evm-theme .mec-event-grid-minimal .mec-event-date { display: inline-flex; align-items: center; gap: 10px; width: auto; padding: 10px 14px; margin-bottom: 20px; }
  .evm-theme .mec-event-grid-minimal .mec-event-date span { font-size: 24px; }
  .evm-theme .mec-event-grid-minimal .event-detail-wrap { width: 100%; padding: 0; }
  .evm-theme .mec-event-grid-minimal .mec-event-title { font-size: 21px; }
  .evm-theme .mec-totalcal-box { padding: 12px; }
  .evm-theme .mec-totalcal-view { display: flex; flex-wrap: wrap; gap: 4px; }
  .evm-theme .mec-totalcal-view span { flex: 1; }
  .evm-theme.evm-contacts .entry-content .vc_col-sm-4 { padding: 0; }
  .evm-theme.evm-contacts .entry-content .vc_col-sm-4 > .vc_column-inner { padding: 24px; }
  .evm-theme .contact-info-wrap .info span:first-child { font-size: 20px; }
  .evm-original-copyright { max-width: 100%; }
}
.evm-theme .entry-content h2 a, .evm-theme .entry-content h3 a { text-decoration: none !important; }
@media(min-width:1101px) { .evm-parishes .evm-page-contents ul { grid-template-columns: repeat(4,minmax(0,1fr)); } }
/* Local Feather icons replace the legacy contact icon font. */
.evm-theme i.wp-svg-home-3, .evm-theme i.wp-svg-envelop, .evm-theme i.wp-svg-phone, .evm-theme i.wp-svg-user, .evm-theme i.wp-svg-clock, .evm-theme i.wp-svg-globe { display: inline-block; width: 18px; height: 18px; vertical-align: -.15em; margin-right: 5px; }
.evm-theme i.wp-svg-home-3 { --evm-contact-icon:url('../icons/home.svg'); }
.evm-theme i.wp-svg-envelop { --evm-contact-icon:url('../icons/mail.svg'); }
.evm-theme i.wp-svg-phone { --evm-contact-icon:url('../icons/phone.svg'); }
.evm-theme i.wp-svg-user { --evm-contact-icon:url('../icons/users.svg'); }
.evm-theme i.wp-svg-clock { --evm-contact-icon:url('../icons/clock.svg'); }
.evm-theme i.wp-svg-globe { --evm-contact-icon:url('../icons/globe.svg'); }
.evm-theme i.wp-svg-home-3::before, .evm-theme i.wp-svg-envelop::before, .evm-theme i.wp-svg-phone::before, .evm-theme i.wp-svg-user::before, .evm-theme i.wp-svg-clock::before, .evm-theme i.wp-svg-globe::before { content:'' !important; display:block; width:100%; height:100%; background:currentColor; -webkit-mask:var(--evm-contact-icon) center/contain no-repeat; mask:var(--evm-contact-icon) center/contain no-repeat; }
.evm-theme .evm-footer-widgets h3, .evm-theme .evm-footer-widgets h4, .evm-theme .evm-footer-widgets h3 span, .evm-theme .evm-footer-widgets h4 span { color: var(--evm-ink) !important; }
.evm-theme .evm-footer-widgets h3 { font-size: 22px; }
.evm-theme .evm-footer-widgets .widget .textwidget { font-size: 15px; }
@media (min-width: 768px) {
 .evm-theme.archive:not(.post-type-archive-mec-events) #main, .evm-theme.blog #main { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 40px 28px; }
 .evm-theme.archive:not(.post-type-archive-mec-events) #main > .navigation, .evm-theme.blog #main > .navigation { grid-column: 1/-1; }
 .evm-theme.archive .gv-blog-loop, .evm-theme.blog .gv-blog-loop { margin: 0; padding-bottom: 28px; }
 .evm-theme.archive .gv-blog-loop .entry-title, .evm-theme.blog .gv-blog-loop .entry-title { font-size: 25px; }
 .evm-theme.archive .gv-blog-loop .post-thumbnail img, .evm-theme.blog .gv-blog-loop .post-thumbnail img { height: 230px; object-fit: contain; }
 .evm-theme.archive .gv-blog-loop .entry-content, .evm-theme.blog .gv-blog-loop .entry-content { font-size: 15px; }
}
.evm-theme .gv-blog-single .entry-title { font: 400 clamp(30px,3.2vw,46px)/1.3 var(--evm-serif); margin: 32px 0 24px; }
.evm-theme .gv-blog-single .post-thumbnail img { width: 100%; height: auto; }
.evm-theme .gv-blog-single .entry-meta { font-size: 14px; margin-bottom: 32px; }
.evm-theme .gv-blog-single .entry-content > p { max-width: var(--evm-reading); }
.evm-page-contents summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; list-style: none; }
.evm-page-contents summary::-webkit-details-marker { display: none; }
.evm-page-contents summary::after { content: ''; width: 20px; height: 20px; flex: 0 0 20px; background: url('../icons/chevron-down.svg') center/contain no-repeat; }
.evm-page-contents[open] summary::after { transform: rotate(180deg); }
.evm-theme .mec-wrap h1, .evm-theme .mec-wrap h2, .evm-theme .mec-wrap h3, .evm-theme .mec-wrap h4, .evm-theme .mec-single-title { font-family: var(--evm-serif) !important; }
.evm-theme .mec-wrap .mec-totalcal-view span.mec-totalcalview-selected { background-color: var(--evm-red) !important; }
.evm-theme .mec-wrap .mec-month-divider span::before { border-bottom-color: var(--evm-red) !important; }
.evm-theme .mec-wrap .mec-month-divider span::after { background-color: var(--evm-red) !important; }
.evm-theme .mec-wrap .mec-event-meta i, .evm-theme .mec-wrap .mec-event-meta [class*="mec-"]::before { color: var(--evm-red) !important; }
.evm-theme .mec-single-event .mec-single-title { font-size: clamp(28px,3vw,42px); line-height: 1.3; margin: 0 0 28px; }
.evm-theme .mec-single-event .mec-events-event-image img { width: 100%; max-height: 740px; object-fit: contain; background: var(--evm-paper); }
.evm-theme .mec-single-event .mec-event-meta dd, .evm-theme .mec-single-event .mec-event-meta abbr { font: 400 15px/1.7 var(--evm-sans); color: var(--evm-ink); }
.evm-theme .mec-box-title::before, .evm-theme .mec-event-social h3::before { border-color: var(--evm-red) !important; }
.evm-theme .mec-single-event .mec-sl-calendar { --evm-contact-icon:url('../icons/calendar.svg'); }
.evm-theme .mec-single-event .mec-sl-clock { --evm-contact-icon:url('../icons/clock.svg'); }
.evm-theme .mec-single-event .mec-sl-location-pin { --evm-contact-icon:url('../icons/map-pin.svg'); }
.evm-theme .mec-single-event .mec-sl-home { --evm-contact-icon:url('../icons/home.svg'); }
.evm-theme .mec-single-event .mec-sl-calendar::before, .evm-theme .mec-single-event .mec-sl-clock::before, .evm-theme .mec-single-event .mec-sl-location-pin::before, .evm-theme .mec-single-event .mec-sl-home::before { content:'' !important; display:inline-block; width:20px; height:20px; background:var(--evm-red); -webkit-mask:var(--evm-contact-icon) center/contain no-repeat; mask:var(--evm-contact-icon) center/contain no-repeat; }
.evm-theme .contact-info-wrap .ct-info { flex-direction: row; justify-content: flex-start; }
.evm-theme .contact-info-wrap .ct-info > .fa { flex: 0 0 34px; background: var(--evm-red); color: #fff; border-radius: 3px; }
.evm-theme.evm-contacts .cms-heading-inner { text-align: left !important; }
.evm-theme .entry-content, .evm-theme .mec-event-meta { overflow-wrap: anywhere; }
@media(min-width:1101px) {
 .evm-menu > li:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
 .evm-menu > li > .sub-menu { max-height: min(70vh,640px); overflow-y: auto; }
}
