:root {
  --thd-midnight: #0a111c;
  --thd-navbar: #101a28;
  --thd-section: #111c2b;
  --thd-card: #172333;
  --thd-silver: #f2f5f8;
  --thd-muted: #bfcad6;
  --thd-electric: #45bbf6;
  --thd-electric-hover: #7bd2ff;
  --thd-sunset: #dda16b;
  --thd-border: #354458;
  --thd-button: #137db6;
  --thd-button-hover: #146d9e;
  --thd-content-width: 1440px;
}

.Oqtane-Modules-Admin-Login {
  min-width: 200px;
  max-width: 400px;
  width: unset;
}

body {
  padding-top: 5rem;
  background-color: var(--thd-midnight);
}

.navbar.bg-primary,
.thd-site-nav {
  background: var(--thd-navbar) !important;
  border-bottom: 1px solid var(--thd-border);
  box-shadow: 0 4px 18px rgba(0, 0, 0, .25);
}

.navbar.bg-primary .nav-link,
.thd-site-nav .nav-link {
  color: #dce6f0 !important;
  border-radius: .4rem;
  transition: color .18s ease, background-color .18s ease;
}

.navbar.bg-primary .nav-link:hover,
.navbar.bg-primary .nav-link:focus-visible,
.thd-site-nav .nav-link:hover,
.thd-site-nav .nav-link:focus-visible {
  color: #fff !important;
  background-color: rgba(69, 187, 246, .12);
}

.navbar.bg-primary .nav-link.active,
.navbar.bg-primary .nav-item.active > .nav-link,
.navbar.bg-primary .nav-link[aria-current="page"],
.thd-site-nav .nav-link.active,
.thd-site-nav .nav-item.active > .nav-link,
.thd-site-nav .nav-link[aria-current="page"] {
  color: var(--thd-electric) !important;
  background-color: rgba(69, 187, 246, .11);
}

.navbar.bg-primary .navbar-toggler,
.thd-site-nav .navbar-toggler {
  border-color: var(--thd-border);
}

.thd-full-bleed {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  transform: translateX(-50%);
}

.thd-section,
.thd-section--latest {
  box-sizing: border-box;
  padding-top: clamp(3rem, 5vw, 5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  color: var(--thd-silver);
}

.thd-section .thd-content,
.thd-section--latest .thd-content {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--thd-content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 2.8vw, 3rem);
  padding-right: clamp(1rem, 2.8vw, 3rem);
}

.thd-section .row,
.thd-section--latest .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.thd-section--deep { background: var(--thd-midnight) !important; }
.thd-section--alt { background: var(--thd-section) !important; }

.thd-section--latest,
.thd-section--latest.bg-light,
.thd-section--latest.bg-secondary,
.thd-section--latest.bg-primary {
  background: linear-gradient(180deg, #142133 0%, #0a111c 100%) !important;
  color: var(--thd-silver);
}

.thd-section h1,
.thd-section h2,
.thd-section h3,
.thd-section--latest h1,
.thd-section--latest h2,
.thd-section--latest h3 {
  color: var(--thd-silver);
}

.thd-section .lead,
.thd-section .text-muted,
.thd-section .text-body-secondary,
.thd-section--latest .lead,
.thd-section--latest .text-muted,
.thd-section--latest .text-body-secondary {
  color: var(--thd-muted) !important;
}

.thd-eyebrow,
.thd-section .thd-eyebrow,
.thd-section--latest .thd-eyebrow {
  color: var(--thd-electric) !important;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.thd-text-sunset { color: var(--thd-sunset) !important; }
.thd-text-blue { color: var(--thd-electric) !important; }

.thd-card,
.thd-release-card,
.thd-section--latest .card {
  background: var(--thd-card) !important;
  color: var(--thd-silver);
  border: 1px solid var(--thd-border);
  border-radius: .85rem;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .22);
}

.thd-card .card-body,
.thd-release-card .card-body,
.thd-section--latest .card .card-body {
  padding: clamp(1rem, 1.8vw, 1.75rem);
}

.thd-card h3,
.thd-release-card h3,
.thd-section--latest .card h3 {
  color: var(--thd-silver);
}

.thd-card p,
.thd-release-card p,
.thd-section--latest .card p {
  color: #d6dfe9;
}

.thd-cover {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.thd-btn-primary,
.thd-section--latest .btn-primary {
  background: var(--thd-button) !important;
  border: 1px solid var(--thd-button) !important;
  color: #fff !important;
}

.thd-btn-primary:hover,
.thd-btn-primary:focus-visible,
.thd-section--latest .btn-primary:hover,
.thd-section--latest .btn-primary:focus-visible {
  background: var(--thd-button-hover) !important;
  border-color: var(--thd-button-hover) !important;
  color: #fff !important;
}

.thd-btn-outline {
  background: transparent;
  border: 1px solid #9aabba;
  color: var(--thd-silver);
}

.thd-btn-outline:hover,
.thd-btn-outline:focus-visible {
  background: rgba(242, 245, 248, .10);
  border-color: var(--thd-electric);
  color: #fff;
}

.thd-section a:not(.btn),
.thd-section--latest a:not(.btn) {
  text-underline-offset: .18em;
}

.thd-section a:not(.btn):focus-visible,
.thd-section--latest a:not(.btn):focus-visible {
  outline: 2px solid var(--thd-electric);
  outline-offset: 3px;
}

.thd-hero { color: var(--thd-silver); }
.thd-hero h1 { color: #fff; }
.thd-hero .lead { color: #e0e9f1; }

.thd-site-footer {
  background: #080d15;
  border-top: 1px solid var(--thd-border);
  color: var(--thd-muted);
}

.thd-site-footer a { color: #dce6f0; }
.thd-site-footer a:hover { color: var(--thd-electric); }

@media (max-width: 767.98px) {
  .thd-section .row,
  .thd-section--latest .row {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
  .thd-section .thd-content,
  .thd-section--latest .thd-content {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar.bg-primary .nav-link,
  .thd-site-nav .nav-link {
    transition: none;
  }
}
