/**
Theme Name: Deeva Solar Astra Child Theme
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: deeva-solar-astra-child-theme
Template: astra
*/

/* =========================================================
   DEEVA SOLAR - CUSTOM SINGLE BLOG POST
   ========================================================= */

.deeva-single-post {
    background: #ffffff;
    color: #222;
}


/* HERO */

.deeva-post-hero {
    padding: 90px 20px 45px;
    text-align: center;
}

.deeva-post-hero-inner {
    max-width: 980px;
    margin: 0 auto;
}

.deeva-post-category {
    display: inline-block;
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #5b8f2d;
}

.deeva-post-title {
    max-width: 900px;
    margin: 0 auto 22px;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -1.5px;
    color: #17211a;
}

.deeva-post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 15px;
    color: #777;
}

.deeva-meta-dot {
    color: #aaa;
}


/* FEATURED IMAGE */

.deeva-featured-image-wrap {
    width: min(1180px, calc(100% - 40px));
    margin: 10px auto 70px;
}

.deeva-featured-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    border-radius: 18px;
}


/* ARTICLE */

.deeva-article-section {
    padding: 0 20px;
}

.deeva-article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.85;
    color: #3d453f;
}

.deeva-article-content p {
    margin: 0 0 28px;
}

.deeva-article-content h2 {
    margin: 55px 0 20px;
    font-size: 36px;
    line-height: 1.2;
    color: #17211a;
}

.deeva-article-content h3 {
    margin: 42px 0 16px;
    font-size: 27px;
    line-height: 1.3;
    color: #17211a;
}

.deeva-article-content h4 {
    margin: 35px 0 14px;
    font-size: 22px;
    color: #17211a;
}

.deeva-article-content a {
    color: #4f8524;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.deeva-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 20px 0 30px;
}

.deeva-article-content blockquote {
    margin: 45px 0;
    padding: 28px 32px;
    border-left: 4px solid #659b34;
    background: #f5f8f3;
    font-size: 21px;
    line-height: 1.65;
    color: #293329;
}

.deeva-article-content ul,
.deeva-article-content ol {
    margin: 0 0 30px 25px;
}

.deeva-article-content li {
    margin-bottom: 10px;
}


/* AUTHOR */

.deeva-author-section {
    padding: 70px 20px 0;
}

.deeva-author-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    display: flex;
    gap: 24px;
    align-items: center;
    background: #f7f9f6;
    border-radius: 16px;
}

.deeva-author-avatar img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
}

.deeva-author-label {
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    color: #659b34;
}

.deeva-author-info h3 {
    margin: 0 0 7px;
    font-size: 22px;
    color: #17211a;
}

.deeva-author-info p {
    margin: 0;
    color: #697169;
    line-height: 1.6;
}


/* PREVIOUS / NEXT */

.deeva-post-navigation {
    padding: 55px 20px 75px;
}

.deeva-nav-inner {
    max-width: 980px;
    margin: 0 auto;
    padding-top: 35px;
    border-top: 1px solid #e4e8e2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.deeva-prev-post,
.deeva-next-post {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.deeva-next-post {
    text-align: right;
}

.deeva-prev-post span,
.deeva-next-post span {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #8a918a;
}

.deeva-prev-post a,
.deeva-next-post a {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #17211a;
    text-decoration: none;
}

.deeva-prev-post a:hover,
.deeva-next-post a:hover {
    color: #659b34;
}


/* RELATED ARTICLES */

.deeva-related-section {
    padding: 80px 20px;
    background: #f6f8f5;
}

.deeva-related-inner {
    max-width: 1180px;
    margin: 0 auto;
}

.deeva-section-heading {
    margin-bottom: 35px;
    text-align: center;
}

.deeva-section-heading span {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #659b34;
}

.deeva-section-heading h2 {
    margin: 0;
    font-size: 42px;
    line-height: 1.2;
    color: #17211a;
}

.deeva-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.deeva-related-card {
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.055);
    transition: transform .25s ease, box-shadow .25s ease;
}

.deeva-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.09);
}

.deeva-related-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.deeva-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.deeva-related-card:hover .deeva-related-image img {
    transform: scale(1.04);
}

.deeva-related-card-content {
    padding: 24px;
}

.deeva-related-date {
    margin-bottom: 9px;
    font-size: 13px;
    color: #8a918a;
}

.deeva-related-card h3 {
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.35;
}

.deeva-related-card h3 a {
    color: #17211a;
    text-decoration: none;
}

.deeva-read-more {
    font-size: 14px;
    font-weight: 700;
    color: #5c8f30;
    text-decoration: none;
}


/* CTA */

.deeva-blog-cta {
    padding: 80px 20px;
    background: #17211a;
}

.deeva-blog-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.deeva-cta-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #9cc96c;
}

.deeva-blog-cta h2 {
    max-width: 650px;
    margin: 0 0 14px;
    font-size: 42px;
    line-height: 1.2;
    color: #fff;
}

.deeva-blog-cta p {
    max-width: 650px;
    margin: 0;
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255,255,255,.72);
}

.deeva-cta-button {
    display: inline-block;
    white-space: nowrap;
    padding: 16px 27px;
    border-radius: 8px;
    background: #6da53a;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .2s ease, opacity .2s ease;
}

.deeva-cta-button:hover {
    transform: translateY(-2px);
    opacity: .92;
    color: #fff;
}


/* TABLES */

.deeva-article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.deeva-article-content th,
.deeva-article-content td {
    padding: 14px 16px;
    border: 1px solid #dde3db;
    text-align: left;
}

.deeva-article-content th {
    background: #f2f6ef;
    color: #17211a;
}


/* MOBILE */

@media (max-width: 767px) {

    .deeva-post-hero {
        padding: 60px 20px 35px;
    }

    .deeva-post-title {
        font-size: 38px;
        letter-spacing: -0.7px;
    }

    .deeva-featured-image-wrap {
        width: calc(100% - 30px);
        margin-bottom: 50px;
    }

    .deeva-featured-image {
        border-radius: 12px;
    }

    .deeva-article-content {
        font-size: 17px;
        line-height: 1.75;
    }

    .deeva-article-content h2 {
        font-size: 30px;
    }

    .deeva-article-content h3 {
        font-size: 24px;
    }

    .deeva-author-card {
        align-items: flex-start;
    }

    .deeva-nav-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .deeva-next-post {
        text-align: left;
    }

    .deeva-related-grid {
        grid-template-columns: 1fr;
    }

    .deeva-section-heading h2 {
        font-size: 34px;
    }

    .deeva-blog-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .deeva-blog-cta h2 {
        font-size: 34px;
    }
}