/*
Theme Name: جعبه ابزار
Theme URI: https://tikabzar.com/
Author: تیک ابزار
Description: جعبه ابزار وبمستر برای تیک ابزار
Version: 1.0.2
Text Domain: jabe
*/

:root {
	--enamel: #e25b1a;
	--steel: #c5ccd4;
	--ink: #101216;
	--tray: #2a3036;
}

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

.bench {
	position: relative;
	min-height: 300px;
	overflow: hidden;
	background: linear-gradient(#121418 0%, #1b222c 55%, #3a342c 55%);
}
.bench-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.lid {
	position: absolute;
	z-index: 1;
	top: 22px;
	right: 4%;
	max-width: 560px;
	background: #0e1012;
	border-bottom: 6px solid var(--enamel);
	box-shadow: 0 14px 0 rgba(0, 0, 0, .35);
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 14px;
	text-decoration: none;
	color: var(--enamel);
}
.logo { width: 78px; height: 64px; flex: 0 0 78px; }
.brand-name {
	display: block;
	font-size: 24px;
	line-height: 1.35;
	color: var(--enamel);
	font-weight: bold;
}
.brand-desc { display: block; color: var(--steel); font-size: 13px; margin-top: 2px; }

.nav-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: #0e1012;
	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: #e7eaee;
	text-decoration: none;
	padding: 11px 14px;
	display: inline-block;
}
.nav a.on { background: var(--enamel); color: #1a120c; }

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

.lead {
	display: flex;
	background: #14171b;
	border: 4px solid var(--enamel);
	margin-bottom: 16px;
	overflow: hidden;
}
.lead-art {
	width: 46%;
	min-height: 220px;
	display: block;
	overflow: hidden;
	background: #2a3036;
}
.lead-art img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 220px; }
.lead-copy { flex: 1; padding: 16px 18px; }
.kicker { color: var(--enamel); font-size: 13px; font-weight: bold; }
.lead h2 { margin: 6px 0 12px; font-size: 26px; line-height: 1.5; }
.lead h2 a { color: #fff; text-decoration: none; }
.go {
	display: inline-block;
	background: var(--enamel);
	color: #1a120c;
	text-decoration: none;
	padding: 8px 14px;
	font-weight: bold;
}

.card {
	display: flex;
	align-items: stretch;
	background: #1c2228;
	border-right: 6px solid var(--enamel);
	margin: 0 0 12px;
	overflow: hidden;
}
.card-art { width: 148px; flex: 0 0 148px; display: block; overflow: hidden; background: #2a3036; }
.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: #fff; text-decoration: none; }
.meta { color: #b7c0c8; font-size: 13px; }

.side {
	background: var(--tray);
	border: 8px solid #1c2026;
	border-top: 10px solid var(--enamel);
	padding: 10px;
}
.side .widget {
	background: #1a1e24;
	margin: 0 0 12px;
	border: 1px solid #4a525c;
}
.widget-title {
	position: relative;
	margin: 0;
	padding: 8px 26px;
	background: linear-gradient(#e4e8ed, #aeb6bf 48%, #7d868f);
	color: #1a1c1f;
	font-size: 15px;
	border-bottom: 3px solid #1a1c1f;
}
.widget-title:before,
.widget-title:after {
	content: "";
	position: absolute;
	top: 50%;
	width: 7px;
	height: 7px;
	margin-top: -4px;
	background: #2a2e33;
	box-shadow: inset 0 0 0 1px var(--enamel);
}
.widget-title:before { right: 8px; }
.widget-title:after { left: 8px; }
.side ul { margin: 0; padding: 8px 16px 12px 12px; }
.side li { margin: 4px 0; }
.side a { color: #e7eaee; 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: #101216;
	color: #e7eaee;
	border: 1px solid #7d868f;
	padding: 8px;
}
.side input[type="submit"], .widget_search input[type="submit"] {
	background: var(--enamel);
	color: #1a120c;
	border: 0;
	padding: 8px 10px;
	cursor: pointer;
}
.behtarinseo { padding: 10px 12px 4px; }
.behtarinseo img { max-width: 100%; height: auto; }
.text-ad { margin: 0; padding: 0 12px 12px; }

.page-head h1 { color: #f3f5f7; line-height: 1.45; }
.entry-title { color: #fff; line-height: 1.45; }
.entry {
	background: #1c2228;
	border-right: 8px solid var(--enamel);
	padding: 16px 18px 22px;
}
.entry-thumb { margin: 10px 0 14px; }
.entry-content { overflow-wrap: anywhere; }
.entry-content a { color: var(--enamel); }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.page-numbers {
	color: #e7eaee;
	text-decoration: none;
	padding: 4px 9px;
	border: 1px solid #4a525c;
	background: #1c2228;
}
.page-numbers.current { background: var(--enamel); color: #1a120c; border-color: var(--enamel); }
input, textarea {
	background: #101216;
	color: #e7eaee;
	border: 1px solid #4a525c;
	padding: 8px;
}
.site-footer {
	color: #b7c0c8;
	text-align: center;
	padding: 4px 12px 28px;
	font-size: 13px;
}

@media (max-width: 800px) {
	.bench { min-height: 0; overflow: visible; }
	.bench-art { position: relative; height: 170px; }
	.lid { position: relative; top: auto; right: auto; max-width: none; margin: -18px 12px 12px; }
	.brand-name { font-size: 20px; }
	.nav-wrap { position: relative; }
	.nav-btn {
		display: inline-flex;
		width: 46px;
		height: 42px;
		margin: 8px 0;
		align-items: center;
		justify-content: center;
		cursor: pointer;
		background: #1c2026;
	}
	.nav-btn span, .nav-btn span:before, .nav-btn span:after {
		display: block;
		width: 18px;
		height: 2px;
		background: #e7eaee;
		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; }
	.lead { flex-direction: column; }
	.lead-art, .lead-art img { width: 100%; min-height: 180px; }
	.lead h2, .entry-title { font-size: 22px; }
	.card-art, .card-art img { width: 112px; flex-basis: 112px; min-height: 88px; }
}
