/*
Theme Name: Hello Elementor Child
Theme URI: https://growmoreavenue.com/
Description: Custom child theme for Grow More Avenue
Author: Grow More Avenue
Template: hello-elementor
Version: 1.0.0
*/

/* ================================
   SINGLE BLOG POST
================================ */

.single-post .site-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 25px 80px;
}

/* Main two-column layout */

.single-post .gma-blog-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 50px;
    align-items: start;
}

/* Main article */

.single-post .gma-blog-content {
    min-width: 0;
}

/* Post title */

.single-post .gma-post-title {
    margin: 0 0 15px;
    font-size: 44px;
    line-height: 1.2;
    font-weight: 600;
}

/* Post meta */

.single-post .gma-post-meta {
    margin-bottom: 30px;
    font-size: 15px;
    color: #666;
}

.single-post .gma-post-meta span {
    margin-right: 15px;
}

/* Featured image */

.single-post .gma-featured-image {
    margin-bottom: 35px;
}

.single-post .gma-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gutenberg content */

.single-post .gma-post-body {
    font-size: 18px;
    line-height: 1.75;
}

.single-post .gma-post-body h2 {
    margin-top: 45px;
    margin-bottom: 18px;
    font-size: 30px;
    line-height: 1.3;
}

.single-post .gma-post-body h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    font-size: 24px;
    line-height: 1.35;
}

.single-post .gma-post-body p {
    margin-bottom: 22px;
}

.single-post .gma-post-body ul,
.single-post .gma-post-body ol {
    margin-bottom: 25px;
}

/* Images inside articles */

.single-post .gma-post-body img {
    max-width: 100%;
    height: auto;
}

/* Tables */

.single-post .gma-post-body table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
}

.single-post .gma-post-body th,
.single-post .gma-post-body td {
    padding: 12px;
    border: 1px solid #ddd;
}

/* Sidebar */

.single-post .gma-blog-sidebar {
    position: sticky;
    top: 30px;
}

.single-post .gma-sidebar-widget {
    margin-bottom: 30px;
    padding: 24px;
    border: 1px solid #e5e5e5;
    background: #fff;
}

.single-post .gma-sidebar-widget h3 {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.3;
}

/* Sidebar lists */

.single-post .gma-blog-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.single-post .gma-blog-sidebar li {
    margin-bottom: 12px;
    line-height: 1.5;
}

.single-post .gma-blog-sidebar a {
    text-decoration: none;
}

/* CTA */

.single-post .gma-sidebar-cta {
    padding: 25px;
    background: #f7f7f7;
}

.single-post .gma-sidebar-cta h3 {
    margin-top: 0;
}

.single-post .gma-sidebar-button {
    display: inline-block;
    padding: 12px 20px;
    background: #f4a43a;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    border-radius: 3px;
}

.single-post .gma-sidebar-button:hover {
    opacity: .9;
}

/* Tags */

.single-post .gma-post-tags {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

/* Comments */

.single-post .gma-comments {
    margin-top: 60px;
}

/* Mobile */

@media (max-width: 900px) {

    .single-post .gma-blog-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .single-post .gma-blog-sidebar {
        position: static;
    }

    .single-post .gma-post-title {
        font-size: 36px;
    }

}

@media (max-width: 600px) {

    .single-post .site-main {
        padding: 35px 18px 60px;
    }

    .single-post .gma-post-title {
        font-size: 30px;
    }

    .single-post .gma-post-body {
        font-size: 17px;
    }

}



/* =========================================================
   GROW MORE AVENUE - CATEGORY / BLOG ARCHIVE
   ========================================================= */

.gma-category-archive {
    background: #ffffff;
    color: #1d2940;
}

/* Main container */

.gma-category-container {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding-left: 25px;
    padding-right: 25px;
    box-sizing: border-box;
}


/* =========================================================
   CATEGORY HERO
   ========================================================= */

.gma-category-hero {
    padding-top: 170px;
    padding-bottom: 55px;
    background: #ffffff;
}

.gma-category-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #f5a623;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.gma-category-title {
    margin: 0 0 20px;
    color: #18243a;
    font-size: 46px;
    line-height: 1.15;
    font-weight: 700;
}

.gma-category-description {
    max-width: 900px;
    color: #4c586b;
    font-size: 17px;
    line-height: 1.75;
}

.gma-category-description p {
    margin-top: 0;
    margin-bottom: 16px;
}


/* =========================================================
   BLOG SECTION
   ========================================================= */

.gma-category-posts {
    padding-top: 70px;
    padding-bottom: 75px;
    background: #f7f9fc;
}

.gma-category-section-heading {
    max-width: 760px;
    margin-bottom: 40px;
}

