/* ---------- Nagłówek podstrony (app/ui/page_header.php → ms_page_header) ---------- */
.ms-page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px 24px;
    flex-wrap: wrap;
}

.ms-page-head + * {
    margin-top: 20px !important;
}

/* Nazwa: krótki czerwony akcent pod spodem */
.ms-page-head__title {
    position: relative;
    padding-bottom: 14px;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.4px;
    color: var(--ms-navy);
}

.ms-page-head__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 3px;
    background: var(--ms-red);
}

.ms-page-head__meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
    padding: 7px 12px;
    border-radius: 6px;
    background: var(--ms-panel);
    font-size: 13px;
    color: var(--ms-navy-2);
    white-space: nowrap;
}

.ms-page-head__meta .ms-icon {
    width: 16px;
    height: 16px;
}

@media (max-width: 860px) {
    .ms-page-head__title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    .ms-page-head__title {
        font-size: 24px;
    }
}
