/*****************************************************/
/********************** FONTS ************************/
/*****************************************************/

@font-face {
    font-family: 'Fira Sans Condensed';
    src: url('fonts/FiraSansCondensed-Medium.woff2?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('fonts/FiraSans-BoldItalic.woff2?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79') format('woff2');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('fonts/FiraSans-SemiBoldItalic.woff2?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79') format('woff2');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('fonts/FiraSans-Bold.woff2?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79') format('woff2');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('fonts/FiraSans-Italic.woff2?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79') format('woff2');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('fonts/FiraSans-Medium.woff2?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79') format('woff2');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans';
    src: url('fonts/FiraSans-Regular.woff2?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79') format('woff2');
    font-weight: 400;
    font-style: normal;
}


/*****************************************************/
/********************** COLORS ***********************/
/*****************************************************/

:root {
    /* General */
    --accentColor: #52AE32;
    --accentColor-secondary: #3E8538;
    --accentColor-tertiary: #C6C6C6;
    --nightModeAccentColor: var(--accentColor-secondary);
    --nightModeAccentColor-secondary: var(--accentColor);
    --nightModeAccentColor-tertiary: var(--accentColor-tertiary);

    --color-bg-subtle: #ebebeb;
    --color-bg-brand-subtle: #F0F3E7;

    /* Top Bar */
    --topbarIconColor: white;
    --topbarBgColor: var(--accentColor);
    --topbarContainerBgColor: white;
    /* --topbarElementColor: #e1e1e1; */
    --articleProgressColor: #3E8538;

    --nightModeTopbarContainerBgColor: #1f1f1f;
    --nightModeTopbarElementColor: white;
    --nightModeArticleProgressColor: var(--articleProgressColor);

    /* Article */
    --articleBgColor: #ffffff;
    --articleTextColor: #000000;

    --nightModeArticleBgColor: #1f1f1f;
    --nightModeArticleTextColor: #ffffff;

    /** TTS **/
    --playerAccentColor: var(--accentColor);
    --playerBgColor: #ffffff;
    --playerProgressColor: #e1e1e1;
    --playerBufferingColor: #bbbbbb;
    --playerTimeColor: #767676;
    --playerTextColor: #000000;
    --playerLoadingColor: rgba(153,153,153,0.25);
    --playerLoadingSize: 50px;
    --playerLoadingThickness: 6px;
    --playerLoadingOffset: 187;
    --playerLoadingDuration: 3s;

    --nightModePlayerAccentColor: white;
    --nightModePlayerBgColor: #1f1f1f;
    --nightModePlayerProgressColor: #767676;
    --nightModePlayerBufferingColor: #767676;
    --nightModePlayerTimeColor: #ffffff;
    --nightModePlayerBorderColor: #344250;
    --nightModePlayerTextColor: #ffffff;
    --nightModePlayerLoadingColor: #767676;

    --playerSpeechMarkerColor: var(--accentColor);
    --playerSpeechMarkerBgColor: rgba(153,153,153,0.25);

    --nightModePlayerSpeechMarkerColor: var(--accentColor);
    --nightModePlayerSpeechMarkerBgColor: rgba(153,153,153,0.25);

    --overlayBgColor: rgba(0,0,0,0.9);
    --overlayTextColor: #ffffff;
    --animationDuration: 10;
}


/*****************************************************/
/********************** TOP BAR **********************/
/*****************************************************/

.bar-top .center-menu,
#top-bar #left-menu {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    color: white;
}

.bar-top {
    background: var(--accentColor);
    display: flex;
    box-sizing: border-box;
    height: 54px;
    padding-top: 0;
    align-items: center;
}

.bar-top :is(.left-menu, .center-menu, .right-menu) {
    flex: 1;
    width: auto;
    box-sizing: border-box;
    padding: 0;
}

.bar-top .center-menu {
    font-size: 20px;
}

.bar-top .right-menu > :last-child {
    margin-right: 85px;
}


.bar-top img {
    filter: brightness(0) invert(1)
}

#progress-cont {
    top: 54px;
}

#progress-bar {
    background-color: var(--articleProgressColor);
}

#content {
    top: 54px;
}


/*****************************************************/
/********************** ARTICLE **********************/
/*****************************************************/

