/* P-Media forsidebannere – isoleret slideshow uden eksterne biblioteker. */
.pmBannerBlock{
  width:100%;
  margin:4px 0 22px;
}
.pmBannerSlider{
  position:relative;
  overflow:hidden;
  border:1px solid rgba(10,20,40,.14);
  border-radius:16px;
  background:rgba(255,255,255,.72);
  box-shadow:0 14px 34px rgba(10,20,40,.09);
}
.pmBannerSlides{position:relative;min-width:0}
.pmBannerSlide{min-width:0;background:rgba(255,255,255,.72)}
.pmBannerSlide[hidden]{display:none!important}
.pmBannerSlide.is-active{animation:pmBannerFade .34s ease}
.pmBannerMedia{
  display:block;
  width:100%;
  aspect-ratio:3 / 1;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(215,230,242,.85),rgba(248,251,254,.95));
  text-decoration:none;
}
.pmBannerMedia img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:transparent;
}
.pmBannerCaption{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:13px 16px 14px;
  border-top:1px solid rgba(10,20,40,.10);
  color:#172033;
}
.pmBannerCaption__text{min-width:0}
.pmBannerTitle{
  display:block;
  margin:0 0 4px;
  font-size:17px;
  line-height:1.3;
}
.pmBannerCaption p{
  margin:0;
  max-width:850px;
  font-size:13px;
  line-height:1.48;
  color:rgba(23,32,51,.76);
}
.pmBannerButton{
  display:inline-flex;
  flex:0 0 auto;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:8px 13px;
  border:1px solid rgba(10,20,40,.16);
  border-radius:999px;
  background:rgba(255,255,255,.82);
  color:inherit;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
}
.pmBannerButton:hover{text-decoration:none;box-shadow:0 0 0 3px rgba(70,120,190,.12)}
.pmBannerSlider button.pmBannerArrow{
  position:absolute;
  z-index:3;
  top:42%;
  transform:translateY(-50%);
  display:flex;
  align-items:center;
  justify-content:center;
  width:38px;
  min-width:38px;
  max-width:38px;
  height:44px;
  min-height:44px;
  max-height:44px;
  margin:0;
  padding:0;
  border:1px solid rgba(255,255,255,.56);
  border-radius:12px;
  background:rgba(8,18,32,.68);
  color:#fff;
  font:700 29px/1 Arial,sans-serif;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(0,0,0,.22);
  appearance:none;
  -webkit-appearance:none;
}
.pmBannerSlider button.pmBannerArrow:hover,
.pmBannerSlider button.pmBannerArrow:focus-visible{
  background:rgba(8,18,32,.88);
  box-shadow:0 8px 22px rgba(0,0,0,.22);
}
.pmBannerSlider button.pmBannerArrow--prev{left:10px}
.pmBannerSlider button.pmBannerArrow--next{right:10px}
.pmBannerDots{
  display:flex;
  justify-content:center;
  gap:7px;
  padding:8px 10px;
  border-top:1px solid rgba(10,20,40,.08);
  background:rgba(23,32,51,.07);
}
.pmBannerSlider button.pmBannerDot{
  display:block;
  flex:0 0 9px;
  width:9px;
  min-width:9px;
  max-width:9px;
  height:9px;
  min-height:9px;
  max-height:9px;
  margin:0;
  padding:0;
  border:1px solid rgba(255,255,255,.72);
  border-radius:50%;
  background:rgba(255,255,255,.34);
  font-size:0;
  line-height:0;
  cursor:pointer;
  box-shadow:none;
  appearance:none;
  -webkit-appearance:none;
}
.pmBannerSlider button.pmBannerDot::before,
.pmBannerSlider button.pmBannerDot::after{
  content:none;
  display:none;
}
.pmBannerSlider button.pmBannerDot:hover,
.pmBannerSlider button.pmBannerDot:focus-visible{
  box-shadow:0 0 0 3px rgba(23,32,51,.14);
}
.pmBannerSlider button.pmBannerDot.is-active{
  background:#fff;
  transform:scale(1.15);
}
@keyframes pmBannerFade{from{opacity:.36}to{opacity:1}}
@media(max-width:700px){
  .pmBannerSlider{border-radius:14px}
  .pmBannerMedia{aspect-ratio:16 / 7}
  .pmBannerCaption{align-items:flex-start;flex-direction:column;gap:10px;padding:12px 13px 13px}
  .pmBannerButton{align-self:flex-start}
  .pmBannerSlider button.pmBannerArrow{top:34%;width:34px;min-width:34px;max-width:34px;height:40px;min-height:40px;max-height:40px;font-size:25px}
  .pmBannerSlider button.pmBannerArrow--prev{left:7px}.pmBannerSlider button.pmBannerArrow--next{right:7px}
  .pmBannerDots{margin:-1px 0 0;padding:8px;background:rgba(23,32,51,.08)}
  .pmBannerSlider button.pmBannerDot{border-color:rgba(23,32,51,.38);background:rgba(23,32,51,.18)}
  .pmBannerSlider button.pmBannerDot.is-active{background:rgba(23,32,51,.78)}
}
@media(prefers-reduced-motion:reduce){.pmBannerSlide.is-active{animation:none}}
