/* ---------- Meta row (hero ke neeche) ---------- */
.sc-bs-top {
    margin-top: 64px;
    padding: 0 5%;
}

.sc-bs-top .sc-meta {
    margin: 0 0 24px;
}

a.sc-chip {
    text-decoration: none;
    color: #141252;
}

a.sc-chip:hover {
    background: #e8e2fb;
}

a.sc-chip:focus {
    outline: none;
}

/* ---------- Layout: article + sidebar ---------- */
main.sc-blog-detail {
    margin-bottom: 64px;
    padding: 0 5%;
}

.sc-bs-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 302px;
    gap: 24px;
    align-items: start;
}

.sc-bs-article .sc-featured img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 5;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    min-height: 200px;
}

.sc-bs-article .sc-content {
    margin-top: 24px;
}

/* Content typography (Figma jaisa) */
.sc-bs-article .sc-content h2 {
    font-size: 24px;
    margin: 24px 0 8px;
    color: #141252;
}

.sc-bs-article .sc-content p {
    margin: 0 0 10px;
}

.sc-bs-article .sc-content h3 {
    margin: 24px 0 8px;
}

.sc-bs-article .sc-content ul {
    margin: 0 0 15px 20px;
}

.sc-bs-article .sc-content ul li {
    color: #000B49;
}

/* ---------- Sidebar: Recent Blogs ---------- */
.sc-bs-side {
    position: sticky;
    top: calc(var(--sc-header-h, 90px) + 20px);
}

.sc-rb-box {
    background: #F5F1FE;
    border-radius: 24px;
    padding: 16px;
}

.sc-rb-heading {
    color: var(--sc-navy);
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 16px 0;
}

.sc-rb-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    margin-bottom: 16px;
}

.sc-rb-item:last-child {
    margin-bottom: 8px;
}

.sc-rb-img {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    background: #e8e2fb;
}

.sc-rb-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sc-rb-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.sc-rb-title {
    color: var(--sc-navy, #2d2270);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sc-rb-item:hover .sc-rb-title {
    color: var(--sc-purple, #6b4ce6);
}

.sc-rb-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--sc-navy, #2d2270);
    font-size: 12px;
    font-weight: 400;
}


/* ---------- Tags ---------- */
.sc-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin-top: 28px;
}

.sc-tags-title {
    margin: 0;
    color: var(--sc-navy, #2d2270);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.sc-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Meta row ke category button jaisa (wahan font size parent se aata hai) */
.sc-tags .sc-chip {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .sc-bs-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .sc-bs-side {
        position: static;
    }
}

@media (max-width: 640px) {
    .sc-bs-article .sc-featured img {
        aspect-ratio: 16 / 9;
    }

    .sc-rb-heading {
        font-size: 21px;
    }

    .sc-bs-top {
        margin-top: 50px;
    }

    main.sc-blog-detail {
        margin-bottom: 50px;
    }

    .sc-tags-title {
        font-size: 20px;
    }
}