/**
 * Single Movie Template Styles
 *
 * Vanilla CSS styles for the theme's single-movie.php template.
 * Replaces the Tailwind utility classes that were never compiled into style.css.
 *
 * Design tokens:
 * - coal-50:  #F5F8FA (page background)
 * - coal-100: #DDE5EB
 * - coal-500: #8597A5 (meta text)
 * - coal-700: #566977
 * - coal-800: #41525F (body text)
 * - coal-900: #232E36 (headings)
 * - Primary accent: rgb(var(--white-rabbit--preset--color-primary))
 */

.movie-single {
	width: 100%;
	min-width: 0;
}

/* Card */

.movie-card {
	width: 100%;
	margin: 0 0 16px;
	padding: 16px;
	background-color: #ffffff;
	border-radius: 12px;
	box-sizing: border-box;
}

@media (min-width: 1024px) {
	.movie-card {
		padding: 24px;
	}
}

/* Video Player (16:9) */

.movie-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	margin: 0 0 16px;
	background-color: #000000;
	border-radius: 12px;
	overflow: hidden;
}

.movie-player iframe {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Poster (featured image fallback) */

.movie-poster {
	margin: 0 0 16px;
	border-radius: 12px;
	overflow: hidden;
}

.movie-poster img {
	display: block;
	width: 100%;
	height: auto;
}

/* Title */

.movie-title {
	width: 100%;
	margin: 0 0 8px;
	font-size: 24px;
	font-weight: 500;
	line-height: 1.25;
	color: #232E36; /* coal-900 */
}

@media (min-width: 1024px) {
	.movie-title {
		font-size: 30px;
	}
}

/* Meta */

.movie-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 16px;
	font-size: 14px;
	color: #8597A5; /* coal-500 */
}

/* Content Typography */

.movie-content {
	font-size: 16px;
	line-height: 1.7;
	color: #41525F; /* coal-800 */
	word-wrap: break-word;
}

.movie-content p {
	margin: 0 0 16px;
}

.movie-content h1,
.movie-content h2,
.movie-content h3,
.movie-content h4,
.movie-content h5,
.movie-content h6 {
	margin: 24px 0 12px;
	font-weight: 500;
	line-height: 1.3;
	color: #232E36; /* coal-900 */
}

.movie-content h1 {
	font-size: 28px;
}

.movie-content h2 {
	font-size: 24px;
}

.movie-content h3 {
	font-size: 20px;
}

.movie-content h4 {
	font-size: 18px;
}

.movie-content h5,
.movie-content h6 {
	font-size: 16px;
}

.movie-content a {
	color: rgb(var(--white-rabbit--preset--color-primary));
	text-decoration: underline;
}

.movie-content a:hover {
	color: rgb(var(--white-rabbit--preset--color-primary-hover));
}

.movie-content a:active {
	color: rgb(var(--white-rabbit--preset--color-primary-active));
}

.movie-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
}

.movie-content ul,
.movie-content ol {
	margin: 0 0 16px;
	padding-left: 24px;
}

.movie-content ul {
	list-style: disc;
}

.movie-content ol {
	list-style: decimal;
}

.movie-content li {
	margin-bottom: 4px;
}

.movie-content blockquote {
	margin: 0 0 16px;
	padding: 4px 0 4px 16px;
	border-left: 3px solid rgb(var(--white-rabbit--preset--color-primary));
	color: #566977; /* coal-700 */
}

.movie-content iframe,
.movie-content video {
	max-width: 100%;
}

/* Comments */

.movie-comments-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #232E36; /* coal-900 */
}

@media (min-width: 1024px) {
	.movie-comments-title {
		font-size: 24px;
	}
}

/* The theme comments template prints its own "Discussion" title;
   the "Film Yorumları" heading above replaces it on this template. */

.movie-comments .comments-area > h3.comments-title {
	display: none;
}
