/* Local-only compatibility layer for the recovered English IMWEB snapshot. */

img.org_image,
img[style*="visibility:hidden"],
img[style*="visibility: hidden"] {
  visibility: visible !important;
}

img.org_image {
  height: auto;
  max-width: 100%;
}

[data-static-menu-toggle],
.mobile_slide_menu_container .toggle-btn {
  cursor: pointer;
}

#mobile_slide_menu_wrap.slide_open,
#pc_slide_menu_wrap.slide_open {
  width: 100% !important;
  overflow: visible !important;
}

#mobile_slide_menu_wrap.slide_open::before,
#pc_slide_menu_wrap.slide_open::before {
  background: rgba(0, 0, 0, 0.55);
  content: "";
  inset: 0;
  position: fixed;
  z-index: 1100;
}

#mobile_slide_menu_wrap .mobile_slide_menu,
#pc_slide_menu_wrap .pc_slide_menu {
  z-index: 1500;
}

body.static-menu-open {
  overflow: hidden;
}

/* Imweb normally clears this inline visibility gate after its menu runtime
 * boots; the captured static header must expose the first-level links itself.
 * The recovered desktop menu has six labels in an 800px center column, so
 * keep them on one row after removing the runtime's width calculation. */
@media (min-width: 992px) {
  #doz_header_wrap ._inline_menu_container,
  #doz_header_wrap ._inline_menu_container > .viewport-nav.desktop._main_menu,
  #doz_header_wrap ._inline_menu_container > .viewport-nav.desktop._main_menu > li,
  #doz_header_wrap ._inline_menu_container > .viewport-nav.desktop._main_menu > li > a,
  #doz_header_wrap ._inline_menu_container > .viewport-nav.desktop._main_menu > li > a .plain_name {
    visibility: visible !important;
  }

  #doz_header_wrap ._inline_menu_container > .viewport-nav.desktop._main_menu {
    display: flex !important;
    flex-wrap: nowrap;
    justify-content: flex-end;
    height: 70px;
  }

  #doz_header_wrap ._inline_menu_container > .viewport-nav.desktop._main_menu > li {
    display: block !important;
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
  }

  #doz_header_wrap ._inline_menu_container > .viewport-nav.desktop._main_menu > li > a {
    display: flex !important;
    align-items: center;
    width: auto;
    height: 70px;
    padding: 0 7px !important;
    font-size: 14px !important;
    white-space: nowrap;
  }
}

.mobile_slide_menu_container .viewport-nav.mobile li > ul.static-submenu-open {
  display: block !important;
}

.alarm-toggle,
.profile-area,
.login_btn .btn-wrap {
  display: none !important;
}

form[data-static-disabled-form="true"] {
  display: none !important;
}

/* Standalone English search page. */
.static-search-page {
  background: #f7f8fa;
  color: #17263c;
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  min-height: 100vh;
}

/* The desktop home hero was a YouTube visual that Imweb injected at runtime.
 * Keep the recovered local poster visible when the Imweb player is removed. */
#s2019110966f25417f1794 .video_item {
  background-image: url("/_assets/cdn.imweb.me/thumbnail/20191028/3cc0a65845320.jpg") !important;
}

.static-search-page .sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.static-search-header {
  align-items: center;
  background: #04265d;
  display: flex;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
}

.static-search-brand {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.static-search-nav {
  display: flex;
  gap: 1.25rem;
}

.static-search-nav a {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.static-search-main {
  margin: 0 auto;
  max-width: 980px;
  padding: 72px 24px 96px;
}

.static-search-heading {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 400;
  margin: 0 0 12px;
}

.static-search-intro {
  color: #566276;
  line-height: 1.7;
  margin: 0 0 32px;
}

.static-search__form {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.static-search__input,
.static-search__sort,
.static-search__submit {
  border: 1px solid #ccd2dc;
  border-radius: 2px;
  font: inherit;
  min-height: 50px;
}

.static-search__input,
.static-search__sort {
  background: #fff;
  color: #17263c;
  padding: 0 16px;
}

.static-search__input:focus,
.static-search__sort:focus {
  border-color: #00a9a8;
  box-shadow: 0 0 0 3px rgba(0, 169, 168, 0.15);
  outline: 0;
}

.static-search__submit {
  background: #04265d;
  border-color: #04265d;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  padding: 0 24px;
}

.static-search__view {
  margin-top: 36px;
}

.static-search__message,
.static-search__summary {
  color: #566276;
  line-height: 1.6;
}

.static-search__summary {
  border-bottom: 1px solid #dfe3e9;
  padding-bottom: 16px;
}

.static-search__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.static-search__item {
  border-bottom: 1px solid #dfe3e9;
  padding: 26px 0;
}

.static-search__title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 10px;
}

.static-search__link {
  color: #04265d;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.static-search__snippet {
  color: #465369;
  line-height: 1.65;
  margin: 0;
}

.static-search__meta {
  color: #7a8596;
  font-size: 0.82rem;
  margin: 10px 0 0;
}

.static-search-noscript {
  background: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  margin-top: 24px;
  padding: 14px 16px;
}

@media (max-width: 720px) {
  .static-search-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-bottom: 20px;
    padding-top: 20px;
  }

  .static-search-nav {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .static-search-main {
    padding-top: 48px;
  }

  .static-search__form {
    grid-template-columns: 1fr;
  }
}
