/**
 * Partner Video Hub
 *
 * Palette borrowed from the existing brand CSS: #1f4a85 / #214d8a navy.
 */

/* ---------- curated grid ---------- */

.pvh-grid {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	margin: 0 0 10px;
}

@media (min-width: 690px) {
	.pvh-grid--cols-2,
	.pvh-grid--cols-3,
	.pvh-grid--cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
	.pvh-grid--cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.pvh-grid--cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.pvh-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
	transition: transform .18s ease, box-shadow .18s ease;
}

.pvh-card:hover,
.pvh-card:focus-within {
	transform: translateY(-3px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, .13);
}

.pvh-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 5;
	background: #eef2f7;
	overflow: hidden;
}

.pvh-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Play affordance. The card links to the watch page, not straight to video. */
.pvh-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 58px;
	height: 58px;
	margin: -29px 0 0 -29px;
	border-radius: 50%;
	background: rgba(31, 74, 133, .88);
	pointer-events: none;
}

.pvh-card__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 52%;
	transform: translate(-50%, -50%);
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent #fff;
}

.pvh-card__body { padding: 18px 20px 22px; }

.pvh-card__title {
	margin: 0 0 8px;
	font-size: 19px;
	line-height: 1.3;
}

.pvh-card__title a { color: #1f4a85; text-decoration: none; }
.pvh-card__title a:hover { text-decoration: underline; }

.pvh-card__excerpt {
	margin: 0 0 10px;
	font-size: 15px;
	line-height: 1.55;
}

.pvh-card__credit { margin: 0; font-size: 14px; opacity: .8; }

/* ---------- single watch page ---------- */

.pvh-watch { width: 100%; }

.pvh-watch__header { margin-bottom: 26px; }

.pvh-watch__title { margin: 0 0 6px; }

.pvh-watch__credit { margin: 0; font-size: 16px; opacity: .85; }

.pvh-watch__layout {
	display: grid;
	gap: 40px;
	grid-template-columns: minmax(0, 1fr);
	align-items: start;
}

@media (min-width: 900px) {
	.pvh-watch__layout { grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); }
}

/*
 * Instagram's embed does not self-size and the iframe carries no intrinsic
 * ratio. A fixed-ratio box keeps cumulative layout shift at zero. The captioned
 * variant is roughly 4:5 media plus a constant band of header/caption chrome,
 * which 3:2 accommodates without clipping.
 */
.pvh-embed {
	position: relative;
	width: 100%;
	padding-top: 150%;
	border-radius: 10px;
	overflow: hidden;
	background: #eef2f7;
}

.pvh-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}


.pvh-watch__cta { margin: 16px 0 0; text-align: center; }

.pvh-watch__link {
	display: inline-block;
	padding: 11px 22px;
	border-radius: 6px;
	background: #1f4a85;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
}

.pvh-watch__link:hover { background: #16386a; }

.pvh-watch__copy { font-size: 17px; line-height: 1.65; }

.pvh-watch__follow {
	margin-top: 22px;
	padding: 14px 18px;
	border-left: 4px solid #1f4a85;
	background: #f4f7fb;
}

.pvh-watch__back { margin-top: 26px; }

/* ---------- watch page navigation ---------- */

.pvh-watch__nav-top {
	margin: 0 0 18px;
	font-size: 15px;
}

.pvh-watch__nav-top a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 8px 15px;
	border: 1px solid #d3dceb;
	border-radius: 6px;
	background: #f4f7fb;
	color: #1f4a85;
	text-decoration: none;
	font-weight: 600;
}

.pvh-watch__nav-top a:hover {
	background: #1f4a85;
	border-color: #1f4a85;
	color: #fff;
}

.pvh-pager {
	display: grid;
	gap: 14px;
	grid-template-columns: 1fr;
	margin-top: 34px;
	padding-top: 24px;
	border-top: 1px solid #e3e9f2;
}

@media (min-width: 700px) {
	.pvh-pager { grid-template-columns: 1fr 1fr; }
}

.pvh-pager__link {
	display: block;
	padding: 14px 18px;
	border: 1px solid #e3e9f2;
	border-radius: 8px;
	color: #1f4a85;
	text-decoration: none;
	transition: border-color .15s ease, background .15s ease;
}

.pvh-pager__link:hover { border-color: #1f4a85; background: #f4f7fb; }

.pvh-pager__link--next { text-align: right; }

.pvh-pager__dir {
	display: block;
	font-size: 13px;
	letter-spacing: .04em;
	text-transform: uppercase;
	opacity: .65;
	margin-bottom: 3px;
}

.pvh-pager__name { display: block; font-weight: 600; line-height: 1.35; }

.pvh-watch__back { margin-top: 26px; text-align: center; }

.pvh-watch__back a {
	display: inline-block;
	padding: 11px 24px;
	border-radius: 6px;
	background: #1f4a85;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
}

.pvh-watch__back a:hover { background: #16386a; }
