/* Showcase cards styled to match the Knowledge Hub's dark photo cards. */
#stories #timeline { counter-reset: st-story; }
#stories .timeline-item { counter-increment: st-story; }
#stories .timeline-item .feature-list { display: none !important; }

#stories .timeline-item .product-visual {
  box-sizing: border-box;
  width: min(100%, 460px);
  max-width: 460px;
  padding: 10px;
  border: 1px solid rgba(219, 173, 73, .55);
  border-radius: 18px;
  background: #191a1e;
  box-shadow: 0 14px 32px rgba(10, 14, 24, .2);
  overflow: hidden;
}
#stories .timeline-item .product-visual::before {
  content: counter(st-story, decimal-leading-zero);
  position: absolute;
  z-index: 3;
  top: 11px;
  right: 11px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #dc3e39;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}
#stories .timeline-item .product-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 11px;
  background: #272a32;
  object-fit: cover;
}
#stories .timeline-item .product-visual::after {
  display: none;
}
#stories .timeline-item .product-visual figcaption {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 126px;
  padding: 15px 10px 8px;
  background: #191a1e;
  color: #c8c9ce;
  text-align: left;
}
#stories .timeline-item .product-visual figcaption::before {
  content: '◈';
  color: #f04b44;
  font-size: 25px;
  line-height: 1;
}
#stories .timeline-item .product-visual figcaption strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
}
#stories .timeline-item .product-visual figcaption span {
  display: block;
  width: 100%;
  margin-top: auto;
  padding-top: 11px;
  border-top: 1px solid #383a40;
  color: #e4e5e8;
  font-size: 12px;
}

#catalog .catalog-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(219, 173, 73, .55);
  border-radius: 18px;
  background: #191a1e;
  box-shadow: 0 14px 30px rgba(10, 14, 24, .19);
}
#catalog .catalog-card .catalog-image-link {
  display: block;
  padding: 10px 10px 0;
}
#catalog .catalog-card .catalog-image-wrap {
  box-sizing: border-box;
  width: 100%;
  border: 0;
  border-radius: 11px;
  background: #272a32;
  overflow: hidden;
}
#catalog .catalog-card .catalog-photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 11px;
  background: #272a32;
}
#catalog .catalog-card .catalog-image-wrap::after {
  inset: 0;
  border-radius: 11px;
}
#catalog .catalog-card .card-meta {
  position: absolute;
  z-index: 3;
  top: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 7px 9px;
  border-radius: 8px;
  background: #dc3e39;
  color: #fff;
  line-height: 1.1;
}
#catalog .catalog-card .card-meta::before {
  content: 'ID';
  margin-bottom: 3px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}
#catalog .catalog-card .card-meta > span:not(.card-meta-id) { display: none; }
#catalog .catalog-card .card-meta-id { color: #fff; font-size: 15px; font-weight: 900; }
#catalog .catalog-card .card-body {
  padding: 20px 23px 23px;
  background: #191a1e;
}
#catalog .catalog-card .card-kicker { color: #ef514b; }
#catalog .catalog-card .card-title,
#catalog .catalog-card .card-title a { color: #fff; }
#catalog .catalog-card .card-industry,
#catalog .catalog-card .card-copy { color: #c4c6cc; }
#catalog .catalog-card .story-link { color: #f05a50; }
#catalog .catalog-card .card-bottom { border-top: 1px solid #383a40; }
#catalog .catalog-card .tech-category { color: #e0b969; }

@media (max-width: 560px) {
  #stories .timeline-item .product-visual { width: 100%; }
  #catalog .catalog-card .card-body { padding: 18px 19px 21px; }
}
