/*
Theme Name: دوچرخه جمعه
Theme URI: https://globalciti-zen.com/
Author: عکس
Description: مسیر پارک و نیمکت برای مطالب تفریحی
Version: 1.0.1
Text Domain: charkh
*/

:root {
	--leaf: #2f6b32;
	--sun: #f6d34a;
	--grass: #2d7a3e;
	--wood: #a56b3c;
	--ink: #1d3a22;
	--path: #c4a574;
}

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

.park {
	position: relative;
	min-height: 280px;
	overflow: hidden;
	background: linear-gradient(#7ec8ef 0%, #d7f0a4 38%, #3f8f45 38%, #3f8f45 74%, var(--path) 74%);
}
.park-art {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}
.plate {
	position: absolute;
	z-index: 1;
	top: 22px;
	right: 7%;
	background: var(--sun);
	border: 3px solid var(--leaf);
	box-shadow: 0 8px 0 rgba(29, 58, 34, .18);
}
.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px 12px;
	text-decoration: none;
	color: var(--leaf);
}
.logo { width: 72px; height: 64px; flex: 0 0 72px; }
.brand-name {
	display: block;
	font-size: 32px;
	line-height: 1.2;
	color: var(--leaf);
	font-weight: bold;
}
.brand-desc { display: block; color: #3d6b34; font-size: 14px; margin-top: 2px; }

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

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

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

.card {
	display: flex;
	align-items: stretch;
	background: #e7f3d4;
	border-right: 6px solid var(--leaf);
	margin: 0 0 12px;
	overflow: hidden;
}
.card-art { width: 148px; flex: 0 0 148px; display: block; overflow: hidden; background: #c5d4a8; }
.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: #3d6b34; font-size: 13px; }

.side {
	background: repeating-linear-gradient(180deg, #c4884e 0 10px, #8d5a30 10px 14px, #5c3a22 14px 18px);
	border: 4px solid #4a2e18;
	padding: 12px;
	color: var(--ink);
}
.side .box, .side .widget {
	background: #f3e0c0;
	border: 2px solid #5c3a22;
	margin: 0 0 12px;
}
.widget-title {
	margin: 0;
	padding: 7px 12px;
	background: linear-gradient(#f0d2a4, #c4884e 45%, #8d5a30);
	color: #2a1a0c;
	font-size: 15px;
	border-top: 2px solid #f6e4c4;
	border-bottom: 4px solid #5c3a22;
}
.side ul { margin: 0; padding: 8px 16px 12px 12px; }
.side li { margin: 4px 0; }
.side a { color: var(--leaf); 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: #fff8ea;
	color: var(--ink);
	border: 1px solid #8d5a30;
	padding: 8px;
}
.side input[type="submit"], .widget_search input[type="submit"] {
	background: var(--leaf);
	color: var(--sun);
	border: 0;
	padding: 8px 10px;
	cursor: pointer;
}
.behtarinseo { padding: 10px 12px 4px; }
.behtarinseo img { max-width: 100%; height: auto; }

.page-head h1 { color: #f6e7c2; line-height: 1.45; }
.entry-title { color: var(--ink); line-height: 1.45; }
.entry {
	background: #e7f3d4;
	border-right: 8px solid var(--leaf);
	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(--leaf);
	background: #e7f3d4;
}
.page-numbers.current { background: var(--leaf); color: var(--sun); border-color: var(--leaf); }
input, textarea {
	background: #fff;
	color: var(--ink);
	border: 1px solid #8d5a30;
	padding: 8px;
}
.site-footer {
	color: #f6e7c2;
	text-align: center;
	padding: 4px 12px 28px;
	font-size: 13px;
}

@media (max-width: 800px) {
	.park { min-height: 0; overflow: visible; }
	.park-art { position: relative; height: 168px; }
	.plate { position: relative; top: auto; right: auto; margin: -36px 16px 12px; }
	.brand-name { font-size: 26px; }
	.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: #4a2e18;
	}
	.nav-btn span, .nav-btn span:before, .nav-btn span:after {
		display: block;
		width: 18px;
		height: 2px;
		background: #f6e7c2;
		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; }
	.pathcard { flex-direction: column; }
	.pathcard-art, .pathcard-art img { width: 100%; min-height: 180px; }
	.pathcard h2, .entry-title { font-size: 22px; }
	.card-art, .card-art img { width: 112px; flex-basis: 112px; min-height: 88px; }
}
