/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Custom Grid Layout */
.custom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: auto;
    gap: 35px;
    max-width: 1200px;
    margin: 20px auto;
}

.grid-item {
    position: relative;
    border: 15px solid #F7FAFF5E;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    border-radius: 30px;
    box-shadow: 2px 0px 12px 0px #7C2CA2;
}
.grid-item-blog-page{
	position: relative;
    border: 15px solid #F7FAFF5E;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    border-radius: 30px;
    box-shadow: 2px 0px 12px 0px #7C2CA2;
	height:360px;
}

.grid-item.large-height {
    grid-row: span 2;
}
.grid-item-blog-page.large-height{
	 grid-row: span 2;
}

/* Responsive Design for Mobile Devices */
@media (max-width: 768px) {
    .custom-grid {
        grid-template-columns: 1fr; /* Single-column layout */
        gap: 20px; /* Reduced gap for smaller screens */
    }
    .grid-item {
        height: 300px; /* Equalize height across items */
    }
    .grid-item.large-height {
        grid-row: auto; /* Remove larger height styling */
    }
	.grid-item-blog-page{
		height:360px;
	}
	 .grid-item-blog-page.large-height {
        grid-row: auto; /* Remove larger height styling */
    }
}

/* Post Thumbnail */
.post-thumbnail {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.post-thumbnail:hover img {
    transform: scale(1.1); /* Zoom-in effect */
}

/* Post Data Overlay */
.post-data {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(180deg, #d9d9d900 0%, #2D014D 100%);
}

/* Category Badge */
.category-badge {
    position: absolute;
    top: 10px;
    right: 0px;
    background: rgba(45, 1, 77, 0.46);
    padding: 5px 10px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #fff;
}

.category-badge a {
    color: #fff;
    font-weight: 700;
}

/* Author Info */
.author-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.author-info img {
    border-radius: 50%;
    margin-right: 10px;
    height: 30px;
    width: 30px;
}

.author-name {
    font-weight: bold;
    font-size: 14px;
}

/* Post Date */
.post-date {
    font-size: 12px;
    color: #ddd;
    margin-bottom: 10px;
}

/* Post Title */
.post-title {
    font-size: 18px !important;
    font-weight: bold;
    margin-top: 5px;
}

.post-title a {
    color: #fff;
    text-decoration: none;
}

.post-title a:hover {
    color: #ffffff;
}

/* Hover Effect */
.grid-item:hover {
    transform: translateY(-5px);
}

.tabs-container {
    margin-bottom: 20px;
}

/* Tabs container styling */
.tabs {
    display: flex;
    justify-content: flex-start;
    list-style: none;
    padding: 0;
    margin: 0;
}

.tabs .tab {
    padding: 10px 17px;
    margin-right: 5px;
    cursor: pointer;
    font-size: 18px;
    border-bottom: none;
    transition: background-color 0.3s;
    color: #898989;
}

.tabs .tab.active {
    font-weight: bold;
    border-bottom: 1px solid blue;
    color:#252432;
}

/* Posts container spacing */
#posts-container {
    margin-top: 5em;
}

/* Loader styling */
#loader {
    text-align: center;
    font-size: 16px;
    color: #0073aa;
    margin: 20px 0;
}
@media (max-width: 768px) {
    .tabs {
        flex-wrap: wrap;
    }

    .tab {
        margin-bottom: 5px;
        flex: 1 1 calc(33.33% - 10px);
        text-align: center;
    }
}
#load-more-btn {
   background-color: #06157D;
    display: block;
    margin: 20px auto;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

#load-more-btn:hover {
    background-color: #06157D;
}

.no-more-posts {
    text-align: center;
    margin-top: 20px;
    color: #555;
    font-size: 16px;
    font-style: italic;
}
