/* XAI Blog Plugin Styles */
.xai-blog-container {
	max-width: 1170px;
	margin: 0 auto;
	padding: 20px;
	font-family: inherit;
	color: inherit;
	display: flex;
	gap: 35px;
	flex-direction: row-reverse;
}

.page_header_sec {
	text-align: center;
	margin-bottom: 15px;
	margin-top: 25px;
}

.page_header_sec h1 {
    font-weight: 800;
}


.xai-blog-sidebar {
    width: 262px;
    flex-shrink: 0;
}

.xai-blog-content {
    flex: 1;
}

.xai-blog-filter-group {
	margin-bottom: 20px;
	padding: 10px 20px;
	border: 1px solid rgba(0,0,0,.1);
}

.xai-blog-filter-group h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.xai-blog-filter-group ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.xai-blog-filter-group li {
	margin-bottom: 4px;
	margin-left: 0;
}
.xai-blog-filter-group li label {
	font-weight: 400;
	margin: 0;
	font-size: 14px;
	display: flex;
	align-items: center;
}
.xai-blog-filter-group input[type="checkbox"] {
    margin-right: 8px;
}

.xai-blog-post {
	background: #fff;
	border: 1px solid #0000001a;
	border-radius: 0;
	margin-bottom: 20px;
	transition: opacity 0.3s ease;
}
.xai-blog-post.fade {
    opacity: 0;
}

.xai-blog-post-inner {
    display: flex;
    gap: 20px;
    padding: 15px;
}

.xai-blog-post-image img {
	width: 240px;
	height: 180px;
	object-fit: cover;
	border-radius: 0;
}

.xai-archive-post-image img {
    width: 345px;
  height: 230px;
}

.xai-blog-post-content {
    flex: 1;
}

.xai-blog-post-title {
    font-size: 1.5em;
    margin: 0 0 10px;
}

.xai-blog-post-meta {
	font-size: 14px;
	color: #444;
	margin-bottom: 10px;
	background: #eee;
	padding: 3px 5px;
}

.xai-blog-post-meta a {
    color: #444 !important;
}
.xai-blog-post-excerpt {
	font-size: 15px;
	color: #434444;
	margin-bottom: 10px;
	line-height: 1.6;
}
.xai-blog-read-more {
	display: inline-block;
	padding: .7em 1em;
	background: #ffcc00;
	color: #fff !important;
	text-decoration: none;
	border-radius: 25px;
	font-size: 13px;
	min-width: 100px;
	text-align: center;
	font-weight: 600;
	/* text-transform: uppercase; */
	letter-spacing: 0.0333em;
	border: 1px solid #ffcc00;
	margin-top: 10px;
}

.xai-blog-read-more:hover {
    background: #fff;
    color: #ffcc00 !important;
}

.xai-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.xai-blog-pagination a, .xai-blog-pagination span {
	padding: 8px 10px;
	border: 1px solid #ccc;
	border-radius: 0;
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	font-size: 14px;
    font-weight: 400;
}

.xai-blog-pagination a:hover {
    background: #f0f0f0;
}

.xai-blog-content {
    font-size: 15px;
}
.xai-blog-single {
    margin-top: 10px;
}
.xai-blog-single h1 {
    text-align: center;
    font-weight: 800;
}
.xai-blog-meta_top {
	text-align: center;
	font-size: 14px;
    color: #444;
}
.xai-blog-meta_top a {
	text-align: center;
	color: #444 !important;
}
.xai-blog-single .gallery {
	margin: 1em 0 1em -0.8em;
}
.xai-blog-single .alignnone, .xai-blog-single .aligncenter {
	margin-bottom: 2rem;
	margin-top: 2rem;
}
.xai-blog-single h3 {
	font-size: 2.5rem;
}
.blog_featured_img {
    margin-bottom: 20px;
}
.xai-blog-meta_bottom {
    font-size: 14px;
}
.categories_post {
    margin-bottom: 5px;
}
.categories_tags {
    margin-bottom: 15px;
}
.xai-blog-back-page {
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
	gap: 5px;
	font-size: 16px;
}
.xai-blog-back-page span {
	display: inline-block;
}
.xai-blog-back-page svg {
	color: #ffcc00;
	fill: #ffcc00;
	width: 25px;
}
.xai-blog-back-page a {
	display: inline-block;
	color: #ffcc00 !important;
}
.xai-blog-back-page a:hover {
}

/* Responsive Design */
@media (max-width: 768px) {
    .xai-blog-container {
        flex-direction: column;
    }

    .xai-blog-sidebar {
        width: 100%;
    }

    .xai-blog-post-inner {
        flex-direction: column;
    }

    .xai-blog-post-image img {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .xai-blog-container {
        padding: 10px;
    }

    .xai-blog-post-title {
        font-size: 1.2em;
    }
}