/* 2.2: practical information first, within the selected Beseda in svetloba style. */
/* Keep the original contact lists readable in the child footer as well. */
.evm-theme .evm-footer-widgets .add-wrap > li { position: relative; padding-inline-start: 30px; }
.evm-theme .evm-footer-widgets .add-wrap > li > .fa { position: absolute; inset-inline-start: 0; top: 5px; width: 18px; padding: 0; margin: 0; line-height: inherit; text-align: center; color: var(--evm-red); }
/* The longer donation label needs more room on smaller desktop screens. */
@media (min-width:1101px) and (max-width:1350px) {
 .evm-theme .evm-menu { gap: 12px; }
 .evm-theme .evm-navigation { gap: 12px; }
 .evm-theme .evm-menu a { font-size: 16px; }
 .evm-theme .evm-support { max-width: 180px; padding-left: 14px; font-size: 16px; white-space: normal; }
}
/* Reuse the original church photograph beside the complete, original form. */
.evm-theme .evm-builder-content > .vc_section.evm-home-signup { padding: 56px max(24px,calc((100% - 1232px)/2)) !important; background: var(--evm-white) !important; }
.evm-theme .evm-home-signup > .evm-signup-grid { display: grid; grid-template-columns: minmax(0,.7fr) minmax(0,1.3fr); margin: 0; background: var(--evm-paper); border: 1px solid var(--evm-line); }
.evm-home-signup .evm-signup-grid::before, .evm-home-signup .evm-signup-grid::after, .evm-home-signup .wpc_parallax_bg { display: none; }
.evm-theme .evm-home-signup .evm-signup-grid > .vc_column_container { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
.evm-theme .evm-home-signup .evm-signup-grid > .vc_column_container > .vc_column-inner { width: 100%; padding: 0; }
.evm-home-signup .evm-signup-photo { background-image: var(--evm-signup-image); background-repeat: no-repeat; background-size: auto 100%; background-position: left center; border-right: 1px solid var(--evm-line); }
.evm-theme .evm-home-signup .evm-signup-grid > .evm-signup-content { padding: 44px; }
.evm-theme .evm-existing-home .evm-home-signup .cms-heading-inner { max-width: 100%; margin: 0; font-size: clamp(28px,2.8vw,40px) !important; line-height: 1.35 !important; text-transform: lowercase; word-break: normal; overflow-wrap: normal; hyphens: none; }
.evm-home-signup .cms-heading-inner::first-letter { text-transform: uppercase; }
.evm-home-signup .cms-heading-inner br { display: none; }
.evm-theme .evm-home-signup .cms-heading-inner b, .evm-theme .evm-home-signup .cms-heading-inner em { font-weight: inherit; font-style: normal; color: inherit; }
.evm-theme .evm-home-signup .cms-custom-heading { margin: 0 0 28px; padding: 20px 0 0; position: relative; }
.evm-home-signup .cms-custom-heading::before { content: ''; position: absolute; inset: 0 auto auto 0; width: 44px; height: 3px; background: var(--evm-red); }
.evm-theme .evm-home-signup .contact-wrap { margin: 0; text-align: left; }
.evm-theme .evm-home-signup .contact-wrap > div { float: none; width: 100%; padding: 0; margin: 0 0 16px; }
.evm-theme .evm-home-signup .contact-wrap > div:last-child { margin-bottom: 0; text-align: left; }
.evm-theme .evm-home-signup .wpcf7-form-control:not([type="hidden"]) { width: 100%; }
.evm-theme .evm-home-signup textarea { min-height: 140px; }
.evm-theme .evm-home-signup input[type="submit"] { float: none !important; width: auto !important; min-width: 130px; margin: 4px 0 0; }
.evm-theme .evm-home-signup .wpcf7-response-output { margin-inline: 0; }
@media (max-width:900px) {
 .evm-theme .evm-home-signup > .evm-signup-grid { grid-template-columns: minmax(0,.65fr) minmax(0,1.35fr); }
 .evm-theme .evm-home-signup .evm-signup-grid > .evm-signup-content { padding: 32px; }
}
@media (max-width:767px) {
 .evm-theme .evm-builder-content > .vc_section.evm-home-signup { padding: 32px 20px !important; }
 .evm-theme .evm-home-signup > .evm-signup-grid { grid-template-columns: minmax(0,1fr); }
 .evm-theme .evm-home-signup .evm-signup-grid > .evm-signup-content { order: -1; padding: 28px 22px; }
 .evm-theme .evm-existing-home .evm-home-signup .cms-heading-inner { font-size: 28px !important; }
 .evm-home-signup .evm-signup-photo { min-height: 220px; border-right: 0; border-top: 1px solid var(--evm-line); background-position: left bottom; }
}
.evm-theme .evm-page-heading { padding: 36px 0 12px; }
.evm-theme .evm-page-heading h1, .evm-theme.evm-parishes .evm-page-heading h1 { font-size: clamp(34px,4vw,56px); line-height: 1.2; }
.evm-theme:not(.evm-home) #primary { padding-top: 24px; }
.evm-theme .evm-builder-content > .vc_row { padding-block: 36px !important; }
.evm-theme .evm-existing-home .entry-content > .vc_row { padding-block: 56px !important; }
.evm-theme .evm-existing-home .entry-content > .evm-slider-row { padding: 0 !important; }
.evm-theme .evm-home-shortcuts { width: min(1232px,calc(100% - 96px)); margin: 0 auto; padding: 14px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-bottom: 1px solid var(--evm-line); }
.evm-home-shortcuts > a { display: flex; align-items: center; gap: 18px; padding: 18px 24px; min-width: 0; min-height: 86px; color: var(--evm-ink); border-right: 1px solid var(--evm-line); }
.evm-theme .evm-home-shortcuts > a { text-decoration: none !important; }
.evm-home-shortcuts > a:first-child { padding-left: 0; }
.evm-home-shortcuts > a:last-child { border: 0; padding-right: 0; }
.evm-home-shortcuts > a:hover { color: var(--evm-red); background: var(--evm-paper); }
.evm-home-shortcuts .evm-icon { width: 26px; height: 26px; }
.evm-home-shortcuts strong { display: block; font: 400 24px/1.35 var(--evm-serif); }
.evm-home-shortcuts small { display: block; margin-top: 4px; font-size: 14px; color: var(--evm-muted); }
.evm-home-shortcuts .evm-shortcut-arrow { margin-left: auto; width: 20px; height: 20px; }
.evm-theme .evm-existing-home .entry-content > .evm-home-agenda { padding-block: 40px 44px !important; }
.evm-theme .evm-home-agenda .cms-custom-heading { margin-bottom: 22px; padding-top: 18px; }
.evm-theme .evm-home-agenda .cms-heading-inner { font-size: clamp(30px,3.5vw,48px) !important; }
.evm-theme .evm-home-agenda .mec-event-article { padding-block: 26px; }
.evm-theme .evm-home-agenda .mec-event-grid-minimal .mec-event-title { font-size: 28px !important; margin-bottom: 10px; }
.evm-theme .evm-home-agenda .mec-event-date > span:first-child { font-size: 50px; }
.evm-theme .evm-existing-home .entry-content > .evm-home-news { padding-block: 44px 56px !important; background: var(--evm-paper) !important; }
.evm-theme .evm-existing-home .evm-home-news .cms-heading-inner { font-size: clamp(30px,3.2vw,44px) !important; }
/* Compact, consistent post previews; the article itself is untouched. */
.evm-theme .evm-news-navigation { display: flex; gap: 12px; padding-block: 8px 12px; }
.evm-news-navigation a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1px solid var(--evm-line); color: var(--evm-ink); }
.evm-news-navigation a[aria-current="page"] { background: var(--evm-red); border-color: var(--evm-red); color: #fff; }
.evm-theme .gv-blog-loop { display: flex; flex-direction: column; padding-bottom: 26px; }
.evm-theme .gv-blog-loop .post-thumbnail { margin: 0 0 18px; }
.evm-theme .gv-blog-loop .post-thumbnail img { height: 220px; max-height: 220px; object-fit: contain; background: var(--evm-paper); }
.evm-card-summary { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font: 400 13px/1.6 var(--evm-sans); color: var(--evm-muted); margin-bottom: 10px; }
.evm-card-summary span { color: var(--evm-red); }
.evm-theme .gv-blog-loop.evm-card-enhanced .date-time, .evm-theme .gv-blog-loop.evm-card-enhanced .entry-meta { display: none; }
.evm-theme .gv-blog-loop .entry-title, .evm-theme .cms-grid .gv-blog-loop .entry-title { font: 400 24px/1.35 var(--evm-serif) !important; margin: 0 0 14px; min-height: 2.7em; }
.evm-theme .gv-blog-loop .entry-content { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; max-height: 6.6em; margin: 0 0 20px; font-size: 16px; line-height: 1.65; }
.evm-theme .gv-blog-loop .entry-content p { font-size: inherit; line-height: 1.65; margin: 0; }
.evm-theme.archive .gv-blog-loop .entry-content, .evm-theme.blog .gv-blog-loop .entry-content { font-size: 16px; }
.evm-theme .gv-blog-loop .entry-footer, .evm-theme .gv-blog-loop > a.cms-button { margin-top: auto; }
.evm-theme .gv-blog-loop .entry-footer a, .evm-theme .gv-blog-loop a.cms-button { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 16px; border: 1px solid var(--evm-red); font: 500 14px/1.5 var(--evm-sans); background: transparent; color: var(--evm-red); text-decoration: none !important; }
.evm-theme .gv-blog-loop .entry-footer a:hover, .evm-theme .gv-blog-loop a.cms-button:hover { background: var(--evm-red); color: #fff; }
.evm-theme .widget_archive ul[hidden] { display: none !important; }
.evm-theme .widget_archive select { width: 100%; min-height: 50px; font-size: 15px; }
/* One labelled parish selector and task-first regions. */
.evm-theme .evm-parish-directory { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 16px 24px; margin: 0 0 24px; padding: 0 0 24px; border-bottom: 1px solid var(--evm-line); scroll-margin-top: 20px; }
.evm-parish-field { width: min(460px,100%); }
.evm-parish-field > label { display: block; margin: 0 0 8px; font-size: 16px; font-weight: 500; }
.evm-theme .evm-parish-select { display: block; width: 100%; min-height: 52px; font-size: 17px; padding-left: 16px; scroll-margin-top: 64px; }
.evm-theme .evm-parish-help { margin: 8px 0 0; font-size: 14px; color: var(--evm-muted); }
.evm-theme .evm-parish-all { align-self: flex-end; margin: 0; font-size: 14px; }
.evm-theme.evm-parishes .evm-parishes-enhanced > .evm-parish-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-areas: 'photo copy' 'description description'; gap: 36px 44px; padding: 0 0 36px !important; margin-bottom: 28px; }
.evm-parish-panel::before, .evm-parish-panel::after { display: none !important; }
.evm-theme .evm-parish-panel > .vc_column_container { width: 100%; float: none; }
.evm-theme .evm-parish-panel > .evm-parish-photo { grid-area: photo; }
.evm-theme .evm-parish-panel > .evm-parish-copy { grid-area: copy; }
.evm-theme .evm-parish-panel > .evm-parish-photo > .vc_column-inner, .evm-theme .evm-parish-panel > .evm-parish-copy > .vc_column-inner { padding: 0 !important; }
.evm-theme.evm-parishes .evm-parish-panel h3 { font-size: clamp(26px,2.6vw,34px); margin: 0 0 18px; }
.evm-theme.evm-parishes .evm-parish-panel h4 { margin: 0 0 10px; font: 400 21px/1.4 var(--evm-serif); }
.evm-parish-services { padding: 18px 22px; margin-bottom: 22px; background: var(--evm-paper); border-left: 3px solid var(--evm-red); }
.evm-parish-service-text { font-size: 16px; line-height: 1.7; }
.evm-parish-service-text i { display: none !important; }
.evm-theme.evm-parishes .evm-parish-contact p { margin: 0; padding: 0; font-size: 16px; line-height: 1.8; border: 0; background: transparent; }
.evm-parish-contact p > br:last-child { display: none; }
.evm-parish-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.evm-parish-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; min-width: 112px; padding: 9px 20px; border: 1px solid var(--evm-red); font-size: 15px; font-weight: 500; }
.evm-theme .evm-parish-actions a { text-decoration: none !important; }
.evm-parish-actions a:first-child { background: var(--evm-red); color: #fff; }
.evm-parish-actions a:hover { background: var(--evm-red-hover); border-color: var(--evm-red-hover); color: #fff; }
.evm-parish-description { grid-area: description; width: min(800px,100%); margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--evm-line); }
.evm-theme.evm-parishes .evm-parish-description p { margin: 0 0 16px; font-size: 18px; line-height: 1.8; }
.evm-theme .mec-single-event > .mec-single-title { font-size: clamp(30px,4vw,56px) !important; }
@media (max-width:1100px) {
 .evm-theme .evm-home-shortcuts { width: calc(100% - 64px); }
 .evm-home-shortcuts > a { gap: 12px; padding-inline: 16px; }
 .evm-home-shortcuts strong { font-size: 21px; }
 .evm-home-shortcuts small { font-size: 13px; }
 .evm-home-shortcuts .evm-shortcut-arrow { display: none; }
}
@media (max-width:767px) {
 .evm-theme .evm-page-heading { padding: 28px 0 12px; }
 .evm-theme .evm-page-heading h1, .evm-theme.evm-parishes .evm-page-heading h1 { font-size: 34px; }
 .evm-theme .evm-home-shortcuts { width: calc(100% - 48px); grid-template-columns: repeat(3,minmax(0,1fr)); padding-block: 8px; }
 .evm-home-shortcuts > a, .evm-home-shortcuts > a:first-child, .evm-home-shortcuts > a:last-child { flex-direction: column; align-items: center; justify-content: flex-start; text-align: center; gap: 8px; padding: 12px 6px; min-height: 100px; border: 0; border-right: 1px solid var(--evm-line); }
 .evm-home-shortcuts > a:last-child { border: 0; }
 .evm-home-shortcuts strong { font-size: 17px; line-height: 1.35; }
 .evm-home-shortcuts small, .evm-home-shortcuts .evm-shortcut-arrow { display: none; }
 .evm-theme .evm-existing-home .entry-content > .evm-home-agenda, .evm-theme .evm-existing-home .entry-content > .evm-home-news { padding-block: 32px !important; }
 .evm-theme .evm-home-agenda .mec-event-grid-minimal .mec-event-title { font-size: 20px !important; }
 .evm-theme .evm-home-agenda .mec-event-date > span:first-child { font-size: 36px; }
 .evm-theme .evm-news-navigation { padding-block: 4px 8px; }
 .evm-theme .gv-blog-loop .entry-title, .evm-theme .cms-grid .gv-blog-loop .entry-title { font-size: 23px !important; min-height: 0; }
 .evm-theme .gv-blog-loop .post-thumbnail img { height: 210px; }
 .evm-theme .evm-parish-directory { gap: 8px; padding-bottom: 20px; margin-bottom: 20px; }
 .evm-theme .evm-parish-all { margin-left: auto; }
 .evm-theme.evm-parishes .evm-parishes-enhanced > .evm-parish-panel { grid-template-columns: minmax(0,1fr); grid-template-areas: 'copy' 'photo' 'description'; gap: 24px; }
 .evm-theme.evm-parishes .evm-parish-panel h3 { font-size: 27px; }
 .evm-theme.evm-parishes .evm-parish-panel h4 { font-size: 20px; }
 .evm-parish-services { padding: 15px 18px; margin-bottom: 20px; }
 .evm-theme.evm-parishes .evm-parish-contact p, .evm-parish-service-text { font-size: 15px; }
 .evm-theme.evm-parishes .evm-parish-description p { font-size: 17px; }
}
