/* AE Watch Pages — minimal, theme-friendly styles. */

.ae-watch {
	max-width: 900px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.ae-watch__title {
	margin: 0 0 1rem;
	line-height: 1.2;
}

.ae-watch__meta {
	margin: 0 0 1rem;
	font-size: 0.9rem;
	opacity: 0.75;
}

.ae-watch__sep {
	opacity: 0.5;
}

.ae-watch__terms {
	margin: 1.5rem 0;
	font-size: 0.9rem;
}

.ae-watch__terms-group + .ae-watch__terms-group {
	margin-top: 0.5rem;
}

.ae-watch__terms-label {
	font-weight: 600;
	margin-right: 0.35rem;
}

.ae-watch-term {
	display: inline-block;
	padding: 0.15rem 0.55rem;
	margin: 0.15rem 0.2rem 0.15rem 0;
	background: rgba(0, 0, 0, 0.06);
	border-radius: 999px;
	text-decoration: none;
	line-height: 1.5;
}

a.ae-watch-term:hover,
a.ae-watch-term:focus {
	background: rgba(0, 0, 0, 0.12);
}

.ae-watch__transcript-lang {
	font-weight: 400;
	opacity: 0.7;
}

.ae-watch__player {
	position: relative;
	width: 100%;
	padding-top: 56.25%; /* 16:9 */
	background: #000;
	margin-bottom: 1.25rem;
}

.ae-watch__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ae-watch__description {
	margin-bottom: 1.5rem;
}

.ae-watch__featured ul {
	margin: 0;
	padding-left: 1.2rem;
}

.ae-watch__transcript {
	margin-top: 1.5rem;
}

.ae-watch__transcript summary {
	cursor: pointer;
	font-weight: 600;
}

.ae-watch__transcript-body {
	margin-top: 0.75rem;
	max-height: 420px;
	overflow: auto;
	padding: 0.75rem 1rem;
	background: rgba(0, 0, 0, 0.03);
	border-radius: 4px;
}

/* Archive grid */
.ae-watch-archive {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1.5rem 1rem;
}

.ae-watch-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.25rem;
}

.ae-watch-card__link {
	display: block;
	text-decoration: none;
}

.ae-watch-card__thumb {
	display: block;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
	border-radius: 6px;
}

.ae-watch-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ae-watch-card__title {
	display: block;
	margin-top: 0.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.ae-watch-pagination {
	margin-top: 2rem;
	text-align: center;
}

.ae-watch-pagination .page-numbers {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	margin: 0 0.15rem;
}
