/* MvM Theme 1.0 — draft shell */

body.mvm-theme1-shell {
  margin: 0;
  background: var(--mvm-surface-soft, #f5f8fb);
  color: var(--mvm-ink, #17212b);
}

body.mvm-theme1-shell .mvm-site,
body.mvm-theme1-shell .mvm-site-shell {
  min-width: 0;
}

body.mvm-theme1-shell .mvm-site-shell {
  min-height: 40vh;
  background: var(--mvm-surface, #fff);
}

.mvm-skip-link {
  position: fixed !important;
  z-index: 100000;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  color: #111 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  transition: transform .15s ease;
}

.mvm-skip-link:focus {
  transform: translateY(0);
}

.mvm-theme1-footer {
  margin: 0;
  padding: clamp(34px, 5vw, 58px) 0 0;
  background: #0f4f88;
  color: #fff;
}

.mvm-theme1-footer-inner,
.mvm-theme1-footer-bottom {
  width: min(var(--mvm-content, 1280px), calc(100% - 32px));
  margin-inline: auto;
}

.mvm-theme1-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, .55fr) minmax(190px, .7fr);
  gap: clamp(28px, 5vw, 64px);
  padding-bottom: 34px;
}

.mvm-theme1-footer-brand {
  max-width: 620px;
}

.mvm-theme1-footer-name {
  display: inline-block;
  margin-bottom: 10px;
  color: #fff !important;
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 850;
  letter-spacing: -.025em;
  text-decoration: none !important;
}

.mvm-theme1-footer-brand p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

.mvm-theme1-footer-social {
  margin-top: 16px;
}

.mvm-theme1-footer-social .widget,
.mvm-theme1-footer-social .mg-widget {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.mvm-theme1-footer-social .wp-block-social-links {
  margin: 0;
  padding: 0;
}

.mvm-theme1-footer-social .wp-social-link a {
  color: #fff !important;
}

.mvm-theme1-footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.mvm-theme1-footer-nav strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mvm-theme1-footer-nav a {
  color: rgba(255,255,255,.84) !important;
  text-decoration: none !important;
}

.mvm-theme1-footer-nav a:hover,
.mvm-theme1-footer-nav a:focus-visible,
.mvm-theme1-footer-name:hover,
.mvm-theme1-footer-name:focus-visible {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.mvm-theme1-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0 20px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.72);
  font-size: .84rem;
}

body.mvm-theme1-shell .wrapper {
  background: var(--mvm-surface, #fff);
}

@media (max-width: 820px) {
  .mvm-theme1-footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .mvm-theme1-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .mvm-theme1-footer-inner {
    grid-template-columns: 1fr;
  }

  .mvm-theme1-footer-brand {
    grid-column: auto;
  }

  .mvm-theme1-footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mvm-skip-link {
    transition: none;
  }
}

/* The header already has a dedicated Home button; hide the duplicate menu item. */
.mvm-primary-menu > .home,
.mvm-primary-menu > .current_page_item.home {
  display: none !important;
}
