/*
Theme Name: Twenty Twelve Shabake
Theme URI: https://shabake.ir/
Description: Child theme for shabake.ir — keeps Yekan fonts, excerpts, and footer credits on top of Twenty Twelve 4.9.
Author: Aka Networks
Template: twentytwelve
Version: 1.1
Text Domain: twentytwelve-shabake
*/

body,
body.custom-font-enabled,
.site,
.site-content,
.widget-area,
.site-header,
.site-header h1,
.site-header h2,
.site-header h1 a,
.site-header h2 a,
.main-navigation,
.main-navigation a,
.entry-header,
.entry-title,
.entry-title a,
.entry-content,
.entry-summary,
.entry-meta,
.widget,
.widget-title,
.site-info,
.comment-content,
.comment-meta,
.archive-title {
	font-family: 'yekan', Tahoma, sans-serif;
}

/* Homepage intro */
.home-intro {
	background: #f4f7fb;
	border: 1px solid #d9e2ec;
	border-right: 4px solid #003366;
	padding: 18px 20px 16px;
	margin: 0 0 28px;
}
.home-intro-kicker {
	margin: 0 0 4px;
	color: #21759b;
	font-size: 12px;
	letter-spacing: 0.02em;
}
.home-intro-title {
	margin: 0 0 8px;
	color: #003366;
	font-size: 22px;
	line-height: 1.35;
	font-weight: 700;
}
.home-intro-text {
	margin: 0 0 14px;
	color: #444;
	font-size: 14px;
	line-height: 1.8;
	text-align: justify;
}
.home-intro-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.home-intro-links a {
	display: inline-block;
	background: #fff;
	border: 1px solid #c5d0dc;
	color: #003366;
	text-decoration: none;
	font-size: 13px;
	line-height: 1;
	padding: 8px 12px;
}
.home-intro-links a:hover {
	background: #003366;
	border-color: #003366;
	color: #fff;
}

/* Compact post cards on home / archives / search */
.listing-item {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 16px;
	padding: 16px 0;
	margin: 0;
	border-bottom: 1px solid #e6e6e6;
}
.listing-item .listing-thumb {
	flex: 0 0 220px;
	width: 220px;
	height: 140px;
	overflow: hidden;
	background: #f0f3f6;
	display: block;
}
.listing-item .listing-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	margin: 0;
	display: block;
}
.listing-item .listing-body {
	flex: 1 1 auto;
	min-width: 0;
}
.listing-item .entry-header {
	margin-bottom: 6px;
}
.listing-item .entry-header .entry-title {
	font-size: 18px;
	line-height: 1.45;
	margin: 0;
}
.listing-item .entry-header .entry-title a {
	color: #003366;
}
.listing-item .entry-header .entry-title a:hover {
	color: #21759b;
}
.listing-item .entry-summary {
	margin: 0 0 8px;
}
.listing-item .entry-summary p {
	margin: 0;
	font-size: 13px;
	line-height: 1.75;
	color: #555;
}
.listing-item .entry-meta {
	font-size: 12px;
	color: #757575;
	clear: none;
}
.listing-item .listing-more {
	color: #21759b;
	text-decoration: none;
	font-weight: 700;
}
.listing-item .listing-more:hover {
	text-decoration: underline;
}
.listing-item .listing-cat a {
	color: #003366;
	text-decoration: none;
}

.widget-area .widget {
	padding-bottom: 8px;
}
.widget-area .widget-title {
	color: #003366;
	border-bottom: 2px solid #003366;
	padding-bottom: 6px;
	margin-bottom: 12px;
}
.widget_tag_cloud a {
	font-size: 12px !important;
	line-height: 1.8;
}
.widget_categories .cat-item-1 {
	display: none;
}

.site-header .header-image {
	display: block;
	width: 100%;
	height: auto;
	margin-top: 8px;
}

@media (max-width: 640px) {
	.listing-item {
		flex-direction: column;
	}
	.listing-item .listing-thumb {
		flex: none;
		width: 100%;
		height: 180px;
	}
	.home-intro {
		padding: 14px;
	}
	.home-intro-title {
		font-size: 18px;
	}
}
