/* ============================================================================
   EJENDOMSPORTAL - styling (1:1 efter designudkast)
   Temaet styres via CSS-variabler - juster frit til kundens brand.
   ========================================================================== */
.ep, .ep * { box-sizing: border-box; }
.ep [hidden], .ep[hidden] { display: none !important; }

.ep {
  --ep-navy: #28367d;
  --ep-navy-dark: #202b66;
  --ep-navy-deep: #182050;
  --ep-green: #9bc46f;
  --ep-green-dark: #7da653;
  --ep-ink: #1c2433;
  --ep-body: #4a5568;
  --ep-muted: #718096;
  --ep-line: #e2e6ee;
  --ep-bg: #f5f6fa;
  --ep-card-bg: #ffffff;
  --ep-radius: 6px;
  --ep-shadow: 0 2px 10px rgba(24, 32, 80, .08);
  --ep-shadow-lg: 0 10px 30px rgba(24, 32, 80, .14);
  --ep-font: inherit;

  font-family: var(--ep-font);
  color: var(--ep-body);
  line-height: 1.6;
  font-size: 16px;
}

.ep h1, .ep h2, .ep h3, .ep h4 { color: var(--ep-ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
.ep p { margin: 0 0 1em; }
.ep a { color: var(--ep-navy); text-decoration: none; }
.ep img { max-width: 100%; display: block; }

.ep-container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.ep-ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.12em; flex: none; }

/* ---------- lightbox ---------- */
html.ep-noscroll, html.ep-noscroll body { overflow: hidden !important; }
.ep-lightbox {
  position: fixed; inset: 0; z-index: 999999; display: none;
  align-items: center; justify-content: center;
  background: rgba(16, 21, 44, .93);
}
.ep-lightbox.is-open { display: flex; }
.ep-lightbox__img {
  max-width: 90vw; max-height: 88vh; width: auto; height: auto;
  object-fit: contain; display: block; margin: 0;
  border-radius: 4px; box-shadow: 0 20px 80px rgba(0, 0, 0, .5);
}
.ep-lightbox__close {
  position: absolute; top: 18px; right: 22px; width: 46px; height: 46px;
  border: none; border-radius: 50%; background: rgba(255, 255, 255, .12);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer; padding: 0;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.ep-lightbox__close:hover { background: rgba(255, 255, 255, .28); }
.ep-lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border: none; border-radius: 50%; padding: 0;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 34px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s;
}
.ep-lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.ep-lightbox__nav--prev { left: max(16px, 2vw); }
.ep-lightbox__nav--next { right: max(16px, 2vw); }
.ep-lightbox__counter {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .85); font-size: 14px;
  background: rgba(255, 255, 255, .1); padding: 5px 14px; border-radius: 20px;
}
@media (max-width: 640px) {
  .ep-lightbox__nav { width: 42px; height: 42px; font-size: 26px; }
  .ep-lightbox__img { max-width: 96vw; }
}

/* ---------- kicker / labels ---------- */
.ep-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ep-navy); margin: 0 0 8px;
}
.ep-kicker--light { color: var(--ep-green); }
.ep-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ep-muted); margin-bottom: 2px;
}

