/* Single article page */
.omi-movies-single-wrap {
	max-width: 800px;
	margin: 0 auto;
	padding: 24px 16px 60px;
}

.omi-movies-breadcrumb {
	font-size: 13px;
	color: #666;
	margin-bottom: 16px;
}
.omi-movies-breadcrumb a {
	color: #2271b1;
	text-decoration: none;
}

.omi-movies-single-header h1 {
	font-size: 32px;
	line-height: 1.25;
	margin: 0 0 10px;
}

.omi-movies-single-meta {
	font-size: 13px;
	color: #757575;
	margin-bottom: 20px;
}
.omi-movies-single-cat {
	background: #f0f0f0;
	padding: 2px 8px;
	border-radius: 4px;
	margin-left: 8px;
	text-transform: uppercase;
	font-size: 11px;
	font-weight: 600;
}

.omi-movies-single-featured {
	margin-bottom: 24px;
	border-radius: 8px;
	overflow: hidden;
}
.omi-movies-single-featured img {
	width: 100%;
	height: auto;
	display: block;
}

.omi-movies-single-content {
	font-size: 17px;
	line-height: 1.75;
}
.omi-movies-single-content h2 {
	font-size: 24px;
	margin: 36px 0 14px;
	padding-top: 8px;
	border-top: 1px solid #eee;
}
.omi-movies-single-content p {
	margin: 0 0 18px;
}
.omi-movies-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 6px;
}

/* Homepage / category grid (existing) */
.omi-movies-home-grid-wrap {
	max-width: 1300px;
	margin: 0 auto;
	padding: 24px 16px 48px;
}

.omi-movies-home-row {
	margin-bottom: 40px;
}

.omi-movies-home-row-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	margin-bottom: 14px;
}

.omi-movies-home-row-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0;
}

.omi-movies-home-row-viewall {
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	color: #2271b1;
	white-space: nowrap;
}

.omi-movies-home-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 20px;
}

/* On wide screens this naturally lands at ~5 columns; adjust the
   minmax() value above if you'd rather have exactly 4. */

.omi-movies-home-card {
	display: block;
	text-decoration: none;
	color: inherit;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0,0,0,0.08);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.omi-movies-home-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(0,0,0,0.14);
}

.omi-movies-home-card-thumb {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	background: #1a1a1a;
	overflow: hidden;
}

.omi-movies-home-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.omi-movies-home-card-noimg {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #2a2a2a, #444);
}

.omi-movies-home-card-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	background: rgba(20,20,20,0.85);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 3px 8px;
	border-radius: 4px;
}

.omi-movies-home-card-body {
	padding: 12px 14px 16px;
}

.omi-movies-home-card-title {
	font-size: 15px;
	line-height: 1.35;
	margin: 0 0 6px;
	font-weight: 600;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.omi-movies-home-card-date {
	font-size: 12px;
	color: #757575;
}

.omi-movies-home-pagination {
	margin-top: 32px;
	text-align: center;
}

.omi-movies-home-pagination .page-numbers {
	display: inline-block;
	padding: 6px 12px;
	margin: 0 3px;
	border-radius: 4px;
	background: #f0f0f0;
	text-decoration: none;
	color: inherit;
}

.omi-movies-home-pagination .page-numbers.current {
	background: #2271b1;
	color: #fff;
}

/* Responsive: fewer columns on smaller screens */
@media (max-width: 900px) {
	.omi-movies-home-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}
}
@media (max-width: 500px) {
	.omi-movies-home-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}
