/** Dark Nature / HOME PAGE discovery strip ONLY. Other homepage blocks retain their owners. */
body.dn-dark-home .home-main .home-topics.home-photo-topics {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 9px;
  margin-top: 12px;
  padding: 9px;
  border: 1px solid #435646;
  border-radius: 10px;
  background: #121b15;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic {
  isolation: isolate;
  position: relative;
  display: block;
  min-width: 0;
  min-height: 174px;
  overflow: hidden;
  padding: 0;
  border: 1px solid #455b49;
  border-radius: 8px;
  background: radial-gradient(ellipse at 50% 22%, #34523b, #203226 51%, #111a15 100%);
  color: #f2f4ee;
  text-align: left;
  text-decoration: none;
  scroll-snap-align: start;
  transition: border-color .2s ease, box-shadow .2s ease;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic--science:not(.home-topic--photo),
body.dn-dark-home .home-main .home-photo-topics .home-topic--guides:not(.home-topic--photo) {
  background: radial-gradient(ellipse at 50% 22%, #28504d, #1c3430 51%, #111a15 100%);
}
body.dn-dark-home .home-main .home-photo-topics .home-topic--history:not(.home-topic--photo),
body.dn-dark-home .home-main .home-photo-topics .home-topic--extinct:not(.home-topic--photo) {
  background: radial-gradient(ellipse at 50% 22%, #444b31, #2a3326 51%, #111a15 100%);
}
body.dn-dark-home .home-main .home-photo-topics .home-topic__image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic__shade {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(180deg, rgba(4, 12, 6, .08) 5%, rgba(4, 12, 6, .19) 40%, rgba(4, 12, 6, .94) 100%);
  pointer-events: none;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic__icon {
  position: absolute;
  z-index: 1;
  left: 10px;
  top: 9px;
  width: 27px;
  height: 27px;
  padding: 2px;
  stroke: #c6e7ac;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,.5));
}
body.dn-dark-home .home-main .home-photo-topics .home-topic__copy {
  position: absolute;
  z-index: 1;
  inset: auto 9px 11px;
  color: #f2f4ee;
  text-shadow: 0 1px 3px rgba(0,0,0,.65);
}
body.dn-dark-home .home-main .home-photo-topics .home-topic__copy strong {
  max-width: 100%;
  color: #f2f4ee;
  font-size: clamp(.76rem, 1.02vw, 1rem);
  line-height: 1.12;
  overflow-wrap: break-word;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic__copy small {
  margin-top: 3px;
  color: #d1e0d0;
  font-size: clamp(.6rem, .77vw, .76rem);
  line-height: 1.18;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic__arrow {
  position: absolute;
  z-index: 1;
  right: 9px;
  top: 7px;
  color: #cae8b4;
  font-size: 1.05rem;
  line-height: 1;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic[href]:hover,
body.dn-dark-home .home-main .home-photo-topics .home-topic[href]:focus-visible {
  border-color: #b7db9a;
  background-color: #294633;
  box-shadow: 0 0 0 1px #6eaa6c;
  color: #f2f4ee;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic[href]:focus-visible {
  outline: 3px solid #d2f1b8;
  outline-offset: -4px;
}
body.dn-dark-home .home-main .home-photo-topics .home-topic.is-disabled { opacity: .8; }
@media (hover:hover) and (pointer:fine) {
  body.dn-dark-home .home-main .home-photo-topics .home-topic[href]:hover .home-topic__image {
    transform: scale(1.045);
  }
}
/* Original .home-topics owner uses three rows at tablet and scroll on mobile.
 * Keep single-row scrolling with the same original content and six URLs. */
@media (max-width:1199px) {
  body.dn-dark-home .home-main .home-topics.home-photo-topics {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  body.dn-dark-home .home-main .home-topics.home-photo-topics::-webkit-scrollbar { display: none; }
  body.dn-dark-home .home-main .home-photo-topics .home-topic {
    flex: 0 0 clamp(144px, 24vw, 210px);
    min-height: 166px;
  }
}
@media (max-width:767px) {
  body.dn-dark-home .home-main .home-topics.home-photo-topics {
    margin-inline: calc(var(--wpia-gutter) * -1);
    padding-inline: var(--wpia-gutter);
    border-radius: 0;
    border-inline: 0;
    gap: 9px;
  }
  body.dn-dark-home .home-main .home-photo-topics .home-topic {
    flex: 0 0 clamp(136px, 43vw, 182px);
    min-width: 136px;
    min-height: 153px;
  }
  body.dn-dark-home .home-main .home-photo-topics .home-topic__icon { top: 8px; }
  body.dn-dark-home .home-main .home-photo-topics .home-topic__copy strong { font-size: .88rem; }
  body.dn-dark-home .home-main .home-photo-topics .home-topic__copy small { font-size: .68rem; }
}
@media (prefers-reduced-motion:reduce) {
  body.dn-dark-home .home-main .home-photo-topics .home-topic,
  body.dn-dark-home .home-main .home-photo-topics .home-topic__image { transition: none; transform: none; }
}
