header .subtitle {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.hero {
    display: flex;
    flex-wrap: wrap;
    gap: 1.75rem;
    align-items: flex-start;
}

.cover-col {
    flex: 0 0 240px;
}

.cover-img {
    width: 100%;
    max-width: 240px;
    border-radius: 6px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
    border: 1px solid var(--border);
}

.info-col {
    flex: 1 1 320px;
}

.info-col p:first-child {
    margin-top: 0;
}

.publisher-box {
    width: 100%;
    float: none;
    margin: 1rem 0 0 0;
    padding: 0.85rem 1rem;
}

.learning-path {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
    gap: 1rem;
    padding: 0;
    list-style: none;
    counter-reset: learning-step;
}

.learning-step {
    counter-increment: learning-step;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem 1.1rem;
    background: var(--accent-bg);
}

.learning-step::before {
    content: counter(learning-step, decimal-leading-zero);
    display: inline-block;
    margin-bottom: 0.45rem;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.learning-step-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
}

.learning-step h3 {
    margin: 0;
    font-size: 1.1rem;
}

.learning-step > p {
    margin: 0.65rem 0;
}

.learning-status {
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
    white-space: nowrap;
}

.learning-status.available {
    color: #155b34;
    background: #e2f2e8;
}

.learning-status.resources {
    color: #244b70;
    background: #e7eff7;
}

.learning-status.planned {
    color: #5e5960;
    background: #ecebed;
}

.learning-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.9rem;
    font-size: 0.9rem;
}

.small-note {
    color: var(--text-light);
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .cover-col {
        flex: 1 1 100%;
        text-align: center;
    }
}
