/* The Fluxuri section on one type scale (variables in brand.css): page title, section title, card title, base, small;
   weights normal and semi-bold only. Loaded by modele.html, flows.html, institutii.html, flux.html, rapoarte.html and conditii.html
   (also /cereri-544). Everything in the page body inherits the base, then each role gets its step. SVG text is left alone. */
html body.brand-page :is(main,#content,.brand-hero){font-size:var(--ig-fs-base)!important;font-weight:var(--ig-fw-normal)!important}
html body.brand-page :is(main,#content,.brand-hero) :not(svg,svg *):not(#x){font-size:inherit!important;font-weight:inherit!important;letter-spacing:normal!important}

/* titles */
html body.brand-page :is(main,#content,.brand-hero) h1:not(#x){font-size:var(--ig-fs-page)!important;font-weight:var(--ig-fw-semi)!important;line-height:1.15!important}
html body.brand-page :is(main,#content,.brand-hero) h2:not(#x){font-size:var(--ig-fs-section)!important;font-weight:var(--ig-fw-semi)!important;line-height:1.25!important}
html body.brand-page :is(main,#content,.brand-hero) :is(h3,h4,h5,h6):not(#x),
html body.brand-page :is(main,#content,.brand-hero) :is(article,.directory-card,.model-card,.flow-card,.organization-card,.result-card,.report-card,.card) :is(h2,h3):not(#x),
html body.brand-page :is(main,#content,.brand-hero) :is(.panel,.pm-top) :is(h2,h3):not(#x){font-size:var(--ig-fs-card)!important;font-weight:var(--ig-fw-semi)!important;line-height:1.3!important}

/* small: labels, dates, notes, counts, tags */
html body.brand-page :is(main,#content,.brand-hero) :is(small,time,figcaption,caption,legend,label,.gv-crumbs,.page-breadcrumb,
  [class*="meta"],[class*="count"],[class*="date"],[class*="note"],[class*="kicker"],[class*="eyebrow"],[class*="label"],
  [class*="tag"],[class*="chip"],[class*="badge"],[class*="pill"],[class*="caption"],[class*="hint"],[class*="legend"],
  [class*="total"],[class*="period"],[class*="stamp"],[class*="footnote"],.catalog-total,.directory-summary,.pm-sel-label,
  .pm-gap-n,.pm-card-press,.topic-shortcuts small,.catalog-topic-count,.card-state,.result-meta,.detail-meta):not(#x){font-size:var(--ig-fs-small)!important}
/* side lists, search fields, institution names: base */
html body.brand-page :is(main,#content,.brand-hero) :is(input,select,textarea,.reader-options button,.topic-shortcuts a>span:first-child,
  .catalog-topic-nav a>span:first-child,.results-topics button,.reader-search input):not(#x){font-size:var(--ig-fs-base)!important}
html body.brand-page :is(main,#content,.brand-hero) :is(.reader-search label,.side-label,.filter-title):not(#x){font-size:var(--ig-fs-small)!important}

/* semi-bold: titles, emphasis, the selected item, buttons */
html body.brand-page :is(main,#content,.brand-hero) :is(b,strong,th,dt,summary,button.brand-button,a.brand-button,.brand-button,.pm-reset,
  [aria-current=true],[aria-current=page],[aria-pressed=true],.on,.pm-flux-tag):not(#x){font-weight:var(--ig-fw-semi)!important}
html body.brand-page :is(main,#content,.brand-hero) :is(.catalog-topic-nav,.topic-shortcuts) a[aria-current=true]>span:first-child:not(#x){font-weight:var(--ig-fw-semi)!important}
/* hover/focus weight from nav-hover.css must survive the inherit rule */
html body.brand-page :is(main,#content,.brand-hero) :is(.catalog-topic-nav,.topic-shortcuts) a:not([aria-current=true]):is(:hover,:focus-visible)>span:first-child:not(#x),
html body.brand-page :is(main,#content,.brand-hero) .results-topics .topic-shortcuts button:not([aria-pressed=true]):is(:hover,:focus-visible):not(#x),
html body.brand-page :is(main,#content,.brand-hero) :is(.library-views>a,.results-nav>a,.organization-alphabet a):not([aria-current=true]):not([aria-current=page]):is(:hover,:focus-visible):not(#x),
html body.brand-page :is(main,#content,.brand-hero) :is(.pm-top li button,.pm-how summary):is(:hover,:focus-visible):not(#x){font-weight:var(--ig-fw-semi)!important}
/* the reserved bold width of nav labels stays bold */
html body.brand-page :is(main,#content,.brand-hero) [data-label]::after{font-weight:var(--ig-fw-semi)!important}

/* opening paragraph of the section */
.flux-intro{max-width:68ch;margin:6px 0 22px;font-size:var(--ig-fs-base);line-height:1.6;color:var(--ig-text)}

/* report reader (Rapoarte / institutions): the same accents as the rest of the section */
html body.brand-page .reader-search input:not(#x){border:1px solid #c9ccd0!important;border-radius:4px;box-shadow:none!important;outline-offset:2px}
html body.brand-page .reader-search input:focus-visible{outline:2px solid #0b0c0c}
html body.brand-page :is(.institution-reader,.report-sidebar) .m-list{background:#fff!important}
html body.brand-page :is(.institution-reader,.report-sidebar) :is(.reader-options,.reader-links) button:not(#x){background:none!important;border:0!important;border-left:3px solid transparent!important;border-radius:0!important;color:#0b0c0c!important;text-decoration:none!important;text-align:left;padding:10px 12px!important}
html body.brand-page :is(.institution-reader,.report-sidebar) :is(.reader-options,.reader-links) button.on:not(#x){border-left-color:#0b0c0c!important;font-weight:var(--ig-fw-semi)!important}
html body.brand-page :is(.institution-reader,.report-sidebar) :is(.reader-options,.reader-links) button:not(.on):is(:hover,:focus-visible):not(#x){color:#D4412D!important}

/* Flux page order: a question (under the title) → b short answer + evolution (result-overview) → the check status
   ("Ce s-a schimbat în date") → the full report. Sources and history stay in their tabs. */
#readerResult{display:flex;flex-direction:column}
#readerResult>.result-overview{order:-1}
/* results page details that sit on the small step */
html body.brand-page :is(main,#content,.brand-hero) :is(.pm-num,.pm-top li span,.pm-legend,.pm-explain,.pm-anchors,.pm-note):not(#x){font-size:var(--ig-fs-small)!important}
html body.brand-page :is(main,#content,.brand-hero) .pm-num:not(#x){font-weight:var(--ig-fw-semi)!important}

/* Less small grey text (20 Nov 2026): base text is black at the base size; small grey is the exception — at most one
   line per card, never below 13px, grey at least 4.5:1 on white (#5f6670 = 5.9:1). No dotted underlines. */
:root{--ig-faint:#5f6670;--ig-small-grey:#5f6670}
html body.brand-page :is(main,#content,.brand-hero) time[data-relative-time]:not(#x){text-decoration:none!important;cursor:auto}
html body.brand-page :is(main,#content) .organization-card .organization-main:not(#x){margin:6px 0 10px;color:#0b0c0c!important;font-size:var(--ig-fs-base)!important}
html body.brand-page :is(main,#content) .organization-card .organization-meta-line:not(#x){margin:10px 0 0;color:var(--ig-small-grey)!important;font-size:var(--ig-fs-small)!important}
html body.brand-page :is(main,#content) .organization-card>h2:not(#x){margin:0}
/* side list counts: dark grey, standard small size */
html body.brand-page :is(main,#content) :is(.topic-shortcuts a>small,.catalog-topic-nav .catalog-topic-count):not(#x){color:#3a3f45!important;font-size:var(--ig-fs-small)!important}

/* Alternative and marginal sources: one separate entry under Presă, a fixed note, a different card background */
html body.brand-page :is(main,#content) .topic-shortcuts a.alt-entry:not(#x){margin-top:10px;padding-top:12px;border-top:1px solid #d6d8db}
.alt-note{margin:0 0 18px;padding:14px 16px;background:#f3f1ec;border-left:3px solid #6b6256;max-width:78ch}
.alt-note p{margin:0 0 6px;color:#0b0c0c}
.alt-note a{color:#0b0c0c;font-weight:600}
html body.brand-page :is(main,#content) #directoryGrid>.organization-card.is-alternative:not(#x){background:#f6f4ef!important}

/* Under the map: "Cum citim aceste date" as a discreet link below the legend; top subjects as plain rows */
html body.brand-page :is(main,#content) .pm-explain:not(#x){margin-bottom:4px}
html body.brand-page :is(main,#content) .pm-how:not(#x){display:block;margin-top:8px}
html body.brand-page :is(main,#content) .pm-how summary:not(#x){display:inline;font-weight:400!important;font-size:var(--ig-fs-small)!important;color:#0b0c0c;text-decoration:underline;text-underline-offset:3px}
html body.brand-page :is(main,#content) .pm-how summary:is(:hover,:focus-visible):not(#x){text-decoration:none;color:#D4412D}
html body.brand-page :is(main,#content) .pm-top li:not(#x){border-top:0!important;justify-content:flex-start;gap:10px;padding:5px 0}
html body.brand-page :is(main,#content) .pm-top li span:not(#x){color:#0b0c0c!important;font-size:var(--ig-fs-base)!important}
/* result cards: the question in base black; period and last check on one small grey line */
html body.brand-page :is(main,#content) .result-card .card-question:not(#x){color:#0b0c0c!important}
html body.brand-page :is(main,#content) .result-card .card-period:not(#x){display:block!important;color:var(--ig-small-grey)!important}
html body.brand-page :is(main,#content) .result-card .card-period>span:not(#x){display:inline!important;margin:0!important}
html body.brand-page :is(main,#content) .result-card .card-period>span+span::before{content:" · "}
html body.brand-page :is(main,#content) .result-card .card-period *:not(#x){color:inherit!important}
/* side-list headings are labels, not section titles */
html body.brand-page :is(main,#content) :is(.results-topics,.catalog-sidebar,.report-sidebar) :is(h2,h3,summary):not(#x),
html body.brand-page :is(main,#content) .organization-domains h2:not(#x){font-size:var(--ig-fs-small)!important;color:var(--ig-small-grey)!important;font-weight:var(--ig-fw-semi)!important}
/* flux page: follow-up, copy link and embed at the end of the page */
.flux-end{margin:40px 0 0;padding-top:24px;border-top:1px solid #e3e3e3}
.flux-end-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px;margin-top:16px}
.flux-end-actions details.gv-embed{flex-basis:100%}
/* Same start on every section page: breadcrumbs, title, one sentence, tabs, content (20 Nov 2026) */
html body.brand-page .brand-hero .catalog-heading-row:not(#x){margin-bottom:6px!important}
html body.brand-page :is(.section-lead,.flux-intro):not(#x){max-width:68ch;margin:0 0 18px!important;color:#0b0c0c;line-height:1.55}
html body.brand-page .brand-hero h1:not(#x){margin-top:0!important}
html body.brand-page :is(.gv-crumbs,.page-breadcrumb):not(#x){margin-bottom:14px!important}
/* Active tab: a black bar under it, no underline on the text */
html body.brand-page :is(#content,#siteNav,main,.brand-hero) :is(.library-views>a,.results-nav>a):is([aria-current=true],[aria-current=page]):not(#x){text-decoration:none!important;box-shadow:inset 0 -2px 0 #0b0c0c}
html body.brand-page :is(.catalog-reset,#directoryReset,#conditionReset):not(#x){text-decoration:none!important}
