/* v5.50: keep v5.49 spacing, add a front-page style ad between shortcuts and archive content. */
.o112-v549-main>.o112-v550-directory-ad{display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;margin:0 0 28px!important;padding:0!important;clear:both!important}
.o112-v550-directory-ad>.o112-direct-ad{width:100%!important;max-width:100%!important;margin:0!important;padding:12px!important;border-radius:14px!important;background:#0d2330!important;border:1px solid #284554!important}
.o112-v550-directory-ad .o112-direct-ad-creative,.o112-v550-directory-ad .o112-direct-ad-option,.o112-v550-directory-ad .o112-direct-ad-option>a{max-width:100%!important;width:100%!important;min-width:0!important}
.o112-v550-directory-ad .o112-direct-ad-option :is(img,video){max-width:100%!important;width:100%!important;object-fit:contain!important;max-height:260px!important}
@media(max-width:620px){.o112-v549-main>.o112-v550-directory-ad{margin-bottom:20px!important}.o112-v550-directory-ad>.o112-direct-ad{padding:9px!important}}

/* v5.51: no 260px cap on directory videos; intrinsic 16:9 player fills slot. */
.o112-v550-directory-ad .o112-direct-ad-option-video video{width:100%!important;max-width:100%!important;max-height:none!important;height:auto!important;aspect-ratio:16/9!important;object-fit:contain!important;display:block!important}

/* v5.54: 16:9 image creatives on archive and brigade pages should use the same canvas as videos. */
.o112-v550-directory-ad .o112-direct-ad-option-169 img{width:100%!important;max-width:100%!important;max-height:none!important;height:auto!important;aspect-ratio:16/9!important;object-fit:contain!important;display:block!important;background:#0b1420!important}

/* v6.36 — Beredskaber directory: existing brigade ad replaces map graphic.
   Confined to the directory CTA and does not change purchased placements. */
.o112-v549-content .o112-seo-mapcta__ad{
  display:flex;align-items:center;justify-content:center;min-width:0;
  padding:12px;overflow:hidden;border-left:1px solid rgba(125,216,244,.10);
  background:linear-gradient(160deg,#07141d,#0b2430);box-sizing:border-box;
}
.o112-v549-content .o112-seo-mapcta__ad > .o112-direct-ad{
  width:100%;min-width:0;max-width:100%;margin:0;padding:0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
}
.o112-v549-content .o112-seo-mapcta__ad .o112-direct-ad-label{margin-bottom:5px}
.o112-v549-content .o112-seo-mapcta__ad :is(.o112-direct-ad-creative,.o112-direct-ad-option,.o112-direct-ad-option>a){
  width:100%;min-width:0;max-width:100%;
}
.o112-v549-content .o112-seo-mapcta__ad .o112-direct-ad-option :is(img,video){
  display:block;width:100%;max-width:100%;height:auto;max-height:200px;
  aspect-ratio:16/9;object-fit:contain;border-radius:8px;background:#081720;
}
.o112-v549-content .o112-seo-mapcta__ad .o112-direct-ad-copy{
  display:flex;align-items:center;gap:5px 10px;flex-wrap:wrap;margin-top:6px;
  font-size:11px;line-height:1.45;overflow-wrap:anywhere;
}
.o112-v549-content .o112-seo-mapcta__ad .o112-direct-ad-copy strong{font-size:11px}
@media(max-width:850px){
 .o112-v549-content .o112-seo-mapcta__ad{border-left:0;border-top:1px solid rgba(125,216,244,.10);padding:10px}
 .o112-v549-content .o112-seo-mapcta__ad .o112-direct-ad-option :is(img,video){max-height:185px}
}

/* v6.43: compact archive-only cards between groups of ten incidents. */
.o112-v549-content .o112-history-list > .o112-v643-archive-ad{grid-column:1/-1;min-width:0;width:100%;display:flex;justify-content:center;align-items:center;margin:0;padding:0;box-sizing:border-box}
.o112-v643-archive-ad > .o112-direct-ad[data-o112-ad-slot="archive"]{width:100%!important;max-width:320px!important;min-width:0!important;margin:0 auto!important;padding:8px!important;box-sizing:border-box!important}
.o112-v643-archive-ad .o112-direct-ad[data-o112-ad-slot="archive"] .o112-direct-ad-option :is(img,video){display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:170px!important;object-fit:contain!important;aspect-ratio:auto!important}
.o112-v643-archive-ad .o112-direct-ad-copy{font-size:11px;gap:4px 8px;overflow-wrap:anywhere}
.o112-v643-archive-ad .o112-direct-ad-copy strong{font-size:12px}
@media(max-width:620px){.o112-v643-archive-ad > .o112-direct-ad[data-o112-ad-slot="archive"]{max-width:280px!important}.o112-v643-archive-ad .o112-direct-ad[data-o112-ad-slot="archive"] .o112-direct-ad-option :is(img,video){max-height:145px!important}}
