import{r as t,d as r,h as s,H as a}from"./p-2a37a33f.js";import{c as e}from"./p-f1a4df63.js";const c=class{constructor(r){t(this,r),this.translucent=!1}render(){const t=r(this);return s(a,{class:Object.assign(Object.assign({},e(this.color)),{"card-header-translucent":this.translucent,"ion-inherit-color":!0,[t]:!0})},s("slot",null))}static get style(){return":host{--background:transparent;--color:inherit;display:block;position:relative;background:var(--background);color:var(--color)}:host(.ion-color){background:var(--ion-color-base);color:var(--ion-color-contrast)}:host{padding-left:20px;padding-right:20px;padding-top:20px;padding-bottom:16px}\@supports ((-webkit-margin-start:0) or (margin-inline-start:0)) or (-webkit-margin-start:0){:host{padding-left:unset;padding-right:unset;-webkit-padding-start:20px;padding-inline-start:20px;-webkit-padding-end:20px;padding-inline-end:20px}}\@supports ((-webkit-backdrop-filter:blur(0)) or (backdrop-filter:blur(0))){:host(.card-header-translucent){background-color:rgba(var(--ion-background-color-rgb,255,255,255),.9);-webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px)}}"}};export{c as ion_card_header};