.gma-section-kicker {
    display: block;
    margin-bottom: 10px;
    color: #f5a623;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gma-category-section-heading h2 {
    margin: 0 0 15px;
    color: #18243a;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
}

.gma-category-section-heading p {
    margin: 0;
    color: #5d6879;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   3 COLUMN BLOG GRID
   ========================================================= */

.gma-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: stretch;
}


/* =========================================================
   BLOG CARD
   ========================================================= */

.gma-blog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e8ebf0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(20, 35, 60, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gma-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(20, 35, 60, 0.12);
}


/* =========================================================
   BLOG IMAGE
   ========================================================= */

.gma-blog-card-image {
    display: block;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #eef2f7;
}

.gma-blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gma-blog-card:hover .gma-blog-card-image img {
    transform: scale(1.04);
}


/* Placeholder if article has no featured image */

.gma-blog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #eef3f8;
    color: #365aa5;
    font-size: 18px;
    font-weight: 700;
}


/* =========================================================
   CARD CONTENT
   ========================================================= */

.gma-blog-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 25px;
}

.gma-blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 13px;
    color: #7a8493;
    font-size: 13px;
    line-height: 1.5;
}

.gma-meta-divider {
    color: #f5a623;
}

.gma-blog-card-title {
    margin: 0 0 13px;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 700;
}

.gma-blog-card-title a {
    color: #1b2b49;
    text-decoration: none;
}

.gma-blog-card-title a:hover {
    color: #d73572;
}

.gma-blog-card-excerpt {
    margin-bottom: 20px;
    color: #5d6879;
    font-size: 15px;
    line-height: 1.7;
}

.gma-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: #d73572;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.gma-blog-read-more:hover {
    color: #f5a623;
}


/* =========================================================
   PAGINATION
   ========================================================= */

.gma-category-pagination {
    margin-top: 45px;
    text-align: center;
}

.gma-category-pagination ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gma-category-pagination li {
    margin: 0;
}

.gma-category-pagination a,
.gma-category-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    padding: 6px 12px;
    border: 1px solid #e0e5eb;
    border-radius: 5px;
    background: #ffffff;
    color: #263754;
    text-decoration: none;
}

.gma-category-pagination .current {
    background: #3159a6;
    color: #ffffff;
    border-color: #3159a6;
}


/* =========================================================
   TOPIC SECTION
   ========================================================= */

.gma-category-topic {
    padding: 100px 0;
    background: #ffffff;
}

.gma-category-topic-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: center;
}

.gma-topic-intro h2 {
    margin: 0 0 18px;
    color: #18243a;
    font-size: 34px;
    line-height: 1.25;
}

.gma-topic-intro p {
    margin: 0;
    color: #5d6879;
    font-size: 16px;
    line-height: 1.75;
}

.gma-category-topics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.gma-topic-box {
    padding: 22px;
    border: 1px solid #e7ebf1;
    border-radius: 8px;
    background: #f8fafc;
}

.gma-topic-box strong {
    display: block;
    margin-bottom: 7px;
    color: #263754;
    font-size: 16px;
}

.gma-topic-box span {
    display: block;
    color: #687384;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   CTA
   ========================================================= */

.gma-category-cta {
    padding: 65px 0;
    background: #f4f7fb;
}

.gma-category-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 45px;
    border-radius: 10px;
    background: #3159a6;
}

.gma-category-cta-inner .gma-category-label {
    color: #f5b13b;
}

.gma-category-cta-inner h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 30px;
    line-height: 1.3;
}

.gma-category-cta-inner p {
    max-width: 700px;
    margin: 0;
    color: #ffffff;
    opacity: 0.92;
    font-size: 16px;
    line-height: 1.7;
}

.gma-category-button {
    display: inline-block;
    padding: 14px 24px;
    border-radius: 5px;
    background: #f5a623;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gma-category-button:hover {
    background: #e89512;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   NO POSTS
   ========================================================= */

.gma-no-posts {
    padding: 50px;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e5e9ef;
}

.gma-no-posts h2 {
    margin-top: 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .gma-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gma-category-topic-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .gma-category-title {
        font-size: 40px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .gma-category-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .gma-category-hero {
        padding-top: 45px;
        padding-bottom: 40px;
    }

    .gma-category-title {
        font-size: 32px;
    }

    .gma-category-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .gma-category-posts {
        padding-top: 50px;
        padding-bottom: 55px;
    }

    .gma-category-section-heading h2 {
        font-size: 27px;
    }

    .gma-post-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .gma-blog-card-image {
        height: 210px;
    }

    .gma-category-topics {
        grid-template-columns: 1fr;
    }

    .gma-category-cta {
        padding: 45px 0;
    }

    .gma-category-cta-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
    }

    .gma-category-cta-inner h2 {
        font-size: 26px;
    }

}