/**
* Colors
*/
/* Signal colors */
/* Old colors (TODO: cleanup when not needed anymore) */
/**
 * Base
 */
/**
 * Selection
 */
/**
 * Flyingfocus
 */
/**
 * Icons
 */
/**
 * Link
 */
/**
 * Text
 */
/**
 * Section
 */
/**
 * Header
 */
/**
 * Footer
 */
/**
 * Fieldset
 */
/**
 * Stepper
 */
/**
 * Loader
 */
/**
 * Table
 */
/**
 * Heading
 */
/**
 * Text
 */
/**
 * Menu (Item)
 */
/**
 * Form Elements (Input / Checkbox / Radio / Select / Datepicker)
 */
/**
 * Badge
 */
/**
 * Popover
 */
/**
 * Tooltips
 */
/**
 * Dialogs / Popover
 */
/**
 * Overlays
 */
/**
 * Accordions
 */
/**
 * Timeline
 */
/**
 * Buttons
 */
/**
 * Ratios
 */
/**
 * Pagetitle
 */
/**
 * TopnewsMostsearched
 */
/**
 * Calendar
 */
/**
 * Toasts
 */
/**
 * Uploads
 */
/**
 * Box Shadows
 */
/**
 * Z-Indexes
 * Inspired by https://www.duetds.com/tokens/#z-index
 */
/**
 * Icon sizes
 */
/**
 * Grid
 */
/**
 * Container
 */
/**
 * Breakpoints
 */
/**
 * Ratios
 */
/**
 * Spaces
 */
/**
 * Fonts
 */
:host {
  font-family: var(--stzh-font-family-medium);
  font-weight: var(--stzh-font-weight-medium);
  font-style: var(--stzh-font-style-medium);
  color: var(--stzh-base-color);
  box-sizing: border-box;
  display: block;
}
:host[hidden], :host[stzh-hidden] {
  display: none;
}
:host::selection {
  color: var(--stzh-selection-color);
  background-color: var(--stzh-selection-background-color);
}
:host *,
:host *::before,
:host *::after {
  box-sizing: border-box;
  text-underline-offset: var(--stzh-link-text-underline-offset);
  text-decoration-thickness: var(--stzh-link-text-decoration-thickness);
  -webkit-text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);
          text-decoration-skip-ink: var(--stzh-link-text-decoration-skip-ink);
}
:host {
  /* default outline value, which will be applied to all elements receiving focus
  the .has-focus class is used by the focus target */
}
:host .has-focus {
  outline: var(--stzh-flyingfocus-color) solid 0.125rem;
  outline-offset: 0.125rem;
}
:host .stzh-fylingfocus-focused {
  outline-style: none !important;
}
:host .stzh-fylingfocus-focused::-moz-focus-inner {
  border: 0 !important;
}

/**
 * @prop --ratio: Ratio (e.g. 16 / 9)
 * @prop --background-color: Background color of ratio area
 * @prop --max-height: Max height of the ratio, useful when viewport is huge
 * @prop --overflow: In combination with max height you might wanna hide overflow
 *
 * @prop --stzh-ratio-background-color: **Global**: Background color of ratios
 */
:host {
  --background-color: var(--stzh-ratio-background-color);
  --ratio: 16 /
    9;
  --max-height: inherit;
  --overflow: inherit;
}
:host ::slotted(*) {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
}
:host ::slotted(.stzh-card-searchresult__image-placeholder) {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--placeholder-image-color);
}

:host([fit=contain]) ::slotted(*) {
  object-fit: contain;
}

/* Ratio variants */
:host([portrait]:not([portrait=false])) {
  --ratio: 9 /
    16;
}

:host([ratio="5:7"]) {
  --ratio: 5 / 7;
}

:host([ratio="5:7"][portrait]:not([portrait=false])) {
  --ratio: 7 / 5;
}

:host([ratio="1:1"]) {
  --ratio: 1 / 1;
}

:host([ratio="1:1"][portrait]:not([portrait=false])) {
  --ratio: 1 / 1;
}

:host([ratio="5:4"]) {
  --ratio: 5 / 4;
}

:host([ratio="5:4"][portrait]:not([portrait=false])) {
  --ratio: 4 / 5;
}

:host([ratio="4:3"]) {
  --ratio: 4 / 3;
}

:host([ratio="4:3"][portrait]:not([portrait=false])) {
  --ratio: 3 / 4;
}

:host([ratio="3:2"]) {
  --ratio: 3 / 2;
}

:host([ratio="3:2"][portrait]:not([portrait=false])) {
  --ratio: 2 / 3;
}

:host([ratio="16:9"]) {
  --ratio: 16 / 9;
}

