/*
Theme Name: باران شب
Theme URI: https://downloadvision.ir/
Author: باران فیلم
Description: قالب باران شب برای فیلم و سریال
Version: 1.0.2
Text Domain: baran
*/

:root {
	--night: #070a10;
	--sky: #10182a;
	--panel: #10151f;
	--ink: #f4efe4;
	--muted: #b7ab96;
	--amber: #e7b84a;
	--glow: #ffe08a;
	--wood: #140f08;
	--line: #2c384c;
}

* { box-sizing: border-box; }
body {
	margin: 0;
	background: var(--night);
	color: var(--ink);
	font-family: Tahoma, sans-serif;
	line-height: 1.75;
}
a { color: var(--glow); }
img { max-width: 100%; height: auto; }
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
}

.scene { position: relative; overflow: hidden; background: #05070d; }
.sky {
	position: relative;
	min-height: 230px;
	padding: 26px 16px 18px;
	background:
		radial-gradient(circle at 18% 0%, rgba(231, 184, 74, .38), transparent 28%),
		linear-gradient(#070b16 0%, #152238 70%, #0c121c 100%);
}
.rain {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.lamp {
	position: absolute;
	top: 0;
	right: 7%;
	width: 70px;
	height: 150px;
	pointer-events: none;
}
.sign {
	position: relative;
	z-index: 1;
	max-width: 760px;
	margin: 28px auto 0;
	background: var(--wood);
	border: 3px solid #4a3814;
	box-shadow: 0 0 28px rgba(231, 184, 74, .28), 0 18px 28px rgba(0, 0, 0, .5);
}
.bulbs {
	height: 12px;
	background-image: radial-gradient(circle, #fff4cc 1.4px, #e7b84a 2.2px, transparent 2.8px);
	background-size: 16px 12px;
	background-repeat: repeat-x;
	background-position: center;
}
.awning {
	height: 14px;
	background: repeating-linear-gradient(90deg, #7a2433 0 16px, #3c121a 16px 22px);
}
.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px 10px;
	text-decoration: none;
	color: inherit;
}
.logo { width: 68px; height: 60px; flex: 0 0 68px; }
.brand-name {
	display: block;
	color: var(--glow);
	font-size: 34px;
	line-height: 1.25;
	text-shadow: 0 0 14px rgba(255, 214, 110, .65);
}
.brand-desc { display: block; color: #d9c59a; font-size: 14px; margin-top: 2px; }
.wet {
	position: relative;
	height: 58px;
	overflow: hidden;
	background:
		linear-gradient(180deg, rgba(231, 184, 74, .22), transparent 62%),
		linear-gradient(#141b28, #0b0e14);
}
.puddle {
	display: block;
	text-align: center;
	color: rgba(255, 224, 138, .32);
	font-size: 30px;
	line-height: 1.1;
	transform: scaleY(-1);
	filter: blur(.6px);
}
.nav-wrap {
	position: relative;
	background: #0c1018;
	border-top: 1px solid #2a2416;
	padding: 0 16px;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 4px; }
.nav a {
	color: #f3e6c8;
	text-decoration: none;
	padding: 11px 12px;
	display: inline-block;
}
.nav a.on { color: var(--amber); box-shadow: inset 0 -2px 0 var(--amber); }

.layout {
	display: flex;
	flex-direction: row;
	gap: 22px;
	max-width: 1140px;
	margin: 0 auto;
	padding: 22px 16px 36px;
}
main { flex: 1 1 auto; min-width: 0; }
.side { width: 300px; flex: 0 0 300px; }

.poster {
	display: flex;
	background: var(--panel);
	border: 1px solid #4a3814;
	box-shadow: 0 12px 0 #05070c;
	margin-bottom: 16px;
}
.poster-art {
	width: 42%;
	min-height: 220px;
	background:
		linear-gradient(160deg, rgba(231, 184, 74, .2), transparent 40%),
		#0c121c;
	display: block;
	overflow: hidden;
}
.poster-art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.poster-copy { flex: 1; padding: 18px 18px 16px; }
.kicker { color: var(--amber); font-size: 13px; }
.poster h2 { margin: 8px 0 14px; font-size: 26px; line-height: 1.5; }
.poster h2 a { color: var(--ink); text-decoration: none; }
.go {
	display: inline-block;
	background: var(--amber);
	color: #1a1408;
	text-decoration: none;
	padding: 8px 16px;
	border-radius: 2px 14px 2px 14px;
	font-weight: bold;
}

.card {
	display: flex;
	align-items: stretch;
	background: var(--panel);
	border: 1px solid var(--line);
	border-right: 4px solid var(--amber);
	padding: 0;
	margin-bottom: 10px;
	overflow: hidden;
}
.card-art {
	width: 156px;
	flex: 0 0 156px;
	background: #0c121c;
	display: block;
	overflow: hidden;
}
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 104px; }
.card-copy { padding: 12px 14px; flex: 1; min-width: 0; }
.card h3 { margin: 4px 0; font-size: 18px; line-height: 1.55; }
.card h3 a { color: var(--ink); text-decoration: none; }
.meta { color: var(--muted); font-size: 13px; }

.side .box, .side .widget {
	background: #121826;
	border: 1px solid var(--line);
	margin: 0 0 14px;
}
.widget-title {
	margin: 0;
	padding: 8px 12px;
	background: var(--wood);
	color: var(--amber);
	font-size: 15px;
	font-weight: normal;
	border-bottom: 1px solid #5c481c;
}
.side ul { margin: 0; padding: 8px 16px 12px 12px; }
.side li { margin: 4px 0; }
.side a { color: #f0e6d2; text-decoration: none; }
.side .search-form, .widget_search form { display: flex; gap: 6px; padding: 10px; }
.side input[type="search"], .widget_search input[type="search"] {
	flex: 1;
	min-width: 0;
	background: #0c1018;
	color: var(--ink);
	border: 1px solid #3a4658;
	padding: 8px;
}
.side input[type="submit"], .widget_search input[type="submit"] {
	background: var(--amber);
	color: #1a1408;
	border: 0;
	padding: 8px 10px;
	cursor: pointer;
}
.behtarinseo { padding: 10px 12px 12px; }
.behtarinseo img { max-width: 100%; height: auto; }

.page-head h1, .entry-title { color: var(--glow); line-height: 1.45; }
.entry {
	background: var(--panel);
	border: 1px solid var(--line);
	padding: 16px 18px 22px;
}
.entry-thumb { margin: 10px 0 14px; }
.entry-content { color: var(--ink); overflow-wrap: anywhere; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.page-numbers {
	color: var(--ink);
	text-decoration: none;
	padding: 4px 9px;
	border: 1px solid #3a4658;
}
.page-numbers.current { background: var(--amber); color: #1a1408; }
input, textarea {
	background: #0c1018;
	color: var(--ink);
	border: 1px solid #3a4658;
	padding: 8px;
}
.site-footer {
	color: #9a907c;
	text-align: center;
	padding: 8px 12px 28px;
	font-size: 13px;
}

@media (max-width: 800px) {
	.brand-name { font-size: 26px; }
	.sky { min-height: 0; padding-top: 16px; }
	.nav-btn {
		display: inline-flex;
		width: 46px;
		height: 42px;
		margin: 8px 0;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		background: var(--wood);
		border: 1px solid #5c481c;
	}
	.nav-btn span, .nav-btn span:before, .nav-btn span:after {
		display: block;
		width: 18px;
		height: 2px;
		background: var(--amber);
		position: relative;
	}
	.nav-btn span:before, .nav-btn span:after { content: ""; position: absolute; right: 0; }
	.nav-btn span:before { top: -6px; }
	.nav-btn span:after { top: 6px; }
	.nav { display: none; width: 100%; flex-direction: column; padding-bottom: 8px; }
	.nav-toggle:checked ~ .nav { display: flex; }
	.layout { flex-direction: column; }
	.side { width: auto; flex-basis: auto; }
	.poster { flex-direction: column; }
	.poster-art, .poster-art img { width: 100%; min-height: 180px; }
	.poster h2, .entry-title { font-size: 22px; }
	.card-art, .card-art img { width: 112px; flex-basis: 112px; min-height: 88px; }
}
