/* Place the 搜索新闻 box directly below the blue section tab bar, full width.
   Loads after /assets/cmf-section-swipe-20261113.css. Do not edit older assets.
   The tab row stays a single horizontally swipeable row; this sheet only
   restyles the search once JS has moved it into .cmf-search-below. */

.mh-nav {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap !important;
  align-items: stretch;
}

/* Full-width search row immediately under the blue tabs (covers the nav navy). */
.mh-nav > .cmf-search-below {
  /* Override .mh-nav>div { max-width:1200px; margin:auto; display:flex; overflow:auto } */
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box;
  background: #e8f0f6;
  padding: 8px 10px 10px;
  margin: 0 !important;
  flex: 0 0 auto;
  position: relative;
  z-index: 2;
  overflow: visible !important;
  align-items: stretch;
  gap: 0;
}

.mh-nav > .cmf-search-below .mh-search,
.mh-nav.expanded > .cmf-search-below .mh-search {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center;
  justify-content: flex-start;
  width: 100% !important;
  max-width: 1200px;
  margin: 0 auto !important;
  margin-inline-start: auto !important;
  margin-inline-end: auto !important;
  padding: 0 12px !important;
  box-sizing: border-box;
  background: #fff !important;
  border: 1px solid #c5d6e4 !important;
  border-radius: 4px;
  gap: 8px;
}

.mh-nav > .cmf-search-below .mh-search input,
.mh-nav.expanded > .cmf-search-below .mh-search input {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  color: #063b70 !important;
  background: transparent !important;
  border: 0 !important;
  font-size: 16px !important;
  padding: 10px 0 !important;
  box-sizing: border-box;
}

.mh-nav > .cmf-search-below .mh-search input::placeholder {
  color: #6c8498 !important;
}

.mh-nav > .cmf-search-below .mh-search-submit {
  color: #245c85 !important;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 6px 0;
  cursor: pointer;
  min-width: 36px;
  min-height: 36px;
}

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

/* Keep icon+input in document order under RTL, matching prior nav search. */
[dir="rtl"] .mh-nav > .cmf-search-below .mh-search {
  flex-direction: row !important;
}

/* Tab swipe container must remain the first child of .mh-nav (section-swipe JS). */
.mh-nav > div:first-child {
  width: 100%;
  box-sizing: border-box;
}
