/* Roadmap step detail view */
.step-page {
    padding: 2.75rem 1.5rem 3.5rem;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.step-shell {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step-back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #0c7ea0;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.15s ease, transform 0.15s ease;
}

.step-back:hover,
.step-back:focus-visible {
    color: #0a5f7c;
    transform: translateX(-2px);
    text-decoration: none;
}

.step-hero {
    background: linear-gradient(135deg, #0c7ea0 0%, #0891b2 45%, rgba(8, 145, 178, 0.1) 100%);
    padding: 1px;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(12, 126, 160, 0.18);
}

.step-hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: center;
    padding: 1.5rem 1.6rem;
    border-radius: 18px;
    background: #fff;
}

.step-hero-top {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.step-kicker {
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.78rem;
    color: #0c7ea0;
    font-weight: 800;
    margin: 0;
}

.step-title {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.85rem;
    line-height: 1.2;
}

.step-subtitle {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.step-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.2rem;
}

.step-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #e9f6ff;
    border: 1px solid #cfe5f8;
    color: #0c7ea0;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-pill.alt {
    background: #0c7ea0;
    color: #fff;
    border-color: #0c7ea0;
}

.step-hero-media {
    display: flex;
    justify-content: flex-end;
}

.step-avatar-wrap {
    position: relative;
    display: inline-flex;
}

.step-avatar {
    width: 100px;
    height: 100px;
    border-radius: 18px;
    background-size: cover;
    background-position: center;
    border: 1px solid #e2e8f0;
    background-color: #eef3f7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.step-section {
    background: #fff;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 12px 34px rgba(18, 33, 47, 0.05);
}

.step-footer {
    display: flex;
    justify-content: flex-end;
}

.step-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.step-section-title {
    margin: 0;
    font-weight: 800;
    color: #0f172a;
    font-size: 1.35rem;
}

.step-course-grid {
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .step-hero-inner {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .step-hero-media {
        justify-content: flex-start;
    }
}

@media (max-width: 540px) {
    .step-shell {
        padding: 0;
    }
}
