/* =============================================
   Hindu Raksha Dal Blog Page Styles
   ============================================= */

/* Blog Banner Section */
.blog-banner-section {
    position: relative;
    padding: 120px 0 100px;
    background: linear-gradient(135deg, #e65100 0%, #ff8f00 50%, #ff6f00 100%);
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.blog-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/subbanner_section_background.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.blog-banner-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.blog-shape-om {
    position: absolute;
    font-size: 80px;
    color: rgba(255, 215, 0, 0.15);
    animation: omGlow 4s ease-in-out infinite;
    font-family: 'Noto Sans Devanagari', sans-serif;
}

.blog-shape-om-left {
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.blog-shape-om-right {
    right: 5%;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
}

.blog-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.blog-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.blog-subtitle {
    font-family: 'DM Serif Display', serif;
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 0;
    font-weight: 400;
}

/* Blog Breadcrumb Section */
.blog-breadcrumb-section {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFE0B2 100%);
    padding: 20px 0;
    border-bottom: 3px solid rgba(255, 111, 0, 0.2);
}

.blog-breadcrumb-section .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.blog-breadcrumb-section .breadcrumb-item {
    color: #cc5500;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.blog-breadcrumb-section .breadcrumb-item:hover {
    background: rgba(255, 255, 255, 0.7);
}

.blog-breadcrumb-section .breadcrumb-item a {
    color: #cc5500;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-breadcrumb-section .breadcrumb-item a:hover {
    color: #e65100;
    transform: translateY(-2px);
}

.blog-breadcrumb-section .breadcrumb-item a i {
    font-size: 14px;
    color: #ff9800;
}

.blog-breadcrumb-section .breadcrumb-item + .breadcrumb-item::before {
    content: "|";
    color: #cc5500;
    padding: 0;
    opacity: 0.5;
}

.blog-breadcrumb-section .breadcrumb-item.active {
    background: rgba(255, 255, 255, 0.8);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255, 111, 0, 0.15);
}

/* Blog Content Section */
.blog-content-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #fff8e1 100%);
}

/* Featured Blog Post */
.blog-post {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #ffe0b2;
    margin-bottom: 40px;
    transition: all 0.4s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(204, 85, 0, 0.15);
    border-color: #ffd700;
}
.blog-post-image {
    position: relative;
    overflow: hidden;
    height: 250px;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}



.blog-post:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-category-badge {
    position: absolute;
    top: 20px;
    left: 20px;
}

.badge-category {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #cc5500, #e65c00);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 25px 0 25px 0;
    box-shadow: 0 4px 15px rgba(204, 85, 0, 0.4);
}

.blog-post-content {
    padding: 35px;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ffe0b2;
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.blog-post-meta i {
    color: #cc5500;
    font-size: 16px;
}

.blog-post-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #cc5500;
    margin-bottom: 15px;
    line-height: 1.3;
    transition: all 0.3s ease;
}

.blog-post:hover .blog-post-title {
    color: #e65100;
}

.blog-post-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: #e65100;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.5;
}

.blog-post-description {
    margin-bottom: 25px;
}

.blog-post-description p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.blog-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #ffe0b2;
}

.blog-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-label {
    font-weight: 600;
    color: #cc5500;
    font-size: 14px;
}

.tag {
    padding: 6px 15px;
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    color: #cc5500;
    font-size: 13px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag:hover {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    color: #ffffff;
    transform: translateY(-2px);
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-label {
    font-weight: 600;
    color: #cc5500;
    font-size: 14px;
}

.share-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cc5500;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.share-icon:hover {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    color: #ffffff;
    transform: translateY(-3px);
}

/* Comments Section */
.blog-comments-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #ffe0b2;
    margin-top: 40px;
}

.comments-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    color: #cc5500;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.comments-section-title i {
    font-size: 28px;
}

/* Comment Form */
.comment-form-wrapper {
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 35px;
    border: 1px solid #ffcc80;
}

.comment-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #cc5500;
    margin-bottom: 20px;
}

