/*
Theme Name: صف مصاحبه
Theme URI: https://tabletvitrin.ir/
Author: استخدام ایران
Description: راهروی انتظار و تخته نوبت برای اخبار استخدام
Version: 1.0.1
Text Domain: saf
*/

:root {
	--wall: #1a3330;
	--ink: #14382c;
	--amber: #c9842a;
	--glow: #f0d7a8;
	--ticket: #e5efe8;
	--floor: #5f7f74;
	--board: #143028;
}

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

.hall {
	position: relative;
	min-height: 280px;
	overflow: hidden;
	background: linear-gradient(#142824 0%, #2a4a40 70%, #6d5a45 70%);
}
.hall-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.plate {
	position: absolute;
	z-index: 1;
	top: 28px;
	right: 8%;
	background: linear-gradient(#e3ebe6, #c5d4cc);
	border: 3px solid var(--ink);
	box-shadow: 0 10px 0 rgba(0, 0, 0, .2);
}
.plate:before,
.plate:after {
	content: "";
	position: absolute;
	top: -16px;
	width: 12px;
	height: 14px;
	border: 3px solid #9aa7a2;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
}
.plate:before { right: 18px; }
.plate:after { left: 18px; }
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 14px;
	text-decoration: none;
	color: var(--ink);
}
.logo { width: 64px; height: 64px; flex: 0 0 64px; }
.brand-name {
	display: block;
	font-size: 30px;
	line-height: 1.25;
	color: var(--ink);
	font-weight: bold;
}
.brand-desc { display: block; color: #3d5c50; font-size: 14px; margin-top: 2px; }

.nav-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: var(--ink);
	padding: 0 16px;
}
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn { display: none; }
.nav { display: flex; flex-wrap: wrap; }
.nav a {
	color: #e7f2eb;
	text-decoration: none;
	padding: 11px 14px;
	display: inline-block;
}
.nav a.on { background: var(--amber); color: #1a120e; }

.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; }

.door {
	display: flex;
	background: #2a211c;
	border: 8px solid #1a120e;
	margin-bottom: 16px;
	position: relative;
	overflow: hidden;
}
.door:before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 14px;
	background: linear-gradient(#f0c27a, var(--amber));
}
.door-art {
	width: 46%;
	min-height: 220px;
	display: block;
	overflow: hidden;
	background: #d5e0d4;
}
.door-art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.door-copy {
	flex: 1;
	padding: 18px 18px 18px 26px;
	background: linear-gradient(#f0d7a8, #e4c48a);
}
.kicker { color: #8a3e12; font-size: 13px; font-weight: bold; }
.door h2 { margin: 6px 0 12px; font-size: 26px; line-height: 1.5; }
.door h2 a { color: var(--ink); text-decoration: none; }
.go {
	display: inline-block;
	background: var(--amber);
	color: #1a120e;
	text-decoration: none;
	padding: 8px 14px;
	font-weight: bold;
}

.card {
	display: flex;
	align-items: stretch;
	background-color: var(--ticket);
	background-image: radial-gradient(circle at 0 14px, var(--floor) 5px, transparent 6px);
	background-size: 100% 28px;
	border-right: 5px solid var(--ink);
	margin: 0 0 12px;
	overflow: hidden;
}
.card-art { width: 148px; flex: 0 0 148px; display: block; overflow: hidden; background: #c5d4cc; }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 96px; }
.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: #3d5c50; font-size: 13px; }

.side {
	background: var(--board);
	border: 4px solid #0e241f;
	box-shadow: inset 0 0 0 1px #3d6a5c;
	padding: 12px;
	color: #e7f2eb;
	counter-reset: ticket;
}
.side .box, .side .widget { margin: 0 0 14px; }
.widget-title {
	counter-increment: ticket;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 7px 8px;
	background: #10241f;
	color: #f4efe6;
	font-size: 15px;
	border-bottom: 3px solid var(--amber);
}
.widget-title:before {
	content: counter(ticket);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	background: #f4efe6;
	color: var(--ink);
	font-weight: bold;
	border: 1px dashed var(--ink);
	flex: 0 0 auto;
}
.side ul { margin: 0; padding: 8px 16px 12px 12px; }
.side li { margin: 4px 0; }
.side a { color: var(--glow); 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: #0e241f;
	color: #f4efe6;
	border: 1px solid #3d6a5c;
	padding: 8px;
}
.side input[type="submit"], .widget_search input[type="submit"] {
	background: var(--amber);
	color: #1a120e;
	border: 0;
	padding: 8px 10px;
	cursor: pointer;
}
.behtarinseo { padding: 10px 12px 4px; }
.behtarinseo img { max-width: 100%; height: auto; }

.page-head h1, .entry-title { color: var(--ink); line-height: 1.45; }
.entry {
	background: #e7f0ea;
	border-right: 8px solid #1a120e;
	padding: 16px 18px 22px;
}
.entry-thumb { margin: 10px 0 14px; }
.entry-content { 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 var(--ink);
	background: var(--ticket);
}
.page-numbers.current { background: var(--amber); color: #1a120e; border-color: var(--amber); }
input, textarea {
	background: #fff;
	color: var(--ink);
	border: 1px solid #3d6a5c;
	padding: 8px;
}
.site-footer {
	color: #e7f2eb;
	text-align: center;
	padding: 4px 12px 28px;
	font-size: 13px;
}

@media (max-width: 800px) {
	.hall { min-height: 0; overflow: visible; }
	.nav-wrap { position: relative; }
	.hall-art { position: relative; height: 160px; }
	.plate { position: relative; top: auto; right: auto; margin: -48px 16px 16px; }
	.brand-name { font-size: 24px; }
	.nav-btn {
		display: inline-flex;
		width: 46px;
		height: 42px;
		margin: 8px 0;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		background: #0e241f;
	}
	.nav-btn span, .nav-btn span:before, .nav-btn span:after {
		display: block;
		width: 18px;
		height: 2px;
		background: #e7f2eb;
		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-btn .screen-reader-text {
		width: 1px;
		height: 1px;
		clip: rect(0, 0, 0, 0);
	}
	.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; }
	.door { flex-direction: column; }
	.door-art, .door-art img { width: 100%; min-height: 180px; }
	.door h2, .entry-title { font-size: 22px; }
	.card-art, .card-art img { width: 112px; flex-basis: 112px; min-height: 88px; }
}
