/* Shelter page -------------------------------------------------------- */

td,
th {
  vertical-align: top;
}

/* Wichannel scenario sections --------------------------------------- */
.shelter-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(32px, 6vw, 84px);
  align-items: start;
}

.shelter-story-copy {
  max-width: 680px;
  padding-top: 12px;
}

.shelter-story-media {
  width: min(100%, 390px);
  justify-self: end;
}

.shelter-story-media video {
  display: block;
  width: 100%;
  aspect-ratio: 780 / 1688;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 28px;
  background: #f7f7fa;
  box-shadow: 0 16px 42px rgba(20, 32, 70, 0.12);
}

.shelter-story-layout--gallery {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 560px);
}

.shelter-remote-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(100%, 560px);
  justify-self: end;
}

.shelter-remote-gallery figure {
  margin: 0;
}

.shelter-remote-gallery img {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  background: #f7f7fa;
  box-shadow: 0 12px 32px rgba(20, 32, 70, 0.1);
}

.shelter-remote-gallery figcaption {
  margin-top: 10px;
  color: #444;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* Section 8 feature table -------------------------------------------- */
.wichannel-feature-table {
  min-width: 900px;
}

.wichannel-feature-table tbody th {
  padding: 16px 18px;
  border-color: #eef2f2;
  color: #333;
  background: #fff;
  vertical-align: top;
}

.wichannel-feature-table tbody th[scope="rowgroup"] {
  width: 14%;
  font-weight: 700;
}

.wichannel-feature-table tbody th[scope="row"] {
  width: 24%;
  font-weight: 600;
}

/* Section 11 LNS comparison table ----------------------------------- */
#section11 .lns-compare-table tbody td:nth-child(2) {
  font-weight: 400;
}

#section11 .lns-compare-table tbody td:nth-child(3) {
  font-weight: 600;
}

@media (max-width: 991px) {
  .shelter-story-layout,
  .shelter-story-layout--gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .shelter-story-copy {
    max-width: none;
    padding-top: 0;
  }

  .shelter-story-media,
  .shelter-remote-gallery {
    justify-self: center;
  }

}

@media (max-width: 575px) {
  .shelter-story-media video {
    border-radius: 22px;
  }

  .shelter-remote-gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    max-width: 315px;
  }

  .shelter-remote-gallery img {
    border-radius: 15px;
  }

  .shelter-remote-gallery figcaption {
    font-size: 12px;
  }
}
