/* =========================================================
   SOLAR BLOG LISTING
   PRAKASH SOLAR GREEN ENERGY
========================================================= */
.blog-page-hero,
.blog-list-section,
.blog-cta-section {
    --solar-green: #eab308;
    --solar-dark: #a16207;
    --solar-deep: #854d0e;
    --solar-light: #fefce8;
    --solar-lime: #facc15;
    --solar-text: #422006;
    --solar-muted: #6b7280;
    --solar-border: #fde68a;
}

/* =========================================================
   BLOG HERO
========================================================= */

.blog-page-hero {
    position: relative;
    padding: 95px 0 100px;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(152,232,107,.18),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #9a3412 0%,
            #c2410c 55%,
            #ea580c 100%
        );

    color: #fff;
}


.blog-page-hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    right: -180px;
    top: -190px;

    border-radius: 50%;

    background: rgba(152,232,107,.08);

    pointer-events: none;
}


.blog-page-hero::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    left: -150px;
    bottom: -170px;

    border-radius: 50%;

    border: 1px solid rgba(255,255,255,.07);

    pointer-events: none;
}


.blog-hero-content {
    position: relative;
    z-index: 2;

    max-width: 820px;

    margin: auto;

    text-align: center;
}


.blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 9px 15px;

    border: 1px solid rgba(169,238,124,.28);

    border-radius: 50px;

    background: rgba(169,238,124,.09);

    color: #fdba74;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.blog-hero-content h1 {
    margin: 22px 0 20px;

    color: #fff;

    font-size: clamp(42px, 5vw, 68px);

    line-height: 1.05;

    font-weight: 800;

    letter-spacing: -1.8px;
}


.blog-hero-content h1 span {
    color: var(--solar-lime);
}


.blog-hero-content p {
    max-width: 680px;

    margin: auto;

    color: rgba(255,255,255,.76);

    font-size: 17px;

    line-height: 1.8;
}


/* =========================================================
   BLOG LIST SECTION
========================================================= */

.blog-list-section {
    padding: 95px 0;

    background: #f6f9f7;
}


/* =========================================================
   SECTION HEADING
========================================================= */

.blog-section-heading {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 45px;
}


.blog-section-eyebrow {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 10px;

    color: var(--solar-green);

    font-size: 11px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.blog-section-heading h2 {
    margin: 0;

    color: var(--solar-text);

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.15;

    font-weight: 800;

    letter-spacing: -1px;
}


.blog-section-heading h2 span {
    color: var(--solar-green);
}


.blog-section-heading > p {
    max-width: 430px;

    margin: 0;

    color: var(--solar-muted);

    font-size: 15px;

    line-height: 1.75;
}


/* =========================================================
   BLOG CARD
========================================================= */

.solar-blog-card {
    height: 100%;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--solar-border);

    border-radius: 22px;

    background: #fff;

    box-shadow:
        0 12px 35px rgba(0,0,0,.045);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}


.solar-blog-card:hover {
    transform: translateY(-7px);

    border-color: #fed7aa;

    box-shadow:
        0 22px 50px rgba(4,44,25,.10);
}


/* =========================================================
   BLOG IMAGE
========================================================= */

.solar-blog-image {
    position: relative;

    display: block;

    height: 245px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #ffedd5,
            #fff7ed
        );

    text-decoration: none;
}


.solar-blog-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .55s ease;
}


.solar-blog-card:hover
.solar-blog-image img {
    transform: scale(1.06);
}


/* =========================================================
   IMAGE PLACEHOLDER
========================================================= */

.blog-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(152,232,107,.35),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            #9a3412,
            #f97316
        );

    color: #fdba74;

    font-size: 52px;
}


/* =========================================================
   BLOG BADGES
========================================================= */

.blog-badges {
    position: absolute;

    top: 15px;
    left: 15px;

    display: flex;

    flex-wrap: wrap;

    gap: 7px;

    z-index: 3;
}


.blog-badge {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    padding: 7px 10px;

    border-radius: 50px;

    color: #fff;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .5px;

    backdrop-filter: blur(8px);
}


.blog-badge.featured {
    background: rgba(6,59,34,.88);
}


.blog-badge.trending {
    background: rgba(20,128,68,.90);
}


/* =========================================================
   IMAGE ARROW
========================================================= */

.blog-image-arrow {
    position: absolute;

    right: 15px;
    bottom: 15px;

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(255,255,255,.94);

    color: var(--solar-green);

    font-size: 17px;

    opacity: 0;

    transform: translateY(8px);

    transition:
        opacity .3s ease,
        transform .3s ease;
}


