/* Eifel News & Events — neutral, encapsulated theme. */
.eun-root, .eun-root *, .eun-overlay, .eun-overlay * { box-sizing: border-box; }
.eun-root {
  --eun-ink: #192331;
  --eun-subtle: #64748b;
  --eun-line: #e3e9ef;
  --eun-paper: #fff;
  --eun-accent: #334155;
  color: var(--eun-ink);
  width: 100%;
  isolation: isolate;
  font-family: inherit;
}
.eun-root button, .eun-overlay button { font: inherit; cursor: pointer; }
.eun-root button:focus-visible, .eun-overlay button:focus-visible { outline: 3px solid var(--eun-accent, #334155); outline-offset: 3px; }
.eun-root [hidden], .eun-overlay[hidden], .eun-root [data-eun-pager][hidden], .eun-root [data-eun-empty][hidden] { display: none !important; }
.eun-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 0 0 29px; }
.eun-heading__text { min-width: 0; }
.eun-heading__title { padding: 0; margin: 0 0 9px; color: var(--eun-heading-color, var(--eun-ink)); font: inherit; font-weight: 800; font-size: clamp(24px, 3vw, 36px); line-height: 1.2; letter-spacing: -.035em; overflow-wrap: anywhere; }
.eun-heading__subtitle { margin: 0; font-size: clamp(14px, 1.45vw, 16px); line-height: 1.65; color: var(--eun-heading-color, var(--eun-ink)); opacity: .72; }
.eun-filters { display: flex; flex-wrap: wrap; gap: 5px; padding: 5px; background: #f1f4f7; border: 1px solid #e8edf2; border-radius: 999px; max-width: 100%; }
.eun-filters__item { border: 0 !important; border-radius: 999px !important; background: transparent !important; color: #536275 !important; font-weight: 700 !important; font-size: 13px !important; line-height: 1.25 !important; padding: 11px 17px !important; box-shadow: none !important; transition: color .22s, background .22s, box-shadow .22s; white-space: nowrap; }
.eun-filters__item:hover { color: #1e293b !important; background: #e3e8ee !important; }
.eun-filters__item.is-active { color: #17212f !important; background: #fff !important; box-shadow: 0 1px 6px rgb(20 36 53 / 10%) !important; }
.eun-grid { display: grid; grid-template-columns: repeat(var(--eun-columns, 3), minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.eun-card { min-width: 0; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 18px; border: 1px solid var(--eun-line); background: var(--eun-paper); box-shadow: 0 7px 23px rgb(20 34 50 / 4%); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.eun-card:hover { transform: translateY(-4px); box-shadow: 0 15px 38px rgb(20 34 50 / 11%); border-color: #d8e0e7; }
.eun-card__media { aspect-ratio: 16 / 9; position: relative; overflow: hidden; background: #e9edf1; flex: 0 0 auto; }
.eun-card__image, .eun-modal__image { display: block !important; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform .5s ease; border-radius: 0 !important; }
.eun-card:hover .eun-card__image { transform: scale(1.035); }
.eun-card__media::after { content: ''; position: absolute; inset: 45% 0 0; pointer-events: none; background: linear-gradient(0deg, rgb(11 24 40 / 20%), transparent); }
.eun-card__placeholder { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; background: radial-gradient(circle at 75% 25%, #f7f9fb, transparent 45%), linear-gradient(145deg, #e9eff3, #d7e2e9); color: #64788b; }
.eun-card__placeholder svg { width: 72px; height: 72px; stroke-width: 1.2; opacity: .62; }
.eun-card__badge { position: absolute; z-index: 1; top: 16px; left: 16px; border: 1px solid rgb(255 255 255 / 60%); border-radius: 999px; background: rgb(255 255 255 / 94%); box-shadow: 0 3px 15px rgb(0 0 0 / 6%); color: #263343; padding: 8px 13px; font-size: 11px; font-weight: 800; line-height: 1.15; letter-spacing: .035em; text-transform: uppercase; max-width: calc(100% - 32px); overflow-wrap: anywhere; }
.eun-card__body { display: flex; flex: 1; flex-direction: column; gap: 0; padding: 23px 24px 22px; min-width: 0; }
.eun-card__meta, .eun-card__location { display: flex; align-items: flex-start; gap: 9px; color: var(--eun-subtle); font-size: 13px; line-height: 1.4; }
.eun-card__meta { margin-bottom: 12px; font-weight: 650; }
.eun-card__meta svg, .eun-card__location svg { width: 16px; height: 16px; flex: 0 0 16px; }
.eun-card__title { font: inherit; font-size: clamp(18px, 1.6vw, 21px); font-weight: 800; line-height: 1.32; letter-spacing: -.02em; color: var(--eun-ink); overflow-wrap: anywhere; margin: 0 0 10px !important; padding: 0; }
.eun-card__excerpt { margin: 0 0 17px; line-height: 1.65; font-size: 14px; color: #5b697a; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.eun-card__location { margin-bottom: 15px; overflow-wrap: anywhere; }
.eun-card__more { appearance: none; display: inline-flex; width: fit-content; max-width: 100%; align-items: center; gap: 9px; background: transparent !important; color: var(--eun-accent) !important; padding: 8px 0 1px !important; margin: auto 0 0 !important; border: none !important; border-bottom: 1px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; font-weight: 800 !important; font-size: 14px !important; text-align: left; line-height: 1.3; transition: gap .2s, border-color .2s; }
.eun-card__more:hover { gap: 14px; border-bottom-color: var(--eun-accent) !important; }
.eun-card__more span, .eun-card__more svg { display: inline-flex; align-items: center; }
.eun-card__more svg { width: 17px; height: 17px; }
.eun-empty { background: #f5f7f9; border: 1px solid #e7ebef; border-radius: 14px; padding: 24px; color: #516172; text-align: center; }
.eun-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; padding: 28px 0 0; }
.eun-pager__button { display: flex; align-items: center; gap: 9px; background: #fff !important; color: #2c3a49 !important; font-size: 13px !important; font-weight: 750 !important; border: 1px solid var(--eun-line) !important; border-radius: 999px !important; padding: 11px 17px !important; box-shadow: none !important; transition: background .2s, border-color .2s, transform .2s; }
.eun-pager__button:hover:not(:disabled) { background: #f2f6f9 !important; border-color: #b8c8d7 !important; transform: translateY(-1px); }
.eun-pager__button:disabled { opacity: .36; cursor: not-allowed; }
.eun-pager__button svg { width: 16px; height: 16px; }
.eun-pager__button[data-eun-prev] svg { transform: rotate(180deg); }
.eun-pager__status { color: #657488; font-size: 12px; font-weight: 700; white-space: nowrap; }
.eun-announcement { font-size: 13px; color: #566579; text-align: center; min-height: 0; }
.eun-announcement:not(:empty) { padding-top: 12px; }
.eun-grid.is-loading { opacity: .55; pointer-events: none; transition: opacity .15s; }
/* The popup is moved into <body> to escape Elementor containers and overflow clipping. */
.eun-overlay { --eun-accent: #334155; position: fixed; z-index: 2147483000; inset: 0; display: grid; place-items: center; padding: 5vh 16px; background: rgb(10 18 29 / 75%); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); animation: eun-fade .18s ease-out; font-family: inherit; color: #1d2938; }
.eun-overlay[hidden] { display: none !important; }
.eun-dialog { width: min(860px, 100%); max-width: 100%; max-height: 90vh; max-height: 90dvh; display: flex; flex-direction: column; position: relative; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 22px 80px rgb(0 0 0 / 30%); animation: eun-rise .24s ease-out; outline: none; }
.eun-dialog__scroll { overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; max-height: 90vh; max-height: 90dvh; scrollbar-width: thin; scrollbar-color: #a7b5c2 #f2f5f7; }
.eun-dialog__scroll::-webkit-scrollbar { width: 8px; }
.eun-dialog__scroll::-webkit-scrollbar-track { background: #f2f5f7; }
.eun-dialog__scroll::-webkit-scrollbar-thumb { background: #a7b5c2; border: 2px solid #f2f5f7; border-radius: 20px; }
.eun-dialog__close { position: absolute; right: 16px; top: 16px; z-index: 8; display: grid; place-items: center; padding: 0 !important; width: 42px; height: 42px; border: 1px solid rgb(200 210 218 / 75%) !important; border-radius: 50% !important; background: rgb(255 255 255 / 96%) !important; color: #273748 !important; box-shadow: 0 4px 16px rgb(0 0 0 / 14%) !important; transition: transform .2s, background .2s; }
.eun-dialog__close:hover { transform: rotate(90deg); background: white !important; }
.eun-dialog__close svg { width: 20px; height: 20px; }
.eun-modal__media { width: 100%; height: clamp(200px, 33vw, 360px); background: #ecf1f5; }
.eun-modal__main { padding: clamp(24px, 4vw, 44px); }
.eun-modal__badge { display: inline-block; background: #eef2f6; color: #3f5165; font-size: 11px; font-weight: 850; text-transform: uppercase; letter-spacing: .055em; border-radius: 100px; padding: 8px 13px; margin-bottom: 17px; }
.eun-modal__title { padding: 0; margin: 0 0 18px !important; font: inherit; font-size: clamp(26px, 4vw, 39px); line-height: 1.2; font-weight: 850; letter-spacing: -.035em; color: #172334; overflow-wrap: anywhere; }
.eun-modal__details { display: flex; flex-wrap: wrap; column-gap: 24px; row-gap: 12px; padding: 0 0 22px; border-bottom: 1px solid #e6ebef; margin-bottom: 23px; }
.eun-modal__details > div { display: inline-flex; align-items: flex-start; gap: 9px; color: #4b5f70; font-size: 14px; line-height: 1.45; }
.eun-modal__details svg { width: 17px; height: 17px; flex: 0 0 17px; }
.eun-modal__prose { color: #344355; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.eun-modal__prose > :first-child { margin-top: 0; }
.eun-modal__prose > :last-child { margin-bottom: 0; }
.eun-modal__prose p { margin: 0 0 17px; line-height: 1.8; }
.eun-modal__prose h2, .eun-modal__prose h3, .eun-modal__prose h4 { color: #1a2736; margin: 27px 0 12px; line-height: 1.3; font-weight: 800; }
.eun-modal__prose h2 { font-size: 23px; }
.eun-modal__prose h3 { font-size: 19px; }
.eun-modal__prose h4 { font-size: 16px; }
.eun-modal__prose ul, .eun-modal__prose ol { margin: 0 0 18px 21px; padding: 0; }
.eun-modal__prose li { margin-bottom: 6px; }
.eun-modal__prose a { color: var(--eun-accent) !important; text-decoration: underline; text-underline-offset: 3px; }
.eun-modal__prose img { max-width: 100%; height: auto; border-radius: 9px; }
.eun-modal__prose figure { max-width: 100%; margin: 20px 0; }
.eun-modal__prose iframe, .eun-modal__prose video { max-width: 100%; }
.eun-modal__prose blockquote { margin: 20px 0; padding: 12px 20px; border-left: 3px solid var(--eun-accent); background: #f6f8fa; }
.eun-modal__prose table { width: 100%; max-width: 100%; display: block; overflow-x: auto; border-collapse: collapse; }
.eun-modal__prose th, .eun-modal__prose td { border: 1px solid #e1e6ec; padding: 10px; }
/* Optional per-entry call-to-action; deliberately independent from Elementor button styles. */
.eun-modal__actions { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e6ebef; display: flex; align-items: center; }
.eun-modal__cta, .eun-modal__cta:visited { display: inline-flex !important; max-width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 13px; padding: 14px 21px !important; background: #172334 !important; border: 1px solid #172334 !important; border-radius: 11px !important; box-shadow: 0 5px 18px rgb(23 35 52 / 12%) !important; color: #fff !important; text-decoration: none !important; text-align: center; font-size: 14px !important; font-weight: 800 !important; line-height: 1.3 !important; overflow-wrap: anywhere; transition: background .2s, transform .2s, box-shadow .2s; }
.eun-modal__cta:hover { background: #273a53 !important; color: #fff !important; transform: translateY(-2px); box-shadow: 0 9px 24px rgb(23 35 52 / 18%) !important; }
.eun-modal__cta:focus-visible { outline: 3px solid var(--eun-accent, #334155) !important; outline-offset: 3px; }
.eun-modal__cta svg { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.eun-modal__cta .screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

body.eun-modal-open { overflow: hidden !important; }
@keyframes eun-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes eun-rise { from { opacity: .7; transform: translateY(8px) scale(.988); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 900px) {
  .eun-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .eun-grid { grid-template-columns: repeat(var(--eun-tablet-columns, 2), minmax(0, 1fr)); gap: 18px; }
  .eun-card__body { padding: 20px 20px 21px; }
}
@media (max-width: 560px) {
  .eun-heading { margin-bottom: 21px; }
  .eun-heading__title { font-size: 26px; }
  .eun-filters { width: 100%; justify-content: stretch; }
  .eun-filters__item { flex: 1; padding: 11px 8px !important; font-size: 12px !important; }
  .eun-grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
  .eun-card { border-radius: 15px; }
  .eun-card__body { padding: 20px; }
  .eun-card__title { font-size: 21px; }
  .eun-pager { gap: 9px; }
  .eun-pager__button { padding: 10px 13px !important; }
  .eun-pager__status { width: 100%; text-align: center; order: -1; }
  .eun-overlay { padding: 5dvh 10px; backdrop-filter: blur(3px); }
  .eun-dialog { border-radius: 15px; }
  .eun-dialog__close { top: 12px; right: 12px; width: 39px; height: 39px; }
  .eun-modal__media { height: 200px; }
  .eun-modal__main { padding: 23px 20px 27px; }
  .eun-modal__title { font-size: 27px; }
  .eun-modal__prose { font-size: 14px; }
  .eun-modal__cta { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .eun-root *, .eun-overlay, .eun-overlay * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* v1.0.2 — site-specific typography and complete, configurable color system. */
.eun-root {
  font-family: var(--eun-font-body, inherit);
  color: var(--eun-text, #4b5a6a);
}
.eun-root .eun-heading__title,
.eun-root .eun-card__title,
.eun-overlay .eun-modal__title,
.eun-overlay .eun-modal__prose h2,
.eun-overlay .eun-modal__prose h3,
.eun-overlay .eun-modal__prose h4 {
  font-family: var(--eun-font-headings, inherit) !important;
}
.eun-root .eun-heading__title { color: var(--eun-heading-color, #192331); }
.eun-root .eun-heading__subtitle { color: var(--eun-subheading-color, #526174); opacity: 1; }
.eun-root .eun-card__title { color: var(--eun-ink, #192331); }
.eun-root .eun-card__excerpt { color: var(--eun-text, #4b5a6a); }
.eun-root .eun-card__meta,
.eun-root .eun-card__location { color: var(--eun-subtle, #64748b); }
.eun-root .eun-card__more { font-family: var(--eun-font-body, inherit) !important; }
.eun-overlay { font-family: var(--eun-font-body, inherit); color: var(--eun-text, #4b5a6a); }
.eun-overlay .eun-modal__title,
.eun-overlay .eun-modal__prose h2,
.eun-overlay .eun-modal__prose h3,
.eun-overlay .eun-modal__prose h4 { color: var(--eun-ink, #192331); }
.eun-overlay .eun-modal__prose,
.eun-overlay .eun-modal__prose p { color: var(--eun-text, #4b5a6a); }
.eun-overlay .eun-modal__details > div { color: var(--eun-subtle, #64748b); }

/* Revised top-right filters: three distinct elegant rounded buttons instead of a gray capsule. */
.eun-root .eun-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  align-items: center;
  justify-content: flex-end;
}
.eun-root .eun-filters__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  border: 1px solid #dce4ec !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: var(--eun-text, #36475a) !important;
  box-shadow: 0 3px 10px rgb(18 39 58 / 5%) !important;
  padding: 10px 17px !important;
  font-family: var(--eun-font-body, inherit) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}
.eun-root .eun-filters__item:hover:not(:disabled):not(.is-active) {
  background: #f8fafc !important;
  color: #192331 !important;
  border-color: var(--eun-accent, #334155) !important;
  box-shadow: 0 5px 15px rgb(18 39 58 / 9%) !important;
  transform: translateY(-2px);
}
.eun-root .eun-filters__item.is-active,
.eun-root .eun-filters__item.is-active:hover {
  color: var(--eun-filter-selected-text, #fff) !important;
  background: var(--eun-filter-selected, #192331) !important;
  border-color: var(--eun-filter-selected, #192331) !important;
  box-shadow: 0 6px 17px rgb(18 39 58 / 16%) !important;
  transform: none;
}
.eun-root .eun-filters__item:disabled { opacity: .55; cursor: progress; }
.eun-root .eun-filters__item:focus-visible {
  outline: 3px solid var(--eun-accent, #334155) !important;
  outline-offset: 3px;
}

/* Optional ticket-shop action: dedicated colors, visible hover, strong Elementor isolation. */
.eun-overlay .eun-modal__cta,
.eun-overlay .eun-modal__cta:visited {
  background: var(--eun-cta-bg, #192331) !important;
  border-color: var(--eun-cta-bg, #192331) !important;
  color: var(--eun-cta-text, #ffffff) !important;
  font-family: var(--eun-font-body, inherit) !important;
}
.eun-overlay .eun-modal__cta:hover {
  background: var(--eun-cta-bg, #192331) !important;
  border-color: var(--eun-cta-bg, #192331) !important;
  color: var(--eun-cta-text, #ffffff) !important;
  filter: brightness(.9);
}
@media (max-width: 560px) {
  .eun-root .eun-filters {
    justify-content: flex-start;
    width: 100%;
    gap: 7px;
  }
  .eun-root .eun-filters__item {
    flex: 1 1 0;
    padding: 10px 9px !important;
    font-size: 12px !important;
    min-height: 43px;
    border-radius: 10px !important;
  }
}

/* Uniform close control, independent of the site button presets. */
.eun-overlay .eun-dialog__close {
  width: 43px;
  height: 43px;
  border-radius: 12px !important;
  background: rgb(255 255 255 / 97%) !important;
  color: #243247 !important;
  border: 1px solid rgb(213 222 230 / 95%) !important;
  box-shadow: 0 6px 22px rgb(14 25 40 / 16%) !important;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.eun-overlay .eun-dialog__close:hover {
  transform: translateY(-2px);
  background: #fff !important;
  box-shadow: 0 10px 26px rgb(14 25 40 / 22%) !important;
}
.eun-overlay .eun-dialog__close:focus-visible {
  outline: 3px solid var(--eun-accent, #334155) !important;
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .eun-overlay .eun-dialog__close { width: 40px; height: 40px; border-radius: 11px !important; }
}
