/* Video series reuses the site's shared container, colors and button styles. */
.hwayang-video-archive,
.hwayang-video-detail {
	background: #f8fafb;
	color: var(--wp--preset--color--ink);
	padding-block: clamp(2rem, 5vw, 4.5rem) 5rem;
}

.hwayang-video-breadcrumbs {
	align-items: center;
	color: var(--wp--preset--color--muted);
	display: flex;
	flex-wrap: wrap;
	font-size: .875rem;
	gap: .65rem;
	margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.hwayang-video-breadcrumbs a { color: inherit; text-decoration: none; }
.hwayang-video-breadcrumbs a:hover { color: var(--wp--preset--color--brand-orange); }
.hwayang-video-heading { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 800px; }
.hwayang-video-heading h1 { color: var(--wp--preset--color--navy); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; margin: 0 0 .65rem; overflow-wrap: anywhere; }
.hwayang-video-heading p { color: var(--wp--preset--color--muted); font-size: clamp(1rem, 1.5vw, 1.125rem); line-height: 1.8; margin: 0; }
.hwayang-video-heading time { color: var(--wp--preset--color--muted); font-size: .875rem; }
.hwayang-video-heading__eyebrow { color: var(--wp--preset--color--brand-orange) !important; font-weight: 700; margin-bottom: .55rem !important; }

.hwayang-video-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hwayang-video-card { background: #fff; border: 1px solid #e2e8ef; border-radius: .75rem; box-shadow: 0 8px 24px rgb(15 39 64 / 4%); min-width: 0; overflow: hidden; }
.hwayang-video-card__image { aspect-ratio: 4 / 3; background: #e8eef3; display: block; overflow: hidden; }
.hwayang-video-card__image img { display: block; height: 100%; object-fit: cover; width: 100%; }
.hwayang-video-card__body { display: flex; flex-direction: column; gap: .5rem; min-height: 15.5rem; padding: 1.15rem; }
.hwayang-video-card__episode { color: var(--wp--preset--color--brand-orange); font-size: .8125rem; font-weight: 700; }
.hwayang-video-card h2 { font-size: 1.125rem; line-height: 1.45; margin: 0; overflow-wrap: anywhere; }
.hwayang-video-card h2 a { color: var(--wp--preset--color--navy); text-decoration: none; }
.hwayang-video-card h2 a:hover { color: var(--wp--preset--color--brand-orange); }
.hwayang-video-card p { color: var(--wp--preset--color--muted); font-size: .875rem; line-height: 1.6; margin: 0; }
.hwayang-video-card time { color: var(--wp--preset--color--muted); font-size: .8125rem; margin-top: auto; }
.hwayang-video-card__actions { align-items: center; display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .45rem; }
.hwayang-video-card__actions .hwayang-button { font-size: .75rem; padding: .45rem .7rem; text-align: center; }
.hwayang-video-card__actions .hwayang-text-link { color: var(--wp--preset--color--navy); font-size: .8125rem; }
.hwayang-video-card__actions .hwayang-text-link:hover { color: var(--wp--preset--color--brand-orange); }
.hwayang-video-empty { background: #fff; border: 1px solid #e2e8ef; border-radius: .75rem; color: var(--wp--preset--color--muted); padding: 3rem; text-align: center; }
.hwayang-video-pagination { margin-top: 2.5rem; }
.hwayang-video-pagination ul { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; list-style: none; margin: 0; padding: 0; }
.hwayang-video-pagination a, .hwayang-video-pagination .current { border: 1px solid #d6dee6; border-radius: .375rem; display: inline-block; min-width: 2.5rem; padding: .5rem .7rem; text-align: center; text-decoration: none; }
.hwayang-video-pagination .current { background: var(--wp--preset--color--navy); color: #fff; }

.hwayang-video-detail__body { display: grid; gap: clamp(1.5rem, 4vw, 3rem); grid-template-columns: minmax(0, 1.45fr) minmax(16rem, .8fr); }
.hwayang-video-detail__cover { aspect-ratio: 4 / 3; background: #e8eef3; border-radius: .75rem; margin: 0; overflow: hidden; }
.hwayang-video-detail__cover img { display: block; height: 100%; object-fit: cover; width: 100%; }
.hwayang-video-detail__intro { align-self: center; }
.hwayang-video-detail__intro p { color: var(--wp--preset--color--muted); font-size: 1.0625rem; line-height: 1.85; margin: 0 0 1.5rem; }
.hwayang-video-detail__content, .hwayang-video-related { max-width: 800px; margin-top: clamp(2.5rem, 5vw, 4rem); }
.hwayang-video-detail__content h2, .hwayang-video-related h2 { color: var(--wp--preset--color--navy); font-size: clamp(1.4rem, 2vw, 1.75rem); }
.hwayang-video-detail__content { line-height: 1.85; overflow-wrap: anywhere; }
.hwayang-video-related ul { line-height: 1.8; padding-left: 1.4rem; }
.hwayang-video-related a, .hwayang-video-detail__navigation a { color: var(--wp--preset--color--navy); }
.hwayang-video-detail__navigation { border-top: 1px solid #dbe3eb; display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 3rem; padding-top: 1.5rem; }
.hwayang-video-detail__navigation a:last-child { margin-left: auto; }

.hwayang-home .hwayang-series__cta { cursor: pointer; }
.hwayang-home .hwayang-series-list__content a { text-decoration: none; }
.hwayang-home .hwayang-series-list__content a:hover strong { color: var(--wp--preset--color--brand-orange); }
.hwayang-home a.hwayang-series-list__play { position: relative; text-decoration: none; }
.hwayang-home a.hwayang-series-list__play::after { content: ''; inset: -.25rem; position: absolute; }
.hwayang-home a.hwayang-series-list__play:focus-visible { outline: 2px solid var(--wp--preset--color--navy); outline-offset: 3px; }
.hwayang-home .hwayang-series-list__empty { color: var(--wp--preset--color--muted); font-size: .875rem; line-height: 1.6; }

@media (max-width: 1023px) {
	.hwayang-video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hwayang-video-detail__body { grid-template-columns: 1fr; }
	.hwayang-video-detail__intro { max-width: 800px; }
}

@media (max-width: 600px) {
	.hwayang-video-grid { grid-template-columns: 1fr; }
	.hwayang-video-card__body { min-height: 0; }
	.hwayang-video-detail__navigation a:last-child { margin-left: 0; }
}
