/* Montavue Support — 2026 visual refresh */
:root {
  --mv-navy: #0b1f33;
  --mv-navy-2: #12385f;
  --mv-blue: #1264cc;
  --mv-blue-hover: #0d52ad;
  --mv-sky: #eaf3ff;
  --mv-ink: #142033;
  --mv-text: #344054;
  --mv-muted: #667085;
  --mv-line: #dfe6ee;
  --mv-bg: #f4f7fb;
  --mv-white: #ffffff;
  --mv-radius: 18px;
  --mv-shadow: 0 16px 44px rgba(15, 35, 58, 0.10);
}

html { scroll-behavior: smooth; }

body {
  background: var(--mv-bg) !important;
  background-image: none !important;
  color: var(--mv-text) !important;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  -webkit-font-smoothing: antialiased;
}

body, button, input, select, textarea {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
}

a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }

#inner-wrapper { background: var(--mv-bg) !important; overflow: hidden; }

#header-wrapper {
  width: 100% !important;
  margin: 0 !important;
  background: var(--mv-navy) !important;
  border-bottom: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 8px 28px rgba(3, 18, 34, .14);
  position: relative;
  z-index: 20;
}

#header {
  width: 100% !important;
  height: auto !important;
  min-height: 90px;
}

#main-header-wrapper .container,
#main > .container {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

#main-header-wrapper .container { height: auto !important; }

.main-header {
  min-height: 90px;
  display: flex;
  align-items: center;
}

#logo {
  width: auto !important;
  height: auto !important;
  float: none !important;
  padding: 16px 0 !important;
}

.logo-title { display: flex; flex-direction: column; gap: 2px; }

#site-title {
  margin: 0 !important;
  line-height: 1.05 !important;
}

#site-title a {
  color: var(--mv-white) !important;
  font-size: 29px !important;
  line-height: 1.05 !important;
  font-weight: 750 !important;
  letter-spacing: -.035em;
  text-decoration: none !important;
}

#site-description {
  margin: 0 !important;
  color: #b9cee4 !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  letter-spacing: .02em;
}

.header-right,
#menu-wrapper { display: none !important; }

#main {
  width: 100% !important;
  padding: 34px 0 72px;
  background: var(--mv-bg) !important;
  box-sizing: border-box;
}

/* Homepage hero */
.home #post-7134 > .wpb-content-wrapper > .vc_row:first-child {
  margin: 0 0 26px !important;
  padding: 54px 42px 50px !important;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(55,147,255,.28), transparent 30%),
    linear-gradient(135deg, var(--mv-navy) 0%, var(--mv-navy-2) 58%, #135fae 100%) !important;
  box-shadow: 0 22px 52px rgba(10, 35, 61, .20);
}

.home #post-7134 > .wpb-content-wrapper > .vc_row:first-child .vc_column-inner {
  margin: 0 !important;
  padding: 0 !important;
}

.home #post-7134 > .wpb-content-wrapper > .vc_row:first-child h2 {
  margin: 0 !important;
  color: var(--mv-white) !important;
  font-family: inherit !important;
}

.home #post-7134 > .wpb-content-wrapper > .vc_row:first-child h2:first-of-type {
  font-size: clamp(24px, 3vw, 36px) !important;
  line-height: 1.18 !important;
  font-weight: 750 !important;
  letter-spacing: -.035em;
}

.home #post-7134 > .wpb-content-wrapper > .vc_row:first-child h2:nth-of-type(2) {
  margin-top: 10px !important;
  color: #c9d9eb !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  letter-spacing: .01em;
}

/* Search-first support experience */
.home #searchform.dt-sc-search-form {
  width: min(820px, 100%) !important;
  height: 64px !important;
  margin: 28px auto 0 !important;
  display: flex !important;
  align-items: stretch;
  overflow: hidden;
  background: var(--mv-white) !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  border-radius: 14px !important;
  box-shadow: 0 14px 34px rgba(2, 15, 31, .28) !important;
  color: var(--mv-ink) !important;
}

.home #searchform #s {
  min-width: 0;
  flex: 1 1 auto;
  order: 2;
  height: 64px !important;
  padding: 0 20px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--mv-ink) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.home #searchform #s::placeholder { color: #7b8797 !important; opacity: 1; }

