/* =========================================================
   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;
}


/* =========================================================
   SINGLE BLOG PAGE
   ========================================================= */

.yv-single-page-wrapper {
    padding: 55px 20px 90px;
}

.yv-single-post {
    width: min(850px, 100%);
    margin: 0 auto;
    padding: 45px 50px 55px;
    border: 1px solid #eee5db;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 15px 55px rgba(35, 55, 47, .08);
}

.yv-single-header {
    text-align: center;
}

.yv-single-topline {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.yv-single-back {
    color: #176650;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.yv-single-back:hover {
    color: #e67e22;
}

.yv-single-label {
    padding: 7px 12px;
    border-radius: 20px;
    background: #fff1e5;
    color: #e67e22;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.yv-single-meta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 18px;
    color: #7a817d;
    font-size: 13px;
}

.yv-single-title {
    margin: 25px auto 30px;
    max-width: 760px;
    color: #132f28;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
}


/* =========================================================
   SHARE BOX
   ========================================================= */

.yv-share-box {
    margin: 0 0 40px;
    padding: 22px;
    border-radius: 15px;
    background: #f8f5ef;
    text-align: center;
}

.yv-share-heading {
    margin-bottom: 14px;
    color: #6e766f;
    font-size: 12px;
    font-weight: 700;
}

.yv-share-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.yv-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    padding: 9px 14px;
    border: 0;
    border-radius: 24px;
    background: #176650;
    color: #fff !important;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition:
        transform .2s ease,
        background .2s ease;
}

.yv-share-btn:hover {
    transform: translateY(-2px);
    background: #e67e22;
}

.yv-share-btn span:first-child {
    font-weight: 900;
}


/* =========================================================
   FEATURED IMAGE
   ========================================================= */

.yv-single-featured-image {
    margin: 0 0 40px;
    overflow: hidden;
    border-radius: 14px;
}

.yv-single-featured-image img {
    display: block;
    width: 100%;
    height: auto;
}


/* =========================================================
   ARTICLE CONTENT
   ========================================================= */

.yv-single-content {
    color: #394943;
    font-size: 17px;
    line-height: 1.9;
}

.yv-single-content p {
    margin: 0 0 22px;
}

.yv-single-content h2,
.yv-single-content h3,
.yv-single-content h4 {
    margin-top: 42px;
    margin-bottom: 15px;
    color: #174e40;
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
}

.yv-single-content h2 {
    font-size: 31px;
}

.yv-single-content h3 {
    font-size: 25px;
}

.yv-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.yv-single-content blockquote {
    margin: 30px 0;
    padding: 22px 25px;
    border-left: 4px solid #e67e22;
    border-radius: 0 10px 10px 0;
    background: #f8f4ec;
    color: #31584c;
    font-family: Georgia, serif;
}


/* =========================================================
   PREVIOUS / NEXT
   ========================================================= */

.yv-post-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 55px;
    padding-top: 25px;
    border-top: 1px solid #e7ddd2;
}

.yv-post-navigation .yv-prev {
    text-align: left;
}

.yv-post-navigation .yv-next {
    text-align: right;
}

.yv-post-navigation a {
    color: #176650;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.yv-post-navigation a:hover {
    color: #e67e22;
}


/* =========================================================
   NO POSTS
   ========================================================= */

.yv-no-posts {
    grid-column: 1 / -1;
    padding: 70px 20px;
    text-align: center;
}

.yv-no-posts h2 {
    color: #174e40;
    font-family: Georgia, serif;
}

.yv-no-posts p {
    color: #6e7772;
}


/* =========================================================
   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;
    }

}