/*
 * design-legacy.css
 *
 * The only rules from assets/css/design.css that v2 pages still rely on.
 * design.css (~10.6k lines) is no longer loaded on v2 pages; this file is
 * enqueued in its place, at the same cascade position (after style.css,
 * before the v2 stylesheets), so v2 pages render exactly as before.
 *
 * Rules were selected by matching every design.css selector against all
 * v2 pages at desktop (1440px) and mobile (390px) widths, plus the JS-toggled
 * states (.active, search results) that only appear after interaction.
 * Copy new rules into the v2 stylesheets instead of growing this file.
 */

/* ---------- Base ---------- */
img {
  height: auto;
}
.w-100 {
  width: 100% !important;
}
.col-12 {
  width: 100%;
}
.page-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

/* Micro-assessment landing page (page-id 3556) hides the global footer */
.page-id-3556 footer.footer-container {
  display: none !important;
}

/* ---------- Header: search + globe icons ---------- */
.search-icon-green,
.click-globe-icon-green {
  display: none;
}
.header-transparent.active .search-icon-green,
.header-transparent.active .click-globe-icon-green {
  display: block;
}
.header-transparent.active .search-icon-white,
.header-transparent.active .click-globe-icon-white {
  display: none;
}
header.header-background .search-icon-white,
header.header-background .click-globe-icon-white {
  display: none;
}
header.header-background .search-icon-green,
header.header-background .click-globe-icon-green {
  display: block;
}
.search-menu-icon img {
  max-width: 23px;
}
.globe-search-menu {
  gap: 20px;
  cursor: pointer;
}

/* ---------- Header: search panel + region menu ---------- */
.header-search-form {
  display: none !important;
  position: fixed;
  right: 0;
  top: 81px;
  width: 100%;
  z-index: 999;
}
.header-search-form.active {
  display: block !important;
}
.header-global-menu.active {
  display: block !important;
}
.header-global-menu ul li a {
  color: #000;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

form.searchwp-form input.swp-input--search {
  background-image: url("data:image/svg+xml;charset=utf-8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='15' fill='none'><path fill='%23000000' d='M6.068 12.136c1.31 0 2.533-.426 3.527-1.136l3.74 3.74c.174.173.402.26.64.26.512 0 .883-.395.883-.9a.87.87 0 0 0-.253-.63L10.89 9.744a6.04 6.04 0 0 0 1.247-3.677C12.136 2.73 9.406 0 6.068 0 2.722 0 0 2.73 0 6.068s2.722 6.068 6.068 6.068m0-1.31c-2.612 0-4.758-2.154-4.758-4.758S3.456 1.31 6.068 1.31c2.604 0 4.758 2.154 4.758 4.758s-2.154 4.758-4.758 4.758'/></svg>") !important;
  background-position: left 45px top 49.5% !important;
  padding-left: 90px !important;
  height: 60px;
  outline: 0;
  border: none;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
form.searchwp-form input.swp-input--search::placeholder {
  color: #6b6b6b !important;
  font-size: 16px !important;
}
input.search-submit.swp-button {
  display: none !important;
}
.searchwp-live-search-results {
  min-height: 474px !important;
  padding: 5px 35px;
  top: 142px !important;
  box-shadow: 0px 4px 10px 0px #93939340 !important;
}
.searchwp-live-search-result--title {
  margin-bottom: 0 !important;
}
.searchwp-live-search-result--img img {
  -o-object-fit: cover !important;
  object-fit: cover !important;
  min-height: 73px;
}
.searchwp-live-search-result .searchwp-live-search-result--title a {
  font-size: 15px !important;
  color: #000 !important;
  text-decoration: none !important;
  font-weight: 600 !important;
}
.searchwp-live-search-result--desc {
  font-size: 14px;
  line-height: 150%;
}
.searchwp-live-search-result {
  align-items: center;
}
.searchwp-live-search-result--img {
  display: flex;
}

@media (max-width: 1280px) {
  .globe-search-menu {
    gap: 10px;
  }
}
@media (max-width: 1199px) {
  .flex.globe-search-menu {
    display: none;
  }
}

/* ---------- Components ---------- */
.learn-more {
  text-align: right;
  margin-top: 15px;
}

.event-location {
  color: #222222;
  font-size: 14px;
  line-height: 120%;
  font-weight: 600;
  margin-bottom: 8px;
}

span.swiper-pagination-bullet {
  width: 18px;
  height: 8px;
  border-radius: 10px;
  background: #d9d9d9;
  opacity: 1;
  margin: 0 5px !important;
}
span.swiper-pagination-bullet.swiper-pagination-bullet-active {
  background: #21a55e;
  width: 40px;
}

/* ---------- Contact form (book-a-demo component) ---------- */
.contact-form-block > h3 {
  font-size: 24px;
  font-weight: 500;
  color: #000;
  line-height: 150%;
}
.required-field {
  color: #a8071a;
}
select.contact-select-field {
  width: 100%;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 14px 10px;
  font-weight: 400;
  font-size: 16px;
  line-height: 27px;
  background-color: transparent;
  color: #a6a6a6;
  margin-top: 7px;
  cursor: pointer;
  outline: 0;
}
.contact-select-field option:first-child {
  color: #a6a6a6;
}
.c-contact-form {
  display: none;
}
button.inquiry-btn.button-green {
  margin-top: 24px;
  min-width: 140px;
}
.c-form-title {
  margin: 20px 0;
}
.c-form-title h4 {
  color: #21a55e;
  font-size: 24px;
  line-height: 120%;
  font-weight: 500;
  margin-bottom: 2px;
}
.c-form-title p {
  font-size: 16px;
  color: #000;
  font-weight: 400;
  line-height: 120%;
}
.wpcf7 form .wpcf7-response-output {
  margin: 1em 0.5em 1em !important;
}