:host([ratio="16:9"][portrait]:not([portrait=false])) {
  --ratio: 9 / 16;
}

:host([ratio="2:1"]) {
  --ratio: 2 / 1;
}

:host([ratio="2:1"][portrait]:not([portrait=false])) {
  --ratio: 1 / 2;
}

:host([ratio="21:9"]) {
  --ratio: 21 / 9;
}

:host([ratio="21:9"][portrait]:not([portrait=false])) {
  --ratio: 9 / 21;
}

@media screen and (min-width: 600px) {
  :host([ratio-small="5:7"]) {
    --ratio: 5 / 7;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="5:7"][portrait]:not([portrait=false])) {
    --ratio: 7 / 5;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="1:1"]) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="1:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="5:4"]) {
    --ratio: 5 / 4;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="5:4"][portrait]:not([portrait=false])) {
    --ratio: 4 / 5;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="4:3"]) {
    --ratio: 4 / 3;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="4:3"][portrait]:not([portrait=false])) {
    --ratio: 3 / 4;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="3:2"]) {
    --ratio: 3 / 2;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="3:2"][portrait]:not([portrait=false])) {
    --ratio: 2 / 3;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="16:9"]) {
    --ratio: 16 / 9;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="16:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 16;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="2:1"]) {
    --ratio: 2 / 1;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="2:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 2;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="21:9"]) {
    --ratio: 21 / 9;
  }
}

@media screen and (min-width: 600px) {
  :host([ratio-small="21:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 21;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="5:7"]) {
    --ratio: 5 / 7;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="5:7"][portrait]:not([portrait=false])) {
    --ratio: 7 / 5;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="1:1"]) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="1:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="5:4"]) {
    --ratio: 5 / 4;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="5:4"][portrait]:not([portrait=false])) {
    --ratio: 4 / 5;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="4:3"]) {
    --ratio: 4 / 3;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="4:3"][portrait]:not([portrait=false])) {
    --ratio: 3 / 4;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="3:2"]) {
    --ratio: 3 / 2;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="3:2"][portrait]:not([portrait=false])) {
    --ratio: 2 / 3;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="16:9"]) {
    --ratio: 16 / 9;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="16:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 16;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="2:1"]) {
    --ratio: 2 / 1;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="2:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 2;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="21:9"]) {
    --ratio: 21 / 9;
  }
}

@media screen and (min-width: 900px) {
  :host([ratio-medium="21:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 21;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="5:7"]) {
    --ratio: 5 / 7;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="5:7"][portrait]:not([portrait=false])) {
    --ratio: 7 / 5;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="1:1"]) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="1:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="5:4"]) {
    --ratio: 5 / 4;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="5:4"][portrait]:not([portrait=false])) {
    --ratio: 4 / 5;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="4:3"]) {
    --ratio: 4 / 3;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="4:3"][portrait]:not([portrait=false])) {
    --ratio: 3 / 4;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="3:2"]) {
    --ratio: 3 / 2;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="3:2"][portrait]:not([portrait=false])) {
    --ratio: 2 / 3;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="16:9"]) {
    --ratio: 16 / 9;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="16:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 16;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="2:1"]) {
    --ratio: 2 / 1;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="2:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 2;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="21:9"]) {
    --ratio: 21 / 9;
  }
}

@media screen and (min-width: 1260px) {
  :host([ratio-large="21:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 21;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="5:7"]) {
    --ratio: 5 / 7;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="5:7"][portrait]:not([portrait=false])) {
    --ratio: 7 / 5;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="1:1"]) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="1:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 1;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="5:4"]) {
    --ratio: 5 / 4;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="5:4"][portrait]:not([portrait=false])) {
    --ratio: 4 / 5;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="4:3"]) {
    --ratio: 4 / 3;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="4:3"][portrait]:not([portrait=false])) {
    --ratio: 3 / 4;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="3:2"]) {
    --ratio: 3 / 2;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="3:2"][portrait]:not([portrait=false])) {
    --ratio: 2 / 3;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="16:9"]) {
    --ratio: 16 / 9;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="16:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 16;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="2:1"]) {
    --ratio: 2 / 1;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="2:1"][portrait]:not([portrait=false])) {
    --ratio: 1 / 2;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="21:9"]) {
    --ratio: 21 / 9;
  }
}

@media screen and (min-width: 1600px) {
  :host([ratio-ultra="21:9"][portrait]:not([portrait=false])) {
    --ratio: 9 / 21;
  }
}

.stzh-ratio {
  position: relative;
  width: 100%;
  aspect-ratio: var(--stzh-ratio, var(--ratio));
  background: var(--background-color);
  max-height: var(--max-height);
  overflow: var(--overflow);
}