/* [md_search_results] */

.md-sr-wrap {
  width: 100%;
  color: #303030;
}

.md-sr-header {
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 72px);
  margin-bottom: 42px;
}

.md-sr-heading {
  flex: 0 0 auto;
  margin: 0;
  color: #24549a;
  font: inherit;
  font-size: clamp(28px, 2.2vw, 38px);
  font-weight: 600;
  line-height: 1.15;
}

.md-sr-form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  width: min(100%, 430px);
  margin: 0;
}

.md-sr-inputwrap {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 1px solid #24549a;
  background: #fff;
}

.md-sr-input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 13px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #303030;
  font: inherit;
  font-size: 15px;
}

.md-sr-input:focus {
  box-shadow: inset 0 0 0 1px #24549a;
}

.md-sr-input::placeholder {
  color: #777;
  opacity: 1;
}

.md-sr-submit {
  flex: 0 0 auto;
  min-width: 116px;
  height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: #0090b1;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 160ms ease, transform 160ms ease;
}

.md-sr-submit:hover {
  background: #007f9c;
  transform: translateY(-1px);
}

.md-sr-submit:focus-visible {
  outline: 2px solid #24549a;
  outline-offset: 3px;
}

.md-sr-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.md-sr-item {
  margin: 0;
  border-bottom: 1px solid #d9d9d9;
}

.md-sr-item-link {
  display: block;
  padding: 13px 0 14px;
  color: inherit;
  text-decoration: none;
}

.md-sr-item-date,
.md-sr-item-title {
  display: block;
}

.md-sr-item-date {
  margin-bottom: 6px;
  color: #0090b1;
  font-size: 14px;
  line-height: 1.25;
}

.md-sr-item-title {
  color: #303030;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 140ms ease;
}

.md-sr-item-link:hover .md-sr-item-title {
  color: #24549a;
}

.md-sr-empty {
  padding: 32px 0;
  border-top: 1px solid #d9d9d9;
}

.md-sr-empty p {
  margin: 0;
  color: #666;
  font-size: 16px;
}

@media (max-width: 767px) {
  .md-sr-header {
    align-items: stretch;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 32px;
  }

  .md-sr-form {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .md-sr-form {
    flex-direction: column;
  }

  .md-sr-submit {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .md-sr-submit,
  .md-sr-item-title {
    transition: none;
  }
}