.home #searchform .selection-box {
  width: 155px !important;
  flex: 0 0 155px;
  order: 1;
  border: 0 !important;
  border-right: 1px solid var(--mv-line) !important;
  background: #f8fafc !important;
}

.home #searchform .selection-box select {
  width: 100% !important;
  height: 64px !important;
  padding: 0 38px 0 18px !important;
  border: 0 !important;
  background-color: transparent !important;
  color: var(--mv-text) !important;
  font-size: 14px !important;
  font-weight: 650 !important;
}

.home #searchform input[name="submit"] {
  width: 64px !important;
  min-width: 64px;
  height: 64px !important;
  order: 3;
  border: 0 !important;
  border-radius: 0 !important;
  background-color: var(--mv-blue) !important;
  color: var(--mv-white) !important;
  box-shadow: none !important;
  cursor: pointer;
}

.home #searchform input[name="submit"]:hover { background-color: var(--mv-blue-hover) !important; }

/* Homepage resource modules */
.home .vc_custom_section_box {
  margin: 24px 0 0 !important;
  overflow: hidden;
  border: 1px solid var(--mv-line) !important;
  border-radius: 20px !important;
  background: var(--mv-white) !important;
  box-shadow: var(--mv-shadow);
}

.home .vc_custom_col { padding: 0 !important; }

.home .vc_custom_inner_header {
  padding: 24px 28px 13px !important;
  border: 0 !important;
  background: var(--mv-white) !important;
}

.home .vc_custom_inner_header h3 {
  margin: 0 !important;
  color: var(--mv-ink) !important;
  font-family: inherit !important;
  font-size: 23px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
  letter-spacing: -.025em;
}

.home .vc_tta-container { margin-bottom: 0 !important; }

.home .vc_tta.vc_general {
  border: 0 !important;
  background: transparent !important;
}

.home .vc_tta-tabs-container {
  padding: 0 24px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--mv-line) !important;
  background: #f8fafc !important;
}

.home .vc_tta-tabs-list {
  display: flex !important;
  gap: 8px;
  margin: 0 !important;
  padding: 10px 0 !important;
  overflow-x: auto;
  scrollbar-width: thin;
}

.home .vc_tta-tabs-list .vc_tta-tab { margin: 0 !important; }

.home .vc_tta-tabs-list .vc_tta-tab > a {
  padding: 10px 15px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--mv-muted) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.home .vc_tta-tabs-list .vc_tta-tab:hover > a {
  background: #e9eef5 !important;
  color: var(--mv-ink) !important;
}

.home .vc_tta-tabs-list .vc_tta-tab.vc_active > a {
  background: var(--mv-blue) !important;
  color: var(--mv-white) !important;
  box-shadow: 0 6px 16px rgba(18,100,204,.20);
}

.home .vc_tta-panels,
.home .vc_tta-panel,
.home .vc_tta-panel-body {
  border: 0 !important;
  background: var(--mv-white) !important;
}

.home .vc_tta-panel-body { padding: 22px 28px 30px !important; }

.home .vc_tta-panel-body .vc_row_inner {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
}

.home .vc_tta-panel-body .vc_row_inner + .vc_row_inner { margin-top: 14px !important; }

.home .vc_tta-panel-body .vc_row_inner > .vc_column_container {
  width: auto !important;
  min-width: 0;
  flex: 1 1 190px;
  float: none !important;
}

.home .vc_tta-panel-body .vc_row_inner > .vc_column_container:not(:has(.vc_btn3)) { display: none !important; }

.home .vc_tta-panel-body .vc_column-inner { padding: 0 !important; }

.home .vc_tta-panel-body .vc_btn3-container {
  width: 100%;
  height: 100%;
  margin: 0 !important;
}

/* Buttons */
.vc_btn3.vc_btn3-color-sky.vc_btn3-style-3d,
.vc_btn3.vc_btn3-color-sky {
  min-height: 52px;
  padding: 13px 18px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #bcd1e9 !important;
  border-radius: 11px !important;
  background: #edf5ff !important;
  color: #114f94 !important;
  box-shadow: none !important;
  transform: none !important;
  font-size: 14px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: center;
}