.solar-blog-card:hover
.blog-image-arrow {
    opacity: 1;

    transform: translateY(0);
}


/* =========================================================
   BLOG CONTENT
========================================================= */

.solar-blog-content {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding: 25px;
}


/* =========================================================
   CATEGORY
========================================================= */

.blog-category {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    width: fit-content;

    margin-bottom: 11px;

    color: var(--solar-green);

    font-size: 11px;

    font-weight: 800;

    text-decoration: none;

    text-transform: uppercase;

    letter-spacing: .8px;
}


.blog-category:hover {
    color: var(--solar-dark);
}


/* =========================================================
   TITLE
========================================================= */

.solar-blog-content h3 {
    margin: 0 0 12px;

    font-size: 20px;

    line-height: 1.35;

    font-weight: 800;
}


.solar-blog-content h3 a {
    color: var(--solar-text);

    text-decoration: none;

    transition: color .25s ease;
}


.solar-blog-content h3 a:hover {
    color: var(--solar-green);
}


/* =========================================================
   DESCRIPTION
========================================================= */

.solar-blog-content > p {
    margin: 0 0 20px;

    color: var(--solar-muted);

    font-size: 13px;

    line-height: 1.75;
}


/* =========================================================
   BLOG META
========================================================= */

.blog-meta {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 12px;

    padding: 14px 0;

    border-top: 1px solid #f3f4f6;

    border-bottom: 1px solid #f3f4f6;
}


.blog-author,
.blog-reading-time {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #6b7280;

    font-size: 11px;

    font-weight: 650;
}


.blog-author {
    min-width: 0;
}


.blog-author > span:last-child {
    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.blog-author-icon {
    width: 28px;
    height: 28px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 28px;

    border-radius: 50%;

    background: var(--solar-light);

    color: var(--solar-green);

    font-size: 12px;
}


.blog-reading-time {
    white-space: nowrap;
}


.blog-reading-time i {
    color: var(--solar-green);
}


/* =========================================================
   CARD FOOTER
========================================================= */

.blog-card-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding-top: 18px;

    margin-top: auto;
}


.blog-date {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: #9ca3af;

    font-size: 11px;

    font-weight: 600;
}


.blog-date i {
    color: var(--solar-green);
}


.blog-read-more {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: var(--solar-green);

    font-size: 12px;

    font-weight: 800;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .25s ease;
}


.blog-read-more i {
    transition:
        transform .25s ease;
}


.blog-read-more:hover {
    color: var(--solar-dark);
}


.blog-read-more:hover i {
    transform: translate(3px, -3px);
}


/* =========================================================
   PAGINATION
========================================================= */

.blog-pagination {
    display: flex;

    justify-content: center;

    margin-top: 55px;
}


.blog-pagination .pagination {
    display: flex;

    flex-wrap: wrap;

    justify-content: center;

    gap: 7px;

    margin: 0;
}


.blog-pagination .page-link {
    width: 40px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid var(--solar-border);

    border-radius: 10px !important;

    background: #fff;

    color: var(--solar-text);

    font-size: 12px;

    font-weight: 700;

    box-shadow: none;

    transition: .25s ease;
}


.blog-pagination .page-link:hover {
    border-color: var(--solar-green);

    background: var(--solar-light);

    color: var(--solar-green);
}


.blog-pagination .page-item.active .page-link {
    border-color: var(--solar-green);

    background: var(--solar-green);

    color: #fff;
}


.blog-pagination .page-item.disabled .page-link {
    opacity: .45;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.blog-empty {
    padding: 75px 30px;

    text-align: center;

    border: 1px solid var(--solar-border);

    border-radius: 22px;

    background: #fff;
}


.blog-empty-icon {
    width: 70px;
    height: 70px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin: 0 auto 20px;

    border-radius: 18px;

    background: var(--solar-light);

    color: var(--solar-green);

    font-size: 28px;
}


.blog-empty h3 {
    margin: 0 0 8px;

    color: var(--solar-text);

    font-size: 24px;

    font-weight: 800;
}


.blog-empty p {
    margin: 0;

    color: var(--solar-muted);

    font-size: 14px;
}


/* =========================================================
   CTA
========================================================= */

.blog-cta-section {
    padding: 80px 0;

    background: #fff;
}


.blog-cta {
    position: relative;

    display: flex;

    align-items: center;

    gap: 25px;

    padding: 38px 42px;

    overflow: hidden;

    border-radius: 25px;

    background:
        linear-gradient(
            135deg,
            #9a3412,
            #c2410c
        );

    box-shadow:
        0 20px 50px rgba(3,58,29,.13);
}


.blog-cta::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -130px;
    top: -150px;

    border-radius: 50%;

    background: rgba(152,232,107,.08);

    pointer-events: none;
}


