.video-embed {
position: relative; 
width: 100%;
max-width: 100%;
margin:3rem auto 1rem !important;
width: 720px;
}
article.prose p:has(> iframe){
text-align:center !important;
}
article.prose p:has(> iframe) > iframe{
display:inline-block !important;
margin: 1rem auto !important;
}
iframe {
width:720px;
max-height: 430px;
border-radius: 10px;
margin: 3rem auto 1rem !important;
} body.coconsem article.prose .video-embed .video-thumbnail,
body.coconsem article.prose .video-embed iframe{
width: 100% !important;
aspect-ratio: 16 / 9;
height: auto !important;
min-height: 0 !important;
border-radius: 10px;
display: block;
}
body.coconsem article.prose .video-embed iframe,
body.coconsem article.prose .csmk-yt-player{
width: 100% !important;
aspect-ratio: 16 / 9;
height: 405 !important;
min-height: 0 !important;
border-radius: 10px; } body.coconsem article.prose .video-embed iframe{
min-height: 0 !important;
} .video-thumbnail {
position: relative;
width: fit-content; border-radius: 14px;
margin: auto;
overflow: hidden;
background-color: #000;
background-size: cover;
background-position: center center;
background-repeat: no-repeat;
cursor: pointer;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
transition: transform 0.18s ease-out, box-shadow 0.18s ease-out;
}
.video-thumbnail::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
135deg,
rgba(0, 0, 0, 0.28),
rgba(0, 0, 0, 0.10)
);
pointer-events: none;
transition: opacity 0.18s ease-out;
opacity: 0.7;
}
.video-thumbnail:hover {
transform: translateY(-2px);
box-shadow: 0 14px 35px rgba(0, 0, 0, 0.24);
}
.video-thumbnail:hover::before {
opacity: 0.5;
} .play-button {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 72px;
height: 72px;
border-radius: 50%;
border: none;
padding: 0;
background: rgba(255, 255, 255, 0.95);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
transition:
transform 0.18s ease-out,
box-shadow 0.18s ease-out,
background-color 0.18s ease-out;
}
.play-button::before {
content: "";
display: block;
margin-left: 2px; border-style: solid;
border-width: 12px 0 12px 20px;
border-color: transparent transparent transparent #d33;
}
.play-button:hover {
transform: translate(-50%, -50%) scale(1.04);
box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
background: #fff;
}
.play-button:active {
transform: translate(-50%, -50%) scale(0.96);
box-shadow: 0 5px 18px rgba(0, 0, 0, 0.4);
}
.play-button:focus-visible {
outline: 2px solid #e63946;
outline-offset: 3px;
} .video-caption {
margin-top: 0.4rem; font-size: 0.875rem;
line-height: 1.5;
color: #777;
text-align: left;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2; overflow: hidden;
} .video-caption.reveal.active {
opacity: 1;
transform: none;
text-align: center;
max-width: 600px;
color: #666;
margin: -4px auto 50px;
font-size: 17px !important;
padding: 0 50px;
} @media (max-width: 768px) {
.video-embed {
margin: 1.4rem 0 0.8rem;
}
.play-button {
width: 60px;
height: 60px;
}
.play-button::before {
border-width: 10px 0 10px 18px;
}
}
@media (max-width: 480px) {
.play-button {
width: 52px;
height: 52px;
}
.play-button::before {
border-width: 9px 0 9px 16px;
}
}