/**
Theme Name: MyChildTheme
Author: Markus Begerow
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mychildtheme
Template: astra
*/

#cmplz-document {
	max-width: 100% !Important;
}

/* sticky header */
.site-header {
	top: 0px;
	position: sticky;
	width: 100%!important;
}

/* Container für die Related Pages */
.ast-single-related-posts-container_related {
    padding: 20px 0;
    /*border-top: 1px solid #e0e0e0; */
    margin-top: 20px;
}

.ast-single-related-posts-container_related_alt {
    padding: 20px 0;
    /* border-top: 1px solid #e0e0e0; */
    margin-top: 0px;
}

/* Titel für die Related Pages Sektion */
.ast-related-posts-title_related {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

/* Wrapper für die einzelnen verwandten Seiten */
.ast-related-posts-wrapper_related {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

/* Styling für jede verwandte Seite */
.ast-related-post_related {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    width: 30%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border-radius: 5px;
}

.ast-related-post_related:hover {
    transform: scale(1.05);
}

/* Link innerhalb der verwandten Seiten */
.ast-related-post-link_related {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Bild der verwandten Seite */
.ast-related-post-image_related img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Überschrift für Related Posts */
.ast-related-posts-title_related {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
    margin: 0;
    padding: 0;
}


/* Header-Container für die Überschrift */
.ast-related-posts-header_related {
    width: 100%;
    text-align: center;

    background-color: #fff; /* Weißer Hintergrund für die Überschrift */
    padding: 10px 0;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */ /* Leichter Schatten für mehr Tiefe */
}

.footer-left {
	text-align: left !important;
}

.footer-right {
	text-align: right !important;
}

figure {
  box-shadow: none !important;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .ast-related-posts-wrapper_related {
        gap: 10px;
        justify-content: center;
    }

    .ast-related-post_related {
        width: 45%;
        margin-bottom: 15px;
    }
	
	.footer-left {
		text-align: center !important;
	}
	
	.footer-right {
		text-align: center !important;
	}
	

	
}

@media (max-width: 480px) {
    .ast-related-post_related {
        width: 100%;
    }

    .ast-related-posts-title_related {
        font-size: 1.2em;
    }
	
	.footer-left {
		text-align: center !important;
	}
	
	.footer-right {
		text-align: center !important;
	}
	


}


/* ######################################### */

.mediathek-wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 16px;
}
.mediathek-hero{
  margin-bottom: 20px;
  background-color: #FFF;
  padding: 20px;
  border-radius: 14px;
}
.mediathek-title{
  font-size: 2rem;
  margin: 0 0 8px 0;
}
.mediathek-subtitle{
  margin: 0 0 18px 0;
  opacity: .85;
  max-width: 72ch;
}
.mediathek-controls{
  display: grid;
  grid-template-columns: 240px 1fr 140px;
  gap: 12px;
  align-items: end;
}
.mediathek-control label{
  display:block;
  font-size: .9rem;
  opacity: .8;
  margin-bottom: 6px;
}
.mediathek-control select,
.mediathek-control input{
  width:100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.12);
}
.mediathek-control button{
  width:100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
}

/* Desktop – Default */
.mediathek-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* Tablet */
@media (max-width: 1024px){
  .mediathek-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 640px){
  .mediathek-grid{
    grid-template-columns: 1fr;
  }
}

/* Controls */
@media (max-width: 1024px){
  .mediathek-controls{
    grid-template-columns: 1fr;
  }
}
.mediathek-card{
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0,0,0,.03);
  transform: translateZ(0);
}
.mediathek-card__link{
  display:block;
  text-decoration: none;
}
.mediathek-card__media{
  position: relative;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.08);
}
.mediathek-card__media img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transition: transform .18s ease;
}
.mediathek-card__placeholder{
  width:100%;
  height:100%;
}
.mediathek-card__play{
  position:absolute;
  inset: 0;
  display:block;
  opacity: 0;
  transition: opacity .18s ease;
  background: radial-gradient(circle at center, rgba(0,0,0,.35), rgba(0,0,0,0) 55%);
}
.mediathek-card__play:after{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  -webkit-mask: none;
}
.mediathek-card__play:before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width: 0;
  height: 0;
  transform: translate(-35%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent rgba(0,0,0,.75);
  z-index: 2;
}
.mediathek-card__duration{
  position:absolute;
  right: 10px;
  bottom: 10px;
  padding: 4px 8px;
  font-size: .82rem;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
}
.mediathek-card__stats{
  display:flex;
  justify-content: space-between; /* links/rechts */
  align-items:center;
  gap:10px;
  margin: 6px 0 10px 0;
  font-size:.85rem;
  opacity:.85;
}
.mediathek-stat{
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.06);
  white-space: nowrap;
}