.blog-cta-icon {
    position: relative;

    z-index: 2;

    width: 62px;
    height: 62px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 62px;

    border-radius: 17px;

    background: var(--solar-lime);

    color: var(--solar-dark);

    font-size: 25px;
}


.blog-cta-content {
    position: relative;

    z-index: 2;

    flex: 1;
}


.blog-cta-content > span {
    display: block;

    margin-bottom: 5px;

    color: #fdba74;

    font-size: 10px;

    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: 1.4px;
}


.blog-cta-content h2 {
    margin: 0 0 7px;

    color: #fff;

    font-size: 27px;

    line-height: 1.25;

    font-weight: 800;
}


.blog-cta-content p {
    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.70);

    font-size: 13px;

    line-height: 1.7;
}


.blog-cta-action {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;

    gap: 10px;
}


.blog-cta-phone,
.blog-cta-button {
    min-height: 46px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 8px;

    padding: 0 17px;

    border-radius: 10px;

    text-decoration: none;

    font-size: 12px;

    font-weight: 750;

    white-space: nowrap;

    transition: .25s ease;
}


.blog-cta-phone {
    border: 1px solid rgba(255,255,255,.20);

    background: rgba(255,255,255,.08);

    color: #fff;
}


.blog-cta-phone:hover {
    background: rgba(255,255,255,.15);

    color: #fff;

    transform: translateY(-2px);
}


.blog-cta-button {
    background: var(--solar-lime);

    color: var(--solar-dark);

    border: 1px solid var(--solar-lime);
}


.blog-cta-button:hover {
    background: #fff;

    border-color: #fff;

    color: var(--solar-dark);

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .blog-page-hero {
        padding: 80px 0 85px;
    }


    .blog-list-section {
        padding: 75px 0;
    }


    .blog-section-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .blog-section-heading > p {
        max-width: 650px;
    }


    .blog-cta {
        align-items: flex-start;

        flex-wrap: wrap;
    }


    .blog-cta-content {
        flex: 1 1 calc(100% - 90px);
    }


    .blog-cta-action {
        width: 100%;

        padding-left: 87px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .blog-page-hero {
        padding: 65px 0 65px;
    }


    .blog-hero-content h1 {
        margin: 18px 0 16px;

        font-size: 40px;

        letter-spacing: -.8px;
    }


    .blog-hero-content p {
        font-size: 15px;

        line-height: 1.7;
    }


    .blog-list-section {
        padding: 60px 0;
    }


    .blog-section-heading {
        margin-bottom: 32px;
    }


    .blog-section-heading h2 {
        font-size: 32px;
    }


    .solar-blog-image {
        height: 230px;
    }


    .solar-blog-content {
        padding: 22px;
    }


    .blog-cta-section {
        padding: 60px 0;
    }


    .blog-cta {
        padding: 30px 24px;

        border-radius: 20px;

        gap: 18px;
    }


    .blog-cta-icon {
        width: 52px;
        height: 52px;

        flex-basis: 52px;

        border-radius: 14px;

        font-size: 21px;
    }


    .blog-cta-content {
        flex: 1 1 calc(100% - 70px);
    }


    .blog-cta-content h2 {
        font-size: 23px;
    }


    .blog-cta-action {
        width: 100%;

        padding-left: 0;

        flex-direction: column;

        align-items: stretch;
    }


    .blog-cta-phone,
    .blog-cta-button {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .blog-page-hero {
        padding: 55px 0;
    }


    .blog-hero-content h1 {
        font-size: 34px;
    }


    .blog-hero-content p {
        font-size: 14px;
    }


    .blog-section-heading h2 {
        font-size: 29px;
    }


    .solar-blog-image {
        height: 215px;
    }


    .solar-blog-content {
        padding: 20px;
    }


    .solar-blog-content h3 {
        font-size: 18px;
    }


    .blog-meta {
        align-items: flex-start;

        flex-direction: column;

        gap: 9px;
    }


    .blog-card-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }


    .blog-read-more {
        width: 100%;

        justify-content: space-between;

        padding-top: 12px;

        border-top: 1px solid #f3f4f6;
    }


    .blog-pagination {
        margin-top: 40px;
    }

}