.mius-shell,
.mius-full-results {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
  font-family: Manrope, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mius-shell *,
.mius-full-results * {
  box-sizing: border-box;
}

.mius-shell [hidden],
.mius-full-results [hidden] {
  display: none !important;
}

.mius-form {
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  overflow: hidden;
  border: 1px solid #dedfd9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(20, 25, 20, .04);
}

.mius-country-wrap {
  position: relative;
  display: flex;
  align-items: center;
  align-self: stretch;
  flex: 0 0 220px;
  min-width: 0;
  margin: 0;
  border-right: 1px solid #e3e5df;
  background: #f7f8f4;
}

.mius-country {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 50px;
  margin: 0 !important;
  padding: 0 38px 0 16px !important;
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  outline: 0 !important;
  background-color: transparent !important;
  background-image: linear-gradient(45deg, transparent 50%, #6c726b 50%), linear-gradient(135deg, #6c726b 50%, transparent 50%) !important;
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50% !important;
  background-repeat: no-repeat !important;
  background-size: 5px 5px, 5px 5px !important;
  box-shadow: none !important;
  color: #222;
  font: 700 14px/1 inherit;
  cursor: pointer;
}

.mius-country:invalid {
  color: #737970;
}

.mius-search-icon {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  color: #6e736c;
}

.mius-search-icon svg,
.mius-result-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.mius-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 50px;
  margin: 0 !important;
  padding: 0 10px 0 0 !important;
  appearance: none;
  -webkit-appearance: none;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #111;
  font: 500 16px/1.2 inherit;
}

.mius-input::placeholder {
  color: #777d75;
  opacity: 1;
}

.mius-submit {
  align-self: stretch;
  flex: 0 0 auto;
  margin: 0;
  padding: 0 24px;
  border: 0;
  background: #10130f;
  color: #fff;
  font: 700 14px/1 inherit;
  cursor: pointer;
  transition: opacity .15s ease;
}

.mius-submit:hover {
  opacity: .88;
}

/* Preview is intentionally in normal document flow: it pushes page content down. */
.mius-panel {
  position: static;
  width: 100%;
  min-width: 0;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid #dedfd9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(24, 28, 22, .10);
}

.mius-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7e0;
  background: #f0f1eb;
  color: #10130f;
  font-size: 14px;
}

.mius-close {
  flex: 0 0 auto;
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #cfd3ca;
  border-radius: 9px;
  background: #fff;
  color: #171a16;
  font: 700 12px/1 inherit;
  cursor: pointer;
}

.mius-status {
  padding: 10px 16px 7px;
  color: #6b7169;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.mius-results {
  width: 100%;
  min-width: 0;
  padding: 0 10px 10px;
}

.mius-result {
  width: 100%;
  min-width: 0;
  border-bottom: 1px solid #eceee8;
}

.mius-result:last-child {
  border-bottom: 0;
}

.mius-result-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-width: 0;
  padding: 14px 7px;
  color: #111 !important;
  text-align: left;
  text-decoration: none !important;
}

.mius-result-button {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font: inherit;
  cursor: pointer;
}

