

/* Inner Blog Page Css */

.algo-blog .blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    height: 100%;
}

.algo-blog .blog-img {
    position: relative;
}

.algo-blog .blog-img img {
    transition: transform 0.5s ease;
}

.algo-blog .blog-card:hover .blog-img img {
    transform: scale(1.08);
}

.algo-blog .blog-date {
    position: absolute;
    bottom: -58px;
    right: 20px;
    width: 83px;
    height: 100px;
    overflow: hidden;
    border-top-left-radius: 50px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    display: flex;
    z-index: 1;
    background: #fff;
    padding: 8px 15px;
}

.algo-blog .blog-date:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    pointer-events: none;
    transform: scale(0.8);
    opacity: 0;
    border-top-left-radius: 50px;
    background: linear-gradient(126deg, #2872d1, #35dbb7);
    transition: all 300ms ease;
}

.blog-card:hover .blog-date:before {
    opacity: 1;
    transform: scale(1);
}

.algo-blog .blog-date h4 {
    position: relative;
    font-size: 26px;
    font-weight: 800;
    transition: all 300ms ease;
    margin: 0;
}

.algo-blog .blog-date p {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 300ms ease;
}

.blog-card:hover .blog-date h4,
.blog-card:hover .blog-date p {
    color: #fff;
}

.algo-blog .blog-meta {
    font-size: 16px;
    color: #6c757d;
}

.algo-blog .blog-meta i {
    color: #006efe;
    margin-right: 8px;
}

.algo-blog .blog-content h5 {
    color: #111;
    line-height: 1.4;
}

.algo-blog .read-more {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    text-decoration: none;
    color: #000;
    transition: all 0.3s ease;
}

.algo-blog .read-more:hover {
    color: #006efe;
}

.algo-blog .arrow-circle {
    text-decoration: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #006efe;
    transition: all 0.3s ease;
}

.blog-card:hover .arrow-circle {
    background: linear-gradient(45deg, #30d1be, #006efe);
    color: #fff;
    border: none;
}

.algo-blog .read-more:hover .arrow-circle {
    background: #000;
}

.blog-btn-bx {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    position: relative;
    height: 56px;
}

.blog-btn-bx::before {
    content: "";
    position: absolute;
    top: 29px;
    left: 30%;
    width: 160px;
    height: 2px;
    background-color: #e6e0fa;
    transition: all 300ms ease;
}

.blog-card:hover .blog-btn-bx::before {
    background-color: #006efe;
}

.blog-card:hover .blog-content h5 {
    color: #006efe;
}

/* Responsive blog  */

@media (max-width: 1200px) {}

@media (max-width: 1024px) {}

@media (max-width: 991px) {
    .algo-blog .container {
        padding: 0 30px;
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .algo-blog .blog-card {
        margin-bottom: 30px;
    }

    .blog-img img {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .algo-blog .container {
        padding: 0 15px;
    }
}

@media (max-width: 420px) {}

@media (max-width: 360px) {}

/* --------------------------------------------- */

/* Single Blog Page css */


.single-blog-page {
    background: #fff;
    color: #333;
}

/* Blog Content */
.single-blog-page .blog-details h2 {
    color: #111;
    line-height: 1.4;
}

.single-blog-page .blog-meta {
    font-size: 14px;
    color: #6c757d;
}

.single-blog-page .blog-meta i {
    color: #006efe;
    margin-right: 5px;
}

.single-blog-page .quote-box {
    background: #f8f4ff;
    border-left: 4px solid #006efe;
    color: #444;
    font-size: 15px;
}

/* Sidebar */
.single-blog-page .sgl-blog-widget h5 {
    color: #111;
    border-bottom: 2px solid #006efe;
    display: inline-block;
    padding-bottom: 5px;
}

.single-blog-page .sidebar ul {
    margin: 0;
    padding: 0;
}

.single-blog-page .sidebar ul li a {
    text-decoration: none;
    font-size: 15px;
    transition: 0.3s;
}

.single-blog-page .sidebar ul li a:hover {
    color: #006efe;
}

/* Social Media Icons */
.single-blog-page .social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #006efe;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.single-blog-page .social-icon:hover {
    background: var(--button);
}

/* Tags */
.single-blog-page .tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f1f1;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: all 0.3s;
}

.single-blog-page .tag:hover {
    background: linear-gradient(126deg, #35dbb7, #2872d1);
    color: #fff;
}


.blog-single-meta {
    font-size: 16px;
}

.list-unstyled1 li::before {
    content: "\f07c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 8px;
    color: #006efe;
}

.list-unstyled1 li {
    border-bottom: 1px solid #ddd;
    padding: 5px 0;
    list-style-type: none;
}

.recent-blog-admn-bx small {
    color: #006efe;
}

.blog-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: center;
}

.sngl-blg-rgt-sdbr {
    position: sticky;
    top: 40px;
    background: #f6f6f6;
    padding: 20px 15px;
}

.comment-form .form-control {
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 15px;
    border: 1px solid #ddd;
    transition: all 0.3s ease;
}

.comment-form .form-control:focus {
    border-color: #1eacd6;
    box-shadow: 0 0 0 0.2rem rgba(138, 53, 242, 0.1);
}

.comment-form .btn-submit {
    background: linear-gradient(126deg, #2872d1, #35dbb7);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px;
    border: none;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.comment-form .btn-submit:hover {
    background: linear-gradient(126deg, #35dbb7, #2872d1);
    transform: translateY(-2px);
}

.recent-posts li {
    transition: all 0.3s ease;
    padding: 7px;
    border: 1px solid #e3e3e3;
}

.recent-posts li:hover {
    background: #efffff;
    outline: none;
    border-radius: 4px;
}

/* Responsive tweaks */
@media (max-width: 1200px) {}

@media (max-width: 1024px) {}

@media (max-width: 991px) {}

@media (max-width: 767px) {}

@media (max-width: 568px) {
    .blog-image img {
        height: 300px !important;
    }

    .heading {
        font-size: 26px;
    }

    .heading strong,
    .leftheading strong {
        font-size: 26px;
    }

    .blog-single-meta {
        font-size: 14px;
    }

    .single-blog-page {
        padding: 30px 10px !important;
    }
}

@media (max-width: 414px) {
    .single-blog-page .blog-meta i {
        margin-right: 2px;
    }

    .blog-single-meta {
        font-size: 13px;
    }
    
    .heading {
        font-size: 22px;
    }

    .heading strong,
    .leftheading strong {
        font-size: 22px;
    }
}

@media (max-width: 375px) {
    .blog-btn-bx::before {
        width: 115px;
    }
}

@media (max-width: 350px) {
    .blog-single-meta:last-child {
        display: none;
    }
}

@media (max-width: 991px) {
    .single-blog-page .sidebar {
        margin-top: 40px;
    }
}