/* ===== BLOG GRID STYLING (INDEX) ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

/* Blog Card */
.blog-card {
    background:#ffffff;
    border-radius:18px;
    overflow:hidden;
    border:1px solid #f1f5f9;
    display:flex;
    flex-direction:column;
    box-shadow:0 10px 30px rgba(15,23,42,0.06);
    transition:transform .18s ease, box-shadow .18s ease;
}

.blog-card:hover {
    transform:translateY(-4px);
    box-shadow:0 18px 45px rgba(15,23,42,0.12);
}

/* Thumbnail */
.blog-card img {
    width:100%;
    height:200px;
    object-fit:cover;
    border-bottom:1px solid #e5e7eb;
    display:block;
}

/* Content */
.blog-content {
    padding:16px 18px 18px;
    flex:1;
    display:flex;
    flex-direction:column;
    gap:6px;
}

/* Title */
.blog-content h3 {
    font-size:1.05rem;
    font-weight:700;
    color:#0A0A0A;
    margin:0;
    line-height:1.35;
}

.blog-content h3 a{
    color:inherit;
    text-decoration:none;
}
.blog-content h3 a:hover{
    color:#FFC727;
}

/* Meta */
.blog-meta {
    font-size:0.82rem;
    color:#9ca3af;
}

/* Excerpt */
.blog-content p {
    color:#6b7280;
    margin:4px 0 10px;
    font-size:0.93rem;
    flex:1;
}

/* Read more */
.read-more {
    color:#FFC727;
    font-weight:600;
    font-size:0.9rem;
    text-decoration:none;
    margin-top:4px;
    display:inline-flex;
    align-items:center;
    gap:4px;
    transition:color .18s ease, transform .18s ease;
}
.read-more:hover {
    color:#F4B400;
    transform:translateX(2px);
}

/* Small screens */
@media (max-width:575.98px){
    .blog-card img{
        height:190px;
    }
    .blog-content{
        padding:14px 14px 16px;
    }
}

/* ===== SINGLE BLOG PAGE (scoped) ===== */

/* Breadcrumb strip */
.single-breadcrumb {
    background:#f9fafb;
    font-size:0.86rem;
    border-bottom:1px solid #e5e7eb;
}
.single-breadcrumb .breadcrumb a {
    color:#6b7280;
    text-decoration:none;
}
.single-breadcrumb .breadcrumb a:hover {
    color:#111827;
}

/* Page background */
.single-wrapper {
    background:#f3f4f6;
}

/* Main article card */
.single-wrapper .single-article {
    background:#ffffff;
    border-radius:18px;
    padding:26px 28px 30px;
    box-shadow:0 18px 45px rgba(15,23,42,0.08);
}

/* Title + meta */
.single-wrapper .single-title {
    max-width:760px;
    font-size:2.1rem;
    font-weight:800;
    line-height:1.3;
    color:#0f172a;
}
.single-wrapper .single-meta {
    font-size:0.9rem;
    color:#6b7280;
}
.single-wrapper .single-meta i {
    color:#9ca3af;
}
/* Icons + text ke beech gap */
.single-wrapper .single-meta span {
    display:inline-flex;
    align-items:center;
    gap:4px;              /* icon aur text ke beech thoda space */
}

/* Har meta item ke beech thoda distance */
.single-wrapper .single-meta span + span {
    margin-left:14px;
}


/* Hero image */
.single-wrapper .single-hero-image {
    margin-top:20px;
    margin-bottom:18px;
}
.single-wrapper .single-hero-image img {
    width:100%;
    max-height:420px;
    object-fit:cover;
    border-radius:16px;
    box-shadow:0 18px 40px rgba(15,23,42,0.28);
}

/* Content body (WYSIWYG) */
.single-wrapper .single-body {
    margin-top:10px;
    font-size:1.02rem;
    line-height:1.8;
    color:#111827;
    max-width:760px;
}
.single-wrapper .single-body h2,
.single-wrapper .single-body h3,
.single-wrapper .single-body h4 {
    margin-top:26px;
    margin-bottom:10px;
    font-weight:700;
    color:#0f172a;
}
.single-wrapper .single-body p {
    margin-bottom:14px;
}
.single-wrapper .single-body ul,
.single-wrapper .single-body ol {
    padding-left:1.4rem;
    margin-bottom:14px;
}
.single-wrapper .single-body a {
    color:#2563eb;
    text-decoration:underline;
}
.single-wrapper .single-body a:hover {
    color:#1d4ed8;
}

/* Tags footer */
.single-wrapper .single-footer {
    background:#f9fafb;
    border-radius:12px;
}
.single-wrapper .single-footer .badge {
    cursor:pointer;
    transition:background .18s ease, transform .18s ease;
}
.single-wrapper .single-footer .badge:hover {
    background:#e5e7eb;
    transform:translateY(-1px);
}

/* Related posts */
.single-wrapper .single-related .card {
    border-radius:14px;
    overflow:hidden;
    border:0;
    box-shadow:0 10px 30px rgba(15,23,42,0.08);
    transition:transform .18s ease, box-shadow .18s ease;
}
.single-wrapper .single-related .card-img-top {
    height:120px;
    object-fit:cover;
}
.single-wrapper .single-related .card:hover {
    transform:translateY(-3px);
    box-shadow:0 18px 45px rgba(15,23,42,0.16);
}
.single-wrapper .single-related .card-title {
    font-size:0.95rem;
    font-weight:600;
}

/* Sidebar */
.single-wrapper .single-sidebar .card {
    border-radius:16px;
}
.single-wrapper .single-sidebar .card-title {
    font-weight:700;
}
.single-wrapper .single-sidebar a {
    text-decoration:none;
}
.single-wrapper .single-sidebar a:hover {
    text-decoration:underline;
}
.single-wrapper .single-sidebar .btn {
    font-weight:600;
}

/* Mobile */
@media (max-width: 767.98px){
    .single-wrapper .single-article {
        padding:18px 16px 22px;
        border-radius:14px;
    }
    .single-wrapper .single-title {
        font-size:1.6rem;
    }
}

.single-sidebar-form .form-control,
.single-sidebar-form .form-select {
    font-size: 0.9rem;
}
.single-sidebar-form textarea {
    resize: vertical;
}