/* Sratim LIVE — RTL cinematic theme, no plugins. */
:root {
	--canvas: #0b0c10;
	--canvas-2: #11131a;
	--surface: #16181f;
	--surface-2: #1e212b;
	--gold: #e8b84a;
	--gold-dim: #b8892a;
	--text: #f4f1ea;
	--muted: #a8a29a;
	--line: rgba(232, 184, 74, 0.22);
	--danger: #c45c5c;
	--radius: 14px;
	--shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
	--font: Heebo, Assistant, "IBM Plex Sans Hebrew", "Arial Hebrew", Arial, sans-serif;
	--max: 1180px;
	--narrow: 760px;
	--header-h: 76px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
	direction: rtl;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(1200px 500px at 80% -10%, rgba(232, 184, 74, 0.08), transparent 50%),
		linear-gradient(180deg, var(--canvas-2), var(--canvas) 28%);
	background-color: var(--canvas);
	color: var(--text);
	font-family: var(--font);
	font-size: 1.05rem;
	line-height: 1.75;
	min-height: 100vh;
}

img,
video,
iframe { max-width: 100%; height: auto; }

a { color: var(--gold); text-decoration: none; }
a:hover { color: #f3d27a; text-decoration: underline; }

.wrap { width: min(var(--max), calc(100% - 2.4rem)); margin-inline: auto; }
.wrap.narrow,
.site-main.narrow { width: min(var(--narrow), calc(100% - 2.4rem)); }

.skip-link {
	position: absolute;
	inset-block-start: -100px;
	inset-inline-start: 1rem;
	background: var(--gold);
	color: #1a1406;
	padding: 0.5rem 1rem;
	z-index: 1000;
}
.skip-link:focus { inset-block-start: 0.5rem; }

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

/* Header */
.site-header {
	position: sticky;
	inset-block-start: 0;
	z-index: 50;
	background: rgba(11, 12, 16, 0.92);
	backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--line);
}

.header-inner {
	width: min(var(--max), calc(100% - 2.4rem));
	margin-inline: auto;
	min-height: var(--header-h);
	display: flex;
	align-items: center;
	gap: 1.25rem;
	flex-wrap: wrap;
	padding-block: 0.6rem;
}

.brand { display: flex; align-items: center; gap: 0.75rem; margin-inline-end: auto; }
.custom-logo-link img { display: block; max-height: 48px; width: auto; }

.site-title {
	display: inline-flex;
	align-items: baseline;
	gap: 0.35rem;
	font-weight: 800;
	letter-spacing: 0.01em;
	color: var(--text);
	text-decoration: none;
	font-size: 1.55rem;
	line-height: 1;
}
.site-title:hover { color: var(--text); text-decoration: none; }
.site-title__mark { color: var(--text); }
.site-title__live {
	color: #1a1406;
	background: var(--gold);
	font-size: 0.72em;
	padding: 0.12em 0.42em 0.08em;
	border-radius: 4px;
	letter-spacing: 0.06em;
}

.primary-nav .menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.primary-nav a {
	color: var(--text);
	font-weight: 500;
	padding: 0.25rem 0;
	text-decoration: none;
	border-bottom: 2px solid transparent;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current-menu-parent > a {
	color: var(--gold);
	border-bottom-color: var(--gold);
	text-decoration: none;
}

.nav-toggle-btn {
	display: none;
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 8px;
	cursor: pointer;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 5px;
	background: transparent;
}
.nav-toggle-btn span {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--text);
}

.search-form { display: flex; gap: 0.35rem; }
.search-field {
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	min-width: 12rem;
	font-family: inherit;
}
.search-field:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.search-submit {
	background: var(--gold);
	color: #1a1406;
	border: 0;
	border-radius: 999px;
	padding: 0.4rem 0.9rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
}
.search-submit:hover { background: #f3d27a; }

/* Hero */
.hero {
	padding: 4.5rem 0 3.5rem;
	background:
		linear-gradient(180deg, rgba(232, 184, 74, 0.07), transparent 60%),
		repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255,255,255,0.012) 8px, rgba(255,255,255,0.012) 9px);
	border-bottom: 1px solid var(--line);
}
.hero-kicker {
	color: var(--gold);
	text-transform: none;
	font-weight: 700;
	letter-spacing: 0.08em;
	margin: 0 0 0.6rem;
	font-size: 0.92rem;
}
.hero-title {
	font-size: clamp(2rem, 4.6vw, 3.4rem);
	line-height: 1.2;
	margin: 0 0 1rem;
	font-weight: 800;
	max-width: 18ch;
}
.hero-lead {
	max-width: 52ch;
	color: var(--muted);
	margin: 0 0 1.6rem;
	font-size: 1.12rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.25rem;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none !important;
	transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1a1406 !important; }
.btn-gold:hover { background: #f3d27a; }
.btn-ghost { background: transparent; color: var(--text) !important; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold) !important; }

/* Sections + cards */
.section { padding: 3rem 0; }
.section-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
}
.section-head h2 { margin: 0; font-size: 1.55rem; }
.section-more { font-weight: 600; }

.trailer-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.15rem;
}