body, p, li, .articleImageCaption {
    font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

p, li {
    font-size: 1em;
    line-height: 1.5;
    font-style: normal;
}

.articleImageCaption {
    font-size: 0.875em;
}

strong, .strong,
b {
  font-weight: bold;
}

h2, .h2,
h3, .h3,
h4, .h4,
h5, .h5,
h6, .h6,
.zwischentitel,
.zwischentitelbox{
    font-weight: 500;
    letter-spacing: -4%;
    text-wrap: balance;

    & :is(strong, .strong) {
        font-weight: inherit;
    }

    &:not(:first-child) {
        margin-top: 1.5em;
    }
}


h1, .h1{
    font-size: 1.875em;
    margin-bottom: 0.66em;
    line-height: 1.1;
    font-family: 'Fira Sans Condensed', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    margin-top: 0;
}

h2, .h2 {
    font-size: 1.5em;
    line-height: 1.1;
    margin-bottom: 0.66em;
}

h3, .h3, .zwischentitel, .zwischentitelbox {
    font-size: 1.25em;
    margin-bottom: 0.8em;
}

h4, .h4 {
    font-size: 1.125em;
}

h5, .h5 {
    font-size: 1em;
}

h6, .h6 {
    font-size: 1em;
}

li {
    display: flex;
    list-style: inherit;
}

li::before {
    margin-right: 0.875em;

}

ol, ul {
    padding: 0 0.875em;
    margin: 1.5em 0;
}

ol {
    counter-reset: readmode-ol;
}
ol li {
    counter-increment: readmode-ol;
    align-items: center;
}
ol li::before {
    content: counter(readmode-ol);
    color: var(--accentColor-secondary);
    font-size: 1.875em;
}

ul li {
    list-style: none;
}
ul li::before {
    content: "";
    background: var(--accentColor-tertiary);
    height: 0.625em;
    flex: 0 0 0.625em;
    margin-top: 0.45em;
    display: block;
}

p {
  text-wrap: pretty;
  margin: 0;
}

p:not(:last-child) {
    margin-bottom: 1em;
}

em, .em,
i {
  font-style: italic;
}

sub, .subscript {
    font-size: 0.75em;
    vertical-align: sub;
}

sup, .superscript {
    font-size: 0.75em;
    vertical-align: super;
}

.InterviewQuestion {
    font-weight: 600;
    font-style: italic;
}

.autorzusatz, .author {
    font-style: italic;
}

.spitzmarke {
    font-weight: bold;
    color: var(--accentColor-secondary);
}

.quelle {
    font-size: 0.875em;
}

.article-boxout {
    border: 0;
    background: var(--color-bg-subtle);
    margin: 1.5em 0;
    padding: 1.5em;
}

.article-boxout > :first-child,
.article-boxout .infoboxbody:only-child > :first-child{
    margin-top: 0;
}

.article-boxout > :last-child,
.article-boxout .infoboxbody:only-child > :last-child {
    margin-bottom: 0;
}

.article-in-image {
    margin: 0;
}

.swiper-container .swiper-button-prev,
.swiper-container .swiper-button-next {
    mask-image: url('arrow_left.svg?appId=8d60a0bd-b03f-4b82-b957-262a73d24b79');
    aspect-ratio: 9 / 16;
    height: auto;
    width: 1.5em;
}

.swiper-container .swiper-button-next {
    scale: -1 -1;
}

.swiper-container img.swiper-button-prev,
.swiper-container img.swiper-button-next {
    opacity: 1;
    mask-image: none;
    background: transparent;
    scale: 1;
    filter: brightness(0);
    width: auto;
    height: 1.5rem;
}

[data-pxp-platform="web"] {
  --navigationHeight: 0px;
}

[data-pxp-platform="web"] .bottom-sticky-elements {
    display: none;
}

/*****************************************************/
/******************** NIGHT MODE *********************/
/*****************************************************/

.night-mode .article-boxout {
    background-color: transparent;
    position: relative;
}

.night-mode .article-boxout::before {
    content: '';
    z-index: -1;
    inset: 0;
    background: var(--color-bg-subtle);
    opacity: 0.1;
    position: absolute;
}

.night-mode ul li::before {
    color: var(--nightModeAccentColor-tertiary);
    opacity: 0.3;
}

.night-mode ol li::before {
    color: var(--nightModeAccentColor-secondary);
}

/* Release fixes */
#range-slider {
    background: transparent;
}

/*****************************************************/
/****************** MEDIA QUERIES ********************/
/*****************************************************/

/** custom css for different device sizes can be added here with @media **/