/* ==========================================================================
   Blogs Premium Styling - Chandra Fashion
   ========================================================================== */

/* Blog index cards */
.blog-card {
    background: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08) !important;
}

.blog-img-wrapper {
    border-radius: 12px 12px 0 0;
}

.blog-img-wrapper img {
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-img-wrapper img {
    transform: scale(1.04);
}

.blog-badge {
    background-color: #f0c040;
    color: #2b3d51;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    top: 15px;
    left: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

.blog-card-title a {
    color: #2b3d51;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: #f0c040;
}

.blog-excerpt {
    font-size: 14px;
    line-height: 24px;
    color: #555 !important;
}

.blog-meta {
    font-size: 13px;
}

.blog-meta i {
    color: #f0c040;
}

.blog-readmore-btn {
    color: #2b3d51;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
}

.blog-readmore-btn:hover {
    color: #f0c040;
}

.blog-readmore-btn i {
    transition: transform 0.2s ease;
}

.blog-readmore-btn:hover i {
    transform: translateX(4px);
}

/* Sidebar widgets */
.sidebar-widget {
    border: 1px solid #f1f1f1;
    border-radius: 12px;
}

.widget-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #2b3d51;
    position: relative;
    padding-bottom: 8px;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #f0c040;
}

.btn-yellow-search {
    background-color: #f0c040;
    color: #2b3d51;
    border: 1px solid #f0c040;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.btn-yellow-search:hover {
    background-color: #2b3d51;
    color: #fff;
    border-color: #2b3d51;
}

.sidebar-categories-list a {
    color: #4b5563;
    font-size: 15px;
    font-weight: 500;
    padding: 6px 0;
    transition: all 0.2s ease;
}

.sidebar-categories-list a:hover,
.sidebar-categories-list a.active-cat {
    color: #f0c040 !important;
    padding-left: 5px;
}

.sidebar-categories-list a .badge {
    background-color: #f3f4f6 !important;
    color: #4b5563;
    font-weight: 600;
}

.sidebar-categories-list a:hover .badge,
.sidebar-categories-list a.active-cat .badge {
    background-color: #f0c040 !important;
    color: #2b3d51;
}

/* Show Blog Details Premium styles */
.blog-detail-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #2b3d51;
    line-height: 46px;
}

@media (max-width: 767px) {
    .blog-detail-title {
        font-size: 22px;
        line-height: 30px;
    }
}

.badge-category {
    background-color: #f3f4f6;
    color: #4b5563;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.border-yellow {
    border-color: #f0c040 !important;
}

.text-yellow {
    color: #f0c040 !important;
}

.blog-content {
    line-height: 1.8;
    color: #333 !important;
}

.blog-content p {
    margin-bottom: 1.5rem;
}

.blog-content ul,
.blog-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.blog-content blockquote {
    border-left: 4px solid #f0c040;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: #555;
}

/* Recent posts styles */
.recent-post-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.recent-post-title {
    font-size: 14px;
    line-height: 20px;
    font-family: 'Open Sans', sans-serif;
}

.recent-post-title a {
    transition: color 0.2s ease;
}

.recent-post-title a:hover {
    color: #f0c040 !important;
}