/*
Theme Name: iDea - Clean & Powerful Bootstrap Theme
Author: HtmlCoder
Author URI: http://www.htmlcoder.me
Author e-mail: htmlcoder.me@gmail.com
Version: 1.5
Created: August 2014
License URI: http://support.wrapbootstrap.com/
File Description: Place here your custom CSS styles
*/

/* ===== Blog Styles ===== */

/* Blog Post Listing */
.blog-post {
	margin-bottom: 40px;
	border: 1px solid #eee;
	border-radius: 4px;
	overflow: hidden;
	transition: all 0.3s ease;
}

.blog-post:hover {
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.blog-post .overlay-container img {
	width: 100%;
	height: 250px;
	object-fit: cover;
}

.blog-post .overlay .blog-date {
	background: rgba(0,0,0,0.8);
	color: white;
	padding: 8px 15px;
	border-radius: 20px;
	font-size: 12px;
	position: absolute;
	top: 15px;
	right: 15px;
}

.blog-post .body {
	padding: 25px;
}

.blog-post .body h3 {
	margin-top: 0;
	margin-bottom: 15px;
	font-size: 22px;
	line-height: 1.3;
}

.blog-post .body h3 a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-post .body h3 a:hover {
	color: #8e44ad;
}

.blog-meta {
	margin-bottom: 15px;
	font-size: 13px;
	color: #888;
}

.blog-meta span {
	margin-right: 20px;
}

.blog-meta i {
	margin-right: 5px;
}

.blog-category {
	color: #8e44ad;
}

/* Single Blog Post */
.blog-post-single {
	margin-bottom: 40px;
}

.blog-post-meta {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #eee;
	font-size: 13px;
	color: #888;
}

.blog-post-meta span {
	margin-right: 25px;
	display: inline-block;
}

.blog-post-meta i {
	margin-right: 5px;
	color: #8e44ad;
}

.blog-post-image {
	margin-bottom: 30px;
}

.blog-post-image img {
	width: 100%;
	height: 400px;
	object-fit: cover;
	border-radius: 4px;
}

.blog-post-content h1 {
	margin-bottom: 25px;
	color: #333;
	font-size: 32px;
	line-height: 1.2;
}

.blog-post-content h2 {
	margin-top: 35px;
	margin-bottom: 20px;
	color: #444;
	font-size: 24px;
	line-height: 1.3;
}

.blog-post-content h3 {
	margin-top: 30px;
	margin-bottom: 15px;
	color: #555;
	font-size: 20px;
	line-height: 1.3;
}

.blog-post-content p {
	margin-bottom: 20px;
	line-height: 1.7;
	color: #666;
}

.blog-post-content p.lead {
	font-size: 18px;
	color: #555;
	margin-bottom: 30px;
}

.blog-post-content ul, 
.blog-post-content ol {
	margin-bottom: 20px;
	padding-left: 25px;
}

.blog-post-content li {
	margin-bottom: 8px;
	line-height: 1.6;
	color: #666;
}

/* Callout boxes for blog posts */
.callout {
	padding: 20px;
	margin: 25px 0;
	border: 1px solid #eee;
	border-left-width: 5px;
	border-radius: 3px;
}

.callout h4 {
	margin-top: 0;
	margin-bottom: 10px;
}

.callout p {
	margin-bottom: 0;
}

.callout-info {
	border-left-color: #5bc0de;
	background-color: #f4f8fa;
}

.callout-info h4 {
	color: #5bc0de;
}

.callout-success {
	border-left-color: #5cb85c;
	background-color: #f7f9f7;
}

.callout-success h4 {
	color: #5cb85c;
}

/* Blog Post Sharing */
.blog-post-sharing {
	margin-top: 40px;
	padding: 25px;
	background: #f8f9fa;
	border-radius: 4px;
}

.blog-post-sharing h5 {
	margin-bottom: 15px;
	color: #333;
}

.blog-post-sharing .social-links a {
	display: inline-block;
	margin-right: 15px;
	padding: 10px 20px;
	border-radius: 4px;
	color: white;
	text-decoration: none;
	font-size: 14px;
	transition: all 0.3s ease;
}

.blog-post-sharing .social-links .facebook {
	background: #3b5998;
}

.blog-post-sharing .social-links .twitter {
	background: #1da1f2;
}

.blog-post-sharing .social-links .whatsapp {
	background: #25d366;
}

.blog-post-sharing .social-links a:hover {
	opacity: 0.8;
	transform: translateY(-2px);
}

/* Blog Post Navigation */
.blog-post-navigation {
	margin-top: 40px;
	padding: 30px 0;
	border-top: 1px solid #eee;
}

.blog-post-navigation .nav-label {
	display: block;
	font-size: 12px;
	color: #888;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.blog-post-navigation h5 {
	margin: 0;
}

.blog-post-navigation h5 a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.blog-post-navigation h5 a:hover {
	color: #8e44ad;
}

.prev-post, .next-post {
	padding: 20px;
	background: #f8f9fa;
	border-radius: 4px;
	transition: background 0.3s ease;
}

.prev-post:hover, .next-post:hover {
	background: #e9ecef;
}

/* Sidebar Widgets */
.widget {
	margin-bottom: 40px;
	padding: 25px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 4px;
}

.widget-title {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 18px;
	color: #333;
	border-bottom: 2px solid #8e44ad;
	padding-bottom: 10px;
}

/* Search Form */
.search-form {
	position: relative;
}

.search-form .form-control {
	padding-right: 50px;
}

.search-form button {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	border: none;
	background: #8e44ad;
	color: white;
	padding: 0 15px;
	border-radius: 0 4px 4px 0;
}

/* Categories Widget */
.widget ul.list-unstyled li {
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f0;
}

.widget ul.list-unstyled li:last-child {
	border-bottom: none;
}

.widget ul.list-unstyled li a {
	color: #666;
	text-decoration: none;
	transition: color 0.3s ease;
}

.widget ul.list-unstyled li a:hover {
	color: #8e44ad;
}

.widget .badge {
	background: #8e44ad;
}

/* Recent Posts Widget */
.recent-posts li {
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid #f0f0f0;
}

.recent-posts li:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.recent-post {
	display: flex;
	align-items: flex-start;
}

.recent-post-image {
	width: 80px;
	height: 60px;
	margin-right: 15px;
	flex-shrink: 0;
}

.recent-post-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 4px;
}