.home .vc_tta-panel-body .vc_btn3 { width: 100%; height: 100%; }

.vc_btn3.vc_btn3-color-sky:hover,
.vc_btn3.vc_btn3-color-sky:focus {
  border-color: var(--mv-blue) !important;
  background: var(--mv-blue) !important;
  color: var(--mv-white) !important;
  box-shadow: 0 10px 22px rgba(18,100,204,.20) !important;
  transform: translateY(-1px) !important;
}

/* Long-form guides and download pages */
body:not(.home) #primary {
  padding: clamp(30px, 5vw, 64px);
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 22px;
  background: var(--mv-white);
  box-shadow: var(--mv-shadow);
  box-sizing: border-box;
}

body:not(.home) #primary h1,
body:not(.home) #primary h2,
body:not(.home) #primary h3,
body:not(.home) #primary h4,
body:not(.home) #primary h5 {
  color: var(--mv-ink) !important;
  font-family: inherit !important;
  font-weight: 750 !important;
  letter-spacing: -.03em;
}

body:not(.home) #primary h1 {
  margin: 0 0 30px !important;
  font-size: clamp(36px, 5vw, 58px) !important;
  line-height: 1.08 !important;
}

body:not(.home) #primary h2 {
  margin-top: 50px !important;
  margin-bottom: 20px !important;
  font-size: clamp(28px, 3.6vw, 40px) !important;
  line-height: 1.16 !important;
}

body:not(.home) #primary h3 {
  margin-top: 38px !important;
  margin-bottom: 16px !important;
  font-size: clamp(22px, 2.5vw, 30px) !important;
  line-height: 1.22 !important;
}

body:not(.home) #primary p,
body:not(.home) #primary li {
  color: var(--mv-text) !important;
  font-size: 17px !important;
  line-height: 1.76 !important;
}

body:not(.home) #primary p { margin-bottom: 18px !important; }

body:not(.home) #primary a:not(.vc_btn3) {
  color: var(--mv-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body:not(.home) #primary a:not(.vc_btn3):hover { color: var(--mv-blue-hover); }

body:not(.home) #primary figure {
  max-width: 1040px;
  margin: 28px auto !important;
}

body:not(.home) #primary img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

body:not(.home) #primary figure img {
  box-shadow: 0 12px 34px rgba(18, 42, 66, .12);
}

body:not(.home) #primary hr {
  margin: 38px 0;
  border: 0;
  border-top: 1px solid var(--mv-line);
}

/* Tabs on secondary pages */
body:not(.home) .vc_tta-tabs-list .vc_tta-tab > a {
  border-radius: 9px 9px 0 0 !important;
  font-weight: 700 !important;
}

body:not(.home) .vc_tta-tabs-list .vc_tta-tab.vc_active > a {
  border-color: var(--mv-blue) !important;
  background: var(--mv-blue) !important;
  color: var(--mv-white) !important;
}

/* Cookie consent */
.dt-cookie-consent {
  padding: 13px 0 !important;
  background: rgba(11,31,51,.97) !important;
  box-shadow: 0 -10px 30px rgba(2,16,31,.18);
}

