/**
 * عرض المحتوى الموحّد — 1200px لكل صفحات البوابة (محافظات · نتائج · استعلام)
 */
body.natiga-portal {
    --np-max: 1200px;
    --np-max-home: 1200px;
    --np-max-result: 1200px;
}

body.natiga-portal .np-header-v4__inner.np-wrap,
body.natiga-portal .np-gov-strip__shell.np-wrap,
body.natiga-portal .np-footer > .np-wrap,
body.natiga-portal .np-amwal-prefooter > .np-wrap {
    max-width: var(--np-max-result);
}

.np-main > .np-hero .np-wrap,
.np-main > .np-wrap,
.np-gov-flow {
    max-width: var(--np-max-result);
    margin-inline: auto;
    width: 100%;
    box-sizing: border-box;
}

.np-gov-flow {
    padding-inline: var(--np-gutter);
}

.np-gov-flow .np-wrap {
    max-width: 100%;
    padding-inline: 0;
}

.np-gov-result-dashboard,
.np-student-result-full,
.np-student-result-full--youth,
.np-gov-result-stage,
.np-live-search--stage,
.np-result-page,
.np-result-page--live {
    max-width: var(--np-max-result);
    margin-inline: auto;
    width: 100%;
    box-sizing: border-box;
}

.np-result-page > .np-student-result-full {
    padding-inline: 0;
}

.np-student-result-full--compact .np-result-aside {
    display: none;
}

.np-student-result-full--compact .np-result-layout,
.np-student-result-full--compact .np-result-layout--coord {
    display: block;
}

.np-student-result-full--compact .np-result-share-span {
    margin-top: 12px;
}

/* وضع المحافظة المنشورة — صفحة أبسط */
.np-gov-flow--live .np-hero--gov-live {
    padding-bottom: 20px;
}

.np-gov-flow--live .np-hero--gov-live .np-hero-lead,
.np-gov-flow--live .np-hero--gov-live .np-hero-features,
.np-gov-flow--live .np-hero--gov-live .np-hero-stat-row {
    display: none;
}

.np-gov-flow--live .np-search-card--premium {
    padding: 14px;
    border-radius: 16px;
    box-shadow: var(--np-shadow);
}

html.gov-has-result .np-gov-result-dashboard {
    display: none;
}

html.gov-has-result .np-gov-flow--live .np-hero--gov-live {
    padding-top: 8px;
    padding-bottom: 8px;
}

@media (max-width: 640px) {
    .np-gov-flow {
        padding-inline: max(12px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-left, 0px));
    }
}
