/* New css for single page */
.single-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    padding: 160px 0 100px;
    text-align: center;
}

.single-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.single-hero .container {
    position: relative;
    z-index: 2;
}

.single-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-meta-line {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.post-meta-line .divider {
    color: rgba(255, 255, 255, 0.5);
}


.steps-sidebar {
    background: #faf9f8;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.steps-sidebar::-webkit-scrollbar {
    width: 6px;
}

.steps-sidebar::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.steps-sidebar a {
    color: #333;
    font-size: 0.95rem;
    display: block;
    transition: all 0.2s ease;
}

.steps-sidebar a.active,
.steps-sidebar a:hover {
    font-weight: 700;
    text-decoration: underline;
    color: #000;
}

.single-post-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
}

.post-content li {
    list-style: inside !important;
}

.post-content ul {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    list-style: inside !important;
}

.post-content h1,
.post-content h2,
.post-content h3 {
    color: #111;
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 140px;
    font-size: 1.5rem;
    /* Fix hidden heading when scrolled */
}

html {
    scroll-behavior: smooth;
}


/* Single page css end */