.trailer-card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	min-width: 0;
	transition: transform 0.18s ease, border-color 0.18s ease;
}
.trailer-card:hover {
	transform: translateY(-3px);
	border-color: var(--gold);
}
.trailer-card__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--surface-2);
	text-decoration: none;
	overflow: hidden;
}
.trailer-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.trailer-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	font-size: 3rem;
	font-weight: 800;
	color: var(--gold);
}
.trailer-card__badge {
	position: absolute;
	inset-block-start: 0.6rem;
	inset-inline-start: 0.6rem;
	background: rgba(11, 12, 16, 0.86);
	color: var(--gold);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.5rem;
	border-radius: 999px;
	border: 1px solid var(--line);
}
.trailer-card__body { padding: 0.9rem 1rem 1.1rem; }
.card-cats { display: block; font-size: 0.8rem; color: var(--muted); margin-bottom: 0.25rem; }
.card-cats a { color: var(--muted); }
.trailer-card__title { margin: 0 0 0.35rem; font-size: 1.05rem; line-height: 1.35; }
.trailer-card__title a { color: var(--text); text-decoration: none; }
.trailer-card__title a:hover { color: var(--gold); }
.trailer-card__excerpt {
	margin: 0;
	color: var(--muted);
	font-size: 0.92rem;
	line-height: 1.55;
}

.cat-cards {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 0.8rem;
	margin: 0;
	padding: 0;
}
.cat-card {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 92px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: var(--text);
	font-weight: 700;
	text-decoration: none !important;
}
.cat-card:hover { border-color: var(--gold); color: var(--gold); }

.cta-band,
.legal-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) + 4px);
	padding: 1.6rem 1.8rem;
}
.cta-band h2,
.legal-band h2 { margin: 0 0 0.35rem; }
.cta-band p,
.legal-band p { margin: 0; color: var(--muted); }
.legal-band { flex-direction: column; align-items: flex-start; margin-bottom: 3rem; }

/* Entry */
.page-header { padding: 2.4rem 0 1.2rem; }
.page-title { margin: 0 0 0.6rem; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.25; }
.kicker { color: var(--gold); font-weight: 700; margin: 0 0 0.3rem; }
.archive-description { color: var(--muted); }
.archive-description p:first-child { margin-top: 0; }

.single-entry { padding: 2.4rem 0 2rem; }
.entry-title { margin: 0.2rem 0 0.5rem; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.25; }
.entry-meta { color: var(--muted); margin: 0 0 1.4rem; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2,
.entry-content h3 { line-height: 1.3; }
.entry-content .wp-block-embed,
.entry-content iframe {
	width: 100%;
	border-radius: var(--radius);
	overflow: hidden;
	background: #000;
}
.entry-content .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; }
.entry-content .wp-block-embed__wrapper iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}
.album-links { color: var(--muted); }
.empty-state { padding: 1rem 0 3rem; color: var(--muted); }

.post-nav { border-top: 1px solid var(--line); padding: 1.2rem 0 2rem; }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 1rem; }
.post-nav span { display: block; color: var(--muted); font-size: 0.85rem; }

/* Comments */
.comments-area {
	border-top: 1px solid var(--line);
	padding: 2rem 0 3rem;
}
.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-list .comment { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.comment-form label { display: block; font-weight: 600; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--line);
	color: var(--text);
	border-radius: 10px;
	padding: 0.55rem 0.8rem;
	font-family: inherit;
}
.comment-form .submit {
	background: var(--gold);
	color: #1a1406;
	border: 0;
	border-radius: 999px;
	padding: 0.65rem 1.2rem;
	font-weight: 700;
	font-family: inherit;
	cursor: pointer;
}

/* Pagination */
.pagination,
.nav-links.wp-pagination,
.navigation.pagination .nav-links {
	display: flex;
	gap: 0.4rem;
	justify-content: center;
	padding: 2rem 0;
}
.page-numbers {
	display: inline-flex;
	min-width: 2.2rem;
	height: 2.2rem;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 8px;
	color: var(--text);
	padding: 0 0.5rem;
	text-decoration: none;
}
.page-numbers.current,
.page-numbers:hover { border-color: var(--gold); color: var(--gold); }

/* Footer */
.site-footer {
	border-top: 1px solid var(--line);
	padding: 2.4rem 0 2rem;
	background: #08090c;
}
.footer-inner {
	width: min(var(--max), calc(100% - 2.4rem));
	margin-inline: auto;
	display: flex;
	justify-content: space-between;
	gap: 2rem;
	flex-wrap: wrap;
	margin-bottom: 1.4rem;
}
.footer-tagline { color: var(--muted); margin: 0.4rem 0 0; max-width: 36ch; }
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: 0.8rem 1.2rem; list-style: none; margin: 0; padding: 0; }
.footer-nav a { color: var(--text); }
.footer-legal {
	width: min(var(--max), calc(100% - 2.4rem));
	margin: 0 auto;
	color: var(--muted);
	font-size: 0.88rem;
}

/* Block content polish */
.entry-content .wp-block-quote {
	border-inline-start: 3px solid var(--gold);
	margin-inline: 0;
	padding-inline-start: 1rem;
	color: var(--muted);
}

/* Responsive */
@media (max-width: 1024px) {
	.trailer-grid { grid-template-columns: repeat(3, 1fr); }
	.cat-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
	.header-search { width: 100%; order: 5; }
	.search-field { flex: 1; min-width: 0; }
	.nav-toggle-btn { display: inline-flex; }
	.primary-nav {
		display: none;
		width: 100%;
		order: 4;
		padding-block: 0.4rem 0.8rem;
	}
	.nav-toggle:checked ~ .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; gap: 0.35rem; }
	.trailer-grid { grid-template-columns: repeat(2, 1fr); }
	.cta-band { flex-direction: column; align-items: flex-start; }
	.hero { padding: 3rem 0 2.4rem; }
}

@media (max-width: 560px) {
	.trailer-grid,
	.cat-cards { grid-template-columns: 1fr; }
}

/* Title info pages (page-title.php) */
.title-entry .trailer-embed { position: relative; aspect-ratio: 16 / 9; margin: 0 0 1.5rem; }
.title-entry .trailer-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.title-entry .trailer-pending, .title-entry .legal-note { font-size: .95rem; opacity: .85; }
