/* =========================================================
   PRAKASH SOLAR GREEN ENERGY
   BLOG CATEGORY PAGE
========================================================= */

:root {
    --solar-green: #148044;
    --solar-dark: #063b22;
    --solar-deep: #042c19;
    --solar-light: #eaf8e2;
    --solar-lime: #98e86b;
    --solar-text: #173d29;
    --solar-muted: #68776e;
    --solar-border: #e2ebe5;
    --solar-soft: #f6faf7;
}


/* =========================================================
   CATEGORY HERO
========================================================= */

.solar-category-hero {
    position: relative;
    overflow: hidden;
    padding: 105px 0 80px;
    background:
        radial-gradient(
            circle at 85% 10%,
            rgba(152, 232, 107, .16),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            var(--solar-deep),
            var(--solar-dark)
        );
}

.solar-category-hero-pattern {
    position: absolute;
    inset: 0;
    opacity: .35;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, .025) 1px,
            transparent 1px
        );
    background-size: 55px 55px;
}

.solar-category-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(45px);
}

.solar-category-glow-one {
    top: -80px;
    right: 10%;
    width: 220px;
    height: 220px;
    background: rgba(152, 232, 107, .08);
}

.solar-category-glow-two {
    bottom: -100px;
    left: 8%;
    width: 190px;
    height: 190px;
    background: rgba(20, 128, 68, .14);
}

.solar-category-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.solar-category-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, .40);
    font-size: 11px;
}

.solar-category-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, .67);
    text-decoration: none;
    transition: .25s ease;
}

.solar-category-breadcrumb a:hover {
    color: var(--solar-lime);
}

.solar-category-breadcrumb span {
    color: rgba(255, 255, 255, .25);
}

.solar-category-breadcrumb strong {
    color: rgba(255, 255, 255, .78);
    font-weight: 600;
}


/* =========================================================
   BADGE
========================================================= */

.solar-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border: 1px solid rgba(152, 232, 107, .24);
    border-radius: 100px;
    background: rgba(152, 232, 107, .08);
    color: var(--solar-lime);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.solar-category-badge i {
    font-size: 13px;
}


/* =========================================================
   HERO TITLE
========================================================= */

.solar-category-hero h1 {
    margin: 20px 0 14px;
    color: #fff;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.8px;
}

.solar-category-hero h1 span {
    color: var(--solar-lime);
}

.solar-category-hero-content > p {
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .66);
    font-size: 15px;
    line-height: 1.8;
}


/* =========================================================
   HERO STATS
========================================================= */

.solar-category-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.solar-category-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 145px;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    text-align: left;
}

.solar-category-stat > i {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(152, 232, 107, .10);
    color: var(--solar-lime);
    font-size: 16px;
}

.solar-category-stat div {
    display: flex;
    flex-direction: column;
}

.solar-category-stat strong {
    color: #fff;
    font-size: 13px;
    line-height: 1.2;
}

.solar-category-stat span {
    margin-top: 2px;
    color: rgba(255, 255, 255, .45);
    font-size: 9px;
    text-transform: uppercase;
}


/* =========================================================
   BLOG SECTION
========================================================= */

.solar-category-blog-section {
    padding: 75px 0 90px;
    background: var(--solar-soft);
}


/* =========================================================
   SECTION HEADING
========================================================= */

.solar-category-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 35px;
}

.solar-section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
    color: var(--solar-green);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.solar-section-eyebrow i {
    font-size: 13px;
}

.solar-category-section-heading h2 {
    margin: 0;
    color: var(--solar-dark);
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -1px;
}

.solar-category-section-heading h2 span {
    color: var(--solar-green);
}


/* =========================================================
   ALL BLOGS BUTTON
========================================================= */

.solar-back-blogs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 15px;
    border: 1px solid var(--solar-border);
    border-radius: 9px;
    background: #fff;
    color: var(--solar-dark);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: .25s ease;
}

.solar-back-blogs-btn:hover {
    border-color: var(--solar-green);
    background: var(--solar-green);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   BLOG CARD
========================================================= */

.solar-category-blog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--solar-border);
    border-radius: 19px;
    background: #fff;
    box-shadow:
        0 8px 28px rgba(6, 59, 34, .045);
    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease;
}

.solar-category-blog-card:hover {
    border-color: rgba(20, 128, 68, .25);
    box-shadow:
        0 18px 45px rgba(6, 59, 34, .10);
    transform: translateY(-7px);
}


/* =========================================================
   IMAGE
========================================================= */