.comment-form .form-control {
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 15px 20px;
    font-size: 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.comment-form .form-control:focus {
    border-color: #cc5500;
    box-shadow: 0 0 0 3px rgba(204, 85, 0, 0.1);
    outline: none;
}

.btn-submit-comment {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    color: #ffffff;
    border: none;
    padding: 14px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-submit-comment:hover {
    background: linear-gradient(135deg, #e65c00, #ff751a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(204, 85, 0, 0.3);
}

/* Comments List */
.comments-list {
    margin-top: 30px;
}

.comment-item {
    display: flex;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 2px solid #ffe0b2;
}

.comment-item:last-child {
    border-bottom: none;
}

.comment-avatar {
    flex-shrink: 0;
}

.comment-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffd700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: #cc5500;
    margin: 0;
}

.comment-date {
    font-size: 13px;
    color: #999;
}

.comment-text {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.comment-actions {
    display: flex;
    gap: 20px;
}

.reply-link,
.like-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cc5500;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.reply-link:hover,
.like-link:hover {
    color: #e65100;
    transform: translateX(3px);
}

/* Blog Sidebar */
.blog-sidebar {
    padding-left: 20px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #ffe0b2;
}

.widget-title {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #cc5500;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ffd700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    font-size: 20px;
    color: #ff9800;
}

/* Categories Widget */
.categories-widget .categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-widget .categories-list li {
    margin-bottom: 12px;
    border-bottom: 1px solid #ffe0b2;
    padding-bottom: 12px;
}

.categories-widget .categories-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.categories-widget .categories-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 10px 15px;
    background: linear-gradient(135deg, #fff8e1, #ffe0b2);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.categories-widget .categories-list li a:hover {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    transform: translateX(5px);
}

.categories-widget .categories-list li a:hover .category-name,
.categories-widget .categories-list li a:hover .category-count {
    color: #ffffff;
}

.category-name {
    font-size: 15px;
    font-weight: 500;
    color: #cc5500;
    transition: all 0.3s ease;
}

.category-count {
    background: #ffffff;
    color: #cc5500;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ffe0b2;
}

.recent-post-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.recent-post-image {
    flex-shrink: 0;
}

.recent-post-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #ffd700;
    transition: all 0.3s ease;
}

.recent-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.recent-post-item:hover .recent-post-image {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(204, 85, 0, 0.3);
}


.recent-post-item:hover .recent-post-image img {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(204, 85, 0, 0.3);
}

.recent-post-info {
    flex: 1;
}

.recent-post-info h5 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.recent-post-info h5 a {
    color: #cc5500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.recent-post-info h5 a:hover {
    color: #e65100;
}

.recent-post-date {
    font-size: 12px;
    color: #999;
}

/* Newsletter Widget */
.newsletter-text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.newsletter-form .form-control {
    border: 2px solid #ffe0b2;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    border-color: #cc5500;
    box-shadow: 0 0 0 3px rgba(204, 85, 0, 0.1);
    outline: none;
}

.btn-subscribe {
    width: 100%;
    background: linear-gradient(135deg, #cc5500, #e65c00);
    color: #ffffff;
    border: none;
    padding: 14px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-subscribe:hover {
    background: linear-gradient(135deg, #e65c00, #ff751a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(204, 85, 0, 0.3);
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-cloud {
    padding: 8px 18px;
    background: linear-gradient(135deg, #ffe0b2, #ffcc80);
    color: #cc5500;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.tag-cloud:hover {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 85, 0, 0.3);
}

/* =============================================
   BLOG POSTS GRID - 2 COLUMNS LAYOUT
   ============================================= */

.blog-posts-grid {
    margin-left: -15px;
    margin-right: -15px;
}

.blog-posts-grid > [class*="col-"] {
    padding-left: 15px;
    padding-right: 15px;
}

/* Blog Post Card in Grid */
.blog-posts-grid .blog-post {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.blog-posts-grid .blog-post:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(204, 85, 0, 0.15);
    border-color: #ffd700;
}

/* Blog Post Image in Grid */
.blog-posts-grid .blog-post-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-posts-grid .blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.blog-posts-grid .blog-post:hover .blog-post-image img {
    transform: scale(1.08);
}

/* Category Badge in Grid */
.blog-posts-grid .blog-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 10;
}

.blog-posts-grid .badge-category {
    background: linear-gradient(135deg, #cc5500, #e65c00);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Blog Post Content in Grid */
.blog-posts-grid .blog-post-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-posts-grid .blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #888;
}

.blog-posts-grid .blog-post-meta i {
    color: #cc5500;
    margin-right: 4px;
}

/* Blog Post Title in Grid */
.blog-posts-grid .blog-post-title {
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 700;
}

.blog-posts-grid .blog-post-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-posts-grid .blog-post-title a:hover {
    color: #cc5500;
}

/* Blog Post Description in Grid */
.blog-posts-grid .blog-post-description {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
    flex: 1;
}

/* Read More Button in Grid */
.blog-posts-grid .read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #cc5500;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.blog-posts-grid .read-more-btn:hover {
    color: #e65c00;
    gap: 12px;
}

.blog-posts-grid .read-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Blog Post Footer in Grid */
.blog-posts-grid .blog-post-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.blog-posts-grid .blog-share {
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-posts-grid .share-label {
    font-size: 12px;
    color: #888;
}

.blog-posts-grid .share-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border-radius: 50%;
    color: #666;
    font-size: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.blog-posts-grid .share-icon:hover {
    background: #cc5500;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Blog Grid */
@media (max-width: 767px) {
    .blog-posts-grid .blog-post-image {
        height: 180px;
    }
    
    .blog-posts-grid .blog-post-title {
        font-size: 16px;
    }
    
    .blog-posts-grid .blog-post-content {
        padding: 15px;
    }
}

/* Responsive Blog Styles */
@media (max-width: 991px) {

    .blog-banner-section {
        padding: 80px 0 60px;
    }
    
    .blog-main-title {
        font-size: 40px;
    }
    
    .blog-subtitle {
        font-size: 18px;
    }
    
    .blog-post-image {
        height: 300px;
    }
    
    .blog-post-content {
        padding: 25px;
    }
    
    .blog-post-title {
        font-size: 26px;
    }
    
    .blog-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .blog-banner-section {
        padding: 60px 0 50px;
    }
    
    .blog-main-title {
        font-size: 32px;
    }
    
    .blog-subtitle {
        font-size: 16px;
    }
    
    .blog-post-image {
        height: 250px;
    }
    
    .blog-post-content {
        padding: 20px;
    }
    
    .blog-post-title {
        font-size: 22px;
    }
    
    .blog-post-subtitle {
        font-size: 16px;
    }
    
    .blog-post-meta {
        gap: 15px;
    }
    
    .blog-post-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .comment-item {
        flex-direction: column;
    }
    
    .comment-avatar img {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 575px) {
    .blog-main-title {
        font-size: 28px;
    }
    
    .blog-post-image {
        height: 200px;
    }
    
    .blog-post-title {
        font-size: 20px;
    }
    
    .blog-post-description p {
        font-size: 14px;
    }
    
    .blog-post-meta span {
        font-size: 12px;
    }
    
    .widget-title {
        font-size: 18px;
    }
}
