/* dreidy-02 local recovery fixes */

/* Keep top-header fully visible below browser chrome */
body {
	padding-top: 12px;
}

.header-v4 {
	padding-top: 0;
	overflow: visible;
	margin-top: 0;
}

.header-v4 .top-header {
	position: relative;
	z-index: 20;
	display: block;
	overflow: visible;
	padding: 12px 0;
	min-height: 44px;
	margin-top: 4px;
	background: #fff;
	border-bottom: 1px solid #eef2f6;
}

.header-v4 .top-header .row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.header-v4 .top-header .row:before,
.header-v4 .top-header .row:after {
	display: none;
}

.header-v4 .top-header .contacts,
.header-v4 .top-header .data {
	margin: 0;
	padding: 4px 0;
	line-height: 1.9;
}

.header-v4 .top-header .contacts li,
.header-v4 .top-header .data li {
	position: static;
	top: auto;
}

.header-v4 .top-header .top-tagline {
	color: #016ac7;
	font-size: 13px;
	font-family: iransansbold, Tahoma, sans-serif;
}

.header-v4 .top-header .top-tagline .fa {
	color: #e74c5e;
	margin-left: 4px;
}

.middle-header .img-responsive,
.middle-header img {
	max-height: 70px;
	width: auto;
	display: inline-block;
}

.header-v4 .middle-header {
	position: relative;
	z-index: 10;
	clear: both;
}

.header-v4 .middle-header .row {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.header-v4 .middle-header .row:before,
.header-v4 .middle-header .row:after {
	display: none;
}

.contact-info-blocks {
	text-align: left;
}

.contact-info-blocks > div > i.fa {
	color: #68a5da;
	font-size: 16px;
	margin-left: 6px;
	width: 18px;
	text-align: center;
}

/* Fallback if fartech icon font fails */
.fartech-icon-phone:before {
	font-family: FontAwesome !important;
	content: "\f095";
}
.fartech-icon-telegram:before {
	font-family: FontAwesome !important;
	content: "\f2c6";
}

.hero .entry-title,
.hero .entry-header h1 {
	color: #fff;
	font-size: 28px;
	margin: 0 0 15px;
	font-family: iransansbold, Tahoma, sans-serif;
}

.hero .entry-content,
.hero .entry-content p {
	color: #fff;
	line-height: 2;
	font-size: 14px;
	text-align: justify;
}

.hero .entry-avatar img {
	max-width: 100%;
	height: auto;
	border: 4px solid rgba(255,255,255,.35);
}

.hero .btn-more {
	display: inline-block;
	padding: 8px 28px;
	background: #fff;
	color: #016ac7 !important;
	border-radius: 4px;
	font-family: iransansbold, Tahoma, sans-serif;
	margin-top: 10px;
}

.hero .btn-more:hover {
	background: #f3f8fc;
	text-decoration: none;
}

.section-title {
	color: #016ac7;
	font-size: 24px;
	font-family: iransansbold, Tahoma, sans-serif;
	margin: 25px 0 20px;
	padding-bottom: 10px;
	border-bottom: 2px solid #e6eef7;
}

/* Equal-height news cards grid */
.last-post {
	padding-bottom: 30px;
}

.last-post .posts-grid {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}

.last-post .posts-grid:before,
.last-post .posts-grid:after {
	display: none;
}

.last-post .posts-grid > .archive-item {
	display: flex;
	float: none;
	margin-bottom: 24px;
}

.last-post .archive-item-box {
	display: flex;
	flex-direction: column;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: #fff;
	margin-bottom: 0;
}

.last-post .archive-item-thumb {
	display: block;
	height: 170px;
	overflow: hidden;
	background: #eef3f8;
	flex-shrink: 0;
}

.last-post .archive-item-thumb--empty {
	background: linear-gradient(135deg, #d9e8f6, #eef3f8);
}

.last-post .archive-item-image,
.last-pics img,
.last-video img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
}

.last-post .archive-item-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	text-decoration: none !important;
	color: inherit;
}

.last-post .archive-item-title {
	flex: 1 1 auto;
	min-height: 3.6em;
	max-height: 3.6em;
	margin: 0;
	padding: 12px 14px 8px;
	color: #3276b1;
	font-size: 15px;
	line-height: 1.8;
	overflow: hidden;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.last-post .more-view {
	display: block;
	text-align: center;
	color: #fff !important;
	background: #3276b1;
	padding: 8px;
	margin: 0;
	border-radius: 0;
	font-weight: bold;
	margin-top: auto;
}

.last-post .archive-item-body:hover .archive-item-title {
	color: #1f5f96;
}

.last-post .archive-item-body:hover .more-view {
	background: #285f8f;
}

.last-pics .archive-item-box {
	overflow: hidden;
	background: #fff;
}

.video-box {
	display: block;
	position: relative;
	margin-bottom: 20px;
	background: #0f3558;
	overflow: hidden;
	border-radius: 4px;
	min-height: 160px;
}

.video-box img {
	opacity: .9;
}

.video-box span {
	display: block;
	padding: 10px 12px;
	color: #fff;
	background: rgba(1,106,199,.92);
	font-size: 13px;
	line-height: 1.7;
}

.video-box:hover {
	text-decoration: none;
}

.video-box:hover img {
	opacity: 1;
}

.last-pics a {
	display: block;
	margin-bottom: 20px;
	overflow: hidden;
	border-radius: 4px;
	border: 1px solid #eaeaea;
	background: #fff;
}

.contact-info {
	padding: 25px 0;
	background: #f7fbff;
	text-align: center;
	font-size: 15px;
	line-height: 2.2;
	color: #333;
}

.archive-item-box .archive-item-image[src*="default-pic"],
.archive-item-box img[src$="default-pic.jpg"] {
	object-fit: cover;
}

@media (max-width: 991px) {
	.header-v4 .middle-header .row {
		display: block;
		text-align: center;
	}
	.contact-info-blocks {
		text-align: center !important;
		margin-top: 15px;
	}
	.contact-info-blocks > div {
		border: none;
		padding: 8px 12px;
	}
}

@font-face {
	font-family: 'fartech-icon';
	src: url('../fonts/fartech-icon.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
