import{r as e,h as t}from"./p-76ab1744.js";import{H as a}from"./p-d12f5ef8.js";const i=class{constructor(t){e(this,t),this.headingTag=a.H2,this.dataTrackingId="telia-content-banner"}render(){const e="telia-content-banner";return t("telia-link",{silent:!0,href:this.href,"data-testid":this.dataTestid},t("telia-vst",{dataTrackingId:this.dataTrackingId}),t("article",{class:e},!!this.imgSrc&&t("div",{class:e+"__image"},t("telia-image",{src:this.imgSrc,"small-set":this.smallSet,"medium-set":this.mediumSet,alt:this.imgAlt,variant:"scalable"})),t("div",{class:e+"__content"},t("telia-text-spacing",null,t("telia-heading",{tag:"h2",variant:"title-400"},t("span",{class:e+"__heading"},this.bannerHeading))),t("slot",null))))}};i.style=".telia-content-banner{height:100%}.telia-content-banner:hover img{transform:scale(1.05)}.telia-content-banner__image{padding-bottom:calc(1.6rem * var(--voca-rem-multiplier))}@media screen and (min-width: 37.5em){.telia-content-banner__image{padding-bottom:calc(2.4rem * var(--voca-rem-multiplier))}}.telia-content-banner__image picture{border-radius:calc(0.8rem * var(--voca-rem-multiplier));height:calc(18rem * var(--voca-rem-multiplier));overflow:hidden;width:100%}@media screen and (min-width: 37.5em){.telia-content-banner__image picture{height:calc(20rem * var(--voca-rem-multiplier))}}@media screen and (min-width: 64em){.telia-content-banner__image picture{height:calc(36rem * var(--voca-rem-multiplier))}}.telia-content-banner__image img{transition:transform 0.25s cubic-bezier(0.45, 0, 0.52, 0.98)}.telia-content-banner__content{color:#222222;max-width:calc(64rem * var(--voca-rem-multiplier))}.telia-content-banner__heading{display:flex}";export{i as telia_content_banner}