/* Vivendi start/modules layout */

.vx-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.vx-page main {
  flex: 1 0 auto;
}

.vx-page .content-overlay {
  width: min(1280px, calc(100% - 3rem)) !important;
  max-width: 1280px !important;
  margin-top: 12px;
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: 4rem;
}

.vx-kicker {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.vx-kicker-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #212529;
}

[data-bs-theme="dark"] .vx-kicker-title {
  color: #f8f9fa;
}

.vx-kicker-env {
  display: inline-block;
  flex: 0 0 auto;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  padding: 0.15rem 0.75rem;
  border: none;
  box-shadow: none;
  background: #004F90 !important;
  color: #ffffff !important;
}

.vx-page .d-flex.border-bottom .page-title {
  margin-right: 1rem;
}

.vx-page .d-flex.border-bottom .vx-kicker-env {
  margin-bottom: 0.5rem;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.75rem;
  background: #004F90 !important;
  color: #ffffff !important;
  border: none;
  box-shadow: none;
}

.vx-page .footer {
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.vx-page .footer > .container {
  width: min(1280px, calc(100% - 3rem));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

.vx-page .footer .footer-logo,
.vx-page .footer .footer-links {
  margin-top: 0;
}

.vx-page .footer .vx-footer-row {
  padding-top: 2.25rem;
  padding-bottom: 2rem;
}

.vx-page .navbar,
.vx-page .nav-link {
  height: 72px;
}

.vx-apps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.vx-page .module-card {
  padding: 16px 20px !important;
}

.vx-page .module-card .d-flex {
  min-width: 0;
}

.vx-page .module-card .d-flex > div:last-child {
  min-width: 0;
  flex: 1 1 auto;
}

.vx-page .module-title,
.vx-page .module-description {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  -webkit-hyphens: manual;
}

.vx-module-url {
  display: block;
  margin: 0.35rem 0 0;
  padding: 0;
  font-size: 0.72rem;
  line-height: 1.35;
  color: #004F90;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}

[data-bs-theme="dark"] .vx-module-url {
  color: #9ec5e8;
}

.vx-actions {
  margin-top: 1.25rem;
}

.vx-page .content-overlay .btn-hfs.vx-nav-btn {
  background: #004F90 !important;
  border: 1px solid #004F90 !important;
  border-radius: 0;
  color: #ffffff !important;
  text-decoration: none;
}

.vx-page .content-overlay .btn-hfs.vx-nav-btn:hover {
  background: #003d70 !important;
  border-color: #003d70 !important;
  color: #ffffff !important;
  filter: none;
}

@media (max-width: 991.98px) {
  .vx-apps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .vx-apps {
    grid-template-columns: 1fr;
  }

  .vx-kicker {
    flex-wrap: wrap;
  }

  .vx-kicker-title,
  .vx-kicker-env {
    font-size: 1.35rem;
  }
}
