/* =========================================================
   YOGALAYA VEDIC BLOG
   Premium Blog Design
   ========================================================= */

.yv-blog-page-wrapper,
.yv-single-page-wrapper {
    width: 100%;
    background: #fffaf5;
    color: #183c32;
}


/* =========================================================
   BLOG HERO
   ========================================================= */

.yv-blog-hero {
    padding: 70px 20px 45px;
    text-align: center;
    background:
        linear-gradient(
            135deg,
            #fffaf5 0%,
            #f7eee2 50%,
            #fffaf5 100%
        );
}

.yv-blog-hero-inner {
    width: min(1100px, 92%);
    margin: 0 auto;
}

.yv-blog-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #1a6b56;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
}

.yv-blog-hero h1 {
    margin: 0 0 15px;
    color: #153f33;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.yv-blog-hero p {
    max-width: 720px;
    margin: 0 auto;
    color: #64736d;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   CATEGORY NAVIGATION
   ========================================================= */

.yv-blog-navigation {
    padding: 0 20px 45px;
    background: #fffaf5;
}

.yv-blog-nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 1150px;
    margin: auto;
}

.yv-blog-category {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 19px;
    border: 1px solid #e6d8c7;
    border-radius: 30px;
    color: #255c4d;
    background: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all .25s ease;
}

.yv-blog-category:hover,
.yv-blog-category.active {
    border-color: #e67e22;
    background: #e67e22;
    color: #fff;
}


/* =========================================================
   BLOG GRID
   ========================================================= */

.yv-blog-list-section {
    width: min(1180px, 92%);
    margin: 0 auto;
    padding: 0 0 80px;
}

.yv-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}


/* =========================================================
   BLOG CARD
   ========================================================= */

.yv-blog-card {
    display: grid;
    grid-template-columns: 43% 57%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #eee5db;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 35px rgba(43, 58, 50, .07);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.yv-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 45px rgba(43, 58, 50, .12);
}

.yv-blog-card-image {
    min-height: 330px;
    overflow: hidden;
    background: #f3eee7;
}

.yv-blog-card-image a {
    display: block;
    height: 100%;
}

.yv-blog-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    transition: transform .5s ease;
}

.yv-blog-card:hover .yv-blog-card-image img {
    transform: scale(1.04);
}

.yv-blog-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 330px;
    padding: 20px;
    background: #145b49;
    color: #fff;
    font-family: Georgia, serif;
    letter-spacing: 2px;
    text-align: center;
}


/* CARD CONTENT */

.yv-blog-card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

.yv-blog-card-meta {
    margin-bottom: 12px;
}

.yv-blog-label {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 20px;
    background: #eef5f1;
    color: #1a6b56;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.yv-blog-date-read {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 11px;
    color: #78827e;
    font-size: 12px;
}

.yv-meta-dot {
    color: #c0b8ae;
}

.yv-blog-card-title {
    margin: 0 0 13px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(24px, 2.2vw, 31px);
    line-height: 1.15;
}

.yv-blog-card-title a {
    color: #162f29;
    text-decoration: none;
}

.yv-blog-card-title a:hover {
    color: #1a6b56;
}

.yv-blog-card-excerpt {
    color: #65716c;
    font-size: 14px;
    line-height: 1.8;
}

.yv-blog-card-excerpt p {
    margin: 0;
}

.yv-blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    margin-top: 22px;
    color: #13705a;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.yv-blog-read-more span {
    transition: transform .2s ease;
}

.yv-blog-read-more:hover span {
    transform: translateX(5px);
}


/* =========================================================
   PAGINATION
   ========================================================= */

.yv-pagination {
    display: flex;
    justify-content: center;
    margin-top: 55px;
}

.yv-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 46px;
    min-height: 46px;
    margin: 4px;
    padding: 0 14px;
    border: 1px solid #e7ddd2;
    border-radius: 8px;
    background: #fff;
    color: #245a4c;
    font-size: 13px;
    text-decoration: none;
}

.yv-pagination .page-numbers.current {
    border-color: #176650;
    background: #176650;
    color: #fff;
}

.yv-pagination .page-numbers:hover {
    border-color: #176650;
    background: #176650;
    color: #fff;
}








/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .yv-blog-grid {
        grid-template-columns: 1fr;
    }

    .yv-blog-card {
        grid-template-columns: 42% 58%;
    }

    .yv-blog-card-image,
    .yv-blog-card-image img {
        min-height: 300px;
    }

    .yv-blog-card-content {
        padding: 28px;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 650px) {

    .yv-blog-hero {
        padding: 45px 18px 30px;
    }

    .yv-blog-hero h1 {
        font-size: 38px;
    }

    .yv-blog-hero p {
        font-size: 15px;
        line-height: 1.7;
    }

    .yv-blog-navigation {
        padding-bottom: 30px;
    }

    .yv-blog-nav-inner {
        gap: 7px;
    }

    .yv-blog-category {
        min-height: 37px;
        padding: 8px 13px;
        font-size: 11px;
    }

    .yv-blog-list-section {
        width: 94%;
    }

    .yv-blog-grid {
        gap: 20px;
    }

    .yv-blog-card {
        display: block;
    }

    .yv-blog-card-image,
    .yv-blog-card-image img {
        min-height: 235px;
        height: 235px;
    }

    .yv-blog-card-content {
        padding: 24px 22px 27px;
    }

    .yv-blog-card-title {
        font-size: 27px;
    }

    .yv-blog-card-excerpt {
        font-size: 14px;
    }

    .yv-pagination {
        flex-wrap: wrap;
    }


    /* SINGLE */

    .yv-single-page-wrapper {
        padding: 25px 12px 55px;
    }

    .yv-single-post {
        padding: 28px 18px 35px;
        border-radius: 15px;
    }

    .yv-single-title {
        font-size: 36px;
        line-height: 1.12;
    }

    .yv-single-meta {
        font-size: 12px;
    }

    .yv-share-box {
        padding: 18px 12px;
    }

    .yv-share-buttons {
        gap: 7px;
    }

    .yv-share-btn {
        min-height: 36px;
        padding: 8px 11px;
        font-size: 10px;
    }

    .yv-single-content {
        font-size: 16px;
        line-height: 1.8;
    }

    .yv-post-navigation {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .yv-post-navigation .yv-prev,
    .yv-post-navigation .yv-next {
        text-align: center;
    }

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 400px) {

    .yv-blog-hero h1 {
        font-size: 32px;
    }

    .yv-blog-card-image,
    .yv-blog-card-image img {
        height: 210px;
        min-height: 210px;
    }

    .yv-blog-card-title {
        font-size: 24px;
    }

    .yv-share-btn {
        min-width: 42px;
        padding: 8px 10px;
    }

}



