/* Pharma Problem Solved page — videocast series posts, card grid. Loaded by page-pharma-problem-solved.php. */

/* ── Blue hero header (same style as the IRT Briefs / expert-series page) ── */
.cdmo-pps-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: 60px 6rem;
	margin-bottom: 50px;
	position: relative;
	overflow: hidden;
}
.cdmo-pps-hero__content { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }
.cdmo-pps-hero__content h1 { color: #fff; font-size: 36px; line-height: 1.15; margin: 0 0 10px; }
.cdmo-pps-hero__content h2 { color: #fff; font-size: 24px; font-weight: 700; line-height: 1.3; margin: 0 0 16px; }
.cdmo-pps-hero__content p { color: #fff; font-size: 16px; line-height: 1.6; max-width: 920px; margin: 0; }

/* ── Card grid ── */
.cdmo-pps { max-width: 1180px; margin: 0 auto; padding: 0 20px 64px; }

.cdmo-pps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.cdmo-pcard {
	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;
}
.cdmo-pcard:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(17,22,29,.10); }
.cdmo-pcard__link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.cdmo-pcard__img { aspect-ratio: 16 / 9; overflow: hidden; background: #f1f3f5; }
.cdmo-pcard__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cdmo-pcard__body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.cdmo-pcard__cat {
	align-self: flex-start;
	font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
	color: #039be5; background: #e6f6fe; padding: 4px 10px; border-radius: 999px; margin-bottom: 10px;
}
.cdmo-pcard__title { font-size: 18px; line-height: 1.35; margin: 0 0 8px; }
.cdmo-pcard__excerpt { font-size: 14px; line-height: 1.55; color: #5b6470; margin: 0 0 14px; }
.cdmo-pcard__meta { margin-top: auto; font-size: 12.5px; color: #98a2b0; }

.cdmo-pps__empty {
	background: #f7f9fb; border: 1px solid #e7eaee; border-radius: 14px;
	padding: 40px; text-align: center; color: #4a5568; font-size: 16px;
}

@media (max-width: 900px) { .cdmo-pps__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
	.cdmo-pps-hero { padding: 40px 20px; }
	.cdmo-pps-hero__content h1 { font-size: 28px; }
	.cdmo-pps-hero__content h2 { font-size: 20px; }
}
@media (max-width: 600px) { .cdmo-pps__grid { grid-template-columns: 1fr; } }