.solar-category-image {
    position: relative;
    width: 100%;
    height: 245px;
    overflow: hidden;
    background: var(--solar-light);
}

.solar-category-image > a:first-child {
    display: block;
    width: 100%;
    height: 100%;
}

.solar-category-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .55s ease;
}

.solar-category-blog-card:hover
.solar-category-image img {
    transform: scale(1.07);
}


/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */

.solar-category-image-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle,
            rgba(152, 232, 107, .22),
            transparent 50%
        ),
        var(--solar-light);
    color: var(--solar-green);
    font-size: 55px;
}


/* =========================================================
   IMAGE OVERLAY
========================================================= */

.solar-category-image::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(
            to bottom,
            transparent 50%,
            rgba(0, 0, 0, .20)
        );
}


/* =========================================================
   BLOG BADGES
========================================================= */

.solar-blog-badges {
    position: absolute;
    z-index: 3;
    top: 15px;
    left: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.solar-blog-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border-radius: 50px;
    color: #fff;
    font-size: 8px;
    font-weight: 800;
    text-transform: uppercase;
}

.solar-blog-badge.featured {
    background: var(--solar-green);
}

.solar-blog-badge.trending {
    background: #173d29;
}


/* =========================================================
   CATEGORY LABEL
========================================================= */

.solar-category-label {
    position: absolute;
    z-index: 4;
    bottom: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 50px;
    background: var(--solar-green);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .14);
    transition: .25s ease;
}

.solar-category-label:hover {
    background: var(--solar-lime);
    color: var(--solar-dark);
}


/* =========================================================
   CARD CONTENT
========================================================= */

.solar-category-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}


/* =========================================================
   META
========================================================= */

.solar-category-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 14px;
    margin-bottom: 11px;
}

.solar-category-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #87938c;
    font-size: 9px;
}

.solar-category-meta i {
    color: var(--solar-green);
    font-size: 11px;
}


/* =========================================================
   TITLE
========================================================= */

.solar-category-card-content h3 {
    margin: 0 0 11px;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;
}

.solar-category-card-content h3 a {
    color: var(--solar-dark);
    text-decoration: none;
    transition: .25s ease;
}

.solar-category-card-content h3 a:hover {
    color: var(--solar-green);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.solar-category-card-content > p {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--solar-muted);
    font-size: 12px;
    line-height: 1.75;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.solar-category-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--solar-border);
}


/* =========================================================
   AUTHOR
========================================================= */

.solar-blog-author {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 7px;
    color: var(--solar-muted);
    font-size: 9px;
}

.solar-author-icon {
    display: flex;
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--solar-light);
    color: var(--solar-green);
}

.solar-blog-author > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   VIEWS
========================================================= */

.solar-blog-views {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8c9891;
    font-size: 9px;
}

.solar-blog-views i {
    color: var(--solar-green);
}


/* =========================================================
   READ MORE
========================================================= */

.solar-read-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 17px;
    padding: 10px 0 0;
    color: var(--solar-dark);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.solar-read-more > span {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--solar-light);
    color: var(--solar-green);
    transition: .25s ease;
}

.solar-read-more:hover {
    color: var(--solar-green);
}

.solar-read-more:hover > span {
    background: var(--solar-green);
    color: #fff;
    transform: rotate(8deg);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.solar-category-empty {
    padding: 65px 25px;
    border: 1px dashed var(--solar-border);
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.solar-empty-icon {
    display: flex;
    width: 68px;
    height: 68px;
    align-items: center;
    justify-content: center;
    margin: 0 auto 17px;
    border-radius: 50%;
    background: var(--solar-light);
    color: var(--solar-green);
    font-size: 28px;
}

.solar-category-empty h3 {
    margin: 0 0 7px;
    color: var(--solar-dark);
    font-size: 23px;
    font-weight: 800;
}

.solar-category-empty p {
    max-width: 480px;
    margin: 0 auto 22px;
    color: var(--solar-muted);
    font-size: 13px;
    line-height: 1.7;
}

.solar-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 9px;
    background: var(--solar-green);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: .25s ease;
}

.solar-empty-btn:hover {
    background: var(--solar-dark);
    color: #fff;
    transform: translateY(-2px);
}


/* =========================================================
   PAGINATION
========================================================= */

.solar-category-pagination {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.solar-category-pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
}

.solar-category-pagination .page-link {
    display: flex;
    min-width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--solar-border);
    border-radius: 8px !important;
    background: #fff;
    color: var(--solar-dark);
    font-size: 11px;
    font-weight: 700;
    box-shadow: none;
    transition: .25s ease;
}

