body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

a {
  text-decoration: underline;
}
a:hover {
  text-decoration: none;
}

.navbar a {
  text-decoration: none;
}
.navbar {
  --bs-navbar-nav-link-padding-x: 0.4rem;
}
.nav-divider {
  align-self: center;
  height: 2.375rem;
}

.lang-switch-menu {
  min-width: 6rem;
}

.content {
  flex: 1 0 auto;
  overflow-x: hidden;
}

.footer {
  flex-shrink: 0;
  color: var(--bs-secondary);
}
.footer a {
  color: var(--bs-secondary);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* Bootstrap color overrides: brand red (matches lufinity-web), and black
   links so link-colored components (e.g. .btn-link "read more") stay black
   too, not Bootstrap blue. */
:root {
  --bs-danger-rgb: 218, 37, 31;
  --bs-link-color: #000;
  --bs-link-color-rgb: 0, 0, 0;
  --bs-link-hover-color: #000;
  --bs-link-hover-color-rgb: 0, 0, 0;
}

.text-bg-danger {
  color: #fff !important;
  background-color: RGBA(218, 37, 31, var(--bs-bg-opacity, 1)) !important;
}

.btn-danger {
  --bs-btn-bg: #da251f;
  --bs-btn-border-color: #da251f;
  --bs-btn-hover-bg: #c2201b;
  --bs-btn-hover-border-color: #b02a37;
  --bs-btn-active-bg: #b02a37;
  --bs-btn-active-border-color: #a52834;
  --bs-btn-disabled-bg: #da251f;
  --bs-btn-disabled-border-color: #da251f;
}

.btn-outline-danger {
  --bs-btn-color: #da251f;
  --bs-btn-border-color: #b31e19;
  --bs-btn-hover-bg: #da251f;
  --bs-btn-hover-border-color: #b31e19;
  --bs-btn-active-bg: #b31e19;
  --bs-btn-active-border-color: #b31e19;
  --bs-btn-disabled-color: #b31e19;
  --bs-btn-disabled-border-color: #b31e19;
}

.dropdown-menu {
  --bs-dropdown-link-active-bg: #da251f;
}

.blog-card-img {
  height: 160px;
  object-fit: cover;
}

.blog-card-description {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.post-body {
  line-height: 1.7;
}
.post-body img {
  max-width: 100%;
  height: auto;
}