.mius-result-main:hover strong {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.mius-result-icon {
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border: 1px solid #dfe1db;
  border-radius: 10px;
  background: #f7f8f4;
  color: #4d554a;
}

.mius-result-icon svg {
  width: 20px;
  height: 20px;
}

.mius-result-copy {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.mius-result-type {
  display: block;
  margin-bottom: 3px;
  color: #6f756d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mius-result-copy strong,
.mius-result-meta,
.mius-result-excerpt {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.mius-result-copy strong {
  color: #10130f;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.28;
}

.mius-result-meta {
  margin-top: 4px;
  color: #687067;
  font-size: 12px;
  line-height: 1.35;
}

.mius-result-excerpt {
  display: -webkit-box;
  margin-top: 5px;
  overflow: hidden;
  color: #3d433b;
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mius-result-arrow {
  flex: 0 0 auto;
  margin-top: 8px;
  color: #8a9087;
  font-size: 17px;
  line-height: 1;
}

.mius-type-group .mius-result-icon {
  background: #f1f6f3;
}

.mius-type-classified .mius-result-icon {
  background: #f7f4ed;
}

.mius-classified-detail {
  margin: 0 7px 14px 55px;
  padding: 12px 14px;
  border-radius: 11px;
  background: #f6f7f2;
  color: #353b33;
  font-size: 13px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.mius-classified-detail p {
  margin: 0 0 10px;
}

.mius-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.mius-contact-links a {
  display: inline-flex;
  padding: 7px 9px;
  border-radius: 8px;
  background: #10130f;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
}

.mius-empty,
.mius-full-empty {
  padding: 22px 12px;
  color: #777d75;
  font-size: 13px;
  text-align: center;
}

.mius-preview-footer {
  padding: 12px 16px 15px;
  border-top: 1px solid #e5e7e0;
  text-align: center;
}

.mius-show-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 11px;
  background: #10130f;
  color: #d5ff31 !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
}

.mius-full-results {
  padding: 48px 0 40px;
}

.mius-full-summary {
  margin: 0 0 16px;
  color: #656b63;
  font-size: 14px;
}

.mius-full-results.is-search-entry {
  min-height: 0;
  padding-top: 64px;
  padding-bottom: 48px;
}

.mius-full-search-form {
  width: 100%;
  max-width: none;
}

.mius-full-results:not(.is-search-entry) .mius-full-search-form {
  margin-bottom: 22px;
}

.mius-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  margin-bottom: 10px;
  padding: 9px 10px;
  overflow-x: auto;
  border: 1px solid #e0e3da;
  border-radius: 14px;
  background: #f0f1eb;
}

.mius-tabs a {
  flex: 0 0 auto;
  padding: 9px 12px;
  border-radius: 10px;
  color: #252923 !important;
  font-size: 13px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.mius-tabs a.is-active {
  background: #10130f;
  color: #d5ff31 !important;
}

.mius-full-list {
  overflow: hidden;
  border: 1px solid #dedfd9;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(24, 28, 22, .06);
}

.mius-full-list .mius-result-main {
  padding: 17px 12px;
}

.mius-full-list .mius-classified-detail {
  margin-right: 12px;
  margin-left: 60px;
}

.mius-search-ad {
  width: 100%;
  max-width: 970px;
  min-width: 0;
  margin-right: auto;
  margin-left: auto;
}

.mius-search-ad-middle {
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 20px 0;
  border-top: 1px solid #e2e5dc;
  border-bottom: 1px solid #e2e5dc;
}

.mius-search-bottom-ad {
  width: 100%;
  min-width: 0;
}

.mius-search-bottom-ad:empty {
  display: none;
}

.mius-search-ad-footer {
  margin-top: 28px;
}

.mius-search-ad .miad-slot,
.mius-search-ad .miad-rendered,
.mius-search-ad img {
  max-width: 100%;
}

.mius-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.mius-pagination a,
.mius-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 11px;
  border: 1px solid #cfd3ca;
  border-radius: 10px;
  background: #fff;
  color: #171a16 !important;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none !important;
}

.mius-pagination .is-current {
  border-color: #10130f;
  background: #10130f;
  color: #d5ff31 !important;
}

.mius-pagination .mius-page-gap {
  min-width: 22px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}

@media (max-width: 680px) {
  .mius-form {
    min-height: 48px;
    border-radius: 14px;
  }

  .mius-country-wrap {
    flex-basis: 39%;
    min-width: 112px;
  }

  .mius-country {
    min-height: 46px;
    padding-right: 28px !important;
    padding-left: 11px !important;
    background-position: calc(100% - 15px) 50%, calc(100% - 10px) 50% !important;
    font-size: 12px;
  }

  .mius-search-icon {
    flex-basis: 39px;
    width: 39px;
  }

  .mius-input {
    height: 46px;
    font-size: 15px;
  }

  .mius-submit {
    padding: 0 13px;
    font-size: 12px;
  }

  .mius-panel {
    margin-top: 7px;
    border-radius: 14px;
  }

  .mius-panel-heading {
    padding: 10px 12px;
  }

  .mius-status {
    padding-right: 12px;
    padding-left: 12px;
  }

  .mius-results {
    padding-right: 7px;
    padding-left: 7px;
  }

  .mius-result-main {
    gap: 9px;
    padding: 12px 4px;
  }

  .mius-result-icon {
    flex-basis: 33px;
    width: 33px;
    height: 33px;
    border-radius: 9px;
  }

  .mius-result-copy strong {
    font-size: 14px;
  }

  .mius-classified-detail,
  .mius-full-list .mius-classified-detail {
    margin-right: 4px;
    margin-left: 46px;
    padding: 11px 12px;
  }

  .mius-full-results:not(.is-search-entry) {
    padding-top: 32px;
  }

  .mius-full-summary,
  .mius-full-results > .mius-status {
    padding-right: 4px;
    padding-left: 4px;
  }

  .mius-full-results.is-search-entry {
    min-height: 0;
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .mius-search-ad-middle {
    margin-top: 18px;
    margin-bottom: 18px;
    padding: 14px 0;
  }

  .mius-search-ad-footer {
    margin-top: 22px;
  }

  .mius-tabs {
    padding: 7px;
  }

  .mius-tabs a {
    padding: 8px 10px;
    font-size: 12px;
  }

  .mius-pagination .mius-page-direction {
    flex-basis: auto;
  }
}

@media (max-width: 430px) {
  .mius-search-icon {
    display: none;
  }

  .mius-input {
    padding-left: 10px !important;
  }

  .mius-country-wrap {
    flex-basis: 38%;
  }
}

/* Paid professional-answer entry. It stays visually attached to the search field,
   without turning into a separate banner. */
.mius-advanced-entry {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
  min-width: 0;
  margin: 8px 0 0;
  color: #4f554e;
  font-size: 13px;
  line-height: 1.35;
  text-align: right;
}

.mius-advanced-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  max-width: 100%;
  margin-left: auto;
  padding-bottom: 3px;
  color: #30352f !important;
  font-weight: 400;
  text-align: right;
  text-decoration: none !important;
}

.mius-advanced-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #d5ff31;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 160ms ease;
}

.mius-advanced-link:hover,
.mius-advanced-link:focus-visible {
  color: #10130f !important;
  text-decoration: none !important;
}

.mius-advanced-link:hover::after,
.mius-advanced-link:focus-visible::after {
  transform: scaleX(1);
}

.mius-advanced-arrow {
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
}

@media (max-width: 640px) {
  .mius-advanced-entry {
    padding: 0 8px;
    font-size: 12px;
  }
}
