/* 0.1.7.60 (JEB-1250): athlete preview cards (template-parts/fp-preview-cards.php) outside Woo screens.
   Copy of the product Athlete Stories card rules in shop.css (T773-T784); keep both in step. Additions marked +60. */
.jb-video-stories {
	margin: 1.25rem 0 1.75rem;
	padding: clamp(1.25rem, 1rem + 1.2vw, 2rem) 0;
}
.jb-video-stories__head {
	margin: 0 0 1rem;
	max-width: 42ch;
}
.jb-video-stories__headline {
	margin: 0.3rem 0 0;
	text-transform: uppercase;
}
.jb-video-stories__headline .jb-hl {
	color: #e85d04;
	background: none;
}
.jb-video-stories__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem 0.85rem;
	align-items: stretch;
}
.jb-video-story {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	height: 100%;
	max-width: 100%;
	padding: 0.55rem 0.55rem 0.7rem;
	background: rgba(10, 10, 10, 0.55);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: var(--jb-radius, 4px);
}
.jb-video-story__media {
	position: relative;
	margin: 0 0 0.5rem;
	width: 100%;
	max-width: 11.5rem;
	margin-inline: auto;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #0a0a0a;
	border-radius: 2px;
}
.jb-video-story__media .jb-video-story__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain; /* T778 — no face crop */
	object-position: center bottom;
	background: #0a0a0a;
}
.jb-video-story__media .jb-ph,
.jb-video-story__media .jb-ph__ini {
	width: 100%;
	height: 100%;
	min-height: 6rem;
	display: flex;
	align-items: center;
	justify-content: center;
}
.jb-video-story__name {
	margin: 0 0 0.25rem;
	font: 700 0.82rem/1.2 var(--jb-f-head, Oswald, Arial, sans-serif);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #e85d04; /* T784 — orange names on dark */
	text-align: center;
}
.jb-video-story__line {
	margin: 0 0 0.65rem;
	flex: 1 1 auto;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.78rem;
	line-height: 1.35;
	text-align: center;
}
.jb-video-story__view {
	width: 100%;
	justify-content: center;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	font-size: 0.7rem;
	min-height: 40px;
	padding: 0.45rem 0.5rem;
}
/* T784: never collapse to vertical full-width stack — 2×2 wrap on narrow */
@media (max-width: 1100px) {
	.jb-video-stories__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.jb-video-story__media { max-width: 10.5rem; }
}
@media (max-width: 560px) {
	.jb-video-stories__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.55rem 0.55rem;
	}
	.jb-video-story { padding: 0.45rem 0.4rem 0.55rem; }
	.jb-video-story__media { max-width: 8.5rem; }
	.jb-video-story__name { font-size: 0.72rem; }
	.jb-video-story__line { font-size: 0.7rem; }
}
/* +60: cover-cropped portraits (theme webp / featured image) use the entry focal point set inline. */
.jb-video-story__media .jb-video-story__img--cover { object-fit: cover; }
/* +60: licence credit (Chris Owens, CC BY-SA 2.0) under the name, as on the Featured Players card. */
.jb-video-story__credit { margin: 0 0 .35rem; color: rgba(255, 255, 255, .62); font-size: .62rem; line-height: 1.3; text-align: center; }
.jb-video-story__credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
/* +60: five cards in one row on wide screens; 3 + 2 / 2-up below, never a vertical stack. */
@media (min-width: 1101px) { .jb-fpc__grid--n5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 561px) and (max-width: 1100px) { .jb-fpc__grid--n5 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.jb-fpc .jb-video-stories__grid { margin: 0; }