.solar-category-pagination .page-link:hover {
    border-color: var(--solar-green);
    background: var(--solar-light);
    color: var(--solar-green);
}

.solar-category-pagination .page-item.active .page-link {
    border-color: var(--solar-green);
    background: var(--solar-green);
    color: #fff;
}

.solar-category-pagination .page-item.disabled .page-link {
    opacity: .45;
}


/* =========================================================
   CTA
========================================================= */

.solar-category-cta {
    padding: 0 0 80px;
    background: var(--solar-soft);
}

.solar-category-cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 35px 40px;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(
            circle at 90% 20%,
            rgba(152, 232, 107, .15),
            transparent 30%
        ),
        var(--solar-dark);
}

.solar-category-cta-icon {
    display: flex;
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(152, 232, 107, .12);
    color: var(--solar-lime);
    font-size: 22px;
}

.solar-category-cta-content {
    flex: 1;
}

.solar-category-cta-content span {
    display: block;
    margin-bottom: 4px;
    color: var(--solar-lime);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}

.solar-category-cta-content h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.2;
    font-weight: 800;
}

.solar-category-cta-content h2 strong {
    color: var(--solar-lime);
}

.solar-category-cta-content p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 11px;
    line-height: 1.6;
}

.solar-category-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 17px;
    border-radius: 9px;
    background: var(--solar-lime);
    color: var(--solar-dark);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: .25s ease;
}

.solar-category-cta-btn:hover {
    background: #fff;
    color: var(--solar-dark);
    transform: translateY(-2px);
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1199px) {

    .solar-category-image {
        height: 225px;
    }

    .solar-category-card-content {
        padding: 21px;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .solar-category-hero {
        padding: 90px 0 65px;
    }

    .solar-category-blog-section {
        padding: 60px 0 70px;
    }

    .solar-category-section-heading {
        align-items: flex-start;
    }

    .solar-category-image {
        height: 235px;
    }

    .solar-category-cta-inner {
        padding: 30px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .solar-category-hero {
        padding: 80px 0 55px;
    }

    .solar-category-breadcrumb {
        margin-bottom: 20px;
        font-size: 9px;
    }

    .solar-category-badge {
        padding: 7px 12px;
        font-size: 8px;
    }

    .solar-category-hero h1 {
        margin-top: 16px;
        font-size: 34px;
        letter-spacing: -1px;
    }

    .solar-category-hero-content > p {
        font-size: 12px;
        line-height: 1.7;
    }


    .solar-category-stats {
        gap: 7px;
        margin-top: 23px;
    }

    .solar-category-stat {
        min-width: 120px;
        padding: 9px;
    }

    .solar-category-stat > i {
        width: 33px;
        height: 33px;
        font-size: 14px;
    }

    .solar-category-stat strong {
        font-size: 11px;
    }

    .solar-category-stat span {
        font-size: 8px;
    }


    .solar-category-blog-section {
        padding: 48px 0 60px;
    }


    .solar-category-section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 27px;
    }

    .solar-category-section-heading h2 {
        font-size: 28px;
    }

    .solar-back-blogs-btn {
        padding: 9px 13px;
    }


    .solar-category-image {
        height: 245px;
    }


    .solar-category-card-content {
        padding: 21px;
    }


    .solar-category-cta {
        padding-bottom: 60px;
    }

    .solar-category-cta-inner {
        align-items: flex-start;
        flex-direction: column;
        padding: 27px 22px;
    }

    .solar-category-cta-icon {
        width: 48px;
        height: 48px;
        flex-basis: 48px;
    }

    .solar-category-cta-btn {
        width: 100%;
        justify-content: center;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .solar-category-hero {
        padding: 72px 0 48px;
    }

    .solar-category-hero h1 {
        font-size: 29px;
    }

    .solar-category-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .solar-category-stat:last-child {
        grid-column: 1 / -1;
        justify-content: center;
    }


    .solar-category-image {
        height: 215px;
    }


    .solar-category-card-content h3 {
        font-size: 19px;
    }


    .solar-category-card-content > p {
        font-size: 11px;
    }


    .solar-category-card-footer {
        gap: 6px;
    }


    .solar-blog-author {
        max-width: 70%;
    }


    .solar-category-pagination .page-link {
        min-width: 34px;
        height: 34px;
        font-size: 10px;
    }

}