/* Breadcrumb and vertical covers aligned with the homepage featured cards. */
body[data-page="channel"] main.wrap {
  padding-top: 16px !important;
}

body[data-page="channel"] #breadcrumb.shotChannelBreadcrumb {
  width: 100% !important;
  min-height: 38px !important;
  margin: 0 0 14px !important;
  padding: 0 2px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  color: #696969 !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

body[data-page="channel"] #breadcrumb.shotChannelBreadcrumb a {
  color: #8c2520 !important;
  font-weight: 600 !important;
}

body[data-page="channel"] #breadcrumb.shotChannelBreadcrumb a:hover {
  color: #c40000 !important;
}

body[data-page="channel"] #breadcrumb.shotChannelBreadcrumb .sep {
  color: #b5a6a0 !important;
}

body[data-page="channel"] #breadcrumb.shotChannelBreadcrumb .cur {
  color: #333 !important;
  font-weight: 700 !important;
}

/* The original 300px introduction block is compressed by roughly one third. */
body[data-page="channel"] #page-channel .dkChannelHero.shotChannelHero {
  min-height: 201px !important;
  padding: 24px 30px 22px !important;
  background-image: linear-gradient(rgba(255, 255, 255, .36), rgba(255, 255, 255, .36)), url("../img/channel-intro-background.png") !important;
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

body[data-page="channel"] #page-channel .shotChannelHeroCopy {
  width: min(880px, 76%) !important;
}

body[data-page="channel"] #page-channel .shotChannelHeroCopy h1 {
  margin-bottom: 10px !important;
}

body[data-page="channel"] #page-channel .shotChannelHeroCopy p {
  max-width: 880px !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  max-height: 3.5em !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  text-align: justify !important;
}

body[data-page="channel"] #page-channel .shotChannelHeroFeatures {
  margin-top: 10px !important;
  gap: 10px !important;
}

body[data-page="channel"] #page-channel .shotChannelHeroFeatures span {
  min-width: 0 !important;
  height: 34px !important;
  padding: 0 10px !important;
}

body[data-page="channel"] #page-channel .shotTopicHeading {
  min-height: 0 !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

body[data-page="channel"] #page-channel .shotTopicHeadingCopy {
  min-width: 0 !important;
}

body[data-page="channel"] #page-channel .shotTopicDescription {
  max-width: 780px !important;
  margin: 7px 0 0 !important;
  padding-left: 17px !important;
  color: #666 !important;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

body[data-page="channel"] #page-channel .shotTopicLibraryLink {
  min-height: 40px !important;
  padding: 0 16px !important;
  border: 1px solid #d9b8ae !important;
  border-radius: 7px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  flex: 0 0 auto !important;
  color: #8f1713 !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  transition: color .18s ease, border-color .18s ease,
    background .18s ease !important;
}

body[data-page="channel"] #page-channel .shotTopicLibraryLink:hover {
  border-color: #c40000 !important;
  color: #fff !important;
  background: #c40000 !important;
}

body[data-page="channel"] #page-channel .shotTopicLibraryArrow {
  font-size: 17px !important;
  line-height: 1 !important;
}

/* Six equal-width topic links in one compact, decoration-free navigation row. */
body[data-page="channel"] #page-channel .shotTopicGrid.shotTopicTextNav {
  width: 100% !important;
  height: 72px !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(150px, 1fr)) !important;
  gap: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  border: 1px solid #eadbd3 !important;
  border-radius: 8px !important;
  background: #fffdfa !important;
  box-shadow: none !important;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

body[data-page="channel"] #page-channel .shotTopicTextNav > a {
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  color: #262a30 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color .18s ease, background .18s ease !important;
}

body[data-page="channel"] #page-channel .shotTopicTextNav > a + a {
  border-left: 1px solid #eee2dc !important;
}

body[data-page="channel"] #page-channel .shotTopicTextNav > a > span {
  flex: 0 0 auto !important;
  color: #c80000 !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
}

body[data-page="channel"] #page-channel .shotTopicTextNav > a:hover,
body[data-page="channel"] #page-channel .shotTopicTextNav > a:focus-visible {
  color: #a90000 !important;
  background: #fff7f4 !important;
}

body[data-page="channel"] #page-channel .dkChannelFeatureCard.shotFeatureCard,
body[data-page="channel"] #page-channel .shotLatestCard {
  width: 100% !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  display: flex !important;
  flex-direction: column !important;
  grid-template-rows: none !important;
  align-self: start !important;
}

body[data-page="channel"] #page-channel .shotFeatureVisual,
body[data-page="channel"] #page-channel .shotLatestVisual {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 3 / 4 !important;
  flex: 0 0 auto !important;
  overflow: hidden !important;
  background: #f1e7df !important;
  border-bottom: 1px solid #eee3dd !important;
}

