/* Blog Styles */

/* Blog Grid */
.blg_grid_box {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.blg_grid_box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blg_grid_thumb {
    overflow: hidden;
    position: relative;
}

.blg_grid_thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: all 0.6s ease;
}

.blg_grid_box:hover .blg_grid_thumb img {
    transform: scale(1.1);
}

.blg_grid_caption {
    padding: 20px;
}

.blg_tag span {
    background: rgba(25, 103, 210, 0.1);
    color: #1967d2;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 15px;
    display: inline-block;
}

.blg_title h4 {
    margin-bottom: 15px;
}

.blg_title h4 a {
    color: #2d3954;
    font-size: 20px;
    transition: all 0.4s ease;
}

.blg_title h4 a:hover {
    color: #1967d2;
}

.blg_desc p {
    margin-bottom: 0;
    color: #72809d;
    line-height: 1.6;
}

.crs_grid_foot {
    padding: 15px 20px;
    border-top: 1px solid #e9edf3;
}

.crs_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.crs_fl_first {
    flex: 1;
}

.crs_tutor_name a {
    color: #72809d;
    font-size: 14px;
}

.foot_list_info {
    display: flex;
}

.foot_list_info ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.foot_list_info ul li {
    margin-left: 15px;
    display: flex;
    align-items: center;
}

.elsio_ic {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(25, 103, 210, 0.1);
    color: #1967d2;
    margin-right: 5px;
}

.elsio_tx {
    font-size: 14px;
    color: #72809d;
}

/* Blog Sidebar */
.blog-sidebar {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.single-widgets {
    padding: 30px;
    border-bottom: 1px solid #e9edf3;
}

.single-widgets:last-child {
    border-bottom: none;
}

.single-widgets .title {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2d3954;
}

.widget_search .sidebar-search-form {
    position: relative;
}

.widget_search .sidebar-search-form input {
    width: 100%;
    height: 50px;
    border: 1px solid #e9edf3;
    border-radius: 5px;
    padding: 0 20px;
    font-size: 15px;
    color: #72809d;
}

.widget_search .sidebar-search-form button {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    width: 50px;
    border: none;
    background: #1967d2;
    color: #ffffff;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.widget_category ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_category ul li {
    margin-bottom: 15px;
}

.widget_category ul li:last-child {
    margin-bottom: 0;
}

.widget_category ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #72809d;
    transition: all 0.4s ease;
}

.widget_category ul li a:hover,
.widget_category ul li a.active {
    color: #1967d2;
}

.widget_category ul li a span {
    background: rgba(25, 103, 210, 0.1);
    color: #1967d2;
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
}

.widget_thumb_post ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget_thumb_post ul li {
    display: flex;
    margin-bottom: 20px;
}

.widget_thumb_post ul li:last-child {
    margin-bottom: 0;
}

.widget_thumb_post ul li .left {
    width: 80px;
    height: 80px;
    margin-right: 15px;
}

.widget_thumb_post ul li .left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.widget_thumb_post ul li .right {
    flex: 1;
}

.widget_thumb_post ul li .right .feed-title {
    display: block;
    color: #2d3954;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
    transition: all 0.4s ease;
}

.widget_thumb_post ul li .right .feed-title:hover {
    color: #1967d2;
}

.widget_thumb_post ul li .right .post-date {
    font-size: 13px;
    color: #72809d;
}

.widget_thumb_post ul li .right .post-date i {
    margin-right: 5px;
}

.widget_tags ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.widget_tags ul li {
    margin-right: 10px;
    margin-bottom: 10px;
}

.widget_tags ul li a {
    display: block;
    padding: 5px 15px;
    background: rgba(25, 103, 210, 0.1);
    color: #1967d2;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.4s ease;
}

.widget_tags ul li a:hover,
.widget_tags ul li a.active {
    background: #1967d2;
    color: #ffffff;
}

/* Blog Detail */
.blog-detail-wrap {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-bottom: 30px;
}

.featured-image {
    margin-bottom: 30px;
}

.featured-image img {
    width: 100%;
    border-radius: 10px;
}

.post-meta {
    margin-bottom: 20px;
    color: #72809d;
    font-size: 14px;
}

.post-meta a {
    color: #1967d2;
}

.post-title {
    font-size: 28px;
    color: #2d3954;
    margin-bottom: 20px;
}

.post-content {
    color: #72809d;
    line-height: 1.8;
    margin-bottom: 30px;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 20px 0;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #2d3954;
    margin-top: 30px;
    margin-bottom: 15px;
}

.post-content ul,
.post-content ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.post-content ul li,
.post-content ol li {
    margin-bottom: 10px;
}

.post-tags .tags-list {
    display: flex;
    flex-wrap: wrap;
}

.post-tags .tag-item {
    background: rgba(25, 103, 210, 0.1);
    color: #1967d2;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    margin-right: 10px;
    margin-bottom: 10px;
    transition: all 0.4s ease;
}

.post-tags .tag-item:hover {
    background: #1967d2;
    color: #ffffff;
}

.post-share .social-share {
    display: flex;
    flex-wrap: wrap;
}

.post-share .share-btn {
    padding: 8px 15px;
    border-radius: 5px;
    color: #ffffff;
    margin-right: 10px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    transition: all 0.4s ease;
}

.post-share .share-btn i {
    margin-right: 5px;
}

.post-share .share-btn.facebook {
    background: #3b5998;
}

.post-share .share-btn.twitter {
    background: #1da1f2;
}

.post-share .share-btn.linkedin {
    background: #0077b5;
}

.post-share .share-btn.whatsapp {
    background: #25d366;
}

.post-share .share-btn:hover {
    opacity: 0.9;
}

.comments-section .comments-list {
    margin-bottom: 30px;
}

.comments-section .comment-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9edf3;
}

.comments-section .comment-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comments-section .comment-avatar {
    width: 60px;
    height: 60px;
    margin-right: 20px;
}

.comments-section .comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.comments-section .comment-content {
    flex: 1;
}

.comments-section .comment-info {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.comments-section .comment-author {
    font-weight: 600;
    color: #2d3954;
    margin-right: 15px;
}

.comments-section .comment-date {
    font-size: 13px;
    color: #72809d;
}

.comments-section .comment-text {
    color: #72809d;
    line-height: 1.6;
}

.comment-form .form-control {
    height: 50px;
    border: 1px solid #e9edf3;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 15px;
    color: #72809d;
    margin-bottom: 20px;
}

.comment-form textarea.form-control {
    height: 150px;
    padding: 15px 20px;
}

.comment-form .btn-primary {
    background: #1967d2;
    border-color: #1967d2;
    padding: 10px 30px;
    font-weight: 600;
}

.comment-form .btn-primary:hover {
    background: #0d59c0;
    border-color: #0d59c0;
}

/* Pagination */
.pagination {
    margin-top: 30px;
}

.pagination .page-item .page-link {
    color: #72809d;
    border-color: #e9edf3;
    padding: 8px 15px;
    font-size: 14px;
}

.pagination .page-item.active .page-link {
    background: #1967d2;
    border-color: #1967d2;
    color: #ffffff;
}

.pagination .page-item .page-link:hover {
    background: #1967d2;
    border-color: #1967d2;
    color: #ffffff;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {
    .post-title {
        font-size: 24px;
    }

    .post-meta {
        flex-wrap: wrap;
    }

    .post-meta > div {
        margin-bottom: 5px;
    }

    .post-share .social-share {
        flex-direction: column;
    }

    .post-share .share-btn {
        margin-bottom: 10px;
    }
}
