:root {
  --ink: #142027;
  --navy: #0f1b26;
  --muted: #617175;
  --line: #d4dedb;
  --surface: #eef3f0;
  --panel: #fbfcfa;
  --panel-tint: #edf5f1;
  --accent: #176b63;
  --accent-strong: #0e4a45;
  --gold: #d5a13a;
  --gold-soft: #f3e4bd;
}

html {
  font-size: 14px;
  min-height: 100%;
  position: relative;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  background:
    linear-gradient(180deg, #e8efec 0%, var(--surface) 320px),
    var(--surface);
  color: var(--ink);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  margin-bottom: 104px;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  color: var(--accent-strong);
}

.navbar,
.footer {
  background: #ffffff;
}

.site-header {
  background:
    linear-gradient(90deg, var(--gold), #4fa798 52%, var(--accent)) top / 100% 4px no-repeat,
    radial-gradient(circle at 10% 0%, rgba(213, 161, 58, .22), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(23, 107, 99, .14), transparent 32%),
    linear-gradient(135deg, #fbfcfa 0%, #edf5f1 58%, #e5eeeb 100%);
  border-bottom: 1px solid rgba(23, 107, 99, .12);
  box-shadow: 0 16px 36px rgba(15, 27, 38, .1);
  margin-bottom: 1.5rem;
}

.site-navbar {
  background: transparent;
  min-height: 112px;
  padding: 1.1rem 0;
}

.nav-shell {
  max-width: 1320px;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

.site-header .navbar-collapse {
  align-items: center;
  background: rgba(255, 255, 255, .34);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(15, 27, 38, .08);
  gap: .45rem;
  flex-grow: 1;
  justify-content: flex-end !important;
  padding: .45rem;
}

.site-header .navbar-nav {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  flex-grow: 0 !important;
  gap: .05rem;
  padding: 0;
}

.site-header .navbar-nav .nav-link {
  border-radius: 999px;
  color: var(--accent-strong) !important;
  flex: 0 0 auto;
  font-weight: 800;
  letter-spacing: 0;
  min-width: 64px;
  padding: .62rem 1.05rem;
  position: relative;
  text-align: center;
  text-shadow: none;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
  white-space: nowrap;
}

.site-header .navbar-nav .nav-link:hover {
  background: rgba(255, 255, 255, .55);
  color: var(--navy) !important;
  transform: translateY(-1px);
}

.site-header .navbar-nav .nav-link.is-active {
  background: rgba(255, 255, 255, .72);
  box-shadow:
    inset 0 0 0 1px rgba(23, 107, 99, .12),
    0 8px 18px rgba(20, 32, 39, .06);
  color: var(--navy) !important;
}

.site-header .navbar-nav .nav-link.is-active::after {
  background: var(--gold);
  border-radius: 999px;
  bottom: .28rem;
  content: "";
  height: 3px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 24px;
}

.site-header .navbar-nav .nav-link:focus {
  background: rgba(213, 161, 58, .16);
  color: var(--navy) !important;
}

.site-header .navbar-nav .nav-link:active {
  background: var(--accent);
  color: #ffffff !important;
}

.site-header .navbar-toggler {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(23, 107, 99, .18);
  border-radius: 8px;
}

.language-form {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  min-height: 40px;
  position: relative;
  z-index: 20;
}

.language-toggle {
  align-items: center;
  background: var(--accent-strong);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  display: inline-flex;
  font-size: .9rem;
  gap: .45rem;
  font-weight: 800;
  max-width: 150px;
  min-height: 40px;
  overflow: hidden;
  padding: .55rem 2rem .55rem .8rem;
  position: relative;
  text-align: left;
  white-space: nowrap;
  width: 150px;
}

.language-toggle::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #ffffff;
  content: "";
  position: absolute;
  right: .8rem;
  top: 50%;
  transform: translateY(-35%);
}

.language-toggle span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.language-flag {
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .38);
  flex: 0 0 auto;
  height: 14px;
  object-fit: cover;
  width: 20px;
}

.language-menu {
  background: var(--accent-strong);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(15, 27, 38, .24);
  display: none;
  max-height: 320px;
  min-width: 230px;
  overflow-y: auto;
  padding: .4rem;
  position: absolute;
  right: 0;
  top: calc(100% + .45rem);
  z-index: 40;
}

.language-form.is-open .language-menu {
  display: grid;
  gap: .15rem;
}

.language-option {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  gap: .55rem;
  min-height: 34px;
  padding: .45rem .55rem;
  text-align: left;
  width: 100%;
}

.language-option:hover,
.language-option:focus,
.language-option.is-selected {
  background: rgba(255, 255, 255, .14);
  outline: 0;
}

.language-toggle:focus {
  box-shadow: 0 0 0 .2rem rgba(23, 107, 99, .16);
  outline: 0;
}

.navbar-brand {
  font-weight: 800;
}

.brand-lockup {
  align-items: center;
  display: inline-flex;
  min-height: 78px;
  padding-right: 2rem;
}

.brand-logo {
  display: block;
  height: auto;
  max-height: 84px;
  max-width: min(380px, 42vw);
  object-fit: contain;
  width: 360px;
}

.btn {
  border-radius: 6px;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.blog-hero {
  align-items: end;
  background:
    radial-gradient(circle at 86% 14%, rgba(213, 161, 58, .18), transparent 34%),
    linear-gradient(135deg, rgba(251, 252, 250, .98), rgba(237, 245, 241, .96));
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 2rem 0 2.5rem;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.blog-hero h1 {
  font-size: clamp(2.2rem, 5vw, 4.75rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.05;
  max-width: 930px;
}

.hero-copy {
  color: var(--muted);
  font-size: 1.15rem;
  margin: 1.25rem 0 0;
}

.hero-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.hero-branding {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-logo {
  display: block;
  max-height: 250px;
  max-width: min(600px, 42vw);
  object-fit: contain;
  width: 100%;
}

.intro-hero {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(213, 161, 58, .85), rgba(23, 107, 99, .95)) top / 100% 4px no-repeat,
    linear-gradient(135deg, rgba(15, 27, 38, .98), rgba(18, 61, 58, .96));
  border: 0;
  color: #ffffff;
  gap: clamp(2rem, 5vw, 4.75rem);
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  margin-top: 2.25rem;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 5.5rem);
}

.intro-copy {
  max-width: 760px;
}

.intro-hero .eyebrow {
  color: rgba(243, 228, 189, .94);
  margin-bottom: 1rem;
}

.intro-hero h1 {
  color: #ffffff;
  font-size: clamp(2rem, 4.4vw, 4.2rem);
  line-height: 1.02;
  max-width: 680px;
}

.intro-hero .hero-copy {
  color: rgba(255, 255, 255, .83);
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  line-height: 1.75;
  margin-top: 1.35rem;
  max-width: 720px;
}

.intro-hero .hero-actions {
  margin-top: 2rem;
}

.intro-hero .btn-primary {
  background: var(--gold);
  border-color: var(--gold);
  color: #10201f;
  min-width: 160px;
  padding: .85rem 1.15rem;
}

.intro-hero .btn-primary:hover {
  background: #f0c66c;
  border-color: #f0c66c;
  color: #10201f;
}

.intro-branding {
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: clamp(1.35rem, 3vw, 2.25rem);
  position: relative;
}

.intro-branding::before {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .88), rgba(237, 245, 241, .78));
  border: 1px solid rgba(243, 228, 189, .34);
  border-radius: 8px;
  content: "";
  inset: 0;
  position: absolute;
}

.intro-branding .hero-logo {
  max-height: 280px;
  max-width: min(420px, 100%);
  position: relative;
  z-index: 1;
}

.tech-hero {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(213, 161, 58, .8), rgba(23, 107, 99, .9)) top / 100% 4px no-repeat,
    radial-gradient(circle at 82% 12%, rgba(213, 161, 58, .22), transparent 30%),
    radial-gradient(circle at 14% 88%, rgba(79, 167, 152, .16), transparent 34%),
    linear-gradient(135deg, rgba(15, 27, 38, .98), rgba(18, 61, 58, .96));
  border-radius: 8px;
  color: #ffffff;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  margin: 2rem 0 2.5rem;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.tech-hero h1 {
  font-size: clamp(1.85rem, 3.1vw, 3.15rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
  max-width: 860px;
}

.tech-hero .hero-copy {
  color: rgba(255, 255, 255, .78);
  max-width: 820px;
}

.tech-highlight {
  align-items: center;
  align-self: center;
  background: rgba(251, 252, 250, .1);
  border: 1px solid rgba(243, 228, 189, .22);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 220px;
  padding: 2rem;
  text-align: center;
}

.tech-highlight strong {
  color: var(--gold);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .9;
}

.tech-highlight span {
  color: rgba(255, 255, 255, .82);
  font-weight: 800;
  margin-top: 1rem;
}

.tech-overview {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tech-overview article,
.tech-stack-section,
.tech-narrative {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 32, 39, .05);
}

.tech-overview article {
  border-top: 4px solid rgba(23, 107, 99, .78);
  min-height: 310px;
  padding: 1.4rem;
}

.tech-overview article:nth-child(even) {
  border-top-color: rgba(213, 161, 58, .84);
}

.tech-overview span {
  color: var(--gold);
  display: block;
  font-size: .78rem;
  font-weight: 900;
  margin-bottom: .65rem;
  text-transform: uppercase;
}

.tech-overview h2,
.tech-stack-section h2,
.tech-narrative h2 {
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
}

.tech-overview p,
.tech-narrative p {
  color: var(--muted);
  line-height: 1.72;
}

.tech-stack-section {
  align-items: center;
  background:
    linear-gradient(135deg, var(--panel), var(--panel-tint));
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  margin-top: 1rem;
  padding: 1.6rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
}

.tech-stack span {
  background: rgba(23, 107, 99, .1);
  border: 1px solid rgba(23, 107, 99, .18);
  border-radius: 999px;
  color: var(--accent-strong);
  font-weight: 800;
  padding: .55rem .8rem;
}

.tech-narrative {
  background:
    linear-gradient(135deg, var(--panel), #f8f4e8);
  margin: 1rem 0 2.5rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.tech-narrative h2 {
  margin-bottom: 1rem;
}

.tech-narrative p {
  font-size: 1.06rem;
  max-width: 980px;
}

.contact-hero {
  background:
    linear-gradient(90deg, rgba(213, 161, 58, .85), rgba(23, 107, 99, .95)) top / 100% 4px no-repeat,
    linear-gradient(135deg, rgba(251, 252, 250, .98), rgba(237, 245, 241, .96));
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 2rem 0 1rem;
  padding: clamp(2rem, 5vw, 4rem);
}

.contact-hero h1 {
  color: var(--ink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  max-width: 820px;
}

.contact-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.55vw, 1.25rem);
  line-height: 1.75;
  margin: 1.15rem 0 0;
  max-width: 820px;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 2.5rem;
}

.contact-grid article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(20, 32, 39, .05);
  padding: 1.5rem;
}

.contact-grid span {
  color: var(--accent-strong);
  display: block;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: .7rem;
  text-transform: uppercase;
}

.contact-grid h2 {
  font-size: 1.25rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.18;
}

.contact-grid p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-actions {
  align-items: stretch;
  background:
    linear-gradient(90deg, rgba(213, 161, 58, .78), rgba(23, 107, 99, .9)) top / 100% 4px no-repeat,
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(20, 32, 39, .06);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin: -1rem 0 2.5rem;
  padding: clamp(.85rem, 1.8vw, 1.15rem);
}

.contact-actions > div:first-child {
  align-self: center;
  min-width: 220px;
}

.contact-actions h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 850;
  margin: 0 0 .25rem;
}

.contact-actions p:not(.eyebrow) {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 520px;
}

.contact-action-list {
  display: grid;
  flex: 0 1 460px;
  gap: .55rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-content: flex-end;
  min-width: min(460px, 100%);
}

.contact-link-card {
  background: #ffffff;
  border: 1px solid rgba(20, 32, 39, .1);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 32, 39, .055);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: .16rem;
  justify-content: center;
  min-height: 88px;
  overflow: hidden;
  padding: .78rem .9rem;
  position: relative;
}

