/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 6,000+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.15.1764023529
Updated: 2025-11-24 22:32:09

*/
.blogs-grid-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.blogs-header {
    margin-bottom: 50px;
}

.blogs-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blogs-search form {
    max-width: 500px;
    margin: 0 auto 30px;
}

.blogs-categories {
    margin-top: 20px;
    font-size: 1.1rem;
}

.blogs-categories a {
    text-decoration: none;
    color: #333;
}

.blogs-categories a:hover {
    text-decoration: underline;
}

.blogs-grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-grid-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.blog-grid-item:hover {
    transform: translateY(-8px);
}

.grid-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.grid-thumb img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}



/* Responsive */
@media (max-width: 992px) {
    .blogs-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blogs-grid-container {
        grid-template-columns: 1fr;
    }
}
/* Force proper capitalization on our custom blog page title */
.blogs-grid-page .page-title {
    text-transform: none !important; /* overrides Astra's lowercase setting */
    /* optional: make it title-case if you ever type it lowercase */
    /* text-transform: capitalize; */
}

/* --- UNIFORM GRID CARDS + PROPER TITLE STYLING --- */
.blog-grid-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0 0 0 0.08);
    transition: transform 0.3s;
}

.blog-grid-item:hover {
    transform: translateY(-8px);
}

.grid-thumb img {
    height: 260px; !important; /* change 260 to any height you like */
    object-fit: cover;
    display: block;
}

.grid-title-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    background: #fff;
}

.grid-uag-title {
    margin: 0 !important;
    font-size: 1.4rem !important; /* make smaller 1.3rem ./ bigger: 1.6rem */
    line-height: 1.3 !important;
    text-align: center;
    text-transform: capitalize; !important; /* forces title case */
    color: #222 !important;
}

/* Only the search button - matches design perfectly */
.blogs-search .search-submit{
    background: #178e79 !important;
    color: #ffffff !important;
    border: none !important;
    transition: all 0.3s ease !important;
}
.blogs-search .search-submit:hover,
.blogs-search .search-submit:focus {
    background: #d4f3d7 !important;
    color: #178e79 !important;
}
/* Dropdown categories — your exact colors */
.blogs-categories-dropdown {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
    margin: 35px 0;
    font-size: 1.1rem;
}

/* Normal state — your green */
.cat-parent-item a,
.cat-parent-link,
.cat-parent-link.no-children {
    color: #178e79 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.25s ease !important;
}
/* to make images square on mobile /*
.grid-thumb img { width: 100% !important; height: 280px !important; object-fit; cover !important; }

/* Hover state — black text on light mint background */
.cat-parent-item a:hover,
.cat-parent-link:hover,
.cat-submenu a:hover {
    color: #000000 !important;
    background: #d4f3d7 !important;
}


    align-items: center;
    gap: 6px;
    transition: all 0.25s ease;
}
/* FINAL - Perfect dropdowns + mobile menu (2024-11-25) */
.blog-main-menu {
    margin: 40px 0;
    text-align: center;
}
.blog-main-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-main-menu a {
    color: #178e79 !important;
    text-decoration: none !important;
    padding: 10px 16px;
    border-radius: 6px;
    display: block;
    font-weight: 500;
    transition: all 0.2s;
}
.blog-main-menu a:hover {
    background: #d4r3d7 !important;
    color: #000 !important;
}
.blog-main-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 200px;
    box-shadow: 0 10px 30px rbga(0,0,0,0.15);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 99999;
}
.blog-main-menu li:hover > .sub-menu {
    display: block;
}

/* Mobile - let Astra handle the hamberger automatically */
@media (max-width: 921px)
    .blog-main-menu .menu {
        display: none; /* Astra's mobile menu takes over */
    }
}