/* Keep the photographs visible; concentrate the shade behind the RTL copy. */
body.home-approved #cap .cap-grid > article.cap {
  background: #252a2c;
  border-color: #c3a18178;
  box-shadow: 0 16px 34px #0007, inset 0 1px 0 #fff5e822;
}

body.home-approved #cap .cap-grid > article.cap::before {
  inset: 0;
  background: var(--graphite-cap-photo) var(--cap-position, center) / cover no-repeat !important;
  opacity: .68;
  filter: saturate(.92) brightness(1.04) contrast(1.03);
  transform: scale(1.035);
}

body.home-approved #cap .cap-grid > article.cap::after {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  transform: none;
  background:
    linear-gradient(0deg, #090d0ff7 0%, #090d0feb 27%, #090d0fd1 43%, #090d0f24 72%, #090d0f05 100%),
    linear-gradient(270deg, #090d0f94 0%, #090d0f3d 44%, #090d0f00 72%);
  pointer-events: none;
}

body.home-approved #cap .cap-grid > article.cap h3 {
  color: #fff1df;
  text-shadow: 0 2px 8px #000d;
}

body.home-approved #cap .cap-grid > article.cap p {
  color: #e5ddd2;
  text-shadow: 0 1px 4px #000e;
}

body.home-approved #cap .cap-grid > article.cap .num {
  color: #f3dcc0;
  text-shadow: 0 1px 4px #000;
}

body.home-approved #cap .cap-grid > article.cap .arrow {
  color: #fff0dd;
  border-color: #e0c4a66b;
  background: #101619b8;
}

body.home-approved #cap .cap-grid > article.cap .cap-more {
  color: #ffc38c;
  border-color: #ce976aab;
  background: #101719e8;
}

body.home-approved #cap .cap-grid > article.cap:is(:hover, .cap-source, .cap-target) {
  border-color: #efb17b;
  box-shadow: 0 20px 42px #0009, inset 0 0 0 1px #efb17b35;
}

body.home-approved #cap .cap-grid > article.cap:is(:hover, .cap-source, .cap-target)::before {
  opacity: .76;
  filter: saturate(1) brightness(1.1) contrast(1.03);
  transform: scale(1.07);
}

body.home-approved #cap .cap-grid > article.cap:is(:hover, .cap-source, .cap-target) h3 {
  color: #ffe0b9;
}

body.home-approved #cap .cap-grid > article.cap:is(:hover, .cap-source, .cap-target) p {
  color: #f4e9db;
}

@media (max-width: 600px) {
  body.home-approved #cap .cap-grid > article.cap::after {
    background:
      linear-gradient(0deg, #090d0ff7 0%, #090d0feb 31%, #090d0fc9 47%, #090d0f26 74%, #090d0f08 100%),
      linear-gradient(270deg, #090d0f85 0%, #090d0f26 48%, #090d0f00 78%);
  }
}
