/* ✅ Category Page Main Layout */
.category-page {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ✅ Main Content */
.main-content {
    flex: 3;
}

/* ✅ Sidebar */
.sidebar {
    flex: 1;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* ✅ Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* ✅ Fix: Post List Item Layout */
.post-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 10px;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease-in-out;
    position: relative;
}

/* ✅ Fix: Apply ColorThief Background */
.post-list-item.category-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ✅ Ensure Text Readability */
.post-list-item h2, 
.post-list-item p {
    color: inherit; /* Dynamic Text Color */
}

/* ✅ Post Content Wrapper */
.post-list-content {
    display: flex;
    width: 100%;
    align-items: center;
    text-align: left;
}
/* widget posts */
.antarj-spl-content{
	color  :inherit!important;
	display : flex; 
    width: 100%;
    align-items: center;
    text-align: left;
	padding : 5px;
	position :relative;
}

/* ✅ Image Column */
.post-list-image {
    flex-shrink: 0;
    width: 180px;
    height: 120px;
    max-width: 30%;
    border-radius: 8px;
    margin-right: 15px;
    overflow: hidden;
}

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

/* ✅ Text Column */
.post-list-text {
    flex: 1;
    padding-left: 10px;
    text-align: left;
}

/* ✅ Title */
.post-list-text h2 {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 0;
}

/* ✅ Text Description */
.post-list-text p {
    font-size: 1rem;
    margin-top: 5px;
}

/* ✅ Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.pagination a, .pagination span {
    padding: 10px 15px;
    margin: 5px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #444;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.pagination a:hover, .pagination .current {
    background-color: #ff6600;
    color: #fff;
    border-color: #ff6600;
}

/* ✅ Related Categories & Tags */
.related-section {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

.related-card-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.related-card {
   
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease-in-out;
}

.related-card:hover {
    background: #e05500;
    transform: scale(1.05);
}

.related-card a {
    text-decoration: none;
    color: #fff;
}

/* ✅ Responsive Adjustments */
@media (max-width: 1024px) {
    .category-page {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-top: 20px;
    }

    .post-list-item {
        flex-direction: row;
    }

    .post-list-image {
        width: 150px;
        height: 100px;
    }
}

@media (max-width: 768px) {
    .post-list-item {
        flex-direction: column;
    }

    .post-list-image {
        width: 120px;
        height: 90px;
        margin-bottom: 10px;
    }
}
.home #page.site{
	background : inherit!important;
}


/* Ensure Banner Appears Below Header */
.banner {
    position: relative;
    width: 100%;
    margin-top: 0; /* Ensures no extra space */
}

header.site-header{
	position  : unset!important;
}

/* Ensure Banner is Below Header */
body {
    display: flex;
    flex-direction: column;
}

#banner-slider {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-top: 10px; /* Ensures spacing below header */
}

/* Default Slider Styling */
.custom-slider-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
}

/* Alternating Layout */
.custom-slider-item.left {
    flex-direction: row;
}

.custom-slider-item.right {
    flex-direction: row-reverse;
}

/* Image Styling */
.custom-slider-image {
    flex: 1;
    max-width: 50%;
}

.custom-slider-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

/* Text Styling */
.custom-banner-text {
    flex: 1;
    max-width: 50%;
    background: transparent;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
}

.custom-slider-item.right .custom-banner-text {
    text-align: right;
}

/* Headings */
.custom-main-title {
    color: #333;
    font-size: 24px;
    margin-bottom: 10px;
}

/* Paragraph Styling */
.custom-banner-text p {
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

/* Read More Button */
.custom-btn-learn {
    display: inline-block;
    background: #ff4500;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.custom-btn-learn:hover {
    background: #e03e00;
}

/* Responsive Design */
/* Tablet View (Max 782px) */
/* Tablet View (Max 782px) */
@media screen and (max-width: 782px) {
    .custom-slider-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
        padding: 20px;
    }

    .custom-slider-image, 
    .custom-banner-text {
        width: 100%;
        max-width: 100%;
    }

    .custom-slider-image {
        display: flex;
        justify-content: center;
        align-items: center;
        order: -1; /* Image को ऊपर लाने के लिए */
    }

    .custom-banner-text {
        padding: 20px;
        border-radius: 10px;
        width: 90%;
        text-align: center;
    }
	.custom-slider-item.left {
    flex-direction: column;
}

.custom-slider-item.right {
    flex-direction: column;
}
}