.recent-post-content h5 {
	margin: 0 0 5px 0;
	font-size: 14px;
	line-height: 1.3;
}

.recent-post-content h5 a {
	color: #333;
	text-decoration: none;
	transition: color 0.3s ease;
}

.recent-post-content h5 a:hover {
	color: #8e44ad;
}

.recent-post-date {
	font-size: 12px;
	color: #888;
}

/* Tag Cloud */
.tag-cloud {
	line-height: 1.8;
}

.tag-cloud .tag {
	display: inline-block;
	margin: 0 8px 8px 0;
	padding: 6px 12px;
	background: #f8f9fa;
	color: #666;
	border: 1px solid #e9ecef;
	border-radius: 20px;
	font-size: 12px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.tag-cloud .tag:hover {
	background: #8e44ad;
	color: white;
	border-color: #8e44ad;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	.blog-post .overlay-container img {
		height: 200px;
	}
	
	.blog-post-image img {
		height: 250px;
	}
	
	.blog-post-content h1 {
		font-size: 24px;
	}
	
	.blog-post-content h2 {
		font-size: 20px;
	}
	
	.blog-post-navigation .text-right {
		text-align: left !important;
		margin-top: 20px;
	}
	
	.recent-post {
		flex-direction: column;
	}
	
	.recent-post-image {
		width: 100%;
		height: 150px;
		margin-right: 0;
		margin-bottom: 10px;
	}
}