/* ---------- knapper ---------- */
.ep-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--ep-radius); border: 1px solid transparent;
  font-size: 15px; font-weight: 600; cursor: pointer; transition: all .15s ease;
  text-decoration: none; line-height: 1.2;
}
.ep .ep-btn--primary, .ep-btn--primary { background: var(--ep-navy); color: #fff; }
.ep .ep-btn--primary:hover, .ep-btn--primary:hover { background: var(--ep-navy-dark); color: #fff; }
.ep .ep-btn--green, .ep-btn--green { background: var(--ep-green); color: var(--ep-navy-deep); }
.ep .ep-btn--green:hover, .ep-btn--green:hover { background: var(--ep-green-dark); color: #fff; }
.ep .ep-btn--outline, .ep-btn--outline { background: #fff; color: var(--ep-navy); border-color: var(--ep-navy); }
.ep .ep-btn--outline:hover, .ep-btn--outline:hover { background: var(--ep-navy); color: #fff; }
.ep .ep-btn--ghost, .ep-btn--ghost { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.ep .ep-btn--ghost:hover, .ep-btn--ghost:hover { background: rgba(255,255,255,.18); color: #fff; }
.ep-btn--block { display: flex; width: 100%; margin-bottom: 10px; }

/* ---------- badges & chips ---------- */
.ep-badge {
  display: inline-block; padding: 4px 10px; border-radius: 3px;
  background: var(--ep-navy); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.ep-badge--featured { background: var(--ep-green); color: var(--ep-navy-deep); }
.ep-chip {
  display: inline-block; padding: 4px 10px; border-radius: 3px;
  background: var(--ep-bg); border: 1px solid var(--ep-line);
  color: var(--ep-body); font-size: 12px; font-weight: 500;
}

/* ---------- listing (shortcode) ---------- */
.ep-listing__head { text-align: center; max-width: 640px; margin: 0 auto 28px; }
.ep-listing__count { font-size: 34px; }
.ep-listing__sub { color: var(--ep-body); }

/* ---------- filterbar ---------- */
.ep-filterbar {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
  background: var(--ep-card-bg); border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius); box-shadow: var(--ep-shadow);
  padding: 14px 16px; margin-bottom: 28px;
}
.ep-filterbar__search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; color: var(--ep-muted); }
.ep-filterbar__search input {
  flex: 1; border: 1px solid var(--ep-line); border-radius: var(--ep-radius);
  padding: 10px 12px; font-size: 14px; min-width: 0;
}
.ep-filterbar__types { display: flex; flex-wrap: wrap; gap: 6px; }
.ep-typebtn {
  padding: 9px 16px; border: 1px solid var(--ep-line); border-radius: var(--ep-radius);
  background: #fff; color: var(--ep-ink); font-size: 14px; font-weight: 600; cursor: pointer;
  transition: all .15s ease;
}
.ep-typebtn:hover { border-color: var(--ep-navy); }
.ep-typebtn.is-active { background: var(--ep-navy); border-color: var(--ep-navy); color: #fff; }
.ep-filterbar__size { display: flex; align-items: center; gap: 8px; color: var(--ep-muted); }
.ep-filterbar__size input {
  width: 90px; border: 1px solid var(--ep-line); border-radius: var(--ep-radius);
  padding: 10px 12px; font-size: 14px;
}

/* ---------- grid & kort ---------- */
.ep-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ep-grid--2 { grid-template-columns: repeat(2, 1fr); }
.ep-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .ep-grid, .ep-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ep-grid, .ep-grid--2, .ep-grid--3 { grid-template-columns: 1fr; } }

.ep-card {
  background: var(--ep-card-bg); border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius); overflow: hidden; box-shadow: var(--ep-shadow);
  display: flex; flex-direction: column; transition: box-shadow .15s ease, transform .15s ease;
}
.ep-card:hover { box-shadow: var(--ep-shadow-lg); transform: translateY(-2px); }
/* Fast 16:10-format - billedet beskæres fra centrum og kan aldrig ændre kortets højde */
.ep .ep-card__media {
  position: relative; display: block; height: 0; padding-bottom: 62.5%;
  background: var(--ep-bg); overflow: hidden;
}
.ep .ep-card__media img {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
  display: block; margin: 0;
}
.ep .ep-card__placeholder {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: block;
  background: linear-gradient(135deg, var(--ep-navy) 0%, var(--ep-navy-dark) 100%);
  opacity: .12;
}
.ep-card__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 4px; z-index: 1; }
.ep-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.ep-card__address { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ep-muted); margin-bottom: 4px; }
.ep-card__title { font-size: 18px; margin: 0 0 6px; }
.ep-card__title a { color: var(--ep-ink); }
.ep-card__title a:hover { color: var(--ep-navy); }
.ep-card__area { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ep-body); margin-bottom: 10px; }
.ep-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.ep-card__footer {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ep-line);
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px;
}
.ep-card__price { display: block; font-size: 20px; font-weight: 800; color: var(--ep-navy); line-height: 1.1; white-space: nowrap; }
.ep-card__pricenote { display: block; font-size: 11px; color: var(--ep-muted); white-space: nowrap; }
.ep-card__cta { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.ep-card__cta:hover { color: var(--ep-navy-dark); }

.ep-empty { text-align: center; color: var(--ep-muted); padding: 30px 0; }

/* ---------- kategoribånd (shortcode) ---------- */
.ep-catband {
  margin-top: 36px; background: var(--ep-navy); border-radius: var(--ep-radius);
  padding: 28px 32px; display: flex; flex-wrap: wrap; gap: 20px;
  align-items: center; justify-content: space-between;
}
.ep-catband h3 { color: #fff; margin: 0 0 4px; }
.ep-catband p { color: rgba(255,255,255,.75); margin: 0; font-size: 14px; }
.ep-catband__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- kategoriside ---------- */
.ep-page { background: var(--ep-bg); padding-bottom: 60px; }
.ep-hero { background: linear-gradient(150deg, var(--ep-navy) 0%, var(--ep-navy-deep) 100%); color: #fff; padding: 36px 0 0; }
.ep-hero h1 { color: #fff; font-size: 40px; margin-bottom: 8px; }
.ep-hero__sub { color: rgba(255,255,255,.82); max-width: 640px; }
.ep-breadcrumb { font-size: 13px; margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.ep-hero .ep-breadcrumb a { color: rgba(255,255,255,.7); }
.ep-hero .ep-breadcrumb span[aria-current] { color: #fff; }
.ep-breadcrumb--dark { padding-top: 24px; }
.ep-breadcrumb--dark a { color: var(--ep-muted); }
.ep-breadcrumb--dark span[aria-current] { color: var(--ep-ink); font-weight: 600; }

.ep-statbar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin: 28px 0 0; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.15);
}
.ep-statbar div { text-align: center; }
.ep-statbar dt { font-size: 26px; font-weight: 800; color: #fff; }
.ep-statbar dt sup, .ep-statbar dt small { color: var(--ep-green); }
.ep-statbar dd {
  margin: 2px 0 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.65);
}
@media (max-width: 640px) { .ep-statbar { grid-template-columns: repeat(2, 1fr); } .ep-hero h1 { font-size: 30px; } }

.ep-layout { display: grid; grid-template-columns: 300px 1fr; gap: 28px; padding-top: 32px; }
@media (max-width: 980px) { .ep-layout { grid-template-columns: 1fr; } }
.ep-sidebar { display: flex; flex-direction: column; gap: 18px; }

.ep-box {
  background: var(--ep-card-bg); border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius); box-shadow: var(--ep-shadow); padding: 22px;
}
.ep-box__title { font-size: 16px; margin-bottom: 10px; }
.ep-box p:last-child { margin-bottom: 0; }
.ep-box--dark { background: var(--ep-navy); border-color: var(--ep-navy); }
.ep-box--dark .ep-box__title { color: var(--ep-green); }
.ep-box--muted { background: #eef1f7; border-color: #e2e6ee; }

.ep-checklist { list-style: none; margin: 0; padding: 0; }
.ep-checklist li { position: relative; padding: 5px 0 5px 28px; font-size: 14px; }
.ep-checklist li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 17px; height: 17px;
  border-radius: 50%; border: 1.5px solid var(--ep-green);
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%237da653' stroke-width='3.4' d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E")
    center/11px no-repeat;
}
.ep-checklist--2col { columns: 2; column-gap: 28px; }
@media (max-width: 640px) { .ep-checklist--2col { columns: 1; } }

.ep-catlist { list-style: none; margin: 0; padding: 0; }
.ep-catlist li + li { border-top: 1px solid rgba(255,255,255,.12); }
.ep-catlist a { display: block; padding: 10px 2px; color: #fff; font-weight: 600; font-size: 14px; }
.ep-catlist a:hover { color: var(--ep-green); }

.ep-resultline { font-size: 14px; color: var(--ep-muted); margin: 0 0 16px; }

/* ---------- CTA-bånd ---------- */
.ep-ctaband { background: var(--ep-green); margin-top: 44px; }
.ep-ctaband__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 26px; padding-bottom: 26px; }
.ep-ctaband h2 { color: var(--ep-navy-deep); font-size: 22px; margin: 0; }
.ep-ctaband p { color: var(--ep-navy-dark); margin: 2px 0 0; font-size: 14px; }
.ep-ctaband .ep-btn--ghost { border-color: var(--ep-navy); color: var(--ep-navy-deep); background: transparent; }
.ep-ctaband .ep-btn--ghost:hover { background: rgba(24,32,80,.08); }
.ep-ctaband .ep-btn--green { background: var(--ep-navy); color: #fff; }
.ep-ctaband__actions { display: flex; gap: 10px; }

/* ---------- ejendomsside ---------- */
.ep-backlink { font-size: 14px; font-weight: 600; }
.ep-single { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: stretch; margin-top: 8px; }
@media (max-width: 980px) { .ep-single { grid-template-columns: 1fr; } }
.ep-single__main { min-width: 0; }

.ep .ep-gallery { margin: 0 0 20px; }
/* Fast 16:9-format på storbilledet - ens højde uanset originalens format */
.ep .ep-gallery__stage {
  position: relative; border-radius: var(--ep-radius); overflow: hidden;
  height: 0; padding-bottom: 56.25%; background: var(--ep-bg);
}
.ep .ep-gallery__stage img {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
  display: block; margin: 0;
}
.ep .ep-gallery__counter {
  position: absolute; right: 12px; bottom: 12px; background: rgba(24,32,80,.75);
  color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 3px;
}
.ep .ep-gallery__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; border: none; padding: 0; margin: 0;
  background: rgba(24,32,80,.6); color: #fff; font-size: 26px; line-height: 1;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s; z-index: 2;
}
.ep .ep-gallery__nav:hover { background: rgba(24,32,80,.9); color: #fff; }
.ep .ep-gallery__nav--prev { left: 12px; }
.ep .ep-gallery__nav--next { right: 12px; }
.ep .ep-gallery__thumbs {
  display: flex; gap: 10px; margin-top: 10px; flex-wrap: nowrap;
  overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.ep .ep-gallery__thumb {
  position: relative; flex: 0 0 92px; width: 92px; height: 58px; border-radius: 4px; overflow: hidden;
  padding: 0; margin: 0; border: 2px solid transparent; cursor: pointer;
  background: none; opacity: .7; transition: all .15s; display: block;
}
.ep .ep-gallery__thumb img {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
  display: block; margin: 0;
}
.ep .ep-gallery__thumb.is-active, .ep .ep-gallery__thumb:hover { border-color: var(--ep-navy); opacity: 1; }

.ep-keyfigures {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--ep-line); border: 1px solid var(--ep-line);
  border-radius: var(--ep-radius); overflow: hidden; margin-bottom: 18px;
}
.ep-keyfigures > div { background: #fff; padding: 16px 18px; }
.ep-keyfigures strong { font-size: 22px; color: var(--ep-navy); display: block; line-height: 1.2; }
.ep-keyfigures__docs { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; }
.ep-keyfigures__docs a {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 600; color: var(--ep-navy); line-height: 1.4;
}
.ep-keyfigures__docs a:hover { color: var(--ep-navy-dark); text-decoration: underline; }
@media (max-width: 640px) { .ep-keyfigures { grid-template-columns: 1fr; } }

.ep-single__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; }
.ep-single__title { font-size: 32px; margin-bottom: 6px; }
.ep-single__address { display: flex; align-items: center; gap: 6px; color: var(--ep-muted); font-size: 14px; margin-bottom: 22px; }
.ep-single__section { margin: 30px 0; }
.ep-single__section h2 { font-size: 22px; margin-bottom: 14px; }

.ep-infra { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 16px; }
@media (max-width: 640px) { .ep-infra { grid-template-columns: 1fr; } }
.ep-infra__item { background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius); padding: 16px 18px; }
.ep-infra__item h3 { font-size: 15px; margin-bottom: 4px; color: var(--ep-navy); }
.ep-infra__item p { font-size: 13px; color: var(--ep-muted); margin: 0; }

.ep-map { height: 320px; border-radius: var(--ep-radius); overflow: hidden; border: 1px solid var(--ep-line); background: #fff; }
.ep-map--empty { display: flex; align-items: center; justify-content: center; color: var(--ep-muted); }

.ep-docs { display: flex; flex-wrap: wrap; gap: 12px; }
.ep-doc {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius);
  color: var(--ep-ink); transition: all .15s;
}
.ep-doc:hover { border-color: var(--ep-navy); box-shadow: var(--ep-shadow); }
.ep-doc .ep-ico { width: 20px; height: 20px; color: var(--ep-navy); }
.ep-doc strong { display: block; font-size: 14px; }
.ep-doc small { color: var(--ep-muted); font-size: 12px; }

/* ---------- book-bånd + formular ---------- */
.ep-bookband {
  background: linear-gradient(150deg, var(--ep-navy) 0%, var(--ep-navy-deep) 100%);
  border-radius: var(--ep-radius); padding: 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 36px 0;
}
@media (max-width: 900px) { .ep-bookband { grid-template-columns: 1fr; } }
.ep-bookband__text h2 { color: #fff; font-size: 24px; }
.ep-bookband__text p { color: rgba(255,255,255,.8); font-size: 15px; }
.ep-bookband__sla {
  display: flex; flex-direction: column; gap: 2px; margin-top: 18px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--ep-radius); padding: 14px 16px;
}
.ep-bookband__sla strong { color: #fff; font-size: 14px; }
.ep-bookband__sla span { color: rgba(255,255,255,.7); font-size: 13px; }

.ep-leadform { background: #fff; border-radius: var(--ep-radius); padding: 26px; box-shadow: var(--ep-shadow-lg); }
.ep-leadform__title { font-size: 20px; }
.ep-leadform__title:empty { display: none; }
.ep-lead label { display: block; margin-bottom: 12px; }
.ep-lead label span {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ep-ink); margin-bottom: 5px;
}
.ep-lead label em { color: #c0392b; font-style: normal; }
.ep-lead input, .ep-lead textarea {
  width: 100%; border: 1px solid var(--ep-line); border-radius: var(--ep-radius);
  padding: 11px 12px; font-size: 14px; font-family: inherit;
}
.ep-lead input:focus, .ep-lead textarea:focus { outline: 2px solid var(--ep-navy); outline-offset: 0; }
.ep-lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .ep-lead__grid { grid-template-columns: 1fr; } }
.ep .ep-lead__submit {
  width: 100%; margin-top: 4px;
  border: none !important; outline: none; box-shadow: none !important;
}
.ep .ep-lead__submit:focus-visible { outline: 2px solid var(--ep-green); outline-offset: 2px; }
.ep-lead__note { font-size: 12px; color: var(--ep-muted); text-align: center; margin: 18px 0 0; }
.ep-lead__status { text-align: center; font-weight: 600; margin: 8px 0 0; }
.ep-lead__status.is-ok { color: var(--ep-green-dark); }
.ep-lead__status.is-error { color: #c0392b; }
.ep-hp { position: absolute !important; left: -9999px !important; height: 0; width: 0; opacity: 0; }

/* ---------- sticky kolonne (prisboks + kontaktperson) ---------- */
.ep { --ep-sticky-top: 20px; } /* afstand fra viewport-top når kolonnen er sticky - sæt op (fx 96px) hvis sitet får en fast/sticky header */
body.admin-bar .ep { --ep-sticky-top: 52px; } /* logget ind i WP: giv plads til admin-baren */
.ep-single__aside { min-width: 0; }
.ep .ep-stickycol {
  position: sticky; top: var(--ep-sticky-top);
  display: flex; flex-direction: column; gap: 18px;
}
@media (max-width: 980px) { .ep .ep-stickycol { position: static; } }
.ep-pricebox {
  background: #fff; border: 1px solid var(--ep-line); border-radius: var(--ep-radius);
  box-shadow: var(--ep-shadow-lg); padding: 24px;
}
.ep-pricebox__price { font-size: 32px; font-weight: 800; color: var(--ep-navy); margin: 0; line-height: 1.1; }
.ep-pricebox__monthly { color: var(--ep-muted); font-size: 14px; margin: 2px 0 16px; }
.ep-pricebox__facts { margin: 0 0 18px; border-top: 1px solid var(--ep-line); }
.ep-pricebox__facts div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 9px 0; border-bottom: 1px solid var(--ep-line); font-size: 14px;
}
.ep-pricebox__facts dt { color: var(--ep-muted); }
.ep-pricebox__facts dd { margin: 0; font-weight: 700; color: var(--ep-ink); }
.ep-status--ledig::before { content: "●"; color: var(--ep-green-dark); margin-right: 6px; }
.ep-status--reserveret::before { content: "●"; color: #e6a23c; margin-right: 6px; }
.ep-status--udlejet::before { content: "●"; color: #c0392b; margin-right: 6px; }

.ep-contactbox__person { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ep-contactbox__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ep-contactbox__initial {
  width: 48px; height: 48px; border-radius: 50%; background: var(--ep-navy);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px;
}
.ep-contactbox__person strong { display: block; color: var(--ep-ink); }
.ep-contactbox__person span { font-size: 13px; color: var(--ep-muted); }
.ep-contactbox__entry > a { display: block; font-size: 14px; padding: 4px 0; font-weight: 600; }
.ep-contactbox__entry--divided { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--ep-line); }

.ep-similar__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.ep-similar__head h2 { margin: 0; }
