/* Homepage model search and LCX comparison. */
#smart-home-241 .smart279-desktop-slot:empty,
#smart-home-241 .smart279-mobile-copy,
#smart-secondary-237.smart-home240 .smart279-hero-search {
  display: none;
}

#smart-home-241 .smart279-hero-search,
#smart-secondary-237.smart-home240 .smart279-hero-search {
  position: relative;
  z-index: 2;
  min-width: 0;
}

#smart-home-241 .smart279-hero-search label[for],
#smart-secondary-237.smart-home240 .smart279-hero-search label[for] {
  display: block;
  color: #445a78;
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 6px;
}

.smart279-hero-search .smart279-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

#smart-home-241 .smart279-hero-search input[type="search"],
#smart-secondary-237.smart-home240 .smart279-hero-search input[type="search"] {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid #b6c4da;
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: #172e53;
  font: inherit;
  font-size: 16px;
}

#smart-home-241 .smart279-hero-search button[type="submit"],
#smart-secondary-237.smart-home240 .smart279-hero-search button[type="submit"] {
  min-height: 46px;
  border: 1px solid #293c68;
  border-radius: 8px;
  padding: 0 14px;
  background: #293c68;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

#smart-rs-268 {
  scroll-margin-top: 115px;
}

#smart-rs-268 .smart279-lcx {
  padding: clamp(12px, 3vw, 36px);
  border: 1px solid #dee5ef;
  border-radius: 18px;
  background: #f6f8fc;
  color: #263c60;
}

#smart-rs-268 .smart279-lcx-table {
  width: 100%;
  margin: 0;
  border: 0;
  table-layout: fixed;
  border-collapse: collapse;
  color: #263c60;
  text-align: left;
  font-size: 15px;
  line-height: 1.55;
}

#smart-rs-268 .smart279-lcx-table col:first-child {
  width: 24%;
}

#smart-rs-268 .smart279-lcx-table :is(th, td) {
  height: auto;
  border: 0;
  padding: 12px clamp(8px, 2vw, 24px);
  background: transparent;
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

#smart-rs-268 .smart279-lcx-table tbody tr {
  border-top: 1px solid #d9e2ef;
}

#smart-rs-268 .smart279-lcx-model {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  font-size: clamp(16px, 2vw, 25px);
  font-weight: 750;
  color: #182d52;
}

#smart-rs-268 .smart279-lcx-model img {
  display: block;
  width: min(100%, 270px);
  height: auto;
  margin: 0;
  border: 1px solid #e4eaf3;
  border-radius: 10px;
  background: #fff;
}

#smart-rs-268 .smart279-lcx-table a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2d4777;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.smart279-hero-search :is(input, button):focus-visible,
#smart-rs-268 .smart279-lcx-table a:focus-visible {
  outline: 2px solid #4167a8;
  outline-offset: 3px;
}

#smart-rs-268 .smart279-lcx-note {
  border-top: 1px solid #d9e2ef;
  margin: 0;
  padding: 13px clamp(8px, 2vw, 24px) 1px;
  color: #4e617f;
  font-size: 13px;
  line-height: 1.65;
}

#smart-rs-268 .rs268-grid.smart279-related {
  margin-top: 26px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 767px) {
  #smart-rs-268 {
    scroll-margin-top: 92px;
  }

  #smart-secondary-237.smart-home240 .smart279-hero-search {
    display: block;
  }

  #smart-rs-268 .smart279-lcx-table {
    font-size: 13px;
  }

  #smart-rs-268 .smart279-lcx-table col:first-child {
    width: 24%;
  }

  #smart-rs-268 .smart279-lcx-table :is(th, td) {
    padding: 10px 5px;
  }

  #smart-rs-268 .smart279-lcx-model {
    gap: 7px;
  }

  #smart-rs-268 .smart279-lcx-note {
    padding-inline: 5px;
    font-size: 12px;
  }
}

@media (max-width: 760px) {
  #smart-home-241 .smart279-desktop-copy {
    display: none;
  }

  #smart-home-241 .smart279-mobile-copy {
    display: inline;
  }
}

@media (max-width: 480px) {
  #smart-rs-268 .rs268-grid.smart279-related {
    grid-template-columns: 1fr;
  }
}

/* The desktop same-node search move leaves its mobile slot empty. */
@media (min-width: 761px) {
  #smart-home-241 .h241-hero-grid > .smart279-hero-search:empty {
    display: none;
  }

  #smart-home-241 .h241-hero-grid > .h241-visual {
    grid-column: 2;
    grid-row: 1;
  }
}
