.msl_liner {
	display: block;
	width: 100%;
	height: 20px;
}

.msl_slider {
	width: 100%;
	margin: 0 auto;
	overflow: hidden;
	border-radius: var(--radius_slides);
	margin-bottom: 0px;
	margin-top: 0px;
}

.msl_track {
	display: flex;
	transition: transform 0.8s ease-in-out;
	will-change: transform;
}

.msl_slide {
	flex: 0 0 100%;
}

.msl_slide_content {
	display: grid;
	grid-template-columns: 0.709459fr 1.777778fr;
	gap: 20px;
	padding: 10px 10px;
}

.msl_flbox {
	aspect-ratio: 105/148;
	background: lightgrey center/cover no-repeat;
	background-clip: padding-box;
	border-radius: var(--radius_slides);
	overflow: hidden;
	border: 0px solid rgba(0, 0, 0, 0.5);
	box-shadow: var(--slide_shadow);
}


.msl_ytbox {
	aspect-ratio: 16/9;
	background: lightgrey center/cover no-repeat;
	position: relative;
	border-radius: var(--radius_slides);
	display: grid;
	place-items: center;
	overflow: hidden;
	border: 1px solid rgba(119, 136, 153, 0.75);
	box-shadow: none;
}

.msl_ytbox::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.35);
	pointer-events: none;
	border-radius: inherit;
}

.msl_ytbox.msl_loaded::after {
	display: none;
}

.msl_ytbox .msl_inner {
	position: relative;
	z-index: 1;
	max-width: min(80%, 300px);
	font-size: 1rem;
	text-align: center;
	color: lightgrey;
	opacity: 0.8;
}

.msl_ytbox .msl_inner p {
	margin: 0;
}

.msl_ytbox button {
	margin-top: .8rem;
	padding: .6rem;
	border: 0;
	border-radius: .6rem;
	cursor: pointer;
	background: darkred;
	color: lightgrey;
	line-height: 1;
}


.msl_ytbox button {
    margin-top: .8rem;
    padding: .6rem 1.2rem;
    border: 0;
    border-radius: .6rem;
    cursor: pointer;
    background-color: rgba(139, 0, 0, 1); /* darkred */
    color: #e0e0e0;
    line-height: 1;
    font-weight: 500;
    letter-spacing: .5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.35);
    transition: background-color .25s ease, box-shadow .25s ease;
}

.msl_ytbox button:hover {
    background-color: rgba(170, 0, 0, 1); /* etwas heller */
    box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}


.msl_ytbox iframe {
	width: 102%;   
	height: 102%;  
	left: -1%;     
	top: -1%;
	border: 0px;
	display: block;
	border-radius: inherit;
}

.msl_controls {
	justify-content: flex-end;
	display: flex;
	align-items: center;
	gap: 10px;
	width: auto; 
	margin: 0px auto 10px auto;
	height: 40px;
	padding-right: 40px;
}

.msl_controls button {
	aspect-ratio: 32/24;
	border: none;
	background: var(--bg_section);
	padding: 0px 10px;
	cursor: pointer;
	height: 100%;
	border-radius: 7px;
	box-shadow: 0px 0px 0px black;  
}

.msl_controls button[disabled] {
	opacity: .4;
	cursor: default;
}

.msl_controls svg {
	display: block;
	width: 100%;
	aspect-ratio: 32/24;
	stroke: white; 
	fill: none;
	stroke-width: 2;
	transition: stroke-width 0.3s ease, stroke 0.3s ease;
}

.msl_controls svg:hover {stroke-width: 3;}

@media (max-width: 600px) {
	
  .msl_slide_content { grid-template-columns: 1fr; gap: 15px; padding: 8px 8px; }
  .msl_controls {height: 35px; margin: 12px auto 0px auto; }
  .msl_ytbox .msl_inner { font-size: 0.80rem; }
  .msl_track { transition: transform 0.6s ease-in-out; }
  .msl_slider {box-shadow: none; }
  .msl_ytbox {box-shadow: var(--slide_shadow); }
  .msl_ytbox {box-shadow: none; }
  .msl_controls {padding-right: 15px;}

}

@media (max-width: 600px) and (max-aspect-ratio: 1170/2532) {
  .msl_slider {width: calc(min(90%, 1024px) + 2px);}
}