/* LIST.ENERGY v6.6.0 — enlarge the homepage requirement field and reposition
   the complete wordmark/search/Find companies group without affecting the
   shared interior page styles. Maintain the one-viewport homepage where it fits. */
@media (min-width: 901px) {
  body.home .homepage .home-top {
    left: calc(50% - clamp(40px, 5vw, 75px)) !important;
    right: auto !important;
    top: clamp(116px, calc(12dvh + 34px), 169px) !important;
    width: min(940px, calc(100vw - 270px)) !important;
    max-width: 100% !important;
  }
  /* Keep the wordmark at its established size while widening the search. */
  body.home .homepage .home-top .brand-search .list-logo {
    width: min(820px, 100%) !important;
    max-width: 100% !important;
    height: auto !important;
  }
  body.home .homepage .home-top .brand-search,
  body.home .homepage .home-top .explanatory-search {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.home .homepage .home-top .requirement-input-shell textarea,
  body.home .homepage .home-top .requirement-field textarea {
    box-sizing: border-box !important;
    height: clamp(104px, 14dvh, 128px) !important;
    min-height: 104px !important;
    max-height: 128px !important;
    resize: none !important;
  }
}
@media (min-width: 901px) and (max-height: 720px) {
  body.home .homepage .home-top {top: clamp(78px, 11dvh, 102px) !important;}
  body.home .homepage .home-top .requirement-input-shell textarea,
  body.home .homepage .home-top .requirement-field textarea {
    height: 94px !important;
    min-height: 94px !important;
    max-height: 94px !important;
  }
}
@media (min-width: 701px) and (max-width: 900px) {
  body.home .homepage .home-top {
    left: calc(50% - 28px) !important;
    right: auto !important;
    top: clamp(116px, calc(13dvh + 28px), 176px) !important;
    width: min(668px, calc(100vw - 72px)) !important;
    max-width: calc(100vw - 48px) !important;
  }
  body.home .homepage .home-top .explanatory-search {width: 100% !important;max-width:100% !important;}
  body.home .homepage .home-top .requirement-input-shell textarea,
  body.home .homepage .home-top .requirement-field textarea {
    height: 108px !important;
    min-height: 108px !important;
    max-height: 108px !important;
    resize: none !important;
  }
}
@media (max-width: 700px) {
  body.home .homepage .home-top {
    left: 8px !important;
    right: 8px !important;
    width: calc(100% - 16px) !important;
    max-width: calc(100% - 16px) !important;
    top: calc(43% + clamp(19px, 2.4dvh, 26px)) !important;
  }
  body.home .homepage .home-top .brand-search,
  body.home .homepage .home-top .explanatory-search,
  body.home .homepage .home-top .requirement-field,
  body.home .homepage .home-top .requirement-input-shell {
    width: 100% !important;
    max-width: 100% !important;
  }
  body.home .homepage .home-top .requirement-input-shell textarea,
  body.home .homepage .home-top .requirement-field textarea {
    height: clamp(92px, 13.5dvh, 118px) !important;
    min-height: 92px !important;
    max-height: 118px !important;
    resize: none !important;
  }
  body.home .homepage .home-top .rotating-example {
    padding: 9px 14px !important;
  }
}
@media (max-width: 700px) and (max-height: 640px) {
  body.home .homepage .home-top {
    top: calc(43.5% + 23px) !important;
  }
  body.home .homepage .home-top .requirement-input-shell textarea,
  body.home .homepage .home-top .requirement-field textarea {
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;
  }
}
@media (max-width: 700px) and (max-height: 490px) {
  /* Preserve the existing short-height accessibility fallback. */
  body.home .homepage .home-top {top: calc(41% + 14px) !important;}
  body.home .homepage .home-top .requirement-input-shell textarea,
  body.home .homepage .home-top .requirement-field textarea {
    height: 78px !important;
    min-height: 78px !important;
    max-height: 78px !important;
  }
}