body[data-page="channel"] #page-channel .shotFeatureVisual img,
body[data-page="channel"] #page-channel .shotLatestVisual img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center top !important;
}

body[data-page="channel"] #page-channel .shotFeatureCard h3,
body[data-page="channel"] #page-channel .shotLatestBody {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 0 !important;
  display: block !important;
  background: #fff !important;
}

body[data-page="channel"] #page-channel .shotFeatureCard h3,
body[data-page="channel"] #page-channel .shotLatestBody h3 {
  width: 100% !important;
  height: 50px !important;
  min-height: 50px !important;
  padding: 8px 10px 0 !important;
  margin: 0 !important;
  color: #333 !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  text-align: center !important;
  white-space: normal !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
}

body[data-page="channel"] .shotFeatureGrid,
body[data-page="channel"] .shotLatestGrid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 20px !important;
}

body[data-page="channel"] #page-channel {
  padding-bottom: 16px !important;
}

body[data-page="channel"] footer.dkFooterRef {
  margin-top: 0 !important;
}

body[data-page="channel"] #page-channel .shotChannelPager {
  width: fit-content !important;
  max-width: 100% !important;
  margin: 34px auto 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  grid-template-columns: auto minmax(126px, auto) auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: transparent !important;
  box-shadow: none !important;
}

body[data-page="channel"] #page-channel .shotPagerBtn {
  min-width: 108px !important;
  height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid #e2d5cf !important;
  border-radius: 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  color: #6e211d !important;
  background: #fff !important;
  font-size: 14px !important;
  line-height: 1 !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 12px rgba(79, 34, 22, .05) !important;
  transition: color .18s ease, border-color .18s ease,
    background .18s ease, transform .18s ease !important;
}

body[data-page="channel"] #page-channel a.shotPagerBtn:hover {
  border-color: #c40000 !important;
  color: #fff !important;
  background: #c40000 !important;
  transform: translateY(-1px) !important;
}

body[data-page="channel"] #page-channel .shotPagerBtn.is-disabled {
  color: #aaa09b !important;
  border-color: #eee5e1 !important;
  background: #f8f4f1 !important;
  box-shadow: none !important;
  cursor: not-allowed !important;
}

body[data-page="channel"] #page-channel .shotPagerArrow {
  font-size: 18px !important;
  line-height: 1 !important;
  transform: translateY(-1px) !important;
}

body[data-page="channel"] #page-channel .shotPagerStatus {
  min-width: 126px !important;
  height: 44px !important;
  padding: 0 18px !important;
  border: 1px solid #efcfc7 !important;
  border-radius: 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  color: #a80000 !important;
  background: #fff0eb !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 600 !important;
}

body[data-page="channel"] #page-channel .shotPagerStatus strong {
  font-size: 17px !important;
  font-weight: 800 !important;
}

body[data-page="channel"] #page-channel .shotPagerDivider {
  color: #cb8e83 !important;
}

@media (max-width: 1180px) {
  body[data-page="channel"] .shotFeatureGrid,
  body[data-page="channel"] .shotLatestGrid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 960px) {
  body[data-page="channel"] .shotFeatureGrid,
  body[data-page="channel"] .shotLatestGrid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  body[data-page="channel"] #page-channel .dkChannelHero.shotChannelHero {
    min-height: 0 !important;
    padding: 22px 18px 24px !important;
    background-size: cover !important;
    background-position: center center !important;
  }

  body[data-page="channel"] #page-channel .shotChannelHeroCopy {
    width: 100% !important;
  }

  body[data-page="channel"] #page-channel .shotTopicHeading {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  body[data-page="channel"] #page-channel .shotTopicLibraryLink {
    min-height: 38px !important;
  }

  body[data-page="channel"] #page-channel .shotTopicGrid.shotTopicTextNav {
    height: 64px !important;
    grid-template-columns: repeat(6, minmax(145px, 1fr)) !important;
  }

  body[data-page="channel"] #page-channel .shotTopicTextNav > a {
    padding: 0 14px !important;
    font-size: 14px !important;
  }

  body[data-page="channel"] .shotFeatureGrid,
  body[data-page="channel"] .shotLatestGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px 12px !important;
  }

  body[data-page="channel"] #page-channel .shotChannelPager {
    width: 100% !important;
    grid-template-columns: 1fr auto 1fr !important;
    gap: 7px !important;
    padding: 0 !important;
  }

  body[data-page="channel"] #page-channel .shotPagerBtn {
    min-width: 0 !important;
    padding: 0 10px !important;
  }

  body[data-page="channel"] #page-channel .shotPagerStatus {
    min-width: 92px !important;
    padding: 0 10px !important;
  }
}

@media (max-width: 420px) {
  body[data-page="channel"] .shotFeatureGrid,
  body[data-page="channel"] .shotLatestGrid {
    grid-template-columns: 1fr !important;
  }
}
