/* The Council of People's Commissars (/government) and its decrees. The
   portfolios are cards; a vacant one is told by its dashed edge and by the
   word "Vacant", never by colour alone. The state of emergency is a red-edged
   band above everything else. Uses the tokens of site.css. */

.gov-emergency {
  border: 3px solid var(--civic); border-left-width: 10px; background: var(--field);
  padding: 0.5rem 1.25rem 1rem; margin: 0 0 2rem;
}
.gov-emergency h2 { margin-top: 0.5rem; color: var(--civic); }
.gov-shorten { padding-left: 1.25rem; }
.gov-shorten li { margin: 0.35rem 0; }
.gov-shorten form { margin-left: 0.5rem; }

.gov-offices {
  list-style: none; margin: 1rem 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem;
}
.gov-office { border: 2px solid var(--ink); border-top: 6px solid var(--civic); padding: 0.75rem 1rem; background: var(--paper); min-width: 0; }
.gov-office--vacant { border-style: dashed; border-top-color: var(--rule); }
.gov-office__title { margin: 0; font-size: 1.05rem; }
.gov-office__portfolio { margin: 0.35rem 0; color: var(--ink-soft); font-size: 0.92rem; }
.gov-office__holder { margin: 0.5rem 0 0; display: flex; flex-direction: column; gap: 0.15rem; overflow-wrap: anywhere; }

.gov-log { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.gov-log li { border-bottom: 1px solid var(--rule); padding: 0.5rem 0; max-width: var(--measure); overflow-wrap: anywhere; }
.gov-log .field__hint { margin-right: 0.5rem; }

.gov-history td { overflow-wrap: anywhere; }

.decree .choices--stacked, .form .choices--stacked { flex-direction: column; align-items: flex-start; }

/* The budgets of the portfolios (/government/budget) and the desk's lists. */
.gov-periods ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; }
.gov-budget th[scope="row"] { text-align: left; }
.gov-budget td, .gov-allotments td { overflow-wrap: anywhere; vertical-align: top; }
.gov-desk-list { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.gov-desk-list > li { border-bottom: 1px solid var(--rule); padding: 0.5rem 0 0.75rem; max-width: var(--measure); overflow-wrap: anywhere; }

/* The government in the world: the Secretary, drawn from her skin, beside the words. */
.gov-world__body { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1rem 1.5rem; }
.gov-world__figure {
  flex: none; width: 5rem; height: auto; image-rendering: pixelated; image-rendering: crisp-edges;
  background: linear-gradient(160deg, var(--paper-deep) 0 60%, var(--red) 60% 100%); padding: 0.5rem 0.75rem 0;
}
.gov-world__text { flex: 1 1 18rem; min-width: 0; }
.gov-world__text p { max-width: var(--measure); overflow-wrap: anywhere; }
