/* =========================================================
   Blog Page Styles - Primodomus
   Loaded on blog.php
   ========================================================= */

/* ---------- Page Heading ---------- */
.blogs_mains {
    padding: 50px 0;
    background: url(../images/2148357412.jpg) left top no-repeat;
    background-size: cover;
    background-position: bottom;
    position:relative;
}
.blogs_mains::before {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #253339, #070809);
    position: absolute;
    left: 0%;
    bottom: 0;
    opacity: 0.7;
}

.blogs_mains .blog_heading {
    text-align: center;
    margin: 0 auto 0px;
}

.blogs_mains .blog_heading h1 {
    font-size: 30px;
    font-weight: 700;
    color: #f4f4f4;
    margin-bottom: 12px;
}

.blogs_mains .blog_heading p {
    font-size: 16px;
    color: #f6f6f6;
    margin: 0;
    line-height: 1.6;
}   

.blogpage {
    padding: 60px 0 80px;
    background: #ffffff;
}
/* ---------- Blog Card ---------- */
.blogpage .blog_card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: solid 1px #ddd;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: calc(100% - 30px);
}

.blogpage .blog_card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* ---------- Thumbnail ---------- */
.blogpage .blog_thumb {
    position: relative;
    display: block;
    overflow: hidden;
    height: 210px;
}

.blogpage .blog_thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blogpage .blog_card:hover .blog_thumb img {
    transform: scale(1.06);
}

.blogpage .blog_cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #0f6e56;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

/* ---------- Card Body ---------- */
.blogpage .blog_body {
    padding: 22px 22px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blogpage .blog_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 12px;
}

.blogpage .blog_meta span {
    background: #0f6e5614;
    padding: 3px 11px 3px 11px;
    border-radius: 5px;
    border: solid 1px #0f6e5624;
    color: #333;
    font-size: 12px;
    font-weight: 500;
}

.blogpage .blog_meta i {
    color: #0f6e56;
    margin-right: 5px;
}

.blogpage .blog_title {
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 12px;
}

.blogpage .blog_title a {
    color: #1a1a2e;
    text-decoration: none;
    transition: color 0.25s ease;
}

.blogpage .blog_title a:hover {
    color: #0f6e56;
}

.blogpage .blog_excerpt {
    font-size: 14.5px;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 18px;
    flex-grow: 1;
}

/* ---------- Read More ---------- */
.blogpage .blog_readmore {
    align-self: flex-start;
    font-size: 14px;
    font-weight: 600;
    color: #0f6e56;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: gap 0.25s ease, color 0.25s ease;
    border: solid 1px #0f6e56;
    padding: 8px 15px 9px 15px;
    border-radius: 7px;
}

.blogpage .blog_readmore:hover {
    color: #0f6e56;
    gap: 12px;
}

/* ---------- Pagination ---------- */
.blogpage .blog_pagination {
    text-align: center;
    margin-top: 25px;
}

.blogpage .blog_pagination ul {
    display: inline-flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blogpage .blog_pagination li a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 8px;
    background: #fff;
    color: #1a1a2e;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.25s ease;
}

.blogpage .blog_pagination li a:hover,
.blogpage .blog_pagination li.active a {
    background: #0f6e56;
    color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .blogpage .blog_heading h1 {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .blogpage {
        padding: 40px 0 60px;
    }
    .blogpage .blog_heading {
        margin-bottom: 32px;
    }
    .blogpage .blog_heading h1 {
        font-size: 28px;
    }
    .blogpage .blog_thumb {
        height: 200px;
    }
}


.blogs_details_mn {
    border-top: solid 1px #edf2fa;
    padding: 12px 0;
}
.blog_breadcrum ul {
    list-style: none;
    padding: 0;
    margin: 0 0px 15px 0;
    display: flex;
    gap: 10px;
}
.blog_breadcrum ul li {
    font-size: 14px;
    color: #7e7e7e;
    font-weight: 400;
}
.blog_breadcrum ul li a {
    font-size: 14px;
    color: #333;
    text-decoration: none;
}

.blogs_discraption {
    padding: 40px 0;
}

.blog-page-content{}
.blog-page-content img{
    margin-bottom: 25px;
    border-radius: 10px;
}

.blog-page-content ol {
    padding: 0;
    margin: 0 0 15px 0;
    list-style: none;
    display: flex;
    gap: 15px;
    align-items: center;
}

.blog-page-content ol li {
    font-size: 13px;
    border: solid 1px #0f6e5630;
    padding: 4px 12px 4px 12px;
    color: #0f6e56;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 4px;
}
.blog-page-content h1 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: #1e1e1e;
    font-weight: 600;
}

.blog-page-content h2 {
    font-size: 22px;
    margin: 0 0 15px 0;
    color: #1e1e1e;
    font-weight: 600;
}

.blog-page-content h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #1e1e1e;
    font-weight: 600;
}

.blog-page-content h4 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #1e1e1e;
    font-weight: 600;
}

.blog-page-content p {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 12px 0;
    color: #222222;
    letter-spacing: 0.4px;
}
.blog-page-content p strong {
    color: #0f6e56;
    font-weight: 600;
}
.blog-page-content ul {
    padding: 0 0 0 20px;
    margin: 0 0 15px 0;
    list-style: circle;
}

.blog-page-content ul li {
    font-size: 15px;
    color: #222222;
    letter-spacing: 0.5px;
    border-radius: 4px;
    line-height: 28px;
}


.blogside-bar {
    position: sticky;
    top: 20px;
}
.explore_related {
    padding: 0 0 10px 10px;
}
.sideblog-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 25px 0;
    gap: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sideblog-row:hover {
    transform: translateY(-2px);
}

.explore_related h3 {
    margin: 0 0 25px 0;
    font-weight: 600;
    font-size: 20px;
    color: #333;
    border-bottom: solid 1px #ddd;
    padding: 0 0 15px 0;
}
.related_left {
    width: 28%;
}
.related_left img {
    width: 185px;
    border-radius: 10px;
}
.related_right{
    width: 72%;
}
.related_right h4 {
    margin: 0 0 0 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.related_right p {
    margin: 5px 0 5px 0;
    font-size: 13px;
    font-weight: 400;
    color: #7e7e7e;
    letter-spacing: .5px;
}
.related_right a {
    color: #0f6e56;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    display: flex;
    align-items: end;
    gap: 5px;
}

.related_right a i {
    font-size: 13px;
}