@charset "UTF-8";
/* ---------------------------------------------------
	 DESKTOP & TABLET-STYLING (Horizontaler Balken)
   --------------------------------------------------- */
.media-shadow img {box-shadow: var(--box-shadow-button);}
.media-noshadow img {box-shadow:unset!important;}
.media-rounded img {border-radius: .5em;}
/* ------------------------------------------------- 
   Bild links Text rechts                                         
   ------------------------------------------------- */
.media-text-right {
	display: flow-root;
	width:fit-content;
}
.media-text-right img {
	float:left;
	margin-right: .5em;
	width: 10em;
	cursor:pointer;
}
.media-text-right img:not(last-child) {margin-bottom:.2em;}
/* ------------------------------------------------- 
	Bild rechts Text links                                         
	-------------------------------------------------- */
.media-text-left {
	display: flow-root;
	width: auto;
	margin-bottom: 1em;
}
.media-text-left img {
	float: right;
	margin-left: 1em;
	width: 12em;
	cursor:pointer;
}
.media-text-left img:not(last-child) {margin-bottom:.2em;}
/* ------------------------------------------------- 
	Bild und Text unterhalb                                         
	-------------------------------------------------- */
.media-text-bottom-flex {
	display: flex;
	flex-wrap: wrap;              /* Umbruch auf neue Zeile, wenn Platz nicht reicht */
	gap: 1em;                     /* Abstand zwischen den Cards */
	justify-content: flex-start;  /* Ausrichtung: linksbündig */
}

.media-text-bottom-flex.start {justify-content: start;}
.media-text-bottom-flex.center {justify-content: center;}
.media-text-bottom-flex.space-between {justify-content: space-between;}
.media-text-bottom-flex.space-around {justify-content: space-around;}
.media-text-bottom-flex.space-evenly {justify-content: space-evenly;}
.media-text-bottom-flex.stretch {justify-content: stretch;}

.media-text-bottom-grid {
	display: grid;
	/* 2 Zeilen: 1. Zeile passt sich dem Inhalt an, 2. Zeile ebenfalls */
	grid-template-rows: auto auto; 
	gap:.1em; /* Abstand zwischen Bild und Text */
  /* ----------------------------------------------------------------------------------- 
		Breite der Karte begrenzt auf bild grösse welche in einer anderen CSS bestimmt wird.
		z.B.  .tipp-column-2 img {width:15em;box-shadow:var(--box-shadow-small);margin:0 .3em .3em 0;
		------------------------------------------------------------------------------------ */
	max-width:min-content;
	border-radius: .5em;
	border:0em blue solid;
	/* overflow: hidden; */ 
	align-self: start;
}

.media-text-bottom-grid.plus-title {grid-template-rows: auto auto auto;} 
/* title Zeile 2 */
.media-text-bottom-grid .title {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
	padding:0 .5em 0 .5em; 
	font-weight:800;
	font-size:.9rem;
}	

/* Bild-Styling in Zeile 1 */
.media-text-bottom-grid img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: .5em;
}

/* Video-Styling in Zeile 1 */
.media-text-bottom-grid video {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	border-radius: .5em;
}

/* Beschreibung in Zeile 2 oder 3 */
.media-text-bottom-grid .description {
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
	hyphens: auto;
	-webkit-hyphens: auto;
	hyphenate-limit-chars:auto 10 auto; 
	padding:0 .5em 0 .5em; 
	font-weight:600;
	font-size:.9rem;
}
.media-text-bottom-grid .description.normaltext {font-size:1rem;}

.media-border-radius img {border-radius: .5em;}
.media-border-shadow img {box-shadow:var(--box-shadow-small);}

.media-text-bottom-grid .description.left {text-align: left;}

.media-image-block img  {width:10em;box-shadow:var(--box-shadow-small);margin:0 .3em .3em 0;cursor:pointer;}
.media-image-block.width15 img {width:15em;}
.media-image-block.height10 img {height:10em;width:auto;object-fit:cover;}
.media-image-block.height8 img {height:8em;width:auto;object-fit:cover;}

.media-video-block video  {width:10em;box-shadow:var(--box-shadow-small);margin:0 .3em .3em 0;}
.media-video-block.width15 video  {width:15em;}
/* ---------------------------------------------------
	 Mobile 
   --------------------------------------------------- */
@media (max-width: 767px) {
	.media-text-right img, .media-text-left img {width:10em;}
	.media-rounded-mobile img {border-radius: .5em;}
	.media-text-bottom-flex {
	  display: flex;
    justify-content: center!important;
		gap:.5em;
  }
	.media-text-bottom-grid {max-width:100%;}	
	.media-video-block video  {max-width:80%;width:15em;margin:0 auto;}
	.media-image-block img  {max-width:80%;width:15em;margin:0 auto;}
  .media-image-block.mobile-width8 img {width:8em;height:auto;} 
}