/*
Theme Name: ماشین چاپ
Theme URI: http://2dina.ir/
Author: روزنامه قانون
Description: چاپخانه برای تیتر روزنامه
Version: 1.0.1
Text Domain: chap
*/

:root {
	--ink: #0e1014;
	--paper: #f4f1ea;
	--brass: #c6a15a;
	--steel: #8d97a1;
	--room: #171b22;
}

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

.press {
	position: relative;
	min-height: 280px;
	overflow: hidden;
	background: linear-gradient(#10131a 0%, #1c2430 62%, #2a241c 62%);
}
.press-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.inkbar {
	position: absolute;
	z-index: 1;
	top: 26px;
	right: 5%;
	background: #0c0d10;
	border-bottom: 4px solid var(--brass);
	box-shadow: 0 12px 0 rgba(0, 0, 0, .28);
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 12px 16px 14px;
	text-decoration: none;
	color: #fff;
}
.logo { width: 72px; height: 64px; flex: 0 0 72px; }
.brand-name {
	display: block;
	font-size: 30px;
	line-height: 1.25;
	color: #fff;
	font-weight: bold;
}
.brand-desc { display: block; color: var(--brass); font-size: 14px; margin-top: 2px; }

.nav-wrap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: #0c0d10;
	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: #eeeae2;
	text-decoration: none;
	padding: 11px 14px;
	display: inline-block;
}
.nav a.on { background: var(--brass); 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: #111318;
	border: 4px solid var(--brass);
	margin-bottom: 16px;
	overflow: hidden;
}
.lead-art {
	width: 46%;
	min-height: 220px;
	display: block;
	overflow: hidden;
	background: #2a3038;
}
.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(--brass); 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(--brass);
	color: #1a120c;
	text-decoration: none;
	padding: 8px 14px;
	font-weight: bold;
}

.card {
	display: flex;
	align-items: stretch;
	background: #1c2128;
	border-right: 6px solid var(--brass);
	margin: 0 0 12px;
	overflow: hidden;
}
.card-art { width: 148px; flex: 0 0 148px; display: block; overflow: hidden; background: #2a3038; }
.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: #b7b1a6; font-size: 13px; }

.side {
	background: #3a2a1c;
	border: 4px solid #24180f;
	padding: 10px;
}
.side .box, .side .widget {
	background: #2a1e14;
	margin: 0 0 12px;
	border: 1px solid #5c4630;
}
.widget-title {
	margin: 0;
	padding: 7px 12px;
	background: linear-gradient(#e6c98a, #c6a15a 46%, #8d6a32);
	color: #1a120c;
	font-size: 15px;
	border-bottom: 3px solid #24180f;
}
.side ul { margin: 0; padding: 8px 16px 12px 12px; }
.side li { margin: 4px 0; }
.side a { color: #f4e7c8; 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: #1a120c;
	color: var(--paper);
	border: 1px solid #8d6a32;
	padding: 8px;
}
.side input[type="submit"], .widget_search input[type="submit"] {
	background: var(--brass);
	color: #1a120c;
	border: 0;
	padding: 8px 10px;
	cursor: pointer;
}
.behtarinseo { padding: 10px 12px 4px; }
.behtarinseo img { max-width: 100%; height: auto; }

.page-head h1 { color: var(--paper); line-height: 1.45; }
.entry-title { color: #fff; line-height: 1.45; }
.entry {
	background: #1c2128;
	border-right: 8px solid var(--brass);
	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(--paper);
	text-decoration: none;
	padding: 4px 9px;
	border: 1px solid #5c4630;
	background: #1c2128;
}
.page-numbers.current { background: var(--brass); color: #1a120c; border-color: var(--brass); }
input, textarea {
	background: #1a120c;
	color: var(--paper);
	border: 1px solid #5c4630;
	padding: 8px;
}
.site-footer {
	color: #b7b1a6;
	text-align: center;
	padding: 4px 12px 28px;
	font-size: 13px;
}

@media (max-width: 800px) {
	.press { min-height: 0; overflow: visible; }
	.press-art { position: relative; height: 160px; }
	.inkbar { position: relative; top: auto; right: auto; margin: -20px 12px 12px; }
	.brand-name { font-size: 24px; }
	.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: #24180f;
	}
	.nav-btn span, .nav-btn span:before, .nav-btn span:after {
		display: block;
		width: 18px;
		height: 2px;
		background: #eeeae2;
		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; }
}
