@font-face {
  font-family: "Noto Serif";
  src: url("/static/fonts/Noto_Serif/NotoSerif-VariableFont_wdth,wght.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  src: url("/static/fonts/Noto_Serif/NotoSerif-Italic-VariableFont_wdth,wght.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/Noto_Sans/NotoSans-VariableFont_wdth,wght.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans";
  src: url("/static/fonts/Noto_Sans/NotoSans-Italic-VariableFont_wdth,wght.woff2")
    format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

body {
  font-family:
    "Noto Sans",
    system-ui,
    -apple-system,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.display-5,
.display-6 {
  font-family: "Noto Sans", Georgia, serif;
  font-weight: 550;
}

.nav .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.nav .dropdown-toggle::after {
  margin-left: 0;
  vertical-align: middle;
}

h1,
.display-6 {
  font-size: 1.75rem;
}

.display-5 {
  font-size: 2.25rem;
}

h2 {
  font-size: 1.35rem;
}

h3 {
  font-size: 1.15rem;
}

h4 {
  font-size: 1rem;
}

h5,
h6 {
  font-size: 1rem;
}

.markdown-body h2 {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.markdown-body h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
}

.markdown-body h4 {
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.markdown-body h5,
.markdown-body h6 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.markdown-body > h2:first-child,
.markdown-body > h3:first-child {
  margin-top: 0;
}

.unit-row {
  cursor: pointer;
}

.resident-link:hover {
  text-decoration: underline !important;
}

.filter-link {
  cursor: pointer;
}

.filter-link:hover {
  text-decoration: underline !important;
}

.unit-status {
  font-weight: 500;
}

.unit-status.Udlejet {
  background-color: #3b82f6 !important;
  color: #fff !important;
}

.unit-status.Ejerboet {
  background-color: #22c55e !important;
  color: #fff !important;
}

.w-150 {
  width: 150px;
}

.rotated-text {
  writing-mode: vertical-rl;
  white-space: nowrap;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.type-badge {
  color: #fff !important;
}

.type-badge.type-d {
  background-color: #f59e0b !important;
}

.type-badge.type-l {
  background-color: #6366f1 !important;
}

.type-badge.type-p {
  background-color: #ec4899 !important;
}

.type-border.type-d {
  border-color: #f59e0b !important;
}

.type-border.type-l {
  border-color: #6366f1 !important;
}

.type-border.type-p {
  border-color: #ec4899 !important;
}

.building-label {
  width: 1.75rem;
  padding: 0.75rem 0.35rem !important;
}

/* ── Modal: handled by Bootstrap CSS + JS ── */

/* Board member cards: crop all card images to the same height */
.markdown-body .card img {
  height: 200px;
  object-fit: cover;
  object-position: center 30%;
}

.markdown-body .card-avatar {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}