.contact-link-card::before {
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.contact-link-mail::before {
  background: var(--gold);
}

.contact-link-telegram::before {
  background: var(--accent);
}

.contact-link-card:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

.contact-link-label {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-link-card strong {
  font-size: .94rem;
  line-height: 1.25;
}

.contact-link-card small {
  color: var(--accent-strong);
  font-size: .82rem;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.eyebrow {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: .5rem;
  text-transform: uppercase;
}

.section-header {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 2rem 0 1rem;
}

.section-header h1,
.section-header h2 {
  font-weight: 800;
  margin: 0;
}

.post-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.post-card,
.post-row,
.comment-form,
.comment-item,
.editor-form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(20, 32, 39, .045);
}

.post-card {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  min-height: 240px;
  padding: 1.25rem;
}

.post-card h3,
.post-row h2 {
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.2;
}

.post-card p,
.post-row p,
.post-detail p,
.comment-item p {
  color: var(--muted);
}

.post-meta {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: .9rem;
  gap: .75rem;
}

.badge {
  align-self: flex-start;
  background: rgba(23, 107, 99, .11);
  border: 1px solid rgba(23, 107, 99, .15);
  color: var(--accent-strong);
  font-weight: 800;
}

.post-list {
  display: grid;
  gap: 1rem;
}

.post-row {
  padding: 1.5rem;
}

.post-detail {
  margin: 2rem auto;
  max-width: 820px;
}

.post-detail h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 1rem 0;
}

.post-detail p {
  font-size: 1.08rem;
  line-height: 1.75;
}

.comments {
  margin: 2rem auto;
  max-width: 820px;
}

.comment-form,
.comment-item,
.editor-form {
  padding: 1.25rem;
}

.comment-list {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.admin-comment-body {
  max-width: 420px;
  white-space: normal;
}

.form-control,
.form-select {
  border-radius: 6px;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .2rem rgba(29, 111, 95, .18);
}

.footer {
  bottom: 0;
  line-height: 1.4;
  padding: .85rem 0;
  position: absolute;
  width: 100%;
}

.footer-shell {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.25rem;
  justify-content: space-between;
  min-height: 44px;
}

.footer-contact {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.footer-contact-link {
  align-items: center;
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(23, 107, 99, .14);
  border-radius: 999px;
  color: var(--ink);
  display: inline-flex;
  gap: .45rem;
  min-height: 34px;
  padding: .38rem .7rem;
}

.footer-contact-link span {
  color: var(--muted);
  font-size: .72rem;
  font-weight: 850;
  text-transform: uppercase;
}

.footer-contact-link strong {
  color: var(--accent-strong);
  font-size: .86rem;
  font-weight: 800;
}

.footer-contact-link:hover {
  background: var(--panel-tint);
  color: var(--ink);
}

.footer-mail {
  box-shadow: inset 3px 0 0 var(--gold);
}

.footer-telegram {
  box-shadow: inset 3px 0 0 var(--accent);
}

@media (max-width: 900px) {
  .site-header {
    margin-bottom: 1rem;
  }

  .site-navbar {
    min-height: 74px;
    padding: .75rem 0;
  }

  .site-header .navbar-collapse {
    background: rgba(255, 255, 255, .26);
    border-radius: 10px;
    flex-wrap: wrap;
    margin-top: .75rem;
    padding: .45rem;
  }

  .site-header .navbar-nav {
    align-items: stretch;
    background: transparent;
    border-radius: 8px;
    padding: .35rem;
    width: 100%;
  }

  .language-form {
    margin-top: .6rem;
    width: 100%;
  }

  .language-select {
    max-width: none;
    width: 100%;
  }

  .contact-actions {
    align-items: flex-start;
    flex-direction: column;
    padding-left: .8rem;
    padding-right: .8rem;
  }

  .contact-actions > div:first-child {
    align-self: flex-start;
    min-width: 0;
  }

  .contact-action-list {
    flex: none;
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }

  .brand-logo {
    max-height: 50px;
    max-width: 230px;
    width: 220px;
  }

  .brand-lockup {
    min-height: 54px;
    padding-right: .5rem;
  }

  .blog-hero,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .blog-hero {
    align-items: start;
  }

  .intro-hero {
    gap: 1.75rem;
    padding: 2rem;
  }

  .intro-hero h1 {
    font-size: clamp(2rem, 9vw, 3.25rem);
  }

  .intro-hero .hero-actions {
    margin-top: 1.5rem;
  }

  .hero-branding {
    align-items: flex-start;
  }

  .hero-logo {
    max-height: 130px;
    max-width: min(360px, 100%);
  }

  .intro-branding {
    align-items: center;
    min-height: auto;
    padding: 1.1rem;
    width: 100%;
  }

  .intro-branding .hero-logo {
    max-height: 150px;
    max-width: min(320px, 100%);
  }

  .tech-hero,
  .tech-stack-section {
    grid-template-columns: 1fr;
  }

  .tech-overview {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .tech-overview article {
    min-height: auto;
    padding: 1.05rem 1.1rem;
  }

  .tech-overview span {
    margin-bottom: .45rem;
  }

  .tech-overview h2 {
    font-size: 1.12rem;
    margin-bottom: .45rem;
  }

  .tech-overview p {
    line-height: 1.58;
    margin-bottom: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .tech-highlight {
    align-items: flex-start;
    min-height: auto;
    text-align: left;
  }
}

@media (min-width: 576px) and (max-width: 760px) {
  .site-navbar {
    flex-wrap: wrap !important;
  }

  .nav-shell {
    align-items: flex-start;
    flex-wrap: wrap !important;
  }

  .brand-lockup {
    order: 1;
  }

  .site-header .navbar-collapse {
    flex: 0 0 100% !important;
    flex-basis: 100% !important;
    flex-wrap: wrap;
    justify-content: flex-start !important;
    margin-left: 0;
    margin-top: .75rem;
    max-width: 100%;
    min-width: 100%;
    order: 3;
    width: 100%;
  }

  .site-header .navbar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: auto;
  }

  .site-header .navbar-nav .nav-link {
    min-width: auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .language-form {
    flex-basis: auto;
    margin-left: auto;
    margin-top: 0;
    width: auto;
  }

  .language-select {
    max-width: 150px;
    width: 150px;
  }

  .language-menu {
    left: auto;
    right: 0;
  }
}
