/*
Theme Name: داربست
Theme URI: https://ear-cleaner.ir/
Author: اخبار کارگران
Description: قالب داربست برای اخبار کارگران
Version: 1.0.1
Text Domain: darbast
*/

:root {
	--sky: #8eb4d4;
	--dawn: #f3ddb8;
	--concrete: #d5dde3;
	--ink: #1c2430;
	--muted: #5c6772;
	--orange: #c45c26;
	--steel: #5c6b78;
	--sheet: #f3f5f7;
	--box: #2a3138;
}

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

.yard {
	position: relative;
	overflow: hidden;
	background: linear-gradient(#7eafd4 0%, #c9dceb 46%, #f3ddb8 78%, #c4b49a 100%);
	min-height: 250px;
}
.scaffold {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.banner {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 42px auto 0;
	background: var(--orange);
	box-shadow: 0 14px 0 rgba(60, 30, 10, .18);
}
.tie {
	position: absolute;
	top: -16px;
	width: 8px;
	height: 18px;
	background: var(--steel);
}
.tie-r { right: 36px; }
.tie-l { left: 36px; }
.brand {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 18px 12px;
	text-decoration: none;
	color: #fff8f2;
}
.logo { width: 64px; height: 64px; flex: 0 0 64px; }
.brand-name {
	display: block;
	font-size: 32px;
	line-height: 1.25;
	color: #fff8f2;
}
.brand-desc { display: block; color: #ffe0cc; font-size: 14px; margin-top: 2px; }
.ground {
	height: 18px;
	background: repeating-linear-gradient(90deg, #b7a48c 0 18px, #cbbba4 18px 22px);
}
.nav-wrap {
	position: relative;
	background: #6e4a2e;
	background-image: repeating-linear-gradient(90deg, rgba(0,0,0,.08) 0 2px, transparent 2px 14px);
	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: #f8efe4;
	text-decoration: none;
	padding: 11px 12px;
	display: inline-block;
}
.nav a.on { color: #ffd7b0; box-shadow: inset 0 -3px 0 var(--orange); }

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

.sheet {
	display: flex;
	background: var(--sheet);
	background-image: repeating-linear-gradient(180deg, rgba(90,104,116,.08) 0 2px, transparent 2px 8px);
	border: 2px solid #8d98a3;
	box-shadow: 6px 6px 0 rgba(36, 48, 56, .12);
	margin-bottom: 16px;
}
.sheet-art {
	width: 42%;
	min-height: 210px;
	background: #c5ced6;
	display: block;
	overflow: hidden;
}
.sheet-art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 210px; }
.sheet-copy { flex: 1; padding: 16px 18px; }
.kicker { color: var(--orange); font-size: 13px; font-weight: bold; }
.sheet h2 { margin: 6px 0 12px; font-size: 26px; line-height: 1.5; }
.sheet h2 a { color: var(--ink); text-decoration: none; }
.go {
	display: inline-block;
	background: var(--orange);
	color: #fff8f2;
	text-decoration: none;
	padding: 8px 14px;
	font-weight: bold;
}

.card {
	display: flex;
	align-items: stretch;
	background: var(--sheet);
	border: 1px solid #b7c2cb;
	border-right: 4px solid var(--orange);
	margin-bottom: 10px;
	overflow: hidden;
}
.card-art { width: 148px; flex: 0 0 148px; display: block; overflow: hidden; background: #c5ced6; }
.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: var(--muted); font-size: 13px; }

.side .box, .side .widget {
	background: var(--box);
	border: 2px solid #1a1f24;
	margin: 0 0 14px;
	color: #e7edf1;
}
.widget-title {
	margin: 0;
	padding: 8px 28px 8px 12px;
	background: linear-gradient(#e8eef2, #b7c2cb);
	color: var(--ink);
	font-size: 15px;
	font-weight: bold;
	border-bottom: 3px solid var(--orange);
	position: relative;
}
.widget-title:before {
	content: "";
	position: absolute;
	right: 10px;
	top: 50%;
	width: 10px;
	height: 10px;
	margin-top: -5px;
	border-radius: 50%;
	background: #5c6b78;
	box-shadow: inset 0 0 0 2px #d7dde3;
}
.side ul { margin: 0; padding: 8px 16px 12px 12px; }
.side li { margin: 4px 0; }
.side a { color: #f2f6f8; 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: #1a1f24;
	color: #f2f6f8;
	border: 1px solid #667480;
	padding: 8px;
}
.side input[type="submit"], .widget_search input[type="submit"] {
	background: var(--orange);
	color: #fff8f2;
	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(--ink); line-height: 1.45; }
.entry {
	background: var(--sheet);
	border: 1px solid #b7c2cb;
	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 #8d98a3;
	background: #fff;
}
.page-numbers.current { background: var(--orange); color: #fff8f2; border-color: var(--orange); }
input, textarea {
	background: #fff;
	color: var(--ink);
	border: 1px solid #8d98a3;
	padding: 8px;
}
.site-footer {
	color: #3c4650;
	text-align: center;
	padding: 8px 12px 28px;
	font-size: 13px;
}

@media (max-width: 800px) {
	.brand-name { font-size: 24px; }
	.yard { min-height: 0; }
	.nav-btn {
		display: inline-flex;
		width: 46px;
		height: 42px;
		margin: 8px 0;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		background: #4e3420;
	}
	.nav-btn span, .nav-btn span:before, .nav-btn span:after {
		display: block;
		width: 18px;
		height: 2px;
		background: #f8efe4;
		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; }
	.sheet { flex-direction: column; }
	.sheet-art, .sheet-art img { width: 100%; min-height: 180px; }
	.sheet h2, .entry-title { font-size: 22px; }
	.card-art, .card-art img { width: 112px; flex-basis: 112px; min-height: 88px; }
}
