/* Videocasts landing page. Loaded by page-videocasts.php. Self-contained. */

.cdmo-vc { max-width: 1200px; margin: 0 auto; padding: 0 20px 64px; }

/* ── Hero (blue, same family as the other section heroes) ── */
.cdmo-vc-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(-50vw + 50%);
	margin-right: calc(-50vw + 50%);
	background: #0a6cb0 url("https://cdmoworld.com/wp-content/uploads/2026/03/breadcrumb_background_1920x300.png");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: 56px 6rem;
	margin-bottom: 40px;
	position: relative;
	overflow: hidden;
}
.cdmo-vc-hero__content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.cdmo-vc-hero__content h1 { color: #fff; font-size: 36px; line-height: 1.15; margin: 6px 0 10px; }
.cdmo-vc-hero__content p { color: #fff; font-size: 16px; line-height: 1.6; max-width: 920px; margin: 0; }
.cdmo-vc-hero__crumb { font-size: 14px; font-weight: 600; letter-spacing: .4px; text-transform: uppercase; color: rgba(255,255,255,.85); }
.cdmo-vc-hero__crumb a { color: #fff; text-decoration: none; }
.cdmo-vc-hero__crumb a:hover { opacity: .75; }
.cdmo-vc-hero__sep { margin: 0 6px; }

/* ── Layout ── */
.cdmo-vc-layout { display: flex; gap: 30px; align-items: flex-start; }
.cdmo-vc-side { flex: 0 0 320px; max-width: 320px; }
.cdmo-vc-main { flex: 1; min-width: 0; }

/* ── Browse sidebar (matches the News design) ── */
.browse-news { background: #f7f9fc; border-radius: 14px; padding: 25px; border: 1px solid #e5e8ef; font-family: Arial, sans-serif; }
.browse-news h3 { font-size: 20px; margin: 0 0 20px; font-weight: 700; color: #1d2b44; }
.news-list { list-style: none; padding: 0; margin: 0; }
.news-list li { border-radius: 8px; margin-bottom: 8px; transition: .25s; }
.news-list li a { display: flex; align-items: center; padding: 12px 14px; color: #1d2b44; text-decoration: none; }
.news-list li .icon { margin-right: 10px; display: flex; align-items: center; color: #3aa0d8; }
.news-list li svg { width: 16px; height: 16px; stroke: currentColor; }
.news-list li.active { background: #3aa0d8; }
.news-list li.active a, .news-list li.active .icon, .news-list li.active .count { color: #fff; }
.news-list li:not(.active):hover { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.05); }
.news-list li .text { flex: 1; font-size: 15px; }
.news-list li .count { font-size: 14px; color: #777; }

/* ── Headings ── */
.cdmo-vc-h2 { font-size: 28px; font-weight: 700; color: #1d2b44; margin: 0 0 20px; }
.cdmo-vc-h3 { font-size: 20px; font-weight: 700; color: #1d2b44; margin: 32px 0 16px; }
.cdmo-vc-lead { color: #5b6470; font-size: 16px; line-height: 1.6; margin: 0 0 24px; max-width: 820px; }

/* ── Series cards (overview) ── */
.cdmo-vc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cdmo-vc-card {
	background: #fff; border: 1px solid #e7eaee; border-radius: 14px; overflow: hidden;
	box-shadow: 0 2px 8px rgba(17,22,29,.05); transition: transform .2s ease, box-shadow .2s ease;
	display: flex; flex-direction: column; color: inherit; text-decoration: none;
}
.cdmo-vc-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(17,22,29,.10); }
.cdmo-vc-card__thumb {
	position: relative; aspect-ratio: 16 / 9; overflow: hidden;
	background: linear-gradient(135deg, #1d2d50, #0a6cb0);
}
.cdmo-vc-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdmo-vc-card__play {
	position: absolute; inset: 0; margin: auto; width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.92); border-radius: 999px; color: #0a6cb0;
	box-shadow: 0 2px 10px rgba(0,0,0,.2); transition: transform .2s ease;
}
.cdmo-vc-card__play svg { width: 20px; height: 20px; margin-left: 3px; }
.cdmo-vc-card:hover .cdmo-vc-card__play { transform: scale(1.1); }
.cdmo-vc-badge {
	position: absolute; top: 10px; left: 10px; font-size: 11px; font-weight: 700;
	text-transform: uppercase; letter-spacing: .5px; color: #fff; background: rgba(17,22,29,.7);
	padding: 4px 10px; border-radius: 999px;
}
.cdmo-vc-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cdmo-vc-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; margin: 0 0 8px; color: #1d2b44; }
.cdmo-vc-card__desc { font-size: 14px; line-height: 1.55; color: #5b6470; margin: 0 0 14px; }
.cdmo-vc-card__cta { margin-top: auto; font-size: 13px; font-weight: 600; color: #2a7be4; }

/* ── Series detail (inline) ── */
.cdmo-vc-back { display: inline-block; font-size: 14px; font-weight: 600; color: #2a7be4; text-decoration: none; margin-bottom: 12px; }
.cdmo-vc-back:hover { text-decoration: underline; }

.cdmo-vc-video {
	position: relative; width: 100%; aspect-ratio: 16 / 9;
	border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 6px 20px rgba(17,22,29,.12);
}
.cdmo-vc-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ── Episode list ── */
.cdmo-vc-eplist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.cdmo-vc-ep {
	display: flex; gap: 14px; align-items: stretch; background: #f5f6f8; border-radius: 12px;
	overflow: hidden; text-decoration: none; color: inherit; transition: all .2s ease;
}
.cdmo-vc-ep:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.1); }
.cdmo-vc-ep__thumb {
	position: relative; width: 140px; flex-shrink: 0; background: linear-gradient(135deg, #1d2d50, #0a6cb0); overflow: hidden;
}
.cdmo-vc-ep__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdmo-vc-ep__play {
	position: absolute; inset: 0; margin: auto; width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.92); border-radius: 999px; color: #0a6cb0;
}
.cdmo-vc-ep__play svg { width: 15px; height: 15px; margin-left: 2px; }
.cdmo-vc-ep__body { padding: 14px 16px; display: flex; flex-direction: column; justify-content: center; }
.cdmo-vc-ep__title { font-size: 15px; font-weight: 600; line-height: 1.35; color: #1d2b44; }
.cdmo-vc-ep__date { font-size: 12.5px; color: #98a2b0; margin-top: 6px; }

/* ── Coming soon ── */
.cdmo-vc-coming {
	background: #f7f9fb; border: 1px dashed #c7d2e0; border-radius: 14px;
	padding: 48px 32px; text-align: center; color: #4a5568;
}
.cdmo-vc-coming__icon { font-size: 40px; display: block; margin-bottom: 8px; }
.cdmo-vc-coming h3 { margin: 0 0 6px; font-size: 22px; color: #1d2b44; }
.cdmo-vc-coming p { margin: 0; font-size: 15px; }

/* ── Individual series page: episode cards (thumbnail + title + summary + link) ── */
.cdmo-vc-series-page { max-width: 1180px; margin: 0 auto; }
.cdmo-vc-epgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cdmo-vc-epcard {
	background: #fff; border: 1px solid #e7eaee; border-radius: 14px; overflow: hidden;
	box-shadow: 0 2px 8px rgba(17,22,29,.05); transition: transform .2s ease, box-shadow .2s ease;
	display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.cdmo-vc-epcard:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(17,22,29,.10); }
.cdmo-vc-epcard__thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #1d2d50, #0a6cb0); }
.cdmo-vc-epcard__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdmo-vc-epcard__play {
	position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,.92); border-radius: 999px; color: #0a6cb0; box-shadow: 0 2px 10px rgba(0,0,0,.2); transition: transform .2s ease;
}
.cdmo-vc-epcard__play svg { width: 18px; height: 18px; margin-left: 3px; }
.cdmo-vc-epcard:hover .cdmo-vc-epcard__play { transform: scale(1.1); }
.cdmo-vc-epcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cdmo-vc-epcard__title { font-size: 17px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; color: #1d2b44; }
.cdmo-vc-epcard__summary { font-size: 14px; line-height: 1.55; color: #5b6470; margin: 0 0 14px; }
.cdmo-vc-epcard__date { margin-top: auto; font-size: 12.5px; color: #98a2b0; }

/* ── Single episode page layout ── */
.cdmo-ep__wrap { max-width: 860px; margin: 0 auto; padding: 32px 20px 64px; }
.cdmo-ep__crumb { font-size: 13px; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: #98a2b0; margin-bottom: 18px; }
.cdmo-ep__crumb a { color: #2a7be4; text-decoration: none; }
.cdmo-ep__crumb a:hover { text-decoration: underline; }
.cdmo-ep__crumb span { margin: 0 6px; }
.cdmo-ep__video { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #000; box-shadow: 0 6px 20px rgba(17,22,29,.12); }
.cdmo-ep__video iframe, .cdmo-ep__video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cdmo-ep__media { border-radius: 14px; overflow: hidden; }
.cdmo-ep__media img { width: 100%; height: auto; display: block; }
.cdmo-ep__eyebrow { display: inline-block; margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #2a7be4; }
.cdmo-ep__title { font-size: 32px; line-height: 1.2; font-weight: 700; color: #1d2b44; margin: 8px 0 8px; }
.cdmo-ep__meta { font-size: 14px; color: #98a2b0; margin-bottom: 22px; }
.cdmo-ep__summary { font-size: 17px; line-height: 1.65; color: #3a4452; margin-bottom: 8px; }
.cdmo-ep__summary p { margin: 0 0 14px; }
.cdmo-ep__h2 { font-size: 22px; font-weight: 700; color: #1d2b44; margin: 36px 0 14px; padding-top: 26px; border-top: 1px solid #e7eaee; }
.cdmo-ep__transcript { font-size: 16px; line-height: 1.75; color: #4a5568; }
.cdmo-ep__transcript p { margin: 0 0 16px; }
.cdmo-ep__footer { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 24px; border-top: 1px solid #e7eaee; }
.cdmo-ep__back { font-size: 15px; font-weight: 600; color: #2a7be4; text-decoration: none; }
.cdmo-ep__back:hover { text-decoration: underline; }
.cdmo-ep__all { font-size: 14px; font-weight: 600; color: #fff; background: #0a6cb0; padding: 10px 18px; border-radius: 8px; text-decoration: none; transition: background .2s ease; }
.cdmo-ep__all:hover { background: #085a93; }

/* Client Videos: approval status pill + reviewer comments */
.cv-status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.cv-status__dot { width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.cv-status--pending { color: #946200; background: #fff4e0; }
.cv-status--approved { color: #1a7f43; background: #e6f6ec; }
.cv-status--needs-edits { color: #b42318; background: #fdecea; }
.cv-comments { background: #fdecea; border: 1px solid #f7c9c4; border-radius: 12px; padding: 18px 22px; margin: 0 0 24px; color: #7a271a; }
.cv-comments h3 { margin: 0 0 8px; font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; color: #b42318; }
.cv-comments p { margin: 0 0 8px; font-size: 15px; line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 1024px) {
	.cdmo-vc-layout { flex-direction: column; }
	.cdmo-vc-side { flex-basis: auto; max-width: none; width: 100%; }
	.cdmo-vc-grid { grid-template-columns: repeat(2, 1fr); }
	.cdmo-vc-epgrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.cdmo-ep__title { font-size: 25px; }
}
@media (max-width: 768px) {
	.cdmo-vc-hero { padding: 40px 20px; }
	.cdmo-vc-hero__content h1 { font-size: 28px; }
	.cdmo-vc-grid { grid-template-columns: 1fr; }
	.cdmo-vc-eplist { grid-template-columns: 1fr; }
	.cdmo-vc-epgrid { grid-template-columns: 1fr; }
}