.dt-cookie-consent .container {
  width: min(1180px, calc(100% - 32px)) !important;
  height: auto !important;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.dt-cookie-consent .dt_cookie_text {
  margin: 0 !important;
  color: #d9e5f2 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.dt-cookie-consent .dt-cookie-consent-button {
  margin: 0 !important;
  padding: 9px 16px !important;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 8px !important;
  background: var(--mv-blue) !important;
  color: var(--mv-white) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 750 !important;
  box-shadow: none !important;
}

/* Responsive */
@media (max-width: 767px) {
  #header { min-height: 74px; }

  #main-header-wrapper .container,
  #main > .container {
    width: calc(100% - 24px) !important;
  }

  .main-header { min-height: 74px; }

  #logo { padding: 13px 0 !important; }

  #site-title a { font-size: 24px !important; }

  #site-description { font-size: 12px !important; }

  #main { padding: 18px 0 48px; }

  .home #post-7134 > .wpb-content-wrapper > .vc_row:first-child {
    padding: 34px 18px 24px !important;
    border-radius: 18px;
  }

  .home #post-7134 > .wpb-content-wrapper > .vc_row:first-child h2:first-of-type {
    font-size: 25px !important;
  }

  .home #post-7134 > .wpb-content-wrapper > .vc_row:first-child h2:nth-of-type(2) {
    font-size: 14px !important;
  }

  .home #searchform.dt-sc-search-form {
    height: auto !important;
    margin-top: 22px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 56px;
    border-radius: 12px !important;
  }

  .home #searchform #s {
    width: 100% !important;
    height: 56px !important;
    grid-column: 1;
    grid-row: 1;
    order: initial;
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  .home #searchform input[name="submit"] {
    width: 56px !important;
    min-width: 56px;
    height: 56px !important;
    grid-column: 2;
    grid-row: 1;
    order: initial;
  }

  .home #searchform .selection-box {
    width: auto !important;
    height: 45px;
    grid-column: 1 / 3;
    grid-row: 2;
    order: initial;
    border-right: 0 !important;
    border-top: 1px solid var(--mv-line) !important;
  }

  .home #searchform .selection-box select {
    height: 45px !important;
    padding-left: 14px !important;
  }

  .home .vc_custom_section_box { border-radius: 16px !important; }

  .home .vc_custom_inner_header { padding: 20px 18px 12px !important; }

  .home .vc_custom_inner_header h3 { font-size: 20px !important; }

  .home .vc_tta-tabs-container {
    display: block !important;
    padding: 0 14px !important;
  }

  .home .vc_tta-panels-container .vc_tta-panel-heading { display: none !important; }

  .home .vc_tta-panel-body { padding: 18px !important; }

  .home .vc_tta-panel-body .vc_row_inner {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .home .vc_tta-panel-body .vc_row_inner > .vc_column_container {
    width: 100% !important;
  }

  body:not(.home) #primary {
    padding: 28px 20px;
    border-radius: 16px;
  }

  body:not(.home) #primary h1 { font-size: 34px !important; }
  body:not(.home) #primary h2 { margin-top: 38px !important; font-size: 28px !important; }
  body:not(.home) #primary p,
  body:not(.home) #primary li { font-size: 16px !important; line-height: 1.7 !important; }

  .dt-cookie-consent .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .dt-cookie-consent .dt-cookie-consent-button { align-self: flex-end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Visual QA refinements */
#header,
#main-header-wrapper {
  background: var(--mv-navy) !important;
}

#site-title a { font-family: inherit !important; }

.home #searchform input[name="submit"] {
  width: 82px !important;
  min-width: 82px;
  background-image: none !important;
  color: var(--mv-white) !important;
  font-family: inherit !important;
  font-size: 13px !important;
  line-height: 64px !important;
  font-weight: 750 !important;
  text-indent: 0 !important;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.home .vc_tta-panel-body .vc_row_inner > .vc_column_container {
  max-width: none !important;
}

.vc_btn3.vc_btn3-icon-left {
  padding-left: 18px !important;
}

.vc_btn3.vc_btn3-icon-left .vc_btn3-icon {
  position: static !important;
  top: auto !important;
  left: auto !important;
  margin: 0 8px 0 0 !important;
  transform: none !important;
}

body:not(.home) #main > .container > .simple-title {
  margin: 0 0 28px !important;
  color: var(--mv-ink) !important;
  font-family: inherit !important;
  font-size: clamp(38px, 5vw, 58px) !important;
  line-height: 1.08 !important;
  font-weight: 750 !important;
  letter-spacing: -.04em;
}

body:not(.home) #primary .wpb-content-wrapper > h1:first-child,
body:not(.home) #primary .wpb-content-wrapper > h2:first-child {
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  .home #searchform input[name="submit"] {
    width: 72px !important;
    min-width: 72px;
    font-size: 11px !important;
    line-height: 56px !important;
  }

  .home #searchform.dt-sc-search-form {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  body:not(.home) #main > .container > .simple-title {
    margin-bottom: 18px !important;
    font-size: 34px !important;
  }
}