/* Blue background + white text for the homepage 搜索新闻 box and
   the 更多竖屏视频新闻 heading box. 2026-11-23 (America/New_York).
   Loads after /assets/cmf-search-position-20261113.css. Do not edit older assets.
   Brand navy: #063b70 (same as the site header / .mh-home --navy). */

/* 1) 搜索新闻 input box sitting under the section tab bar. */
.mh-nav > .cmf-search-below .mh-search,
.mh-nav.expanded > .cmf-search-below .mh-search {
  background: #063b70 !important;
  border: 1px solid #08508f !important;
}

.mh-nav > .cmf-search-below .mh-search input,
.mh-nav.expanded > .cmf-search-below .mh-search input,
.mh-nav > .cmf-search-below .mh-search input:hover,
.mh-nav.expanded > .cmf-search-below .mh-search input:hover,
.mh-nav > .cmf-search-below .mh-search input:focus,
.mh-nav.expanded > .cmf-search-below .mh-search input:focus,
.mh-nav > .cmf-search-below .mh-search input:focus-visible,
.mh-nav.expanded > .cmf-search-below .mh-search input:focus-visible {
  color: #fff !important;
  background: transparent !important;
  caret-color: #fff;
  -webkit-text-fill-color: #fff;
}

.mh-nav > .cmf-search-below .mh-search input::placeholder,
.mh-nav.expanded > .cmf-search-below .mh-search input::placeholder,
.mh-nav > .cmf-search-below .mh-search input::-webkit-input-placeholder,
.mh-nav.expanded > .cmf-search-below .mh-search input::-webkit-input-placeholder {
  color: #fff !important;
  opacity: 1;
  -webkit-text-fill-color: #fff;
}

.mh-nav > .cmf-search-below .mh-search input::-moz-placeholder,
.mh-nav.expanded > .cmf-search-below .mh-search input::-moz-placeholder {
  color: #fff !important;
  opacity: 1;
}

.mh-nav > .cmf-search-below .mh-search-submit,
.mh-nav.expanded > .cmf-search-below .mh-search-submit {
  color: #fff !important;
}

.mh-nav > .cmf-search-below .mh-search-submit:focus-visible,
.mh-nav > .cmf-search-below .mh-search input:focus-visible,
.mh-nav.expanded > .cmf-search-below .mh-search-submit:focus-visible,
.mh-nav.expanded > .cmf-search-below .mh-search input:focus-visible {
  outline: 2px solid #f0d278;
  outline-offset: 2px;
}

/* Keep typed / autofilled text white on the navy box. */
.mh-nav > .cmf-search-below .mh-search input:-webkit-autofill,
.mh-nav > .cmf-search-below .mh-search input:-webkit-autofill:hover,
.mh-nav > .cmf-search-below .mh-search input:-webkit-autofill:focus,
.mh-nav.expanded > .cmf-search-below .mh-search input:-webkit-autofill,
.mh-nav.expanded > .cmf-search-below .mh-search input:-webkit-autofill:hover,
.mh-nav.expanded > .cmf-search-below .mh-search input:-webkit-autofill:focus {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px #063b70 inset;
  transition: background-color 9999s ease-out;
}

/* Make the native search cancel control visible on the navy background. */
.mh-nav > .cmf-search-below .mh-search input[type="search"]::-webkit-search-cancel-button,
.mh-nav.expanded > .cmf-search-below .mh-search input[type="search"]::-webkit-search-cancel-button {
  filter: invert(1) grayscale(1) brightness(2);
}

/* 2) 更多竖屏视频新闻 heading — homepage carousel only. */
.mh-home .mh-carousel-section > .mh-section-line > h2 {
  background: #063b70;
  color: #fff;
  border-radius: 4px;
  padding: 6px 14px;
  border-inline-start: 4px solid var(--gold);
  box-sizing: border-box;
}