/* Mobile View (Max 600px) */
@media screen and (max-width: 600px) {
    .custom-slider-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 15px;
    }

    .custom-slider-image, 
    .custom-banner-text {
        width: 100%;
        min-width: 100%;
    }

    .custom-slider-image {
        display: flex;
        justify-content: center;
        align-items: center;
        order: -1; /* Image को सबसे ऊपर लाने के लिए */
    }

    .custom-banner-text {
        padding: 15px;
     
        border-radius: 8px;
        width: 95%;
        text-align: center;
    }

    .custom-main-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .custom-btn-learn {
        font-size: 14px;
        padding: 8px 16px;
    }
	.custom-slider-item.left {
    flex-direction: column;
}

.custom-slider-item.right {
    flex-direction: column;
}
}

//most viewd posts plugin 
.antarj-popular-posts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.antarj-spl-item:last-child {
    border-bottom: none;
}

/* Styled Number (Rank) */
.rank-badge {
       width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ff6600;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    padding: 5px;
	z-index : 2;
}


/* Thumbnail Image */
.antarj-spl-content .post-thumbnail{
	width : 100px;
	height : 100px;
	display : flex;
	align-self  : center;
	margin-right : 5px;
}
.antarj-spl-content .post-thumbnail img{
	width : 100%;
	height : auto;
	object-fit :cover;
}

/* Post Title & Meta */
.entry-header {
    flex: 1;
	margin-left : 5px;
}

.antarj-spl-title {
    font-size: 14px;
    margin: 0;
    font-weight: bold;
}

.entry-meta {
    font-size: 12px;
    color: inherit;
} 
li.antarj-spl-item {
	padding-bottom : unset;
	/* padding : 5px; */
	border-radius : 5px;
	margin-bottom : 15px;
} 
.widget ul{
	 padding: 10px 5px 1px 10px!important;
	background : inherit;
}
.widget{
	background : inherit !important;
}

/* ✅ Styling for Related Posts Section */
.related-posts-container {
    margin-top: 40px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
}

/* ✅ Styling for Related Posts Title */
.related-posts-title {
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-align: center;
    color: #333;
}

/* ✅ Styling for Related Posts List */
.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

/* ✅ Individual Related Post Item */
.related-posts-list .post-list-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-posts-list .post-list-item:hover {
    transform: scale(1.03);
}

/* ✅ Styling for Related Post Thumbnail */
.related-posts-list .post-list-image {
    width: 150px;
    height: 100px;
    overflow: hidden;
    border-radius: 6px;
    flex-shrink: 0;
}

.related-posts-list .post-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ✅ Styling for Related Post Title */
.related-posts-list .post-list-text {
    flex: 1;
    padding-left: 12px;
}

.related-posts-list .related-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
    margin: 0;
    transition: color 0.3s ease;
}

.related-posts-list .related-title:hover {
    color: #ff6600;
}

/* ✅ Google AdSense Container Styling */
.related-post-ad {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
}

/* ✅ Responsive Adjustments */
@media (max-width: 768px) {
    .related-posts-list {
        flex-direction: column;
    }

    .related-posts-list .post-list-item {
        flex-direction: row;
    }

    .related-posts-list .post-list-image {
        width: 60px;
        height: 60px;
    }

    .related-post-ad {
        padding: 10px;
    }
}

/* post views plugin */
/* ✅ Post Meta Info Row */
.antarj-post-meta-box {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 10px;
    margin-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #555;
}

.antarj-post-meta-box .meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.antarj-post-meta-box i {
    font-size: 16px;
    color: #0073aa;
}

.antarj-post-meta-box .comments-count {
    text-decoration: none;
    color: #0073aa;
    font-weight: bold;
}

.antarj-post-meta-box .comments-count:hover {
    text-decoration: underline;
}

 