.mediathek-card__body{
  padding: 12px 12px 14px 12px;
  background-color: #FFF
}
.mediathek-card__title{
  font-size: 1rem;
  margin: 0 0 8px 0;
  line-height: 1.25;
}
.mediathek-card__excerpt{
  margin: 0;
  font-size: .92rem;
  opacity: .82;
}
.mediathek-pill{
  display:inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  font-size: .82rem;
}
.mediathek-card__meta{ margin-bottom: 8px; }

.mediathek-card:hover img{ transform: scale(1.03); }
.mediathek-card:hover .mediathek-card__play{ opacity: 1; }

.mediathek-player__ratio{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0,0,0,.08);
}
.mediathek-player__ratio iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

.mediathek-pagination{
  margin-top: 20px;
}
.mediathek-pagination .page-numbers{
  display:inline-block;
  padding: 8px 10px;
  margin: 2px;
  border-radius: 10px;
  background: rgba(0,0,0,.06);
  text-decoration:none;
}
.mediathek-pagination .current{
  background: rgba(0,0,0,.14);
}


/* ######################################### */

/* ===============================
   Mediathek – Single Page
   =============================== */

.mediathek-single{
  max-width: 960px;
  margin: 0 auto;
}

/* Header */
.mediathek-single__header{
  margin-bottom: 24px;
}

.mediathek-single__title{
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 12px;
}

.mediathek-single__intro{
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: .9;
  max-width: 70ch;
}

/* Meta-Leiste */
.mediathek-single__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  align-items: center;
}

.mediathek-meta{
  font-size: .85rem;
  opacity: .7;
}

/* Player */
.mediathek-player{
  margin: 28px 0 36px 0;
}

.mediathek-player__ratio{
  border-radius: 18px;
  box-shadow:
    0 10px 30px rgba(0,0,0,.12),
    0 2px 8px rgba(0,0,0,.08);
  overflow: hidden;
}

/* Content Card */
.mediathek-single__content{
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.mediathek-article{
  background: #FFF;
  border-radius: 20px;
  padding: 32px 32px 36px 32px;
}

/* Typografie */
.mediathek-article h2{
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 1.4rem;
}

.mediathek-article h3{
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.mediathek-article p{
  line-height: 1.7;
  margin-bottom: 1em;
}

.mediathek-article ul,
.mediathek-article ol{
  padding-left: 1.2em;
  margin-bottom: 1.2em;
}

/* Transkript */
.mediathek-transcript{
  margin-top: 20px;
  padding: 20px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  font-size: .95rem;
  line-height: 1.6;
  max-height: 520px;
  overflow-y: auto;
}

/* Related Videos */
.mediathek-related{
  margin-top: 20px;
}

.mediathek-related h2{
  font-size: 1.4rem;
  margin-bottom: 16px;
}

/* Pills */
.mediathek-pill{
  background: rgba(0,0,0,.08);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .8rem;
  text-decoration: none;
  color: inherit;
}

.mediathek-pill:hover{
  background: rgba(0,0,0,.14);
}

/* Mobile */
@media (max-width: 640px){
  .mediathek-article{
    padding: 22px;
  }
}
